(function(){this._parent=null;var e=null,t;if(typeof window!="undefined")t=window;else{if(typeof exports=="undefined")throw"SeedJs need to be loaded on a browser or node";t=exports}var n=function(){var e=null;if(!jQuery)throw t.pi?"PiJs is still in progress, right now you need jquery":"SeedJs needs either PiJs or jQuery";return e={_baseExtend:function(e,t,n){var r={};for(var i in n)i.substr(0,2)==="__"&&(r[i]=n[i],delete n[i]);var s=jQuery.extend(e,t,n);for(var i in r)n[i]=r[i];return s},extend:function(e,t){var n=this._baseExtend(!0,{},e);return this._baseExtend(!0,n,t)},clone:function(e){return this._baseExtend(!0,{},e)},assign:function(e,t){var n=this._baseExtend(!1,{},e);return this._baseExtend(!1,n,t)}},e};e=n();var r=t.Seed=function(t,n){var r;n&&(this.options=e.clone(n));for(var i in this)typeof this[i]=="object"&&(this[i]=e.clone(this[i]));this.initialize.apply(this,arguments)};r.prototype.initialize=function(t){this.options=e.clone(t)},r.prototype.parentMethod=function(e,t){var n=null;t=t||{};if(this._parent!=null){var r=this._parent;this._parent=r._parent,!t.executeNextCall&&this.isOwnProperty(e)&&(t.executeNextCall=!0),r.hasOwnProperty(e)&&t.executeNextCall?n=r[e].call(this,t):(t.executeNextCall=!0,n=r.parent.call(this,e,t)),this._parent=r}return n},r.prototype.isOwnProperty=function(e){return this._class?this._class.hasOwnProperty(e):this.hasOwnProperty(e)};var i=function(e,t){var n=o(this,e,t);return n.extend=this.extend,n.prototype._parent=this.prototype,n.prototype._class=this.prototype,n};r.extend=i,r.prototype.parent=function(e,t){return e?this.parentMethod(e,t):this._parent};var s=function(){this.seedJs=!0},o=function(t,n,r){var i;return n&&n.hasOwnProperty("constructor")?i=n.constructor:i=function(){t.apply(this,arguments)},s.prototype=e.clone(t.prototype),i.prototype=new s,n&&(i.prototype=e.extend(i.prototype,n)),r&&(i=e.extend(i,r)),i.prototype.constructor=i,i.__super__=t.prototype,i};r.inherits=o;var u=function(t){var n=this.extend(),r=e.clone(n.prototype),i=e.clone(t.prototype);return n.prototype=e.extend(i,r),n};r.marry=u;var a=function(e){this.inherits=r.inherits,this.extend=r.extend,this._parent=typeof e!="undefined"?e:null,this.marry=r.marry};r.assimilate=a}).call(this),function(){var e;if(typeof window!="undefined")e=window,Seed=window.Seed;else{if(typeof exports=="undefined")throw"SeedJs need to be loaded on a browser or node";e=exports,ImportedSeed=require("./seed.js"),Seed=ImportedSeed.Seed,Backbone=require("backbone")}if(typeof Backbone!="undefined"&&typeof Seed!="undefined"){Seed.assimilate.apply(Backbone.Model),e.SeedModel=Backbone.Model.extend();var t=Seed.extend();e.SeedModel.prototype=$.extend(!0,t.prototype,e.SeedModel.prototype),Seed.assimilate.apply(Backbone.View),e.SeedView=Backbone.View.extend();var n=Seed.extend();e.SeedView.prototype=$.extend(!0,n.prototype,e.SeedView.prototype)}}.apply(this);