diff --git a/bower.json b/bower.json index ac79350b03..3929c8cb06 100644 --- a/bower.json +++ b/bower.json @@ -3,7 +3,7 @@ "description" : "Make your Backbone.js apps dance with a composite application architecture!", "url" : "http://marionettejs.org", "main" : "./lib/backbone.marionette.js", - "version" : "1.2.0", + "version" : "1.2.1", "keywords" : [ "backbone", diff --git a/changelog.md b/changelog.md index c7e2035f4b..612d67cb06 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,8 @@ +### v1.2.1 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v1.2.0...v1.2.1) +* Views + * fixed a bug so now view options are {} by default and not undefined. + * fixed a bug where the triggers preventDefault and stopPropigaton were executing in the wrong context – triggers now prevent default and stop propigation by default once more. + ### v1.2.0 [view commit logs](https://github.com/marionettejs/backbone.marionette/compare/v1.1.0...v1.2.0) * Update Backbone to [1.1.0](https://github.com/jashkenas/backbone/compare/1.0.0...1.1.0) diff --git a/lib/backbone.marionette.js b/lib/backbone.marionette.js index 078407bfc7..b7d3c4fbc2 100644 --- a/lib/backbone.marionette.js +++ b/lib/backbone.marionette.js @@ -1,6 +1,6 @@ // MarionetteJS (Backbone.Marionette) // ---------------------------------- -// v1.2.0 +// v1.2.1 // // Copyright (c)2013 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license @@ -1207,7 +1207,7 @@ Marionette.View = Backbone.View.extend({ var args = Array.prototype.slice.apply(arguments); Backbone.View.prototype.constructor.apply(this, args); - this.options = options; + this.options = options || {}; Marionette.MonitorDOMRefresh(this); this.listenTo(this, "show", this.onShowCalled, this); @@ -1267,8 +1267,8 @@ Marionette.View = Backbone.View.extend({ var shouldPrevent = hasOptions ? value.preventDefault : prevent; var shouldStop = hasOptions ? value.stopPropagation : stop; - if (shouldPrevent && prevent) { prevent(); } - if (shouldStop && stop) { stop(); } + if (shouldPrevent && prevent) { prevent.apply(e); } + if (shouldStop && stop) { stop.apply(e); } } // build the args for the event diff --git a/lib/backbone.marionette.map b/lib/backbone.marionette.map index 93c24b3ea2..d6cd116b9c 100644 --- a/lib/backbone.marionette.map +++ b/lib/backbone.marionette.map @@ -1 +1 @@ -{"version":3,"file":"lib/backbone.marionette.min.js","sources":["backbone.marionette.js"],"names":["Backbone","ChildViewContainer","_","Container","views","this","_views","_indexByModel","_indexByCustom","_updateLength","each","add","extend","prototype","view","customIndex","viewCid","cid","model","findByModel","findByModelCid","modelCid","findByCid","findByCustom","index","findByIndex","values","remove","any","key","call","method","apply","tail","arguments","args","isFunction","length","size","methods","concat","toArray","Wreqr","Marionette","Handlers","options","_wreqrHandlers","initialize","Model","Events","setHandlers","handlers","handler","name","context","isObject","callback","setHandler","config","trigger","hasHandler","getHandler","Error","Array","slice","removeHandler","removeAllHandlers","CommandStorage","_commands","getCommands","commandName","commands","command","instances","addCommand","push","clearCommands","Commands","storageType","constructor","_initializeStorage","on","_executeCommands","execute","storage","StorageType","RequestResponse","request","EventAggregator","EA","global","protoSlice","throwError","message","error","$","getOption","target","optionName","value","undefined","triggerMethod","getEventName","match","prefix","eventName","toUpperCase","splitter","event","methodName","replace","MonitorDOMRefresh","handleShow","_isShown","triggerDOMRefresh","handleRender","_isRendered","listenTo","bindFromStrings","entity","evt","methodNames","split","bindToFunction","unbindFromStrings","stopListening","unbindToFunction","iterateEvents","bindings","functionCallback","stringCallback","bindEntityEvents","unbindEntityEvents","Callbacks","_deferred","Deferred","_callbacks","contextOverride","cb","ctx","done","run","resolve","reset","callbacks","Controller","close","unbind","Region","el","err","buildRegion","regionConfig","defaultRegionType","regionIsString","regionSelectorIsString","selector","regionTypeIsUndefined","regionType","regionIsType","RegionType","region","parentEl","getEl","find","show","ensureEl","isViewClosed","isClosed","isUndefined","$el","isDifferentView","currentView","render","open","empty","append","attachView","RegionManager","_regions","addRegions","regionDefinitions","defaults","regions","definition","addRegion","isString","hasSelector","_store","get","removeRegion","_remove","removeRegions","closeRegions","_setLength","TemplateCache","templateId","templateCaches","cachedTemplate","load","clear","i","compiledTemplate","template","loadTemplate","compileTemplate","html","rawTemplate","Renderer","data","templateFunc","View","bindAll","onShowCalled","getTemplate","mixinTemplateHelpers","templateHelpers","configureTriggers","triggers","triggerEvents","result","hasOptions","e","prevent","preventDefault","stop","stopPropagation","shouldPrevent","shouldStop","collection","delegateEvents","events","_delegateDOMEvents","combinedEvents","undelegateEvents","shouldClose","unbindUIElements","bindUIElements","ui","_uiBindings","keys","ItemView","serializeData","toJSON","items","CollectionView","itemViewEventPrefix","_initChildViewStorage","_initialEvents","addChildView","removeItemView","item","closeEmptyView","getItemView","indexOf","addItemView","children","child","triggerBeforeRender","triggerRendered","_renderChildren","closeChildren","showCollection","showEmptyView","EmptyView","getEmptyView","_showingEmptyView","itemView","itemViewOptions","buildItemView","addChildViewEventForwarding","renderItemView","splice","appendHtml","ItemViewType","removeChildView","checkEmpty","collectionView","CompositeView","isRendered","resetItemViewContainer","renderModel","cv","iv","$container","getItemViewContainer","containerView","$itemViewContainer","container","itemViewContainer","Layout","_firstRender","_initializeRegions","_reInitializeRegions","regionManager","_buildRegions","that","_initRegionManager","AppRouter","Router","appRoutes","controller","_getController","processAppRoutes","appRoute","route","_addAppRoute","routeNames","reverse","bind","Application","_initCallbacks","vent","reqres","submodules","addInitializer","initializer","start","_regionManager","getRegion","module","unshift","Module","create","moduleName","app","_setupInitializersAndFinalizers","startWithParent","_initializerCallbacks","addFinalizer","_finalizerCallbacks","_isInitialized","mod","addDefinition","moduleDefinition","customArgs","_runModuleDefinition","flatten","moduleNames","moduleDefinitions","parentModule","_getModule","_addModuleDefinition","def","fn","define","startWithParentIsConfigured"],"mappings":"AAkCAA,SAASC,mBAAqB,SAAUD,EAAUE,GAKhD,GAAIC,GAAY,SAASC,GACvBC,KAAKC,UACLD,KAAKE,iBACLF,KAAKG,kBACLH,KAAKI,gBAELP,EAAEQ,KAAKN,EAAOC,KAAKM,IAAKN,MAM1BH,GAAEU,OAAOT,EAAUU,WAMjBF,IAAK,SAASG,EAAMC,GAClB,GAAIC,GAAUF,EAAKG,GAGn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,GAAkB,EAIhBiB,GACFxB,EAAOa,cAAcW,EAAIrT,GAK3B6R,EAAOO,gBAAkBP,EAAOO,iBAAmBA,EAG/CP,EAAOO,kBAAoBP,EAAO0B,8BAGpC1B,EAAO0B,6BAA8B,EAGrCN,EAAazB,eAAe,SAAS9Q,GAC/BmR,EAAOO,iBACTP,EAAOH,MAAMhR,SAWdF,GACNtC,KAAML,SAAUE"} \ No newline at end of file +{"version":3,"file":"lib/backbone.marionette.min.js","sources":["backbone.marionette.js"],"names":["Backbone","ChildViewContainer","_","Container","views","this","_views","_indexByModel","_indexByCustom","_updateLength","each","add","extend","prototype","view","customIndex","viewCid","cid","model","findByModel","findByModelCid","modelCid","findByCid","findByCustom","index","findByIndex","values","remove","any","key","call","method","apply","tail","arguments","args","isFunction","length","size","methods","concat","toArray","Wreqr","Marionette","Handlers","options","_wreqrHandlers","initialize","Model","Events","setHandlers","handlers","handler","name","context","isObject","callback","setHandler","config","trigger","hasHandler","getHandler","Error","Array","slice","removeHandler","removeAllHandlers","CommandStorage","_commands","getCommands","commandName","commands","command","instances","addCommand","push","clearCommands","Commands","storageType","constructor","_initializeStorage","on","_executeCommands","execute","storage","StorageType","RequestResponse","request","EventAggregator","EA","global","protoSlice","throwError","message","error","$","getOption","target","optionName","value","undefined","triggerMethod","getEventName","match","prefix","eventName","toUpperCase","splitter","event","methodName","replace","MonitorDOMRefresh","handleShow","_isShown","triggerDOMRefresh","handleRender","_isRendered","listenTo","bindFromStrings","entity","evt","methodNames","split","bindToFunction","unbindFromStrings","stopListening","unbindToFunction","iterateEvents","bindings","functionCallback","stringCallback","bindEntityEvents","unbindEntityEvents","Callbacks","_deferred","Deferred","_callbacks","contextOverride","cb","ctx","done","run","resolve","reset","callbacks","Controller","close","unbind","Region","el","err","buildRegion","regionConfig","defaultRegionType","regionIsString","regionSelectorIsString","selector","regionTypeIsUndefined","regionType","regionIsType","RegionType","region","parentEl","getEl","find","show","ensureEl","isViewClosed","isClosed","isUndefined","$el","isDifferentView","currentView","render","open","empty","append","attachView","RegionManager","_regions","addRegions","regionDefinitions","defaults","regions","definition","addRegion","isString","hasSelector","_store","get","removeRegion","_remove","removeRegions","closeRegions","_setLength","TemplateCache","templateId","templateCaches","cachedTemplate","load","clear","i","compiledTemplate","template","loadTemplate","compileTemplate","html","rawTemplate","Renderer","data","templateFunc","View","bindAll","onShowCalled","getTemplate","mixinTemplateHelpers","templateHelpers","configureTriggers","triggers","triggerEvents","result","hasOptions","e","prevent","preventDefault","stop","stopPropagation","shouldPrevent","shouldStop","collection","delegateEvents","events","_delegateDOMEvents","combinedEvents","undelegateEvents","shouldClose","unbindUIElements","bindUIElements","ui","_uiBindings","keys","ItemView","serializeData","toJSON","items","CollectionView","itemViewEventPrefix","_initChildViewStorage","_initialEvents","addChildView","removeItemView","item","closeEmptyView","getItemView","indexOf","addItemView","children","child","triggerBeforeRender","triggerRendered","_renderChildren","closeChildren","showCollection","showEmptyView","EmptyView","getEmptyView","_showingEmptyView","itemView","itemViewOptions","buildItemView","addChildViewEventForwarding","renderItemView","splice","appendHtml","ItemViewType","removeChildView","checkEmpty","collectionView","CompositeView","isRendered","resetItemViewContainer","renderModel","cv","iv","$container","getItemViewContainer","containerView","$itemViewContainer","container","itemViewContainer","Layout","_firstRender","_initializeRegions","_reInitializeRegions","regionManager","_buildRegions","that","_initRegionManager","AppRouter","Router","appRoutes","controller","_getController","processAppRoutes","appRoute","route","_addAppRoute","routeNames","reverse","bind","Application","_initCallbacks","vent","reqres","submodules","addInitializer","initializer","start","_regionManager","getRegion","module","unshift","Module","create","moduleName","app","_setupInitializersAndFinalizers","startWithParent","_initializerCallbacks","addFinalizer","_finalizerCallbacks","_isInitialized","mod","addDefinition","moduleDefinition","customArgs","_runModuleDefinition","flatten","moduleNames","moduleDefinitions","parentModule","_getModule","_addModuleDefinition","def","fn","define","startWithParentIsConfigured"],"mappings":"AAkCAA,SAASC,mBAAqB,SAAUD,EAAUE,GAKhD,GAAIC,GAAY,SAASC,GACvBC,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,GAAcJ,GAGjCA,GAGTsB,qBAAsB,SAASF,EAAcpB,EAAQuB,EAAKpT,GACxD,GAAIqT,GACAjB,CAEArU,GAAEkC,WAAWmT,IAEfC,EAAKD,EACLhB,GAAkB,GAETrU,EAAEqD,SAASgS,IAEpBC,EAAKD,EAAIE,OACTlB,EAAkBgB,EAAIhB,iBAItBA,GAAkB,EAIhBiB,GACFxB,EAAOa,cAAcW,EAAIrT,GAK3B6R,EAAOO,gBAAkBP,EAAOO,iBAAmBA,EAG/CP,EAAOO,kBAAoBP,EAAO0B,8BAGpC1B,EAAO0B,6BAA8B,EAGrCN,EAAazB,eAAe,SAAS9Q,GAC/BmR,EAAOO,iBACTP,EAAOH,MAAMhR,SAWdF,GACNtC,KAAML,SAAUE"} \ No newline at end of file diff --git a/lib/backbone.marionette.min.js b/lib/backbone.marionette.min.js index 6227e7e354..58ac9a82c7 100644 --- a/lib/backbone.marionette.min.js +++ b/lib/backbone.marionette.min.js @@ -1,6 +1,6 @@ // MarionetteJS (Backbone.Marionette) // ---------------------------------- -// v1.2.0 +// v1.2.1 // // Copyright (c)2013 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license @@ -17,5 +17,5 @@ * https://github.com/marionettejs/backbone.wreqr/ */ -Backbone.ChildViewContainer=function(a,b){var c=function(a){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),b.each(a,this.add,this)};b.extend(c.prototype,{add:function(a,b){var c=a.cid;this._views[c]=a,a.model&&(this._indexByModel[a.model.cid]=c),b&&(this._indexByCustom[b]=c),this._updateLength()},findByModel:function(a){return this.findByModelCid(a.cid)},findByModelCid:function(a){var b=this._indexByModel[a];return this.findByCid(b)},findByCustom:function(a){var b=this._indexByCustom[a];return this.findByCid(b)},findByIndex:function(a){return b.values(this._views)[a]},findByCid:function(a){return this._views[a]},remove:function(a){var c=a.cid;a.model&&delete this._indexByModel[a.model.cid],b.any(this._indexByCustom,function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this),delete this._views[c],this._updateLength()},call:function(a){this.apply(a,b.tail(arguments))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){this.length=b.size(this._views)}});var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return b.each(d,function(a){c.prototype[a]=function(){var c=b.values(this._views),d=[c].concat(b.toArray(arguments));return b[a].apply(b,d)}}),c}(Backbone,_),Backbone.Wreqr=function(a,b,c){"use strict";var d={};return d.Handlers=function(a,b){var c=function(a){this.options=a,this._wreqrHandlers={},b.isFunction(this.initialize)&&this.initialize(a)};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events,{setHandlers:function(a){b.each(a,function(a,c){var d=null;b.isObject(a)&&!b.isFunction(a)&&(d=a.context,a=a.callback),this.setHandler(c,a,d)},this)},setHandler:function(a,b,c){var d={callback:b,context:c};this._wreqrHandlers[a]=d,this.trigger("handler:add",a,b,c)},hasHandler:function(a){return!!this._wreqrHandlers[a]},getHandler:function(a){var b=this._wreqrHandlers[a];if(!b)throw new Error("Handler not found for '"+a+"'");return function(){var a=Array.prototype.slice.apply(arguments);return b.callback.apply(b.context,a)}},removeHandler:function(a){delete this._wreqrHandlers[a]},removeAllHandlers:function(){this._wreqrHandlers={}}}),c}(a,c),d.CommandStorage=function(){var b=function(a){this.options=a,this._commands={},c.isFunction(this.initialize)&&this.initialize(a)};return c.extend(b.prototype,a.Events,{getCommands:function(a){var b=this._commands[a];return b||(b={command:a,instances:[]},this._commands[a]=b),b},addCommand:function(a,b){var c=this.getCommands(a);c.instances.push(b)},clearCommands:function(a){var b=this.getCommands(a);b.instances=[]}}),b}(),d.Commands=function(a){return a.Handlers.extend({storageType:a.CommandStorage,constructor:function(b){this.options=b||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this);var c=Array.prototype.slice.call(arguments);a.Handlers.prototype.constructor.apply(this,c)},execute:function(a,b){a=arguments[0],b=Array.prototype.slice.call(arguments,1),this.hasHandler(a)?this.getHandler(a).apply(this,b):this.storage.addCommand(a,b)},_executeCommands:function(a,b,d){var e=this.storage.getCommands(a);c.each(e.instances,function(a){b.apply(d,a)}),this.storage.clearCommands(a)},_initializeStorage:function(a){var b,d=a.storageType||this.storageType;b=c.isFunction(d)?new d:d,this.storage=b}})}(d),d.RequestResponse=function(a){return a.Handlers.extend({request:function(){var a=arguments[0],b=Array.prototype.slice.call(arguments,1);return this.getHandler(a).apply(this,b)}})}(d),d.EventAggregator=function(a,b){var c=function(){};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events),c}(a,c),d}(Backbone,Backbone.Marionette,_);var Marionette=function(a,b,c){"use strict";function d(a){return g.call(a)}function e(a,b){var c=new Error(a);throw c.name=b||"Error",c}var f={};b.Marionette=f,f.$=b.$;var g=Array.prototype.slice;return f.extend=b.Model.extend,f.getOption=function(a,b){if(a&&b){var c;return c=a.options&&b in a.options&&void 0!==a.options[b]?a.options[b]:a[b]}},f.triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi,d=function(d){var e="on"+d.replace(b,a),f=this[e];return c.isFunction(this.trigger)&&this.trigger.apply(this,arguments),c.isFunction(f)?f.apply(this,c.tail(arguments)):void 0};return d}(),f.MonitorDOMRefresh=function(){function a(a){a._isShown=!0,d(a)}function b(a){a._isRendered=!0,d(a)}function d(a){a._isShown&&a._isRendered&&c.isFunction(a.triggerMethod)&&a.triggerMethod("dom:refresh")}return function(c){c.listenTo(c,"show",function(){a(c)}),c.listenTo(c,"render",function(){b(c)})}}(),function(a){function b(a,b,d,f){var g=f.split(/\s+/);c.each(g,function(c){var f=a[c];f||e("Method '"+c+"' was configured as an event handler, but does not exist."),a.listenTo(b,d,f,a)})}function d(a,b,c,d){a.listenTo(b,c,d,a)}function f(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e,a)})}function g(a,b,c,d){a.stopListening(b,c,d,a)}function h(a,b,d,e,f){b&&d&&(c.isFunction(d)&&(d=d.call(a)),c.each(d,function(d,g){c.isFunction(d)?e(a,b,g,d):f(a,b,g,d)}))}a.bindEntityEvents=function(a,c,e){h(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){h(a,b,c,g,f)}}(f),f.Callbacks=function(){this._deferred=f.$.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){this._callbacks.push({cb:a,ctx:b}),this._deferred.done(function(c,d){b&&(c=b),a.call(c,d)})},run:function(a,b){this._deferred.resolve(b,a)},reset:function(){var a=this._callbacks;this._deferred=f.$.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.triggerMethod=f.triggerMethod,this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),f.Region=function(a){if(this.options=a||{},this.el=f.getOption(this,"el"),!this.el){var b=new Error("An 'el' must be specified for a region.");throw b.name="NoElError",b}if(this.initialize){var c=Array.prototype.slice.apply(arguments);this.initialize.apply(this,c)}},c.extend(f.Region,{buildRegion:function(a,b){var d="string"==typeof a,e="string"==typeof a.selector,f="undefined"==typeof a.regionType,g="function"==typeof a;if(!g&&!d&&!e)throw new Error("Region must be specified as a Region type, a selector string or an object with selector property");var h,i;d&&(h=a),a.selector&&(h=a.selector),g&&(i=a),!g&&f&&(i=b),a.regionType&&(i=a.regionType);var j=new i({el:h});return a.parentEl&&(j.getEl=function(b){var d=a.parentEl;return c.isFunction(d)&&(d=d()),d.find(b)}),j}}),c.extend(f.Region.prototype,b.Events,{show:function(a){this.ensureEl();var b=a.isClosed||c.isUndefined(a.$el),d=a!==this.currentView;d&&this.close(),a.render(),(d||b)&&this.open(a),this.currentView=a,f.triggerMethod.call(this,"show",a),f.triggerMethod.call(a,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(a){return f.$(a)},open:function(a){this.$el.empty().append(a.el)},close:function(){var a=this.currentView;a&&!a.isClosed&&(a.close?a.close():a.remove&&a.remove(),f.triggerMethod.call(this,"close"),delete this.currentView)},attachView:function(a){this.currentView=a},reset:function(){this.close(),delete this.$el}}),f.Region.extend=f.extend,f.RegionManager=function(a){var b=a.Controller.extend({constructor:function(b){this._regions={},a.Controller.prototype.constructor.call(this,b)},addRegions:function(a,b){var d={};return c.each(a,function(a,e){"string"==typeof a&&(a={selector:a}),a.selector&&(a=c.defaults({},a,b));var f=this.addRegion(e,a);d[e]=f},this),d},addRegion:function(b,d){var e,f=c.isObject(d),g=c.isString(d),h=!!d.selector;return e=g||f&&h?a.Region.buildRegion(d,a.Region):c.isFunction(d)?a.Region.buildRegion(d,a.Region):d,this._store(b,e),this.triggerMethod("region:add",b,e),e},get:function(a){return this._regions[a]},removeRegion:function(a){var b=this._regions[a];this._remove(a,b)},removeRegions:function(){c.each(this._regions,function(a,b){this._remove(b,a)},this)},closeRegions:function(){c.each(this._regions,function(a){a.close()},this)},close:function(){this.removeRegions();var b=Array.prototype.slice.call(arguments);a.Controller.prototype.close.apply(this,b)},_store:function(a,b){this._regions[a]=b,this._setLength()},_remove:function(a,b){b.close(),delete this._regions[a],this._setLength(),this.triggerMethod("region:remove",a,b)},_setLength:function(){this.length=c.size(this._regions)}}),d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return c.each(d,function(a){b.prototype[a]=function(){var b=c.values(this._regions),d=[b].concat(c.toArray(arguments));return c[a].apply(c,d)}}),b}(f),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a){var b=this.templateCaches[a];return b||(b=new f.TemplateCache(a),this.templateCaches[a]=b),b.load()},clear:function(){var a,b=d(arguments),c=b.length;if(c>0)for(a=0;c>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var a=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(a),this.compiledTemplate},loadTemplate:function(a){var b=f.$(a).html();return b&&0!==b.length||e("Could not find template: '"+a+"'","NoTemplateError"),b},compileTemplate:function(a){return c.template(a)}}),f.Renderer={render:function(a,b){if(!a){var c=new Error("Cannot render the template since it's false, null or undefined.");throw c.name="TemplateNotFoundError",c}var d;return d="function"==typeof a?a:f.TemplateCache.get(a),d(b)}},f.View=b.View.extend({constructor:function(a){c.bindAll(this,"render");var d=Array.prototype.slice.apply(arguments);b.View.prototype.constructor.apply(this,d),this.options=a,f.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled,this)},triggerMethod:f.triggerMethod,getTemplate:function(){return f.getOption(this,"template")},mixinTemplateHelpers:function(a){a=a||{};var b=f.getOption(this,"templateHelpers");return c.isFunction(b)&&(b=b.call(this)),c.extend(a,b)},configureTriggers:function(){if(this.triggers){var a={},b=c.result(this,"triggers");return c.each(b,function(b,d){var e=c.isObject(b),f=e?b.event:b;a[d]=function(a){if(a){var c=a.preventDefault,d=a.stopPropagation,g=e?b.preventDefault:c,h=e?b.stopPropagation:d;g&&c&&c(),h&&d&&d()}var i={view:this,model:this.model,collection:this.collection};this.triggerMethod(f,i)}},this),a}},delegateEvents:function(a){this._delegateDOMEvents(a),f.bindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.bindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(a){a=a||this.events,c.isFunction(a)&&(a=a.call(this));var d={},e=this.configureTriggers();c.extend(d,a,e),b.View.prototype.delegateEvents.call(this,d)},undelegateEvents:function(){var a=Array.prototype.slice.call(arguments);b.View.prototype.undelegateEvents.apply(this,a),f.unbindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.unbindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var a=this.triggerMethod("before:close");a!==!1&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(c.keys(a),function(b){var c=a[b];this.ui[b]=this.$(c)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),f.ItemView=f.View.extend({constructor:function(){f.View.prototype.constructor.apply(this,d(arguments))},serializeData:function(){var a={};return this.model?a=this.model.toJSON():this.collection&&(a={items:this.collection.toJSON()}),a},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var a=this.serializeData();a=this.mixinTemplateHelpers(a);var b=this.getTemplate(),c=f.Renderer.render(b,a);return this.$el.html(c),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),f.View.prototype.close.apply(this,d(arguments)),this.triggerMethod("item:closed"))}}),f.CollectionView=f.View.extend({itemViewEventPrefix:"itemview",constructor:function(){this._initChildViewStorage(),f.View.prototype.constructor.apply(this,d(arguments)),this._initialEvents()},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this.render,this))},addChildView:function(a){this.closeEmptyView();var b=this.getItemView(a),c=this.collection.indexOf(a);this.addItemView(a,b,c)},onShowCalled:function(){this.children.each(function(a){f.triggerMethod.call(a,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.closeEmptyView(),this.closeChildren(),this.collection&&this.collection.length>0?this.showCollection():this.showEmptyView()},showCollection:function(){var a;this.collection.each(function(b,c){a=this.getItemView(b),this.addItemView(b,a,c)},this)},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this._showingEmptyView=!0;var c=new b.Model;this.addItemView(c,a,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return f.getOption(this,"emptyView")},getItemView:function(){var a=f.getOption(this,"itemView");return a||e("An `itemView` must be specified","NoItemViewError"),a},addItemView:function(a,b,d){var e=f.getOption(this,"itemViewOptions");c.isFunction(e)&&(e=e.call(this,a,d));var g=this.buildItemView(a,b,e);this.addChildViewEventForwarding(g),this.triggerMethod("before:item:added",g),this.children.add(g),this.renderItemView(g,d),this._isShown&&f.triggerMethod.call(g,"show"),this.triggerMethod("after:item:added",g)},addChildViewEventForwarding:function(a){var b=f.getOption(this,"itemViewEventPrefix");this.listenTo(a,"all",function(){var c=d(arguments);c[0]=b+":"+c[0],c.splice(1,0,a),f.triggerMethod.apply(this,c)},this)},renderItemView:function(a,b){a.render(),this.appendHtml(this,a,b)},buildItemView:function(a,b,d){var e=c.extend({model:a},d);return new b(e)},removeItemView:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},removeChildView:function(a){a&&(this.stopListening(a),a.close?a.close():a.remove&&a.remove(),this.children.remove(a)),this.triggerMethod("item:removed",a)},checkEmpty:function(){this.collection&&0!==this.collection.length||this.showEmptyView()},appendHtml:function(a,b){a.$el.append(b.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),f.View.prototype.close.apply(this,d(arguments)))},closeChildren:function(){this.children.each(function(a){this.removeChildView(a)},this),this.checkEmpty()}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.prototype.constructor.apply(this,d(arguments))},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this._renderChildren,this))},getItemView:function(){var a=f.getOption(this,"itemView")||this.constructor;return a||e("An `itemView` must be specified","NoItemViewError"),a},serializeData:function(){var a={};return this.model&&(a=this.model.toJSON()),a},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var a=this.renderModel();return this.$el.html(a),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(f.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a);var b=this.getTemplate();return f.Renderer.render(b,a)},appendHtml:function(a,b){var c=this.getItemViewContainer(a);c.append(b.el)},getItemViewContainer:function(a){if("$itemViewContainer"in a)return a.$itemViewContainer;var b,d=f.getOption(a,"itemViewContainer");if(d){var g=c.isFunction(d)?d():d;b=a.$(g),b.length<=0&&e("The specified `itemViewContainer` was not found: "+a.itemViewContainer,"ItemViewContainerMissingError")}else b=a.$el;return a.$itemViewContainer=b,b},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),f.Layout=f.ItemView.extend({regionType:f.Region,constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.prototype.constructor.call(this,a)},render:function(){this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions();var a=Array.prototype.slice.apply(arguments),b=f.ItemView.prototype.render.apply(this,a);return b},close:function(){if(!this.isClosed){this.regionManager.close();var a=Array.prototype.slice.apply(arguments);f.ItemView.prototype.close.apply(this,a)}},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},_buildRegions:function(a){var b=this,c={regionType:f.getOption(this,"regionType"),parentEl:function(){return b.$el}};return this.regionManager.addRegions(a,c)},_initializeRegions:function(a){var b;this._initRegionManager(),b=c.isFunction(this.regions)?this.regions(a):this.regions||{},this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(a){a.reset()})},_initRegionManager:function(){this.regionManager=new f.RegionManager,this.listenTo(this.regionManager,"region:add",function(a,b){this[a]=b,this.trigger("region:add",a,b)}),this.listenTo(this.regionManager,"region:remove",function(a,b){delete this[a],this.trigger("region:remove",a,b)})}}),f.AppRouter=b.Router.extend({constructor:function(a){b.Router.prototype.constructor.apply(this,d(arguments)),this.options=a||{};var c=f.getOption(this,"appRoutes"),e=this._getController();this.processAppRoutes(e,c)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return f.getOption(this,"controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new Error("Method '"+d+"' was not found on the controller");this.route(b,d,c.bind(e,a))}}),f.Application=function(a){this._initRegionManager(),this._initCallbacks=new f.Callbacks,this.vent=new b.Wreqr.EventAggregator,this.commands=new b.Wreqr.Commands,this.reqres=new b.Wreqr.RequestResponse,this.submodules={},c.extend(this,a),this.triggerMethod=f.triggerMethod},c.extend(f.Application.prototype,b.Events,{execute:function(){var a=Array.prototype.slice.apply(arguments);this.commands.execute.apply(this.commands,a)},request:function(){var a=Array.prototype.slice.apply(arguments);return this.reqres.request.apply(this.reqres,a)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("initialize:before",a),this._initCallbacks.run(a,this),this.triggerMethod("initialize:after",a),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(a){this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},module:function(){var a=d(arguments);return a.unshift(this),f.Module.create.apply(f.Module,a)},_initRegionManager:function(){this._regionManager=new f.RegionManager,this.listenTo(this._regionManager,"region:add",function(a,b){this[a]=b}),this.listenTo(this._regionManager,"region:remove",function(a){delete this[a]})}}),f.Application.extend=f.extend,f.Module=function(a,b){this.moduleName=a,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,this.startWithParent=!0,this.triggerMethod=f.triggerMethod},c.extend(f.Module.prototype,b.Events,{addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,f.triggerMethod.call(this,"before:stop"),c.each(this.submodules,function(a){a.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),f.triggerMethod.call(this,"stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,f.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks}}),c.extend(f.Module,{create:function(a,b,e){var f=a,g=d(arguments);g.splice(0,3),b=b.split(".");var h=b.length,i=[];return i[h-1]=e,c.each(b,function(b,c){var d=f;f=this._getModule(d,b,a),this._addModuleDefinition(d,f,i[c],g)},this),f},_getModule:function(a,b,c){var d=a[b];return d||(d=new f.Module(b,c),a[b]=d,a.submodules[b]=d),d},_addModuleDefinition:function(a,b,d,e){var f,g;c.isFunction(d)?(f=d,g=!0):c.isObject(d)?(f=d.define,g=d.startWithParent):g=!0,f&&b.addDefinition(f,e),b.startWithParent=b.startWithParent&&g,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f}(this,Backbone,_); +Backbone.ChildViewContainer=function(a,b){var c=function(a){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),b.each(a,this.add,this)};b.extend(c.prototype,{add:function(a,b){var c=a.cid;this._views[c]=a,a.model&&(this._indexByModel[a.model.cid]=c),b&&(this._indexByCustom[b]=c),this._updateLength()},findByModel:function(a){return this.findByModelCid(a.cid)},findByModelCid:function(a){var b=this._indexByModel[a];return this.findByCid(b)},findByCustom:function(a){var b=this._indexByCustom[a];return this.findByCid(b)},findByIndex:function(a){return b.values(this._views)[a]},findByCid:function(a){return this._views[a]},remove:function(a){var c=a.cid;a.model&&delete this._indexByModel[a.model.cid],b.any(this._indexByCustom,function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this),delete this._views[c],this._updateLength()},call:function(a){this.apply(a,b.tail(arguments))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){this.length=b.size(this._views)}});var d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return b.each(d,function(a){c.prototype[a]=function(){var c=b.values(this._views),d=[c].concat(b.toArray(arguments));return b[a].apply(b,d)}}),c}(Backbone,_),Backbone.Wreqr=function(a,b,c){"use strict";var d={};return d.Handlers=function(a,b){var c=function(a){this.options=a,this._wreqrHandlers={},b.isFunction(this.initialize)&&this.initialize(a)};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events,{setHandlers:function(a){b.each(a,function(a,c){var d=null;b.isObject(a)&&!b.isFunction(a)&&(d=a.context,a=a.callback),this.setHandler(c,a,d)},this)},setHandler:function(a,b,c){var d={callback:b,context:c};this._wreqrHandlers[a]=d,this.trigger("handler:add",a,b,c)},hasHandler:function(a){return!!this._wreqrHandlers[a]},getHandler:function(a){var b=this._wreqrHandlers[a];if(!b)throw new Error("Handler not found for '"+a+"'");return function(){var a=Array.prototype.slice.apply(arguments);return b.callback.apply(b.context,a)}},removeHandler:function(a){delete this._wreqrHandlers[a]},removeAllHandlers:function(){this._wreqrHandlers={}}}),c}(a,c),d.CommandStorage=function(){var b=function(a){this.options=a,this._commands={},c.isFunction(this.initialize)&&this.initialize(a)};return c.extend(b.prototype,a.Events,{getCommands:function(a){var b=this._commands[a];return b||(b={command:a,instances:[]},this._commands[a]=b),b},addCommand:function(a,b){var c=this.getCommands(a);c.instances.push(b)},clearCommands:function(a){var b=this.getCommands(a);b.instances=[]}}),b}(),d.Commands=function(a){return a.Handlers.extend({storageType:a.CommandStorage,constructor:function(b){this.options=b||{},this._initializeStorage(this.options),this.on("handler:add",this._executeCommands,this);var c=Array.prototype.slice.call(arguments);a.Handlers.prototype.constructor.apply(this,c)},execute:function(a,b){a=arguments[0],b=Array.prototype.slice.call(arguments,1),this.hasHandler(a)?this.getHandler(a).apply(this,b):this.storage.addCommand(a,b)},_executeCommands:function(a,b,d){var e=this.storage.getCommands(a);c.each(e.instances,function(a){b.apply(d,a)}),this.storage.clearCommands(a)},_initializeStorage:function(a){var b,d=a.storageType||this.storageType;b=c.isFunction(d)?new d:d,this.storage=b}})}(d),d.RequestResponse=function(a){return a.Handlers.extend({request:function(){var a=arguments[0],b=Array.prototype.slice.call(arguments,1);return this.getHandler(a).apply(this,b)}})}(d),d.EventAggregator=function(a,b){var c=function(){};return c.extend=a.Model.extend,b.extend(c.prototype,a.Events),c}(a,c),d}(Backbone,Backbone.Marionette,_);var Marionette=function(a,b,c){"use strict";function d(a){return g.call(a)}function e(a,b){var c=new Error(a);throw c.name=b||"Error",c}var f={};b.Marionette=f,f.$=b.$;var g=Array.prototype.slice;return f.extend=b.Model.extend,f.getOption=function(a,b){if(a&&b){var c;return c=a.options&&b in a.options&&void 0!==a.options[b]?a.options[b]:a[b]}},f.triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi,d=function(d){var e="on"+d.replace(b,a),f=this[e];return c.isFunction(this.trigger)&&this.trigger.apply(this,arguments),c.isFunction(f)?f.apply(this,c.tail(arguments)):void 0};return d}(),f.MonitorDOMRefresh=function(){function a(a){a._isShown=!0,d(a)}function b(a){a._isRendered=!0,d(a)}function d(a){a._isShown&&a._isRendered&&c.isFunction(a.triggerMethod)&&a.triggerMethod("dom:refresh")}return function(c){c.listenTo(c,"show",function(){a(c)}),c.listenTo(c,"render",function(){b(c)})}}(),function(a){function b(a,b,d,f){var g=f.split(/\s+/);c.each(g,function(c){var f=a[c];f||e("Method '"+c+"' was configured as an event handler, but does not exist."),a.listenTo(b,d,f,a)})}function d(a,b,c,d){a.listenTo(b,c,d,a)}function f(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e,a)})}function g(a,b,c,d){a.stopListening(b,c,d,a)}function h(a,b,d,e,f){b&&d&&(c.isFunction(d)&&(d=d.call(a)),c.each(d,function(d,g){c.isFunction(d)?e(a,b,g,d):f(a,b,g,d)}))}a.bindEntityEvents=function(a,c,e){h(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){h(a,b,c,g,f)}}(f),f.Callbacks=function(){this._deferred=f.$.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){this._callbacks.push({cb:a,ctx:b}),this._deferred.done(function(c,d){b&&(c=b),a.call(c,d)})},run:function(a,b){this._deferred.resolve(b,a)},reset:function(){var a=this._callbacks;this._deferred=f.$.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.triggerMethod=f.triggerMethod,this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),f.Region=function(a){if(this.options=a||{},this.el=f.getOption(this,"el"),!this.el){var b=new Error("An 'el' must be specified for a region.");throw b.name="NoElError",b}if(this.initialize){var c=Array.prototype.slice.apply(arguments);this.initialize.apply(this,c)}},c.extend(f.Region,{buildRegion:function(a,b){var d="string"==typeof a,e="string"==typeof a.selector,f="undefined"==typeof a.regionType,g="function"==typeof a;if(!g&&!d&&!e)throw new Error("Region must be specified as a Region type, a selector string or an object with selector property");var h,i;d&&(h=a),a.selector&&(h=a.selector),g&&(i=a),!g&&f&&(i=b),a.regionType&&(i=a.regionType);var j=new i({el:h});return a.parentEl&&(j.getEl=function(b){var d=a.parentEl;return c.isFunction(d)&&(d=d()),d.find(b)}),j}}),c.extend(f.Region.prototype,b.Events,{show:function(a){this.ensureEl();var b=a.isClosed||c.isUndefined(a.$el),d=a!==this.currentView;d&&this.close(),a.render(),(d||b)&&this.open(a),this.currentView=a,f.triggerMethod.call(this,"show",a),f.triggerMethod.call(a,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(a){return f.$(a)},open:function(a){this.$el.empty().append(a.el)},close:function(){var a=this.currentView;a&&!a.isClosed&&(a.close?a.close():a.remove&&a.remove(),f.triggerMethod.call(this,"close"),delete this.currentView)},attachView:function(a){this.currentView=a},reset:function(){this.close(),delete this.$el}}),f.Region.extend=f.extend,f.RegionManager=function(a){var b=a.Controller.extend({constructor:function(b){this._regions={},a.Controller.prototype.constructor.call(this,b)},addRegions:function(a,b){var d={};return c.each(a,function(a,e){"string"==typeof a&&(a={selector:a}),a.selector&&(a=c.defaults({},a,b));var f=this.addRegion(e,a);d[e]=f},this),d},addRegion:function(b,d){var e,f=c.isObject(d),g=c.isString(d),h=!!d.selector;return e=g||f&&h?a.Region.buildRegion(d,a.Region):c.isFunction(d)?a.Region.buildRegion(d,a.Region):d,this._store(b,e),this.triggerMethod("region:add",b,e),e},get:function(a){return this._regions[a]},removeRegion:function(a){var b=this._regions[a];this._remove(a,b)},removeRegions:function(){c.each(this._regions,function(a,b){this._remove(b,a)},this)},closeRegions:function(){c.each(this._regions,function(a){a.close()},this)},close:function(){this.removeRegions();var b=Array.prototype.slice.call(arguments);a.Controller.prototype.close.apply(this,b)},_store:function(a,b){this._regions[a]=b,this._setLength()},_remove:function(a,b){b.close(),delete this._regions[a],this._setLength(),this.triggerMethod("region:remove",a,b)},_setLength:function(){this.length=c.size(this._regions)}}),d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return c.each(d,function(a){b.prototype[a]=function(){var b=c.values(this._regions),d=[b].concat(c.toArray(arguments));return c[a].apply(c,d)}}),b}(f),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a){var b=this.templateCaches[a];return b||(b=new f.TemplateCache(a),this.templateCaches[a]=b),b.load()},clear:function(){var a,b=d(arguments),c=b.length;if(c>0)for(a=0;c>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var a=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(a),this.compiledTemplate},loadTemplate:function(a){var b=f.$(a).html();return b&&0!==b.length||e("Could not find template: '"+a+"'","NoTemplateError"),b},compileTemplate:function(a){return c.template(a)}}),f.Renderer={render:function(a,b){if(!a){var c=new Error("Cannot render the template since it's false, null or undefined.");throw c.name="TemplateNotFoundError",c}var d;return d="function"==typeof a?a:f.TemplateCache.get(a),d(b)}},f.View=b.View.extend({constructor:function(a){c.bindAll(this,"render");var d=Array.prototype.slice.apply(arguments);b.View.prototype.constructor.apply(this,d),this.options=a||{},f.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled,this)},triggerMethod:f.triggerMethod,getTemplate:function(){return f.getOption(this,"template")},mixinTemplateHelpers:function(a){a=a||{};var b=f.getOption(this,"templateHelpers");return c.isFunction(b)&&(b=b.call(this)),c.extend(a,b)},configureTriggers:function(){if(this.triggers){var a={},b=c.result(this,"triggers");return c.each(b,function(b,d){var e=c.isObject(b),f=e?b.event:b;a[d]=function(a){if(a){var c=a.preventDefault,d=a.stopPropagation,g=e?b.preventDefault:c,h=e?b.stopPropagation:d;g&&c&&c.apply(a),h&&d&&d.apply(a)}var i={view:this,model:this.model,collection:this.collection};this.triggerMethod(f,i)}},this),a}},delegateEvents:function(a){this._delegateDOMEvents(a),f.bindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.bindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(a){a=a||this.events,c.isFunction(a)&&(a=a.call(this));var d={},e=this.configureTriggers();c.extend(d,a,e),b.View.prototype.delegateEvents.call(this,d)},undelegateEvents:function(){var a=Array.prototype.slice.call(arguments);b.View.prototype.undelegateEvents.apply(this,a),f.unbindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.unbindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var a=this.triggerMethod("before:close");a!==!1&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(c.keys(a),function(b){var c=a[b];this.ui[b]=this.$(c)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),f.ItemView=f.View.extend({constructor:function(){f.View.prototype.constructor.apply(this,d(arguments))},serializeData:function(){var a={};return this.model?a=this.model.toJSON():this.collection&&(a={items:this.collection.toJSON()}),a},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var a=this.serializeData();a=this.mixinTemplateHelpers(a);var b=this.getTemplate(),c=f.Renderer.render(b,a);return this.$el.html(c),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),f.View.prototype.close.apply(this,d(arguments)),this.triggerMethod("item:closed"))}}),f.CollectionView=f.View.extend({itemViewEventPrefix:"itemview",constructor:function(){this._initChildViewStorage(),f.View.prototype.constructor.apply(this,d(arguments)),this._initialEvents()},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this.render,this))},addChildView:function(a){this.closeEmptyView();var b=this.getItemView(a),c=this.collection.indexOf(a);this.addItemView(a,b,c)},onShowCalled:function(){this.children.each(function(a){f.triggerMethod.call(a,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.closeEmptyView(),this.closeChildren(),this.collection&&this.collection.length>0?this.showCollection():this.showEmptyView()},showCollection:function(){var a;this.collection.each(function(b,c){a=this.getItemView(b),this.addItemView(b,a,c)},this)},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this._showingEmptyView=!0;var c=new b.Model;this.addItemView(c,a,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return f.getOption(this,"emptyView")},getItemView:function(){var a=f.getOption(this,"itemView");return a||e("An `itemView` must be specified","NoItemViewError"),a},addItemView:function(a,b,d){var e=f.getOption(this,"itemViewOptions");c.isFunction(e)&&(e=e.call(this,a,d));var g=this.buildItemView(a,b,e);this.addChildViewEventForwarding(g),this.triggerMethod("before:item:added",g),this.children.add(g),this.renderItemView(g,d),this._isShown&&f.triggerMethod.call(g,"show"),this.triggerMethod("after:item:added",g)},addChildViewEventForwarding:function(a){var b=f.getOption(this,"itemViewEventPrefix");this.listenTo(a,"all",function(){var c=d(arguments);c[0]=b+":"+c[0],c.splice(1,0,a),f.triggerMethod.apply(this,c)},this)},renderItemView:function(a,b){a.render(),this.appendHtml(this,a,b)},buildItemView:function(a,b,d){var e=c.extend({model:a},d);return new b(e)},removeItemView:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},removeChildView:function(a){a&&(this.stopListening(a),a.close?a.close():a.remove&&a.remove(),this.children.remove(a)),this.triggerMethod("item:removed",a)},checkEmpty:function(){this.collection&&0!==this.collection.length||this.showEmptyView()},appendHtml:function(a,b){a.$el.append(b.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),f.View.prototype.close.apply(this,d(arguments)))},closeChildren:function(){this.children.each(function(a){this.removeChildView(a)},this),this.checkEmpty()}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.prototype.constructor.apply(this,d(arguments))},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this._renderChildren,this))},getItemView:function(){var a=f.getOption(this,"itemView")||this.constructor;return a||e("An `itemView` must be specified","NoItemViewError"),a},serializeData:function(){var a={};return this.model&&(a=this.model.toJSON()),a},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var a=this.renderModel();return this.$el.html(a),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(f.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a);var b=this.getTemplate();return f.Renderer.render(b,a)},appendHtml:function(a,b){var c=this.getItemViewContainer(a);c.append(b.el)},getItemViewContainer:function(a){if("$itemViewContainer"in a)return a.$itemViewContainer;var b,d=f.getOption(a,"itemViewContainer");if(d){var g=c.isFunction(d)?d():d;b=a.$(g),b.length<=0&&e("The specified `itemViewContainer` was not found: "+a.itemViewContainer,"ItemViewContainerMissingError")}else b=a.$el;return a.$itemViewContainer=b,b},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),f.Layout=f.ItemView.extend({regionType:f.Region,constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.prototype.constructor.call(this,a)},render:function(){this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions();var a=Array.prototype.slice.apply(arguments),b=f.ItemView.prototype.render.apply(this,a);return b},close:function(){if(!this.isClosed){this.regionManager.close();var a=Array.prototype.slice.apply(arguments);f.ItemView.prototype.close.apply(this,a)}},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},_buildRegions:function(a){var b=this,c={regionType:f.getOption(this,"regionType"),parentEl:function(){return b.$el}};return this.regionManager.addRegions(a,c)},_initializeRegions:function(a){var b;this._initRegionManager(),b=c.isFunction(this.regions)?this.regions(a):this.regions||{},this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(a){a.reset()})},_initRegionManager:function(){this.regionManager=new f.RegionManager,this.listenTo(this.regionManager,"region:add",function(a,b){this[a]=b,this.trigger("region:add",a,b)}),this.listenTo(this.regionManager,"region:remove",function(a,b){delete this[a],this.trigger("region:remove",a,b)})}}),f.AppRouter=b.Router.extend({constructor:function(a){b.Router.prototype.constructor.apply(this,d(arguments)),this.options=a||{};var c=f.getOption(this,"appRoutes"),e=this._getController();this.processAppRoutes(e,c)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return f.getOption(this,"controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new Error("Method '"+d+"' was not found on the controller");this.route(b,d,c.bind(e,a))}}),f.Application=function(a){this._initRegionManager(),this._initCallbacks=new f.Callbacks,this.vent=new b.Wreqr.EventAggregator,this.commands=new b.Wreqr.Commands,this.reqres=new b.Wreqr.RequestResponse,this.submodules={},c.extend(this,a),this.triggerMethod=f.triggerMethod},c.extend(f.Application.prototype,b.Events,{execute:function(){var a=Array.prototype.slice.apply(arguments);this.commands.execute.apply(this.commands,a)},request:function(){var a=Array.prototype.slice.apply(arguments);return this.reqres.request.apply(this.reqres,a)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("initialize:before",a),this._initCallbacks.run(a,this),this.triggerMethod("initialize:after",a),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(a){this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},module:function(){var a=d(arguments);return a.unshift(this),f.Module.create.apply(f.Module,a)},_initRegionManager:function(){this._regionManager=new f.RegionManager,this.listenTo(this._regionManager,"region:add",function(a,b){this[a]=b}),this.listenTo(this._regionManager,"region:remove",function(a){delete this[a]})}}),f.Application.extend=f.extend,f.Module=function(a,b){this.moduleName=a,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,this.startWithParent=!0,this.triggerMethod=f.triggerMethod},c.extend(f.Module.prototype,b.Events,{addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,f.triggerMethod.call(this,"before:stop"),c.each(this.submodules,function(a){a.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),f.triggerMethod.call(this,"stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,f.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks}}),c.extend(f.Module,{create:function(a,b,e){var f=a,g=d(arguments);g.splice(0,3),b=b.split(".");var h=b.length,i=[];return i[h-1]=e,c.each(b,function(b,c){var d=f;f=this._getModule(d,b,a),this._addModuleDefinition(d,f,i[c],g)},this),f},_getModule:function(a,b,c){var d=a[b];return d||(d=new f.Module(b,c),a[b]=d,a.submodules[b]=d),d},_addModuleDefinition:function(a,b,d,e){var f,g;c.isFunction(d)?(f=d,g=!0):c.isObject(d)?(f=d.define,g=d.startWithParent):g=!0,f&&b.addDefinition(f,e),b.startWithParent=b.startWithParent&&g,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f}(this,Backbone,_); //# sourceMappingURL=backbone.marionette.map \ No newline at end of file diff --git a/lib/core/amd/backbone.marionette.js b/lib/core/amd/backbone.marionette.js index faf7c69a39..10fccb928d 100644 --- a/lib/core/amd/backbone.marionette.js +++ b/lib/core/amd/backbone.marionette.js @@ -1,6 +1,6 @@ // MarionetteJS (Backbone.Marionette) // ---------------------------------- -// v1.2.0 +// v1.2.1 // // Copyright (c)2013 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license @@ -799,7 +799,7 @@ Marionette.View = Backbone.View.extend({ var args = Array.prototype.slice.apply(arguments); Backbone.View.prototype.constructor.apply(this, args); - this.options = options; + this.options = options || {}; Marionette.MonitorDOMRefresh(this); this.listenTo(this, "show", this.onShowCalled, this); @@ -859,8 +859,8 @@ Marionette.View = Backbone.View.extend({ var shouldPrevent = hasOptions ? value.preventDefault : prevent; var shouldStop = hasOptions ? value.stopPropagation : stop; - if (shouldPrevent && prevent) { prevent(); } - if (shouldStop && stop) { stop(); } + if (shouldPrevent && prevent) { prevent.apply(e); } + if (shouldStop && stop) { stop.apply(e); } } // build the args for the event diff --git a/lib/core/amd/backbone.marionette.min.js b/lib/core/amd/backbone.marionette.min.js index a6b23c11f5..819de47617 100644 --- a/lib/core/amd/backbone.marionette.min.js +++ b/lib/core/amd/backbone.marionette.min.js @@ -1,6 +1,6 @@ // MarionetteJS (Backbone.Marionette) // ---------------------------------- -// v1.2.0 +// v1.2.1 // // Copyright (c)2013 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license @@ -17,4 +17,4 @@ * https://github.com/marionettejs/backbone.wreqr/ */ -!function(a,b){if("object"==typeof exports){var c=require("underscore"),d=require("backbone"),e=require("backbone.wreqr"),f=require("backbone.babysitter");module.exports=b(c,d,e,f)}else"function"==typeof define&&define.amd&&define(["underscore","backbone","backbone.wreqr","backbone.babysitter"],b)}(this,function(a,b){return!function(a,b,c){"use strict";function d(a){return g.call(a)}function e(a,b){var c=new Error(a);throw c.name=b||"Error",c}var f={};b.Marionette=f,f.$=b.$;var g=Array.prototype.slice;return f.extend=b.Model.extend,f.getOption=function(a,b){if(a&&b){var c;return c=a.options&&b in a.options&&void 0!==a.options[b]?a.options[b]:a[b]}},f.triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi,d=function(d){var e="on"+d.replace(b,a),f=this[e];return c.isFunction(this.trigger)&&this.trigger.apply(this,arguments),c.isFunction(f)?f.apply(this,c.tail(arguments)):void 0};return d}(),f.MonitorDOMRefresh=function(){function a(a){a._isShown=!0,d(a)}function b(a){a._isRendered=!0,d(a)}function d(a){a._isShown&&a._isRendered&&c.isFunction(a.triggerMethod)&&a.triggerMethod("dom:refresh")}return function(c){c.listenTo(c,"show",function(){a(c)}),c.listenTo(c,"render",function(){b(c)})}}(),function(a){function b(a,b,d,f){var g=f.split(/\s+/);c.each(g,function(c){var f=a[c];f||e("Method '"+c+"' was configured as an event handler, but does not exist."),a.listenTo(b,d,f,a)})}function d(a,b,c,d){a.listenTo(b,c,d,a)}function f(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e,a)})}function g(a,b,c,d){a.stopListening(b,c,d,a)}function h(a,b,d,e,f){b&&d&&(c.isFunction(d)&&(d=d.call(a)),c.each(d,function(d,g){c.isFunction(d)?e(a,b,g,d):f(a,b,g,d)}))}a.bindEntityEvents=function(a,c,e){h(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){h(a,b,c,g,f)}}(f),f.Callbacks=function(){this._deferred=f.$.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){this._callbacks.push({cb:a,ctx:b}),this._deferred.done(function(c,d){b&&(c=b),a.call(c,d)})},run:function(a,b){this._deferred.resolve(b,a)},reset:function(){var a=this._callbacks;this._deferred=f.$.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.triggerMethod=f.triggerMethod,this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),f.Region=function(a){if(this.options=a||{},this.el=f.getOption(this,"el"),!this.el){var b=new Error("An 'el' must be specified for a region.");throw b.name="NoElError",b}if(this.initialize){var c=Array.prototype.slice.apply(arguments);this.initialize.apply(this,c)}},c.extend(f.Region,{buildRegion:function(a,b){var d="string"==typeof a,e="string"==typeof a.selector,f="undefined"==typeof a.regionType,g="function"==typeof a;if(!g&&!d&&!e)throw new Error("Region must be specified as a Region type, a selector string or an object with selector property");var h,i;d&&(h=a),a.selector&&(h=a.selector),g&&(i=a),!g&&f&&(i=b),a.regionType&&(i=a.regionType);var j=new i({el:h});return a.parentEl&&(j.getEl=function(b){var d=a.parentEl;return c.isFunction(d)&&(d=d()),d.find(b)}),j}}),c.extend(f.Region.prototype,b.Events,{show:function(a){this.ensureEl();var b=a.isClosed||c.isUndefined(a.$el),d=a!==this.currentView;d&&this.close(),a.render(),(d||b)&&this.open(a),this.currentView=a,f.triggerMethod.call(this,"show",a),f.triggerMethod.call(a,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(a){return f.$(a)},open:function(a){this.$el.empty().append(a.el)},close:function(){var a=this.currentView;a&&!a.isClosed&&(a.close?a.close():a.remove&&a.remove(),f.triggerMethod.call(this,"close"),delete this.currentView)},attachView:function(a){this.currentView=a},reset:function(){this.close(),delete this.$el}}),f.Region.extend=f.extend,f.RegionManager=function(a){var b=a.Controller.extend({constructor:function(b){this._regions={},a.Controller.prototype.constructor.call(this,b)},addRegions:function(a,b){var d={};return c.each(a,function(a,e){"string"==typeof a&&(a={selector:a}),a.selector&&(a=c.defaults({},a,b));var f=this.addRegion(e,a);d[e]=f},this),d},addRegion:function(b,d){var e,f=c.isObject(d),g=c.isString(d),h=!!d.selector;return e=g||f&&h?a.Region.buildRegion(d,a.Region):c.isFunction(d)?a.Region.buildRegion(d,a.Region):d,this._store(b,e),this.triggerMethod("region:add",b,e),e},get:function(a){return this._regions[a]},removeRegion:function(a){var b=this._regions[a];this._remove(a,b)},removeRegions:function(){c.each(this._regions,function(a,b){this._remove(b,a)},this)},closeRegions:function(){c.each(this._regions,function(a){a.close()},this)},close:function(){this.removeRegions();var b=Array.prototype.slice.call(arguments);a.Controller.prototype.close.apply(this,b)},_store:function(a,b){this._regions[a]=b,this._setLength()},_remove:function(a,b){b.close(),delete this._regions[a],this._setLength(),this.triggerMethod("region:remove",a,b)},_setLength:function(){this.length=c.size(this._regions)}}),d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return c.each(d,function(a){b.prototype[a]=function(){var b=c.values(this._regions),d=[b].concat(c.toArray(arguments));return c[a].apply(c,d)}}),b}(f),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a){var b=this.templateCaches[a];return b||(b=new f.TemplateCache(a),this.templateCaches[a]=b),b.load()},clear:function(){var a,b=d(arguments),c=b.length;if(c>0)for(a=0;c>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var a=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(a),this.compiledTemplate},loadTemplate:function(a){var b=f.$(a).html();return b&&0!==b.length||e("Could not find template: '"+a+"'","NoTemplateError"),b},compileTemplate:function(a){return c.template(a)}}),f.Renderer={render:function(a,b){if(!a){var c=new Error("Cannot render the template since it's false, null or undefined.");throw c.name="TemplateNotFoundError",c}var d;return d="function"==typeof a?a:f.TemplateCache.get(a),d(b)}},f.View=b.View.extend({constructor:function(a){c.bindAll(this,"render");var d=Array.prototype.slice.apply(arguments);b.View.prototype.constructor.apply(this,d),this.options=a,f.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled,this)},triggerMethod:f.triggerMethod,getTemplate:function(){return f.getOption(this,"template")},mixinTemplateHelpers:function(a){a=a||{};var b=f.getOption(this,"templateHelpers");return c.isFunction(b)&&(b=b.call(this)),c.extend(a,b)},configureTriggers:function(){if(this.triggers){var a={},b=c.result(this,"triggers");return c.each(b,function(b,d){var e=c.isObject(b),f=e?b.event:b;a[d]=function(a){if(a){var c=a.preventDefault,d=a.stopPropagation,g=e?b.preventDefault:c,h=e?b.stopPropagation:d;g&&c&&c(),h&&d&&d()}var i={view:this,model:this.model,collection:this.collection};this.triggerMethod(f,i)}},this),a}},delegateEvents:function(a){this._delegateDOMEvents(a),f.bindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.bindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(a){a=a||this.events,c.isFunction(a)&&(a=a.call(this));var d={},e=this.configureTriggers();c.extend(d,a,e),b.View.prototype.delegateEvents.call(this,d)},undelegateEvents:function(){var a=Array.prototype.slice.call(arguments);b.View.prototype.undelegateEvents.apply(this,a),f.unbindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.unbindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var a=this.triggerMethod("before:close");a!==!1&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(c.keys(a),function(b){var c=a[b];this.ui[b]=this.$(c)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),f.ItemView=f.View.extend({constructor:function(){f.View.prototype.constructor.apply(this,d(arguments))},serializeData:function(){var a={};return this.model?a=this.model.toJSON():this.collection&&(a={items:this.collection.toJSON()}),a},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var a=this.serializeData();a=this.mixinTemplateHelpers(a);var b=this.getTemplate(),c=f.Renderer.render(b,a);return this.$el.html(c),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),f.View.prototype.close.apply(this,d(arguments)),this.triggerMethod("item:closed"))}}),f.CollectionView=f.View.extend({itemViewEventPrefix:"itemview",constructor:function(){this._initChildViewStorage(),f.View.prototype.constructor.apply(this,d(arguments)),this._initialEvents()},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this.render,this))},addChildView:function(a){this.closeEmptyView();var b=this.getItemView(a),c=this.collection.indexOf(a);this.addItemView(a,b,c)},onShowCalled:function(){this.children.each(function(a){f.triggerMethod.call(a,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.closeEmptyView(),this.closeChildren(),this.collection&&this.collection.length>0?this.showCollection():this.showEmptyView()},showCollection:function(){var a;this.collection.each(function(b,c){a=this.getItemView(b),this.addItemView(b,a,c)},this)},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this._showingEmptyView=!0;var c=new b.Model;this.addItemView(c,a,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return f.getOption(this,"emptyView")},getItemView:function(){var a=f.getOption(this,"itemView");return a||e("An `itemView` must be specified","NoItemViewError"),a},addItemView:function(a,b,d){var e=f.getOption(this,"itemViewOptions");c.isFunction(e)&&(e=e.call(this,a,d));var g=this.buildItemView(a,b,e);this.addChildViewEventForwarding(g),this.triggerMethod("before:item:added",g),this.children.add(g),this.renderItemView(g,d),this._isShown&&f.triggerMethod.call(g,"show"),this.triggerMethod("after:item:added",g)},addChildViewEventForwarding:function(a){var b=f.getOption(this,"itemViewEventPrefix");this.listenTo(a,"all",function(){var c=d(arguments);c[0]=b+":"+c[0],c.splice(1,0,a),f.triggerMethod.apply(this,c)},this)},renderItemView:function(a,b){a.render(),this.appendHtml(this,a,b)},buildItemView:function(a,b,d){var e=c.extend({model:a},d);return new b(e)},removeItemView:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},removeChildView:function(a){a&&(this.stopListening(a),a.close?a.close():a.remove&&a.remove(),this.children.remove(a)),this.triggerMethod("item:removed",a)},checkEmpty:function(){this.collection&&0!==this.collection.length||this.showEmptyView()},appendHtml:function(a,b){a.$el.append(b.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),f.View.prototype.close.apply(this,d(arguments)))},closeChildren:function(){this.children.each(function(a){this.removeChildView(a)},this),this.checkEmpty()}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.prototype.constructor.apply(this,d(arguments))},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this._renderChildren,this))},getItemView:function(){var a=f.getOption(this,"itemView")||this.constructor;return a||e("An `itemView` must be specified","NoItemViewError"),a},serializeData:function(){var a={};return this.model&&(a=this.model.toJSON()),a},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var a=this.renderModel();return this.$el.html(a),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(f.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a);var b=this.getTemplate();return f.Renderer.render(b,a)},appendHtml:function(a,b){var c=this.getItemViewContainer(a);c.append(b.el)},getItemViewContainer:function(a){if("$itemViewContainer"in a)return a.$itemViewContainer;var b,d=f.getOption(a,"itemViewContainer");if(d){var g=c.isFunction(d)?d():d;b=a.$(g),b.length<=0&&e("The specified `itemViewContainer` was not found: "+a.itemViewContainer,"ItemViewContainerMissingError")}else b=a.$el;return a.$itemViewContainer=b,b},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),f.Layout=f.ItemView.extend({regionType:f.Region,constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.prototype.constructor.call(this,a)},render:function(){this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions();var a=Array.prototype.slice.apply(arguments),b=f.ItemView.prototype.render.apply(this,a);return b},close:function(){if(!this.isClosed){this.regionManager.close();var a=Array.prototype.slice.apply(arguments);f.ItemView.prototype.close.apply(this,a)}},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},_buildRegions:function(a){var b=this,c={regionType:f.getOption(this,"regionType"),parentEl:function(){return b.$el}};return this.regionManager.addRegions(a,c)},_initializeRegions:function(a){var b;this._initRegionManager(),b=c.isFunction(this.regions)?this.regions(a):this.regions||{},this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(a){a.reset()})},_initRegionManager:function(){this.regionManager=new f.RegionManager,this.listenTo(this.regionManager,"region:add",function(a,b){this[a]=b,this.trigger("region:add",a,b)}),this.listenTo(this.regionManager,"region:remove",function(a,b){delete this[a],this.trigger("region:remove",a,b)})}}),f.AppRouter=b.Router.extend({constructor:function(a){b.Router.prototype.constructor.apply(this,d(arguments)),this.options=a||{};var c=f.getOption(this,"appRoutes"),e=this._getController();this.processAppRoutes(e,c)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return f.getOption(this,"controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new Error("Method '"+d+"' was not found on the controller");this.route(b,d,c.bind(e,a))}}),f.Application=function(a){this._initRegionManager(),this._initCallbacks=new f.Callbacks,this.vent=new b.Wreqr.EventAggregator,this.commands=new b.Wreqr.Commands,this.reqres=new b.Wreqr.RequestResponse,this.submodules={},c.extend(this,a),this.triggerMethod=f.triggerMethod},c.extend(f.Application.prototype,b.Events,{execute:function(){var a=Array.prototype.slice.apply(arguments);this.commands.execute.apply(this.commands,a)},request:function(){var a=Array.prototype.slice.apply(arguments);return this.reqres.request.apply(this.reqres,a)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("initialize:before",a),this._initCallbacks.run(a,this),this.triggerMethod("initialize:after",a),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(a){this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},module:function(){var a=d(arguments);return a.unshift(this),f.Module.create.apply(f.Module,a)},_initRegionManager:function(){this._regionManager=new f.RegionManager,this.listenTo(this._regionManager,"region:add",function(a,b){this[a]=b}),this.listenTo(this._regionManager,"region:remove",function(a){delete this[a]})}}),f.Application.extend=f.extend,f.Module=function(a,b){this.moduleName=a,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,this.startWithParent=!0,this.triggerMethod=f.triggerMethod},c.extend(f.Module.prototype,b.Events,{addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,f.triggerMethod.call(this,"before:stop"),c.each(this.submodules,function(a){a.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),f.triggerMethod.call(this,"stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,f.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks}}),c.extend(f.Module,{create:function(a,b,e){var f=a,g=d(arguments);g.splice(0,3),b=b.split(".");var h=b.length,i=[];return i[h-1]=e,c.each(b,function(b,c){var d=f;f=this._getModule(d,b,a),this._addModuleDefinition(d,f,i[c],g)},this),f},_getModule:function(a,b,c){var d=a[b];return d||(d=new f.Module(b,c),a[b]=d,a.submodules[b]=d),d},_addModuleDefinition:function(a,b,d,e){var f,g;c.isFunction(d)?(f=d,g=!0):c.isObject(d)?(f=d.define,g=d.startWithParent):g=!0,f&&b.addDefinition(f,e),b.startWithParent=b.startWithParent&&g,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f}(this,b,a),b.Marionette}); \ No newline at end of file +!function(a,b){if("object"==typeof exports){var c=require("underscore"),d=require("backbone"),e=require("backbone.wreqr"),f=require("backbone.babysitter");module.exports=b(c,d,e,f)}else"function"==typeof define&&define.amd&&define(["underscore","backbone","backbone.wreqr","backbone.babysitter"],b)}(this,function(a,b){return!function(a,b,c){"use strict";function d(a){return g.call(a)}function e(a,b){var c=new Error(a);throw c.name=b||"Error",c}var f={};b.Marionette=f,f.$=b.$;var g=Array.prototype.slice;return f.extend=b.Model.extend,f.getOption=function(a,b){if(a&&b){var c;return c=a.options&&b in a.options&&void 0!==a.options[b]?a.options[b]:a[b]}},f.triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi,d=function(d){var e="on"+d.replace(b,a),f=this[e];return c.isFunction(this.trigger)&&this.trigger.apply(this,arguments),c.isFunction(f)?f.apply(this,c.tail(arguments)):void 0};return d}(),f.MonitorDOMRefresh=function(){function a(a){a._isShown=!0,d(a)}function b(a){a._isRendered=!0,d(a)}function d(a){a._isShown&&a._isRendered&&c.isFunction(a.triggerMethod)&&a.triggerMethod("dom:refresh")}return function(c){c.listenTo(c,"show",function(){a(c)}),c.listenTo(c,"render",function(){b(c)})}}(),function(a){function b(a,b,d,f){var g=f.split(/\s+/);c.each(g,function(c){var f=a[c];f||e("Method '"+c+"' was configured as an event handler, but does not exist."),a.listenTo(b,d,f,a)})}function d(a,b,c,d){a.listenTo(b,c,d,a)}function f(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e,a)})}function g(a,b,c,d){a.stopListening(b,c,d,a)}function h(a,b,d,e,f){b&&d&&(c.isFunction(d)&&(d=d.call(a)),c.each(d,function(d,g){c.isFunction(d)?e(a,b,g,d):f(a,b,g,d)}))}a.bindEntityEvents=function(a,c,e){h(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){h(a,b,c,g,f)}}(f),f.Callbacks=function(){this._deferred=f.$.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){this._callbacks.push({cb:a,ctx:b}),this._deferred.done(function(c,d){b&&(c=b),a.call(c,d)})},run:function(a,b){this._deferred.resolve(b,a)},reset:function(){var a=this._callbacks;this._deferred=f.$.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.triggerMethod=f.triggerMethod,this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),f.Region=function(a){if(this.options=a||{},this.el=f.getOption(this,"el"),!this.el){var b=new Error("An 'el' must be specified for a region.");throw b.name="NoElError",b}if(this.initialize){var c=Array.prototype.slice.apply(arguments);this.initialize.apply(this,c)}},c.extend(f.Region,{buildRegion:function(a,b){var d="string"==typeof a,e="string"==typeof a.selector,f="undefined"==typeof a.regionType,g="function"==typeof a;if(!g&&!d&&!e)throw new Error("Region must be specified as a Region type, a selector string or an object with selector property");var h,i;d&&(h=a),a.selector&&(h=a.selector),g&&(i=a),!g&&f&&(i=b),a.regionType&&(i=a.regionType);var j=new i({el:h});return a.parentEl&&(j.getEl=function(b){var d=a.parentEl;return c.isFunction(d)&&(d=d()),d.find(b)}),j}}),c.extend(f.Region.prototype,b.Events,{show:function(a){this.ensureEl();var b=a.isClosed||c.isUndefined(a.$el),d=a!==this.currentView;d&&this.close(),a.render(),(d||b)&&this.open(a),this.currentView=a,f.triggerMethod.call(this,"show",a),f.triggerMethod.call(a,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(a){return f.$(a)},open:function(a){this.$el.empty().append(a.el)},close:function(){var a=this.currentView;a&&!a.isClosed&&(a.close?a.close():a.remove&&a.remove(),f.triggerMethod.call(this,"close"),delete this.currentView)},attachView:function(a){this.currentView=a},reset:function(){this.close(),delete this.$el}}),f.Region.extend=f.extend,f.RegionManager=function(a){var b=a.Controller.extend({constructor:function(b){this._regions={},a.Controller.prototype.constructor.call(this,b)},addRegions:function(a,b){var d={};return c.each(a,function(a,e){"string"==typeof a&&(a={selector:a}),a.selector&&(a=c.defaults({},a,b));var f=this.addRegion(e,a);d[e]=f},this),d},addRegion:function(b,d){var e,f=c.isObject(d),g=c.isString(d),h=!!d.selector;return e=g||f&&h?a.Region.buildRegion(d,a.Region):c.isFunction(d)?a.Region.buildRegion(d,a.Region):d,this._store(b,e),this.triggerMethod("region:add",b,e),e},get:function(a){return this._regions[a]},removeRegion:function(a){var b=this._regions[a];this._remove(a,b)},removeRegions:function(){c.each(this._regions,function(a,b){this._remove(b,a)},this)},closeRegions:function(){c.each(this._regions,function(a){a.close()},this)},close:function(){this.removeRegions();var b=Array.prototype.slice.call(arguments);a.Controller.prototype.close.apply(this,b)},_store:function(a,b){this._regions[a]=b,this._setLength()},_remove:function(a,b){b.close(),delete this._regions[a],this._setLength(),this.triggerMethod("region:remove",a,b)},_setLength:function(){this.length=c.size(this._regions)}}),d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return c.each(d,function(a){b.prototype[a]=function(){var b=c.values(this._regions),d=[b].concat(c.toArray(arguments));return c[a].apply(c,d)}}),b}(f),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a){var b=this.templateCaches[a];return b||(b=new f.TemplateCache(a),this.templateCaches[a]=b),b.load()},clear:function(){var a,b=d(arguments),c=b.length;if(c>0)for(a=0;c>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var a=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(a),this.compiledTemplate},loadTemplate:function(a){var b=f.$(a).html();return b&&0!==b.length||e("Could not find template: '"+a+"'","NoTemplateError"),b},compileTemplate:function(a){return c.template(a)}}),f.Renderer={render:function(a,b){if(!a){var c=new Error("Cannot render the template since it's false, null or undefined.");throw c.name="TemplateNotFoundError",c}var d;return d="function"==typeof a?a:f.TemplateCache.get(a),d(b)}},f.View=b.View.extend({constructor:function(a){c.bindAll(this,"render");var d=Array.prototype.slice.apply(arguments);b.View.prototype.constructor.apply(this,d),this.options=a||{},f.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled,this)},triggerMethod:f.triggerMethod,getTemplate:function(){return f.getOption(this,"template")},mixinTemplateHelpers:function(a){a=a||{};var b=f.getOption(this,"templateHelpers");return c.isFunction(b)&&(b=b.call(this)),c.extend(a,b)},configureTriggers:function(){if(this.triggers){var a={},b=c.result(this,"triggers");return c.each(b,function(b,d){var e=c.isObject(b),f=e?b.event:b;a[d]=function(a){if(a){var c=a.preventDefault,d=a.stopPropagation,g=e?b.preventDefault:c,h=e?b.stopPropagation:d;g&&c&&c.apply(a),h&&d&&d.apply(a)}var i={view:this,model:this.model,collection:this.collection};this.triggerMethod(f,i)}},this),a}},delegateEvents:function(a){this._delegateDOMEvents(a),f.bindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.bindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(a){a=a||this.events,c.isFunction(a)&&(a=a.call(this));var d={},e=this.configureTriggers();c.extend(d,a,e),b.View.prototype.delegateEvents.call(this,d)},undelegateEvents:function(){var a=Array.prototype.slice.call(arguments);b.View.prototype.undelegateEvents.apply(this,a),f.unbindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.unbindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var a=this.triggerMethod("before:close");a!==!1&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(c.keys(a),function(b){var c=a[b];this.ui[b]=this.$(c)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),f.ItemView=f.View.extend({constructor:function(){f.View.prototype.constructor.apply(this,d(arguments))},serializeData:function(){var a={};return this.model?a=this.model.toJSON():this.collection&&(a={items:this.collection.toJSON()}),a},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var a=this.serializeData();a=this.mixinTemplateHelpers(a);var b=this.getTemplate(),c=f.Renderer.render(b,a);return this.$el.html(c),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),f.View.prototype.close.apply(this,d(arguments)),this.triggerMethod("item:closed"))}}),f.CollectionView=f.View.extend({itemViewEventPrefix:"itemview",constructor:function(){this._initChildViewStorage(),f.View.prototype.constructor.apply(this,d(arguments)),this._initialEvents()},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this.render,this))},addChildView:function(a){this.closeEmptyView();var b=this.getItemView(a),c=this.collection.indexOf(a);this.addItemView(a,b,c)},onShowCalled:function(){this.children.each(function(a){f.triggerMethod.call(a,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.closeEmptyView(),this.closeChildren(),this.collection&&this.collection.length>0?this.showCollection():this.showEmptyView()},showCollection:function(){var a;this.collection.each(function(b,c){a=this.getItemView(b),this.addItemView(b,a,c)},this)},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this._showingEmptyView=!0;var c=new b.Model;this.addItemView(c,a,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return f.getOption(this,"emptyView")},getItemView:function(){var a=f.getOption(this,"itemView");return a||e("An `itemView` must be specified","NoItemViewError"),a},addItemView:function(a,b,d){var e=f.getOption(this,"itemViewOptions");c.isFunction(e)&&(e=e.call(this,a,d));var g=this.buildItemView(a,b,e);this.addChildViewEventForwarding(g),this.triggerMethod("before:item:added",g),this.children.add(g),this.renderItemView(g,d),this._isShown&&f.triggerMethod.call(g,"show"),this.triggerMethod("after:item:added",g)},addChildViewEventForwarding:function(a){var b=f.getOption(this,"itemViewEventPrefix");this.listenTo(a,"all",function(){var c=d(arguments);c[0]=b+":"+c[0],c.splice(1,0,a),f.triggerMethod.apply(this,c)},this)},renderItemView:function(a,b){a.render(),this.appendHtml(this,a,b)},buildItemView:function(a,b,d){var e=c.extend({model:a},d);return new b(e)},removeItemView:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},removeChildView:function(a){a&&(this.stopListening(a),a.close?a.close():a.remove&&a.remove(),this.children.remove(a)),this.triggerMethod("item:removed",a)},checkEmpty:function(){this.collection&&0!==this.collection.length||this.showEmptyView()},appendHtml:function(a,b){a.$el.append(b.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),f.View.prototype.close.apply(this,d(arguments)))},closeChildren:function(){this.children.each(function(a){this.removeChildView(a)},this),this.checkEmpty()}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.prototype.constructor.apply(this,d(arguments))},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this._renderChildren,this))},getItemView:function(){var a=f.getOption(this,"itemView")||this.constructor;return a||e("An `itemView` must be specified","NoItemViewError"),a},serializeData:function(){var a={};return this.model&&(a=this.model.toJSON()),a},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var a=this.renderModel();return this.$el.html(a),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(f.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a);var b=this.getTemplate();return f.Renderer.render(b,a)},appendHtml:function(a,b){var c=this.getItemViewContainer(a);c.append(b.el)},getItemViewContainer:function(a){if("$itemViewContainer"in a)return a.$itemViewContainer;var b,d=f.getOption(a,"itemViewContainer");if(d){var g=c.isFunction(d)?d():d;b=a.$(g),b.length<=0&&e("The specified `itemViewContainer` was not found: "+a.itemViewContainer,"ItemViewContainerMissingError")}else b=a.$el;return a.$itemViewContainer=b,b},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),f.Layout=f.ItemView.extend({regionType:f.Region,constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.prototype.constructor.call(this,a)},render:function(){this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions();var a=Array.prototype.slice.apply(arguments),b=f.ItemView.prototype.render.apply(this,a);return b},close:function(){if(!this.isClosed){this.regionManager.close();var a=Array.prototype.slice.apply(arguments);f.ItemView.prototype.close.apply(this,a)}},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},_buildRegions:function(a){var b=this,c={regionType:f.getOption(this,"regionType"),parentEl:function(){return b.$el}};return this.regionManager.addRegions(a,c)},_initializeRegions:function(a){var b;this._initRegionManager(),b=c.isFunction(this.regions)?this.regions(a):this.regions||{},this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(a){a.reset()})},_initRegionManager:function(){this.regionManager=new f.RegionManager,this.listenTo(this.regionManager,"region:add",function(a,b){this[a]=b,this.trigger("region:add",a,b)}),this.listenTo(this.regionManager,"region:remove",function(a,b){delete this[a],this.trigger("region:remove",a,b)})}}),f.AppRouter=b.Router.extend({constructor:function(a){b.Router.prototype.constructor.apply(this,d(arguments)),this.options=a||{};var c=f.getOption(this,"appRoutes"),e=this._getController();this.processAppRoutes(e,c)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return f.getOption(this,"controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new Error("Method '"+d+"' was not found on the controller");this.route(b,d,c.bind(e,a))}}),f.Application=function(a){this._initRegionManager(),this._initCallbacks=new f.Callbacks,this.vent=new b.Wreqr.EventAggregator,this.commands=new b.Wreqr.Commands,this.reqres=new b.Wreqr.RequestResponse,this.submodules={},c.extend(this,a),this.triggerMethod=f.triggerMethod},c.extend(f.Application.prototype,b.Events,{execute:function(){var a=Array.prototype.slice.apply(arguments);this.commands.execute.apply(this.commands,a)},request:function(){var a=Array.prototype.slice.apply(arguments);return this.reqres.request.apply(this.reqres,a)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("initialize:before",a),this._initCallbacks.run(a,this),this.triggerMethod("initialize:after",a),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(a){this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},module:function(){var a=d(arguments);return a.unshift(this),f.Module.create.apply(f.Module,a)},_initRegionManager:function(){this._regionManager=new f.RegionManager,this.listenTo(this._regionManager,"region:add",function(a,b){this[a]=b}),this.listenTo(this._regionManager,"region:remove",function(a){delete this[a]})}}),f.Application.extend=f.extend,f.Module=function(a,b){this.moduleName=a,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,this.startWithParent=!0,this.triggerMethod=f.triggerMethod},c.extend(f.Module.prototype,b.Events,{addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,f.triggerMethod.call(this,"before:stop"),c.each(this.submodules,function(a){a.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),f.triggerMethod.call(this,"stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,f.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks}}),c.extend(f.Module,{create:function(a,b,e){var f=a,g=d(arguments);g.splice(0,3),b=b.split(".");var h=b.length,i=[];return i[h-1]=e,c.each(b,function(b,c){var d=f;f=this._getModule(d,b,a),this._addModuleDefinition(d,f,i[c],g)},this),f},_getModule:function(a,b,c){var d=a[b];return d||(d=new f.Module(b,c),a[b]=d,a.submodules[b]=d),d},_addModuleDefinition:function(a,b,d,e){var f,g;c.isFunction(d)?(f=d,g=!0):c.isObject(d)?(f=d.define,g=d.startWithParent):g=!0,f&&b.addDefinition(f,e),b.startWithParent=b.startWithParent&&g,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f}(this,b,a),b.Marionette}); \ No newline at end of file diff --git a/lib/core/backbone.marionette.js b/lib/core/backbone.marionette.js index cbf794a483..67c5c3b96f 100644 --- a/lib/core/backbone.marionette.js +++ b/lib/core/backbone.marionette.js @@ -763,7 +763,7 @@ Marionette.View = Backbone.View.extend({ var args = Array.prototype.slice.apply(arguments); Backbone.View.prototype.constructor.apply(this, args); - this.options = options; + this.options = options || {}; Marionette.MonitorDOMRefresh(this); this.listenTo(this, "show", this.onShowCalled, this); @@ -823,8 +823,8 @@ Marionette.View = Backbone.View.extend({ var shouldPrevent = hasOptions ? value.preventDefault : prevent; var shouldStop = hasOptions ? value.stopPropagation : stop; - if (shouldPrevent && prevent) { prevent(); } - if (shouldStop && stop) { stop(); } + if (shouldPrevent && prevent) { prevent.apply(e); } + if (shouldStop && stop) { stop.apply(e); } } // build the args for the event diff --git a/lib/core/backbone.marionette.map b/lib/core/backbone.marionette.map index c733858220..836832b611 100644 --- a/lib/core/backbone.marionette.map +++ b/lib/core/backbone.marionette.map @@ -1 +1 @@ -{"version":3,"file":"lib/core/backbone.marionette.min.js","sources":["backbone.marionette.js"],"names":["Marionette","global","Backbone","_","slice","args","protoSlice","call","throwError","message","name","error","Error","$","Array","prototype","extend","Model","getOption","target","optionName","value","options","undefined","triggerMethod","getEventName","match","prefix","eventName","toUpperCase","splitter","event","methodName","replace","method","this","isFunction","trigger","apply","arguments","tail","MonitorDOMRefresh","handleShow","view","_isShown","triggerDOMRefresh","handleRender","_isRendered","listenTo","bindFromStrings","entity","evt","methods","methodNames","split","each","bindToFunction","unbindFromStrings","stopListening","unbindToFunction","iterateEvents","bindings","functionCallback","stringCallback","bindEntityEvents","unbindEntityEvents","Callbacks","_deferred","Deferred","_callbacks","add","callback","contextOverride","push","cb","ctx","done","context","run","resolve","reset","callbacks","Controller","initialize","Events","close","unbind","Region","el","err","buildRegion","regionConfig","defaultRegionType","regionIsString","regionSelectorIsString","selector","regionTypeIsUndefined","regionType","regionIsType","RegionType","region","parentEl","getEl","find","show","ensureEl","isViewClosed","isClosed","isUndefined","$el","isDifferentView","currentView","render","open","length","empty","append","remove","attachView","RegionManager","constructor","_regions","addRegions","regionDefinitions","defaults","regions","definition","addRegion","isObject","isString","hasSelector","_store","get","removeRegion","_remove","removeRegions","closeRegions","_setLength","size","values","concat","toArray","TemplateCache","templateId","templateCaches","cachedTemplate","load","clear","i","compiledTemplate","template","loadTemplate","compileTemplate","html","rawTemplate","Renderer","data","templateFunc","View","bindAll","onShowCalled","getTemplate","mixinTemplateHelpers","templateHelpers","configureTriggers","triggers","triggerEvents","result","key","hasOptions","e","prevent","preventDefault","stop","stopPropagation","shouldPrevent","shouldStop","model","collection","delegateEvents","events","_delegateDOMEvents","combinedEvents","undelegateEvents","shouldClose","unbindUIElements","bindUIElements","ui","_uiBindings","keys","ItemView","serializeData","toJSON","items","CollectionView","itemViewEventPrefix","_initChildViewStorage","_initialEvents","addChildView","removeItemView","item","closeEmptyView","getItemView","index","indexOf","addItemView","children","child","triggerBeforeRender","triggerRendered","_renderChildren","closeChildren","showCollection","showEmptyView","EmptyView","getEmptyView","_showingEmptyView","itemView","itemViewOptions","buildItemView","addChildViewEventForwarding","renderItemView","splice","appendHtml","ItemViewType","findByModel","removeChildView","checkEmpty","collectionView","ChildViewContainer","CompositeView","isRendered","resetItemViewContainer","renderModel","cv","iv","$container","getItemViewContainer","containerView","$itemViewContainer","container","itemViewContainer","Layout","_firstRender","_initializeRegions","_reInitializeRegions","regionManager","_buildRegions","that","_initRegionManager","AppRouter","Router","appRoutes","controller","_getController","processAppRoutes","appRoute","route","_addAppRoute","routeNames","reverse","bind","Application","_initCallbacks","vent","Wreqr","EventAggregator","commands","Commands","reqres","RequestResponse","submodules","execute","request","addInitializer","initializer","start","_regionManager","getRegion","module","unshift","Module","create","moduleName","app","_setupInitializersAndFinalizers","startWithParent","_initializerCallbacks","addFinalizer","_finalizerCallbacks","_isInitialized","mod","addDefinition","moduleDefinition","customArgs","_runModuleDefinition","flatten","moduleNames","moduleDefinitions","parentModule","_getModule","_addModuleDefinition","def","fn","define","startWithParentIsConfigured"],"mappings":"AAAA,GAAIA,YAAa,SAAUC,EAAQC,EAAUC,GAC3C,YAcF,SAASC,GAAMC,GACb,MAAOC,GAAWC,KAAKF,GAGzB,QAASG,GAAWC,EAASC,GAC3B,GAAIC,GAAQ,GAAIC,OAAMH,EAEtB,MADAE,GAAMD,KAAOA,GAAQ,QACfC,EAlBN,GAAIX,KACJE,GAASF,WAAaA,EAGtBA,EAAWa,EAAIX,EAASW,CAM1B,IAAIP,GAAaQ,MAAMC,UAAUX,KAg4D/B,OAj3DFJ,GAAWgB,OAASd,EAASe,MAAMD,OAOnChB,EAAWkB,UAAY,SAASC,EAAQC,GACtC,GAAKD,GAAWC,EAAhB,CACA,GAAIC,EAQJ,OALEA,GADEF,EAAOG,SAAYF,IAAcD,GAAOG,SAA4CC,SAA/BJ,EAAOG,QAAQF,GAC9DD,EAAOG,QAAQF,GAEfD,EAAOC,KAanBpB,EAAWwB,cAAgB,WAOzB,QAASC,GAAaC,EAAOC,EAAQC,GACnC,MAAOA,GAAUC,cALnB,GAAIC,GAAW,cASXN,EAAgB,SAASO,GAE3B,GAAIC,GAAa,KAAOD,EAAME,QAAQH,EAAUL,GAC5CS,EAASC,KAAKH,EAQlB,OALG7B,GAAEiC,WAAWD,KAAKE,UACnBF,KAAKE,QAAQC,MAAMH,KAAMI,WAIvBpC,EAAEiC,WAAWF,GAERA,EAAOI,MAAMH,KAAMhC,EAAEqC,KAAKD,YAFnC,OAMF,OAAOf,MAUTxB,EAAWyC,kBAAoB,WAG7B,QAASC,GAAWC,GAClBA,EAAKC,UAAW,EAChBC,EAAkBF,GAIpB,QAASG,GAAaH,GACpBA,EAAKI,aAAc,EACnBF,EAAkBF,GAIpB,QAASE,GAAkBF,GACrBA,EAAKC,UAAYD,EAAKI,aACpB5C,EAAEiC,WAAWO,EAAKnB,gBACpBmB,EAAKnB,cAAc,eAM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oP,GAGTqB,WAAY,SAASD,EAAchB,EAAYC,GAE7C,GAAIL,GAASoB,EAAahB,EAU1B,OARKJ,KAEHA,EAAS,GAAIvR,GAAWyR,OAAOE,EAAYC,GAC3Ce,EAAahB,GAAcJ,EAE3BoB,EAAa5B,WAAWY,GAAcJ,GAGjCA,GAGTsB,qBAAsB,SAASF,EAAcpB,EAAQuB,EAAKzS,GACxD,GAAI0S,GACAjB,CAEA3R,GAAEiC,WAAW0Q,IAEfC,EAAKD,EACLhB,GAAkB,GAET3R,EAAE6H,SAAS8K,IAEpBC,EAAKD,EAAIE,OACTlB,EAAkBgB,EAAIhB,iBAItBA,GAAkB,EAIhBiB,GACFxB,EAAOa,cAAcW,EAAI1S,GAK3BkR,EAAOO,gBAAkBP,EAAOO,iBAAmBA,EAG/CP,EAAOO,kBAAoBP,EAAO0B,8BAGpC1B,EAAO0B,6BAA8B,EAGrCN,EAAazB,eAAe,SAAS5P,GAC/BiQ,EAAOO,iBACTP,EAAOH,MAAM9P,SAWdtB,GACNmC,KAAMjC,SAAUC"} \ No newline at end of file +{"version":3,"file":"lib/core/backbone.marionette.min.js","sources":["backbone.marionette.js"],"names":["Marionette","global","Backbone","_","slice","args","protoSlice","call","throwError","message","name","error","Error","$","Array","prototype","extend","Model","getOption","target","optionName","value","options","undefined","triggerMethod","getEventName","match","prefix","eventName","toUpperCase","splitter","event","methodName","replace","method","this","isFunction","trigger","apply","arguments","tail","MonitorDOMRefresh","handleShow","view","_isShown","triggerDOMRefresh","handleRender","_isRendered","listenTo","bindFromStrings","entity","evt","methods","methodNames","split","each","bindToFunction","unbindFromStrings","stopListening","unbindToFunction","iterateEvents","bindings","functionCallback","stringCallback","bindEntityEvents","unbindEntityEvents","Callbacks","_deferred","Deferred","_callbacks","add","callback","contextOverride","push","cb","ctx","done","context","run","resolve","reset","callbacks","Controller","initialize","Events","close","unbind","Region","el","err","buildRegion","regionConfig","defaultRegionType","regionIsString","regionSelectorIsString","selector","regionTypeIsUndefined","regionType","regionIsType","RegionType","region","parentEl","getEl","find","show","ensureEl","isViewClosed","isClosed","isUndefined","$el","isDifferentView","currentView","render","open","length","empty","append","remove","attachView","RegionManager","constructor","_regions","addRegions","regionDefinitions","defaults","regions","definition","addRegion","isObject","isString","hasSelector","_store","get","removeRegion","_remove","removeRegions","closeRegions","_setLength","size","values","concat","toArray","TemplateCache","templateId","templateCaches","cachedTemplate","load","clear","i","compiledTemplate","template","loadTemplate","compileTemplate","html","rawTemplate","Renderer","data","templateFunc","View","bindAll","onShowCalled","getTemplate","mixinTemplateHelpers","templateHelpers","configureTriggers","triggers","triggerEvents","result","key","hasOptions","e","prevent","preventDefault","stop","stopPropagation","shouldPrevent","shouldStop","model","collection","delegateEvents","events","_delegateDOMEvents","combinedEvents","undelegateEvents","shouldClose","unbindUIElements","bindUIElements","ui","_uiBindings","keys","ItemView","serializeData","toJSON","items","CollectionView","itemViewEventPrefix","_initChildViewStorage","_initialEvents","addChildView","removeItemView","item","closeEmptyView","getItemView","index","indexOf","addItemView","children","child","triggerBeforeRender","triggerRendered","_renderChildren","closeChildren","showCollection","showEmptyView","EmptyView","getEmptyView","_showingEmptyView","itemView","itemViewOptions","buildItemView","addChildViewEventForwarding","renderItemView","splice","appendHtml","ItemViewType","findByModel","removeChildView","checkEmpty","collectionView","ChildViewContainer","CompositeView","isRendered","resetItemViewContainer","renderModel","cv","iv","$container","getItemViewContainer","containerView","$itemViewContainer","container","itemViewContainer","Layout","_firstRender","_initializeRegions","_reInitializeRegions","regionManager","_buildRegions","that","_initRegionManager","AppRouter","Router","appRoutes","controller","_getController","processAppRoutes","appRoute","route","_addAppRoute","routeNames","reverse","bind","Application","_initCallbacks","vent","Wreqr","EventAggregator","commands","Commands","reqres","RequestResponse","submodules","execute","request","addInitializer","initializer","start","_regionManager","getRegion","module","unshift","Module","create","moduleName","app","_setupInitializersAndFinalizers","startWithParent","_initializerCallbacks","addFinalizer","_finalizerCallbacks","_isInitialized","mod","addDefinition","moduleDefinition","customArgs","_runModuleDefinition","flatten","moduleNames","moduleDefinitions","parentModule","_getModule","_addModuleDefinition","def","fn","define","startWithParentIsConfigured"],"mappings":"AAAA,GAAIA,YAAa,SAAUC,EAAQC,EAAUC,GAC3C,YAcF,SAASC,GAAMC,GACb,MAAOC,GAAWC,KAAKF,GAGzB,QAASG,GAAWC,EAASC,GAC3B,GAAIC,GAAQ,GAAIC,OAAMH,EAEtB,MADAE,GAAMD,KAAOA,GAAQ,QACfC,EAlBN,GAAIX,KACJE,GAASF,WAAaA,EAGtBA,EAAWa,EAAIX,EAASW,CAM1B,IAAIP,GAAaQ,MAAMC,UAAUX,KAg4D/B,OAj3DFJ,GAAWgB,OAASd,EAASe,MAAMD,OAOnChB,EAAWkB,UAAY,SAASC,EAAQC,GACtC,GAAKD,GAAWC,EAAhB,CACA,GAAIC,EAQJ,OALEA,GADEF,EAAOG,SAAYF,IAAcD,GAAOG,SAA4CC,SAA/BJ,EAAOG,QAAQF,GAC9DD,EAAOG,QAAQF,GAEfD,EAAOC,KAanBpB,EAAWwB,cAAgB,WAOzB,QAASC,GAAaC,EAAOC,EAAQC,GACnC,MAAOA,GAAUC,cALnB,GAAIC,GAAW,cASXN,EAAgB,SAASO,GAE3B,GAAIC,GAAa,KAAOD,EAAME,QAAQH,EAAUL,GAC5CS,EAASC,KAAKH,EAQlB,OALG7B,GAAEiC,WAAWD,KAAKE,UACnBF,KAAKE,QAAQC,MAAMH,KAAMI,WAIvBpC,EAAEiC,WAAWF,GAERA,EAAOI,MAAMH,KAAMhC,EAAEqC,KAAKD,YAFnC,OAMF,OAAOf,MAUTxB,EAAWyC,kBAAoB,WAG7B,QAASC,GAAWC,GAClBA,EAAKC,UAAW,EAChBC,EAAkBF,GAIpB,QAASG,GAAaH,GACpBA,EAAKI,aAAc,EACnBF,EAAkBF,GAIpB,QAASE,GAAkBF,GACrBA,EAAKC,UAAYD,EAAKI,aACpB5C,EAAEiC,WAAWO,EAAKnB,gBACpBmB,EAAKnB,cAAc,eAMzB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kBtJ,GAAIkJ,IACrEnQ,MAGIoP,GAGTqB,WAAY,SAASD,EAAchB,EAAYC,GAE7C,GAAIL,GAASoB,EAAahB,EAU1B,OARKJ,KAEHA,EAAS,GAAIvR,GAAWyR,OAAOE,EAAYC,GAC3Ce,EAAahB,GAAcJ,EAE3BoB,EAAa5B,WAAWY,GAAcJ,GAGjCA,GAGTsB,qBAAsB,SAASF,EAAcpB,EAAQuB,EAAKzS,GACxD,GAAI0S,GACAjB,CAEA3R,GAAEiC,WAAW0Q,IAEfC,EAAKD,EACLhB,GAAkB,GAET3R,EAAE6H,SAAS8K,IAEpBC,EAAKD,EAAIE,OACTlB,EAAkBgB,EAAIhB,iBAItBA,GAAkB,EAIhBiB,GACFxB,EAAOa,cAAcW,EAAI1S,GAK3BkR,EAAOO,gBAAkBP,EAAOO,iBAAmBA,EAG/CP,EAAOO,kBAAoBP,EAAO0B,8BAGpC1B,EAAO0B,6BAA8B,EAGrCN,EAAazB,eAAe,SAAS5P,GAC/BiQ,EAAOO,iBACTP,EAAOH,MAAM9P,SAWdtB,GACNmC,KAAMjC,SAAUC"} \ No newline at end of file diff --git a/lib/core/backbone.marionette.min.js b/lib/core/backbone.marionette.min.js index 07bcd819ef..2d02a5c10a 100644 --- a/lib/core/backbone.marionette.min.js +++ b/lib/core/backbone.marionette.min.js @@ -1,6 +1,6 @@ // MarionetteJS (Backbone.Marionette) // ---------------------------------- -// v1.2.0 +// v1.2.1 // // Copyright (c)2013 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license @@ -17,5 +17,5 @@ * https://github.com/marionettejs/backbone.wreqr/ */ -var Marionette=function(a,b,c){"use strict";function d(a){return g.call(a)}function e(a,b){var c=new Error(a);throw c.name=b||"Error",c}var f={};b.Marionette=f,f.$=b.$;var g=Array.prototype.slice;return f.extend=b.Model.extend,f.getOption=function(a,b){if(a&&b){var c;return c=a.options&&b in a.options&&void 0!==a.options[b]?a.options[b]:a[b]}},f.triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi,d=function(d){var e="on"+d.replace(b,a),f=this[e];return c.isFunction(this.trigger)&&this.trigger.apply(this,arguments),c.isFunction(f)?f.apply(this,c.tail(arguments)):void 0};return d}(),f.MonitorDOMRefresh=function(){function a(a){a._isShown=!0,d(a)}function b(a){a._isRendered=!0,d(a)}function d(a){a._isShown&&a._isRendered&&c.isFunction(a.triggerMethod)&&a.triggerMethod("dom:refresh")}return function(c){c.listenTo(c,"show",function(){a(c)}),c.listenTo(c,"render",function(){b(c)})}}(),function(a){function b(a,b,d,f){var g=f.split(/\s+/);c.each(g,function(c){var f=a[c];f||e("Method '"+c+"' was configured as an event handler, but does not exist."),a.listenTo(b,d,f,a)})}function d(a,b,c,d){a.listenTo(b,c,d,a)}function f(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e,a)})}function g(a,b,c,d){a.stopListening(b,c,d,a)}function h(a,b,d,e,f){b&&d&&(c.isFunction(d)&&(d=d.call(a)),c.each(d,function(d,g){c.isFunction(d)?e(a,b,g,d):f(a,b,g,d)}))}a.bindEntityEvents=function(a,c,e){h(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){h(a,b,c,g,f)}}(f),f.Callbacks=function(){this._deferred=f.$.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){this._callbacks.push({cb:a,ctx:b}),this._deferred.done(function(c,d){b&&(c=b),a.call(c,d)})},run:function(a,b){this._deferred.resolve(b,a)},reset:function(){var a=this._callbacks;this._deferred=f.$.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.triggerMethod=f.triggerMethod,this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),f.Region=function(a){if(this.options=a||{},this.el=f.getOption(this,"el"),!this.el){var b=new Error("An 'el' must be specified for a region.");throw b.name="NoElError",b}if(this.initialize){var c=Array.prototype.slice.apply(arguments);this.initialize.apply(this,c)}},c.extend(f.Region,{buildRegion:function(a,b){var d="string"==typeof a,e="string"==typeof a.selector,f="undefined"==typeof a.regionType,g="function"==typeof a;if(!g&&!d&&!e)throw new Error("Region must be specified as a Region type, a selector string or an object with selector property");var h,i;d&&(h=a),a.selector&&(h=a.selector),g&&(i=a),!g&&f&&(i=b),a.regionType&&(i=a.regionType);var j=new i({el:h});return a.parentEl&&(j.getEl=function(b){var d=a.parentEl;return c.isFunction(d)&&(d=d()),d.find(b)}),j}}),c.extend(f.Region.prototype,b.Events,{show:function(a){this.ensureEl();var b=a.isClosed||c.isUndefined(a.$el),d=a!==this.currentView;d&&this.close(),a.render(),(d||b)&&this.open(a),this.currentView=a,f.triggerMethod.call(this,"show",a),f.triggerMethod.call(a,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(a){return f.$(a)},open:function(a){this.$el.empty().append(a.el)},close:function(){var a=this.currentView;a&&!a.isClosed&&(a.close?a.close():a.remove&&a.remove(),f.triggerMethod.call(this,"close"),delete this.currentView)},attachView:function(a){this.currentView=a},reset:function(){this.close(),delete this.$el}}),f.Region.extend=f.extend,f.RegionManager=function(a){var b=a.Controller.extend({constructor:function(b){this._regions={},a.Controller.prototype.constructor.call(this,b)},addRegions:function(a,b){var d={};return c.each(a,function(a,e){"string"==typeof a&&(a={selector:a}),a.selector&&(a=c.defaults({},a,b));var f=this.addRegion(e,a);d[e]=f},this),d},addRegion:function(b,d){var e,f=c.isObject(d),g=c.isString(d),h=!!d.selector;return e=g||f&&h?a.Region.buildRegion(d,a.Region):c.isFunction(d)?a.Region.buildRegion(d,a.Region):d,this._store(b,e),this.triggerMethod("region:add",b,e),e},get:function(a){return this._regions[a]},removeRegion:function(a){var b=this._regions[a];this._remove(a,b)},removeRegions:function(){c.each(this._regions,function(a,b){this._remove(b,a)},this)},closeRegions:function(){c.each(this._regions,function(a){a.close()},this)},close:function(){this.removeRegions();var b=Array.prototype.slice.call(arguments);a.Controller.prototype.close.apply(this,b)},_store:function(a,b){this._regions[a]=b,this._setLength()},_remove:function(a,b){b.close(),delete this._regions[a],this._setLength(),this.triggerMethod("region:remove",a,b)},_setLength:function(){this.length=c.size(this._regions)}}),d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return c.each(d,function(a){b.prototype[a]=function(){var b=c.values(this._regions),d=[b].concat(c.toArray(arguments));return c[a].apply(c,d)}}),b}(f),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a){var b=this.templateCaches[a];return b||(b=new f.TemplateCache(a),this.templateCaches[a]=b),b.load()},clear:function(){var a,b=d(arguments),c=b.length;if(c>0)for(a=0;c>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var a=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(a),this.compiledTemplate},loadTemplate:function(a){var b=f.$(a).html();return b&&0!==b.length||e("Could not find template: '"+a+"'","NoTemplateError"),b},compileTemplate:function(a){return c.template(a)}}),f.Renderer={render:function(a,b){if(!a){var c=new Error("Cannot render the template since it's false, null or undefined.");throw c.name="TemplateNotFoundError",c}var d;return d="function"==typeof a?a:f.TemplateCache.get(a),d(b)}},f.View=b.View.extend({constructor:function(a){c.bindAll(this,"render");var d=Array.prototype.slice.apply(arguments);b.View.prototype.constructor.apply(this,d),this.options=a,f.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled,this)},triggerMethod:f.triggerMethod,getTemplate:function(){return f.getOption(this,"template")},mixinTemplateHelpers:function(a){a=a||{};var b=f.getOption(this,"templateHelpers");return c.isFunction(b)&&(b=b.call(this)),c.extend(a,b)},configureTriggers:function(){if(this.triggers){var a={},b=c.result(this,"triggers");return c.each(b,function(b,d){var e=c.isObject(b),f=e?b.event:b;a[d]=function(a){if(a){var c=a.preventDefault,d=a.stopPropagation,g=e?b.preventDefault:c,h=e?b.stopPropagation:d;g&&c&&c(),h&&d&&d()}var i={view:this,model:this.model,collection:this.collection};this.triggerMethod(f,i)}},this),a}},delegateEvents:function(a){this._delegateDOMEvents(a),f.bindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.bindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(a){a=a||this.events,c.isFunction(a)&&(a=a.call(this));var d={},e=this.configureTriggers();c.extend(d,a,e),b.View.prototype.delegateEvents.call(this,d)},undelegateEvents:function(){var a=Array.prototype.slice.call(arguments);b.View.prototype.undelegateEvents.apply(this,a),f.unbindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.unbindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var a=this.triggerMethod("before:close");a!==!1&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(c.keys(a),function(b){var c=a[b];this.ui[b]=this.$(c)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),f.ItemView=f.View.extend({constructor:function(){f.View.prototype.constructor.apply(this,d(arguments))},serializeData:function(){var a={};return this.model?a=this.model.toJSON():this.collection&&(a={items:this.collection.toJSON()}),a},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var a=this.serializeData();a=this.mixinTemplateHelpers(a);var b=this.getTemplate(),c=f.Renderer.render(b,a);return this.$el.html(c),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),f.View.prototype.close.apply(this,d(arguments)),this.triggerMethod("item:closed"))}}),f.CollectionView=f.View.extend({itemViewEventPrefix:"itemview",constructor:function(){this._initChildViewStorage(),f.View.prototype.constructor.apply(this,d(arguments)),this._initialEvents()},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this.render,this))},addChildView:function(a){this.closeEmptyView();var b=this.getItemView(a),c=this.collection.indexOf(a);this.addItemView(a,b,c)},onShowCalled:function(){this.children.each(function(a){f.triggerMethod.call(a,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.closeEmptyView(),this.closeChildren(),this.collection&&this.collection.length>0?this.showCollection():this.showEmptyView()},showCollection:function(){var a;this.collection.each(function(b,c){a=this.getItemView(b),this.addItemView(b,a,c)},this)},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this._showingEmptyView=!0;var c=new b.Model;this.addItemView(c,a,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return f.getOption(this,"emptyView")},getItemView:function(){var a=f.getOption(this,"itemView");return a||e("An `itemView` must be specified","NoItemViewError"),a},addItemView:function(a,b,d){var e=f.getOption(this,"itemViewOptions");c.isFunction(e)&&(e=e.call(this,a,d));var g=this.buildItemView(a,b,e);this.addChildViewEventForwarding(g),this.triggerMethod("before:item:added",g),this.children.add(g),this.renderItemView(g,d),this._isShown&&f.triggerMethod.call(g,"show"),this.triggerMethod("after:item:added",g)},addChildViewEventForwarding:function(a){var b=f.getOption(this,"itemViewEventPrefix");this.listenTo(a,"all",function(){var c=d(arguments);c[0]=b+":"+c[0],c.splice(1,0,a),f.triggerMethod.apply(this,c)},this)},renderItemView:function(a,b){a.render(),this.appendHtml(this,a,b)},buildItemView:function(a,b,d){var e=c.extend({model:a},d);return new b(e)},removeItemView:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},removeChildView:function(a){a&&(this.stopListening(a),a.close?a.close():a.remove&&a.remove(),this.children.remove(a)),this.triggerMethod("item:removed",a)},checkEmpty:function(){this.collection&&0!==this.collection.length||this.showEmptyView()},appendHtml:function(a,b){a.$el.append(b.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),f.View.prototype.close.apply(this,d(arguments)))},closeChildren:function(){this.children.each(function(a){this.removeChildView(a)},this),this.checkEmpty()}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.prototype.constructor.apply(this,d(arguments))},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this._renderChildren,this))},getItemView:function(){var a=f.getOption(this,"itemView")||this.constructor;return a||e("An `itemView` must be specified","NoItemViewError"),a},serializeData:function(){var a={};return this.model&&(a=this.model.toJSON()),a},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var a=this.renderModel();return this.$el.html(a),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(f.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a);var b=this.getTemplate();return f.Renderer.render(b,a)},appendHtml:function(a,b){var c=this.getItemViewContainer(a);c.append(b.el)},getItemViewContainer:function(a){if("$itemViewContainer"in a)return a.$itemViewContainer;var b,d=f.getOption(a,"itemViewContainer");if(d){var g=c.isFunction(d)?d():d;b=a.$(g),b.length<=0&&e("The specified `itemViewContainer` was not found: "+a.itemViewContainer,"ItemViewContainerMissingError")}else b=a.$el;return a.$itemViewContainer=b,b},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),f.Layout=f.ItemView.extend({regionType:f.Region,constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.prototype.constructor.call(this,a)},render:function(){this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions();var a=Array.prototype.slice.apply(arguments),b=f.ItemView.prototype.render.apply(this,a);return b},close:function(){if(!this.isClosed){this.regionManager.close();var a=Array.prototype.slice.apply(arguments);f.ItemView.prototype.close.apply(this,a)}},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},_buildRegions:function(a){var b=this,c={regionType:f.getOption(this,"regionType"),parentEl:function(){return b.$el}};return this.regionManager.addRegions(a,c)},_initializeRegions:function(a){var b;this._initRegionManager(),b=c.isFunction(this.regions)?this.regions(a):this.regions||{},this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(a){a.reset()})},_initRegionManager:function(){this.regionManager=new f.RegionManager,this.listenTo(this.regionManager,"region:add",function(a,b){this[a]=b,this.trigger("region:add",a,b)}),this.listenTo(this.regionManager,"region:remove",function(a,b){delete this[a],this.trigger("region:remove",a,b)})}}),f.AppRouter=b.Router.extend({constructor:function(a){b.Router.prototype.constructor.apply(this,d(arguments)),this.options=a||{};var c=f.getOption(this,"appRoutes"),e=this._getController();this.processAppRoutes(e,c)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return f.getOption(this,"controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new Error("Method '"+d+"' was not found on the controller");this.route(b,d,c.bind(e,a))}}),f.Application=function(a){this._initRegionManager(),this._initCallbacks=new f.Callbacks,this.vent=new b.Wreqr.EventAggregator,this.commands=new b.Wreqr.Commands,this.reqres=new b.Wreqr.RequestResponse,this.submodules={},c.extend(this,a),this.triggerMethod=f.triggerMethod},c.extend(f.Application.prototype,b.Events,{execute:function(){var a=Array.prototype.slice.apply(arguments);this.commands.execute.apply(this.commands,a)},request:function(){var a=Array.prototype.slice.apply(arguments);return this.reqres.request.apply(this.reqres,a)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("initialize:before",a),this._initCallbacks.run(a,this),this.triggerMethod("initialize:after",a),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(a){this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},module:function(){var a=d(arguments);return a.unshift(this),f.Module.create.apply(f.Module,a)},_initRegionManager:function(){this._regionManager=new f.RegionManager,this.listenTo(this._regionManager,"region:add",function(a,b){this[a]=b}),this.listenTo(this._regionManager,"region:remove",function(a){delete this[a]})}}),f.Application.extend=f.extend,f.Module=function(a,b){this.moduleName=a,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,this.startWithParent=!0,this.triggerMethod=f.triggerMethod},c.extend(f.Module.prototype,b.Events,{addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,f.triggerMethod.call(this,"before:stop"),c.each(this.submodules,function(a){a.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),f.triggerMethod.call(this,"stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,f.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks}}),c.extend(f.Module,{create:function(a,b,e){var f=a,g=d(arguments);g.splice(0,3),b=b.split(".");var h=b.length,i=[];return i[h-1]=e,c.each(b,function(b,c){var d=f;f=this._getModule(d,b,a),this._addModuleDefinition(d,f,i[c],g)},this),f},_getModule:function(a,b,c){var d=a[b];return d||(d=new f.Module(b,c),a[b]=d,a.submodules[b]=d),d},_addModuleDefinition:function(a,b,d,e){var f,g;c.isFunction(d)?(f=d,g=!0):c.isObject(d)?(f=d.define,g=d.startWithParent):g=!0,f&&b.addDefinition(f,e),b.startWithParent=b.startWithParent&&g,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f}(this,Backbone,_); +var Marionette=function(a,b,c){"use strict";function d(a){return g.call(a)}function e(a,b){var c=new Error(a);throw c.name=b||"Error",c}var f={};b.Marionette=f,f.$=b.$;var g=Array.prototype.slice;return f.extend=b.Model.extend,f.getOption=function(a,b){if(a&&b){var c;return c=a.options&&b in a.options&&void 0!==a.options[b]?a.options[b]:a[b]}},f.triggerMethod=function(){function a(a,b,c){return c.toUpperCase()}var b=/(^|:)(\w)/gi,d=function(d){var e="on"+d.replace(b,a),f=this[e];return c.isFunction(this.trigger)&&this.trigger.apply(this,arguments),c.isFunction(f)?f.apply(this,c.tail(arguments)):void 0};return d}(),f.MonitorDOMRefresh=function(){function a(a){a._isShown=!0,d(a)}function b(a){a._isRendered=!0,d(a)}function d(a){a._isShown&&a._isRendered&&c.isFunction(a.triggerMethod)&&a.triggerMethod("dom:refresh")}return function(c){c.listenTo(c,"show",function(){a(c)}),c.listenTo(c,"render",function(){b(c)})}}(),function(a){function b(a,b,d,f){var g=f.split(/\s+/);c.each(g,function(c){var f=a[c];f||e("Method '"+c+"' was configured as an event handler, but does not exist."),a.listenTo(b,d,f,a)})}function d(a,b,c,d){a.listenTo(b,c,d,a)}function f(a,b,d,e){var f=e.split(/\s+/);c.each(f,function(c){var e=a[c];a.stopListening(b,d,e,a)})}function g(a,b,c,d){a.stopListening(b,c,d,a)}function h(a,b,d,e,f){b&&d&&(c.isFunction(d)&&(d=d.call(a)),c.each(d,function(d,g){c.isFunction(d)?e(a,b,g,d):f(a,b,g,d)}))}a.bindEntityEvents=function(a,c,e){h(a,c,e,d,b)},a.unbindEntityEvents=function(a,b,c){h(a,b,c,g,f)}}(f),f.Callbacks=function(){this._deferred=f.$.Deferred(),this._callbacks=[]},c.extend(f.Callbacks.prototype,{add:function(a,b){this._callbacks.push({cb:a,ctx:b}),this._deferred.done(function(c,d){b&&(c=b),a.call(c,d)})},run:function(a,b){this._deferred.resolve(b,a)},reset:function(){var a=this._callbacks;this._deferred=f.$.Deferred(),this._callbacks=[],c.each(a,function(a){this.add(a.cb,a.ctx)},this)}}),f.Controller=function(a){this.triggerMethod=f.triggerMethod,this.options=a||{},c.isFunction(this.initialize)&&this.initialize(this.options)},f.Controller.extend=f.extend,c.extend(f.Controller.prototype,b.Events,{close:function(){this.stopListening(),this.triggerMethod("close"),this.unbind()}}),f.Region=function(a){if(this.options=a||{},this.el=f.getOption(this,"el"),!this.el){var b=new Error("An 'el' must be specified for a region.");throw b.name="NoElError",b}if(this.initialize){var c=Array.prototype.slice.apply(arguments);this.initialize.apply(this,c)}},c.extend(f.Region,{buildRegion:function(a,b){var d="string"==typeof a,e="string"==typeof a.selector,f="undefined"==typeof a.regionType,g="function"==typeof a;if(!g&&!d&&!e)throw new Error("Region must be specified as a Region type, a selector string or an object with selector property");var h,i;d&&(h=a),a.selector&&(h=a.selector),g&&(i=a),!g&&f&&(i=b),a.regionType&&(i=a.regionType);var j=new i({el:h});return a.parentEl&&(j.getEl=function(b){var d=a.parentEl;return c.isFunction(d)&&(d=d()),d.find(b)}),j}}),c.extend(f.Region.prototype,b.Events,{show:function(a){this.ensureEl();var b=a.isClosed||c.isUndefined(a.$el),d=a!==this.currentView;d&&this.close(),a.render(),(d||b)&&this.open(a),this.currentView=a,f.triggerMethod.call(this,"show",a),f.triggerMethod.call(a,"show")},ensureEl:function(){this.$el&&0!==this.$el.length||(this.$el=this.getEl(this.el))},getEl:function(a){return f.$(a)},open:function(a){this.$el.empty().append(a.el)},close:function(){var a=this.currentView;a&&!a.isClosed&&(a.close?a.close():a.remove&&a.remove(),f.triggerMethod.call(this,"close"),delete this.currentView)},attachView:function(a){this.currentView=a},reset:function(){this.close(),delete this.$el}}),f.Region.extend=f.extend,f.RegionManager=function(a){var b=a.Controller.extend({constructor:function(b){this._regions={},a.Controller.prototype.constructor.call(this,b)},addRegions:function(a,b){var d={};return c.each(a,function(a,e){"string"==typeof a&&(a={selector:a}),a.selector&&(a=c.defaults({},a,b));var f=this.addRegion(e,a);d[e]=f},this),d},addRegion:function(b,d){var e,f=c.isObject(d),g=c.isString(d),h=!!d.selector;return e=g||f&&h?a.Region.buildRegion(d,a.Region):c.isFunction(d)?a.Region.buildRegion(d,a.Region):d,this._store(b,e),this.triggerMethod("region:add",b,e),e},get:function(a){return this._regions[a]},removeRegion:function(a){var b=this._regions[a];this._remove(a,b)},removeRegions:function(){c.each(this._regions,function(a,b){this._remove(b,a)},this)},closeRegions:function(){c.each(this._regions,function(a){a.close()},this)},close:function(){this.removeRegions();var b=Array.prototype.slice.call(arguments);a.Controller.prototype.close.apply(this,b)},_store:function(a,b){this._regions[a]=b,this._setLength()},_remove:function(a,b){b.close(),delete this._regions[a],this._setLength(),this.triggerMethod("region:remove",a,b)},_setLength:function(){this.length=c.size(this._regions)}}),d=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck"];return c.each(d,function(a){b.prototype[a]=function(){var b=c.values(this._regions),d=[b].concat(c.toArray(arguments));return c[a].apply(c,d)}}),b}(f),f.TemplateCache=function(a){this.templateId=a},c.extend(f.TemplateCache,{templateCaches:{},get:function(a){var b=this.templateCaches[a];return b||(b=new f.TemplateCache(a),this.templateCaches[a]=b),b.load()},clear:function(){var a,b=d(arguments),c=b.length;if(c>0)for(a=0;c>a;a++)delete this.templateCaches[b[a]];else this.templateCaches={}}}),c.extend(f.TemplateCache.prototype,{load:function(){if(this.compiledTemplate)return this.compiledTemplate;var a=this.loadTemplate(this.templateId);return this.compiledTemplate=this.compileTemplate(a),this.compiledTemplate},loadTemplate:function(a){var b=f.$(a).html();return b&&0!==b.length||e("Could not find template: '"+a+"'","NoTemplateError"),b},compileTemplate:function(a){return c.template(a)}}),f.Renderer={render:function(a,b){if(!a){var c=new Error("Cannot render the template since it's false, null or undefined.");throw c.name="TemplateNotFoundError",c}var d;return d="function"==typeof a?a:f.TemplateCache.get(a),d(b)}},f.View=b.View.extend({constructor:function(a){c.bindAll(this,"render");var d=Array.prototype.slice.apply(arguments);b.View.prototype.constructor.apply(this,d),this.options=a||{},f.MonitorDOMRefresh(this),this.listenTo(this,"show",this.onShowCalled,this)},triggerMethod:f.triggerMethod,getTemplate:function(){return f.getOption(this,"template")},mixinTemplateHelpers:function(a){a=a||{};var b=f.getOption(this,"templateHelpers");return c.isFunction(b)&&(b=b.call(this)),c.extend(a,b)},configureTriggers:function(){if(this.triggers){var a={},b=c.result(this,"triggers");return c.each(b,function(b,d){var e=c.isObject(b),f=e?b.event:b;a[d]=function(a){if(a){var c=a.preventDefault,d=a.stopPropagation,g=e?b.preventDefault:c,h=e?b.stopPropagation:d;g&&c&&c.apply(a),h&&d&&d.apply(a)}var i={view:this,model:this.model,collection:this.collection};this.triggerMethod(f,i)}},this),a}},delegateEvents:function(a){this._delegateDOMEvents(a),f.bindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.bindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},_delegateDOMEvents:function(a){a=a||this.events,c.isFunction(a)&&(a=a.call(this));var d={},e=this.configureTriggers();c.extend(d,a,e),b.View.prototype.delegateEvents.call(this,d)},undelegateEvents:function(){var a=Array.prototype.slice.call(arguments);b.View.prototype.undelegateEvents.apply(this,a),f.unbindEntityEvents(this,this.model,f.getOption(this,"modelEvents")),f.unbindEntityEvents(this,this.collection,f.getOption(this,"collectionEvents"))},onShowCalled:function(){},close:function(){if(!this.isClosed){var a=this.triggerMethod("before:close");a!==!1&&(this.isClosed=!0,this.triggerMethod("close"),this.unbindUIElements(),this.remove())}},bindUIElements:function(){if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var a=c.result(this,"_uiBindings");this.ui={},c.each(c.keys(a),function(b){var c=a[b];this.ui[b]=this.$(c)},this)}},unbindUIElements:function(){this.ui&&this._uiBindings&&(c.each(this.ui,function(a,b){delete this.ui[b]},this),this.ui=this._uiBindings,delete this._uiBindings)}}),f.ItemView=f.View.extend({constructor:function(){f.View.prototype.constructor.apply(this,d(arguments))},serializeData:function(){var a={};return this.model?a=this.model.toJSON():this.collection&&(a={items:this.collection.toJSON()}),a},render:function(){this.isClosed=!1,this.triggerMethod("before:render",this),this.triggerMethod("item:before:render",this);var a=this.serializeData();a=this.mixinTemplateHelpers(a);var b=this.getTemplate(),c=f.Renderer.render(b,a);return this.$el.html(c),this.bindUIElements(),this.triggerMethod("render",this),this.triggerMethod("item:rendered",this),this},close:function(){this.isClosed||(this.triggerMethod("item:before:close"),f.View.prototype.close.apply(this,d(arguments)),this.triggerMethod("item:closed"))}}),f.CollectionView=f.View.extend({itemViewEventPrefix:"itemview",constructor:function(){this._initChildViewStorage(),f.View.prototype.constructor.apply(this,d(arguments)),this._initialEvents()},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this.render,this))},addChildView:function(a){this.closeEmptyView();var b=this.getItemView(a),c=this.collection.indexOf(a);this.addItemView(a,b,c)},onShowCalled:function(){this.children.each(function(a){f.triggerMethod.call(a,"show")})},triggerBeforeRender:function(){this.triggerMethod("before:render",this),this.triggerMethod("collection:before:render",this)},triggerRendered:function(){this.triggerMethod("render",this),this.triggerMethod("collection:rendered",this)},render:function(){return this.isClosed=!1,this.triggerBeforeRender(),this._renderChildren(),this.triggerRendered(),this},_renderChildren:function(){this.closeEmptyView(),this.closeChildren(),this.collection&&this.collection.length>0?this.showCollection():this.showEmptyView()},showCollection:function(){var a;this.collection.each(function(b,c){a=this.getItemView(b),this.addItemView(b,a,c)},this)},showEmptyView:function(){var a=this.getEmptyView();if(a&&!this._showingEmptyView){this._showingEmptyView=!0;var c=new b.Model;this.addItemView(c,a,0)}},closeEmptyView:function(){this._showingEmptyView&&(this.closeChildren(),delete this._showingEmptyView)},getEmptyView:function(){return f.getOption(this,"emptyView")},getItemView:function(){var a=f.getOption(this,"itemView");return a||e("An `itemView` must be specified","NoItemViewError"),a},addItemView:function(a,b,d){var e=f.getOption(this,"itemViewOptions");c.isFunction(e)&&(e=e.call(this,a,d));var g=this.buildItemView(a,b,e);this.addChildViewEventForwarding(g),this.triggerMethod("before:item:added",g),this.children.add(g),this.renderItemView(g,d),this._isShown&&f.triggerMethod.call(g,"show"),this.triggerMethod("after:item:added",g)},addChildViewEventForwarding:function(a){var b=f.getOption(this,"itemViewEventPrefix");this.listenTo(a,"all",function(){var c=d(arguments);c[0]=b+":"+c[0],c.splice(1,0,a),f.triggerMethod.apply(this,c)},this)},renderItemView:function(a,b){a.render(),this.appendHtml(this,a,b)},buildItemView:function(a,b,d){var e=c.extend({model:a},d);return new b(e)},removeItemView:function(a){var b=this.children.findByModel(a);this.removeChildView(b),this.checkEmpty()},removeChildView:function(a){a&&(this.stopListening(a),a.close?a.close():a.remove&&a.remove(),this.children.remove(a)),this.triggerMethod("item:removed",a)},checkEmpty:function(){this.collection&&0!==this.collection.length||this.showEmptyView()},appendHtml:function(a,b){a.$el.append(b.el)},_initChildViewStorage:function(){this.children=new b.ChildViewContainer},close:function(){this.isClosed||(this.triggerMethod("collection:before:close"),this.closeChildren(),this.triggerMethod("collection:closed"),f.View.prototype.close.apply(this,d(arguments)))},closeChildren:function(){this.children.each(function(a){this.removeChildView(a)},this),this.checkEmpty()}}),f.CompositeView=f.CollectionView.extend({constructor:function(){f.CollectionView.prototype.constructor.apply(this,d(arguments))},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this.addChildView,this),this.listenTo(this.collection,"remove",this.removeItemView,this),this.listenTo(this.collection,"reset",this._renderChildren,this))},getItemView:function(){var a=f.getOption(this,"itemView")||this.constructor;return a||e("An `itemView` must be specified","NoItemViewError"),a},serializeData:function(){var a={};return this.model&&(a=this.model.toJSON()),a},render:function(){this.isRendered=!0,this.isClosed=!1,this.resetItemViewContainer(),this.triggerBeforeRender();var a=this.renderModel();return this.$el.html(a),this.bindUIElements(),this.triggerMethod("composite:model:rendered"),this._renderChildren(),this.triggerMethod("composite:rendered"),this.triggerRendered(),this},_renderChildren:function(){this.isRendered&&(f.CollectionView.prototype._renderChildren.call(this),this.triggerMethod("composite:collection:rendered"))},renderModel:function(){var a={};a=this.serializeData(),a=this.mixinTemplateHelpers(a);var b=this.getTemplate();return f.Renderer.render(b,a)},appendHtml:function(a,b){var c=this.getItemViewContainer(a);c.append(b.el)},getItemViewContainer:function(a){if("$itemViewContainer"in a)return a.$itemViewContainer;var b,d=f.getOption(a,"itemViewContainer");if(d){var g=c.isFunction(d)?d():d;b=a.$(g),b.length<=0&&e("The specified `itemViewContainer` was not found: "+a.itemViewContainer,"ItemViewContainerMissingError")}else b=a.$el;return a.$itemViewContainer=b,b},resetItemViewContainer:function(){this.$itemViewContainer&&delete this.$itemViewContainer}}),f.Layout=f.ItemView.extend({regionType:f.Region,constructor:function(a){a=a||{},this._firstRender=!0,this._initializeRegions(a),f.ItemView.prototype.constructor.call(this,a)},render:function(){this.isClosed&&this._initializeRegions(),this._firstRender?this._firstRender=!1:this.isClosed||this._reInitializeRegions();var a=Array.prototype.slice.apply(arguments),b=f.ItemView.prototype.render.apply(this,a);return b},close:function(){if(!this.isClosed){this.regionManager.close();var a=Array.prototype.slice.apply(arguments);f.ItemView.prototype.close.apply(this,a)}},addRegion:function(a,b){var c={};return c[a]=b,this._buildRegions(c)[a]},addRegions:function(a){return this.regions=c.extend({},this.regions,a),this._buildRegions(a)},removeRegion:function(a){return delete this.regions[a],this.regionManager.removeRegion(a)},_buildRegions:function(a){var b=this,c={regionType:f.getOption(this,"regionType"),parentEl:function(){return b.$el}};return this.regionManager.addRegions(a,c)},_initializeRegions:function(a){var b;this._initRegionManager(),b=c.isFunction(this.regions)?this.regions(a):this.regions||{},this.addRegions(b)},_reInitializeRegions:function(){this.regionManager.closeRegions(),this.regionManager.each(function(a){a.reset()})},_initRegionManager:function(){this.regionManager=new f.RegionManager,this.listenTo(this.regionManager,"region:add",function(a,b){this[a]=b,this.trigger("region:add",a,b)}),this.listenTo(this.regionManager,"region:remove",function(a,b){delete this[a],this.trigger("region:remove",a,b)})}}),f.AppRouter=b.Router.extend({constructor:function(a){b.Router.prototype.constructor.apply(this,d(arguments)),this.options=a||{};var c=f.getOption(this,"appRoutes"),e=this._getController();this.processAppRoutes(e,c)},appRoute:function(a,b){var c=this._getController();this._addAppRoute(c,a,b)},processAppRoutes:function(a,b){if(b){var d=c.keys(b).reverse();c.each(d,function(c){this._addAppRoute(a,c,b[c])},this)}},_getController:function(){return f.getOption(this,"controller")},_addAppRoute:function(a,b,d){var e=a[d];if(!e)throw new Error("Method '"+d+"' was not found on the controller");this.route(b,d,c.bind(e,a))}}),f.Application=function(a){this._initRegionManager(),this._initCallbacks=new f.Callbacks,this.vent=new b.Wreqr.EventAggregator,this.commands=new b.Wreqr.Commands,this.reqres=new b.Wreqr.RequestResponse,this.submodules={},c.extend(this,a),this.triggerMethod=f.triggerMethod},c.extend(f.Application.prototype,b.Events,{execute:function(){var a=Array.prototype.slice.apply(arguments);this.commands.execute.apply(this.commands,a)},request:function(){var a=Array.prototype.slice.apply(arguments);return this.reqres.request.apply(this.reqres,a)},addInitializer:function(a){this._initCallbacks.add(a)},start:function(a){this.triggerMethod("initialize:before",a),this._initCallbacks.run(a,this),this.triggerMethod("initialize:after",a),this.triggerMethod("start",a)},addRegions:function(a){return this._regionManager.addRegions(a)},closeRegions:function(){this._regionManager.closeRegions()},removeRegion:function(a){this._regionManager.removeRegion(a)},getRegion:function(a){return this._regionManager.get(a)},module:function(){var a=d(arguments);return a.unshift(this),f.Module.create.apply(f.Module,a)},_initRegionManager:function(){this._regionManager=new f.RegionManager,this.listenTo(this._regionManager,"region:add",function(a,b){this[a]=b}),this.listenTo(this._regionManager,"region:remove",function(a){delete this[a]})}}),f.Application.extend=f.extend,f.Module=function(a,b){this.moduleName=a,this.submodules={},this._setupInitializersAndFinalizers(),this.app=b,this.startWithParent=!0,this.triggerMethod=f.triggerMethod},c.extend(f.Module.prototype,b.Events,{addInitializer:function(a){this._initializerCallbacks.add(a)},addFinalizer:function(a){this._finalizerCallbacks.add(a)},start:function(a){this._isInitialized||(c.each(this.submodules,function(b){b.startWithParent&&b.start(a)}),this.triggerMethod("before:start",a),this._initializerCallbacks.run(a,this),this._isInitialized=!0,this.triggerMethod("start",a))},stop:function(){this._isInitialized&&(this._isInitialized=!1,f.triggerMethod.call(this,"before:stop"),c.each(this.submodules,function(a){a.stop()}),this._finalizerCallbacks.run(void 0,this),this._initializerCallbacks.reset(),this._finalizerCallbacks.reset(),f.triggerMethod.call(this,"stop"))},addDefinition:function(a,b){this._runModuleDefinition(a,b)},_runModuleDefinition:function(a,d){if(a){var e=c.flatten([this,this.app,b,f,f.$,c,d]);a.apply(this,e)}},_setupInitializersAndFinalizers:function(){this._initializerCallbacks=new f.Callbacks,this._finalizerCallbacks=new f.Callbacks}}),c.extend(f.Module,{create:function(a,b,e){var f=a,g=d(arguments);g.splice(0,3),b=b.split(".");var h=b.length,i=[];return i[h-1]=e,c.each(b,function(b,c){var d=f;f=this._getModule(d,b,a),this._addModuleDefinition(d,f,i[c],g)},this),f},_getModule:function(a,b,c){var d=a[b];return d||(d=new f.Module(b,c),a[b]=d,a.submodules[b]=d),d},_addModuleDefinition:function(a,b,d,e){var f,g;c.isFunction(d)?(f=d,g=!0):c.isObject(d)?(f=d.define,g=d.startWithParent):g=!0,f&&b.addDefinition(f,e),b.startWithParent=b.startWithParent&&g,b.startWithParent&&!b.startWithParentIsConfigured&&(b.startWithParentIsConfigured=!0,a.addInitializer(function(a){b.startWithParent&&b.start(a)}))}}),f}(this,Backbone,_); //# sourceMappingURL=backbone.marionette.map \ No newline at end of file diff --git a/package.json b/package.json index 6157cde4ef..46f75bd855 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "backbone.marionette", "description": "Make your Backbone.js apps dance!", - "version": "1.2.0", + "version": "1.2.1", "homepage": "https://github.com/marionettejs/backbone.marionette", "main": "lib/core/amd/backbone.marionette.js", "keywords": [ diff --git a/reports/coverage.json b/reports/coverage.json index 70e52d3d14..44859d2a1e 100644 --- a/reports/coverage.json +++ b/reports/coverage.json @@ -1 +1 @@ -{"./src/build/marionette.core.js":{"path":"./src/build/marionette.core.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1},"b":{},"f":{"1":1},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":47}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":36,"column":22}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":22}},"3":{"start":{"line":6,"column":2},"end":{"line":6,"column":35}},"4":{"start":{"line":9,"column":2},"end":{"line":9,"column":28}},"5":{"start":{"line":35,"column":2},"end":{"line":35,"column":20}}},"branchMap":{}},"./spec/javascripts/support/marionette.support.js":{"path":"./spec/javascripts/support/marionette.support.js","s":{"1":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"branchMap":{}},"./src/marionette.helpers.js":{"path":"./src/marionette.helpers.js","s":{"1":1,"2":1,"3":1228,"4":1,"5":3,"6":3,"7":3,"8":1,"9":1,"10":3321,"11":0,"12":3321,"13":3321,"14":178,"15":3143,"16":3321},"b":{"1":[3,1],"2":[0,3321],"3":[3321,3321],"4":[178,3143],"5":[3321,1264,181]},"f":{"1":1228,"2":3,"3":3321},"fnMap":{"1":{"name":"slice","line":6,"loc":{"start":{"line":6,"column":0},"end":{"line":6,"column":21}}},"2":{"name":"throwError","line":10,"loc":{"start":{"line":10,"column":0},"end":{"line":10,"column":35}}},"3":{"name":"(anonymous_3)","line":27,"loc":{"start":{"line":27,"column":23},"end":{"line":27,"column":51}}}},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":5,"column":39}},"2":{"start":{"line":6,"column":0},"end":{"line":8,"column":1}},"3":{"start":{"line":7,"column":2},"end":{"line":7,"column":31}},"4":{"start":{"line":10,"column":0},"end":{"line":14,"column":1}},"5":{"start":{"line":11,"column":2},"end":{"line":11,"column":33}},"6":{"start":{"line":12,"column":2},"end":{"line":12,"column":31}},"7":{"start":{"line":13,"column":2},"end":{"line":13,"column":14}},"8":{"start":{"line":20,"column":0},"end":{"line":20,"column":42}},"9":{"start":{"line":27,"column":0},"end":{"line":38,"column":2}},"10":{"start":{"line":28,"column":2},"end":{"line":28,"column":40}},"11":{"start":{"line":28,"column":31},"end":{"line":28,"column":38}},"12":{"start":{"line":29,"column":2},"end":{"line":29,"column":12}},"13":{"start":{"line":31,"column":2},"end":{"line":35,"column":3}},"14":{"start":{"line":32,"column":4},"end":{"line":32,"column":39}},"15":{"start":{"line":34,"column":4},"end":{"line":34,"column":31}},"16":{"start":{"line":37,"column":2},"end":{"line":37,"column":15}}},"branchMap":{"1":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":15},"end":{"line":12,"column":19}},{"start":{"line":12,"column":23},"end":{"line":12,"column":30}}]},"2":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":28,"column":2}},{"start":{"line":28,"column":2},"end":{"line":28,"column":2}}]},"3":{"line":28,"type":"binary-expr","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":13}},{"start":{"line":28,"column":17},"end":{"line":28,"column":28}}]},"4":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":2},"end":{"line":31,"column":2}},{"start":{"line":31,"column":2},"end":{"line":31,"column":2}}]},"5":{"line":31,"type":"binary-expr","locations":[{"start":{"line":31,"column":6},"end":{"line":31,"column":20}},{"start":{"line":31,"column":25},"end":{"line":31,"column":53}},{"start":{"line":31,"column":59},"end":{"line":31,"column":99}}]}}},"./src/marionette.triggermethod.js":{"path":"./src/marionette.triggermethod.js","s":{"1":1,"2":1,"3":1,"4":6897,"5":1,"6":3245,"7":3245,"8":3245,"9":3244,"10":3245,"11":357,"12":1},"b":{"1":[3244,1],"2":[357,2888]},"f":{"1":1,"2":6897,"3":3245},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":28},"end":{"line":8,"column":38}}},"2":{"name":"getEventName","line":15,"loc":{"start":{"line":15,"column":2},"end":{"line":15,"column":50}}},"3":{"name":"(anonymous_3)","line":20,"loc":{"start":{"line":20,"column":22},"end":{"line":20,"column":38}}}},"statementMap":{"1":{"start":{"line":8,"column":0},"end":{"line":38,"column":5}},"2":{"start":{"line":11,"column":2},"end":{"line":11,"column":31}},"3":{"start":{"line":15,"column":2},"end":{"line":17,"column":3}},"4":{"start":{"line":16,"column":4},"end":{"line":16,"column":35}},"5":{"start":{"line":20,"column":2},"end":{"line":35,"column":4}},"6":{"start":{"line":22,"column":4},"end":{"line":22,"column":66}},"7":{"start":{"line":23,"column":4},"end":{"line":23,"column":34}},"8":{"start":{"line":26,"column":4},"end":{"line":28,"column":5}},"9":{"start":{"line":27,"column":6},"end":{"line":27,"column":42}},"10":{"start":{"line":31,"column":4},"end":{"line":34,"column":5}},"11":{"start":{"line":33,"column":6},"end":{"line":33,"column":51}},"12":{"start":{"line":37,"column":2},"end":{"line":37,"column":23}}},"branchMap":{"1":{"line":26,"type":"if","locations":[{"start":{"line":26,"column":4},"end":{"line":26,"column":4}},{"start":{"line":26,"column":4},"end":{"line":26,"column":4}}]},"2":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":4},"end":{"line":31,"column":4}},{"start":{"line":31,"column":4},"end":{"line":31,"column":4}}]}}},"./src/marionette.bindEntityEvents.js":{"path":"./src/marionette.bindEntityEvents.js","s":{"1":1,"2":1,"3":25,"4":25,"5":29,"6":29,"7":1,"8":28,"9":1,"10":8,"11":1,"12":33,"13":33,"14":37,"15":37,"16":1,"17":8,"18":1,"19":1995,"20":1921,"21":74,"22":8,"23":74,"24":74,"25":16,"26":58,"27":1,"28":993,"29":1,"30":1002},"b":{"1":[1,28],"2":[1921,74],"3":[1995,928],"4":[8,66],"5":[16,58]},"f":{"1":1,"2":25,"3":29,"4":8,"5":33,"6":37,"7":8,"8":1995,"9":74,"10":993,"11":1002},"fnMap":{"1":{"name":"(anonymous_1)","line":17,"loc":{"start":{"line":17,"column":1},"end":{"line":17,"column":21}}},"2":{"name":"bindFromStrings","line":22,"loc":{"start":{"line":22,"column":2},"end":{"line":22,"column":56}}},"3":{"name":"(anonymous_3)","line":25,"loc":{"start":{"line":25,"column":23},"end":{"line":25,"column":44}}},"4":{"name":"bindToFunction","line":37,"loc":{"start":{"line":37,"column":2},"end":{"line":37,"column":54}}},"5":{"name":"unbindFromStrings","line":43,"loc":{"start":{"line":43,"column":2},"end":{"line":43,"column":58}}},"6":{"name":"(anonymous_6)","line":46,"loc":{"start":{"line":46,"column":23},"end":{"line":46,"column":44}}},"7":{"name":"unbindToFunction","line":53,"loc":{"start":{"line":53,"column":2},"end":{"line":53,"column":56}}},"8":{"name":"iterateEvents","line":59,"loc":{"start":{"line":59,"column":2},"end":{"line":59,"column":84}}},"9":{"name":"(anonymous_9)","line":68,"loc":{"start":{"line":68,"column":21},"end":{"line":68,"column":43}}},"10":{"name":"(anonymous_10)","line":82,"loc":{"start":{"line":82,"column":32},"end":{"line":82,"column":66}}},"11":{"name":"(anonymous_11)","line":86,"loc":{"start":{"line":86,"column":34},"end":{"line":86,"column":68}}}},"statementMap":{"1":{"start":{"line":17,"column":0},"end":{"line":90,"column":15}},"2":{"start":{"line":22,"column":2},"end":{"line":34,"column":3}},"3":{"start":{"line":23,"column":4},"end":{"line":23,"column":43}},"4":{"start":{"line":25,"column":4},"end":{"line":33,"column":7}},"5":{"start":{"line":27,"column":6},"end":{"line":27,"column":38}},"6":{"start":{"line":28,"column":6},"end":{"line":30,"column":7}},"7":{"start":{"line":29,"column":8},"end":{"line":29,"column":104}},"8":{"start":{"line":32,"column":6},"end":{"line":32,"column":51}},"9":{"start":{"line":37,"column":2},"end":{"line":39,"column":3}},"10":{"start":{"line":38,"column":6},"end":{"line":38,"column":51}},"11":{"start":{"line":43,"column":2},"end":{"line":50,"column":3}},"12":{"start":{"line":44,"column":4},"end":{"line":44,"column":43}},"13":{"start":{"line":46,"column":4},"end":{"line":49,"column":7}},"14":{"start":{"line":47,"column":6},"end":{"line":47,"column":38}},"15":{"start":{"line":48,"column":6},"end":{"line":48,"column":56}},"16":{"start":{"line":53,"column":2},"end":{"line":55,"column":3}},"17":{"start":{"line":54,"column":6},"end":{"line":54,"column":56}},"18":{"start":{"line":59,"column":2},"end":{"line":79,"column":3}},"19":{"start":{"line":60,"column":4},"end":{"line":60,"column":41}},"20":{"start":{"line":60,"column":32},"end":{"line":60,"column":39}},"21":{"start":{"line":63,"column":4},"end":{"line":65,"column":5}},"22":{"start":{"line":64,"column":6},"end":{"line":64,"column":39}},"23":{"start":{"line":68,"column":4},"end":{"line":78,"column":7}},"24":{"start":{"line":72,"column":6},"end":{"line":76,"column":7}},"25":{"start":{"line":73,"column":8},"end":{"line":73,"column":55}},"26":{"start":{"line":75,"column":8},"end":{"line":75,"column":53}},"27":{"start":{"line":82,"column":2},"end":{"line":84,"column":4}},"28":{"start":{"line":83,"column":4},"end":{"line":83,"column":77}},"29":{"start":{"line":86,"column":2},"end":{"line":88,"column":4}},"30":{"start":{"line":87,"column":4},"end":{"line":87,"column":81}}},"branchMap":{"1":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":6}},{"start":{"line":28,"column":6},"end":{"line":28,"column":6}}]},"2":{"line":60,"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":60,"column":4}},{"start":{"line":60,"column":4},"end":{"line":60,"column":4}}]},"3":{"line":60,"type":"binary-expr","locations":[{"start":{"line":60,"column":8},"end":{"line":60,"column":15}},{"start":{"line":60,"column":19},"end":{"line":60,"column":28}}]},"4":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":4}},{"start":{"line":63,"column":4},"end":{"line":63,"column":4}}]},"5":{"line":72,"type":"if","locations":[{"start":{"line":72,"column":6},"end":{"line":72,"column":6}},{"start":{"line":72,"column":6},"end":{"line":72,"column":6}}]}}},"./src/marionette.controller.js":{"path":"./src/marionette.controller.js","s":{"1":1,"2":178,"3":178,"4":178,"5":7,"6":1,"7":1,"8":12,"9":12,"10":12},"b":{"1":[178,173],"2":[7,171]},"f":{"1":178,"2":12},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":24},"end":{"line":7,"column":41}}},"2":{"name":"(anonymous_2)","line":23,"loc":{"start":{"line":23,"column":9},"end":{"line":23,"column":19}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":14,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":48}},"3":{"start":{"line":9,"column":2},"end":{"line":9,"column":31}},"4":{"start":{"line":11,"column":2},"end":{"line":13,"column":3}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":34}},"6":{"start":{"line":16,"column":0},"end":{"line":16,"column":49}},"7":{"start":{"line":22,"column":0},"end":{"line":28,"column":3}},"8":{"start":{"line":24,"column":4},"end":{"line":24,"column":25}},"9":{"start":{"line":25,"column":4},"end":{"line":25,"column":32}},"10":{"start":{"line":26,"column":4},"end":{"line":26,"column":18}}},"branchMap":{"1":{"line":9,"type":"binary-expr","locations":[{"start":{"line":9,"column":17},"end":{"line":9,"column":24}},{"start":{"line":9,"column":28},"end":{"line":9,"column":30}}]},"2":{"line":11,"type":"if","locations":[{"start":{"line":11,"column":2},"end":{"line":11,"column":2}},{"start":{"line":11,"column":2},"end":{"line":11,"column":2}}]}}},"./src/marionette.domRefresh.js":{"path":"./src/marionette.domRefresh.js","s":{"1":1,"2":1,"3":25,"4":25,"5":1,"6":372,"7":372,"8":1,"9":397,"10":14,"11":14,"12":1,"13":494,"14":25,"15":494,"16":372},"b":{"1":[14,383],"2":[397,26],"3":[14,0]},"f":{"1":1,"2":25,"3":372,"4":397,"5":494,"6":25,"7":372},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":32},"end":{"line":8,"column":42}}},"2":{"name":"handleShow","line":11,"loc":{"start":{"line":11,"column":2},"end":{"line":11,"column":27}}},"3":{"name":"handleRender","line":17,"loc":{"start":{"line":17,"column":2},"end":{"line":17,"column":29}}},"4":{"name":"triggerDOMRefresh","line":23,"loc":{"start":{"line":23,"column":2},"end":{"line":23,"column":34}}},"5":{"name":"(anonymous_5)","line":32,"loc":{"start":{"line":32,"column":9},"end":{"line":32,"column":23}}},"6":{"name":"(anonymous_6)","line":33,"loc":{"start":{"line":33,"column":32},"end":{"line":33,"column":42}}},"7":{"name":"(anonymous_7)","line":37,"loc":{"start":{"line":37,"column":34},"end":{"line":37,"column":44}}}},"statementMap":{"1":{"start":{"line":8,"column":0},"end":{"line":41,"column":5}},"2":{"start":{"line":11,"column":2},"end":{"line":14,"column":3}},"3":{"start":{"line":12,"column":4},"end":{"line":12,"column":25}},"4":{"start":{"line":13,"column":4},"end":{"line":13,"column":28}},"5":{"start":{"line":17,"column":2},"end":{"line":20,"column":3}},"6":{"start":{"line":18,"column":4},"end":{"line":18,"column":28}},"7":{"start":{"line":19,"column":4},"end":{"line":19,"column":28}},"8":{"start":{"line":23,"column":2},"end":{"line":29,"column":3}},"9":{"start":{"line":24,"column":4},"end":{"line":28,"column":5}},"10":{"start":{"line":25,"column":6},"end":{"line":27,"column":7}},"11":{"start":{"line":26,"column":8},"end":{"line":26,"column":42}},"12":{"start":{"line":32,"column":2},"end":{"line":40,"column":4}},"13":{"start":{"line":33,"column":4},"end":{"line":35,"column":7}},"14":{"start":{"line":34,"column":6},"end":{"line":34,"column":23}},"15":{"start":{"line":37,"column":4},"end":{"line":39,"column":7}},"16":{"start":{"line":38,"column":6},"end":{"line":38,"column":25}}},"branchMap":{"1":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":4}},{"start":{"line":24,"column":4},"end":{"line":24,"column":4}}]},"2":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":21}},{"start":{"line":24,"column":25},"end":{"line":24,"column":41}}]},"3":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":6}},{"start":{"line":25,"column":6},"end":{"line":25,"column":6}}]}}},"./src/marionette.view.js":{"path":"./src/marionette.view.js","s":{"1":1,"2":495,"3":495,"4":495,"5":494,"6":494,"7":494,"8":171,"9":171,"10":171,"11":171,"12":3,"13":171,"14":497,"15":486,"16":11,"17":11,"18":11,"19":20,"20":20,"21":20,"22":20,"23":20,"24":20,"25":20,"26":20,"27":20,"28":18,"29":20,"30":18,"31":20,"32":20,"33":11,"34":497,"35":497,"36":496,"37":497,"38":497,"39":0,"40":497,"41":497,"42":497,"43":497,"44":501,"45":501,"46":501,"47":501,"48":129,"49":5,"50":124,"51":124,"52":3,"53":121,"54":121,"55":121,"56":121,"57":169,"58":151,"59":18,"60":15,"61":18,"62":18,"63":18,"64":40,"65":40,"66":121,"67":119,"68":2,"69":2,"70":2,"71":2},"b":{"1":[171,0],"2":[3,168],"3":[486,11],"4":[4,16],"5":[20,0],"6":[4,16],"7":[4,16],"8":[18,2],"9":[20,18],"10":[18,2],"11":[20,18],"12":[497,497],"13":[0,497],"14":[5,124],"15":[3,121],"16":[151,18],"17":[15,3],"18":[119,2],"19":[121,3]},"f":{"1":495,"2":171,"3":171,"4":497,"5":20,"6":20,"7":497,"8":497,"9":501,"10":21,"11":129,"12":169,"13":40,"14":121,"15":2},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":15},"end":{"line":7,"column":32}}},"2":{"name":"(anonymous_2)","line":26,"loc":{"start":{"line":26,"column":15},"end":{"line":26,"column":25}}},"3":{"name":"(anonymous_3)","line":35,"loc":{"start":{"line":35,"column":24},"end":{"line":35,"column":40}}},"4":{"name":"(anonymous_4)","line":46,"loc":{"start":{"line":46,"column":21},"end":{"line":46,"column":31}}},"5":{"name":"(anonymous_5)","line":56,"loc":{"start":{"line":56,"column":21},"end":{"line":56,"column":41}}},"6":{"name":"(anonymous_6)","line":62,"loc":{"start":{"line":62,"column":27},"end":{"line":62,"column":38}}},"7":{"name":"(anonymous_7)","line":94,"loc":{"start":{"line":94,"column":18},"end":{"line":94,"column":34}}},"8":{"name":"(anonymous_8)","line":101,"loc":{"start":{"line":101,"column":22},"end":{"line":101,"column":38}}},"9":{"name":"(anonymous_9)","line":114,"loc":{"start":{"line":114,"column":20},"end":{"line":114,"column":30}}},"10":{"name":"(anonymous_10)","line":123,"loc":{"start":{"line":123,"column":16},"end":{"line":123,"column":26}}},"11":{"name":"(anonymous_11)","line":129,"loc":{"start":{"line":129,"column":9},"end":{"line":129,"column":19}}},"12":{"name":"(anonymous_12)","line":154,"loc":{"start":{"line":154,"column":18},"end":{"line":154,"column":28}}},"13":{"name":"(anonymous_13)","line":170,"loc":{"start":{"line":170,"column":29},"end":{"line":170,"column":43}}},"14":{"name":"(anonymous_14)","line":177,"loc":{"start":{"line":177,"column":20},"end":{"line":177,"column":30}}},"15":{"name":"(anonymous_15)","line":181,"loc":{"start":{"line":181,"column":20},"end":{"line":181,"column":39}}}},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":189,"column":3}},"2":{"start":{"line":8,"column":4},"end":{"line":8,"column":30}},"3":{"start":{"line":10,"column":4},"end":{"line":10,"column":54}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":58}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":27}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":39}},"7":{"start":{"line":15,"column":4},"end":{"line":15,"column":57}},"8":{"start":{"line":27,"column":4},"end":{"line":27,"column":50}},"9":{"start":{"line":36,"column":4},"end":{"line":36,"column":26}},"10":{"start":{"line":37,"column":4},"end":{"line":37,"column":72}},"11":{"start":{"line":38,"column":4},"end":{"line":40,"column":5}},"12":{"start":{"line":39,"column":6},"end":{"line":39,"column":51}},"13":{"start":{"line":41,"column":4},"end":{"line":41,"column":45}},"14":{"start":{"line":47,"column":4},"end":{"line":47,"column":35}},"15":{"start":{"line":47,"column":26},"end":{"line":47,"column":33}},"16":{"start":{"line":49,"column":4},"end":{"line":49,"column":27}},"17":{"start":{"line":52,"column":4},"end":{"line":52,"column":46}},"18":{"start":{"line":56,"column":4},"end":{"line":87,"column":13}},"19":{"start":{"line":58,"column":6},"end":{"line":58,"column":41}},"20":{"start":{"line":59,"column":6},"end":{"line":59,"column":55}},"21":{"start":{"line":62,"column":6},"end":{"line":85,"column":8}},"22":{"start":{"line":65,"column":8},"end":{"line":74,"column":9}},"23":{"start":{"line":66,"column":10},"end":{"line":66,"column":41}},"24":{"start":{"line":67,"column":10},"end":{"line":67,"column":39}},"25":{"start":{"line":69,"column":10},"end":{"line":69,"column":74}},"26":{"start":{"line":70,"column":10},"end":{"line":70,"column":69}},"27":{"start":{"line":72,"column":10},"end":{"line":72,"column":54}},"28":{"start":{"line":72,"column":42},"end":{"line":72,"column":52}},"29":{"start":{"line":73,"column":10},"end":{"line":73,"column":45}},"30":{"start":{"line":73,"column":36},"end":{"line":73,"column":43}},"31":{"start":{"line":77,"column":8},"end":{"line":81,"column":10}},"32":{"start":{"line":84,"column":8},"end":{"line":84,"column":44}},"33":{"start":{"line":89,"column":4},"end":{"line":89,"column":25}},"34":{"start":{"line":95,"column":4},"end":{"line":95,"column":36}},"35":{"start":{"line":96,"column":4},"end":{"line":96,"column":93}},"36":{"start":{"line":97,"column":4},"end":{"line":97,"column":103}},"37":{"start":{"line":102,"column":4},"end":{"line":102,"column":35}},"38":{"start":{"line":103,"column":4},"end":{"line":103,"column":60}},"39":{"start":{"line":103,"column":31},"end":{"line":103,"column":58}},"40":{"start":{"line":105,"column":4},"end":{"line":105,"column":28}},"41":{"start":{"line":106,"column":4},"end":{"line":106,"column":44}},"42":{"start":{"line":107,"column":4},"end":{"line":107,"column":47}},"43":{"start":{"line":109,"column":4},"end":{"line":109,"column":70}},"44":{"start":{"line":115,"column":4},"end":{"line":115,"column":53}},"45":{"start":{"line":116,"column":4},"end":{"line":116,"column":63}},"46":{"start":{"line":118,"column":4},"end":{"line":118,"column":95}},"47":{"start":{"line":119,"column":4},"end":{"line":119,"column":105}},"48":{"start":{"line":130,"column":4},"end":{"line":130,"column":34}},"49":{"start":{"line":130,"column":25},"end":{"line":130,"column":32}},"50":{"start":{"line":134,"column":4},"end":{"line":134,"column":57}},"51":{"start":{"line":135,"column":4},"end":{"line":137,"column":5}},"52":{"start":{"line":136,"column":6},"end":{"line":136,"column":13}},"53":{"start":{"line":142,"column":4},"end":{"line":142,"column":25}},"54":{"start":{"line":143,"column":4},"end":{"line":143,"column":32}},"55":{"start":{"line":146,"column":4},"end":{"line":146,"column":28}},"56":{"start":{"line":149,"column":4},"end":{"line":149,"column":18}},"57":{"start":{"line":155,"column":4},"end":{"line":155,"column":29}},"58":{"start":{"line":155,"column":20},"end":{"line":155,"column":27}},"59":{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},"60":{"start":{"line":160,"column":6},"end":{"line":160,"column":33}},"61":{"start":{"line":164,"column":4},"end":{"line":164,"column":49}},"62":{"start":{"line":167,"column":4},"end":{"line":167,"column":17}},"63":{"start":{"line":170,"column":4},"end":{"line":173,"column":13}},"64":{"start":{"line":171,"column":6},"end":{"line":171,"column":35}},"65":{"start":{"line":172,"column":6},"end":{"line":172,"column":38}},"66":{"start":{"line":178,"column":4},"end":{"line":178,"column":49}},"67":{"start":{"line":178,"column":40},"end":{"line":178,"column":47}},"68":{"start":{"line":181,"column":4},"end":{"line":183,"column":13}},"69":{"start":{"line":182,"column":6},"end":{"line":182,"column":27}},"70":{"start":{"line":186,"column":4},"end":{"line":186,"column":31}},"71":{"start":{"line":187,"column":4},"end":{"line":187,"column":28}}},"branchMap":{"1":{"line":36,"type":"binary-expr","locations":[{"start":{"line":36,"column":13},"end":{"line":36,"column":19}},{"start":{"line":36,"column":23},"end":{"line":36,"column":25}}]},"2":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":4},"end":{"line":38,"column":4}},{"start":{"line":38,"column":4},"end":{"line":38,"column":4}}]},"3":{"line":47,"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":47,"column":4}},{"start":{"line":47,"column":4},"end":{"line":47,"column":4}}]},"4":{"line":59,"type":"cond-expr","locations":[{"start":{"line":59,"column":35},"end":{"line":59,"column":46}},{"start":{"line":59,"column":49},"end":{"line":59,"column":54}}]},"5":{"line":65,"type":"if","locations":[{"start":{"line":65,"column":8},"end":{"line":65,"column":8}},{"start":{"line":65,"column":8},"end":{"line":65,"column":8}}]},"6":{"line":69,"type":"cond-expr","locations":[{"start":{"line":69,"column":43},"end":{"line":69,"column":63}},{"start":{"line":69,"column":66},"end":{"line":69,"column":73}}]},"7":{"line":70,"type":"cond-expr","locations":[{"start":{"line":70,"column":40},"end":{"line":70,"column":61}},{"start":{"line":70,"column":64},"end":{"line":70,"column":68}}]},"8":{"line":72,"type":"if","locations":[{"start":{"line":72,"column":10},"end":{"line":72,"column":10}},{"start":{"line":72,"column":10},"end":{"line":72,"column":10}}]},"9":{"line":72,"type":"binary-expr","locations":[{"start":{"line":72,"column":14},"end":{"line":72,"column":27}},{"start":{"line":72,"column":31},"end":{"line":72,"column":38}}]},"10":{"line":73,"type":"if","locations":[{"start":{"line":73,"column":10},"end":{"line":73,"column":10}},{"start":{"line":73,"column":10},"end":{"line":73,"column":10}}]},"11":{"line":73,"type":"binary-expr","locations":[{"start":{"line":73,"column":14},"end":{"line":73,"column":24}},{"start":{"line":73,"column":28},"end":{"line":73,"column":32}}]},"12":{"line":102,"type":"binary-expr","locations":[{"start":{"line":102,"column":13},"end":{"line":102,"column":19}},{"start":{"line":102,"column":23},"end":{"line":102,"column":34}}]},"13":{"line":103,"type":"if","locations":[{"start":{"line":103,"column":4},"end":{"line":103,"column":4}},{"start":{"line":103,"column":4},"end":{"line":103,"column":4}}]},"14":{"line":130,"type":"if","locations":[{"start":{"line":130,"column":4},"end":{"line":130,"column":4}},{"start":{"line":130,"column":4},"end":{"line":130,"column":4}}]},"15":{"line":135,"type":"if","locations":[{"start":{"line":135,"column":4},"end":{"line":135,"column":4}},{"start":{"line":135,"column":4},"end":{"line":135,"column":4}}]},"16":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":4},"end":{"line":155,"column":4}},{"start":{"line":155,"column":4},"end":{"line":155,"column":4}}]},"17":{"line":159,"type":"if","locations":[{"start":{"line":159,"column":4},"end":{"line":159,"column":4}},{"start":{"line":159,"column":4},"end":{"line":159,"column":4}}]},"18":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":4},"end":{"line":178,"column":4}},{"start":{"line":178,"column":4},"end":{"line":178,"column":4}}]},"19":{"line":178,"type":"binary-expr","locations":[{"start":{"line":178,"column":8},"end":{"line":178,"column":16}},{"start":{"line":178,"column":20},"end":{"line":178,"column":37}}]}}},"./src/marionette.itemview.js":{"path":"./src/marionette.itemview.js","s":{"1":1,"2":317,"3":117,"4":117,"5":72,"6":45,"7":2,"8":117,"9":117,"10":117,"11":117,"12":117,"13":117,"14":117,"15":117,"16":116,"17":116,"18":116,"19":116,"20":116,"21":90,"22":2,"23":88,"24":88,"25":88},"b":{"1":[72,45],"2":[2,43],"3":[2,88]},"f":{"1":317,"2":117,"3":117,"4":90},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":15},"end":{"line":11,"column":25}}},"2":{"name":"(anonymous_2)","line":21,"loc":{"start":{"line":21,"column":17},"end":{"line":21,"column":27}}},"3":{"name":"(anonymous_3)","line":39,"loc":{"start":{"line":39,"column":10},"end":{"line":39,"column":20}}},"4":{"name":"(anonymous_4)","line":62,"loc":{"start":{"line":62,"column":9},"end":{"line":62,"column":19}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":71,"column":3}},"2":{"start":{"line":12,"column":4},"end":{"line":12,"column":72}},"3":{"start":{"line":22,"column":4},"end":{"line":22,"column":18}},"4":{"start":{"line":24,"column":4},"end":{"line":29,"column":5}},"5":{"start":{"line":25,"column":6},"end":{"line":25,"column":33}},"6":{"start":{"line":27,"column":9},"end":{"line":29,"column":5}},"7":{"start":{"line":28,"column":6},"end":{"line":28,"column":49}},"8":{"start":{"line":31,"column":4},"end":{"line":31,"column":16}},"9":{"start":{"line":40,"column":4},"end":{"line":40,"column":26}},"10":{"start":{"line":42,"column":4},"end":{"line":42,"column":46}},"11":{"start":{"line":43,"column":4},"end":{"line":43,"column":51}},"12":{"start":{"line":45,"column":4},"end":{"line":45,"column":36}},"13":{"start":{"line":46,"column":4},"end":{"line":46,"column":43}},"14":{"start":{"line":48,"column":4},"end":{"line":48,"column":38}},"15":{"start":{"line":49,"column":4},"end":{"line":49,"column":58}},"16":{"start":{"line":51,"column":4},"end":{"line":51,"column":24}},"17":{"start":{"line":52,"column":4},"end":{"line":52,"column":26}},"18":{"start":{"line":54,"column":4},"end":{"line":54,"column":39}},"19":{"start":{"line":55,"column":4},"end":{"line":55,"column":46}},"20":{"start":{"line":57,"column":4},"end":{"line":57,"column":16}},"21":{"start":{"line":63,"column":4},"end":{"line":63,"column":33}},"22":{"start":{"line":63,"column":24},"end":{"line":63,"column":31}},"23":{"start":{"line":65,"column":4},"end":{"line":65,"column":44}},"24":{"start":{"line":67,"column":4},"end":{"line":67,"column":66}},"25":{"start":{"line":69,"column":4},"end":{"line":69,"column":38}}},"branchMap":{"1":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":4}},{"start":{"line":24,"column":4},"end":{"line":24,"column":4}}]},"2":{"line":27,"type":"if","locations":[{"start":{"line":27,"column":9},"end":{"line":27,"column":9}},{"start":{"line":27,"column":9},"end":{"line":27,"column":9}}]},"3":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":4}},{"start":{"line":63,"column":4},"end":{"line":63,"column":4}}]}}},"./src/marionette.collectionview.js":{"path":"./src/marionette.collectionview.js","s":{"1":1,"2":139,"3":139,"4":139,"5":86,"6":78,"7":78,"8":78,"9":15,"10":15,"11":15,"12":15,"13":4,"14":4,"15":153,"16":153,"17":150,"18":150,"19":99,"20":99,"21":99,"22":98,"23":98,"24":156,"25":156,"26":156,"27":117,"28":39,"29":117,"30":117,"31":185,"32":184,"33":93,"34":93,"35":20,"36":20,"37":20,"38":171,"39":9,"40":9,"41":91,"42":133,"43":133,"44":1,"45":132,"46":221,"47":221,"48":4,"49":221,"50":221,"51":221,"52":221,"53":221,"54":220,"55":3,"56":220,"57":221,"58":221,"59":311,"60":311,"61":311,"62":311,"63":221,"64":221,"65":221,"66":221,"67":8,"68":8,"69":8,"70":65,"71":65,"72":65,"73":64,"74":1,"75":1,"76":65,"77":65,"78":194,"79":54,"80":149,"81":139,"82":24,"83":4,"84":20,"85":20,"86":20,"87":20,"88":186,"89":57,"90":186},"b":{"1":[78,8],"2":[117,39],"3":[156,146],"4":[20,73],"5":[93,37],"6":[9,162],"7":[1,132],"8":[4,217],"9":[3,217],"10":[65,0],"11":[64,1],"12":[1,0],"13":[54,140],"14":[194,176],"15":[4,20]},"f":{"1":139,"2":86,"3":15,"4":4,"5":4,"6":153,"7":150,"8":99,"9":156,"10":117,"11":185,"12":93,"13":171,"14":91,"15":133,"16":221,"17":221,"18":311,"19":221,"20":221,"21":8,"22":65,"23":194,"24":149,"25":139,"26":24,"27":186,"28":57},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":15},"end":{"line":12,"column":32}}},"2":{"name":"(anonymous_2)","line":23,"loc":{"start":{"line":23,"column":18},"end":{"line":23,"column":28}}},"3":{"name":"(anonymous_3)","line":32,"loc":{"start":{"line":32,"column":16},"end":{"line":32,"column":51}}},"4":{"name":"(anonymous_4)","line":41,"loc":{"start":{"line":41,"column":16},"end":{"line":41,"column":26}}},"5":{"name":"(anonymous_5)","line":42,"loc":{"start":{"line":42,"column":23},"end":{"line":42,"column":38}}},"6":{"name":"(anonymous_6)","line":49,"loc":{"start":{"line":49,"column":23},"end":{"line":49,"column":33}}},"7":{"name":"(anonymous_7)","line":56,"loc":{"start":{"line":56,"column":19},"end":{"line":56,"column":29}}},"8":{"name":"(anonymous_8)","line":64,"loc":{"start":{"line":64,"column":10},"end":{"line":64,"column":20}}},"9":{"name":"(anonymous_9)","line":75,"loc":{"start":{"line":75,"column":19},"end":{"line":75,"column":29}}},"10":{"name":"(anonymous_10)","line":88,"loc":{"start":{"line":88,"column":18},"end":{"line":88,"column":28}}},"11":{"name":"(anonymous_11)","line":90,"loc":{"start":{"line":90,"column":25},"end":{"line":90,"column":46}}},"12":{"name":"(anonymous_12)","line":99,"loc":{"start":{"line":99,"column":17},"end":{"line":99,"column":27}}},"13":{"name":"(anonymous_13)","line":112,"loc":{"start":{"line":112,"column":18},"end":{"line":112,"column":28}}},"14":{"name":"(anonymous_14)","line":120,"loc":{"start":{"line":120,"column":16},"end":{"line":120,"column":26}}},"15":{"name":"(anonymous_15)","line":127,"loc":{"start":{"line":127,"column":15},"end":{"line":127,"column":29}}},"16":{"name":"(anonymous_16)","line":139,"loc":{"start":{"line":139,"column":15},"end":{"line":139,"column":46}}},"17":{"name":"(anonymous_17)","line":174,"loc":{"start":{"line":174,"column":31},"end":{"line":174,"column":45}}},"18":{"name":"(anonymous_18)","line":179,"loc":{"start":{"line":179,"column":31},"end":{"line":179,"column":41}}},"19":{"name":"(anonymous_19)","line":189,"loc":{"start":{"line":189,"column":18},"end":{"line":189,"column":40}}},"20":{"name":"(anonymous_20)","line":195,"loc":{"start":{"line":195,"column":17},"end":{"line":195,"column":62}}},"21":{"name":"(anonymous_21)","line":201,"loc":{"start":{"line":201,"column":18},"end":{"line":201,"column":32}}},"22":{"name":"(anonymous_22)","line":208,"loc":{"start":{"line":208,"column":19},"end":{"line":208,"column":33}}},"23":{"name":"(anonymous_23)","line":226,"loc":{"start":{"line":226,"column":14},"end":{"line":226,"column":25}}},"24":{"name":"(anonymous_24)","line":237,"loc":{"start":{"line":237,"column":14},"end":{"line":237,"column":55}}},"25":{"name":"(anonymous_25)","line":243,"loc":{"start":{"line":243,"column":25},"end":{"line":243,"column":35}}},"26":{"name":"(anonymous_26)","line":249,"loc":{"start":{"line":249,"column":9},"end":{"line":249,"column":19}}},"27":{"name":"(anonymous_27)","line":261,"loc":{"start":{"line":261,"column":17},"end":{"line":261,"column":27}}},"28":{"name":"(anonymous_28)","line":262,"loc":{"start":{"line":262,"column":23},"end":{"line":262,"column":38}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":267,"column":3}},"2":{"start":{"line":13,"column":4},"end":{"line":13,"column":33}},"3":{"start":{"line":15,"column":4},"end":{"line":15,"column":72}},"4":{"start":{"line":17,"column":4},"end":{"line":17,"column":26}},"5":{"start":{"line":24,"column":4},"end":{"line":28,"column":5}},"6":{"start":{"line":25,"column":6},"end":{"line":25,"column":69}},"7":{"start":{"line":26,"column":6},"end":{"line":26,"column":74}},"8":{"start":{"line":27,"column":6},"end":{"line":27,"column":65}},"9":{"start":{"line":33,"column":4},"end":{"line":33,"column":26}},"10":{"start":{"line":34,"column":4},"end":{"line":34,"column":42}},"11":{"start":{"line":35,"column":4},"end":{"line":35,"column":46}},"12":{"start":{"line":36,"column":4},"end":{"line":36,"column":44}},"13":{"start":{"line":42,"column":4},"end":{"line":44,"column":7}},"14":{"start":{"line":43,"column":6},"end":{"line":43,"column":51}},"15":{"start":{"line":50,"column":4},"end":{"line":50,"column":46}},"16":{"start":{"line":51,"column":4},"end":{"line":51,"column":57}},"17":{"start":{"line":57,"column":4},"end":{"line":57,"column":39}},"18":{"start":{"line":58,"column":4},"end":{"line":58,"column":52}},"19":{"start":{"line":65,"column":4},"end":{"line":65,"column":26}},"20":{"start":{"line":66,"column":4},"end":{"line":66,"column":31}},"21":{"start":{"line":67,"column":4},"end":{"line":67,"column":27}},"22":{"start":{"line":68,"column":4},"end":{"line":68,"column":27}},"23":{"start":{"line":69,"column":4},"end":{"line":69,"column":16}},"24":{"start":{"line":76,"column":4},"end":{"line":76,"column":26}},"25":{"start":{"line":77,"column":4},"end":{"line":77,"column":25}},"26":{"start":{"line":79,"column":4},"end":{"line":83,"column":5}},"27":{"start":{"line":80,"column":6},"end":{"line":80,"column":28}},"28":{"start":{"line":82,"column":6},"end":{"line":82,"column":27}},"29":{"start":{"line":89,"column":4},"end":{"line":89,"column":17}},"30":{"start":{"line":90,"column":4},"end":{"line":93,"column":13}},"31":{"start":{"line":91,"column":6},"end":{"line":91,"column":40}},"32":{"start":{"line":92,"column":6},"end":{"line":92,"column":46}},"33":{"start":{"line":100,"column":4},"end":{"line":100,"column":40}},"34":{"start":{"line":102,"column":4},"end":{"line":106,"column":5}},"35":{"start":{"line":103,"column":6},"end":{"line":103,"column":36}},"36":{"start":{"line":104,"column":6},"end":{"line":104,"column":39}},"37":{"start":{"line":105,"column":6},"end":{"line":105,"column":44}},"38":{"start":{"line":113,"column":4},"end":{"line":116,"column":5}},"39":{"start":{"line":114,"column":6},"end":{"line":114,"column":27}},"40":{"start":{"line":115,"column":6},"end":{"line":115,"column":36}},"41":{"start":{"line":121,"column":4},"end":{"line":121,"column":51}},"42":{"start":{"line":128,"column":4},"end":{"line":128,"column":58}},"43":{"start":{"line":130,"column":4},"end":{"line":132,"column":5}},"44":{"start":{"line":131,"column":6},"end":{"line":131,"column":71}},"45":{"start":{"line":134,"column":4},"end":{"line":134,"column":20}},"46":{"start":{"line":141,"column":4},"end":{"line":141,"column":72}},"47":{"start":{"line":142,"column":4},"end":{"line":144,"column":5}},"48":{"start":{"line":143,"column":6},"end":{"line":143,"column":64}},"49":{"start":{"line":147,"column":4},"end":{"line":147,"column":67}},"50":{"start":{"line":150,"column":4},"end":{"line":150,"column":43}},"51":{"start":{"line":153,"column":4},"end":{"line":153,"column":50}},"52":{"start":{"line":157,"column":4},"end":{"line":157,"column":28}},"53":{"start":{"line":160,"column":4},"end":{"line":160,"column":37}},"54":{"start":{"line":164,"column":4},"end":{"line":166,"column":5}},"55":{"start":{"line":165,"column":6},"end":{"line":165,"column":50}},"56":{"start":{"line":169,"column":4},"end":{"line":169,"column":49}},"57":{"start":{"line":175,"column":4},"end":{"line":175,"column":67}},"58":{"start":{"line":179,"column":4},"end":{"line":185,"column":13}},"59":{"start":{"line":180,"column":6},"end":{"line":180,"column":34}},"60":{"start":{"line":181,"column":6},"end":{"line":181,"column":39}},"61":{"start":{"line":182,"column":6},"end":{"line":182,"column":30}},"62":{"start":{"line":184,"column":6},"end":{"line":184,"column":49}},"63":{"start":{"line":190,"column":4},"end":{"line":190,"column":18}},"64":{"start":{"line":191,"column":4},"end":{"line":191,"column":39}},"65":{"start":{"line":196,"column":4},"end":{"line":196,"column":59}},"66":{"start":{"line":197,"column":4},"end":{"line":197,"column":37}},"67":{"start":{"line":202,"column":4},"end":{"line":202,"column":47}},"68":{"start":{"line":203,"column":4},"end":{"line":203,"column":31}},"69":{"start":{"line":204,"column":4},"end":{"line":204,"column":22}},"70":{"start":{"line":212,"column":4},"end":{"line":220,"column":5}},"71":{"start":{"line":213,"column":6},"end":{"line":213,"column":31}},"72":{"start":{"line":216,"column":6},"end":{"line":217,"column":46}},"73":{"start":{"line":216,"column":24},"end":{"line":216,"column":37}},"74":{"start":{"line":217,"column":11},"end":{"line":217,"column":46}},"75":{"start":{"line":217,"column":30},"end":{"line":217,"column":44}},"76":{"start":{"line":219,"column":6},"end":{"line":219,"column":33}},"77":{"start":{"line":222,"column":4},"end":{"line":222,"column":45}},"78":{"start":{"line":229,"column":4},"end":{"line":231,"column":5}},"79":{"start":{"line":230,"column":6},"end":{"line":230,"column":27}},"80":{"start":{"line":238,"column":4},"end":{"line":238,"column":43}},"81":{"start":{"line":244,"column":4},"end":{"line":244,"column":54}},"82":{"start":{"line":250,"column":4},"end":{"line":250,"column":33}},"83":{"start":{"line":250,"column":24},"end":{"line":250,"column":31}},"84":{"start":{"line":252,"column":4},"end":{"line":252,"column":50}},"85":{"start":{"line":253,"column":4},"end":{"line":253,"column":25}},"86":{"start":{"line":254,"column":4},"end":{"line":254,"column":44}},"87":{"start":{"line":256,"column":4},"end":{"line":256,"column":66}},"88":{"start":{"line":262,"column":4},"end":{"line":264,"column":13}},"89":{"start":{"line":263,"column":6},"end":{"line":263,"column":34}},"90":{"start":{"line":265,"column":4},"end":{"line":265,"column":22}}},"branchMap":{"1":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":4}},{"start":{"line":24,"column":4},"end":{"line":24,"column":4}}]},"2":{"line":79,"type":"if","locations":[{"start":{"line":79,"column":4},"end":{"line":79,"column":4}},{"start":{"line":79,"column":4},"end":{"line":79,"column":4}}]},"3":{"line":79,"type":"binary-expr","locations":[{"start":{"line":79,"column":8},"end":{"line":79,"column":23}},{"start":{"line":79,"column":27},"end":{"line":79,"column":53}}]},"4":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":4},"end":{"line":102,"column":4}},{"start":{"line":102,"column":4},"end":{"line":102,"column":4}}]},"5":{"line":102,"type":"binary-expr","locations":[{"start":{"line":102,"column":8},"end":{"line":102,"column":17}},{"start":{"line":102,"column":21},"end":{"line":102,"column":44}}]},"6":{"line":113,"type":"if","locations":[{"start":{"line":113,"column":4},"end":{"line":113,"column":4}},{"start":{"line":113,"column":4},"end":{"line":113,"column":4}}]},"7":{"line":130,"type":"if","locations":[{"start":{"line":130,"column":4},"end":{"line":130,"column":4}},{"start":{"line":130,"column":4},"end":{"line":130,"column":4}}]},"8":{"line":142,"type":"if","locations":[{"start":{"line":142,"column":4},"end":{"line":142,"column":4}},{"start":{"line":142,"column":4},"end":{"line":142,"column":4}}]},"9":{"line":164,"type":"if","locations":[{"start":{"line":164,"column":4},"end":{"line":164,"column":4}},{"start":{"line":164,"column":4},"end":{"line":164,"column":4}}]},"10":{"line":212,"type":"if","locations":[{"start":{"line":212,"column":4},"end":{"line":212,"column":4}},{"start":{"line":212,"column":4},"end":{"line":212,"column":4}}]},"11":{"line":216,"type":"if","locations":[{"start":{"line":216,"column":6},"end":{"line":216,"column":6}},{"start":{"line":216,"column":6},"end":{"line":216,"column":6}}]},"12":{"line":217,"type":"if","locations":[{"start":{"line":217,"column":11},"end":{"line":217,"column":11}},{"start":{"line":217,"column":11},"end":{"line":217,"column":11}}]},"13":{"line":229,"type":"if","locations":[{"start":{"line":229,"column":4},"end":{"line":229,"column":4}},{"start":{"line":229,"column":4},"end":{"line":229,"column":4}}]},"14":{"line":229,"type":"binary-expr","locations":[{"start":{"line":229,"column":8},"end":{"line":229,"column":24}},{"start":{"line":229,"column":28},"end":{"line":229,"column":56}}]},"15":{"line":250,"type":"if","locations":[{"start":{"line":250,"column":4},"end":{"line":250,"column":4}},{"start":{"line":250,"column":4},"end":{"line":250,"column":4}}]}}},"./src/marionette.compositeview.js":{"path":"./src/marionette.compositeview.js","s":{"1":1,"2":54,"3":53,"4":44,"5":44,"6":44,"7":69,"8":69,"9":0,"10":69,"11":54,"12":54,"13":41,"14":54,"15":54,"16":54,"17":54,"18":54,"19":54,"20":53,"21":53,"22":53,"23":53,"24":52,"25":52,"26":52,"27":58,"28":57,"29":56,"30":54,"31":54,"32":54,"33":54,"34":54,"35":50,"36":49,"37":50,"38":13,"39":37,"40":37,"41":37,"42":6,"43":6,"44":6,"45":1,"46":31,"47":36,"48":36,"49":54,"50":3},"b":{"1":[44,9],"2":[69,6],"3":[0,69],"4":[41,13],"5":[57,1],"6":[13,37],"7":[6,31],"8":[0,6],"9":[1,5],"10":[3,51]},"f":{"1":54,"2":53,"3":69,"4":54,"5":54,"6":58,"7":54,"8":50,"9":50,"10":54},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":15},"end":{"line":11,"column":25}}},"2":{"name":"(anonymous_2)","line":18,"loc":{"start":{"line":18,"column":18},"end":{"line":18,"column":28}}},"3":{"name":"(anonymous_3)","line":30,"loc":{"start":{"line":30,"column":15},"end":{"line":30,"column":29}}},"4":{"name":"(anonymous_4)","line":43,"loc":{"start":{"line":43,"column":17},"end":{"line":43,"column":27}}},"5":{"name":"(anonymous_5)","line":56,"loc":{"start":{"line":56,"column":10},"end":{"line":56,"column":20}}},"6":{"name":"(anonymous_6)","line":77,"loc":{"start":{"line":77,"column":19},"end":{"line":77,"column":29}}},"7":{"name":"(anonymous_7)","line":87,"loc":{"start":{"line":87,"column":15},"end":{"line":87,"column":25}}},"8":{"name":"(anonymous_8)","line":100,"loc":{"start":{"line":100,"column":14},"end":{"line":100,"column":37}}},"9":{"name":"(anonymous_9)","line":107,"loc":{"start":{"line":107,"column":24},"end":{"line":107,"column":47}}},"10":{"name":"(anonymous_10)","line":131,"loc":{"start":{"line":131,"column":26},"end":{"line":131,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":136,"column":3}},"2":{"start":{"line":12,"column":4},"end":{"line":12,"column":82}},"3":{"start":{"line":19,"column":4},"end":{"line":23,"column":5}},"4":{"start":{"line":20,"column":6},"end":{"line":20,"column":69}},"5":{"start":{"line":21,"column":6},"end":{"line":21,"column":74}},"6":{"start":{"line":22,"column":6},"end":{"line":22,"column":74}},"7":{"start":{"line":31,"column":4},"end":{"line":31,"column":78}},"8":{"start":{"line":33,"column":4},"end":{"line":35,"column":5}},"9":{"start":{"line":34,"column":6},"end":{"line":34,"column":71}},"10":{"start":{"line":37,"column":4},"end":{"line":37,"column":20}},"11":{"start":{"line":44,"column":4},"end":{"line":44,"column":18}},"12":{"start":{"line":46,"column":4},"end":{"line":48,"column":5}},"13":{"start":{"line":47,"column":6},"end":{"line":47,"column":33}},"14":{"start":{"line":50,"column":4},"end":{"line":50,"column":16}},"15":{"start":{"line":57,"column":4},"end":{"line":57,"column":27}},"16":{"start":{"line":58,"column":4},"end":{"line":58,"column":26}},"17":{"start":{"line":59,"column":4},"end":{"line":59,"column":34}},"18":{"start":{"line":61,"column":4},"end":{"line":61,"column":31}},"19":{"start":{"line":62,"column":4},"end":{"line":62,"column":34}},"20":{"start":{"line":63,"column":4},"end":{"line":63,"column":24}},"21":{"start":{"line":67,"column":4},"end":{"line":67,"column":26}},"22":{"start":{"line":68,"column":4},"end":{"line":68,"column":51}},"23":{"start":{"line":70,"column":4},"end":{"line":70,"column":27}},"24":{"start":{"line":72,"column":4},"end":{"line":72,"column":45}},"25":{"start":{"line":73,"column":4},"end":{"line":73,"column":27}},"26":{"start":{"line":74,"column":4},"end":{"line":74,"column":16}},"27":{"start":{"line":78,"column":4},"end":{"line":81,"column":5}},"28":{"start":{"line":79,"column":6},"end":{"line":79,"column":69}},"29":{"start":{"line":80,"column":6},"end":{"line":80,"column":58}},"30":{"start":{"line":88,"column":4},"end":{"line":88,"column":18}},"31":{"start":{"line":89,"column":4},"end":{"line":89,"column":32}},"32":{"start":{"line":90,"column":4},"end":{"line":90,"column":43}},"33":{"start":{"line":92,"column":4},"end":{"line":92,"column":38}},"34":{"start":{"line":93,"column":4},"end":{"line":93,"column":54}},"35":{"start":{"line":101,"column":4},"end":{"line":101,"column":51}},"36":{"start":{"line":102,"column":4},"end":{"line":102,"column":29}},"37":{"start":{"line":108,"column":4},"end":{"line":110,"column":5}},"38":{"start":{"line":109,"column":6},"end":{"line":109,"column":46}},"39":{"start":{"line":112,"column":4},"end":{"line":112,"column":18}},"40":{"start":{"line":113,"column":4},"end":{"line":113,"column":85}},"41":{"start":{"line":114,"column":4},"end":{"line":124,"column":5}},"42":{"start":{"line":116,"column":6},"end":{"line":116,"column":95}},"43":{"start":{"line":117,"column":6},"end":{"line":117,"column":44}},"44":{"start":{"line":118,"column":6},"end":{"line":120,"column":7}},"45":{"start":{"line":119,"column":8},"end":{"line":119,"column":139}},"46":{"start":{"line":123,"column":6},"end":{"line":123,"column":36}},"47":{"start":{"line":126,"column":4},"end":{"line":126,"column":49}},"48":{"start":{"line":127,"column":4},"end":{"line":127,"column":21}},"49":{"start":{"line":132,"column":4},"end":{"line":134,"column":5}},"50":{"start":{"line":133,"column":6},"end":{"line":133,"column":37}}},"branchMap":{"1":{"line":19,"type":"if","locations":[{"start":{"line":19,"column":4},"end":{"line":19,"column":4}},{"start":{"line":19,"column":4},"end":{"line":19,"column":4}}]},"2":{"line":31,"type":"binary-expr","locations":[{"start":{"line":31,"column":19},"end":{"line":31,"column":57}},{"start":{"line":31,"column":61},"end":{"line":31,"column":77}}]},"3":{"line":33,"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":33,"column":4}},{"start":{"line":33,"column":4},"end":{"line":33,"column":4}}]},"4":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":46,"column":4}},{"start":{"line":46,"column":4},"end":{"line":46,"column":4}}]},"5":{"line":78,"type":"if","locations":[{"start":{"line":78,"column":4},"end":{"line":78,"column":4}},{"start":{"line":78,"column":4},"end":{"line":78,"column":4}}]},"6":{"line":108,"type":"if","locations":[{"start":{"line":108,"column":4},"end":{"line":108,"column":4}},{"start":{"line":108,"column":4},"end":{"line":108,"column":4}}]},"7":{"line":114,"type":"if","locations":[{"start":{"line":114,"column":4},"end":{"line":114,"column":4}},{"start":{"line":114,"column":4},"end":{"line":114,"column":4}}]},"8":{"line":116,"type":"cond-expr","locations":[{"start":{"line":116,"column":55},"end":{"line":116,"column":74}},{"start":{"line":116,"column":77},"end":{"line":116,"column":94}}]},"9":{"line":118,"type":"if","locations":[{"start":{"line":118,"column":6},"end":{"line":118,"column":6}},{"start":{"line":118,"column":6},"end":{"line":118,"column":6}}]},"10":{"line":132,"type":"if","locations":[{"start":{"line":132,"column":4},"end":{"line":132,"column":4}},{"start":{"line":132,"column":4},"end":{"line":132,"column":4}}]}}},"./src/marionette.region.js":{"path":"./src/marionette.region.js","s":{"1":1,"2":131,"3":131,"4":131,"5":1,"6":1,"7":1,"8":130,"9":1,"10":1,"11":1,"12":104,"13":104,"14":104,"15":104,"16":104,"17":0,"18":104,"19":104,"20":22,"21":104,"22":80,"23":104,"24":2,"25":104,"26":40,"27":104,"28":62,"29":104,"30":104,"31":63,"32":34,"33":34,"34":33,"35":34,"36":104,"37":1,"38":80,"39":80,"40":80,"41":80,"42":74,"43":80,"44":80,"45":77,"46":80,"47":80,"48":80,"49":85,"50":75,"51":41,"52":74,"53":140,"54":140,"55":102,"56":38,"57":16,"58":22,"59":22,"60":38,"61":38,"62":3,"63":17,"64":17,"65":1},"b":{"1":[131,23],"2":[1,130],"3":[1,129],"4":[0,104],"5":[104,102,80],"6":[22,82],"7":[80,24],"8":[2,102],"9":[40,64],"10":[104,102],"11":[62,42],"12":[63,41],"13":[33,1],"14":[80,77],"15":[74,6],"16":[77,3],"17":[80,6],"18":[75,10],"19":[85,10],"20":[102,38],"21":[140,39],"22":[16,22],"23":[22,0]},"f":{"1":131,"2":104,"3":34,"4":80,"5":85,"6":41,"7":74,"8":140,"9":3,"10":17},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":20},"end":{"line":7,"column":37}}},"2":{"name":"(anonymous_2)","line":44,"loc":{"start":{"line":44,"column":15},"end":{"line":44,"column":56}}},"3":{"name":"(anonymous_3)","line":94,"loc":{"start":{"line":94,"column":21},"end":{"line":94,"column":40}}},"4":{"name":"(anonymous_4)","line":118,"loc":{"start":{"line":118,"column":8},"end":{"line":118,"column":22}}},"5":{"name":"(anonymous_5)","line":142,"loc":{"start":{"line":142,"column":12},"end":{"line":142,"column":22}}},"6":{"name":"(anonymous_6)","line":150,"loc":{"start":{"line":150,"column":9},"end":{"line":150,"column":27}}},"7":{"name":"(anonymous_7)","line":156,"loc":{"start":{"line":156,"column":8},"end":{"line":156,"column":22}}},"8":{"name":"(anonymous_8)","line":162,"loc":{"start":{"line":162,"column":9},"end":{"line":162,"column":19}}},"9":{"name":"(anonymous_9)","line":179,"loc":{"start":{"line":179,"column":14},"end":{"line":179,"column":28}}},"10":{"name":"(anonymous_10)","line":187,"loc":{"start":{"line":187,"column":9},"end":{"line":187,"column":19}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":22,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":31}},"3":{"start":{"line":10,"column":2},"end":{"line":10,"column":45}},"4":{"start":{"line":12,"column":2},"end":{"line":16,"column":3}},"5":{"start":{"line":13,"column":4},"end":{"line":13,"column":67}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":27}},"7":{"start":{"line":15,"column":4},"end":{"line":15,"column":14}},"8":{"start":{"line":18,"column":2},"end":{"line":21,"column":3}},"9":{"start":{"line":19,"column":4},"end":{"line":19,"column":54}},"10":{"start":{"line":20,"column":4},"end":{"line":20,"column":38}},"11":{"start":{"line":28,"column":0},"end":{"line":106,"column":3}},"12":{"start":{"line":46,"column":4},"end":{"line":46,"column":60}},"13":{"start":{"line":47,"column":4},"end":{"line":47,"column":77}},"14":{"start":{"line":48,"column":4},"end":{"line":48,"column":81}},"15":{"start":{"line":49,"column":4},"end":{"line":49,"column":60}},"16":{"start":{"line":51,"column":4},"end":{"line":53,"column":5}},"17":{"start":{"line":52,"column":6},"end":{"line":52,"column":122}},"18":{"start":{"line":55,"column":4},"end":{"line":55,"column":29}},"19":{"start":{"line":59,"column":4},"end":{"line":61,"column":5}},"20":{"start":{"line":60,"column":6},"end":{"line":60,"column":30}},"21":{"start":{"line":63,"column":4},"end":{"line":65,"column":5}},"22":{"start":{"line":64,"column":6},"end":{"line":64,"column":39}},"23":{"start":{"line":69,"column":4},"end":{"line":71,"column":5}},"24":{"start":{"line":70,"column":6},"end":{"line":70,"column":32}},"25":{"start":{"line":73,"column":4},"end":{"line":75,"column":5}},"26":{"start":{"line":74,"column":6},"end":{"line":74,"column":37}},"27":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"28":{"start":{"line":78,"column":6},"end":{"line":78,"column":43}},"29":{"start":{"line":82,"column":4},"end":{"line":84,"column":7}},"30":{"start":{"line":92,"column":4},"end":{"line":101,"column":5}},"31":{"start":{"line":94,"column":6},"end":{"line":100,"column":8}},"32":{"start":{"line":95,"column":8},"end":{"line":95,"column":45}},"33":{"start":{"line":96,"column":8},"end":{"line":98,"column":9}},"34":{"start":{"line":97,"column":10},"end":{"line":97,"column":32}},"35":{"start":{"line":99,"column":8},"end":{"line":99,"column":39}},"36":{"start":{"line":103,"column":4},"end":{"line":103,"column":18}},"37":{"start":{"line":111,"column":0},"end":{"line":191,"column":3}},"38":{"start":{"line":120,"column":4},"end":{"line":120,"column":20}},"39":{"start":{"line":122,"column":4},"end":{"line":122,"column":64}},"40":{"start":{"line":124,"column":4},"end":{"line":124,"column":52}},"41":{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},"42":{"start":{"line":127,"column":6},"end":{"line":127,"column":19}},"43":{"start":{"line":130,"column":4},"end":{"line":130,"column":18}},"44":{"start":{"line":132,"column":4},"end":{"line":134,"column":5}},"45":{"start":{"line":133,"column":6},"end":{"line":133,"column":22}},"46":{"start":{"line":136,"column":4},"end":{"line":136,"column":28}},"47":{"start":{"line":138,"column":4},"end":{"line":138,"column":54}},"48":{"start":{"line":139,"column":4},"end":{"line":139,"column":48}},"49":{"start":{"line":143,"column":4},"end":{"line":145,"column":5}},"50":{"start":{"line":144,"column":6},"end":{"line":144,"column":37}},"51":{"start":{"line":151,"column":4},"end":{"line":151,"column":34}},"52":{"start":{"line":157,"column":4},"end":{"line":157,"column":37}},"53":{"start":{"line":163,"column":4},"end":{"line":163,"column":32}},"54":{"start":{"line":164,"column":4},"end":{"line":164,"column":42}},"55":{"start":{"line":164,"column":33},"end":{"line":164,"column":40}},"56":{"start":{"line":167,"column":4},"end":{"line":168,"column":44}},"57":{"start":{"line":167,"column":22},"end":{"line":167,"column":35}},"58":{"start":{"line":168,"column":9},"end":{"line":168,"column":44}},"59":{"start":{"line":168,"column":28},"end":{"line":168,"column":42}},"60":{"start":{"line":170,"column":4},"end":{"line":170,"column":49}},"61":{"start":{"line":172,"column":4},"end":{"line":172,"column":28}},"62":{"start":{"line":180,"column":4},"end":{"line":180,"column":28}},"63":{"start":{"line":188,"column":4},"end":{"line":188,"column":17}},"64":{"start":{"line":189,"column":4},"end":{"line":189,"column":20}},"65":{"start":{"line":194,"column":0},"end":{"line":194,"column":45}}},"branchMap":{"1":{"line":8,"type":"binary-expr","locations":[{"start":{"line":8,"column":17},"end":{"line":8,"column":24}},{"start":{"line":8,"column":28},"end":{"line":8,"column":30}}]},"2":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":12,"column":2}},{"start":{"line":12,"column":2},"end":{"line":12,"column":2}}]},"3":{"line":18,"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":18,"column":2}},{"start":{"line":18,"column":2},"end":{"line":18,"column":2}}]},"4":{"line":51,"type":"if","locations":[{"start":{"line":51,"column":4},"end":{"line":51,"column":4}},{"start":{"line":51,"column":4},"end":{"line":51,"column":4}}]},"5":{"line":51,"type":"binary-expr","locations":[{"start":{"line":51,"column":8},"end":{"line":51,"column":21}},{"start":{"line":51,"column":25},"end":{"line":51,"column":40}},{"start":{"line":51,"column":44},"end":{"line":51,"column":67}}]},"6":{"line":59,"type":"if","locations":[{"start":{"line":59,"column":4},"end":{"line":59,"column":4}},{"start":{"line":59,"column":4},"end":{"line":59,"column":4}}]},"7":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":4}},{"start":{"line":63,"column":4},"end":{"line":63,"column":4}}]},"8":{"line":69,"type":"if","locations":[{"start":{"line":69,"column":4},"end":{"line":69,"column":4}},{"start":{"line":69,"column":4},"end":{"line":69,"column":4}}]},"9":{"line":73,"type":"if","locations":[{"start":{"line":73,"column":4},"end":{"line":73,"column":4}},{"start":{"line":73,"column":4},"end":{"line":73,"column":4}}]},"10":{"line":73,"type":"binary-expr","locations":[{"start":{"line":73,"column":8},"end":{"line":73,"column":21}},{"start":{"line":73,"column":25},"end":{"line":73,"column":46}}]},"11":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"12":{"line":92,"type":"if","locations":[{"start":{"line":92,"column":4},"end":{"line":92,"column":4}},{"start":{"line":92,"column":4},"end":{"line":92,"column":4}}]},"13":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":8},"end":{"line":96,"column":8}},{"start":{"line":96,"column":8},"end":{"line":96,"column":8}}]},"14":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":23},"end":{"line":122,"column":36}},{"start":{"line":122,"column":40},"end":{"line":122,"column":63}}]},"15":{"line":126,"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":126,"column":4}},{"start":{"line":126,"column":4},"end":{"line":126,"column":4}}]},"16":{"line":132,"type":"if","locations":[{"start":{"line":132,"column":4},"end":{"line":132,"column":4}},{"start":{"line":132,"column":4},"end":{"line":132,"column":4}}]},"17":{"line":132,"type":"binary-expr","locations":[{"start":{"line":132,"column":8},"end":{"line":132,"column":23}},{"start":{"line":132,"column":27},"end":{"line":132,"column":39}}]},"18":{"line":143,"type":"if","locations":[{"start":{"line":143,"column":4},"end":{"line":143,"column":4}},{"start":{"line":143,"column":4},"end":{"line":143,"column":4}}]},"19":{"line":143,"type":"binary-expr","locations":[{"start":{"line":143,"column":8},"end":{"line":143,"column":17}},{"start":{"line":143,"column":21},"end":{"line":143,"column":42}}]},"20":{"line":164,"type":"if","locations":[{"start":{"line":164,"column":4},"end":{"line":164,"column":4}},{"start":{"line":164,"column":4},"end":{"line":164,"column":4}}]},"21":{"line":164,"type":"binary-expr","locations":[{"start":{"line":164,"column":8},"end":{"line":164,"column":13}},{"start":{"line":164,"column":17},"end":{"line":164,"column":30}}]},"22":{"line":167,"type":"if","locations":[{"start":{"line":167,"column":4},"end":{"line":167,"column":4}},{"start":{"line":167,"column":4},"end":{"line":167,"column":4}}]},"23":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":9},"end":{"line":168,"column":9}},{"start":{"line":168,"column":9},"end":{"line":168,"column":9}}]}}},"./src/marionette.regionManager.js":{"path":"./src/marionette.regionManager.js","s":{"1":1,"2":1,"3":167,"4":167,"5":64,"6":64,"7":82,"8":65,"9":82,"10":78,"11":82,"12":82,"13":64,"14":110,"15":110,"16":110,"17":110,"18":110,"19":102,"20":8,"21":2,"22":6,"23":110,"24":110,"25":110,"26":17,"27":10,"28":10,"29":11,"30":18,"31":15,"32":19,"33":8,"34":8,"35":8,"36":110,"37":110,"38":28,"39":28,"40":28,"41":28,"42":138,"43":1,"44":1,"45":23,"46":13,"47":13,"48":13,"49":1},"b":{"1":[65,17],"2":[78,4],"3":[102,8],"4":[110,88,88],"5":[2,6]},"f":{"1":1,"2":167,"3":64,"4":82,"5":110,"6":17,"7":10,"8":11,"9":18,"10":15,"11":19,"12":8,"13":110,"14":28,"15":138,"16":23,"17":13},"fnMap":{"1":{"name":"(anonymous_1)","line":5,"loc":{"start":{"line":5,"column":28},"end":{"line":5,"column":48}}},"2":{"name":"(anonymous_2)","line":8,"loc":{"start":{"line":8,"column":17},"end":{"line":8,"column":34}}},"3":{"name":"(anonymous_3)","line":16,"loc":{"start":{"line":16,"column":16},"end":{"line":16,"column":53}}},"4":{"name":"(anonymous_4)","line":19,"loc":{"start":{"line":19,"column":32},"end":{"line":19,"column":58}}},"5":{"name":"(anonymous_5)","line":37,"loc":{"start":{"line":37,"column":15},"end":{"line":37,"column":41}}},"6":{"name":"(anonymous_6)","line":58,"loc":{"start":{"line":58,"column":9},"end":{"line":58,"column":23}}},"7":{"name":"(anonymous_7)","line":63,"loc":{"start":{"line":63,"column":18},"end":{"line":63,"column":32}}},"8":{"name":"(anonymous_8)","line":70,"loc":{"start":{"line":70,"column":19},"end":{"line":70,"column":29}}},"9":{"name":"(anonymous_9)","line":71,"loc":{"start":{"line":71,"column":28},"end":{"line":71,"column":50}}},"10":{"name":"(anonymous_10)","line":78,"loc":{"start":{"line":78,"column":18},"end":{"line":78,"column":28}}},"11":{"name":"(anonymous_11)","line":79,"loc":{"start":{"line":79,"column":28},"end":{"line":79,"column":50}}},"12":{"name":"(anonymous_12)","line":86,"loc":{"start":{"line":86,"column":11},"end":{"line":86,"column":21}}},"13":{"name":"(anonymous_13)","line":93,"loc":{"start":{"line":93,"column":12},"end":{"line":93,"column":34}}},"14":{"name":"(anonymous_14)","line":99,"loc":{"start":{"line":99,"column":13},"end":{"line":99,"column":35}}},"15":{"name":"(anonymous_15)","line":107,"loc":{"start":{"line":107,"column":16},"end":{"line":107,"column":26}}},"16":{"name":"(anonymous_16)","line":123,"loc":{"start":{"line":123,"column":18},"end":{"line":123,"column":35}}},"17":{"name":"(anonymous_17)","line":124,"loc":{"start":{"line":124,"column":38},"end":{"line":124,"column":49}}}},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":132,"column":15}},"2":{"start":{"line":7,"column":2},"end":{"line":111,"column":5}},"3":{"start":{"line":9,"column":6},"end":{"line":9,"column":25}},"4":{"start":{"line":10,"column":6},"end":{"line":10,"column":70}},"5":{"start":{"line":17,"column":6},"end":{"line":17,"column":23}},"6":{"start":{"line":19,"column":6},"end":{"line":30,"column":15}},"7":{"start":{"line":20,"column":8},"end":{"line":22,"column":9}},"8":{"start":{"line":21,"column":10},"end":{"line":21,"column":48}},"9":{"start":{"line":24,"column":8},"end":{"line":26,"column":9}},"10":{"start":{"line":25,"column":10},"end":{"line":25,"column":60}},"11":{"start":{"line":28,"column":8},"end":{"line":28,"column":54}},"12":{"start":{"line":29,"column":8},"end":{"line":29,"column":31}},"13":{"start":{"line":32,"column":6},"end":{"line":32,"column":21}},"14":{"start":{"line":38,"column":6},"end":{"line":38,"column":17}},"15":{"start":{"line":40,"column":6},"end":{"line":40,"column":44}},"16":{"start":{"line":41,"column":6},"end":{"line":41,"column":44}},"17":{"start":{"line":42,"column":6},"end":{"line":42,"column":46}},"18":{"start":{"line":44,"column":6},"end":{"line":50,"column":7}},"19":{"start":{"line":45,"column":8},"end":{"line":45,"column":78}},"20":{"start":{"line":46,"column":13},"end":{"line":50,"column":7}},"21":{"start":{"line":47,"column":8},"end":{"line":47,"column":78}},"22":{"start":{"line":49,"column":8},"end":{"line":49,"column":28}},"23":{"start":{"line":52,"column":6},"end":{"line":52,"column":32}},"24":{"start":{"line":53,"column":6},"end":{"line":53,"column":53}},"25":{"start":{"line":54,"column":6},"end":{"line":54,"column":20}},"26":{"start":{"line":59,"column":6},"end":{"line":59,"column":33}},"27":{"start":{"line":64,"column":6},"end":{"line":64,"column":39}},"28":{"start":{"line":65,"column":6},"end":{"line":65,"column":33}},"29":{"start":{"line":71,"column":6},"end":{"line":73,"column":15}},"30":{"start":{"line":72,"column":8},"end":{"line":72,"column":35}},"31":{"start":{"line":79,"column":6},"end":{"line":81,"column":15}},"32":{"start":{"line":80,"column":8},"end":{"line":80,"column":23}},"33":{"start":{"line":87,"column":6},"end":{"line":87,"column":27}},"34":{"start":{"line":88,"column":6},"end":{"line":88,"column":55}},"35":{"start":{"line":89,"column":6},"end":{"line":89,"column":62}},"36":{"start":{"line":94,"column":6},"end":{"line":94,"column":35}},"37":{"start":{"line":95,"column":6},"end":{"line":95,"column":24}},"38":{"start":{"line":100,"column":6},"end":{"line":100,"column":21}},"39":{"start":{"line":101,"column":6},"end":{"line":101,"column":33}},"40":{"start":{"line":102,"column":6},"end":{"line":102,"column":24}},"41":{"start":{"line":103,"column":6},"end":{"line":103,"column":56}},"42":{"start":{"line":108,"column":6},"end":{"line":108,"column":42}},"43":{"start":{"line":118,"column":2},"end":{"line":121,"column":43}},"44":{"start":{"line":123,"column":2},"end":{"line":129,"column":5}},"45":{"start":{"line":124,"column":4},"end":{"line":128,"column":6}},"46":{"start":{"line":125,"column":6},"end":{"line":125,"column":44}},"47":{"start":{"line":126,"column":6},"end":{"line":126,"column":56}},"48":{"start":{"line":127,"column":6},"end":{"line":127,"column":38}},"49":{"start":{"line":131,"column":2},"end":{"line":131,"column":23}}},"branchMap":{"1":{"line":20,"type":"if","locations":[{"start":{"line":20,"column":8},"end":{"line":20,"column":8}},{"start":{"line":20,"column":8},"end":{"line":20,"column":8}}]},"2":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":8}},{"start":{"line":24,"column":8},"end":{"line":24,"column":8}}]},"3":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":6},"end":{"line":44,"column":6}},{"start":{"line":44,"column":6},"end":{"line":44,"column":6}}]},"4":{"line":44,"type":"binary-expr","locations":[{"start":{"line":44,"column":10},"end":{"line":44,"column":18}},{"start":{"line":44,"column":23},"end":{"line":44,"column":31}},{"start":{"line":44,"column":35},"end":{"line":44,"column":46}}]},"5":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":13},"end":{"line":46,"column":13}},{"start":{"line":46,"column":13},"end":{"line":46,"column":13}}]}}},"./src/marionette.layout.js":{"path":"./src/marionette.layout.js","s":{"1":1,"2":36,"3":36,"4":36,"5":36,"6":42,"7":2,"8":42,"9":29,"10":13,"11":12,"12":42,"13":42,"14":42,"15":5,"16":0,"17":5,"18":5,"19":5,"20":11,"21":11,"22":11,"23":38,"24":38,"25":4,"26":4,"27":49,"28":49,"29":32,"30":49,"31":38,"32":38,"33":38,"34":2,"35":36,"36":38,"37":12,"38":12,"39":15,"40":38,"41":38,"42":59,"43":59,"44":38,"45":13,"46":13},"b":{"1":[36,20],"2":[2,40],"3":[29,13],"4":[12,1],"5":[0,5],"6":[2,36],"7":[36,13]},"f":{"1":36,"2":42,"3":5,"4":11,"5":38,"6":4,"7":49,"8":32,"9":38,"10":12,"11":15,"12":38,"13":59,"14":13},"fnMap":{"1":{"name":"(anonymous_1)","line":15,"loc":{"start":{"line":15,"column":15},"end":{"line":15,"column":34}}},"2":{"name":"(anonymous_2)","line":28,"loc":{"start":{"line":28,"column":10},"end":{"line":28,"column":20}}},"3":{"name":"(anonymous_3)","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":52,"column":21}}},"4":{"name":"(anonymous_4)","line":60,"loc":{"start":{"line":60,"column":13},"end":{"line":60,"column":39}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":14},"end":{"line":67,"column":31}}},"6":{"name":"(anonymous_6)","line":73,"loc":{"start":{"line":73,"column":16},"end":{"line":73,"column":30}}},"7":{"name":"(anonymous_7)","line":79,"loc":{"start":{"line":79,"column":17},"end":{"line":79,"column":34}}},"8":{"name":"(anonymous_8)","line":84,"loc":{"start":{"line":84,"column":16},"end":{"line":84,"column":26}}},"9":{"name":"(anonymous_9)","line":92,"loc":{"start":{"line":92,"column":22},"end":{"line":92,"column":41}}},"10":{"name":"(anonymous_10)","line":107,"loc":{"start":{"line":107,"column":24},"end":{"line":107,"column":34}}},"11":{"name":"(anonymous_11)","line":109,"loc":{"start":{"line":109,"column":28},"end":{"line":109,"column":44}}},"12":{"name":"(anonymous_12)","line":116,"loc":{"start":{"line":116,"column":22},"end":{"line":116,"column":32}}},"13":{"name":"(anonymous_13)","line":119,"loc":{"start":{"line":119,"column":52},"end":{"line":119,"column":74}}},"14":{"name":"(anonymous_14)","line":124,"loc":{"start":{"line":124,"column":55},"end":{"line":124,"column":77}}}},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":129,"column":3}},"2":{"start":{"line":16,"column":4},"end":{"line":16,"column":28}},"3":{"start":{"line":18,"column":4},"end":{"line":18,"column":29}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":37}},"5":{"start":{"line":21,"column":4},"end":{"line":21,"column":66}},"6":{"start":{"line":30,"column":4},"end":{"line":34,"column":5}},"7":{"start":{"line":33,"column":6},"end":{"line":33,"column":32}},"8":{"start":{"line":35,"column":4},"end":{"line":43,"column":5}},"9":{"start":{"line":38,"column":6},"end":{"line":38,"column":32}},"10":{"start":{"line":39,"column":11},"end":{"line":43,"column":5}},"11":{"start":{"line":42,"column":6},"end":{"line":42,"column":34}},"12":{"start":{"line":45,"column":4},"end":{"line":45,"column":54}},"13":{"start":{"line":46,"column":4},"end":{"line":46,"column":72}},"14":{"start":{"line":48,"column":4},"end":{"line":48,"column":18}},"15":{"start":{"line":53,"column":4},"end":{"line":53,"column":33}},"16":{"start":{"line":53,"column":24},"end":{"line":53,"column":31}},"17":{"start":{"line":54,"column":4},"end":{"line":54,"column":31}},"18":{"start":{"line":55,"column":4},"end":{"line":55,"column":54}},"19":{"start":{"line":56,"column":4},"end":{"line":56,"column":58}},"20":{"start":{"line":61,"column":4},"end":{"line":61,"column":21}},"21":{"start":{"line":62,"column":4},"end":{"line":62,"column":31}},"22":{"start":{"line":63,"column":4},"end":{"line":63,"column":45}},"23":{"start":{"line":68,"column":4},"end":{"line":68,"column":55}},"24":{"start":{"line":69,"column":4},"end":{"line":69,"column":39}},"25":{"start":{"line":74,"column":4},"end":{"line":74,"column":30}},"26":{"start":{"line":75,"column":4},"end":{"line":75,"column":49}},"27":{"start":{"line":80,"column":4},"end":{"line":80,"column":20}},"28":{"start":{"line":82,"column":4},"end":{"line":85,"column":6}},"29":{"start":{"line":84,"column":28},"end":{"line":84,"column":44}},"30":{"start":{"line":87,"column":4},"end":{"line":87,"column":60}},"31":{"start":{"line":93,"column":4},"end":{"line":93,"column":16}},"32":{"start":{"line":94,"column":4},"end":{"line":94,"column":30}},"33":{"start":{"line":96,"column":4},"end":{"line":100,"column":5}},"34":{"start":{"line":97,"column":6},"end":{"line":97,"column":38}},"35":{"start":{"line":99,"column":6},"end":{"line":99,"column":35}},"36":{"start":{"line":102,"column":4},"end":{"line":102,"column":29}},"37":{"start":{"line":108,"column":4},"end":{"line":108,"column":38}},"38":{"start":{"line":109,"column":4},"end":{"line":111,"column":7}},"39":{"start":{"line":110,"column":6},"end":{"line":110,"column":21}},"40":{"start":{"line":117,"column":4},"end":{"line":117,"column":56}},"41":{"start":{"line":119,"column":4},"end":{"line":122,"column":7}},"42":{"start":{"line":120,"column":6},"end":{"line":120,"column":26}},"43":{"start":{"line":121,"column":6},"end":{"line":121,"column":47}},"44":{"start":{"line":124,"column":4},"end":{"line":127,"column":7}},"45":{"start":{"line":125,"column":6},"end":{"line":125,"column":24}},"46":{"start":{"line":126,"column":6},"end":{"line":126,"column":50}}},"branchMap":{"1":{"line":16,"type":"binary-expr","locations":[{"start":{"line":16,"column":14},"end":{"line":16,"column":21}},{"start":{"line":16,"column":25},"end":{"line":16,"column":27}}]},"2":{"line":30,"type":"if","locations":[{"start":{"line":30,"column":4},"end":{"line":30,"column":4}},{"start":{"line":30,"column":4},"end":{"line":30,"column":4}}]},"3":{"line":35,"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":35,"column":4}},{"start":{"line":35,"column":4},"end":{"line":35,"column":4}}]},"4":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":11},"end":{"line":39,"column":11}},{"start":{"line":39,"column":11},"end":{"line":39,"column":11}}]},"5":{"line":53,"type":"if","locations":[{"start":{"line":53,"column":4},"end":{"line":53,"column":4}},{"start":{"line":53,"column":4},"end":{"line":53,"column":4}}]},"6":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":4},"end":{"line":96,"column":4}},{"start":{"line":96,"column":4},"end":{"line":96,"column":4}}]},"7":{"line":99,"type":"binary-expr","locations":[{"start":{"line":99,"column":16},"end":{"line":99,"column":28}},{"start":{"line":99,"column":32},"end":{"line":99,"column":34}}]}}},"./src/marionette.application.js":{"path":"./src/marionette.application.js","s":{"1":1,"2":101,"3":101,"4":101,"5":101,"6":101,"7":101,"8":101,"9":101,"10":1,"11":0,"12":0,"13":0,"14":0,"15":75,"16":36,"17":36,"18":36,"19":36,"20":10,"21":1,"22":2,"23":1,"24":140,"25":140,"26":140,"27":101,"28":101,"29":15,"30":101,"31":2,"32":1},"b":{},"f":{"1":101,"2":0,"3":0,"4":75,"5":36,"6":10,"7":1,"8":2,"9":1,"10":140,"11":101,"12":15,"13":2},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":25},"end":{"line":7,"column":42}}},"2":{"name":"(anonymous_2)","line":22,"loc":{"start":{"line":22,"column":11},"end":{"line":22,"column":21}}},"3":{"name":"(anonymous_3)","line":28,"loc":{"start":{"line":28,"column":11},"end":{"line":28,"column":21}}},"4":{"name":"(anonymous_4)","line":36,"loc":{"start":{"line":36,"column":18},"end":{"line":36,"column":39}}},"5":{"name":"(anonymous_5)","line":43,"loc":{"start":{"line":43,"column":9},"end":{"line":43,"column":26}}},"6":{"name":"(anonymous_6)","line":55,"loc":{"start":{"line":55,"column":14},"end":{"line":55,"column":31}}},"7":{"name":"(anonymous_7)","line":60,"loc":{"start":{"line":60,"column":16},"end":{"line":60,"column":26}}},"8":{"name":"(anonymous_8)","line":67,"loc":{"start":{"line":67,"column":16},"end":{"line":67,"column":33}}},"9":{"name":"(anonymous_9)","line":74,"loc":{"start":{"line":74,"column":13},"end":{"line":74,"column":30}}},"10":{"name":"(anonymous_10)","line":79,"loc":{"start":{"line":79,"column":10},"end":{"line":79,"column":49}}},"11":{"name":"(anonymous_11)","line":90,"loc":{"start":{"line":90,"column":22},"end":{"line":90,"column":32}}},"12":{"name":"(anonymous_12)","line":93,"loc":{"start":{"line":93,"column":53},"end":{"line":93,"column":75}}},"13":{"name":"(anonymous_13)","line":97,"loc":{"start":{"line":97,"column":56},"end":{"line":97,"column":78}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":18,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":28}},"3":{"start":{"line":9,"column":2},"end":{"line":9,"column":51}},"4":{"start":{"line":10,"column":2},"end":{"line":10,"column":51}},"5":{"start":{"line":11,"column":2},"end":{"line":11,"column":48}},"6":{"start":{"line":12,"column":2},"end":{"line":12,"column":53}},"7":{"start":{"line":13,"column":2},"end":{"line":13,"column":23}},"8":{"start":{"line":15,"column":2},"end":{"line":15,"column":26}},"9":{"start":{"line":17,"column":2},"end":{"line":17,"column":48}},"10":{"start":{"line":20,"column":0},"end":{"line":101,"column":3}},"11":{"start":{"line":23,"column":4},"end":{"line":23,"column":54}},"12":{"start":{"line":24,"column":4},"end":{"line":24,"column":53}},"13":{"start":{"line":29,"column":4},"end":{"line":29,"column":54}},"14":{"start":{"line":30,"column":4},"end":{"line":30,"column":56}},"15":{"start":{"line":37,"column":4},"end":{"line":37,"column":41}},"16":{"start":{"line":44,"column":4},"end":{"line":44,"column":53}},"17":{"start":{"line":45,"column":4},"end":{"line":45,"column":43}},"18":{"start":{"line":46,"column":4},"end":{"line":46,"column":52}},"19":{"start":{"line":48,"column":4},"end":{"line":48,"column":41}},"20":{"start":{"line":56,"column":4},"end":{"line":56,"column":51}},"21":{"start":{"line":61,"column":4},"end":{"line":61,"column":39}},"22":{"start":{"line":68,"column":4},"end":{"line":68,"column":45}},"23":{"start":{"line":75,"column":4},"end":{"line":75,"column":43}},"24":{"start":{"line":82,"column":4},"end":{"line":82,"column":32}},"25":{"start":{"line":83,"column":4},"end":{"line":83,"column":23}},"26":{"start":{"line":86,"column":4},"end":{"line":86,"column":67}},"27":{"start":{"line":91,"column":4},"end":{"line":91,"column":57}},"28":{"start":{"line":93,"column":4},"end":{"line":95,"column":7}},"29":{"start":{"line":94,"column":6},"end":{"line":94,"column":26}},"30":{"start":{"line":97,"column":4},"end":{"line":99,"column":7}},"31":{"start":{"line":98,"column":6},"end":{"line":98,"column":24}},"32":{"start":{"line":104,"column":0},"end":{"line":104,"column":50}}},"branchMap":{}},"./src/marionette.approuter.js":{"path":"./src/marionette.approuter.js","s":{"1":1,"2":13,"3":13,"4":13,"5":13,"6":13,"7":1,"8":1,"9":13,"10":2,"11":11,"12":11,"13":15,"14":14,"15":16,"16":16,"17":1,"18":15},"b":{"1":[13,3],"2":[2,11],"3":[1,15]},"f":{"1":13,"2":1,"3":13,"4":15,"5":14,"6":16},"fnMap":{"1":{"name":"(anonymous_1)","line":21,"loc":{"start":{"line":21,"column":15},"end":{"line":21,"column":32}}},"2":{"name":"(anonymous_2)","line":33,"loc":{"start":{"line":33,"column":12},"end":{"line":33,"column":40}}},"3":{"name":"(anonymous_3)","line":41,"loc":{"start":{"line":41,"column":20},"end":{"line":41,"column":52}}},"4":{"name":"(anonymous_4)","line":46,"loc":{"start":{"line":46,"column":23},"end":{"line":46,"column":39}}},"5":{"name":"(anonymous_5)","line":51,"loc":{"start":{"line":51,"column":18},"end":{"line":51,"column":28}}},"6":{"name":"(anonymous_6)","line":55,"loc":{"start":{"line":55,"column":16},"end":{"line":55,"column":55}}}},"statementMap":{"1":{"start":{"line":19,"column":0},"end":{"line":64,"column":3}},"2":{"start":{"line":22,"column":4},"end":{"line":22,"column":72}},"3":{"start":{"line":24,"column":4},"end":{"line":24,"column":33}},"4":{"start":{"line":26,"column":4},"end":{"line":26,"column":60}},"5":{"start":{"line":27,"column":4},"end":{"line":27,"column":43}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":49}},"7":{"start":{"line":34,"column":4},"end":{"line":34,"column":43}},"8":{"start":{"line":35,"column":4},"end":{"line":35,"column":53}},"9":{"start":{"line":42,"column":4},"end":{"line":42,"column":30}},"10":{"start":{"line":42,"column":21},"end":{"line":42,"column":28}},"11":{"start":{"line":44,"column":4},"end":{"line":44,"column":49}},"12":{"start":{"line":46,"column":4},"end":{"line":48,"column":13}},"13":{"start":{"line":47,"column":6},"end":{"line":47,"column":61}},"14":{"start":{"line":52,"column":4},"end":{"line":52,"column":52}},"15":{"start":{"line":56,"column":4},"end":{"line":56,"column":40}},"16":{"start":{"line":58,"column":4},"end":{"line":60,"column":5}},"17":{"start":{"line":59,"column":6},"end":{"line":59,"column":85}},"18":{"start":{"line":62,"column":4},"end":{"line":62,"column":62}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":19},"end":{"line":24,"column":26}},{"start":{"line":24,"column":30},"end":{"line":24,"column":32}}]},"2":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":4},"end":{"line":42,"column":4}},{"start":{"line":42,"column":4},"end":{"line":42,"column":4}}]},"3":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":58,"column":4}},{"start":{"line":58,"column":4},"end":{"line":58,"column":4}}]}}},"./src/marionette.module.js":{"path":"./src/marionette.module.js","s":{"1":1,"2":132,"3":132,"4":132,"5":132,"6":132,"7":132,"8":1,"9":96,"10":14,"11":125,"12":28,"13":97,"14":33,"15":29,"16":97,"17":97,"18":97,"19":97,"20":16,"21":2,"22":14,"23":14,"24":14,"25":12,"26":14,"27":14,"28":14,"29":14,"30":81,"31":81,"32":0,"33":81,"34":81,"35":132,"36":132,"37":1,"38":140,"39":140,"40":140,"41":140,"42":140,"43":140,"44":140,"45":140,"46":193,"47":193,"48":193,"49":140,"50":193,"51":193,"52":132,"53":132,"54":132,"55":193,"56":193,"57":193,"58":193,"59":76,"60":76,"61":117,"62":6,"63":6,"64":111,"65":193,"66":81,"67":193,"68":193,"69":118,"70":118,"71":47,"72":45},"b":{"1":[28,97],"2":[29,4],"3":[2,14],"4":[0,81],"5":[132,61],"6":[76,117],"7":[6,111],"8":[81,112],"9":[193,175],"10":[118,75],"11":[193,169],"12":[45,2]},"f":{"1":132,"2":96,"3":14,"4":125,"5":33,"6":16,"7":12,"8":81,"9":81,"10":132,"11":140,"12":193,"13":193,"14":193,"15":47},"fnMap":{"1":{"name":"(anonymous_1)","line":6,"loc":{"start":{"line":6,"column":20},"end":{"line":6,"column":45}}},"2":{"name":"(anonymous_2)","line":27,"loc":{"start":{"line":27,"column":18},"end":{"line":27,"column":36}}},"3":{"name":"(anonymous_3)","line":34,"loc":{"start":{"line":34,"column":16},"end":{"line":34,"column":34}}},"4":{"name":"(anonymous_4)","line":39,"loc":{"start":{"line":39,"column":9},"end":{"line":39,"column":26}}},"5":{"name":"(anonymous_5)","line":44,"loc":{"start":{"line":44,"column":28},"end":{"line":44,"column":41}}},"6":{"name":"(anonymous_6)","line":62,"loc":{"start":{"line":62,"column":8},"end":{"line":62,"column":18}}},"7":{"name":"(anonymous_7)","line":71,"loc":{"start":{"line":71,"column":28},"end":{"line":71,"column":41}}},"8":{"name":"(anonymous_8)","line":85,"loc":{"start":{"line":85,"column":17},"end":{"line":85,"column":55}}},"9":{"name":"(anonymous_9)","line":91,"loc":{"start":{"line":91,"column":24},"end":{"line":91,"column":56}}},"10":{"name":"(anonymous_10)","line":110,"loc":{"start":{"line":110,"column":35},"end":{"line":110,"column":45}}},"11":{"name":"(anonymous_11)","line":120,"loc":{"start":{"line":120,"column":10},"end":{"line":120,"column":54}}},"12":{"name":"(anonymous_12)","line":137,"loc":{"start":{"line":137,"column":24},"end":{"line":137,"column":47}}},"13":{"name":"(anonymous_13)","line":147,"loc":{"start":{"line":147,"column":14},"end":{"line":147,"column":64}}},"14":{"name":"(anonymous_14)","line":162,"loc":{"start":{"line":162,"column":24},"end":{"line":162,"column":65}}},"15":{"name":"(anonymous_15)","line":197,"loc":{"start":{"line":197,"column":34},"end":{"line":197,"column":51}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":19,"column":2}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":31}},"3":{"start":{"line":10,"column":2},"end":{"line":10,"column":23}},"4":{"start":{"line":12,"column":2},"end":{"line":12,"column":41}},"5":{"start":{"line":15,"column":2},"end":{"line":15,"column":17}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":30}},"7":{"start":{"line":18,"column":2},"end":{"line":18,"column":48}},"8":{"start":{"line":23,"column":0},"end":{"line":114,"column":3}},"9":{"start":{"line":28,"column":4},"end":{"line":28,"column":45}},"10":{"start":{"line":35,"column":4},"end":{"line":35,"column":43}},"11":{"start":{"line":41,"column":4},"end":{"line":41,"column":39}},"12":{"start":{"line":41,"column":30},"end":{"line":41,"column":37}},"13":{"start":{"line":44,"column":4},"end":{"line":49,"column":7}},"14":{"start":{"line":46,"column":6},"end":{"line":48,"column":7}},"15":{"start":{"line":47,"column":8},"end":{"line":47,"column":27}},"16":{"start":{"line":52,"column":4},"end":{"line":52,"column":48}},"17":{"start":{"line":54,"column":4},"end":{"line":54,"column":50}},"18":{"start":{"line":55,"column":4},"end":{"line":55,"column":31}},"19":{"start":{"line":57,"column":4},"end":{"line":57,"column":41}},"20":{"start":{"line":64,"column":4},"end":{"line":64,"column":40}},"21":{"start":{"line":64,"column":31},"end":{"line":64,"column":38}},"22":{"start":{"line":65,"column":4},"end":{"line":65,"column":32}},"23":{"start":{"line":67,"column":4},"end":{"line":67,"column":55}},"24":{"start":{"line":71,"column":4},"end":{"line":71,"column":58}},"25":{"start":{"line":71,"column":43},"end":{"line":71,"column":54}},"26":{"start":{"line":74,"column":4},"end":{"line":74,"column":49}},"27":{"start":{"line":77,"column":4},"end":{"line":77,"column":39}},"28":{"start":{"line":78,"column":4},"end":{"line":78,"column":37}},"29":{"start":{"line":80,"column":4},"end":{"line":80,"column":48}},"30":{"start":{"line":86,"column":4},"end":{"line":86,"column":60}},"31":{"start":{"line":92,"column":4},"end":{"line":92,"column":31}},"32":{"start":{"line":92,"column":22},"end":{"line":92,"column":29}},"33":{"start":{"line":95,"column":4},"end":{"line":102,"column":7}},"34":{"start":{"line":104,"column":4},"end":{"line":104,"column":33}},"35":{"start":{"line":111,"column":4},"end":{"line":111,"column":60}},"36":{"start":{"line":112,"column":4},"end":{"line":112,"column":58}},"37":{"start":{"line":117,"column":0},"end":{"line":206,"column":3}},"38":{"start":{"line":121,"column":4},"end":{"line":121,"column":21}},"39":{"start":{"line":125,"column":4},"end":{"line":125,"column":38}},"40":{"start":{"line":126,"column":4},"end":{"line":126,"column":28}},"41":{"start":{"line":129,"column":4},"end":{"line":129,"column":41}},"42":{"start":{"line":130,"column":4},"end":{"line":130,"column":36}},"43":{"start":{"line":133,"column":4},"end":{"line":133,"column":31}},"44":{"start":{"line":134,"column":4},"end":{"line":134,"column":51}},"45":{"start":{"line":137,"column":4},"end":{"line":141,"column":13}},"46":{"start":{"line":138,"column":6},"end":{"line":138,"column":32}},"47":{"start":{"line":139,"column":6},"end":{"line":139,"column":62}},"48":{"start":{"line":140,"column":6},"end":{"line":140,"column":88}},"49":{"start":{"line":144,"column":4},"end":{"line":144,"column":18}},"50":{"start":{"line":149,"column":4},"end":{"line":149,"column":42}},"51":{"start":{"line":151,"column":4},"end":{"line":157,"column":5}},"52":{"start":{"line":153,"column":6},"end":{"line":153,"column":54}},"53":{"start":{"line":154,"column":6},"end":{"line":154,"column":40}},"54":{"start":{"line":156,"column":6},"end":{"line":156,"column":51}},"55":{"start":{"line":159,"column":4},"end":{"line":159,"column":18}},"56":{"start":{"line":163,"column":4},"end":{"line":163,"column":11}},"57":{"start":{"line":164,"column":4},"end":{"line":164,"column":24}},"58":{"start":{"line":166,"column":4},"end":{"line":179,"column":5}},"59":{"start":{"line":168,"column":6},"end":{"line":168,"column":15}},"60":{"start":{"line":169,"column":6},"end":{"line":169,"column":29}},"61":{"start":{"line":171,"column":11},"end":{"line":179,"column":5}},"62":{"start":{"line":173,"column":6},"end":{"line":173,"column":22}},"63":{"start":{"line":174,"column":6},"end":{"line":174,"column":44}},"64":{"start":{"line":178,"column":6},"end":{"line":178,"column":29}},"65":{"start":{"line":182,"column":4},"end":{"line":184,"column":5}},"66":{"start":{"line":183,"column":6},"end":{"line":183,"column":37}},"67":{"start":{"line":188,"column":4},"end":{"line":188,"column":71}},"68":{"start":{"line":191,"column":4},"end":{"line":203,"column":5}},"69":{"start":{"line":194,"column":6},"end":{"line":194,"column":48}},"70":{"start":{"line":197,"column":6},"end":{"line":201,"column":9}},"71":{"start":{"line":198,"column":8},"end":{"line":200,"column":9}},"72":{"start":{"line":199,"column":10},"end":{"line":199,"column":32}}},"branchMap":{"1":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":41,"column":4}},{"start":{"line":41,"column":4},"end":{"line":41,"column":4}}]},"2":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":6},"end":{"line":46,"column":6}},{"start":{"line":46,"column":6},"end":{"line":46,"column":6}}]},"3":{"line":64,"type":"if","locations":[{"start":{"line":64,"column":4},"end":{"line":64,"column":4}},{"start":{"line":64,"column":4},"end":{"line":64,"column":4}}]},"4":{"line":92,"type":"if","locations":[{"start":{"line":92,"column":4},"end":{"line":92,"column":4}},{"start":{"line":92,"column":4},"end":{"line":92,"column":4}}]},"5":{"line":151,"type":"if","locations":[{"start":{"line":151,"column":4},"end":{"line":151,"column":4}},{"start":{"line":151,"column":4},"end":{"line":151,"column":4}}]},"6":{"line":166,"type":"if","locations":[{"start":{"line":166,"column":4},"end":{"line":166,"column":4}},{"start":{"line":166,"column":4},"end":{"line":166,"column":4}}]},"7":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":11},"end":{"line":171,"column":11}},{"start":{"line":171,"column":11},"end":{"line":171,"column":11}}]},"8":{"line":182,"type":"if","locations":[{"start":{"line":182,"column":4},"end":{"line":182,"column":4}},{"start":{"line":182,"column":4},"end":{"line":182,"column":4}}]},"9":{"line":188,"type":"binary-expr","locations":[{"start":{"line":188,"column":29},"end":{"line":188,"column":51}},{"start":{"line":188,"column":55},"end":{"line":188,"column":70}}]},"10":{"line":191,"type":"if","locations":[{"start":{"line":191,"column":4},"end":{"line":191,"column":4}},{"start":{"line":191,"column":4},"end":{"line":191,"column":4}}]},"11":{"line":191,"type":"binary-expr","locations":[{"start":{"line":191,"column":8},"end":{"line":191,"column":30}},{"start":{"line":191,"column":34},"end":{"line":191,"column":69}}]},"12":{"line":198,"type":"if","locations":[{"start":{"line":198,"column":8},"end":{"line":198,"column":8}},{"start":{"line":198,"column":8},"end":{"line":198,"column":8}}]}}},"./src/marionette.templatecache.js":{"path":"./src/marionette.templatecache.js","s":{"1":1,"2":30,"3":1,"4":140,"5":140,"6":30,"7":30,"8":140,"9":6,"10":6,"11":6,"12":6,"13":4,"14":6,"15":2,"16":1,"17":140,"18":110,"19":30,"20":30,"21":30,"22":30,"23":30,"24":0,"25":30,"26":30},"b":{"1":[30,110],"2":[4,2],"3":[110,30],"4":[0,30],"5":[30,30]},"f":{"1":30,"2":140,"3":6,"4":140,"5":30,"6":30},"fnMap":{"1":{"name":"(anonymous_1)","line":6,"loc":{"start":{"line":6,"column":27},"end":{"line":6,"column":47}}},"2":{"name":"(anonymous_2)","line":19,"loc":{"start":{"line":19,"column":7},"end":{"line":19,"column":27}}},"3":{"name":"(anonymous_3)","line":37,"loc":{"start":{"line":37,"column":9},"end":{"line":37,"column":19}}},"4":{"name":"(anonymous_4)","line":58,"loc":{"start":{"line":58,"column":8},"end":{"line":58,"column":18}}},"5":{"name":"(anonymous_5)","line":76,"loc":{"start":{"line":76,"column":16},"end":{"line":76,"column":36}}},"6":{"name":"(anonymous_6)","line":90,"loc":{"start":{"line":90,"column":19},"end":{"line":90,"column":40}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":8,"column":2}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":31}},"3":{"start":{"line":13,"column":0},"end":{"line":50,"column":3}},"4":{"start":{"line":20,"column":4},"end":{"line":20,"column":57}},"5":{"start":{"line":22,"column":4},"end":{"line":25,"column":5}},"6":{"start":{"line":23,"column":6},"end":{"line":23,"column":64}},"7":{"start":{"line":24,"column":6},"end":{"line":24,"column":55}},"8":{"start":{"line":27,"column":4},"end":{"line":27,"column":33}},"9":{"start":{"line":38,"column":4},"end":{"line":38,"column":10}},"10":{"start":{"line":39,"column":4},"end":{"line":39,"column":32}},"11":{"start":{"line":40,"column":4},"end":{"line":40,"column":29}},"12":{"start":{"line":42,"column":4},"end":{"line":48,"column":5}},"13":{"start":{"line":43,"column":6},"end":{"line":45,"column":7}},"14":{"start":{"line":44,"column":8},"end":{"line":44,"column":44}},"15":{"start":{"line":47,"column":6},"end":{"line":47,"column":31}},"16":{"start":{"line":55,"column":0},"end":{"line":93,"column":3}},"17":{"start":{"line":60,"column":4},"end":{"line":62,"column":5}},"18":{"start":{"line":61,"column":6},"end":{"line":61,"column":35}},"19":{"start":{"line":65,"column":4},"end":{"line":65,"column":54}},"20":{"start":{"line":66,"column":4},"end":{"line":66,"column":59}},"21":{"start":{"line":68,"column":4},"end":{"line":68,"column":33}},"22":{"start":{"line":77,"column":4},"end":{"line":77,"column":51}},"23":{"start":{"line":79,"column":4},"end":{"line":81,"column":5}},"24":{"start":{"line":80,"column":6},"end":{"line":80,"column":85}},"25":{"start":{"line":83,"column":4},"end":{"line":83,"column":20}},"26":{"start":{"line":91,"column":4},"end":{"line":91,"column":35}}},"branchMap":{"1":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":4}},{"start":{"line":22,"column":4},"end":{"line":22,"column":4}}]},"2":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":4},"end":{"line":42,"column":4}},{"start":{"line":42,"column":4},"end":{"line":42,"column":4}}]},"3":{"line":60,"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":60,"column":4}},{"start":{"line":60,"column":4},"end":{"line":60,"column":4}}]},"4":{"line":79,"type":"if","locations":[{"start":{"line":79,"column":4},"end":{"line":79,"column":4}},{"start":{"line":79,"column":4},"end":{"line":79,"column":4}}]},"5":{"line":79,"type":"binary-expr","locations":[{"start":{"line":79,"column":8},"end":{"line":79,"column":17}},{"start":{"line":79,"column":21},"end":{"line":79,"column":42}}]}}},"./src/marionette.renderer.js":{"path":"./src/marionette.renderer.js","s":{"1":1,"2":170,"3":3,"4":3,"5":3,"6":167,"7":167,"8":44,"9":123,"10":167},"b":{"1":[3,167],"2":[44,123]},"f":{"1":170},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":10},"end":{"line":12,"column":34}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":29,"column":2}},"2":{"start":{"line":14,"column":4},"end":{"line":18,"column":5}},"3":{"start":{"line":15,"column":6},"end":{"line":15,"column":95}},"4":{"start":{"line":16,"column":6},"end":{"line":16,"column":43}},"5":{"start":{"line":17,"column":6},"end":{"line":17,"column":18}},"6":{"start":{"line":20,"column":4},"end":{"line":20,"column":21}},"7":{"start":{"line":21,"column":4},"end":{"line":25,"column":5}},"8":{"start":{"line":22,"column":6},"end":{"line":22,"column":30}},"9":{"start":{"line":24,"column":6},"end":{"line":24,"column":60}},"10":{"start":{"line":27,"column":4},"end":{"line":27,"column":30}}},"branchMap":{"1":{"line":14,"type":"if","locations":[{"start":{"line":14,"column":4},"end":{"line":14,"column":4}},{"start":{"line":14,"column":4},"end":{"line":14,"column":4}}]},"2":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":21,"column":4}},{"start":{"line":21,"column":4},"end":{"line":21,"column":4}}]}}},"./src/marionette.callbacks.js":{"path":"./src/marionette.callbacks.js","s":{"1":1,"2":374,"3":374,"4":1,"5":235,"6":235,"7":120,"8":1,"9":120,"10":158,"11":30,"12":30,"13":30,"14":30,"15":35},"b":{"1":[1,119]},"f":{"1":374,"2":235,"3":120,"4":158,"5":30,"6":35},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":23},"end":{"line":7,"column":33}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":7},"end":{"line":17,"column":42}}},"3":{"name":"(anonymous_3)","line":20,"loc":{"start":{"line":20,"column":24},"end":{"line":20,"column":50}}},"4":{"name":"(anonymous_4)","line":29,"loc":{"start":{"line":29,"column":7},"end":{"line":29,"column":33}}},"5":{"name":"(anonymous_5)","line":35,"loc":{"start":{"line":35,"column":9},"end":{"line":35,"column":19}}},"6":{"name":"(anonymous_6)","line":40,"loc":{"start":{"line":40,"column":22},"end":{"line":40,"column":34}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":10,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":43}},"3":{"start":{"line":9,"column":2},"end":{"line":9,"column":23}},"4":{"start":{"line":12,"column":0},"end":{"line":44,"column":3}},"5":{"start":{"line":18,"column":4},"end":{"line":18,"column":63}},"6":{"start":{"line":20,"column":4},"end":{"line":23,"column":7}},"7":{"start":{"line":21,"column":6},"end":{"line":21,"column":56}},"8":{"start":{"line":21,"column":28},"end":{"line":21,"column":54}},"9":{"start":{"line":22,"column":6},"end":{"line":22,"column":38}},"10":{"start":{"line":30,"column":4},"end":{"line":30,"column":45}},"11":{"start":{"line":36,"column":4},"end":{"line":36,"column":36}},"12":{"start":{"line":37,"column":4},"end":{"line":37,"column":45}},"13":{"start":{"line":38,"column":4},"end":{"line":38,"column":25}},"14":{"start":{"line":40,"column":4},"end":{"line":42,"column":13}},"15":{"start":{"line":41,"column":6},"end":{"line":41,"column":30}}},"branchMap":{"1":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":6},"end":{"line":21,"column":6}},{"start":{"line":21,"column":6},"end":{"line":21,"column":6}}]}}}} \ No newline at end of file +{"./src/build/marionette.core.js":{"path":"./src/build/marionette.core.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1},"b":{},"f":{"1":1},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":18},"end":{"line":1,"column":47}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":36,"column":22}},"2":{"start":{"line":5,"column":2},"end":{"line":5,"column":22}},"3":{"start":{"line":6,"column":2},"end":{"line":6,"column":35}},"4":{"start":{"line":9,"column":2},"end":{"line":9,"column":28}},"5":{"start":{"line":35,"column":2},"end":{"line":35,"column":20}}},"branchMap":{}},"./spec/javascripts/support/marionette.support.js":{"path":"./spec/javascripts/support/marionette.support.js","s":{"1":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":33}}},"branchMap":{}},"./src/marionette.helpers.js":{"path":"./src/marionette.helpers.js","s":{"1":1,"2":1,"3":1232,"4":1,"5":3,"6":3,"7":3,"8":1,"9":1,"10":3341,"11":0,"12":3341,"13":3341,"14":178,"15":3163,"16":3341},"b":{"1":[3,1],"2":[0,3341],"3":[3341,3341],"4":[178,3163],"5":[3341,1302,181]},"f":{"1":1232,"2":3,"3":3341},"fnMap":{"1":{"name":"slice","line":6,"loc":{"start":{"line":6,"column":0},"end":{"line":6,"column":21}}},"2":{"name":"throwError","line":10,"loc":{"start":{"line":10,"column":0},"end":{"line":10,"column":35}}},"3":{"name":"(anonymous_3)","line":27,"loc":{"start":{"line":27,"column":23},"end":{"line":27,"column":51}}}},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":5,"column":39}},"2":{"start":{"line":6,"column":0},"end":{"line":8,"column":1}},"3":{"start":{"line":7,"column":2},"end":{"line":7,"column":31}},"4":{"start":{"line":10,"column":0},"end":{"line":14,"column":1}},"5":{"start":{"line":11,"column":2},"end":{"line":11,"column":33}},"6":{"start":{"line":12,"column":2},"end":{"line":12,"column":31}},"7":{"start":{"line":13,"column":2},"end":{"line":13,"column":14}},"8":{"start":{"line":20,"column":0},"end":{"line":20,"column":42}},"9":{"start":{"line":27,"column":0},"end":{"line":38,"column":2}},"10":{"start":{"line":28,"column":2},"end":{"line":28,"column":40}},"11":{"start":{"line":28,"column":31},"end":{"line":28,"column":38}},"12":{"start":{"line":29,"column":2},"end":{"line":29,"column":12}},"13":{"start":{"line":31,"column":2},"end":{"line":35,"column":3}},"14":{"start":{"line":32,"column":4},"end":{"line":32,"column":39}},"15":{"start":{"line":34,"column":4},"end":{"line":34,"column":31}},"16":{"start":{"line":37,"column":2},"end":{"line":37,"column":15}}},"branchMap":{"1":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":15},"end":{"line":12,"column":19}},{"start":{"line":12,"column":23},"end":{"line":12,"column":30}}]},"2":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":28,"column":2}},{"start":{"line":28,"column":2},"end":{"line":28,"column":2}}]},"3":{"line":28,"type":"binary-expr","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":13}},{"start":{"line":28,"column":17},"end":{"line":28,"column":28}}]},"4":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":2},"end":{"line":31,"column":2}},{"start":{"line":31,"column":2},"end":{"line":31,"column":2}}]},"5":{"line":31,"type":"binary-expr","locations":[{"start":{"line":31,"column":6},"end":{"line":31,"column":20}},{"start":{"line":31,"column":25},"end":{"line":31,"column":53}},{"start":{"line":31,"column":59},"end":{"line":31,"column":99}}]}}},"./src/marionette.triggermethod.js":{"path":"./src/marionette.triggermethod.js","s":{"1":1,"2":1,"3":1,"4":6917,"5":1,"6":3255,"7":3255,"8":3255,"9":3254,"10":3255,"11":359,"12":1},"b":{"1":[3254,1],"2":[359,2896]},"f":{"1":1,"2":6917,"3":3255},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":28},"end":{"line":8,"column":38}}},"2":{"name":"getEventName","line":15,"loc":{"start":{"line":15,"column":2},"end":{"line":15,"column":50}}},"3":{"name":"(anonymous_3)","line":20,"loc":{"start":{"line":20,"column":22},"end":{"line":20,"column":38}}}},"statementMap":{"1":{"start":{"line":8,"column":0},"end":{"line":38,"column":5}},"2":{"start":{"line":11,"column":2},"end":{"line":11,"column":31}},"3":{"start":{"line":15,"column":2},"end":{"line":17,"column":3}},"4":{"start":{"line":16,"column":4},"end":{"line":16,"column":35}},"5":{"start":{"line":20,"column":2},"end":{"line":35,"column":4}},"6":{"start":{"line":22,"column":4},"end":{"line":22,"column":66}},"7":{"start":{"line":23,"column":4},"end":{"line":23,"column":34}},"8":{"start":{"line":26,"column":4},"end":{"line":28,"column":5}},"9":{"start":{"line":27,"column":6},"end":{"line":27,"column":42}},"10":{"start":{"line":31,"column":4},"end":{"line":34,"column":5}},"11":{"start":{"line":33,"column":6},"end":{"line":33,"column":51}},"12":{"start":{"line":37,"column":2},"end":{"line":37,"column":23}}},"branchMap":{"1":{"line":26,"type":"if","locations":[{"start":{"line":26,"column":4},"end":{"line":26,"column":4}},{"start":{"line":26,"column":4},"end":{"line":26,"column":4}}]},"2":{"line":31,"type":"if","locations":[{"start":{"line":31,"column":4},"end":{"line":31,"column":4}},{"start":{"line":31,"column":4},"end":{"line":31,"column":4}}]}}},"./src/marionette.bindEntityEvents.js":{"path":"./src/marionette.bindEntityEvents.js","s":{"1":1,"2":1,"3":25,"4":25,"5":29,"6":29,"7":1,"8":28,"9":1,"10":8,"11":1,"12":33,"13":33,"14":37,"15":37,"16":1,"17":8,"18":1,"19":2011,"20":1937,"21":74,"22":8,"23":74,"24":74,"25":16,"26":58,"27":1,"28":1001,"29":1,"30":1010},"b":{"1":[1,28],"2":[1937,74],"3":[2011,928],"4":[8,66],"5":[16,58]},"f":{"1":1,"2":25,"3":29,"4":8,"5":33,"6":37,"7":8,"8":2011,"9":74,"10":1001,"11":1010},"fnMap":{"1":{"name":"(anonymous_1)","line":17,"loc":{"start":{"line":17,"column":1},"end":{"line":17,"column":21}}},"2":{"name":"bindFromStrings","line":22,"loc":{"start":{"line":22,"column":2},"end":{"line":22,"column":56}}},"3":{"name":"(anonymous_3)","line":25,"loc":{"start":{"line":25,"column":23},"end":{"line":25,"column":44}}},"4":{"name":"bindToFunction","line":37,"loc":{"start":{"line":37,"column":2},"end":{"line":37,"column":54}}},"5":{"name":"unbindFromStrings","line":43,"loc":{"start":{"line":43,"column":2},"end":{"line":43,"column":58}}},"6":{"name":"(anonymous_6)","line":46,"loc":{"start":{"line":46,"column":23},"end":{"line":46,"column":44}}},"7":{"name":"unbindToFunction","line":53,"loc":{"start":{"line":53,"column":2},"end":{"line":53,"column":56}}},"8":{"name":"iterateEvents","line":59,"loc":{"start":{"line":59,"column":2},"end":{"line":59,"column":84}}},"9":{"name":"(anonymous_9)","line":68,"loc":{"start":{"line":68,"column":21},"end":{"line":68,"column":43}}},"10":{"name":"(anonymous_10)","line":82,"loc":{"start":{"line":82,"column":32},"end":{"line":82,"column":66}}},"11":{"name":"(anonymous_11)","line":86,"loc":{"start":{"line":86,"column":34},"end":{"line":86,"column":68}}}},"statementMap":{"1":{"start":{"line":17,"column":0},"end":{"line":90,"column":15}},"2":{"start":{"line":22,"column":2},"end":{"line":34,"column":3}},"3":{"start":{"line":23,"column":4},"end":{"line":23,"column":43}},"4":{"start":{"line":25,"column":4},"end":{"line":33,"column":7}},"5":{"start":{"line":27,"column":6},"end":{"line":27,"column":38}},"6":{"start":{"line":28,"column":6},"end":{"line":30,"column":7}},"7":{"start":{"line":29,"column":8},"end":{"line":29,"column":104}},"8":{"start":{"line":32,"column":6},"end":{"line":32,"column":51}},"9":{"start":{"line":37,"column":2},"end":{"line":39,"column":3}},"10":{"start":{"line":38,"column":6},"end":{"line":38,"column":51}},"11":{"start":{"line":43,"column":2},"end":{"line":50,"column":3}},"12":{"start":{"line":44,"column":4},"end":{"line":44,"column":43}},"13":{"start":{"line":46,"column":4},"end":{"line":49,"column":7}},"14":{"start":{"line":47,"column":6},"end":{"line":47,"column":38}},"15":{"start":{"line":48,"column":6},"end":{"line":48,"column":56}},"16":{"start":{"line":53,"column":2},"end":{"line":55,"column":3}},"17":{"start":{"line":54,"column":6},"end":{"line":54,"column":56}},"18":{"start":{"line":59,"column":2},"end":{"line":79,"column":3}},"19":{"start":{"line":60,"column":4},"end":{"line":60,"column":41}},"20":{"start":{"line":60,"column":32},"end":{"line":60,"column":39}},"21":{"start":{"line":63,"column":4},"end":{"line":65,"column":5}},"22":{"start":{"line":64,"column":6},"end":{"line":64,"column":39}},"23":{"start":{"line":68,"column":4},"end":{"line":78,"column":7}},"24":{"start":{"line":72,"column":6},"end":{"line":76,"column":7}},"25":{"start":{"line":73,"column":8},"end":{"line":73,"column":55}},"26":{"start":{"line":75,"column":8},"end":{"line":75,"column":53}},"27":{"start":{"line":82,"column":2},"end":{"line":84,"column":4}},"28":{"start":{"line":83,"column":4},"end":{"line":83,"column":77}},"29":{"start":{"line":86,"column":2},"end":{"line":88,"column":4}},"30":{"start":{"line":87,"column":4},"end":{"line":87,"column":81}}},"branchMap":{"1":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":6}},{"start":{"line":28,"column":6},"end":{"line":28,"column":6}}]},"2":{"line":60,"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":60,"column":4}},{"start":{"line":60,"column":4},"end":{"line":60,"column":4}}]},"3":{"line":60,"type":"binary-expr","locations":[{"start":{"line":60,"column":8},"end":{"line":60,"column":15}},{"start":{"line":60,"column":19},"end":{"line":60,"column":28}}]},"4":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":4}},{"start":{"line":63,"column":4},"end":{"line":63,"column":4}}]},"5":{"line":72,"type":"if","locations":[{"start":{"line":72,"column":6},"end":{"line":72,"column":6}},{"start":{"line":72,"column":6},"end":{"line":72,"column":6}}]}}},"./src/marionette.controller.js":{"path":"./src/marionette.controller.js","s":{"1":1,"2":178,"3":178,"4":178,"5":7,"6":1,"7":1,"8":12,"9":12,"10":12},"b":{"1":[178,173],"2":[7,171]},"f":{"1":178,"2":12},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":24},"end":{"line":7,"column":41}}},"2":{"name":"(anonymous_2)","line":23,"loc":{"start":{"line":23,"column":9},"end":{"line":23,"column":19}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":14,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":48}},"3":{"start":{"line":9,"column":2},"end":{"line":9,"column":31}},"4":{"start":{"line":11,"column":2},"end":{"line":13,"column":3}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":34}},"6":{"start":{"line":16,"column":0},"end":{"line":16,"column":49}},"7":{"start":{"line":22,"column":0},"end":{"line":28,"column":3}},"8":{"start":{"line":24,"column":4},"end":{"line":24,"column":25}},"9":{"start":{"line":25,"column":4},"end":{"line":25,"column":32}},"10":{"start":{"line":26,"column":4},"end":{"line":26,"column":18}}},"branchMap":{"1":{"line":9,"type":"binary-expr","locations":[{"start":{"line":9,"column":17},"end":{"line":9,"column":24}},{"start":{"line":9,"column":28},"end":{"line":9,"column":30}}]},"2":{"line":11,"type":"if","locations":[{"start":{"line":11,"column":2},"end":{"line":11,"column":2}},{"start":{"line":11,"column":2},"end":{"line":11,"column":2}}]}}},"./src/marionette.domRefresh.js":{"path":"./src/marionette.domRefresh.js","s":{"1":1,"2":1,"3":25,"4":25,"5":1,"6":374,"7":374,"8":1,"9":399,"10":14,"11":14,"12":1,"13":498,"14":25,"15":498,"16":374},"b":{"1":[14,385],"2":[399,26],"3":[14,0]},"f":{"1":1,"2":25,"3":374,"4":399,"5":498,"6":25,"7":374},"fnMap":{"1":{"name":"(anonymous_1)","line":8,"loc":{"start":{"line":8,"column":32},"end":{"line":8,"column":42}}},"2":{"name":"handleShow","line":11,"loc":{"start":{"line":11,"column":2},"end":{"line":11,"column":27}}},"3":{"name":"handleRender","line":17,"loc":{"start":{"line":17,"column":2},"end":{"line":17,"column":29}}},"4":{"name":"triggerDOMRefresh","line":23,"loc":{"start":{"line":23,"column":2},"end":{"line":23,"column":34}}},"5":{"name":"(anonymous_5)","line":32,"loc":{"start":{"line":32,"column":9},"end":{"line":32,"column":23}}},"6":{"name":"(anonymous_6)","line":33,"loc":{"start":{"line":33,"column":32},"end":{"line":33,"column":42}}},"7":{"name":"(anonymous_7)","line":37,"loc":{"start":{"line":37,"column":34},"end":{"line":37,"column":44}}}},"statementMap":{"1":{"start":{"line":8,"column":0},"end":{"line":41,"column":5}},"2":{"start":{"line":11,"column":2},"end":{"line":14,"column":3}},"3":{"start":{"line":12,"column":4},"end":{"line":12,"column":25}},"4":{"start":{"line":13,"column":4},"end":{"line":13,"column":28}},"5":{"start":{"line":17,"column":2},"end":{"line":20,"column":3}},"6":{"start":{"line":18,"column":4},"end":{"line":18,"column":28}},"7":{"start":{"line":19,"column":4},"end":{"line":19,"column":28}},"8":{"start":{"line":23,"column":2},"end":{"line":29,"column":3}},"9":{"start":{"line":24,"column":4},"end":{"line":28,"column":5}},"10":{"start":{"line":25,"column":6},"end":{"line":27,"column":7}},"11":{"start":{"line":26,"column":8},"end":{"line":26,"column":42}},"12":{"start":{"line":32,"column":2},"end":{"line":40,"column":4}},"13":{"start":{"line":33,"column":4},"end":{"line":35,"column":7}},"14":{"start":{"line":34,"column":6},"end":{"line":34,"column":23}},"15":{"start":{"line":37,"column":4},"end":{"line":39,"column":7}},"16":{"start":{"line":38,"column":6},"end":{"line":38,"column":25}}},"branchMap":{"1":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":4}},{"start":{"line":24,"column":4},"end":{"line":24,"column":4}}]},"2":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":21}},{"start":{"line":24,"column":25},"end":{"line":24,"column":41}}]},"3":{"line":25,"type":"if","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":6}},{"start":{"line":25,"column":6},"end":{"line":25,"column":6}}]}}},"./src/marionette.view.js":{"path":"./src/marionette.view.js","s":{"1":1,"2":499,"3":499,"4":499,"5":498,"6":498,"7":498,"8":173,"9":173,"10":173,"11":173,"12":3,"13":173,"14":501,"15":488,"16":13,"17":13,"18":13,"19":22,"20":22,"21":22,"22":22,"23":22,"24":22,"25":22,"26":22,"27":22,"28":20,"29":22,"30":20,"31":22,"32":22,"33":13,"34":501,"35":501,"36":500,"37":501,"38":501,"39":0,"40":501,"41":501,"42":501,"43":501,"44":505,"45":505,"46":505,"47":505,"48":129,"49":5,"50":124,"51":124,"52":3,"53":121,"54":121,"55":121,"56":121,"57":171,"58":153,"59":18,"60":15,"61":18,"62":18,"63":18,"64":40,"65":40,"66":121,"67":119,"68":2,"69":2,"70":2,"71":2},"b":{"1":[498,60],"2":[173,0],"3":[3,170],"4":[488,13],"5":[4,18],"6":[22,0],"7":[4,18],"8":[4,18],"9":[20,2],"10":[22,20],"11":[20,2],"12":[22,20],"13":[501,501],"14":[0,501],"15":[5,124],"16":[3,121],"17":[153,18],"18":[15,3],"19":[119,2],"20":[121,3]},"f":{"1":499,"2":173,"3":173,"4":501,"5":22,"6":22,"7":501,"8":501,"9":505,"10":21,"11":129,"12":171,"13":40,"14":121,"15":2},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":15},"end":{"line":7,"column":32}}},"2":{"name":"(anonymous_2)","line":26,"loc":{"start":{"line":26,"column":15},"end":{"line":26,"column":25}}},"3":{"name":"(anonymous_3)","line":35,"loc":{"start":{"line":35,"column":24},"end":{"line":35,"column":40}}},"4":{"name":"(anonymous_4)","line":46,"loc":{"start":{"line":46,"column":21},"end":{"line":46,"column":31}}},"5":{"name":"(anonymous_5)","line":56,"loc":{"start":{"line":56,"column":21},"end":{"line":56,"column":41}}},"6":{"name":"(anonymous_6)","line":62,"loc":{"start":{"line":62,"column":27},"end":{"line":62,"column":38}}},"7":{"name":"(anonymous_7)","line":94,"loc":{"start":{"line":94,"column":18},"end":{"line":94,"column":34}}},"8":{"name":"(anonymous_8)","line":101,"loc":{"start":{"line":101,"column":22},"end":{"line":101,"column":38}}},"9":{"name":"(anonymous_9)","line":114,"loc":{"start":{"line":114,"column":20},"end":{"line":114,"column":30}}},"10":{"name":"(anonymous_10)","line":123,"loc":{"start":{"line":123,"column":16},"end":{"line":123,"column":26}}},"11":{"name":"(anonymous_11)","line":129,"loc":{"start":{"line":129,"column":9},"end":{"line":129,"column":19}}},"12":{"name":"(anonymous_12)","line":154,"loc":{"start":{"line":154,"column":18},"end":{"line":154,"column":28}}},"13":{"name":"(anonymous_13)","line":170,"loc":{"start":{"line":170,"column":29},"end":{"line":170,"column":43}}},"14":{"name":"(anonymous_14)","line":177,"loc":{"start":{"line":177,"column":20},"end":{"line":177,"column":30}}},"15":{"name":"(anonymous_15)","line":181,"loc":{"start":{"line":181,"column":20},"end":{"line":181,"column":39}}}},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":189,"column":3}},"2":{"start":{"line":8,"column":4},"end":{"line":8,"column":30}},"3":{"start":{"line":10,"column":4},"end":{"line":10,"column":54}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":58}},"5":{"start":{"line":12,"column":4},"end":{"line":12,"column":33}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":39}},"7":{"start":{"line":15,"column":4},"end":{"line":15,"column":57}},"8":{"start":{"line":27,"column":4},"end":{"line":27,"column":50}},"9":{"start":{"line":36,"column":4},"end":{"line":36,"column":26}},"10":{"start":{"line":37,"column":4},"end":{"line":37,"column":72}},"11":{"start":{"line":38,"column":4},"end":{"line":40,"column":5}},"12":{"start":{"line":39,"column":6},"end":{"line":39,"column":51}},"13":{"start":{"line":41,"column":4},"end":{"line":41,"column":45}},"14":{"start":{"line":47,"column":4},"end":{"line":47,"column":35}},"15":{"start":{"line":47,"column":26},"end":{"line":47,"column":33}},"16":{"start":{"line":49,"column":4},"end":{"line":49,"column":27}},"17":{"start":{"line":52,"column":4},"end":{"line":52,"column":46}},"18":{"start":{"line":56,"column":4},"end":{"line":87,"column":13}},"19":{"start":{"line":58,"column":6},"end":{"line":58,"column":41}},"20":{"start":{"line":59,"column":6},"end":{"line":59,"column":55}},"21":{"start":{"line":62,"column":6},"end":{"line":85,"column":8}},"22":{"start":{"line":65,"column":8},"end":{"line":74,"column":9}},"23":{"start":{"line":66,"column":10},"end":{"line":66,"column":41}},"24":{"start":{"line":67,"column":10},"end":{"line":67,"column":39}},"25":{"start":{"line":69,"column":10},"end":{"line":69,"column":74}},"26":{"start":{"line":70,"column":10},"end":{"line":70,"column":69}},"27":{"start":{"line":72,"column":10},"end":{"line":72,"column":61}},"28":{"start":{"line":72,"column":42},"end":{"line":72,"column":59}},"29":{"start":{"line":73,"column":10},"end":{"line":73,"column":52}},"30":{"start":{"line":73,"column":36},"end":{"line":73,"column":50}},"31":{"start":{"line":77,"column":8},"end":{"line":81,"column":10}},"32":{"start":{"line":84,"column":8},"end":{"line":84,"column":44}},"33":{"start":{"line":89,"column":4},"end":{"line":89,"column":25}},"34":{"start":{"line":95,"column":4},"end":{"line":95,"column":36}},"35":{"start":{"line":96,"column":4},"end":{"line":96,"column":93}},"36":{"start":{"line":97,"column":4},"end":{"line":97,"column":103}},"37":{"start":{"line":102,"column":4},"end":{"line":102,"column":35}},"38":{"start":{"line":103,"column":4},"end":{"line":103,"column":60}},"39":{"start":{"line":103,"column":31},"end":{"line":103,"column":58}},"40":{"start":{"line":105,"column":4},"end":{"line":105,"column":28}},"41":{"start":{"line":106,"column":4},"end":{"line":106,"column":44}},"42":{"start":{"line":107,"column":4},"end":{"line":107,"column":47}},"43":{"start":{"line":109,"column":4},"end":{"line":109,"column":70}},"44":{"start":{"line":115,"column":4},"end":{"line":115,"column":53}},"45":{"start":{"line":116,"column":4},"end":{"line":116,"column":63}},"46":{"start":{"line":118,"column":4},"end":{"line":118,"column":95}},"47":{"start":{"line":119,"column":4},"end":{"line":119,"column":105}},"48":{"start":{"line":130,"column":4},"end":{"line":130,"column":34}},"49":{"start":{"line":130,"column":25},"end":{"line":130,"column":32}},"50":{"start":{"line":134,"column":4},"end":{"line":134,"column":57}},"51":{"start":{"line":135,"column":4},"end":{"line":137,"column":5}},"52":{"start":{"line":136,"column":6},"end":{"line":136,"column":13}},"53":{"start":{"line":142,"column":4},"end":{"line":142,"column":25}},"54":{"start":{"line":143,"column":4},"end":{"line":143,"column":32}},"55":{"start":{"line":146,"column":4},"end":{"line":146,"column":28}},"56":{"start":{"line":149,"column":4},"end":{"line":149,"column":18}},"57":{"start":{"line":155,"column":4},"end":{"line":155,"column":29}},"58":{"start":{"line":155,"column":20},"end":{"line":155,"column":27}},"59":{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},"60":{"start":{"line":160,"column":6},"end":{"line":160,"column":33}},"61":{"start":{"line":164,"column":4},"end":{"line":164,"column":49}},"62":{"start":{"line":167,"column":4},"end":{"line":167,"column":17}},"63":{"start":{"line":170,"column":4},"end":{"line":173,"column":13}},"64":{"start":{"line":171,"column":6},"end":{"line":171,"column":35}},"65":{"start":{"line":172,"column":6},"end":{"line":172,"column":38}},"66":{"start":{"line":178,"column":4},"end":{"line":178,"column":49}},"67":{"start":{"line":178,"column":40},"end":{"line":178,"column":47}},"68":{"start":{"line":181,"column":4},"end":{"line":183,"column":13}},"69":{"start":{"line":182,"column":6},"end":{"line":182,"column":27}},"70":{"start":{"line":186,"column":4},"end":{"line":186,"column":31}},"71":{"start":{"line":187,"column":4},"end":{"line":187,"column":28}}},"branchMap":{"1":{"line":12,"type":"binary-expr","locations":[{"start":{"line":12,"column":19},"end":{"line":12,"column":26}},{"start":{"line":12,"column":30},"end":{"line":12,"column":32}}]},"2":{"line":36,"type":"binary-expr","locations":[{"start":{"line":36,"column":13},"end":{"line":36,"column":19}},{"start":{"line":36,"column":23},"end":{"line":36,"column":25}}]},"3":{"line":38,"type":"if","locations":[{"start":{"line":38,"column":4},"end":{"line":38,"column":4}},{"start":{"line":38,"column":4},"end":{"line":38,"column":4}}]},"4":{"line":47,"type":"if","locations":[{"start":{"line":47,"column":4},"end":{"line":47,"column":4}},{"start":{"line":47,"column":4},"end":{"line":47,"column":4}}]},"5":{"line":59,"type":"cond-expr","locations":[{"start":{"line":59,"column":35},"end":{"line":59,"column":46}},{"start":{"line":59,"column":49},"end":{"line":59,"column":54}}]},"6":{"line":65,"type":"if","locations":[{"start":{"line":65,"column":8},"end":{"line":65,"column":8}},{"start":{"line":65,"column":8},"end":{"line":65,"column":8}}]},"7":{"line":69,"type":"cond-expr","locations":[{"start":{"line":69,"column":43},"end":{"line":69,"column":63}},{"start":{"line":69,"column":66},"end":{"line":69,"column":73}}]},"8":{"line":70,"type":"cond-expr","locations":[{"start":{"line":70,"column":40},"end":{"line":70,"column":61}},{"start":{"line":70,"column":64},"end":{"line":70,"column":68}}]},"9":{"line":72,"type":"if","locations":[{"start":{"line":72,"column":10},"end":{"line":72,"column":10}},{"start":{"line":72,"column":10},"end":{"line":72,"column":10}}]},"10":{"line":72,"type":"binary-expr","locations":[{"start":{"line":72,"column":14},"end":{"line":72,"column":27}},{"start":{"line":72,"column":31},"end":{"line":72,"column":38}}]},"11":{"line":73,"type":"if","locations":[{"start":{"line":73,"column":10},"end":{"line":73,"column":10}},{"start":{"line":73,"column":10},"end":{"line":73,"column":10}}]},"12":{"line":73,"type":"binary-expr","locations":[{"start":{"line":73,"column":14},"end":{"line":73,"column":24}},{"start":{"line":73,"column":28},"end":{"line":73,"column":32}}]},"13":{"line":102,"type":"binary-expr","locations":[{"start":{"line":102,"column":13},"end":{"line":102,"column":19}},{"start":{"line":102,"column":23},"end":{"line":102,"column":34}}]},"14":{"line":103,"type":"if","locations":[{"start":{"line":103,"column":4},"end":{"line":103,"column":4}},{"start":{"line":103,"column":4},"end":{"line":103,"column":4}}]},"15":{"line":130,"type":"if","locations":[{"start":{"line":130,"column":4},"end":{"line":130,"column":4}},{"start":{"line":130,"column":4},"end":{"line":130,"column":4}}]},"16":{"line":135,"type":"if","locations":[{"start":{"line":135,"column":4},"end":{"line":135,"column":4}},{"start":{"line":135,"column":4},"end":{"line":135,"column":4}}]},"17":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":4},"end":{"line":155,"column":4}},{"start":{"line":155,"column":4},"end":{"line":155,"column":4}}]},"18":{"line":159,"type":"if","locations":[{"start":{"line":159,"column":4},"end":{"line":159,"column":4}},{"start":{"line":159,"column":4},"end":{"line":159,"column":4}}]},"19":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":4},"end":{"line":178,"column":4}},{"start":{"line":178,"column":4},"end":{"line":178,"column":4}}]},"20":{"line":178,"type":"binary-expr","locations":[{"start":{"line":178,"column":8},"end":{"line":178,"column":16}},{"start":{"line":178,"column":20},"end":{"line":178,"column":37}}]}}},"./src/marionette.itemview.js":{"path":"./src/marionette.itemview.js","s":{"1":1,"2":321,"3":119,"4":119,"5":72,"6":47,"7":2,"8":119,"9":119,"10":119,"11":119,"12":119,"13":119,"14":119,"15":119,"16":118,"17":118,"18":118,"19":118,"20":118,"21":90,"22":2,"23":88,"24":88,"25":88},"b":{"1":[72,47],"2":[2,45],"3":[2,88]},"f":{"1":321,"2":119,"3":119,"4":90},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":15},"end":{"line":11,"column":25}}},"2":{"name":"(anonymous_2)","line":21,"loc":{"start":{"line":21,"column":17},"end":{"line":21,"column":27}}},"3":{"name":"(anonymous_3)","line":39,"loc":{"start":{"line":39,"column":10},"end":{"line":39,"column":20}}},"4":{"name":"(anonymous_4)","line":62,"loc":{"start":{"line":62,"column":9},"end":{"line":62,"column":19}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":71,"column":3}},"2":{"start":{"line":12,"column":4},"end":{"line":12,"column":72}},"3":{"start":{"line":22,"column":4},"end":{"line":22,"column":18}},"4":{"start":{"line":24,"column":4},"end":{"line":29,"column":5}},"5":{"start":{"line":25,"column":6},"end":{"line":25,"column":33}},"6":{"start":{"line":27,"column":9},"end":{"line":29,"column":5}},"7":{"start":{"line":28,"column":6},"end":{"line":28,"column":49}},"8":{"start":{"line":31,"column":4},"end":{"line":31,"column":16}},"9":{"start":{"line":40,"column":4},"end":{"line":40,"column":26}},"10":{"start":{"line":42,"column":4},"end":{"line":42,"column":46}},"11":{"start":{"line":43,"column":4},"end":{"line":43,"column":51}},"12":{"start":{"line":45,"column":4},"end":{"line":45,"column":36}},"13":{"start":{"line":46,"column":4},"end":{"line":46,"column":43}},"14":{"start":{"line":48,"column":4},"end":{"line":48,"column":38}},"15":{"start":{"line":49,"column":4},"end":{"line":49,"column":58}},"16":{"start":{"line":51,"column":4},"end":{"line":51,"column":24}},"17":{"start":{"line":52,"column":4},"end":{"line":52,"column":26}},"18":{"start":{"line":54,"column":4},"end":{"line":54,"column":39}},"19":{"start":{"line":55,"column":4},"end":{"line":55,"column":46}},"20":{"start":{"line":57,"column":4},"end":{"line":57,"column":16}},"21":{"start":{"line":63,"column":4},"end":{"line":63,"column":33}},"22":{"start":{"line":63,"column":24},"end":{"line":63,"column":31}},"23":{"start":{"line":65,"column":4},"end":{"line":65,"column":44}},"24":{"start":{"line":67,"column":4},"end":{"line":67,"column":66}},"25":{"start":{"line":69,"column":4},"end":{"line":69,"column":38}}},"branchMap":{"1":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":4}},{"start":{"line":24,"column":4},"end":{"line":24,"column":4}}]},"2":{"line":27,"type":"if","locations":[{"start":{"line":27,"column":9},"end":{"line":27,"column":9}},{"start":{"line":27,"column":9},"end":{"line":27,"column":9}}]},"3":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":4}},{"start":{"line":63,"column":4},"end":{"line":63,"column":4}}]}}},"./src/marionette.collectionview.js":{"path":"./src/marionette.collectionview.js","s":{"1":1,"2":139,"3":139,"4":139,"5":86,"6":78,"7":78,"8":78,"9":15,"10":15,"11":15,"12":15,"13":4,"14":4,"15":153,"16":153,"17":150,"18":150,"19":99,"20":99,"21":99,"22":98,"23":98,"24":156,"25":156,"26":156,"27":117,"28":39,"29":117,"30":117,"31":185,"32":184,"33":93,"34":93,"35":20,"36":20,"37":20,"38":171,"39":9,"40":9,"41":91,"42":133,"43":133,"44":1,"45":132,"46":221,"47":221,"48":4,"49":221,"50":221,"51":221,"52":221,"53":221,"54":220,"55":3,"56":220,"57":221,"58":221,"59":311,"60":311,"61":311,"62":311,"63":221,"64":221,"65":221,"66":221,"67":8,"68":8,"69":8,"70":65,"71":65,"72":65,"73":64,"74":1,"75":1,"76":65,"77":65,"78":194,"79":54,"80":149,"81":139,"82":24,"83":4,"84":20,"85":20,"86":20,"87":20,"88":186,"89":57,"90":186},"b":{"1":[78,8],"2":[117,39],"3":[156,146],"4":[20,73],"5":[93,37],"6":[9,162],"7":[1,132],"8":[4,217],"9":[3,217],"10":[65,0],"11":[64,1],"12":[1,0],"13":[54,140],"14":[194,176],"15":[4,20]},"f":{"1":139,"2":86,"3":15,"4":4,"5":4,"6":153,"7":150,"8":99,"9":156,"10":117,"11":185,"12":93,"13":171,"14":91,"15":133,"16":221,"17":221,"18":311,"19":221,"20":221,"21":8,"22":65,"23":194,"24":149,"25":139,"26":24,"27":186,"28":57},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":15},"end":{"line":12,"column":32}}},"2":{"name":"(anonymous_2)","line":23,"loc":{"start":{"line":23,"column":18},"end":{"line":23,"column":28}}},"3":{"name":"(anonymous_3)","line":32,"loc":{"start":{"line":32,"column":16},"end":{"line":32,"column":51}}},"4":{"name":"(anonymous_4)","line":41,"loc":{"start":{"line":41,"column":16},"end":{"line":41,"column":26}}},"5":{"name":"(anonymous_5)","line":42,"loc":{"start":{"line":42,"column":23},"end":{"line":42,"column":38}}},"6":{"name":"(anonymous_6)","line":49,"loc":{"start":{"line":49,"column":23},"end":{"line":49,"column":33}}},"7":{"name":"(anonymous_7)","line":56,"loc":{"start":{"line":56,"column":19},"end":{"line":56,"column":29}}},"8":{"name":"(anonymous_8)","line":64,"loc":{"start":{"line":64,"column":10},"end":{"line":64,"column":20}}},"9":{"name":"(anonymous_9)","line":75,"loc":{"start":{"line":75,"column":19},"end":{"line":75,"column":29}}},"10":{"name":"(anonymous_10)","line":88,"loc":{"start":{"line":88,"column":18},"end":{"line":88,"column":28}}},"11":{"name":"(anonymous_11)","line":90,"loc":{"start":{"line":90,"column":25},"end":{"line":90,"column":46}}},"12":{"name":"(anonymous_12)","line":99,"loc":{"start":{"line":99,"column":17},"end":{"line":99,"column":27}}},"13":{"name":"(anonymous_13)","line":112,"loc":{"start":{"line":112,"column":18},"end":{"line":112,"column":28}}},"14":{"name":"(anonymous_14)","line":120,"loc":{"start":{"line":120,"column":16},"end":{"line":120,"column":26}}},"15":{"name":"(anonymous_15)","line":127,"loc":{"start":{"line":127,"column":15},"end":{"line":127,"column":29}}},"16":{"name":"(anonymous_16)","line":139,"loc":{"start":{"line":139,"column":15},"end":{"line":139,"column":46}}},"17":{"name":"(anonymous_17)","line":174,"loc":{"start":{"line":174,"column":31},"end":{"line":174,"column":45}}},"18":{"name":"(anonymous_18)","line":179,"loc":{"start":{"line":179,"column":31},"end":{"line":179,"column":41}}},"19":{"name":"(anonymous_19)","line":189,"loc":{"start":{"line":189,"column":18},"end":{"line":189,"column":40}}},"20":{"name":"(anonymous_20)","line":195,"loc":{"start":{"line":195,"column":17},"end":{"line":195,"column":62}}},"21":{"name":"(anonymous_21)","line":201,"loc":{"start":{"line":201,"column":18},"end":{"line":201,"column":32}}},"22":{"name":"(anonymous_22)","line":208,"loc":{"start":{"line":208,"column":19},"end":{"line":208,"column":33}}},"23":{"name":"(anonymous_23)","line":226,"loc":{"start":{"line":226,"column":14},"end":{"line":226,"column":25}}},"24":{"name":"(anonymous_24)","line":237,"loc":{"start":{"line":237,"column":14},"end":{"line":237,"column":55}}},"25":{"name":"(anonymous_25)","line":243,"loc":{"start":{"line":243,"column":25},"end":{"line":243,"column":35}}},"26":{"name":"(anonymous_26)","line":249,"loc":{"start":{"line":249,"column":9},"end":{"line":249,"column":19}}},"27":{"name":"(anonymous_27)","line":261,"loc":{"start":{"line":261,"column":17},"end":{"line":261,"column":27}}},"28":{"name":"(anonymous_28)","line":262,"loc":{"start":{"line":262,"column":23},"end":{"line":262,"column":38}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":267,"column":3}},"2":{"start":{"line":13,"column":4},"end":{"line":13,"column":33}},"3":{"start":{"line":15,"column":4},"end":{"line":15,"column":72}},"4":{"start":{"line":17,"column":4},"end":{"line":17,"column":26}},"5":{"start":{"line":24,"column":4},"end":{"line":28,"column":5}},"6":{"start":{"line":25,"column":6},"end":{"line":25,"column":69}},"7":{"start":{"line":26,"column":6},"end":{"line":26,"column":74}},"8":{"start":{"line":27,"column":6},"end":{"line":27,"column":65}},"9":{"start":{"line":33,"column":4},"end":{"line":33,"column":26}},"10":{"start":{"line":34,"column":4},"end":{"line":34,"column":42}},"11":{"start":{"line":35,"column":4},"end":{"line":35,"column":46}},"12":{"start":{"line":36,"column":4},"end":{"line":36,"column":44}},"13":{"start":{"line":42,"column":4},"end":{"line":44,"column":7}},"14":{"start":{"line":43,"column":6},"end":{"line":43,"column":51}},"15":{"start":{"line":50,"column":4},"end":{"line":50,"column":46}},"16":{"start":{"line":51,"column":4},"end":{"line":51,"column":57}},"17":{"start":{"line":57,"column":4},"end":{"line":57,"column":39}},"18":{"start":{"line":58,"column":4},"end":{"line":58,"column":52}},"19":{"start":{"line":65,"column":4},"end":{"line":65,"column":26}},"20":{"start":{"line":66,"column":4},"end":{"line":66,"column":31}},"21":{"start":{"line":67,"column":4},"end":{"line":67,"column":27}},"22":{"start":{"line":68,"column":4},"end":{"line":68,"column":27}},"23":{"start":{"line":69,"column":4},"end":{"line":69,"column":16}},"24":{"start":{"line":76,"column":4},"end":{"line":76,"column":26}},"25":{"start":{"line":77,"column":4},"end":{"line":77,"column":25}},"26":{"start":{"line":79,"column":4},"end":{"line":83,"column":5}},"27":{"start":{"line":80,"column":6},"end":{"line":80,"column":28}},"28":{"start":{"line":82,"column":6},"end":{"line":82,"column":27}},"29":{"start":{"line":89,"column":4},"end":{"line":89,"column":17}},"30":{"start":{"line":90,"column":4},"end":{"line":93,"column":13}},"31":{"start":{"line":91,"column":6},"end":{"line":91,"column":40}},"32":{"start":{"line":92,"column":6},"end":{"line":92,"column":46}},"33":{"start":{"line":100,"column":4},"end":{"line":100,"column":40}},"34":{"start":{"line":102,"column":4},"end":{"line":106,"column":5}},"35":{"start":{"line":103,"column":6},"end":{"line":103,"column":36}},"36":{"start":{"line":104,"column":6},"end":{"line":104,"column":39}},"37":{"start":{"line":105,"column":6},"end":{"line":105,"column":44}},"38":{"start":{"line":113,"column":4},"end":{"line":116,"column":5}},"39":{"start":{"line":114,"column":6},"end":{"line":114,"column":27}},"40":{"start":{"line":115,"column":6},"end":{"line":115,"column":36}},"41":{"start":{"line":121,"column":4},"end":{"line":121,"column":51}},"42":{"start":{"line":128,"column":4},"end":{"line":128,"column":58}},"43":{"start":{"line":130,"column":4},"end":{"line":132,"column":5}},"44":{"start":{"line":131,"column":6},"end":{"line":131,"column":71}},"45":{"start":{"line":134,"column":4},"end":{"line":134,"column":20}},"46":{"start":{"line":141,"column":4},"end":{"line":141,"column":72}},"47":{"start":{"line":142,"column":4},"end":{"line":144,"column":5}},"48":{"start":{"line":143,"column":6},"end":{"line":143,"column":64}},"49":{"start":{"line":147,"column":4},"end":{"line":147,"column":67}},"50":{"start":{"line":150,"column":4},"end":{"line":150,"column":43}},"51":{"start":{"line":153,"column":4},"end":{"line":153,"column":50}},"52":{"start":{"line":157,"column":4},"end":{"line":157,"column":28}},"53":{"start":{"line":160,"column":4},"end":{"line":160,"column":37}},"54":{"start":{"line":164,"column":4},"end":{"line":166,"column":5}},"55":{"start":{"line":165,"column":6},"end":{"line":165,"column":50}},"56":{"start":{"line":169,"column":4},"end":{"line":169,"column":49}},"57":{"start":{"line":175,"column":4},"end":{"line":175,"column":67}},"58":{"start":{"line":179,"column":4},"end":{"line":185,"column":13}},"59":{"start":{"line":180,"column":6},"end":{"line":180,"column":34}},"60":{"start":{"line":181,"column":6},"end":{"line":181,"column":39}},"61":{"start":{"line":182,"column":6},"end":{"line":182,"column":30}},"62":{"start":{"line":184,"column":6},"end":{"line":184,"column":49}},"63":{"start":{"line":190,"column":4},"end":{"line":190,"column":18}},"64":{"start":{"line":191,"column":4},"end":{"line":191,"column":39}},"65":{"start":{"line":196,"column":4},"end":{"line":196,"column":59}},"66":{"start":{"line":197,"column":4},"end":{"line":197,"column":37}},"67":{"start":{"line":202,"column":4},"end":{"line":202,"column":47}},"68":{"start":{"line":203,"column":4},"end":{"line":203,"column":31}},"69":{"start":{"line":204,"column":4},"end":{"line":204,"column":22}},"70":{"start":{"line":212,"column":4},"end":{"line":220,"column":5}},"71":{"start":{"line":213,"column":6},"end":{"line":213,"column":31}},"72":{"start":{"line":216,"column":6},"end":{"line":217,"column":46}},"73":{"start":{"line":216,"column":24},"end":{"line":216,"column":37}},"74":{"start":{"line":217,"column":11},"end":{"line":217,"column":46}},"75":{"start":{"line":217,"column":30},"end":{"line":217,"column":44}},"76":{"start":{"line":219,"column":6},"end":{"line":219,"column":33}},"77":{"start":{"line":222,"column":4},"end":{"line":222,"column":45}},"78":{"start":{"line":229,"column":4},"end":{"line":231,"column":5}},"79":{"start":{"line":230,"column":6},"end":{"line":230,"column":27}},"80":{"start":{"line":238,"column":4},"end":{"line":238,"column":43}},"81":{"start":{"line":244,"column":4},"end":{"line":244,"column":54}},"82":{"start":{"line":250,"column":4},"end":{"line":250,"column":33}},"83":{"start":{"line":250,"column":24},"end":{"line":250,"column":31}},"84":{"start":{"line":252,"column":4},"end":{"line":252,"column":50}},"85":{"start":{"line":253,"column":4},"end":{"line":253,"column":25}},"86":{"start":{"line":254,"column":4},"end":{"line":254,"column":44}},"87":{"start":{"line":256,"column":4},"end":{"line":256,"column":66}},"88":{"start":{"line":262,"column":4},"end":{"line":264,"column":13}},"89":{"start":{"line":263,"column":6},"end":{"line":263,"column":34}},"90":{"start":{"line":265,"column":4},"end":{"line":265,"column":22}}},"branchMap":{"1":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":4},"end":{"line":24,"column":4}},{"start":{"line":24,"column":4},"end":{"line":24,"column":4}}]},"2":{"line":79,"type":"if","locations":[{"start":{"line":79,"column":4},"end":{"line":79,"column":4}},{"start":{"line":79,"column":4},"end":{"line":79,"column":4}}]},"3":{"line":79,"type":"binary-expr","locations":[{"start":{"line":79,"column":8},"end":{"line":79,"column":23}},{"start":{"line":79,"column":27},"end":{"line":79,"column":53}}]},"4":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":4},"end":{"line":102,"column":4}},{"start":{"line":102,"column":4},"end":{"line":102,"column":4}}]},"5":{"line":102,"type":"binary-expr","locations":[{"start":{"line":102,"column":8},"end":{"line":102,"column":17}},{"start":{"line":102,"column":21},"end":{"line":102,"column":44}}]},"6":{"line":113,"type":"if","locations":[{"start":{"line":113,"column":4},"end":{"line":113,"column":4}},{"start":{"line":113,"column":4},"end":{"line":113,"column":4}}]},"7":{"line":130,"type":"if","locations":[{"start":{"line":130,"column":4},"end":{"line":130,"column":4}},{"start":{"line":130,"column":4},"end":{"line":130,"column":4}}]},"8":{"line":142,"type":"if","locations":[{"start":{"line":142,"column":4},"end":{"line":142,"column":4}},{"start":{"line":142,"column":4},"end":{"line":142,"column":4}}]},"9":{"line":164,"type":"if","locations":[{"start":{"line":164,"column":4},"end":{"line":164,"column":4}},{"start":{"line":164,"column":4},"end":{"line":164,"column":4}}]},"10":{"line":212,"type":"if","locations":[{"start":{"line":212,"column":4},"end":{"line":212,"column":4}},{"start":{"line":212,"column":4},"end":{"line":212,"column":4}}]},"11":{"line":216,"type":"if","locations":[{"start":{"line":216,"column":6},"end":{"line":216,"column":6}},{"start":{"line":216,"column":6},"end":{"line":216,"column":6}}]},"12":{"line":217,"type":"if","locations":[{"start":{"line":217,"column":11},"end":{"line":217,"column":11}},{"start":{"line":217,"column":11},"end":{"line":217,"column":11}}]},"13":{"line":229,"type":"if","locations":[{"start":{"line":229,"column":4},"end":{"line":229,"column":4}},{"start":{"line":229,"column":4},"end":{"line":229,"column":4}}]},"14":{"line":229,"type":"binary-expr","locations":[{"start":{"line":229,"column":8},"end":{"line":229,"column":24}},{"start":{"line":229,"column":28},"end":{"line":229,"column":56}}]},"15":{"line":250,"type":"if","locations":[{"start":{"line":250,"column":4},"end":{"line":250,"column":4}},{"start":{"line":250,"column":4},"end":{"line":250,"column":4}}]}}},"./src/marionette.compositeview.js":{"path":"./src/marionette.compositeview.js","s":{"1":1,"2":54,"3":53,"4":44,"5":44,"6":44,"7":69,"8":69,"9":0,"10":69,"11":54,"12":54,"13":41,"14":54,"15":54,"16":54,"17":54,"18":54,"19":54,"20":53,"21":53,"22":53,"23":53,"24":52,"25":52,"26":52,"27":58,"28":57,"29":56,"30":54,"31":54,"32":54,"33":54,"34":54,"35":50,"36":49,"37":50,"38":13,"39":37,"40":37,"41":37,"42":6,"43":6,"44":6,"45":1,"46":31,"47":36,"48":36,"49":54,"50":3},"b":{"1":[44,9],"2":[69,6],"3":[0,69],"4":[41,13],"5":[57,1],"6":[13,37],"7":[6,31],"8":[0,6],"9":[1,5],"10":[3,51]},"f":{"1":54,"2":53,"3":69,"4":54,"5":54,"6":58,"7":54,"8":50,"9":50,"10":54},"fnMap":{"1":{"name":"(anonymous_1)","line":11,"loc":{"start":{"line":11,"column":15},"end":{"line":11,"column":25}}},"2":{"name":"(anonymous_2)","line":18,"loc":{"start":{"line":18,"column":18},"end":{"line":18,"column":28}}},"3":{"name":"(anonymous_3)","line":30,"loc":{"start":{"line":30,"column":15},"end":{"line":30,"column":29}}},"4":{"name":"(anonymous_4)","line":43,"loc":{"start":{"line":43,"column":17},"end":{"line":43,"column":27}}},"5":{"name":"(anonymous_5)","line":56,"loc":{"start":{"line":56,"column":10},"end":{"line":56,"column":20}}},"6":{"name":"(anonymous_6)","line":77,"loc":{"start":{"line":77,"column":19},"end":{"line":77,"column":29}}},"7":{"name":"(anonymous_7)","line":87,"loc":{"start":{"line":87,"column":15},"end":{"line":87,"column":25}}},"8":{"name":"(anonymous_8)","line":100,"loc":{"start":{"line":100,"column":14},"end":{"line":100,"column":37}}},"9":{"name":"(anonymous_9)","line":107,"loc":{"start":{"line":107,"column":24},"end":{"line":107,"column":47}}},"10":{"name":"(anonymous_10)","line":131,"loc":{"start":{"line":131,"column":26},"end":{"line":131,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":136,"column":3}},"2":{"start":{"line":12,"column":4},"end":{"line":12,"column":82}},"3":{"start":{"line":19,"column":4},"end":{"line":23,"column":5}},"4":{"start":{"line":20,"column":6},"end":{"line":20,"column":69}},"5":{"start":{"line":21,"column":6},"end":{"line":21,"column":74}},"6":{"start":{"line":22,"column":6},"end":{"line":22,"column":74}},"7":{"start":{"line":31,"column":4},"end":{"line":31,"column":78}},"8":{"start":{"line":33,"column":4},"end":{"line":35,"column":5}},"9":{"start":{"line":34,"column":6},"end":{"line":34,"column":71}},"10":{"start":{"line":37,"column":4},"end":{"line":37,"column":20}},"11":{"start":{"line":44,"column":4},"end":{"line":44,"column":18}},"12":{"start":{"line":46,"column":4},"end":{"line":48,"column":5}},"13":{"start":{"line":47,"column":6},"end":{"line":47,"column":33}},"14":{"start":{"line":50,"column":4},"end":{"line":50,"column":16}},"15":{"start":{"line":57,"column":4},"end":{"line":57,"column":27}},"16":{"start":{"line":58,"column":4},"end":{"line":58,"column":26}},"17":{"start":{"line":59,"column":4},"end":{"line":59,"column":34}},"18":{"start":{"line":61,"column":4},"end":{"line":61,"column":31}},"19":{"start":{"line":62,"column":4},"end":{"line":62,"column":34}},"20":{"start":{"line":63,"column":4},"end":{"line":63,"column":24}},"21":{"start":{"line":67,"column":4},"end":{"line":67,"column":26}},"22":{"start":{"line":68,"column":4},"end":{"line":68,"column":51}},"23":{"start":{"line":70,"column":4},"end":{"line":70,"column":27}},"24":{"start":{"line":72,"column":4},"end":{"line":72,"column":45}},"25":{"start":{"line":73,"column":4},"end":{"line":73,"column":27}},"26":{"start":{"line":74,"column":4},"end":{"line":74,"column":16}},"27":{"start":{"line":78,"column":4},"end":{"line":81,"column":5}},"28":{"start":{"line":79,"column":6},"end":{"line":79,"column":69}},"29":{"start":{"line":80,"column":6},"end":{"line":80,"column":58}},"30":{"start":{"line":88,"column":4},"end":{"line":88,"column":18}},"31":{"start":{"line":89,"column":4},"end":{"line":89,"column":32}},"32":{"start":{"line":90,"column":4},"end":{"line":90,"column":43}},"33":{"start":{"line":92,"column":4},"end":{"line":92,"column":38}},"34":{"start":{"line":93,"column":4},"end":{"line":93,"column":54}},"35":{"start":{"line":101,"column":4},"end":{"line":101,"column":51}},"36":{"start":{"line":102,"column":4},"end":{"line":102,"column":29}},"37":{"start":{"line":108,"column":4},"end":{"line":110,"column":5}},"38":{"start":{"line":109,"column":6},"end":{"line":109,"column":46}},"39":{"start":{"line":112,"column":4},"end":{"line":112,"column":18}},"40":{"start":{"line":113,"column":4},"end":{"line":113,"column":85}},"41":{"start":{"line":114,"column":4},"end":{"line":124,"column":5}},"42":{"start":{"line":116,"column":6},"end":{"line":116,"column":95}},"43":{"start":{"line":117,"column":6},"end":{"line":117,"column":44}},"44":{"start":{"line":118,"column":6},"end":{"line":120,"column":7}},"45":{"start":{"line":119,"column":8},"end":{"line":119,"column":139}},"46":{"start":{"line":123,"column":6},"end":{"line":123,"column":36}},"47":{"start":{"line":126,"column":4},"end":{"line":126,"column":49}},"48":{"start":{"line":127,"column":4},"end":{"line":127,"column":21}},"49":{"start":{"line":132,"column":4},"end":{"line":134,"column":5}},"50":{"start":{"line":133,"column":6},"end":{"line":133,"column":37}}},"branchMap":{"1":{"line":19,"type":"if","locations":[{"start":{"line":19,"column":4},"end":{"line":19,"column":4}},{"start":{"line":19,"column":4},"end":{"line":19,"column":4}}]},"2":{"line":31,"type":"binary-expr","locations":[{"start":{"line":31,"column":19},"end":{"line":31,"column":57}},{"start":{"line":31,"column":61},"end":{"line":31,"column":77}}]},"3":{"line":33,"type":"if","locations":[{"start":{"line":33,"column":4},"end":{"line":33,"column":4}},{"start":{"line":33,"column":4},"end":{"line":33,"column":4}}]},"4":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":4},"end":{"line":46,"column":4}},{"start":{"line":46,"column":4},"end":{"line":46,"column":4}}]},"5":{"line":78,"type":"if","locations":[{"start":{"line":78,"column":4},"end":{"line":78,"column":4}},{"start":{"line":78,"column":4},"end":{"line":78,"column":4}}]},"6":{"line":108,"type":"if","locations":[{"start":{"line":108,"column":4},"end":{"line":108,"column":4}},{"start":{"line":108,"column":4},"end":{"line":108,"column":4}}]},"7":{"line":114,"type":"if","locations":[{"start":{"line":114,"column":4},"end":{"line":114,"column":4}},{"start":{"line":114,"column":4},"end":{"line":114,"column":4}}]},"8":{"line":116,"type":"cond-expr","locations":[{"start":{"line":116,"column":55},"end":{"line":116,"column":74}},{"start":{"line":116,"column":77},"end":{"line":116,"column":94}}]},"9":{"line":118,"type":"if","locations":[{"start":{"line":118,"column":6},"end":{"line":118,"column":6}},{"start":{"line":118,"column":6},"end":{"line":118,"column":6}}]},"10":{"line":132,"type":"if","locations":[{"start":{"line":132,"column":4},"end":{"line":132,"column":4}},{"start":{"line":132,"column":4},"end":{"line":132,"column":4}}]}}},"./src/marionette.region.js":{"path":"./src/marionette.region.js","s":{"1":1,"2":131,"3":131,"4":131,"5":1,"6":1,"7":1,"8":130,"9":1,"10":1,"11":1,"12":104,"13":104,"14":104,"15":104,"16":104,"17":0,"18":104,"19":104,"20":22,"21":104,"22":80,"23":104,"24":2,"25":104,"26":40,"27":104,"28":62,"29":104,"30":104,"31":63,"32":34,"33":34,"34":33,"35":34,"36":104,"37":1,"38":80,"39":80,"40":80,"41":80,"42":74,"43":80,"44":80,"45":77,"46":80,"47":80,"48":80,"49":85,"50":75,"51":41,"52":74,"53":140,"54":140,"55":102,"56":38,"57":16,"58":22,"59":22,"60":38,"61":38,"62":3,"63":17,"64":17,"65":1},"b":{"1":[131,23],"2":[1,130],"3":[1,129],"4":[0,104],"5":[104,102,80],"6":[22,82],"7":[80,24],"8":[2,102],"9":[40,64],"10":[104,102],"11":[62,42],"12":[63,41],"13":[33,1],"14":[80,77],"15":[74,6],"16":[77,3],"17":[80,6],"18":[75,10],"19":[85,10],"20":[102,38],"21":[140,39],"22":[16,22],"23":[22,0]},"f":{"1":131,"2":104,"3":34,"4":80,"5":85,"6":41,"7":74,"8":140,"9":3,"10":17},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":20},"end":{"line":7,"column":37}}},"2":{"name":"(anonymous_2)","line":44,"loc":{"start":{"line":44,"column":15},"end":{"line":44,"column":56}}},"3":{"name":"(anonymous_3)","line":94,"loc":{"start":{"line":94,"column":21},"end":{"line":94,"column":40}}},"4":{"name":"(anonymous_4)","line":118,"loc":{"start":{"line":118,"column":8},"end":{"line":118,"column":22}}},"5":{"name":"(anonymous_5)","line":142,"loc":{"start":{"line":142,"column":12},"end":{"line":142,"column":22}}},"6":{"name":"(anonymous_6)","line":150,"loc":{"start":{"line":150,"column":9},"end":{"line":150,"column":27}}},"7":{"name":"(anonymous_7)","line":156,"loc":{"start":{"line":156,"column":8},"end":{"line":156,"column":22}}},"8":{"name":"(anonymous_8)","line":162,"loc":{"start":{"line":162,"column":9},"end":{"line":162,"column":19}}},"9":{"name":"(anonymous_9)","line":179,"loc":{"start":{"line":179,"column":14},"end":{"line":179,"column":28}}},"10":{"name":"(anonymous_10)","line":187,"loc":{"start":{"line":187,"column":9},"end":{"line":187,"column":19}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":22,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":31}},"3":{"start":{"line":10,"column":2},"end":{"line":10,"column":45}},"4":{"start":{"line":12,"column":2},"end":{"line":16,"column":3}},"5":{"start":{"line":13,"column":4},"end":{"line":13,"column":67}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":27}},"7":{"start":{"line":15,"column":4},"end":{"line":15,"column":14}},"8":{"start":{"line":18,"column":2},"end":{"line":21,"column":3}},"9":{"start":{"line":19,"column":4},"end":{"line":19,"column":54}},"10":{"start":{"line":20,"column":4},"end":{"line":20,"column":38}},"11":{"start":{"line":28,"column":0},"end":{"line":106,"column":3}},"12":{"start":{"line":46,"column":4},"end":{"line":46,"column":60}},"13":{"start":{"line":47,"column":4},"end":{"line":47,"column":77}},"14":{"start":{"line":48,"column":4},"end":{"line":48,"column":81}},"15":{"start":{"line":49,"column":4},"end":{"line":49,"column":60}},"16":{"start":{"line":51,"column":4},"end":{"line":53,"column":5}},"17":{"start":{"line":52,"column":6},"end":{"line":52,"column":122}},"18":{"start":{"line":55,"column":4},"end":{"line":55,"column":29}},"19":{"start":{"line":59,"column":4},"end":{"line":61,"column":5}},"20":{"start":{"line":60,"column":6},"end":{"line":60,"column":30}},"21":{"start":{"line":63,"column":4},"end":{"line":65,"column":5}},"22":{"start":{"line":64,"column":6},"end":{"line":64,"column":39}},"23":{"start":{"line":69,"column":4},"end":{"line":71,"column":5}},"24":{"start":{"line":70,"column":6},"end":{"line":70,"column":32}},"25":{"start":{"line":73,"column":4},"end":{"line":75,"column":5}},"26":{"start":{"line":74,"column":6},"end":{"line":74,"column":37}},"27":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"28":{"start":{"line":78,"column":6},"end":{"line":78,"column":43}},"29":{"start":{"line":82,"column":4},"end":{"line":84,"column":7}},"30":{"start":{"line":92,"column":4},"end":{"line":101,"column":5}},"31":{"start":{"line":94,"column":6},"end":{"line":100,"column":8}},"32":{"start":{"line":95,"column":8},"end":{"line":95,"column":45}},"33":{"start":{"line":96,"column":8},"end":{"line":98,"column":9}},"34":{"start":{"line":97,"column":10},"end":{"line":97,"column":32}},"35":{"start":{"line":99,"column":8},"end":{"line":99,"column":39}},"36":{"start":{"line":103,"column":4},"end":{"line":103,"column":18}},"37":{"start":{"line":111,"column":0},"end":{"line":191,"column":3}},"38":{"start":{"line":120,"column":4},"end":{"line":120,"column":20}},"39":{"start":{"line":122,"column":4},"end":{"line":122,"column":64}},"40":{"start":{"line":124,"column":4},"end":{"line":124,"column":52}},"41":{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},"42":{"start":{"line":127,"column":6},"end":{"line":127,"column":19}},"43":{"start":{"line":130,"column":4},"end":{"line":130,"column":18}},"44":{"start":{"line":132,"column":4},"end":{"line":134,"column":5}},"45":{"start":{"line":133,"column":6},"end":{"line":133,"column":22}},"46":{"start":{"line":136,"column":4},"end":{"line":136,"column":28}},"47":{"start":{"line":138,"column":4},"end":{"line":138,"column":54}},"48":{"start":{"line":139,"column":4},"end":{"line":139,"column":48}},"49":{"start":{"line":143,"column":4},"end":{"line":145,"column":5}},"50":{"start":{"line":144,"column":6},"end":{"line":144,"column":37}},"51":{"start":{"line":151,"column":4},"end":{"line":151,"column":34}},"52":{"start":{"line":157,"column":4},"end":{"line":157,"column":37}},"53":{"start":{"line":163,"column":4},"end":{"line":163,"column":32}},"54":{"start":{"line":164,"column":4},"end":{"line":164,"column":42}},"55":{"start":{"line":164,"column":33},"end":{"line":164,"column":40}},"56":{"start":{"line":167,"column":4},"end":{"line":168,"column":44}},"57":{"start":{"line":167,"column":22},"end":{"line":167,"column":35}},"58":{"start":{"line":168,"column":9},"end":{"line":168,"column":44}},"59":{"start":{"line":168,"column":28},"end":{"line":168,"column":42}},"60":{"start":{"line":170,"column":4},"end":{"line":170,"column":49}},"61":{"start":{"line":172,"column":4},"end":{"line":172,"column":28}},"62":{"start":{"line":180,"column":4},"end":{"line":180,"column":28}},"63":{"start":{"line":188,"column":4},"end":{"line":188,"column":17}},"64":{"start":{"line":189,"column":4},"end":{"line":189,"column":20}},"65":{"start":{"line":194,"column":0},"end":{"line":194,"column":45}}},"branchMap":{"1":{"line":8,"type":"binary-expr","locations":[{"start":{"line":8,"column":17},"end":{"line":8,"column":24}},{"start":{"line":8,"column":28},"end":{"line":8,"column":30}}]},"2":{"line":12,"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":12,"column":2}},{"start":{"line":12,"column":2},"end":{"line":12,"column":2}}]},"3":{"line":18,"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":18,"column":2}},{"start":{"line":18,"column":2},"end":{"line":18,"column":2}}]},"4":{"line":51,"type":"if","locations":[{"start":{"line":51,"column":4},"end":{"line":51,"column":4}},{"start":{"line":51,"column":4},"end":{"line":51,"column":4}}]},"5":{"line":51,"type":"binary-expr","locations":[{"start":{"line":51,"column":8},"end":{"line":51,"column":21}},{"start":{"line":51,"column":25},"end":{"line":51,"column":40}},{"start":{"line":51,"column":44},"end":{"line":51,"column":67}}]},"6":{"line":59,"type":"if","locations":[{"start":{"line":59,"column":4},"end":{"line":59,"column":4}},{"start":{"line":59,"column":4},"end":{"line":59,"column":4}}]},"7":{"line":63,"type":"if","locations":[{"start":{"line":63,"column":4},"end":{"line":63,"column":4}},{"start":{"line":63,"column":4},"end":{"line":63,"column":4}}]},"8":{"line":69,"type":"if","locations":[{"start":{"line":69,"column":4},"end":{"line":69,"column":4}},{"start":{"line":69,"column":4},"end":{"line":69,"column":4}}]},"9":{"line":73,"type":"if","locations":[{"start":{"line":73,"column":4},"end":{"line":73,"column":4}},{"start":{"line":73,"column":4},"end":{"line":73,"column":4}}]},"10":{"line":73,"type":"binary-expr","locations":[{"start":{"line":73,"column":8},"end":{"line":73,"column":21}},{"start":{"line":73,"column":25},"end":{"line":73,"column":46}}]},"11":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"12":{"line":92,"type":"if","locations":[{"start":{"line":92,"column":4},"end":{"line":92,"column":4}},{"start":{"line":92,"column":4},"end":{"line":92,"column":4}}]},"13":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":8},"end":{"line":96,"column":8}},{"start":{"line":96,"column":8},"end":{"line":96,"column":8}}]},"14":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":23},"end":{"line":122,"column":36}},{"start":{"line":122,"column":40},"end":{"line":122,"column":63}}]},"15":{"line":126,"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":126,"column":4}},{"start":{"line":126,"column":4},"end":{"line":126,"column":4}}]},"16":{"line":132,"type":"if","locations":[{"start":{"line":132,"column":4},"end":{"line":132,"column":4}},{"start":{"line":132,"column":4},"end":{"line":132,"column":4}}]},"17":{"line":132,"type":"binary-expr","locations":[{"start":{"line":132,"column":8},"end":{"line":132,"column":23}},{"start":{"line":132,"column":27},"end":{"line":132,"column":39}}]},"18":{"line":143,"type":"if","locations":[{"start":{"line":143,"column":4},"end":{"line":143,"column":4}},{"start":{"line":143,"column":4},"end":{"line":143,"column":4}}]},"19":{"line":143,"type":"binary-expr","locations":[{"start":{"line":143,"column":8},"end":{"line":143,"column":17}},{"start":{"line":143,"column":21},"end":{"line":143,"column":42}}]},"20":{"line":164,"type":"if","locations":[{"start":{"line":164,"column":4},"end":{"line":164,"column":4}},{"start":{"line":164,"column":4},"end":{"line":164,"column":4}}]},"21":{"line":164,"type":"binary-expr","locations":[{"start":{"line":164,"column":8},"end":{"line":164,"column":13}},{"start":{"line":164,"column":17},"end":{"line":164,"column":30}}]},"22":{"line":167,"type":"if","locations":[{"start":{"line":167,"column":4},"end":{"line":167,"column":4}},{"start":{"line":167,"column":4},"end":{"line":167,"column":4}}]},"23":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":9},"end":{"line":168,"column":9}},{"start":{"line":168,"column":9},"end":{"line":168,"column":9}}]}}},"./src/marionette.regionManager.js":{"path":"./src/marionette.regionManager.js","s":{"1":1,"2":1,"3":167,"4":167,"5":64,"6":64,"7":82,"8":65,"9":82,"10":78,"11":82,"12":82,"13":64,"14":110,"15":110,"16":110,"17":110,"18":110,"19":102,"20":8,"21":2,"22":6,"23":110,"24":110,"25":110,"26":17,"27":10,"28":10,"29":11,"30":18,"31":15,"32":19,"33":8,"34":8,"35":8,"36":110,"37":110,"38":28,"39":28,"40":28,"41":28,"42":138,"43":1,"44":1,"45":23,"46":13,"47":13,"48":13,"49":1},"b":{"1":[65,17],"2":[78,4],"3":[102,8],"4":[110,88,88],"5":[2,6]},"f":{"1":1,"2":167,"3":64,"4":82,"5":110,"6":17,"7":10,"8":11,"9":18,"10":15,"11":19,"12":8,"13":110,"14":28,"15":138,"16":23,"17":13},"fnMap":{"1":{"name":"(anonymous_1)","line":5,"loc":{"start":{"line":5,"column":28},"end":{"line":5,"column":48}}},"2":{"name":"(anonymous_2)","line":8,"loc":{"start":{"line":8,"column":17},"end":{"line":8,"column":34}}},"3":{"name":"(anonymous_3)","line":16,"loc":{"start":{"line":16,"column":16},"end":{"line":16,"column":53}}},"4":{"name":"(anonymous_4)","line":19,"loc":{"start":{"line":19,"column":32},"end":{"line":19,"column":58}}},"5":{"name":"(anonymous_5)","line":37,"loc":{"start":{"line":37,"column":15},"end":{"line":37,"column":41}}},"6":{"name":"(anonymous_6)","line":58,"loc":{"start":{"line":58,"column":9},"end":{"line":58,"column":23}}},"7":{"name":"(anonymous_7)","line":63,"loc":{"start":{"line":63,"column":18},"end":{"line":63,"column":32}}},"8":{"name":"(anonymous_8)","line":70,"loc":{"start":{"line":70,"column":19},"end":{"line":70,"column":29}}},"9":{"name":"(anonymous_9)","line":71,"loc":{"start":{"line":71,"column":28},"end":{"line":71,"column":50}}},"10":{"name":"(anonymous_10)","line":78,"loc":{"start":{"line":78,"column":18},"end":{"line":78,"column":28}}},"11":{"name":"(anonymous_11)","line":79,"loc":{"start":{"line":79,"column":28},"end":{"line":79,"column":50}}},"12":{"name":"(anonymous_12)","line":86,"loc":{"start":{"line":86,"column":11},"end":{"line":86,"column":21}}},"13":{"name":"(anonymous_13)","line":93,"loc":{"start":{"line":93,"column":12},"end":{"line":93,"column":34}}},"14":{"name":"(anonymous_14)","line":99,"loc":{"start":{"line":99,"column":13},"end":{"line":99,"column":35}}},"15":{"name":"(anonymous_15)","line":107,"loc":{"start":{"line":107,"column":16},"end":{"line":107,"column":26}}},"16":{"name":"(anonymous_16)","line":123,"loc":{"start":{"line":123,"column":18},"end":{"line":123,"column":35}}},"17":{"name":"(anonymous_17)","line":124,"loc":{"start":{"line":124,"column":38},"end":{"line":124,"column":49}}}},"statementMap":{"1":{"start":{"line":5,"column":0},"end":{"line":132,"column":15}},"2":{"start":{"line":7,"column":2},"end":{"line":111,"column":5}},"3":{"start":{"line":9,"column":6},"end":{"line":9,"column":25}},"4":{"start":{"line":10,"column":6},"end":{"line":10,"column":70}},"5":{"start":{"line":17,"column":6},"end":{"line":17,"column":23}},"6":{"start":{"line":19,"column":6},"end":{"line":30,"column":15}},"7":{"start":{"line":20,"column":8},"end":{"line":22,"column":9}},"8":{"start":{"line":21,"column":10},"end":{"line":21,"column":48}},"9":{"start":{"line":24,"column":8},"end":{"line":26,"column":9}},"10":{"start":{"line":25,"column":10},"end":{"line":25,"column":60}},"11":{"start":{"line":28,"column":8},"end":{"line":28,"column":54}},"12":{"start":{"line":29,"column":8},"end":{"line":29,"column":31}},"13":{"start":{"line":32,"column":6},"end":{"line":32,"column":21}},"14":{"start":{"line":38,"column":6},"end":{"line":38,"column":17}},"15":{"start":{"line":40,"column":6},"end":{"line":40,"column":44}},"16":{"start":{"line":41,"column":6},"end":{"line":41,"column":44}},"17":{"start":{"line":42,"column":6},"end":{"line":42,"column":46}},"18":{"start":{"line":44,"column":6},"end":{"line":50,"column":7}},"19":{"start":{"line":45,"column":8},"end":{"line":45,"column":78}},"20":{"start":{"line":46,"column":13},"end":{"line":50,"column":7}},"21":{"start":{"line":47,"column":8},"end":{"line":47,"column":78}},"22":{"start":{"line":49,"column":8},"end":{"line":49,"column":28}},"23":{"start":{"line":52,"column":6},"end":{"line":52,"column":32}},"24":{"start":{"line":53,"column":6},"end":{"line":53,"column":53}},"25":{"start":{"line":54,"column":6},"end":{"line":54,"column":20}},"26":{"start":{"line":59,"column":6},"end":{"line":59,"column":33}},"27":{"start":{"line":64,"column":6},"end":{"line":64,"column":39}},"28":{"start":{"line":65,"column":6},"end":{"line":65,"column":33}},"29":{"start":{"line":71,"column":6},"end":{"line":73,"column":15}},"30":{"start":{"line":72,"column":8},"end":{"line":72,"column":35}},"31":{"start":{"line":79,"column":6},"end":{"line":81,"column":15}},"32":{"start":{"line":80,"column":8},"end":{"line":80,"column":23}},"33":{"start":{"line":87,"column":6},"end":{"line":87,"column":27}},"34":{"start":{"line":88,"column":6},"end":{"line":88,"column":55}},"35":{"start":{"line":89,"column":6},"end":{"line":89,"column":62}},"36":{"start":{"line":94,"column":6},"end":{"line":94,"column":35}},"37":{"start":{"line":95,"column":6},"end":{"line":95,"column":24}},"38":{"start":{"line":100,"column":6},"end":{"line":100,"column":21}},"39":{"start":{"line":101,"column":6},"end":{"line":101,"column":33}},"40":{"start":{"line":102,"column":6},"end":{"line":102,"column":24}},"41":{"start":{"line":103,"column":6},"end":{"line":103,"column":56}},"42":{"start":{"line":108,"column":6},"end":{"line":108,"column":42}},"43":{"start":{"line":118,"column":2},"end":{"line":121,"column":43}},"44":{"start":{"line":123,"column":2},"end":{"line":129,"column":5}},"45":{"start":{"line":124,"column":4},"end":{"line":128,"column":6}},"46":{"start":{"line":125,"column":6},"end":{"line":125,"column":44}},"47":{"start":{"line":126,"column":6},"end":{"line":126,"column":56}},"48":{"start":{"line":127,"column":6},"end":{"line":127,"column":38}},"49":{"start":{"line":131,"column":2},"end":{"line":131,"column":23}}},"branchMap":{"1":{"line":20,"type":"if","locations":[{"start":{"line":20,"column":8},"end":{"line":20,"column":8}},{"start":{"line":20,"column":8},"end":{"line":20,"column":8}}]},"2":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":8},"end":{"line":24,"column":8}},{"start":{"line":24,"column":8},"end":{"line":24,"column":8}}]},"3":{"line":44,"type":"if","locations":[{"start":{"line":44,"column":6},"end":{"line":44,"column":6}},{"start":{"line":44,"column":6},"end":{"line":44,"column":6}}]},"4":{"line":44,"type":"binary-expr","locations":[{"start":{"line":44,"column":10},"end":{"line":44,"column":18}},{"start":{"line":44,"column":23},"end":{"line":44,"column":31}},{"start":{"line":44,"column":35},"end":{"line":44,"column":46}}]},"5":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":13},"end":{"line":46,"column":13}},{"start":{"line":46,"column":13},"end":{"line":46,"column":13}}]}}},"./src/marionette.layout.js":{"path":"./src/marionette.layout.js","s":{"1":1,"2":36,"3":36,"4":36,"5":36,"6":42,"7":2,"8":42,"9":29,"10":13,"11":12,"12":42,"13":42,"14":42,"15":5,"16":0,"17":5,"18":5,"19":5,"20":11,"21":11,"22":11,"23":38,"24":38,"25":4,"26":4,"27":49,"28":49,"29":32,"30":49,"31":38,"32":38,"33":38,"34":2,"35":36,"36":38,"37":12,"38":12,"39":15,"40":38,"41":38,"42":59,"43":59,"44":38,"45":13,"46":13},"b":{"1":[36,20],"2":[2,40],"3":[29,13],"4":[12,1],"5":[0,5],"6":[2,36],"7":[36,13]},"f":{"1":36,"2":42,"3":5,"4":11,"5":38,"6":4,"7":49,"8":32,"9":38,"10":12,"11":15,"12":38,"13":59,"14":13},"fnMap":{"1":{"name":"(anonymous_1)","line":15,"loc":{"start":{"line":15,"column":15},"end":{"line":15,"column":34}}},"2":{"name":"(anonymous_2)","line":28,"loc":{"start":{"line":28,"column":10},"end":{"line":28,"column":20}}},"3":{"name":"(anonymous_3)","line":52,"loc":{"start":{"line":52,"column":9},"end":{"line":52,"column":21}}},"4":{"name":"(anonymous_4)","line":60,"loc":{"start":{"line":60,"column":13},"end":{"line":60,"column":39}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":14},"end":{"line":67,"column":31}}},"6":{"name":"(anonymous_6)","line":73,"loc":{"start":{"line":73,"column":16},"end":{"line":73,"column":30}}},"7":{"name":"(anonymous_7)","line":79,"loc":{"start":{"line":79,"column":17},"end":{"line":79,"column":34}}},"8":{"name":"(anonymous_8)","line":84,"loc":{"start":{"line":84,"column":16},"end":{"line":84,"column":26}}},"9":{"name":"(anonymous_9)","line":92,"loc":{"start":{"line":92,"column":22},"end":{"line":92,"column":41}}},"10":{"name":"(anonymous_10)","line":107,"loc":{"start":{"line":107,"column":24},"end":{"line":107,"column":34}}},"11":{"name":"(anonymous_11)","line":109,"loc":{"start":{"line":109,"column":28},"end":{"line":109,"column":44}}},"12":{"name":"(anonymous_12)","line":116,"loc":{"start":{"line":116,"column":22},"end":{"line":116,"column":32}}},"13":{"name":"(anonymous_13)","line":119,"loc":{"start":{"line":119,"column":52},"end":{"line":119,"column":74}}},"14":{"name":"(anonymous_14)","line":124,"loc":{"start":{"line":124,"column":55},"end":{"line":124,"column":77}}}},"statementMap":{"1":{"start":{"line":10,"column":0},"end":{"line":129,"column":3}},"2":{"start":{"line":16,"column":4},"end":{"line":16,"column":28}},"3":{"start":{"line":18,"column":4},"end":{"line":18,"column":29}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":37}},"5":{"start":{"line":21,"column":4},"end":{"line":21,"column":66}},"6":{"start":{"line":30,"column":4},"end":{"line":34,"column":5}},"7":{"start":{"line":33,"column":6},"end":{"line":33,"column":32}},"8":{"start":{"line":35,"column":4},"end":{"line":43,"column":5}},"9":{"start":{"line":38,"column":6},"end":{"line":38,"column":32}},"10":{"start":{"line":39,"column":11},"end":{"line":43,"column":5}},"11":{"start":{"line":42,"column":6},"end":{"line":42,"column":34}},"12":{"start":{"line":45,"column":4},"end":{"line":45,"column":54}},"13":{"start":{"line":46,"column":4},"end":{"line":46,"column":72}},"14":{"start":{"line":48,"column":4},"end":{"line":48,"column":18}},"15":{"start":{"line":53,"column":4},"end":{"line":53,"column":33}},"16":{"start":{"line":53,"column":24},"end":{"line":53,"column":31}},"17":{"start":{"line":54,"column":4},"end":{"line":54,"column":31}},"18":{"start":{"line":55,"column":4},"end":{"line":55,"column":54}},"19":{"start":{"line":56,"column":4},"end":{"line":56,"column":58}},"20":{"start":{"line":61,"column":4},"end":{"line":61,"column":21}},"21":{"start":{"line":62,"column":4},"end":{"line":62,"column":31}},"22":{"start":{"line":63,"column":4},"end":{"line":63,"column":45}},"23":{"start":{"line":68,"column":4},"end":{"line":68,"column":55}},"24":{"start":{"line":69,"column":4},"end":{"line":69,"column":39}},"25":{"start":{"line":74,"column":4},"end":{"line":74,"column":30}},"26":{"start":{"line":75,"column":4},"end":{"line":75,"column":49}},"27":{"start":{"line":80,"column":4},"end":{"line":80,"column":20}},"28":{"start":{"line":82,"column":4},"end":{"line":85,"column":6}},"29":{"start":{"line":84,"column":28},"end":{"line":84,"column":44}},"30":{"start":{"line":87,"column":4},"end":{"line":87,"column":60}},"31":{"start":{"line":93,"column":4},"end":{"line":93,"column":16}},"32":{"start":{"line":94,"column":4},"end":{"line":94,"column":30}},"33":{"start":{"line":96,"column":4},"end":{"line":100,"column":5}},"34":{"start":{"line":97,"column":6},"end":{"line":97,"column":38}},"35":{"start":{"line":99,"column":6},"end":{"line":99,"column":35}},"36":{"start":{"line":102,"column":4},"end":{"line":102,"column":29}},"37":{"start":{"line":108,"column":4},"end":{"line":108,"column":38}},"38":{"start":{"line":109,"column":4},"end":{"line":111,"column":7}},"39":{"start":{"line":110,"column":6},"end":{"line":110,"column":21}},"40":{"start":{"line":117,"column":4},"end":{"line":117,"column":56}},"41":{"start":{"line":119,"column":4},"end":{"line":122,"column":7}},"42":{"start":{"line":120,"column":6},"end":{"line":120,"column":26}},"43":{"start":{"line":121,"column":6},"end":{"line":121,"column":47}},"44":{"start":{"line":124,"column":4},"end":{"line":127,"column":7}},"45":{"start":{"line":125,"column":6},"end":{"line":125,"column":24}},"46":{"start":{"line":126,"column":6},"end":{"line":126,"column":50}}},"branchMap":{"1":{"line":16,"type":"binary-expr","locations":[{"start":{"line":16,"column":14},"end":{"line":16,"column":21}},{"start":{"line":16,"column":25},"end":{"line":16,"column":27}}]},"2":{"line":30,"type":"if","locations":[{"start":{"line":30,"column":4},"end":{"line":30,"column":4}},{"start":{"line":30,"column":4},"end":{"line":30,"column":4}}]},"3":{"line":35,"type":"if","locations":[{"start":{"line":35,"column":4},"end":{"line":35,"column":4}},{"start":{"line":35,"column":4},"end":{"line":35,"column":4}}]},"4":{"line":39,"type":"if","locations":[{"start":{"line":39,"column":11},"end":{"line":39,"column":11}},{"start":{"line":39,"column":11},"end":{"line":39,"column":11}}]},"5":{"line":53,"type":"if","locations":[{"start":{"line":53,"column":4},"end":{"line":53,"column":4}},{"start":{"line":53,"column":4},"end":{"line":53,"column":4}}]},"6":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":4},"end":{"line":96,"column":4}},{"start":{"line":96,"column":4},"end":{"line":96,"column":4}}]},"7":{"line":99,"type":"binary-expr","locations":[{"start":{"line":99,"column":16},"end":{"line":99,"column":28}},{"start":{"line":99,"column":32},"end":{"line":99,"column":34}}]}}},"./src/marionette.application.js":{"path":"./src/marionette.application.js","s":{"1":1,"2":101,"3":101,"4":101,"5":101,"6":101,"7":101,"8":101,"9":101,"10":1,"11":0,"12":0,"13":0,"14":0,"15":75,"16":36,"17":36,"18":36,"19":36,"20":10,"21":1,"22":2,"23":1,"24":140,"25":140,"26":140,"27":101,"28":101,"29":15,"30":101,"31":2,"32":1},"b":{},"f":{"1":101,"2":0,"3":0,"4":75,"5":36,"6":10,"7":1,"8":2,"9":1,"10":140,"11":101,"12":15,"13":2},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":25},"end":{"line":7,"column":42}}},"2":{"name":"(anonymous_2)","line":22,"loc":{"start":{"line":22,"column":11},"end":{"line":22,"column":21}}},"3":{"name":"(anonymous_3)","line":28,"loc":{"start":{"line":28,"column":11},"end":{"line":28,"column":21}}},"4":{"name":"(anonymous_4)","line":36,"loc":{"start":{"line":36,"column":18},"end":{"line":36,"column":39}}},"5":{"name":"(anonymous_5)","line":43,"loc":{"start":{"line":43,"column":9},"end":{"line":43,"column":26}}},"6":{"name":"(anonymous_6)","line":55,"loc":{"start":{"line":55,"column":14},"end":{"line":55,"column":31}}},"7":{"name":"(anonymous_7)","line":60,"loc":{"start":{"line":60,"column":16},"end":{"line":60,"column":26}}},"8":{"name":"(anonymous_8)","line":67,"loc":{"start":{"line":67,"column":16},"end":{"line":67,"column":33}}},"9":{"name":"(anonymous_9)","line":74,"loc":{"start":{"line":74,"column":13},"end":{"line":74,"column":30}}},"10":{"name":"(anonymous_10)","line":79,"loc":{"start":{"line":79,"column":10},"end":{"line":79,"column":49}}},"11":{"name":"(anonymous_11)","line":90,"loc":{"start":{"line":90,"column":22},"end":{"line":90,"column":32}}},"12":{"name":"(anonymous_12)","line":93,"loc":{"start":{"line":93,"column":53},"end":{"line":93,"column":75}}},"13":{"name":"(anonymous_13)","line":97,"loc":{"start":{"line":97,"column":56},"end":{"line":97,"column":78}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":18,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":28}},"3":{"start":{"line":9,"column":2},"end":{"line":9,"column":51}},"4":{"start":{"line":10,"column":2},"end":{"line":10,"column":51}},"5":{"start":{"line":11,"column":2},"end":{"line":11,"column":48}},"6":{"start":{"line":12,"column":2},"end":{"line":12,"column":53}},"7":{"start":{"line":13,"column":2},"end":{"line":13,"column":23}},"8":{"start":{"line":15,"column":2},"end":{"line":15,"column":26}},"9":{"start":{"line":17,"column":2},"end":{"line":17,"column":48}},"10":{"start":{"line":20,"column":0},"end":{"line":101,"column":3}},"11":{"start":{"line":23,"column":4},"end":{"line":23,"column":54}},"12":{"start":{"line":24,"column":4},"end":{"line":24,"column":53}},"13":{"start":{"line":29,"column":4},"end":{"line":29,"column":54}},"14":{"start":{"line":30,"column":4},"end":{"line":30,"column":56}},"15":{"start":{"line":37,"column":4},"end":{"line":37,"column":41}},"16":{"start":{"line":44,"column":4},"end":{"line":44,"column":53}},"17":{"start":{"line":45,"column":4},"end":{"line":45,"column":43}},"18":{"start":{"line":46,"column":4},"end":{"line":46,"column":52}},"19":{"start":{"line":48,"column":4},"end":{"line":48,"column":41}},"20":{"start":{"line":56,"column":4},"end":{"line":56,"column":51}},"21":{"start":{"line":61,"column":4},"end":{"line":61,"column":39}},"22":{"start":{"line":68,"column":4},"end":{"line":68,"column":45}},"23":{"start":{"line":75,"column":4},"end":{"line":75,"column":43}},"24":{"start":{"line":82,"column":4},"end":{"line":82,"column":32}},"25":{"start":{"line":83,"column":4},"end":{"line":83,"column":23}},"26":{"start":{"line":86,"column":4},"end":{"line":86,"column":67}},"27":{"start":{"line":91,"column":4},"end":{"line":91,"column":57}},"28":{"start":{"line":93,"column":4},"end":{"line":95,"column":7}},"29":{"start":{"line":94,"column":6},"end":{"line":94,"column":26}},"30":{"start":{"line":97,"column":4},"end":{"line":99,"column":7}},"31":{"start":{"line":98,"column":6},"end":{"line":98,"column":24}},"32":{"start":{"line":104,"column":0},"end":{"line":104,"column":50}}},"branchMap":{}},"./src/marionette.approuter.js":{"path":"./src/marionette.approuter.js","s":{"1":1,"2":13,"3":13,"4":13,"5":13,"6":13,"7":1,"8":1,"9":13,"10":2,"11":11,"12":11,"13":15,"14":14,"15":16,"16":16,"17":1,"18":15},"b":{"1":[13,3],"2":[2,11],"3":[1,15]},"f":{"1":13,"2":1,"3":13,"4":15,"5":14,"6":16},"fnMap":{"1":{"name":"(anonymous_1)","line":21,"loc":{"start":{"line":21,"column":15},"end":{"line":21,"column":32}}},"2":{"name":"(anonymous_2)","line":33,"loc":{"start":{"line":33,"column":12},"end":{"line":33,"column":40}}},"3":{"name":"(anonymous_3)","line":41,"loc":{"start":{"line":41,"column":20},"end":{"line":41,"column":52}}},"4":{"name":"(anonymous_4)","line":46,"loc":{"start":{"line":46,"column":23},"end":{"line":46,"column":39}}},"5":{"name":"(anonymous_5)","line":51,"loc":{"start":{"line":51,"column":18},"end":{"line":51,"column":28}}},"6":{"name":"(anonymous_6)","line":55,"loc":{"start":{"line":55,"column":16},"end":{"line":55,"column":55}}}},"statementMap":{"1":{"start":{"line":19,"column":0},"end":{"line":64,"column":3}},"2":{"start":{"line":22,"column":4},"end":{"line":22,"column":72}},"3":{"start":{"line":24,"column":4},"end":{"line":24,"column":33}},"4":{"start":{"line":26,"column":4},"end":{"line":26,"column":60}},"5":{"start":{"line":27,"column":4},"end":{"line":27,"column":43}},"6":{"start":{"line":28,"column":4},"end":{"line":28,"column":49}},"7":{"start":{"line":34,"column":4},"end":{"line":34,"column":43}},"8":{"start":{"line":35,"column":4},"end":{"line":35,"column":53}},"9":{"start":{"line":42,"column":4},"end":{"line":42,"column":30}},"10":{"start":{"line":42,"column":21},"end":{"line":42,"column":28}},"11":{"start":{"line":44,"column":4},"end":{"line":44,"column":49}},"12":{"start":{"line":46,"column":4},"end":{"line":48,"column":13}},"13":{"start":{"line":47,"column":6},"end":{"line":47,"column":61}},"14":{"start":{"line":52,"column":4},"end":{"line":52,"column":52}},"15":{"start":{"line":56,"column":4},"end":{"line":56,"column":40}},"16":{"start":{"line":58,"column":4},"end":{"line":60,"column":5}},"17":{"start":{"line":59,"column":6},"end":{"line":59,"column":85}},"18":{"start":{"line":62,"column":4},"end":{"line":62,"column":62}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":19},"end":{"line":24,"column":26}},{"start":{"line":24,"column":30},"end":{"line":24,"column":32}}]},"2":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":4},"end":{"line":42,"column":4}},{"start":{"line":42,"column":4},"end":{"line":42,"column":4}}]},"3":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":58,"column":4}},{"start":{"line":58,"column":4},"end":{"line":58,"column":4}}]}}},"./src/marionette.module.js":{"path":"./src/marionette.module.js","s":{"1":1,"2":132,"3":132,"4":132,"5":132,"6":132,"7":132,"8":1,"9":96,"10":14,"11":125,"12":28,"13":97,"14":33,"15":29,"16":97,"17":97,"18":97,"19":97,"20":16,"21":2,"22":14,"23":14,"24":14,"25":12,"26":14,"27":14,"28":14,"29":14,"30":81,"31":81,"32":0,"33":81,"34":81,"35":132,"36":132,"37":1,"38":140,"39":140,"40":140,"41":140,"42":140,"43":140,"44":140,"45":140,"46":193,"47":193,"48":193,"49":140,"50":193,"51":193,"52":132,"53":132,"54":132,"55":193,"56":193,"57":193,"58":193,"59":76,"60":76,"61":117,"62":6,"63":6,"64":111,"65":193,"66":81,"67":193,"68":193,"69":118,"70":118,"71":47,"72":45},"b":{"1":[28,97],"2":[29,4],"3":[2,14],"4":[0,81],"5":[132,61],"6":[76,117],"7":[6,111],"8":[81,112],"9":[193,175],"10":[118,75],"11":[193,169],"12":[45,2]},"f":{"1":132,"2":96,"3":14,"4":125,"5":33,"6":16,"7":12,"8":81,"9":81,"10":132,"11":140,"12":193,"13":193,"14":193,"15":47},"fnMap":{"1":{"name":"(anonymous_1)","line":6,"loc":{"start":{"line":6,"column":20},"end":{"line":6,"column":45}}},"2":{"name":"(anonymous_2)","line":27,"loc":{"start":{"line":27,"column":18},"end":{"line":27,"column":36}}},"3":{"name":"(anonymous_3)","line":34,"loc":{"start":{"line":34,"column":16},"end":{"line":34,"column":34}}},"4":{"name":"(anonymous_4)","line":39,"loc":{"start":{"line":39,"column":9},"end":{"line":39,"column":26}}},"5":{"name":"(anonymous_5)","line":44,"loc":{"start":{"line":44,"column":28},"end":{"line":44,"column":41}}},"6":{"name":"(anonymous_6)","line":62,"loc":{"start":{"line":62,"column":8},"end":{"line":62,"column":18}}},"7":{"name":"(anonymous_7)","line":71,"loc":{"start":{"line":71,"column":28},"end":{"line":71,"column":41}}},"8":{"name":"(anonymous_8)","line":85,"loc":{"start":{"line":85,"column":17},"end":{"line":85,"column":55}}},"9":{"name":"(anonymous_9)","line":91,"loc":{"start":{"line":91,"column":24},"end":{"line":91,"column":56}}},"10":{"name":"(anonymous_10)","line":110,"loc":{"start":{"line":110,"column":35},"end":{"line":110,"column":45}}},"11":{"name":"(anonymous_11)","line":120,"loc":{"start":{"line":120,"column":10},"end":{"line":120,"column":54}}},"12":{"name":"(anonymous_12)","line":137,"loc":{"start":{"line":137,"column":24},"end":{"line":137,"column":47}}},"13":{"name":"(anonymous_13)","line":147,"loc":{"start":{"line":147,"column":14},"end":{"line":147,"column":64}}},"14":{"name":"(anonymous_14)","line":162,"loc":{"start":{"line":162,"column":24},"end":{"line":162,"column":65}}},"15":{"name":"(anonymous_15)","line":197,"loc":{"start":{"line":197,"column":34},"end":{"line":197,"column":51}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":19,"column":2}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":31}},"3":{"start":{"line":10,"column":2},"end":{"line":10,"column":23}},"4":{"start":{"line":12,"column":2},"end":{"line":12,"column":41}},"5":{"start":{"line":15,"column":2},"end":{"line":15,"column":17}},"6":{"start":{"line":16,"column":2},"end":{"line":16,"column":30}},"7":{"start":{"line":18,"column":2},"end":{"line":18,"column":48}},"8":{"start":{"line":23,"column":0},"end":{"line":114,"column":3}},"9":{"start":{"line":28,"column":4},"end":{"line":28,"column":45}},"10":{"start":{"line":35,"column":4},"end":{"line":35,"column":43}},"11":{"start":{"line":41,"column":4},"end":{"line":41,"column":39}},"12":{"start":{"line":41,"column":30},"end":{"line":41,"column":37}},"13":{"start":{"line":44,"column":4},"end":{"line":49,"column":7}},"14":{"start":{"line":46,"column":6},"end":{"line":48,"column":7}},"15":{"start":{"line":47,"column":8},"end":{"line":47,"column":27}},"16":{"start":{"line":52,"column":4},"end":{"line":52,"column":48}},"17":{"start":{"line":54,"column":4},"end":{"line":54,"column":50}},"18":{"start":{"line":55,"column":4},"end":{"line":55,"column":31}},"19":{"start":{"line":57,"column":4},"end":{"line":57,"column":41}},"20":{"start":{"line":64,"column":4},"end":{"line":64,"column":40}},"21":{"start":{"line":64,"column":31},"end":{"line":64,"column":38}},"22":{"start":{"line":65,"column":4},"end":{"line":65,"column":32}},"23":{"start":{"line":67,"column":4},"end":{"line":67,"column":55}},"24":{"start":{"line":71,"column":4},"end":{"line":71,"column":58}},"25":{"start":{"line":71,"column":43},"end":{"line":71,"column":54}},"26":{"start":{"line":74,"column":4},"end":{"line":74,"column":49}},"27":{"start":{"line":77,"column":4},"end":{"line":77,"column":39}},"28":{"start":{"line":78,"column":4},"end":{"line":78,"column":37}},"29":{"start":{"line":80,"column":4},"end":{"line":80,"column":48}},"30":{"start":{"line":86,"column":4},"end":{"line":86,"column":60}},"31":{"start":{"line":92,"column":4},"end":{"line":92,"column":31}},"32":{"start":{"line":92,"column":22},"end":{"line":92,"column":29}},"33":{"start":{"line":95,"column":4},"end":{"line":102,"column":7}},"34":{"start":{"line":104,"column":4},"end":{"line":104,"column":33}},"35":{"start":{"line":111,"column":4},"end":{"line":111,"column":60}},"36":{"start":{"line":112,"column":4},"end":{"line":112,"column":58}},"37":{"start":{"line":117,"column":0},"end":{"line":206,"column":3}},"38":{"start":{"line":121,"column":4},"end":{"line":121,"column":21}},"39":{"start":{"line":125,"column":4},"end":{"line":125,"column":38}},"40":{"start":{"line":126,"column":4},"end":{"line":126,"column":28}},"41":{"start":{"line":129,"column":4},"end":{"line":129,"column":41}},"42":{"start":{"line":130,"column":4},"end":{"line":130,"column":36}},"43":{"start":{"line":133,"column":4},"end":{"line":133,"column":31}},"44":{"start":{"line":134,"column":4},"end":{"line":134,"column":51}},"45":{"start":{"line":137,"column":4},"end":{"line":141,"column":13}},"46":{"start":{"line":138,"column":6},"end":{"line":138,"column":32}},"47":{"start":{"line":139,"column":6},"end":{"line":139,"column":62}},"48":{"start":{"line":140,"column":6},"end":{"line":140,"column":88}},"49":{"start":{"line":144,"column":4},"end":{"line":144,"column":18}},"50":{"start":{"line":149,"column":4},"end":{"line":149,"column":42}},"51":{"start":{"line":151,"column":4},"end":{"line":157,"column":5}},"52":{"start":{"line":153,"column":6},"end":{"line":153,"column":54}},"53":{"start":{"line":154,"column":6},"end":{"line":154,"column":40}},"54":{"start":{"line":156,"column":6},"end":{"line":156,"column":51}},"55":{"start":{"line":159,"column":4},"end":{"line":159,"column":18}},"56":{"start":{"line":163,"column":4},"end":{"line":163,"column":11}},"57":{"start":{"line":164,"column":4},"end":{"line":164,"column":24}},"58":{"start":{"line":166,"column":4},"end":{"line":179,"column":5}},"59":{"start":{"line":168,"column":6},"end":{"line":168,"column":15}},"60":{"start":{"line":169,"column":6},"end":{"line":169,"column":29}},"61":{"start":{"line":171,"column":11},"end":{"line":179,"column":5}},"62":{"start":{"line":173,"column":6},"end":{"line":173,"column":22}},"63":{"start":{"line":174,"column":6},"end":{"line":174,"column":44}},"64":{"start":{"line":178,"column":6},"end":{"line":178,"column":29}},"65":{"start":{"line":182,"column":4},"end":{"line":184,"column":5}},"66":{"start":{"line":183,"column":6},"end":{"line":183,"column":37}},"67":{"start":{"line":188,"column":4},"end":{"line":188,"column":71}},"68":{"start":{"line":191,"column":4},"end":{"line":203,"column":5}},"69":{"start":{"line":194,"column":6},"end":{"line":194,"column":48}},"70":{"start":{"line":197,"column":6},"end":{"line":201,"column":9}},"71":{"start":{"line":198,"column":8},"end":{"line":200,"column":9}},"72":{"start":{"line":199,"column":10},"end":{"line":199,"column":32}}},"branchMap":{"1":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":4},"end":{"line":41,"column":4}},{"start":{"line":41,"column":4},"end":{"line":41,"column":4}}]},"2":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":6},"end":{"line":46,"column":6}},{"start":{"line":46,"column":6},"end":{"line":46,"column":6}}]},"3":{"line":64,"type":"if","locations":[{"start":{"line":64,"column":4},"end":{"line":64,"column":4}},{"start":{"line":64,"column":4},"end":{"line":64,"column":4}}]},"4":{"line":92,"type":"if","locations":[{"start":{"line":92,"column":4},"end":{"line":92,"column":4}},{"start":{"line":92,"column":4},"end":{"line":92,"column":4}}]},"5":{"line":151,"type":"if","locations":[{"start":{"line":151,"column":4},"end":{"line":151,"column":4}},{"start":{"line":151,"column":4},"end":{"line":151,"column":4}}]},"6":{"line":166,"type":"if","locations":[{"start":{"line":166,"column":4},"end":{"line":166,"column":4}},{"start":{"line":166,"column":4},"end":{"line":166,"column":4}}]},"7":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":11},"end":{"line":171,"column":11}},{"start":{"line":171,"column":11},"end":{"line":171,"column":11}}]},"8":{"line":182,"type":"if","locations":[{"start":{"line":182,"column":4},"end":{"line":182,"column":4}},{"start":{"line":182,"column":4},"end":{"line":182,"column":4}}]},"9":{"line":188,"type":"binary-expr","locations":[{"start":{"line":188,"column":29},"end":{"line":188,"column":51}},{"start":{"line":188,"column":55},"end":{"line":188,"column":70}}]},"10":{"line":191,"type":"if","locations":[{"start":{"line":191,"column":4},"end":{"line":191,"column":4}},{"start":{"line":191,"column":4},"end":{"line":191,"column":4}}]},"11":{"line":191,"type":"binary-expr","locations":[{"start":{"line":191,"column":8},"end":{"line":191,"column":30}},{"start":{"line":191,"column":34},"end":{"line":191,"column":69}}]},"12":{"line":198,"type":"if","locations":[{"start":{"line":198,"column":8},"end":{"line":198,"column":8}},{"start":{"line":198,"column":8},"end":{"line":198,"column":8}}]}}},"./src/marionette.templatecache.js":{"path":"./src/marionette.templatecache.js","s":{"1":1,"2":30,"3":1,"4":140,"5":140,"6":30,"7":30,"8":140,"9":6,"10":6,"11":6,"12":6,"13":4,"14":6,"15":2,"16":1,"17":140,"18":110,"19":30,"20":30,"21":30,"22":30,"23":30,"24":0,"25":30,"26":30},"b":{"1":[30,110],"2":[4,2],"3":[110,30],"4":[0,30],"5":[30,30]},"f":{"1":30,"2":140,"3":6,"4":140,"5":30,"6":30},"fnMap":{"1":{"name":"(anonymous_1)","line":6,"loc":{"start":{"line":6,"column":27},"end":{"line":6,"column":47}}},"2":{"name":"(anonymous_2)","line":19,"loc":{"start":{"line":19,"column":7},"end":{"line":19,"column":27}}},"3":{"name":"(anonymous_3)","line":37,"loc":{"start":{"line":37,"column":9},"end":{"line":37,"column":19}}},"4":{"name":"(anonymous_4)","line":58,"loc":{"start":{"line":58,"column":8},"end":{"line":58,"column":18}}},"5":{"name":"(anonymous_5)","line":76,"loc":{"start":{"line":76,"column":16},"end":{"line":76,"column":36}}},"6":{"name":"(anonymous_6)","line":90,"loc":{"start":{"line":90,"column":19},"end":{"line":90,"column":40}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":8,"column":2}},"2":{"start":{"line":7,"column":2},"end":{"line":7,"column":31}},"3":{"start":{"line":13,"column":0},"end":{"line":50,"column":3}},"4":{"start":{"line":20,"column":4},"end":{"line":20,"column":57}},"5":{"start":{"line":22,"column":4},"end":{"line":25,"column":5}},"6":{"start":{"line":23,"column":6},"end":{"line":23,"column":64}},"7":{"start":{"line":24,"column":6},"end":{"line":24,"column":55}},"8":{"start":{"line":27,"column":4},"end":{"line":27,"column":33}},"9":{"start":{"line":38,"column":4},"end":{"line":38,"column":10}},"10":{"start":{"line":39,"column":4},"end":{"line":39,"column":32}},"11":{"start":{"line":40,"column":4},"end":{"line":40,"column":29}},"12":{"start":{"line":42,"column":4},"end":{"line":48,"column":5}},"13":{"start":{"line":43,"column":6},"end":{"line":45,"column":7}},"14":{"start":{"line":44,"column":8},"end":{"line":44,"column":44}},"15":{"start":{"line":47,"column":6},"end":{"line":47,"column":31}},"16":{"start":{"line":55,"column":0},"end":{"line":93,"column":3}},"17":{"start":{"line":60,"column":4},"end":{"line":62,"column":5}},"18":{"start":{"line":61,"column":6},"end":{"line":61,"column":35}},"19":{"start":{"line":65,"column":4},"end":{"line":65,"column":54}},"20":{"start":{"line":66,"column":4},"end":{"line":66,"column":59}},"21":{"start":{"line":68,"column":4},"end":{"line":68,"column":33}},"22":{"start":{"line":77,"column":4},"end":{"line":77,"column":51}},"23":{"start":{"line":79,"column":4},"end":{"line":81,"column":5}},"24":{"start":{"line":80,"column":6},"end":{"line":80,"column":85}},"25":{"start":{"line":83,"column":4},"end":{"line":83,"column":20}},"26":{"start":{"line":91,"column":4},"end":{"line":91,"column":35}}},"branchMap":{"1":{"line":22,"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":22,"column":4}},{"start":{"line":22,"column":4},"end":{"line":22,"column":4}}]},"2":{"line":42,"type":"if","locations":[{"start":{"line":42,"column":4},"end":{"line":42,"column":4}},{"start":{"line":42,"column":4},"end":{"line":42,"column":4}}]},"3":{"line":60,"type":"if","locations":[{"start":{"line":60,"column":4},"end":{"line":60,"column":4}},{"start":{"line":60,"column":4},"end":{"line":60,"column":4}}]},"4":{"line":79,"type":"if","locations":[{"start":{"line":79,"column":4},"end":{"line":79,"column":4}},{"start":{"line":79,"column":4},"end":{"line":79,"column":4}}]},"5":{"line":79,"type":"binary-expr","locations":[{"start":{"line":79,"column":8},"end":{"line":79,"column":17}},{"start":{"line":79,"column":21},"end":{"line":79,"column":42}}]}}},"./src/marionette.renderer.js":{"path":"./src/marionette.renderer.js","s":{"1":1,"2":172,"3":3,"4":3,"5":3,"6":169,"7":169,"8":46,"9":123,"10":169},"b":{"1":[3,169],"2":[46,123]},"f":{"1":172},"fnMap":{"1":{"name":"(anonymous_1)","line":12,"loc":{"start":{"line":12,"column":10},"end":{"line":12,"column":34}}}},"statementMap":{"1":{"start":{"line":6,"column":0},"end":{"line":29,"column":2}},"2":{"start":{"line":14,"column":4},"end":{"line":18,"column":5}},"3":{"start":{"line":15,"column":6},"end":{"line":15,"column":95}},"4":{"start":{"line":16,"column":6},"end":{"line":16,"column":43}},"5":{"start":{"line":17,"column":6},"end":{"line":17,"column":18}},"6":{"start":{"line":20,"column":4},"end":{"line":20,"column":21}},"7":{"start":{"line":21,"column":4},"end":{"line":25,"column":5}},"8":{"start":{"line":22,"column":6},"end":{"line":22,"column":30}},"9":{"start":{"line":24,"column":6},"end":{"line":24,"column":60}},"10":{"start":{"line":27,"column":4},"end":{"line":27,"column":30}}},"branchMap":{"1":{"line":14,"type":"if","locations":[{"start":{"line":14,"column":4},"end":{"line":14,"column":4}},{"start":{"line":14,"column":4},"end":{"line":14,"column":4}}]},"2":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":4},"end":{"line":21,"column":4}},{"start":{"line":21,"column":4},"end":{"line":21,"column":4}}]}}},"./src/marionette.callbacks.js":{"path":"./src/marionette.callbacks.js","s":{"1":1,"2":374,"3":374,"4":1,"5":235,"6":235,"7":120,"8":1,"9":120,"10":158,"11":30,"12":30,"13":30,"14":30,"15":35},"b":{"1":[1,119]},"f":{"1":374,"2":235,"3":120,"4":158,"5":30,"6":35},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":23},"end":{"line":7,"column":33}}},"2":{"name":"(anonymous_2)","line":17,"loc":{"start":{"line":17,"column":7},"end":{"line":17,"column":42}}},"3":{"name":"(anonymous_3)","line":20,"loc":{"start":{"line":20,"column":24},"end":{"line":20,"column":50}}},"4":{"name":"(anonymous_4)","line":29,"loc":{"start":{"line":29,"column":7},"end":{"line":29,"column":33}}},"5":{"name":"(anonymous_5)","line":35,"loc":{"start":{"line":35,"column":9},"end":{"line":35,"column":19}}},"6":{"name":"(anonymous_6)","line":40,"loc":{"start":{"line":40,"column":22},"end":{"line":40,"column":34}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":10,"column":2}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":43}},"3":{"start":{"line":9,"column":2},"end":{"line":9,"column":23}},"4":{"start":{"line":12,"column":0},"end":{"line":44,"column":3}},"5":{"start":{"line":18,"column":4},"end":{"line":18,"column":63}},"6":{"start":{"line":20,"column":4},"end":{"line":23,"column":7}},"7":{"start":{"line":21,"column":6},"end":{"line":21,"column":56}},"8":{"start":{"line":21,"column":28},"end":{"line":21,"column":54}},"9":{"start":{"line":22,"column":6},"end":{"line":22,"column":38}},"10":{"start":{"line":30,"column":4},"end":{"line":30,"column":45}},"11":{"start":{"line":36,"column":4},"end":{"line":36,"column":36}},"12":{"start":{"line":37,"column":4},"end":{"line":37,"column":45}},"13":{"start":{"line":38,"column":4},"end":{"line":38,"column":25}},"14":{"start":{"line":40,"column":4},"end":{"line":42,"column":13}},"15":{"start":{"line":41,"column":6},"end":{"line":41,"column":30}}},"branchMap":{"1":{"line":21,"type":"if","locations":[{"start":{"line":21,"column":6},"end":{"line":21,"column":6}},{"start":{"line":21,"column":6},"end":{"line":21,"column":6}}]}}}} \ No newline at end of file diff --git a/reports/coverage/index.html b/reports/coverage/index.html index f0a7001ee8..1623710a4d 100644 --- a/reports/coverage/index.html +++ b/reports/coverage/index.html @@ -186,7 +186,7 @@

Statements: 98.33% (648 / 659)      - Branches: 94.33% (233 / 247)      + Branches: 94.38% (235 / 249)      Functions: 98.84% (170 / 172)      @@ -232,8 +232,8 @@

98.32% (642 / 653) - 94.33% - (233 / 247) + 94.38% + (235 / 249) 98.83% (169 / 171) 98.89% @@ -258,7 +258,7 @@

diff --git a/reports/coverage/spec/javascripts/support/index.html b/reports/coverage/spec/javascripts/support/index.html index 35b9ba4193..8677dcde92 100644 --- a/reports/coverage/spec/javascripts/support/index.html +++ b/reports/coverage/spec/javascripts/support/index.html @@ -232,7 +232,7 @@

diff --git a/reports/coverage/spec/javascripts/support/marionette.support.js.html b/reports/coverage/spec/javascripts/support/marionette.support.js.html index 39b74a6323..09dbf24789 100644 --- a/reports/coverage/spec/javascripts/support/marionette.support.js.html +++ b/reports/coverage/spec/javascripts/support/marionette.support.js.html @@ -207,7 +207,7 @@

diff --git a/reports/coverage/src/build/index.html b/reports/coverage/src/build/index.html index 405ce4b214..c6d24b6f17 100644 --- a/reports/coverage/src/build/index.html +++ b/reports/coverage/src/build/index.html @@ -232,7 +232,7 @@

diff --git a/reports/coverage/src/build/marionette.core.js.html b/reports/coverage/src/build/marionette.core.js.html index 42fca42c89..daac5a31ae 100644 --- a/reports/coverage/src/build/marionette.core.js.html +++ b/reports/coverage/src/build/marionette.core.js.html @@ -312,7 +312,7 @@

diff --git a/reports/coverage/src/index.html b/reports/coverage/src/index.html index 1f63fbca32..62049ce8a2 100644 --- a/reports/coverage/src/index.html +++ b/reports/coverage/src/index.html @@ -186,7 +186,7 @@

Statements: 98.32% (642 / 653)      - Branches: 94.33% (233 / 247)      + Branches: 94.38% (235 / 249)      Functions: 98.83% (169 / 171)      @@ -440,8 +440,8 @@

98.59% (70 / 71) - 92.11% - (35 / 38) + 92.5% + (37 / 40) 100% (15 / 15) 100% @@ -453,7 +453,7 @@

diff --git a/reports/coverage/src/marionette.application.js.html b/reports/coverage/src/marionette.application.js.html index 506ea7166c..ae69865895 100644 --- a/reports/coverage/src/marionette.application.js.html +++ b/reports/coverage/src/marionette.application.js.html @@ -516,7 +516,7 @@

diff --git a/reports/coverage/src/marionette.approuter.js.html b/reports/coverage/src/marionette.approuter.js.html index 2d38c0775d..6a3b811e1c 100644 --- a/reports/coverage/src/marionette.approuter.js.html +++ b/reports/coverage/src/marionette.approuter.js.html @@ -399,7 +399,7 @@

diff --git a/reports/coverage/src/marionette.bindEntityEvents.js.html b/reports/coverage/src/marionette.bindEntityEvents.js.html index 8a36443d1d..47cbdd0b45 100644 --- a/reports/coverage/src/marionette.bindEntityEvents.js.html +++ b/reports/coverage/src/marionette.bindEntityEvents.js.html @@ -348,7 +348,7 @@

    1 -1995 +2011     74 @@ -371,11 +371,11 @@

    1 -993 +1001     1 -1002 +1010       @@ -474,7 +474,7 @@

diff --git a/reports/coverage/src/marionette.callbacks.js.html b/reports/coverage/src/marionette.callbacks.js.html index 4df192312a..5c62a416e0 100644 --- a/reports/coverage/src/marionette.callbacks.js.html +++ b/reports/coverage/src/marionette.callbacks.js.html @@ -339,7 +339,7 @@

diff --git a/reports/coverage/src/marionette.collectionview.js.html b/reports/coverage/src/marionette.collectionview.js.html index 8f21797f4f..cdd83b66e3 100644 --- a/reports/coverage/src/marionette.collectionview.js.html +++ b/reports/coverage/src/marionette.collectionview.js.html @@ -1008,7 +1008,7 @@

diff --git a/reports/coverage/src/marionette.compositeview.js.html b/reports/coverage/src/marionette.compositeview.js.html index ff021b6861..305e01d162 100644 --- a/reports/coverage/src/marionette.compositeview.js.html +++ b/reports/coverage/src/marionette.compositeview.js.html @@ -615,7 +615,7 @@

diff --git a/reports/coverage/src/marionette.controller.js.html b/reports/coverage/src/marionette.controller.js.html index 673a12496a..39b20d2d69 100644 --- a/reports/coverage/src/marionette.controller.js.html +++ b/reports/coverage/src/marionette.controller.js.html @@ -288,7 +288,7 @@

diff --git a/reports/coverage/src/marionette.domRefresh.js.html b/reports/coverage/src/marionette.domRefresh.js.html index 8cac823c74..9ebb6c020d 100644 --- a/reports/coverage/src/marionette.domRefresh.js.html +++ b/reports/coverage/src/marionette.domRefresh.js.html @@ -257,13 +257,13 @@

    1 -372 -372 +374 +374       1 -397 +399 14 14   @@ -272,12 +272,12 @@

    1 -494 +498 25     -494 -372 +498 +374       @@ -327,7 +327,7 @@

diff --git a/reports/coverage/src/marionette.helpers.js.html b/reports/coverage/src/marionette.helpers.js.html index 05a80befac..a5328d596f 100644 --- a/reports/coverage/src/marionette.helpers.js.html +++ b/reports/coverage/src/marionette.helpers.js.html @@ -243,7 +243,7 @@

  1 1 -1228 +1232     1 @@ -264,16 +264,16 @@

    1 -3321 -3321 +3341 +3341   -3321 +3341 178   -3143 +3163     -3321 +3341    
// Helpers
 // -------
@@ -318,7 +318,7 @@ 

diff --git a/reports/coverage/src/marionette.itemview.js.html b/reports/coverage/src/marionette.itemview.js.html index ceba48a4f8..2102993305 100644 --- a/reports/coverage/src/marionette.itemview.js.html +++ b/reports/coverage/src/marionette.itemview.js.html @@ -281,7 +281,7 @@

      -317 +321       @@ -291,16 +291,16 @@

      -117 +119   -117 +119 72   -45 +47 2     -117 +119       @@ -309,24 +309,24 @@

      -117 +119   -117 -117 +119 +119   -117 -117 +119 +119   -117 -117 +119 +119   -116 -116 +118 +118   -116 -116 +118 +118   -116 +118       @@ -417,7 +417,7 @@

diff --git a/reports/coverage/src/marionette.layout.js.html b/reports/coverage/src/marionette.layout.js.html index 3adbfcfe7f..ccebab2481 100644 --- a/reports/coverage/src/marionette.layout.js.html +++ b/reports/coverage/src/marionette.layout.js.html @@ -591,7 +591,7 @@

diff --git a/reports/coverage/src/marionette.module.js.html b/reports/coverage/src/marionette.module.js.html index 6f66bf827e..9b58fc3814 100644 --- a/reports/coverage/src/marionette.module.js.html +++ b/reports/coverage/src/marionette.module.js.html @@ -825,7 +825,7 @@

diff --git a/reports/coverage/src/marionette.region.js.html b/reports/coverage/src/marionette.region.js.html index e42fce2e8e..09f85661b4 100644 --- a/reports/coverage/src/marionette.region.js.html +++ b/reports/coverage/src/marionette.region.js.html @@ -786,7 +786,7 @@

diff --git a/reports/coverage/src/marionette.regionManager.js.html b/reports/coverage/src/marionette.regionManager.js.html index a9d98f46b5..17426c05a3 100644 --- a/reports/coverage/src/marionette.regionManager.js.html +++ b/reports/coverage/src/marionette.regionManager.js.html @@ -600,7 +600,7 @@

diff --git a/reports/coverage/src/marionette.renderer.js.html b/reports/coverage/src/marionette.renderer.js.html index 059cd22cce..6179ee408a 100644 --- a/reports/coverage/src/marionette.renderer.js.html +++ b/reports/coverage/src/marionette.renderer.js.html @@ -242,20 +242,20 @@

      -170 +172 3 3 3     -167 -167 -44 +169 +169 +46   123     -167 +169       @@ -294,7 +294,7 @@

diff --git a/reports/coverage/src/marionette.templatecache.js.html b/reports/coverage/src/marionette.templatecache.js.html index 80df5ad6b9..571ec9d7d2 100644 --- a/reports/coverage/src/marionette.templatecache.js.html +++ b/reports/coverage/src/marionette.templatecache.js.html @@ -486,7 +486,7 @@

diff --git a/reports/coverage/src/marionette.triggermethod.js.html b/reports/coverage/src/marionette.triggermethod.js.html index 783d5590f9..df950f1935 100644 --- a/reports/coverage/src/marionette.triggermethod.js.html +++ b/reports/coverage/src/marionette.triggermethod.js.html @@ -252,24 +252,24 @@

    1 -6897 +6917       1   -3245 -3245 +3255 +3255     -3245 -3244 +3255 +3254       -3245 +3255   -357 +359       @@ -318,7 +318,7 @@

diff --git a/reports/coverage/src/marionette.view.js.html b/reports/coverage/src/marionette.view.js.html index efc05687ef..890902dc7c 100644 --- a/reports/coverage/src/marionette.view.js.html +++ b/reports/coverage/src/marionette.view.js.html @@ -186,7 +186,7 @@

Statements: 98.59% (70 / 71)      - Branches: 92.11% (35 / 38)      + Branches: 92.5% (37 / 40)      Functions: 100% (15 / 15)      @@ -395,14 +395,14 @@

1     -495 +499   -495 -495 -494 +499 +499 +498   -494 -494 +498 +498       @@ -414,7 +414,7 @@

      -171 +173       @@ -423,90 +423,90 @@

      -171 -171 -171 +173 +173 +173 3   -171 +173           -497 +501   -11 +13     -11 +13       -11 +13   -20 -20 +22 +22     -20 +22     -20 -20 -20 +22 +22 +22   -20 -20 +22 +22   -20 -20 +22 +22       -20 +22             -20 +22         -11 +13           -497 -497 -496 +501 +501 +500         -497 -497 +501 +501   -497 -497 -497 +501 +501 +501   -497 +501           -501 -501 +505 +505   -501 -501 +505 +505       @@ -542,7 +542,7 @@

      -169 +171       @@ -588,7 +588,7 @@

  var args = Array.prototype.slice.apply(arguments); Backbone.View.prototype.constructor.apply(this, args); - this.options = options; + this.options = options || {};   Marionette.MonitorDOMRefresh(this); this.listenTo(this, "show", this.onShowCalled, this); @@ -648,8 +648,8 @@

var shouldPrevent = hasOptions ? value.preventDefault : prevent; var shouldStop = hasOptions ? value.stopPropagation : stop;   - if (shouldPrevent && prevent) { prevent(); } - if (shouldStop && stop) { stop(); } + if (shouldPrevent && prevent) { prevent.apply(e); } + if (shouldStop && stop) { stop.apply(e); } }   // build the args for the event @@ -771,7 +771,7 @@