(function(){var e=function(e){var t=this;e.require().script("mvc/dom.cookie","mvc/model.list").done(function(){var n=function(){e.Model.List(e.globalNamespace+".Model.List.Local",{retrieve:function(t){var n=window.localStorage[t]||"[]",r=[],i=n.type?e.String.getObject(n.type):null;for(var s=0;s<n.ids.length;s++){var o=n.ids[s],u=window.localStorage[o];r.push(new i(u))}return this.push.apply(this,r),this},store:function(e){var t=[],n=this.days;return this.each(function(e,n){window.localStorage[n.identity()]=instance.attrs(),t.push(n.identity())}),window.localStorage[e]={type:this[0]&&this[0].constructor.fullName,ids:t},this}})};n(),t.resolveWith(n)})};dispatch("mvc/model.list.local").containing(e).to("Foundry/2.1 Modules")})();