").append(ne.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},ne.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ne.fn[t]=function(e){return this.on(t,e)}}),ne.expr.filters.animated=function(e){return ne.grep(ne.timers,function(t){return e===t.elem}).length};var Kt=e.document.documentElement;ne.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u=ne.css(e,"position"),c=ne(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=ne.css(e,"top"),l=ne.css(e,"left"),("absolute"===u||"fixed"===u)&&ne.inArray("auto",[o,l])>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),ne.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ne.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ne.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,ne.contains(t,i)?(typeof i.getBoundingClientRect!==xe&&(r=i.getBoundingClientRect()),n=U(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ne.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ne.nodeName(e[0],"html")||(n=e.offset()),n.top+=ne.css(e[0],"borderTopWidth",!0),n.left+=ne.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ne.css(r,"marginTop",!0),left:t.left-n.left-ne.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Kt;e&&!ne.nodeName(e,"html")&&"static"===ne.css(e,"position");)e=e.offsetParent;return e||Kt})}}),ne.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ne.fn[e]=function(r){return ke(this,function(e,r,i){var o=U(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?ne(o).scrollLeft():i,n?i:ne(o).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),ne.each(["top","left"],function(e,t){ne.cssHooks[t]=k(te.pixelPosition,function(e,n){if(n)return n=Qe(e,t),Ze.test(n)?ne(e).position()[t]+"px":n})}),ne.each({Height:"height",Width:"width"},function(e,t){ne.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ne.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return ke(this,function(t,n,r){var i;return ne.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ne.css(t,n,a):ne.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),ne.fn.size=function(){return this.length},ne.fn.andSelf=ne.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ne});var Zt=e.jQuery,en=e.$;return ne.noConflict=function(t){return e.$===ne&&(e.$=en),t&&e.jQuery===ne&&(e.jQuery=Zt),ne},typeof t===xe&&(e.jQuery=e.$=ne),ne});',address:e.uri}),t.global.require=n,t.global.define=r,t.get("@@global-helpers").retrieveGlobal(e.id,"jQuery")}),define("can-namespace@1.0.0#can-namespace",function(e,t,n){n.exports={}}),define("can-symbol@1.6.4#can-symbol",["require","exports","module","can-namespace"],function(e,t,n){!function(e,t,n,r){"use strict";var a,i=t("can-namespace");if("undefined"!=typeof Symbol&&"function"==typeof Symbol.for&&"symbol"==typeof Symbol("a symbol for testing symbols"))a=Symbol;else{var o=0,s={},c={};(a=function(e){var t="@@symbol"+o+++e,n={};return Object.defineProperties(n,{toString:{value:function(){return t}}}),n}).for=function(e){var t=s[e];return t||(t=s[e]=a(e),c[t]=e),t},a.keyFor=function(e){return c[e]},["hasInstance","isConcatSpreadable","iterator","match","prototype","replace","search","species","split","toPrimitive","toStringTag","unscopables"].forEach(function(e){a[e]=a("Symbol."+e)})}["isMapLike","isListLike","isValueLike","isFunctionLike","getOwnKeys","getOwnKeyDescriptor","proto","getOwnEnumerableKeys","hasOwnKey","hasKey","size","getName","getIdentity","assignDeep","updateDeep","getValue","setValue","getKeyValue","setKeyValue","updateValues","addValue","removeValues","apply","new","onValue","offValue","onKeyValue","offKeyValue","getKeyDependencies","getValueDependencies","keyHasDependencies","valueHasDependencies","onKeys","onKeysAdded","onKeysRemoved","onPatches"].forEach(function(e){a.for("can."+e)}),r.exports=i.Symbol=a}(0,e,0,n)}),define("can-reflect@1.17.9#reflections/helpers",["require","exports","module","can-symbol"],function(e,t,n){"use strict";var r=e("can-symbol");n.exports={makeGetFirstSymbolValue:function(e){var t=e.map(function(e){return r.for(e)}),n=t.length;return function(e){for(var r=-1;++r
0&&n-1 in e)}}}),define("can-reflect@1.17.9#reflections/type/type",["require","exports","module","can-symbol","../helpers"],function(e,t,n){"use strict";function r(e){var t=typeof e;return null==e||"function"!==t&&"object"!==t}function a(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(t===Object.prototype||null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&p.call(n)===f}var i,o=e("can-symbol"),s=e("../helpers"),c=Object.getOwnPropertyNames(function(){}.prototype),l=Object.getPrototypeOf(function(){}.prototype),u=s.makeGetFirstSymbolValue(["can.new","can.apply"]),d=Object.prototype.hasOwnProperty,p=Function.prototype.toString,f=p.call(Object),h=o.for("can.onValue"),m=o.for("can.onKeyValue"),v=o.for("can.onPatches");i="undefined"!=typeof Symbol&&"function"==typeof Symbol.for&&"symbol"==typeof Symbol("a symbol for testing symbols")?function(e){return"symbol"==typeof e}:function(e){return"object"==typeof e&&!Array.isArray(e)&&"@@symbol"===e.toString().substr(0,"@@symbol".length)},n.exports={isConstructorLike:function(e){var t=e[o.for("can.new")];if(void 0!==t)return t;if("function"!=typeof e)return!1;var n=e.prototype;if(!n)return!1;if(l!==Object.getPrototypeOf(n))return!0;var r=Object.getOwnPropertyNames(n);if(r.length===c.length){for(var a=0,i=r.length;a=0&&e.splice(n,1)}):l.splice(e,n,t,[])}};l.get=l.getKeyValue,l.set=l.setKeyValue,l.delete=l.deleteKeyValue,n.exports=l}),define("can-reflect@1.17.9#reflections/observe/observe",["require","exports","module","can-symbol"],function(e,t,n){"use strict";function r(e,t){return function(n,r,a,o){var s=n[i.for(e)];return void 0!==s?s.call(n,r,a,o):this[t].apply(this,arguments)}}function a(e,t){return function(n){var r=n[i.for(e)];if(void 0!==r){var a=o.call(arguments,1);return r.apply(n,a)}throw new Error(t)}}var i=e("can-symbol"),o=[].slice;n.exports={onKeyValue:r("can.onKeyValue","onEvent"),offKeyValue:r("can.offKeyValue","offEvent"),onKeys:a("can.onKeys","can-reflect: can not observe an onKeys event"),onKeysAdded:a("can.onKeysAdded","can-reflect: can not observe an onKeysAdded event"),onKeysRemoved:a("can.onKeysRemoved","can-reflect: can not unobserve an onKeysRemoved event"),getKeyDependencies:a("can.getKeyDependencies","can-reflect: can not determine dependencies"),getWhatIChange:a("can.getWhatIChange","can-reflect: can not determine dependencies"),getChangesDependencyRecord:function(e){var t=e[i.for("can.getChangesDependencyRecord")];if("function"==typeof t)return t()},keyHasDependencies:a("can.keyHasDependencies","can-reflect: can not determine if this has key dependencies"),onValue:a("can.onValue","can-reflect: can not observe value change"),offValue:a("can.offValue","can-reflect: can not unobserve value change"),getValueDependencies:a("can.getValueDependencies","can-reflect: can not determine dependencies"),valueHasDependencies:a("can.valueHasDependencies","can-reflect: can not determine if value has dependencies"),onPatches:a("can.onPatches","can-reflect: can not observe patches on object"),offPatches:a("can.offPatches","can-reflect: can not unobserve patches on object"),onInstancePatches:a("can.onInstancePatches","can-reflect: can not observe onInstancePatches on Type"),offInstancePatches:a("can.offInstancePatches","can-reflect: can not unobserve onInstancePatches on Type"),onInstanceBoundChange:a("can.onInstanceBoundChange","can-reflect: can not observe bound state change in instances."),offInstanceBoundChange:a("can.offInstanceBoundChange","can-reflect: can not unobserve bound state change"),isBound:a("can.isBound","can-reflect: cannot determine if object is bound"),onEvent:function(e,t,n,r){if(e){var a=e[i.for("can.onEvent")];if(void 0!==a)return a.call(e,t,n,r);e.addEventListener&&e.addEventListener(t,n,r)}},offEvent:function(e,t,n,r){if(e){var a=e[i.for("can.offEvent")];if(void 0!==a)return a.call(e,t,n,r);e.removeEventListener&&e.removeEventListener(t,n,r)}},setPriority:function(e,t){if(e){var n=e[i.for("can.setPriority")];if(void 0!==n)return n.call(e,t),!0}return!1},getPriority:function(e){if(e){var t=e[i.for("can.getPriority")];if(void 0!==t)return t.call(e)}}}}),define("can-reflect@1.17.9#reflections/shape/shape",["require","exports","module","can-symbol","../get-set/get-set","../type/type","../helpers"],function(e,t,n){"use strict";function r(e){return!!u.isPrimitive(e)||!_(e)&&u.isBuiltIn(e)&&!u.isPlainObject(e)&&!Array.isArray(e)}function a(e){var t=e||f;return{unwrap:new t,serialize:new t,isSerializing:{unwrap:new t,serialize:new t},circularReferenceIsSerializing:{unwrap:new t,serialize:new t}}}function i(e,t){function n(e){this.first=!i,this.first&&(i=a(e)),this.map=i,this.result=null}var i=null;return n.prototype.end=function(){return this.first&&(i=null),this.result},function(a,i){if(r(a))return a;var o=new n(i);if(u.isValueLike(a))o.result=this[e](l.getValue(a));else{var s=u.isIteratorLike(a)||u.isMoreListLikeThanMapLike(a);if(o.result=s?[]:{},o.map[e].has(a))return o.map.isSerializing[e].has(a)&&o.map.circularReferenceIsSerializing[e].set(a,!0),o.map[e].get(a);o.map[e].set(a,o.result);for(var c=0,d=t.length;c=r.length)return n||o(a,{index:s,deleteCount:e.length-s+1,insert:[]}),!1;var c=r[s];u.isPrimitive(t)||u.isPrimitive(c)||!1===C(t)?o(a,{index:s,deleteCount:1,insert:[c]}):!0===n?this.assignDeep(t,c):this.updateDeep(t,c)},this),r.length>i&&o(a,{index:i+1,deleteCount:0,insert:r.slice(i+1)});for(var s=0,c=a.length;s";if(i.isMoreListLikeThanMapLike(e))return a+"[]";if(i.isMapLike(e))return a+"{}"}}}var a=e("can-symbol"),i=e("../type/type"),o=a.for("can.getName"),s=0;n.exports={setName:function(e,t){if("function"!=typeof t){var n=t;t=function(){return n}}Object.defineProperty(e,o,{value:t})},getName:r}}),define("can-reflect@1.17.9#types/map",["require","exports","module","../reflections/shape/shape","can-symbol"],function(e,t,n){"use strict";var r=e("../reflections/shape/shape"),a=e("can-symbol");"undefined"!=typeof Map&&(r.assignSymbols(Map.prototype,{"can.getOwnEnumerableKeys":Map.prototype.keys,"can.setKeyValue":Map.prototype.set,"can.getKeyValue":Map.prototype.get,"can.deleteKeyValue":Map.prototype.delete,"can.hasOwnKey":Map.prototype.has}),"function"!=typeof Map.prototype.keys&&(Map.prototype.keys=Map.prototype[a.for("can.getOwnEnumerableKeys")]=function(){var e=[],t=0;return this.forEach(function(t,n){e.push(n)}),{next:function(){return{value:e[t],done:t++===e.length}}}})),"undefined"!=typeof WeakMap&&r.assignSymbols(WeakMap.prototype,{"can.getOwnEnumerableKeys":function(){throw new Error("can-reflect: WeakMaps do not have enumerable keys.")},"can.setKeyValue":WeakMap.prototype.set,"can.getKeyValue":WeakMap.prototype.get,"can.deleteKeyValue":WeakMap.prototype.delete,"can.hasOwnKey":WeakMap.prototype.has})}),define("can-reflect@1.17.9#types/set",["require","exports","module","../reflections/shape/shape","can-symbol"],function(e,t,n){"use strict";var r=e("../reflections/shape/shape"),a=e("can-symbol");"undefined"!=typeof Set&&(r.assignSymbols(Set.prototype,{"can.isMoreListLikeThanMapLike":!0,"can.updateValues":function(e,t,n){t!==n&&r.each(t,function(e){this.delete(e)},this),r.each(n,function(e){this.add(e)},this)},"can.size":function(){return this.size}}),"function"!=typeof Set.prototype[a.iterator]&&(Set.prototype[a.iterator]=function(){var e=[],t=0;return this.forEach(function(t){e.push(t)}),{next:function(){return{value:e[t],done:t++===e.length}}}})),"undefined"!=typeof WeakSet&&r.assignSymbols(WeakSet.prototype,{"can.isListLike":!0,"can.isMoreListLikeThanMapLike":!0,"can.updateValues":function(e,t,n){t!==n&&r.each(t,function(e){this.delete(e)},this),r.each(n,function(e){this.add(e)},this)},"can.size":function(){throw new Error("can-reflect: WeakSets do not have enumerable keys.")}})}),define("can-reflect@1.17.9#can-reflect",["require","exports","module","./reflections/call/call","./reflections/get-set/get-set","./reflections/observe/observe","./reflections/shape/shape","./reflections/shape/schema/schema","./reflections/type/type","./reflections/get-name/get-name","can-namespace","./types/map","./types/set"],function(e,t,n){"use strict";var r=e("./reflections/call/call"),a=e("./reflections/get-set/get-set"),i=e("./reflections/observe/observe"),o=e("./reflections/shape/shape"),s=e("./reflections/shape/schema/schema"),c=e("./reflections/type/type"),l=e("./reflections/get-name/get-name"),u=e("can-namespace"),d={};[r,a,i,o,c,l,s].forEach(function(e){for(var t in e)d[t]=e[t]}),e("./types/map"),e("./types/set"),n.exports=u.Reflect=d}),define("can-log@1.0.0#can-log",function(e,t,n){"use strict";t.warnTimeout=5e3,t.logLevel=0,t.warn=function(){this.logLevel<2&&("undefined"!=typeof console&&console.warn?this._logger("warn",Array.prototype.slice.call(arguments)):"undefined"!=typeof console&&console.log&&this._logger("log",Array.prototype.slice.call(arguments)))},t.log=function(){this.logLevel<1&&"undefined"!=typeof console&&console.log&&this._logger("log",Array.prototype.slice.call(arguments))},t.error=function(){this.logLevel<1&&"undefined"!=typeof console&&console.error&&this._logger("error",Array.prototype.slice.call(arguments))},t._logger=function(e,t){try{console[e].apply(console,t)}catch(n){console[e](t)}}}),define("can-log@1.0.0#dev/dev",["require","exports","module","../can-log"],function(e,t,n){"use strict";var r=e("../can-log");n.exports={warnTimeout:5e3,logLevel:0,stringify:function(e){return JSON.stringify(e,function(e,t){return void 0===t?"/* void(undefined) */":t}," ").replace(/"\/\* void\(undefined\) \*\/"/g,"undefined")},warn:function(){},log:function(){},error:function(){},_logger:r._logger}}),define("can-string@1.0.0#can-string",function(e,t,n){"use strict";var r=/\=\=/,a=/([A-Z]+)([A-Z][a-z])/g,i=/([a-z\d])([A-Z])/g,o=/([a-z\d])([A-Z])/g,s=/"/g,c=/'/g,l=/-+(.)?/g,u=/[a-z][A-Z]/g,d=function(e){return""+(null===e||void 0===e||isNaN(e)&&""+e=="NaN"?"":e)},p={esc:function(e){return d(e).replace(/&/g,"&").replace(//g,">").replace(s,""").replace(c,"'")},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},camelize:function(e){return d(e).replace(l,function(e,t){return t?t.toUpperCase():""})},hyphenate:function(e){return d(e).replace(u,function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()})},underscore:function(e){return e.replace(r,"/").replace(a,"$1_$2").replace(i,"$1_$2").replace(o,"_").toLowerCase()},undHash:/_|-/};n.exports=p}),define("can-construct@3.5.4#can-construct",["require","exports","module","can-reflect","can-log/dev/dev","can-namespace","can-symbol"],function(e,t,n){"use strict";var r,a=e("can-reflect"),i=(e("can-log/dev/dev"),e("can-namespace")),o=e("can-symbol").for("can.initializing"),s=0,c=function(){if(arguments.length)return c.extend.apply(c,arguments)};try{Object.getOwnPropertyDescriptor({}),r=!0}catch(e){r=!1}var l=function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return n&&(n.get||n.set)?n:null},u=function(e,t,n){Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:!1,value:n})};a.assignMap(c,{constructorExtends:!0,newInstance:function(){var e,t=this.instance();if(t.setup){if(Object.defineProperty(t,"__inSetup",{configurable:!0,enumerable:!1,value:!0,writable:!0}),Object.defineProperty(t,o,{configurable:!0,enumerable:!1,value:!0,writable:!0}),(e=t.setup.apply(t,arguments))instanceof c.ReturnValue)return e.value;t.__inSetup=!1,t[o]=!1}return t.init&&t.init.apply(t,e||arguments),t},_inherit:r?function(e,t,n){n=n||e;var r;for(var a in e)(r=l(e,a))?this._defineProperty(n,t,a,r):c._overwrite(n,t,a,e[a])}:function(e,t,n){n=n||e;for(var r in e)c._overwrite(n,t,r,e[r])},_defineProperty:function(e,t,n,r){Object.defineProperty(e,n,r)},_overwrite:function(e,t,n,r){Object.defineProperty(e,n,{value:r,configurable:!0,enumerable:!0,writable:!0})},setup:function(e){var t=a.assignDeepMap({},e.defaults);this.defaults=a.assignDeepMap(t,this.defaults)},instance:function(){s=1;var e=new this;return s=0,e},extend:function(e,t,n){function r(){if(!s)return this&&this.constructor===d||!arguments.length||!d.constructorExtends?d.newInstance.apply(d,arguments):d.extend.apply(d,arguments)}var i=e,o=t,l=n;"string"!=typeof i&&(l=o,o=i,i=null),l||(l=o,o=null),l=l||{};var d,p,f=this,h=this.prototype;p=this.instance(),c._inherit(l,h,p),i||(o&&o.shortName?i=o.shortName:this.shortName&&(i=this.shortName)),d="function"==typeof namedCtor?namedCtor(constructorName,r):function(){return r.apply(this,arguments)};for(var m in f)f.hasOwnProperty(m)&&(d[m]=f[m]);if(c._inherit(o,f,d),a.assignMap(d,{constructor:d,prototype:p}),void 0!==i){if(Object.getOwnPropertyDescriptor){var v=Object.getOwnPropertyDescriptor(d,"name");v&&!v.configurable||Object.defineProperty(d,"name",{writable:!0,value:i,configurable:!0})}d.shortName=i}u(d.prototype,"constructor",d);var g=[f].concat(Array.prototype.slice.call(arguments)),y=d.setup.apply(d,g);return d.init&&d.init.apply(d,y||g),d},ReturnValue:function(e){this.value=e}}),u(c.prototype,"setup",function(){}),u(c.prototype,"init",function(){}),n.exports=i.Construct=c}),define("can-util@3.14.0#js/is-container/is-container",function(e,t,n){"use strict";n.exports=function(e){return/^f|^o/.test(typeof e)}}),define("can-util@3.14.0#js/get/get",["require","exports","module","../is-container/is-container"],function(e,t,n){"use strict";var r=e("../is-container/is-container");n.exports=function(e,t){var n,a,i=void 0!==t?(t+"").replace(/\[/g,".").replace(/]/g,"").split("."):[],o=i.length;if(!o)return e;for(n=e,a=0;a/g,">").replace(p,""").replace(f,"'")},getObject:function(e,t){for(var n,a=(t=i(t)?t:[t||window]).length,o=0;o0&&n-1 in e)}}),define("can-util@3.14.0#js/is-iterable/is-iterable",["require","exports","module","can-symbol"],function(e,t,n){"use strict";var r=e("can-symbol");n.exports=function(e){return e&&!!e[r.iterator||r.for("iterator")]}}),define("can-util@3.14.0#js/each/each",["require","exports","module","../is-array-like/is-array-like","../is-iterable/is-iterable","can-symbol","can-namespace"],function(e,t,n){"use strict";var r=e("../is-array-like/is-array-like"),a=Object.prototype.hasOwnProperty,i=e("../is-iterable/is-iterable"),o=e("can-symbol"),s=e("can-namespace");n.exports=s.each=function(e,t,n){var s,c,l,u=0;if(e)if(r(e))for(c=e.length;u=0&&n.handlers.splice(r,1),0===n.handlers.length&&(n.observer.disconnect(),i.clean.call(t,"globalObserverData"))}}},f=function(e){var t=e.toLowerCase()+"Nodes",n=function(){var e=a().documentElement,n=i.get.call(e,t+"MutationData");return n||(n={name:t,handlers:[],afterHandlers:[],hander:null},o()&&i.set.call(e,t+"MutationData",n)),n},r=function(){var e=n();return 0!==e.handlers.length&&0!==e.afterHandlers.length||(e.handler=function(n){var r=new c;n.forEach(function(n){s(n[t],function(t){var n=t.getElementsByTagName&&l(t.getElementsByTagName("*")),a=d(t,e,r);if(n&&!a)for(var i,o=0;void 0!==(i=n[o]);o++)d(i,e,r)})})},this.add(e.handler)),e},f=function(){var e=a().documentElement,r=n();0===r.handlers.length&&0===r.afterHandlers.length&&(this.remove(r.handler),i.clean.call(e,t+"MutationData"))},h=function(e,t){p["on"+e]=function(e){r.call(this)[t].push(e)},p["off"+e]=function(e){var r=n(),a=r[t].indexOf(e);a>=0&&r[t].splice(a,1),f.call(this)}};!function(e){h(e,"handlers"),h("After"+e,"afterHandlers")}(u.capitalize(t))};f("added"),f("removed"),r.exports=p}(0,e,0,n)}),define("can-util@3.14.0#dom/data/data",["require","exports","module","can-dom-data-state","../mutation-observer/document/document","can-namespace"],function(e,t,n){"use strict";var r=e("can-dom-data-state"),a=e("../mutation-observer/document/document"),i=e("can-namespace"),o=0,s=function(){return o-=1,r.delete.call(this)},c=function(e){void 0!==r.get.call(e)&&s.call(e),0===o&&a.offAfterRemovedNodes(c)};n.exports=i.data={getCid:r.getCid,cid:r.cid,expando:r.expando,clean:r.clean,get:r.get,set:function(e,t){0===o&&a.onAfterRemovedNodes(c),o+=r.get.call(this)?0:1,r.set.call(this,e,t)},delete:s,_getElementSetCount:function(){return o}}}),define("can-util@3.14.0#dom/class-name/class-name",["require","exports","module","can-namespace"],function(e,t,n){"use strict";var r=e("can-namespace"),a=function(e){return this.classList?this.classList.contains(e):!!this.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))};n.exports=r.className={has:a,add:function(e){this.classList?this.classList.add(e):a.call(this,e)||(this.className+=" "+e)},remove:function(e){if(this.classList)this.classList.remove(e);else if(a.call(this,e)){var t=new RegExp("(\\s|^)"+e+"(\\s|$)");this.className=this.className.replace(t," ")}}}}),define("can-globals@1.2.1#is-node/is-node",["require","exports","module","can-globals/can-globals-instance"],function(e,t,n){!function(e,t,n,r){"use strict";var a=t("can-globals/can-globals-instance");a.define("isNode",function(){return"object"==typeof process&&"[object process]"==={}.toString.call(process)}),r.exports=a.makeExport("isNode")}(0,e,0,n)}),define("can-globals@1.2.1#is-browser-window/is-browser-window",["require","exports","module","can-globals/can-globals-instance","../is-node/is-node"],function(e,t,n){!function(e,t,n,r){"use strict";var a=t("can-globals/can-globals-instance");t("../is-node/is-node"),a.define("isBrowserWindow",function(){var e=a.getKeyValue("isNode");return"undefined"!=typeof window&&"undefined"!=typeof document&&!1===e}),r.exports=a.makeExport("isBrowserWindow")}(0,e,0,n)}),define("can-util@3.14.0#js/is-plain-object/is-plain-object",["require","exports","module","can-namespace"],function(e,t,n){"use strict";function r(e){return null!==e&&e==e.window}var a=e("can-namespace"),i=Object.prototype.hasOwnProperty;n.exports=a.isPlainObject=function(e){if(!e||"object"!=typeof e||e.nodeType||r(e)||e.constructor&&e.constructor.shortName)return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}var t;for(t in e);return void 0===t||i.call(e,t)}}),define("can-util@3.14.0#dom/events/events",["require","exports","module","can-globals/document/document","can-globals/is-browser-window/is-browser-window","../../js/is-plain-object/is-plain-object","can-log/dev/dev","can-namespace"],function(e,t,n){!function(e,t,n,r){"use strict";function a(e,t){var n=s(t)?"inserted"===t.type||"removed"===t.type:"inserted"===t||"removed"===t,r=!!e.disabled;return n&&r}var i=t("can-globals/document/document"),o=t("can-globals/is-browser-window/is-browser-window"),s=t("../../js/is-plain-object/is-plain-object"),c=!1,l=(t("can-log/dev/dev"),t("can-namespace"));r.exports=l.events={addEventListener:function(){this.addEventListener.apply(this,arguments)},removeEventListener:function(){this.removeEventListener.apply(this,arguments)},canAddEventListener:function(){return this.nodeName&&(1===this.nodeType||9===this.nodeType)||this===window},dispatch:function(e,t,n){var r,o=c&&a(this,e),s=(this.ownerDocument||i()).createEvent("HTMLEvents"),l="string"==typeof e;if(s.initEvent(l?e:e.type,void 0===n||n,!1),!l)for(var u in e)void 0===s[u]&&(s[u]=e[u]);return!0===this.disabled&&s.type,s.args=t,o&&(this.disabled=!1),r=this.dispatchEvent(s),o&&(this.disabled=!0),r}},function(){if(o()){var e="fix_synthetic_events_on_disabled_test",t=document.createElement("input");t.disabled=!0;var n=setTimeout(function(){c=!0},50),a=function a(){clearTimeout(n),r.exports.removeEventListener.call(t,e,a)};r.exports.addEventListener.call(t,e,a);try{r.exports.dispatch.call(t,e,[],!1)}catch(e){a(),c=!0}}}()}(0,e,0,n)}),define("can-util@3.14.0#js/is-empty-object/is-empty-object",["require","exports","module","can-namespace"],function(e,t,n){"use strict";var r=e("can-namespace");n.exports=r.isEmptyObject=function(e){for(var t in e)return!1;return!0}}),define("can-util@3.14.0#dom/dispatch/dispatch",["require","exports","module","../events/events","can-namespace"],function(e,t,n){"use strict";var r=e("../events/events"),a=e("can-namespace");n.exports=a.dispatch=function(){return r.dispatch.apply(this,arguments)}}),define("can-util@3.14.0#dom/matches/matches",["require","exports","module","can-namespace"],function(e,t,n){"use strict";var r=e("can-namespace"),a=function(e){return e.matches||e.webkitMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector};n.exports=r.matches=function(){var e=a(this);return!!e&&e.apply(this,arguments)}}),define("can-util@3.14.0#dom/events/delegate/delegate",["require","exports","module","../events","../../data/data","../../matches/matches","../../../js/each/each","../../../js/is-empty-object/is-empty-object","can-cid"],function(e,t,n){"use strict";var r=e("../events"),a=e("../../data/data"),i=e("../../matches/matches"),o=e("../../../js/each/each"),s=e("../../../js/is-empty-object/is-empty-object"),c=e("can-cid"),l="delegateEvents",u=function(e){return"focus"===e||"blur"===e},d=function(e,t){var n=a.get.call(this,l)[e||t.type],r=[];if(n){var s=[];o(n,function(e){s.push(e)});var c=t.target;do{s.forEach(function(e){i.call(c,e[0].selector)&&r.push({target:c,delegates:e})}),c=c.parentNode}while(c&&c!==t.currentTarget)}var u=t.stopPropagation;t.stopPropagation=function(){u.apply(this,arguments),this.cancelBubble=!0};for(var d=0;d0&&a.updateChildrenAndSelf(this),this.value):this.func.call(this.context)},getPrimaryDepth:function(){return this.compute._primaryDepth||0},addEdge:function(e){"undefined"===e.event?d.onValue(e.obj,this.onDependencyChange):d.onKeyValue(e.obj,e.event,this.onDependencyChange)},removeEdge:function(e){"undefined"===e.event?d.offValue(e.obj,this.onDependencyChange):d.offKeyValue(e.obj,e.event,this.onDependencyChange)},dependencyChange:function(){!0===this.bound&&(void 0!==o.batchNum&&o.batchNum===this.batchNum||(a.registerUpdate(this,o.batchNum),this.batchNum=o.batchNum))},onDependencyChange:function(e){this.dependencyChange(e)},update:function(e){if(!0===this.needsUpdate&&g.updates--,this.needsUpdate=!1,!0===this.bound){var t=this.value;if(this.oldValue=null,this.start(),t!==this.value)return this.compute.updater(this.value,t,e),!0}},getValueAndBind:function(){return u.warn("can-observation: call start instead of getValueAndBind"),this.start()},start:function(){this.bound=!0,this.oldObserved=this.newObserved||{},this.ignore=0,this.newObserved={},v.push(this),this.value=this.func.call(this.context),v.pop(),this.updateBindings()},updateBindings:function(){var e,t,n=this.newObserved,r=this.oldObserved;for(e in n)t=n[e],r[e]?r[e]=void 0:this.addEdge(t);for(e in r)void 0!==(t=r[e])&&this.removeEdge(t)},teardown:function(){return u.warn("can-observation: call stop instead of teardown"),this.stop()},stop:function(){this.bound=!1;for(var e in this.newObserved){var t=this.newObserved[e];this.removeEdge(t)}this.newObserved={}}});var y,b=[],x=1/0,w=0,k=!1,j=function(e){var t=e.getPrimaryDepth();return tw&&(w=t),b[t]||(b[t]=[])};a.registerUpdate=function(e,t){!0!==e.needsUpdate&&(g.updates++,e.needsUpdate=!0,j(e).push(e))};var _=[];a.updateAndNotify=function(e,t){if(y=t,!0!==k)for(k=!0;;){if(!(x<=w)){b=[],x=1/0,w=0,k=!1;var n=_;return _=[],void n.forEach(function(e){e()})}var r=b[x],a=r&&r.pop();void 0!==a?a.update(y):x++}},i.addEventListener.call(o,"batchEnd",a.updateAndNotify),a.afterUpdateAndNotify=function(e){o.after(function(){!0===k?_.push(e):e()})},a.updateChildrenAndSelf=function(e){if(!0===e.needsUpdate)return a.unregisterAndUpdate(e);var t=!1;for(var n in e.newObserved)e.newObserved[n].obj.observation&&a.updateChildrenAndSelf(e.newObserved[n].obj.observation)&&(t=!0);return!0===t?e.update(y):void 0},a.unregisterAndUpdate=function(e){var t=e.getPrimaryDepth(),n=b[t];if(void 0!==n){var r=n.indexOf(e);-1!==r&&n.splice(r,1)}return e.update(y)},a.add=function(e,t){var n=v[v.length-1];if(void 0!==n&&!n.ignore){var r=t+"",a=e._cid+"|"+r;void 0!==n.traps?n.traps.push({obj:e,event:r,name:a}):n.newObserved[a]={obj:e,event:r}}},a.addAll=function(e){var t=v[v.length-1];if(void 0!==t)if(void 0!==t.traps)t.traps.push.apply(t.traps,e);else for(var n=0,r=e.length;n0){var t=v[v.length-1];t.ignore++;var n=e.apply(this,arguments);return t.ignore--,n}return e.apply(this,arguments)}},a.trap=function(){if(v.length>0){var e=v[v.length-1],t=e.traps,n=e.traps=[];return function(){return e.traps=t,n}}return function(){return[]}},a.trapsCount=function(){return v.length>0?v[v.length-1].traps.length:0},a.isRecording=function(){var e=v.length,t=e>0&&v[e-1];return t&&0===t.ignore};var C,E=function(){},T=function(){for(var e=0,t=C.length;e1?(i=o.pop(),e=r.read(e,o,a).value,o.push(i)):i=o[0],r.valueReadersMap.isValueLike.test(e[i.key],o.length-1,o,a)?r.valueReadersMap.isValueLike.write(e[i.key],n,a):(r.valueReadersMap.isValueLike.test(e,o.length-1,o,a)&&(e=e[u]()),r.propertyReadersMap.map.test(e)?r.propertyReadersMap.map.write(e,i.key,n,a):r.propertyReadersMap.object.test(e)&&(r.propertyReadersMap.object.write(e,i.key,n,a),a.observation&&a.observation.update()))}}).propertyReaders,function(e){r.propertyReadersMap[e.name]=e}),i(r.valueReaders,function(e){r.valueReadersMap[e.name]=e}),r.set=r.write,n.exports=r}),define("can-compute@3.3.10#proto-compute",["require","exports","module","can-observation","can-event","can-event/lifecycle/lifecycle","can-event/batch/batch","can-stache-key","can-util/js/get/get","can-cid","can-util/js/assign/assign","can-util/js/log/log","can-reflect","can-symbol","can-util/js/cid-set/cid-set","can-util/js/single-reference/single-reference"],function(e,t,n){var r=e("can-observation"),a=e("can-event"),i=e("can-event/lifecycle/lifecycle");e("can-event/batch/batch");var o=e("can-stache-key"),s=e("can-util/js/get/get"),c=e("can-cid"),l=e("can-util/js/assign/assign"),u=(e("can-util/js/log/log"),e("can-reflect")),d=e("can-symbol"),p=e("can-util/js/cid-set/cid-set"),f=e("can-util/js/single-reference/single-reference"),h=function(e,t,n,r){c(this,"compute");for(var a=[],i=0,s=arguments.length;i=0?["change"]:[]},addEventListener:s.addAndSetup,removeEventListener:s.removeAndTeardown,keys:function(e){return l.add(e,"__keys"),b.getOwnEnumerableKeys(e._data)}},{setup:function(e){b.isObservableLike(e)&&"function"==typeof e.serialize&&(e=e.serialize()),this._data=Object.create(null),h(this,".map"),this._setupComputedProperties();var t=e&&a.addToMap(e,this),n=this._setupDefaults(e),r=g(m(!0,{},n),e);this.attr(r),t&&t()},_setupComputedProperties:function(){this._computedAttrs=Object.create(null);for(var e=this.constructor._computedPropertyNames,t=0,n=e.length;t=0){var n=this.___get(e);if(void 0!==n)return l.add(this,e),n;var r=e.substr(0,t),a=e.substr(t+1),i=this.__get(r);return i&&b.getKeyValue(i,a)}return this.__get(e)},__get:function(e){return j[e]||this._computedAttrs[e]||l.add(this,e),this.___get(e)},___get:function(e){if(void 0!==e){var t=this._computedAttrs[e];return t&&t.compute?t.compute():_.call(this._data,e)?this._data[e]:void 0}return this._data},_set:function(e,t,n){var r,a=e.indexOf(".");if(a>=0&&!n){var i=e.substr(0,a),o=e.substr(a+1);r=this.__inSetup?void 0:this.___get(i),b.isMapLike(r)?b.setKeyValue(r,o,t):(r=this.__inSetup?void 0:this.___get(e),this.__convert&&(t=this.__convert(e,t)),this.__set(e,this.__type(t,e),r))}else r=this.__inSetup?void 0:this.___get(e),this.__convert&&(t=this.__convert(e,t)),this.__set(e,this.__type(t,e),r)},__type:function(e,t){return"object"!=typeof e||b.isObservableLike(e)||!a.canMakeObserve(e)||b.isListLike(e)?e:a.getMapFromObject(e)||new(this.constructor.Map||C)(e)},__set:function(e,t,n){if(t!==n){var a=this._computedAttrs[e],i=a||void 0!==n||_.call(this.___get(),e)?"set":"add";this.___set(e,"object"==typeof t?r.set(this,e,t,n):t),a&&a.count||this._triggerChange(e,i,t,n),"object"==typeof n&&r.teardownFromParent(this,n)}},___set:function(e,t){var n=this._computedAttrs[e];n?n.compute(t):this._data[e]=t,"function"==typeof this.constructor.prototype[e]||n||(this[e]=t)},removeAttr:function(e){return this._remove(e)},_remove:function(e){var t=a.attrParts(e),n=t.shift(),r=this.___get(n);return t.length&&r?b.deleteKeyValue(r,t.join(".")):("string"==typeof e&&~e.indexOf(".")&&(n=e),this.__remove(n,r),r)},__remove:function(e,t){e in this._data&&(this.___remove(e),this._triggerChange(e,"remove",void 0,t))},___remove:function(e){delete this._data[e],e in this.constructor.prototype||delete this[e]},___serialize:function(e,t){return this._legacyAttrBehavior?a.getValue(this,e,t,"serialize"):b.serialize(t,k)},_getAttrs:function(){return this._legacyAttrBehavior?a.serialize(this,"attr",{}):b.unwrap(this,k)},_setAttrs:function(e,t){return this._legacyAttrBehavior?this.__setAttrs(e,t):(!0===t?this[x.for("can.updateDeep")](e):this[x.for("can.assignDeep")](e),this)},__setAttrs:function(e,t){e=g({},e);var n,r,i=this;o.start(),this._each(function(n,o){"_cid"!==o&&(void 0!==(r=e[o])?(i.__convert&&(r=i.__convert(o,r)),y.isMapLike(n)&&a.canMakeObserve(r)?!0===t?b.updateDeep(n,r):b.assignDeep(n,r):n!==r&&i.__set(o,i.__type(r,o),n),delete e[o]):t&&i.removeAttr(o))});for(n in e)"_cid"!==n&&(r=e[n],this._set(n,r,!0));return o.stop(),this},serialize:function(){return b.serialize(this,k)},_triggerChange:function(e,t,n,a,o){r.isBubbling(this,"change")&&i.dispatch.call(this,{type:"change",target:this,batchNum:o},[e,t,n,a]),i.dispatch.call(this,{type:e,target:this,batchNum:o},[n,a]),"remove"!==t&&"add"!==t||i.dispatch.call(this,{type:"__keys",target:this,batchNum:o})},_eventSetup:function(){},_eventTeardown:function(){},one:i.one,addEventListener:function(e,t){var n=this._computedAttrs&&this._computedAttrs[e];return n&&n.compute&&(n.count?n.count++:(n.count=1,n.compute.addEventListener("change",function(e,t,r){n.handler(t,r)}))),r.bind(this,e),s.addAndSetup.apply(this,arguments)},removeEventListener:function(e,t){var n=this._computedAttrs&&this._computedAttrs[e];return n&&(1===n.count?(n.count=0,b.offValue(n.compute,n.handler)):n.count--),r.unbind(this,e),s.removeAndTeardown.apply(this,arguments)},compute:function(e){if(v(this.constructor.prototype[e]))return d(this[e],this);var t=u.reads(e),n=t.length-1;return d(function(r){if(!arguments.length)return u.get(this,e);u.write(this,t[n].key,r,{})},this)},each:function(e,t){for(var n,r,a=C.keys(this),i=0,o=a.length;i");return a.each(e,function(e,r){$li=a(""),$a=a("").attr("href","#"+r.id).text(r.text),n.append($li.append($a)),r.sections&&r.sections.length&&$li.append(i(r.sections,t))}),n};n.exports=r.extend({init:function(){var e=[];this.$element=a(this.element),this.collectSignatures().each(function(t){var n=a("h2",this);this.id="sig_"+n.text().replace(/\s/g,"").replace(/[^\w]/g,"_"),e.push({id:this.id,text:n.text()})});var t=[],n=function(){return t[t.length-1]};if(this.collectHeadings().each(function(r){var i=a(this);this.id="section_"+i.text().replace(/\s/g,"").replace(/[^\w]/g,"_");for(var o=+this.nodeName.substr(1),s={id:this.id,text:i.text(),num:o,sections:[]};n()&&n().num>=o;)t.pop();t.length?(n().sections.push(s),t.push(s)):(e.push(s),t.push(s))}),this.$element.html(i(e,(window.docObject.outline&&window.docObject.outline.tag||"ul").toLowerCase())),window.location.hash.length){var r=window.location.hash.replace("#",""),o=document.getElementById(r);o&&o.scrollIntoView(!0)}},collectSignatures:function(){var e=a(".content .signature").clone();return e.find(".release").remove(),e},collectHeadings:function(){for(var e=window.docObject.outline&&window.docObject.outline.depth||1,t=[],n=0;n]*>"),u=new RegExp("\\{\\{(![\\s\\S]*?!|[\\s\\S]*?)\\}\\}\\}?","g"),d=/\s/,p=new RegExp("[A-Za-z0-9]"),f=new RegExp("[-:_A-Za-z0-9]+s*=s*(\"[^\"]*\"|'[^']*')"),h=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),m=a("altGlyph,altGlyphDef,altGlyphItem,animateColor,animateMotion,animateTransform,clipPath,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,foreignObject,glyphRef,linearGradient,radialGradient,textPath"),v=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),g=a("script"),y="start,end,close,attrStart,attrEnd,attrValue,chars,comment,special,done".split(","),b={"{":"}","(":")"},x=function(){},w=function(e,t,n){function a(e,n){var r;if(n)for(n=m[n]?n:n.toLowerCase(),r=C.length-1;r>=0&&C[r]!==n;r--);else r=0;if(r>=0){for(var a=C.length-1;a>=r;a--)t.close&&t.close(C[a],k);C.length=r}}if("object"==typeof e)return i(e,t);var o=[];t=t||{},n&&r(y,function(e){var n=t[e]||x;t[e]=function(){if(!1!==n.apply(this,arguments)){var t=arguments.length;void 0===arguments[t-1]&&(t=arguments.length-1),o.push({tokenType:e,args:[].slice.call(arguments,0,t)})}}});var c=t.magicMatch||u,d=t.magicStart||"{{";t.magicMatch&&s.warn("can-view-parser: magicMatch is deprecated."),t.magicStart&&s.warn("can-view-parser: magicStart is deprecated.");var p,f,b,k,j=function(){T&&t.chars&&t.chars(T,k),T=""},C=[],E=e,T="";for(C.last=function(){return this[this.length-1]};e;){if(f=!0,C.last()&&g[C.last()])e=e.replace(new RegExp("([\\s\\S]*?)"+C.last()+"[^>]*>"),function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n,k),""}),a(0,C.last());else{if(0===e.indexOf("\x3c!--"))(p=e.indexOf("--\x3e"))>=0&&(j(),t.comment&&t.comment(e.substring(4,p),k),e=e.substring(p+3),f=!1);else if(0===e.indexOf(""))(b=e.match(l))&&(j(),b[0].replace(l,a),e=e.substring(b[0].length),f=!1);else if(0===e.indexOf("<")){var L=w.searchStartTag(e);L&&(j(),function(e,n,r,i){n=m[n]?n:n.toLowerCase(),v[n]&&C.last()===n&&a(0,n),i=h[n]||!!i,t.start(n,i,k),i||C.push(n),w.parseAttrs(r,t,k),t.end(n,i,k)}.apply(null,L.match),e=L.html,f=!1)}else 0===e.indexOf(d)&&(b=e.match(c))&&(j(),b[0].replace(c,function(e,n){t.special&&t.special(n,k)}),e=e.substring(b[0].length));if(f){0===(p=_(e,d))&&e===E&&(T+=e.charAt(0),e=e.substr(1),p=_(e,d));var S=p<0?e:e.substring(0,p);e=p<0?"":e.substring(p),S&&(T+=S)}}if(e===E)throw new Error("Parse Error: "+e);E=e}return j(),a(),t.done(k),o},k=function(e,t,n,r,a){var i=r.substring("number"==typeof e.nameStart?e.nameStart:t,t),o=c.encode(i);e.attrStart=o,n.attrStart(e.attrStart,a),e.inName=!1},j=function(e,t,n,r,a){if(void 0!==e.valueStart&&e.valueStarts.valueStart?t.attrValue(e.substring(s.valueStart,r),n):s.inName&&s.nameStart"),n=f.exec(e.substring(1)),r=1;n&&t>=r+n.index;){for(r+=n.index+n[0].length;t")+1;n=f.exec(e.substring(r))}if(-1===t||!p.test(e[1]))return null;var a,i,o,s="",c="",l=e.substring(0,t+1),u="/"===l[l.length-2],h=l.search(d);return u?(c="/",i=l.substring(1,l.length-2).trim()):i=l.substring(1,l.length-1).trim(),-1===h?a=i:(h--,a=i.substring(0,h),s=i.substring(h)),o=[l,a,s,c],{match:o,html:e.substring(l.length)}},n.exports=o.HTMLParser=w}),define("can-util@3.14.0#js/global/global",["require","exports","module","can-namespace","can-globals/global/global"],function(e,t,n){!function(e,t,n,r){"use strict";var a=t("can-namespace");r.exports=a.global=t("can-globals/global/global")}(0,e,0,n)}),define("can-util@3.14.0#js/set-immediate/set-immediate",["require","exports","module","can-globals/global/global","can-namespace"],function(e,t,n){!function(e,t,n,r){"use strict";var e=t("can-globals/global/global")(),a=t("can-namespace");r.exports=a.setImmediate=e.setImmediate||function(e){return setTimeout(e,0)}}(function(){return this}(),e,0,n)}),define("can-util@3.14.0#dom/child-nodes/child-nodes",["require","exports","module","can-namespace"],function(e,t,n){"use strict";var r=e("can-namespace");n.exports=r.childNodes=function(e){var t=e.childNodes;if("length"in t)return t;for(var n=e.firstChild,r=[];n;)r.push(n),n=n.nextSibling;return r}}),define("can-util@3.14.0#dom/contains/contains",["require","exports","module","can-namespace"],function(e,t,n){"use strict";var r=e("can-namespace");n.exports=r.contains=function(e){return this.contains(e)}}),define("can-util@3.14.0#dom/mutate/mutate",["require","exports","module","../../js/make-array/make-array","can-namespace","../../js/set-immediate/set-immediate","can-cid","can-globals/mutation-observer/mutation-observer","../child-nodes/child-nodes","../contains/contains","../dispatch/dispatch","can-globals/document/document","../data/data"],function(e,t,n){!function(e,t,n,r){"use strict";var a,i=t("../../js/make-array/make-array"),o=t("can-namespace"),s=t("../../js/set-immediate/set-immediate"),c=t("can-cid"),l=t("can-globals/mutation-observer/mutation-observer"),u=t("../child-nodes/child-nodes"),d=t("../contains/contains"),p=t("../dispatch/dispatch"),f=t("can-globals/document/document"),h=t("../data/data"),m={inserted:function(e,t){return d.call(e,t)},removed:function(e,t){return!d.call(e,t)}},v=function(e,t,n,r,a){if(e.length)for(var o,s,l,u=0;void 0!==(l=e[u]);u++)if(s=c(l),l.getElementsByTagName&&n(t,l)&&!a[s]){a[s]=!0,o=i(l.getElementsByTagName("*")),p.call(l,r,[],!1),"removed"===r&&h.delete.call(l);for(var d,f=0;void 0!==(d=o[f]);f++)a[s=c(d)]||(p.call(d,r,[],!1),"removed"===r&&h.delete.call(d),a[s]=!0)}},g=function(){var e=a;a=null;var t=e[0][1][0],n=f()||t.ownerDocument||t,r=n.contains?n:n.documentElement,i={inserted:{},removed:{}};e.forEach(function(e){v(e[1],r,m[e[0]],e[0],i[e[0]])})},y=function(e,t){if(!l()&&e.length){var n=e[0],r=f()||n.ownerDocument||n,i=r.contains?r:r.documentElement;m.inserted(i,n)&&(a||(a=[],s(g)),a.push([t,e]))}};r.exports=o.mutate={appendChild:function(e){if(l())this.appendChild(e);else{var t;t=11===e.nodeType?i(u(e)):[e],this.appendChild(e),y(t,"inserted")}},insertBefore:function(e,t,n){if(l())this.insertBefore(e,t);else{var r;r=11===e.nodeType?i(u(e)):[e],this.insertBefore(e,t),y(r,"inserted")}},removeChild:function(e){l()?this.removeChild(e):(y([e],"removed"),this.removeChild(e))},replaceChild:function(e,t){if(l())this.replaceChild(e,t);else{var n;n=11===e.nodeType?i(u(e)):[e],y([t],"removed"),this.replaceChild(e,t),y(n,"inserted")}},inserted:function(e){y(e,"inserted")},removed:function(e){y(e,"removed")}}}(0,e,0,n)}),define("can-view-callbacks@3.2.5#can-view-callbacks",["require","exports","module","can-observation","can-util/js/dev/dev","can-util/js/global/global","can-util/dom/mutate/mutate","can-namespace"],function(e,t,n){!function(e,t,n,r){var a=t("can-observation"),i=(t("can-util/js/dev/dev"),t("can-util/js/global/global")),o=t("can-util/dom/mutate/mutate"),s=t("can-namespace"),c={},l=[],u=/[-\:]/,d=function(){},p={},f={_tags:p,_attributes:c,_regExpAttributes:l,defaultCallback:d,tag:function(e,t){if(!t){var n;return null===t?delete p[e.toLowerCase()]:n=p[e.toLowerCase()],!n&&u.test(e)&&(n=d),n}var r=i();r.html5&&(r.html5.elements+=" "+e,r.html5.shivDocument()),p[e.toLowerCase()]=t},attr:function(e,t){if(!t){var n=c[e];if(!n)for(var r=0,a=l.length;re&&s>t;){if(!a(n[o],r[s]))return[{index:t,deleteCount:o-e+1,insert:i.call(r,t,s+1)}];o--,s--}return[{index:t,deleteCount:o-e+1,insert:i.call(r,t,s+1)}]}var a=e("can-namespace"),i=[].slice,o=function(e,t){return e===t};n.exports=a.diff=function(e,t,n){n=n||o;for(var a=0,s=0,c=e.length,l=t.length,u=[];a ',i=t[r]=n.childNodes[0].attributes[0]),(o=i.cloneNode()).value=a,e.setAttributeNode(o))}}return function(e,t,n){e.setAttribute(t,n)}}(),trigger:function(e,t,n){if(c.get.call(e,"canHasAttributesBindings"))return t=t.toLowerCase(),i(function(){d.call(e,{type:"attributes",attributeName:t,target:e,oldValue:n,bubbles:!1},[])})},get:function(e,t){t=t.toLowerCase();var n=O.special[t],r=n&&n.get,a=w(n);return"function"==typeof r&&a.call(e)?r.call(e):e.getAttribute(t)},remove:function(e,t){t=t.toLowerCase();var n;p()||(n=O.get(e,t));var r=O.special[t],a=r&&r.set,i=r&&r.remove,o=w(r);"function"==typeof i&&o.call(e)?i.call(e):"function"==typeof a&&o.call(e)?a.call(e,void 0):e.removeAttribute(t),p()||null==n||O.trigger(e,t,n)},has:function(){var e=o()&&document.createElement("div");return e&&e.hasAttribute?function(e,t){return e.hasAttribute(t)}:function(e,t){return null!==e.getAttribute(t)}}()},A=u.addEventListener;u.addEventListener=function(e,t){var n=O.special[e];if(n&&n.addEventListener){var r=n.addEventListener.call(this,e,t,A),a=c.get.call(this,"attrTeardowns");return a||c.set.call(this,"attrTeardowns",a={}),a[e]||(a[e]=[]),void a[e].push({teardown:r,handler:t})}return A.apply(this,arguments)};var D=u.removeEventListener;u.removeEventListener=function(e,t){var n=O.special[e];if(!n||!n.addEventListener)return D.apply(this,arguments);var r=c.get.call(this,"attrTeardowns");if(r&&r[e]){for(var a=r[e],i=0,o=a.length;i