!function(e){var t={};function __webpack_require__(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,__webpack_require__),r.l=!0,r.exports}__webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.d=function(e,t,n){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.t=function(e,t){if(1&t&&(e=__webpack_require__(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(__webpack_require__.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)__webpack_require__.d(n,r,function(t){return e[t]}.bind(null,r));return n},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="/",__webpack_require__(__webpack_require__.s=219)}([function(e,t){function _getPrototypeOf(t){return e.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,_getPrototypeOf(t)}e.exports=_getPrototypeOf,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"a",(function(){return behavior})),n.d(t,"b",(function(){return className})),n.d(t,"e",(function(){return regions})),n.d(t,"d",(function(){return options}));var r=n(7),i=n.n(r),a=n(57);function behavior(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=n.prototype;r.behaviors=Object.assign(i()({},e,t),r.behaviors)}}function className(e){return function(t){t.prototype.className=e}}function regions(e){return function(t){t.prototype.regions=Object.assign(e,t.regions)}}function options(e){return function(t){t.prototype.options=Object.assign(e,t.options)}}n.d(t,"c",(function(){return a.on}))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(136);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(137).default,i=n(9);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function _defineProperties(e,t){for(var n=0;n1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i0)for(e=0;e1?r-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:{},r=!e._isAttached&&isNodeAttached(this.el),i=void 0===n.replaceElement?!!t.result(this,"replaceElement"):!!n.replaceElement;r&&triggerMethodOn(e,"before:attach",e),i?this._replaceEl(e):this.attachHtml(e),r&&(e._isAttached=!0,triggerMethodOn(e,"attach",e))},_ensureElement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isObject(this.el)||(this.$el=this.getEl(this.el),this.el=this.$el[0]),!this.$el||0===this.$el.length){var n=void 0===e.allowMissingEl?!!t.result(this,"allowMissingEl"):!!e.allowMissingEl;if(n)return!1;throw new l('An "el" must exist in DOM for this region '+this.cid)}return!0},_getView:function(t){if(!t)throw new l({name:"ViewNotValid",message:"The view passed is undefined and therefore invalid. You must pass a view instance to show."});if(t._isDestroyed)throw new l({name:"ViewDestroyedError",message:'View (cid: "'+t.cid+'") has already been destroyed and cannot be used.'});if(t instanceof e.View)return t;var n=this._getViewOptions(t);return new T(n)},_getViewOptions:function(e){return t.isFunction(e)?{template:e}:t.isObject(e)?e:{template:function(){return e}}},getEl:function(e){return this.findEls(e,t.result(this,"parentEl"))},_replaceEl:function(e){this._restoreEl(),e.on("before:destroy",this._restoreEl,this),this.replaceEl(e.el,this.el),this._isReplaced=!0},_restoreEl:function(){if(this._isReplaced){var e=this.currentView;e&&(this._detachView(e),this._isReplaced=!1)}},isReplaced:function(){return!!this._isReplaced},isSwappingView:function(){return!!this._isSwappingView},attachHtml:function(e){this.appendChildren(this.el,e.el)},empty:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{allowMissingEl:!0},t=this.currentView;if(!t)return this._ensureElement(e)&&this.detachHtml(),this;var n=!e.preventDestroy;return n||i("The preventDestroy option is deprecated. Use Region#detachView"),this._empty(t,n),this},_empty:function(e,t){e.off("destroy",this._empty,this),this.triggerMethod("before:empty",this,e),this._restoreEl(),delete this.currentView,e._isDestroyed||(t?this.removeView(e):this._detachView(e),this._stopChildViewEvents(e)),this.triggerMethod("empty",this,e)},_stopChildViewEvents:function(e){this._parentView&&this._parentView.stopListening(e)},destroyView:function(e){return e._isDestroyed||(e.destroy?e.destroy():destroyBackboneView(e)),e},removeView:function(e){this.destroyView(e)},detachView:function(){var e=this.currentView;if(e)return this._empty(e),e},_detachView:function(e){var t=!!e._isAttached,n=this._isReplaced;t&&triggerMethodOn(e,"before:detach",e),n?this.replaceEl(this.el,e.el):this.detachHtml(),t&&(e._isAttached=!1,triggerMethodOn(e,"detach",e))},detachHtml:function(){this.detachContents(this.el)},hasView:function(){return!!this.currentView},reset:function(e){return this.empty(e),this.$el&&(this.el=this._initEl),delete this.$el,this},destroy:function(e){return this._isDestroyed?this:(this.reset(e),this._name&&this._parentView._removeReferences(this._name),delete this._parentView,delete this._name,MarionetteObject.prototype.destroy.apply(this,arguments))}});t.extend(k.prototype,h);var buildRegion=function(e,n){return e instanceof k?e:function(e,n){var r=t.extend({},n);if(t.isString(e))return t.extend(r,{el:e}),buildRegionFromObject(r);if(t.isFunction(e))return t.extend(r,{regionClass:e}),buildRegionFromObject(r);if(t.isObject(e))return e.selector&&i("The selector option on a Region definition object is deprecated. Use el to pass a selector string"),t.extend(r,{el:e.selector},e),buildRegionFromObject(r);throw new l({message:"Improper region configuration type.",url:"marionette.region.html#region-configuration-types"})}(e,n)};function buildRegionFromObject(e){return new(0,e.regionClass)(t.omit(e,"regionClass"))}var C={regionClass:k,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(t.result(this,"regions"))},_reInitRegions:function(){d(this._regions,"reset")},addRegion:function(e,t){var n={};return n[e]=t,this.addRegions(n)[e]},addRegions:function(e){if(!t.isEmpty(e))return e=this.normalizeUIValues(e,["selector","el"]),this.regions=t.extend({},this.regions,e),this._addRegions(e)},_addRegions:function(e){var n=this,r={regionClass:this.regionClass,parentEl:t.partial(t.result,this,"el")};return t.reduce(e,(function(e,t,i){return e[i]=buildRegion(t,r),n._addRegion(e[i],i),e}),{})},_addRegion:function(e,t){this.triggerMethod("before:add:region",this,t,e),e._parentView=this,e._name=t,this._regions[t]=e,this.triggerMethod("add:region",this,t,e)},removeRegion:function(e){var t=this._regions[e];return this._removeRegion(t,e),t},removeRegions:function(){var e=this._getRegions();return t.each(this._regions,t.bind(this._removeRegion,this)),e},_removeRegion:function(e,t){this.triggerMethod("before:remove:region",this,t,e),e.destroy(),this.triggerMethod("remove:region",this,t,e)},_removeReferences:function(e){delete this.regions[e],delete this._regions[e]},emptyRegions:function(){var e=this.getRegions();return d(e,"empty"),e},hasRegion:function(e){return!!this.getRegion(e)},getRegion:function(e){return this._isRendered||this.render(),this._regions[e]},_getRegions:function(){return t.clone(this._regions)},getRegions:function(){return this._isRendered||this.render(),this._getRegions()},showChildView:function(e,t){for(var n=this.getRegion(e),r=arguments.length,i=Array(r>2?r-2:0),a=2;a0&&void 0!==arguments[0]?arguments[0]:{},n=t.result(this,"templateContext");return t.extend(e,n)},attachElContent:function(e){return this.setInnerContent(this.el,e),this},_removeChildren:function(){this.removeRegions()},_getImmediateChildren:function(){return t.chain(this._getRegions()).map("currentView").compact().value()}},{setRenderer:function(e){this.prototype._renderHtml=e}});t.extend(T.prototype,w,C);var E=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce","partition"],emulateCollection=function(e,n){t.each(E,(function(r){e[r]=function(){var e=t.values(t.result(this,n)),i=[e].concat(t.toArray(arguments));return t[r].apply(t,i)}}))},Container=function(e){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),t.each(e,t.bind(this.add,this))};emulateCollection(Container.prototype,"_views"),t.extend(Container.prototype,{add:function(e,t){return this._add(e,t)._updateLength()},_add:function(e,t){var n=e.cid;return this._views[n]=e,e.model&&(this._indexByModel[e.model.cid]=n),t&&(this._indexByCustom[t]=n),this},findByModel:function(e){return this.findByModelCid(e.cid)},findByModelCid:function(e){var t=this._indexByModel[e];return this.findByCid(t)},findByCustom:function(e){var t=this._indexByCustom[e];return this.findByCid(t)},findByIndex:function(e){return t.values(this._views)[e]},findByCid:function(e){return this._views[e]},remove:function(e){return this._remove(e)._updateLength()},_remove:function(e){var n=e.cid;return e.model&&delete this._indexByModel[e.model.cid],t.some(this._indexByCustom,t.bind((function(e,t){if(e===n)return delete this._indexByCustom[t],!0}),this)),delete this._views[n],this},_updateLength:function(){return this.length=t.size(this._views),this}});var R=["behaviors","childView","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","events","filter","emptyView","emptyViewOptions","modelEvents","reorderOnSort","sort","triggers","ui","viewComparator"],P=e.View.extend({sort:!0,constructor:function(n){this.render=t.bind(this.render,this),this._setOptions(n),this.mergeOptions(n,R),monitorViewEvents(this),this._initBehaviors(),this.once("render",this._initialEvents),this._initChildViewStorage(),this._bufferedChildren=[];var r=Array.prototype.slice.call(arguments);r[0]=this.options,e.View.prototype.constructor.apply(this,r),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this)},_startBuffering:function(){this._isBuffering=!0},_endBuffering:function(){var e=this._isAttached?this._getImmediateChildren():[];this._isBuffering=!1,t.each(e,(function(e){triggerMethodOn(e,"before:attach",e)})),this.attachBuffer(this,this._createBuffer()),t.each(e,(function(e){e._isAttached=!0,triggerMethodOn(e,"attach",e)})),this._bufferedChildren=[]},_getImmediateChildren:function(){return t.values(this.children._views)},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"update",this._onCollectionUpdate),this.listenTo(this.collection,"reset",this.render),this.sort&&this.listenTo(this.collection,"sort",this._sortViews))},_onCollectionAdd:function(e,n,r){var i=void 0!==r.at&&(r.index||n.indexOf(e));(this.filter||!1===i)&&(i=t.indexOf(this._filteredSortedModels(i),e)),this._shouldAddChild(e,i)&&(this._destroyEmptyView(),this._addChild(e,i))},_onCollectionUpdate:function(e,t){var n=t.changes;this._removeChildModels(n.removed)},_removeChildModels:function(e){var t=this._getRemovedViews(e);t.length&&(this.children._updateLength(),this._updateIndices(t,!1),this.isEmpty()&&this._showEmptyView())},_getRemovedViews:function(e){var n=this;return t.reduce(e,(function(e,t){var r=t&&n.children.findByModel(t);return!r||r._isDestroyed||(n._removeChildView(r),e.push(r)),e}),[])},_removeChildView:function(e){this.triggerMethod("before:remove:child",this,e),this.children._remove(e),e.destroy?e.destroy():destroyBackboneView(e),this.stopListening(e),this.triggerMethod("remove:child",this,e)},setElement:function(){var t=!!this.el;return e.View.prototype.setElement.apply(this,arguments),t&&(this._isAttached=isNodeAttached(this.el)),this},render:function(){return this._isDestroyed||(this.triggerMethod("before:render",this),this._renderChildren(),this._isRendered=!0,this.triggerMethod("render",this)),this},setFilter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.preventRender,r=this._isRendered&&!this._isDestroyed,i=this.filter!==e,a=r&&i&&!n;if(a){var o=this._filteredSortedModels();this.filter=e;var s=this._filteredSortedModels();this._applyModelDeltas(s,o)}else this.filter=e;return this},removeFilter:function(e){return this.setFilter(null,e)},_applyModelDeltas:function(e,n){var r=this,i={};t.each(e,(function(e,t){!r.children.findByModel(e)&&r._onCollectionAdd(e,r.collection,{at:t}),i[e.cid]=!0}));var a=t.filter(n,(function(e){return!i[e.cid]&&r.children.findByModel(e)}));this._removeChildModels(a)},reorder:function(){var e=this.children,n=this._filteredSortedModels();if(!n.length&&this._showingEmptyView)return this;if(t.some(n,(function(t){return!e.findByModel(t)})))this.render();else{var r=[],i=e.reduce((function(e,i){var a=t.indexOf(n,i.model);return-1===a?(r.push(i.model),e):(i._index=a,e[a]=i.el,e)}),new Array(n.length));this.triggerMethod("before:reorder",this),this._appendReorderedChildren(i),this._removeChildModels(r),this.triggerMethod("reorder",this)}return this},resortView:function(){return this.reorderOnSort?this.reorder():this._renderChildren(),this},_sortViews:function(){var e=this,n=this._filteredSortedModels();t.find(n,(function(t,n){var r=e.children.findByModel(t);return!r||r._index!==n}))&&this.resortView()},_emptyViewIndex:-1,_appendReorderedChildren:function(e){this.appendChildren(this.el,e)},_renderChildren:function(){this._isRendered&&(this._destroyEmptyView(),this._destroyChildren());var e=this._filteredSortedModels();this.isEmpty({processedModels:e})?this._showEmptyView():(this.triggerMethod("before:render:children",this),this._startBuffering(),this._showCollection(e),this._endBuffering(),this.triggerMethod("render:children",this))},_createView:function(e,t){var n=this._getChildView(e),r=this._getChildViewOptions(e,t);return this.buildChildView(e,n,r)},_setupChildView:function(e,t){monitorViewEvents(e),this._proxyChildViewEvents(e),this.sort&&(e._index=t)},_showCollection:function(e){t.each(e,t.bind(this._addChild,this)),this.children._updateLength()},_filteredSortedModels:function(e){if(!this.collection||!this.collection.length)return[];var t=this.getViewComparator(),n=this.collection.models;if(e=Math.min(Math.max(e,0),n.length-1),t){var r=void 0;e&&(r=n[e],n=n.slice(0,e).concat(n.slice(e+1))),n=this._sortModelsBy(n,t),r&&n.splice(e,0,r)}return n=this._filterModels(n)},getViewComparator:function(){return this.viewComparator},_filterModels:function(e){var n=this;return this.filter&&(e=t.filter(e,(function(e,t){return n._shouldAddChild(e,t)}))),e},_sortModelsBy:function(e,n){return"string"==typeof n?t.sortBy(e,(function(e){return e.get(n)})):1===n.length?t.sortBy(e,t.bind(n,this)):t.clone(e).sort(t.bind(n,this))},_showEmptyView:function(){var n=this._getEmptyView();if(n&&!this._showingEmptyView){this._showingEmptyView=!0;var r=new e.Model,i=this.emptyViewOptions||this.childViewOptions;t.isFunction(i)&&(i=i.call(this,r,this._emptyViewIndex));var a=this.buildChildView(r,n,i);this.triggerMethod("before:render:empty",this,a),this.addChildView(a,0),this.triggerMethod("render:empty",this,a)}},_destroyEmptyView:function(){this._showingEmptyView&&(this.triggerMethod("before:remove:empty",this),this._destroyChildren(),delete this._showingEmptyView,this.triggerMethod("remove:empty",this))},_getEmptyView:function(){var e=this.emptyView;if(e)return this._getView(e)},_getChildView:function(e){var t=this.childView;if(!t)throw new l({name:"NoChildViewError",message:'A "childView" must be specified'});if(!(t=this._getView(t,e)))throw new l({name:"InvalidChildViewError",message:'"childView" must be a view class or a function that returns a view class'});return t},_getView:function(n,r){return n.prototype instanceof e.View||n===e.View?n:t.isFunction(n)?n.call(this,r):void 0},_addChild:function(e,t){var n=this._createView(e,t);return this.addChildView(n,t),n},_getChildViewOptions:function(e,n){return t.isFunction(this.childViewOptions)?this.childViewOptions(e,n):this.childViewOptions},addChildView:function(e,t){return this.triggerMethod("before:add:child",this,e),this._setupChildView(e,t),this._isBuffering?this.children._add(e):(this._updateIndices(e,!0),this.children.add(e)),this._renderView(e),this._attachView(e,t),this.triggerMethod("add:child",this,e),e},_updateIndices:function(e,n){if(this.sort)if(n){var r=t.isArray(e)?t.max(e,"_index"):e;t.isObject(r)&&this.children.each((function(e){e._index>=r._index&&(e._index+=1)}))}else t.each(t.sortBy(this.children._views,"_index"),(function(e,t){e._index=t}))},_renderView:function(e){e._isRendered||(e.supportsRenderLifecycle||triggerMethodOn(e,"before:render",e),e.render(),e.supportsRenderLifecycle||(e._isRendered=!0,triggerMethodOn(e,"render",e)))},_attachView:function(e,t){var n=!e._isAttached&&!this._isBuffering&&this._isAttached;n&&triggerMethodOn(e,"before:attach",e),this.attachHtml(this,e,t),n&&(e._isAttached=!0,triggerMethodOn(e,"attach",e))},buildChildView:function(e,n,r){return new n(t.extend({model:e},r))},removeChildView:function(e){return!e||e._isDestroyed||(this._removeChildView(e),this.children._updateLength(),this._updateIndices(e,!1)),e},isEmpty:function(e){var n=void 0;return t.result(e,"processedModels")?n=e.processedModels:(n=this.collection?this.collection.models:[],n=this._filterModels(n)),0===n.length},attachBuffer:function(e,t){this.appendChildren(e.el,t)},_createBuffer:function(){var e=this,n=this.createBuffer();return t.each(this._bufferedChildren,(function(t){e.appendChildren(n,t.el)})),n},attachHtml:function(e,t,n){e._isBuffering?e._bufferedChildren.splice(n,0,t):e._insertBefore(t,n)||e._insertAfter(t)},_insertBefore:function(e,t){var n=void 0;return this.sort&&t1&&void 0!==arguments[1]?arguments[1]:this._views.length,n=e.cid;this._viewsByCid[n]=e,e.model&&(this._indexByModel[e.model.cid]=n),this._views.splice(t,0,e),this._updateLength()},_sort:function(e){return"string"==typeof e?(e=t.partial(stringComparator,e),this._sortBy(e)):1===e.length?this._sortBy(e):this._views.sort(e)},_sortBy:function(e){var n=t.sortBy(this._views,e);return this._set(n),n},_set:function(e){this._views.length=0,this._views.push.apply(this._views,e.slice(0)),this._updateLength()},findByModel:function(e){return this.findByModelCid(e.cid)},findByModelCid:function(e){var t=this._indexByModel[e];return this.findByCid(t)},findByIndex:function(e){return this._views[e]},findIndexByView:function(e){return this._views.indexOf(e)},findByCid:function(e){return this._viewsByCid[e]},_remove:function(e){if(this._viewsByCid[e.cid]){e.model&&delete this._indexByModel[e.model.cid],delete this._viewsByCid[e.cid];var t=this.findIndexByView(e);this._views.splice(t,1),this._updateLength()}},_updateLength:function(){this.length=this._views.length}});var M=["behaviors","childView","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","triggers","ui","viewComparator","viewFilter"],j=e.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t),this.mergeOptions(t,M),monitorViewEvents(this),this.once("render",this._initialEvents),this._initChildViewStorage(),this._initBehaviors();var n=Array.prototype.slice.call(arguments);n[0]=this.options,e.View.prototype.constructor.apply(this,n),this._initEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this)},_initChildViewStorage:function(){this.children=new Container$1},_initEmptyRegion:function(){this.emptyRegion=new k({el:this.el}),this.emptyRegion._parentView=this},_initialEvents:function(){this.listenTo(this.collection,{sort:this._onCollectionSort,reset:this._onCollectionReset,update:this._onCollectionUpdate})},_onCollectionSort:function(){var e=this;this.sortWithCollection&&this.collection.length===this.children.length&&(this.collection.some((function(t){return!e.children.findByModel(t)}))||this.sort())},_onCollectionReset:function(){this.render()},_onCollectionUpdate:function(e,t){var n=t.changes,r=this._removeChildModels(n.removed);this._addChildModels(n.added),this._detachChildren(r),this._showChildren(),this._removeChildViews(r)},_removeChildModels:function(e){return t.map(e,t.bind(this._removeChildModel,this))},_removeChildModel:function(e){var t=this.children.findByModel(e);return this._removeChild(t),t},_removeChild:function(e){this.triggerMethod("before:remove:child",this,e),this.children._remove(e),this.triggerMethod("remove:child",this,e)},_addChildModels:function(e){return t.map(e,t.bind(this._addChildModel,this))},_addChildModel:function(e){var t=this._createChildView(e);return this._addChild(t),t},_createChildView:function(e){var t=this._getChildView(e),n=this._getChildViewOptions(e);return this.buildChildView(e,t,n)},_addChild:function(e,t){this.triggerMethod("before:add:child",this,e),this._setupChildView(e),this.children._add(e,t),this.triggerMethod("add:child",this,e)},_getChildView:function(e){var t=this.childView;if(!t)throw new l({name:"NoChildViewError",message:'A "childView" must be specified'});if(!(t=this._getView(t,e)))throw new l({name:"InvalidChildViewError",message:'"childView" must be a view class or a function that returns a view class'});return t},_getView:function(n,r){return n.prototype instanceof e.View||n===e.View?n:t.isFunction(n)?n.call(this,r):void 0},_getChildViewOptions:function(e){return t.isFunction(this.childViewOptions)?this.childViewOptions(e):this.childViewOptions},buildChildView:function(e,n,r){return new n(t.extend({model:e},r))},_setupChildView:function(e){monitorViewEvents(e),e.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(e)},_getImmediateChildren:function(){return this.children._views},setElement:function(){var t=!!this.el;return e.View.prototype.setElement.apply(this,arguments),t&&(this._isAttached=isNodeAttached(this.el)),this},render:function(){return this._isDestroyed||(this.triggerMethod("before:render",this),this._destroyChildren(),this.children._init(),this.collection&&this._addChildModels(this.collection.models),this._showChildren(),this._isRendered=!0,this.triggerMethod("render",this)),this},sort:function(){return this._isDestroyed?this:this.children.length?(this._showChildren(),this):this},_showChildren:function(){this.isEmpty()?this._showEmptyView():(this._sortChildren(),this.filter())},isEmpty:function(e){return e||!this.children.length},_showEmptyView:function(){var e=this._getEmptyView();if(e){var t=this._getEmptyViewOptions();this.emptyRegion.show(new e(t))}},_getEmptyView:function(){var e=this.emptyView;if(e)return this._getView(e)},_destroyEmptyView:function(){this.emptyRegion.hasView()&&this.emptyRegion.empty()},_getEmptyViewOptions:function(){var e=this.emptyViewOptions||this.childViewOptions;return t.isFunction(e)?e.call(this):e},_sortChildren:function(){this.triggerMethod("before:sort",this);var e=this.getComparator();t.isFunction(e)&&(e=e.bind(this)),this.children._sort(e),this.triggerMethod("sort",this)},setComparator:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.preventRender,r=this.viewComparator!==e,i=r&&!n;return this.viewComparator=e,i&&this.sort(),this},removeComparator:function(e){return this.setComparator(null,e)},getComparator:function(){return this.viewComparator||this._viewComparator},_viewComparator:function(e){if(this.collection)return this.collection.indexOf(e.model)},filter:function(){if(this._isDestroyed)return this;if(!this.children.length)return this;var e=this._filterChildren();return this._renderChildren(e),this},_filterChildren:function(){var e=this._getFilter();if(!e)return this.children._views;this.triggerMethod("before:filter",this);var n=this.children.partition(t.bind(e,this));return this._detachChildren(n[1]),this.triggerMethod("filter",this),n[0]},_getFilter:function(){var e=this.getFilter();if(!e)return!1;if(t.isFunction(e))return e;if(t.isObject(e)){var n=t.matches(e);return function(e){return n(e.model&&e.model.attributes)}}if(t.isString(e))return function(t){return t.model&&t.model.get(e)};throw new l({name:"InvalidViewFilterError",message:'"viewFilter" must be a function, predicate object literal, a string indicating a model attribute, or falsy'})},getFilter:function(){return this.viewFilter},setFilter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.preventRender,r=this.viewFilter!==e,i=r&&!n;return this.viewFilter=e,i&&this.filter(),this},removeFilter:function(e){return this.setFilter(null,e)},_detachChildren:function(e){t.each(e,t.bind(this._detachChildView,this))},_detachChildView:function(e){var t=!!e._isAttached;t&&triggerMethodOn(e,"before:detach",e),this.detachHtml(e),t&&(e._isAttached=!1,triggerMethodOn(e,"detach",e))},detachHtml:function(e){this.detachEl(e.el)},_renderChildren:function(e){if(this.isEmpty(!e.length))this._showEmptyView();else{this._destroyEmptyView(),this.triggerMethod("before:render:children",this,e);var t=this._getBuffer(e);this._attachChildren(t,e),this.triggerMethod("render:children",this,e)}},_attachChildren:function(e,n){n=this._isAttached?n:[],t.each(n,(function(e){e._isAttached||triggerMethodOn(e,"before:attach",e)})),this.attachHtml(this,e),t.each(n,(function(e){e._isAttached||(e._isAttached=!0,triggerMethodOn(e,"attach",e))}))},_getBuffer:function(e){var n=this,r=this.createBuffer();return t.each(e,(function(e){n._renderChildView(e),n.appendChildren(r,e.el)})),r},_renderChildView:function(e){e._isRendered||(e.supportsRenderLifecycle||triggerMethodOn(e,"before:render",e),e.render(),e.supportsRenderLifecycle||(e._isRendered=!0,triggerMethodOn(e,"render",e)))},attachHtml:function(e,t){this.appendChildren(e.el,t)},addChildView:function(e,t){return!e||e._isDestroyed||(this._addChild(e,t),this._showChildren()),e},detachChildView:function(e){return this.removeChildView(e,{shouldDetach:!0}),e},removeChildView:function(e,t){return e?(this._removeChildView(e,t),this._removeChild(e),this.isEmpty()&&this._showEmptyView(),e):e},_removeChildViews:function(e){t.each(e,t.bind(this._removeChildView,this))},_removeChildView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.shouldDetach;e.off("destroy",this.removeChildView,this),n?this._detachChildView(e):this._destroyChildView(e),this.stopListening(e)},_destroyChildView:function(e){e._isDestroyed||(e.destroy?e.destroy():destroyBackboneView(e))},_removeChildren:function(){this._destroyChildren(),this.emptyRegion.destroy()},_destroyChildren:function(){this.children&&this.children.length&&(this.triggerMethod("before:destroy:children",this),this.children.each(t.bind(this._removeChildView,this)),this.triggerMethod("destroy:children",this))}});t.extend(j.prototype,w);var A=["childViewContainer","template","templateContext"],N=P.extend({constructor:function(e){i("CompositeView is deprecated. Convert to View at your earliest convenience"),this.mergeOptions(e,A),P.prototype.constructor.apply(this,arguments)},_initialEvents:function(){this.collection&&(this.listenTo(this.collection,"add",this._onCollectionAdd),this.listenTo(this.collection,"update",this._onCollectionUpdate),this.listenTo(this.collection,"reset",this.renderChildren),this.sort&&this.listenTo(this.collection,"sort",this._sortViews))},_getChildView:function(e){var t=this.childView;if(!t)return this.constructor;if(!(t=this._getView(t,e)))throw new l({name:"InvalidChildViewError",message:'"childView" must be a view class or a function that returns a view class'});return t},serializeData:function(){return this.serializeModel()},render:function(){return this._isDestroyed||(this._isRendering=!0,this.resetChildViewContainer(),this.triggerMethod("before:render",this),this._renderTemplate(),this.bindUIElements(),this.renderChildren(),this._isRendering=!1,this._isRendered=!0,this.triggerMethod("render",this)),this},renderChildren:function(){(this._isRendered||this._isRendering)&&P.prototype._renderChildren.call(this)},attachBuffer:function(e,t){var n=this.getChildViewContainer(e);this.appendChildren(n,t)},_insertAfter:function(e){var t=this.getChildViewContainer(this,e);this.appendChildren(t,e.el)},_appendReorderedChildren:function(e){var t=this.getChildViewContainer(this);this.appendChildren(t,e)},getChildViewContainer:function(e,n){if(e.$childViewContainer)return e.$childViewContainer;var r=void 0;if(e.childViewContainer){var i=t.result(e,"childViewContainer");if((r="@"===i.charAt(0)&&e.ui?e.ui[i.substr(4)]:this.findEls(i,e.$el)).length<=0)throw new l({name:"ChildViewContainerMissingError",message:'The specified "childViewContainer" was not found: '+e.childViewContainer})}else r=e.$el;return e.$childViewContainer=r,r},resetChildViewContainer:function(){this.$childViewContainer&&(this.$childViewContainer=void 0)}}),V=t.pick(T.prototype,"serializeModel","getTemplate","_renderTemplate","_renderHtml","mixinTemplateContext","attachElContent");t.extend(N.prototype,V);var D=["collectionEvents","events","modelEvents","triggers","ui"],L=MarionetteObject.extend({cidPrefix:"mnb",constructor:function(e,n){this.view=n,this.defaults&&i("Behavior defaults are deprecated. For similar functionality set options on the Behavior class."),this.defaults=t.clone(t.result(this,"defaults",{})),this._setOptions(this.defaults,e),this.mergeOptions(this.options,D),this.ui=t.extend({},t.result(this,"ui"),t.result(n,"ui")),MarionetteObject.apply(this,arguments)},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this.view._removeBehavior(this),this},proxyViewProperties:function(){return this.$el=this.view.$el,this.el=this.view.el,this},bindUIElements:function(){return this._bindUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this},getUI:function(e){return this._getUI(e)},delegateEntityEvents:function(){return this._delegateEntityEvents(this.view.model,this.view.collection),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.view.model,this.view.collection),this},getEvents:function(){var e=this,n=this.normalizeUIKeys(t.result(this,"events"));return t.reduce(n,(function(n,r,i){if(t.isFunction(r)||(r=e[r]),r)return n[i=getUniqueEventName(i)]=t.bind(r,e),n}),{})},getTriggers:function(){if(this.triggers){var e=this.normalizeUIKeys(t.result(this,"triggers"));return this._getViewTriggers(this.view,e)}}});t.extend(L.prototype,m,y,b);var B=["region","regionClass"],I=MarionetteObject.extend({cidPrefix:"mna",constructor:function(e){this._setOptions(e),this.mergeOptions(e,B),this._initRegion(),MarionetteObject.prototype.constructor.apply(this,arguments)},regionClass:k,_initRegion:function(){var e=this.region;if(e){var t={regionClass:this.regionClass};this._region=buildRegion(e,t)}},getRegion:function(){return this._region},showView:function(e){for(var t=this.getRegion(),n=arguments.length,r=Array(n>1?n-1:0),i=1;ithis.length&&(i=this.length),i<0&&(i+=this.length+1);var a,o,s=[],l=[],u=[],f=[],h={},d=t.add,p=t.merge,m=t.remove,g=!1,v=this.comparator&&null==i&&!1!==t.sort,y=n.isString(this.comparator)?this.comparator:null;for(o=0;o7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(C,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var r=document.body,i=r.insertBefore(this.iframe,r.firstChild).contentWindow;i.document.open(),i.document.close(),i.location.hash="#"+this.fragment}var a=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),x.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!x.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var r=n+e;if(e=this.decodeFragment(e.replace(S,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,r);else{if(!this._wantsHashChange)return this.location.assign(r);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var i=this.iframe.contentWindow;t.replace||(i.document.open(),i.document.close()),this._updateHash(i.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var r=e.href.replace(/(javascript:|#).*$/,"");e.replace(r+"#"+t)}else e.hash="#"+t}}),t.history=new x,l.extend=u.extend=g.extend=h.extend=x.extend=function(e,t){var r,i=this;return r=e&&n.has(e,"constructor")?e.constructor:function(){return i.apply(this,arguments)},n.extend(r,i,t),r.prototype=n.create(i.prototype,e),r.prototype.constructor=r,r.__super__=i.prototype,r};var urlError=function(){throw new Error('A "url" property or function must be specified')},wrapError=function(e,t){var n=t.error;t.error=function(r){n&&n.call(t.context,e,r,t),e.trigger("error",e,r,t)}};return t}(o,n,e,t)}.apply(t,i))||(e.exports=a)}).call(this,n(39))},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Oe})),n.d(t,"VERSION",(function(){return i.e})),n.d(t,"restArguments",(function(){return restArguments})),n.d(t,"isObject",(function(){return isObject})),n.d(t,"isNull",(function(){return isNull})),n.d(t,"isUndefined",(function(){return isUndefined})),n.d(t,"isBoolean",(function(){return isBoolean})),n.d(t,"isElement",(function(){return isElement})),n.d(t,"isString",(function(){return a})),n.d(t,"isNumber",(function(){return o})),n.d(t,"isDate",(function(){return s})),n.d(t,"isRegExp",(function(){return l})),n.d(t,"isError",(function(){return u})),n.d(t,"isSymbol",(function(){return c})),n.d(t,"isArrayBuffer",(function(){return f})),n.d(t,"isDataView",(function(){return b})),n.d(t,"isArray",(function(){return w})),n.d(t,"isFunction",(function(){return p})),n.d(t,"isArguments",(function(){return k})),n.d(t,"isFinite",(function(){return isFinite_isFinite})),n.d(t,"isNaN",(function(){return isNaN_isNaN})),n.d(t,"isTypedArray",(function(){return T})),n.d(t,"isEmpty",(function(){return isEmpty})),n.d(t,"isMatch",(function(){return isMatch})),n.d(t,"isEqual",(function(){return isEqual})),n.d(t,"isMap",(function(){return V})),n.d(t,"isWeakMap",(function(){return D})),n.d(t,"isSet",(function(){return L})),n.d(t,"isWeakSet",(function(){return B})),n.d(t,"keys",(function(){return keys_keys})),n.d(t,"allKeys",(function(){return allKeys})),n.d(t,"values",(function(){return values_values})),n.d(t,"pairs",(function(){return pairs_pairs})),n.d(t,"invert",(function(){return invert})),n.d(t,"functions",(function(){return functions})),n.d(t,"methods",(function(){return functions})),n.d(t,"extend",(function(){return I})),n.d(t,"extendOwn",(function(){return z})),n.d(t,"assign",(function(){return z})),n.d(t,"defaults",(function(){return F})),n.d(t,"create",(function(){return create})),n.d(t,"clone",(function(){return clone})),n.d(t,"tap",(function(){return tap})),n.d(t,"get",(function(){return get})),n.d(t,"has",(function(){return has_has})),n.d(t,"mapObject",(function(){return mapObject})),n.d(t,"identity",(function(){return identity})),n.d(t,"constant",(function(){return constant})),n.d(t,"noop",(function(){return noop})),n.d(t,"toPath",(function(){return toPath})),n.d(t,"property",(function(){return property})),n.d(t,"propertyOf",(function(){return propertyOf})),n.d(t,"matcher",(function(){return matcher_matcher})),n.d(t,"matches",(function(){return matcher_matcher})),n.d(t,"times",(function(){return times})),n.d(t,"random",(function(){return random})),n.d(t,"now",(function(){return U})),n.d(t,"escape",(function(){return q})),n.d(t,"unescape",(function(){return W})),n.d(t,"templateSettings",(function(){return $})),n.d(t,"template",(function(){return template_template})),n.d(t,"result",(function(){return result_result})),n.d(t,"uniqueId",(function(){return uniqueId})),n.d(t,"chain",(function(){return chain})),n.d(t,"iteratee",(function(){return iteratee_iteratee})),n.d(t,"partial",(function(){return Q})),n.d(t,"bind",(function(){return ee})),n.d(t,"bindAll",(function(){return ne})),n.d(t,"memoize",(function(){return memoize_memoize})),n.d(t,"delay",(function(){return re})),n.d(t,"defer",(function(){return ie})),n.d(t,"throttle",(function(){return throttle})),n.d(t,"debounce",(function(){return debounce})),n.d(t,"wrap",(function(){return wrap})),n.d(t,"negate",(function(){return negate})),n.d(t,"compose",(function(){return compose})),n.d(t,"after",(function(){return after})),n.d(t,"before",(function(){return before})),n.d(t,"once",(function(){return ae})),n.d(t,"findKey",(function(){return findKey})),n.d(t,"findIndex",(function(){return oe})),n.d(t,"findLastIndex",(function(){return se})),n.d(t,"sortedIndex",(function(){return sortedIndex_sortedIndex})),n.d(t,"indexOf",(function(){return le})),n.d(t,"lastIndexOf",(function(){return ue})),n.d(t,"find",(function(){return find})),n.d(t,"detect",(function(){return find})),n.d(t,"findWhere",(function(){return findWhere})),n.d(t,"each",(function(){return each})),n.d(t,"forEach",(function(){return each})),n.d(t,"map",(function(){return map_map})),n.d(t,"collect",(function(){return map_map})),n.d(t,"reduce",(function(){return ce})),n.d(t,"foldl",(function(){return ce})),n.d(t,"inject",(function(){return ce})),n.d(t,"reduceRight",(function(){return fe})),n.d(t,"foldr",(function(){return fe})),n.d(t,"filter",(function(){return filter})),n.d(t,"select",(function(){return filter})),n.d(t,"reject",(function(){return reject})),n.d(t,"every",(function(){return every})),n.d(t,"all",(function(){return every})),n.d(t,"some",(function(){return some})),n.d(t,"any",(function(){return some})),n.d(t,"contains",(function(){return contains})),n.d(t,"includes",(function(){return contains})),n.d(t,"include",(function(){return contains})),n.d(t,"invoke",(function(){return he})),n.d(t,"pluck",(function(){return pluck})),n.d(t,"where",(function(){return where})),n.d(t,"max",(function(){return max})),n.d(t,"min",(function(){return min})),n.d(t,"shuffle",(function(){return shuffle})),n.d(t,"sample",(function(){return sample_sample})),n.d(t,"sortBy",(function(){return sortBy})),n.d(t,"groupBy",(function(){return de})),n.d(t,"indexBy",(function(){return pe})),n.d(t,"countBy",(function(){return me})),n.d(t,"partition",(function(){return ge})),n.d(t,"toArray",(function(){return toArray})),n.d(t,"size",(function(){return size})),n.d(t,"pick",(function(){return ye})),n.d(t,"omit",(function(){return be})),n.d(t,"first",(function(){return first})),n.d(t,"head",(function(){return first})),n.d(t,"take",(function(){return first})),n.d(t,"initial",(function(){return initial_initial})),n.d(t,"last",(function(){return last_last})),n.d(t,"rest",(function(){return rest_rest})),n.d(t,"tail",(function(){return rest_rest})),n.d(t,"drop",(function(){return rest_rest})),n.d(t,"compact",(function(){return compact})),n.d(t,"flatten",(function(){return flatten_flatten})),n.d(t,"without",(function(){return we})),n.d(t,"uniq",(function(){return uniq})),n.d(t,"unique",(function(){return uniq})),n.d(t,"union",(function(){return xe})),n.d(t,"intersection",(function(){return intersection})),n.d(t,"difference",(function(){return _e})),n.d(t,"unzip",(function(){return unzip})),n.d(t,"transpose",(function(){return unzip})),n.d(t,"zip",(function(){return ke})),n.d(t,"object",(function(){return object_object})),n.d(t,"range",(function(){return range})),n.d(t,"chunk",(function(){return chunk})),n.d(t,"mixin",(function(){return mixin}));var r={};n.r(r),n.d(r,"VERSION",(function(){return i.e})),n.d(r,"restArguments",(function(){return restArguments})),n.d(r,"isObject",(function(){return isObject})),n.d(r,"isNull",(function(){return isNull})),n.d(r,"isUndefined",(function(){return isUndefined})),n.d(r,"isBoolean",(function(){return isBoolean})),n.d(r,"isElement",(function(){return isElement})),n.d(r,"isString",(function(){return a})),n.d(r,"isNumber",(function(){return o})),n.d(r,"isDate",(function(){return s})),n.d(r,"isRegExp",(function(){return l})),n.d(r,"isError",(function(){return u})),n.d(r,"isSymbol",(function(){return c})),n.d(r,"isArrayBuffer",(function(){return f})),n.d(r,"isDataView",(function(){return b})),n.d(r,"isArray",(function(){return w})),n.d(r,"isFunction",(function(){return p})),n.d(r,"isArguments",(function(){return k})),n.d(r,"isFinite",(function(){return isFinite_isFinite})),n.d(r,"isNaN",(function(){return isNaN_isNaN})),n.d(r,"isTypedArray",(function(){return T})),n.d(r,"isEmpty",(function(){return isEmpty})),n.d(r,"isMatch",(function(){return isMatch})),n.d(r,"isEqual",(function(){return isEqual})),n.d(r,"isMap",(function(){return V})),n.d(r,"isWeakMap",(function(){return D})),n.d(r,"isSet",(function(){return L})),n.d(r,"isWeakSet",(function(){return B})),n.d(r,"keys",(function(){return keys_keys})),n.d(r,"allKeys",(function(){return allKeys})),n.d(r,"values",(function(){return values_values})),n.d(r,"pairs",(function(){return pairs_pairs})),n.d(r,"invert",(function(){return invert})),n.d(r,"functions",(function(){return functions})),n.d(r,"methods",(function(){return functions})),n.d(r,"extend",(function(){return I})),n.d(r,"extendOwn",(function(){return z})),n.d(r,"assign",(function(){return z})),n.d(r,"defaults",(function(){return F})),n.d(r,"create",(function(){return create})),n.d(r,"clone",(function(){return clone})),n.d(r,"tap",(function(){return tap})),n.d(r,"get",(function(){return get})),n.d(r,"has",(function(){return has_has})),n.d(r,"mapObject",(function(){return mapObject})),n.d(r,"identity",(function(){return identity})),n.d(r,"constant",(function(){return constant})),n.d(r,"noop",(function(){return noop})),n.d(r,"toPath",(function(){return toPath})),n.d(r,"property",(function(){return property})),n.d(r,"propertyOf",(function(){return propertyOf})),n.d(r,"matcher",(function(){return matcher_matcher})),n.d(r,"matches",(function(){return matcher_matcher})),n.d(r,"times",(function(){return times})),n.d(r,"random",(function(){return random})),n.d(r,"now",(function(){return U})),n.d(r,"escape",(function(){return q})),n.d(r,"unescape",(function(){return W})),n.d(r,"templateSettings",(function(){return $})),n.d(r,"template",(function(){return template_template})),n.d(r,"result",(function(){return result_result})),n.d(r,"uniqueId",(function(){return uniqueId})),n.d(r,"chain",(function(){return chain})),n.d(r,"iteratee",(function(){return iteratee_iteratee})),n.d(r,"partial",(function(){return Q})),n.d(r,"bind",(function(){return ee})),n.d(r,"bindAll",(function(){return ne})),n.d(r,"memoize",(function(){return memoize_memoize})),n.d(r,"delay",(function(){return re})),n.d(r,"defer",(function(){return ie})),n.d(r,"throttle",(function(){return throttle})),n.d(r,"debounce",(function(){return debounce})),n.d(r,"wrap",(function(){return wrap})),n.d(r,"negate",(function(){return negate})),n.d(r,"compose",(function(){return compose})),n.d(r,"after",(function(){return after})),n.d(r,"before",(function(){return before})),n.d(r,"once",(function(){return ae})),n.d(r,"findKey",(function(){return findKey})),n.d(r,"findIndex",(function(){return oe})),n.d(r,"findLastIndex",(function(){return se})),n.d(r,"sortedIndex",(function(){return sortedIndex_sortedIndex})),n.d(r,"indexOf",(function(){return le})),n.d(r,"lastIndexOf",(function(){return ue})),n.d(r,"find",(function(){return find})),n.d(r,"detect",(function(){return find})),n.d(r,"findWhere",(function(){return findWhere})),n.d(r,"each",(function(){return each})),n.d(r,"forEach",(function(){return each})),n.d(r,"map",(function(){return map_map})),n.d(r,"collect",(function(){return map_map})),n.d(r,"reduce",(function(){return ce})),n.d(r,"foldl",(function(){return ce})),n.d(r,"inject",(function(){return ce})),n.d(r,"reduceRight",(function(){return fe})),n.d(r,"foldr",(function(){return fe})),n.d(r,"filter",(function(){return filter})),n.d(r,"select",(function(){return filter})),n.d(r,"reject",(function(){return reject})),n.d(r,"every",(function(){return every})),n.d(r,"all",(function(){return every})),n.d(r,"some",(function(){return some})),n.d(r,"any",(function(){return some})),n.d(r,"contains",(function(){return contains})),n.d(r,"includes",(function(){return contains})),n.d(r,"include",(function(){return contains})),n.d(r,"invoke",(function(){return he})),n.d(r,"pluck",(function(){return pluck})),n.d(r,"where",(function(){return where})),n.d(r,"max",(function(){return max})),n.d(r,"min",(function(){return min})),n.d(r,"shuffle",(function(){return shuffle})),n.d(r,"sample",(function(){return sample_sample})),n.d(r,"sortBy",(function(){return sortBy})),n.d(r,"groupBy",(function(){return de})),n.d(r,"indexBy",(function(){return pe})),n.d(r,"countBy",(function(){return me})),n.d(r,"partition",(function(){return ge})),n.d(r,"toArray",(function(){return toArray})),n.d(r,"size",(function(){return size})),n.d(r,"pick",(function(){return ye})),n.d(r,"omit",(function(){return be})),n.d(r,"first",(function(){return first})),n.d(r,"head",(function(){return first})),n.d(r,"take",(function(){return first})),n.d(r,"initial",(function(){return initial_initial})),n.d(r,"last",(function(){return last_last})),n.d(r,"rest",(function(){return rest_rest})),n.d(r,"tail",(function(){return rest_rest})),n.d(r,"drop",(function(){return rest_rest})),n.d(r,"compact",(function(){return compact})),n.d(r,"flatten",(function(){return flatten_flatten})),n.d(r,"without",(function(){return we})),n.d(r,"uniq",(function(){return uniq})),n.d(r,"unique",(function(){return uniq})),n.d(r,"union",(function(){return xe})),n.d(r,"intersection",(function(){return intersection})),n.d(r,"difference",(function(){return _e})),n.d(r,"unzip",(function(){return unzip})),n.d(r,"transpose",(function(){return unzip})),n.d(r,"zip",(function(){return ke})),n.d(r,"object",(function(){return object_object})),n.d(r,"range",(function(){return range})),n.d(r,"chunk",(function(){return chunk})),n.d(r,"mixin",(function(){return mixin})),n.d(r,"default",(function(){return Ce}));var i=n(11);function restArguments(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i=0&&n<=i.b}}function shallowProperty(e){return function(t){return null==t?void 0:t[e]}}var C=shallowProperty("byteLength"),S=createSizePropertyCheck(C),O=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var T=i.r?function(e){return i.l?Object(i.l)(e)&&!b(e):S(e)&&O.test(i.t.call(e))}:constant(!1),E=shallowProperty("length");function collectNonEnumProps(e,t){t=function(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},q=createEscaper(H),W=createEscaper(invert(H)),$=_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},G=/(.)^/,K={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Y=/\\|'|\r|\n|\u2028|\u2029/g;function escapeChar(e){return"\\"+K[e]}var X=/^\s*(\w|\$)+\s*$/;function template_template(e,t,n){!t&&n&&(t=n),t=F({},t,_.templateSettings);var r=RegExp([(t.escape||G).source,(t.interpolate||G).source,(t.evaluate||G).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(r,(function(t,n,r,o,s){return a+=e.slice(i,s).replace(Y,escapeChar),i=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(a+="';\n"+o+"\n__p+='"),t})),a+="';\n";var o,s=t.variable;if(s){if(!X.test(s))throw new Error("variable is not a bare identifier: "+s)}else a="with(obj||{}){\n"+a+"}\n",s="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{o=new Function(s,"_",a)}catch(e){throw e.source=a,e}var template=function(e){return o.call(this,e,_)};return template.source="function("+s+"){\n"+a+"}",template}function result_result(e,t,n){var r=(t=_toPath_toPath(t)).length;if(!r)return p(n)?n.call(e):n;for(var i=0;i1)flatten(s,t-1,n,r),i=r.length;else for(var l=0,u=s.length;lt?(r&&(clearTimeout(r),r=null),s=l,o=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(later,u)),o};return throttled.cancel=function(){clearTimeout(r),s=0,r=i=a=null},throttled}function debounce(e,t,n){var r,i,a,o,s,later=function(){var l=U()-i;t>l?r=setTimeout(later,t-l):(r=null,n||(o=e.apply(s,a)),r||(a=s=null))},l=restArguments((function(l){return s=this,a=l,i=U(),r||(r=setTimeout(later,t),n&&(o=e.apply(s,a))),o}));return l.cancel=function(){clearTimeout(r),r=a=s=null},l}function wrap(e,t){return Q(t,e)}function negate(e){return function(){return!e.apply(this,arguments)}}function compose(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function after(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function before(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ae=Q(before,2);function findKey(e,t,n){t=cb(t,n);for(var r,i=keys_keys(e),a=0,o=i.length;a0?0:i-1;a>=0&&a0?s=o>=0?o:Math.max(o+l,s):l=o>=0?Math.min(o+1,l):o+l+1;else if(n&&o&&l)return r[o=n(r,a)]===a?o:-1;if(a!=a)return(o=t(i.q.call(r,s,l),isNaN_isNaN))>=0?o+s:-1;for(o=e>0?s:l-1;o>=0&&o0?0:o-1;for(i||(r=t[a?a[s]:s],s+=e);s>=0&&s=3;return reducer(e,optimizeCb(t,r,4),n,i)}}var ce=createReduce(1),fe=createReduce(-1);function filter(e,t,n){var r=[];return t=cb(t,n),each(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function reject(e,t,n){return filter(e,negate(cb(t)),n)}function every(e,t,n){t=cb(t,n);for(var r=!te(e)&&keys_keys(e),i=(r||e).length,a=0;a=0}var he=restArguments((function(e,t,n){var r,i;return p(t)?i=t:(t=_toPath_toPath(t),r=t.slice(0,-1),t=t[t.length-1]),map_map(e,(function(e){var a=i;if(!a){if(r&&r.length&&(e=deepGet(e,r)),null==e)return;a=e[t]}return null==a?a:a.apply(e,n)}))}));function pluck(e,t){return map_map(e,property(t))}function where(e,t){return filter(e,matcher_matcher(t))}function max(e,t,n){var r,i,a=-1/0,o=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=te(e)?e:values_values(e)).length;sa&&(a=r);else t=cb(t,n),each(e,(function(e,n,r){((i=t(e,n,r))>o||i===-1/0&&a===-1/0)&&(a=e,o=i)}));return a}function min(e,t,n){var r,i,a=1/0,o=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,l=(e=te(e)?e:values_values(e)).length;sr||void 0===n)return 1;if(n1&&(r=optimizeCb(r,t[1])),t=allKeys(e)):(r=keyInObj,t=flatten(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i1&&(n=t[1])):(t=map_map(flatten(t,!1,!1),String),r=function(e,n){return!contains(t,n)}),ye(e,r,n)}));function initial_initial(e,t,n){return i.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function first(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:initial_initial(e,e.length-t)}function rest_rest(e,t,n){return i.q.call(e,null==t||n?1:t)}function last_last(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:rest_rest(e,Math.max(0,e.length-t))}function compact(e){return filter(e,Boolean)}function flatten_flatten(e,t){return flatten(e,t,!1)}var _e=restArguments((function(e,t){return t=flatten(t,!0,!0),filter(e,(function(e){return!contains(t,e)}))})),we=restArguments((function(e,t){return _e(e,t)}));function uniq(e,t,n,r){isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=cb(n,r));for(var i=[],a=[],o=0,s=E(e);o0&&t-1 in e)}jQuery.fn=jQuery.prototype={jquery:"3.6.0",constructor:jQuery,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=jQuery.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return jQuery.each(this,e)},map:function(e){return this.pushStack(jQuery.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(jQuery.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(jQuery.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+D+")"+D+"*"),q=new RegExp(D+"|>"),W=new RegExp(I),$=new RegExp("^"+L+"$"),G={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+V+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,ee=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),funescape=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,fcssescape=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},unloadHandler=function(){h()},ne=addCombinator((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{A.apply(P=N.call(x.childNodes),x.childNodes),P[x.childNodes.length].nodeType}catch(e){A={apply:P.length?function(e,t){j.apply(e,N.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function Sizzle(e,t,r,i){var a,s,u,c,f,p,v,y=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!i&&(h(t),t=t||d,m)){if(11!==x&&(f=J.exec(e)))if(a=f[1]){if(9===x){if(!(u=t.getElementById(a)))return r;if(u.id===a)return r.push(u),r}else if(y&&(u=y.getElementById(a))&&b(t,u)&&u.id===a)return r.push(u),r}else{if(f[2])return A.apply(r,t.getElementsByTagName(e)),r;if((a=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return A.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===x&&(q.test(e)||H.test(e))){for((y=Q.test(e)&&testContext(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(te,fcssescape):t.setAttribute("id",c=w)),s=(p=o(e)).length;s--;)p[s]=(c?"#"+c:":scope")+" "+toSelector(p[s]);v=p.join(",")}try{return A.apply(r,y.querySelectorAll(v)),r}catch(t){E(e,!0)}finally{c===w&&t.removeAttribute("id")}}}return l(e.replace(F,"$1"),t,r,i)}function createCache(){var e=[];return function cache(t,n){return e.push(t+" ")>r.cacheLength&&delete cache[e.shift()],cache[t+" "]=n}}function markFunction(e){return e[w]=!0,e}function assert(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function addHandle(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function siblingCheck(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function createInputPseudo(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function createButtonPseudo(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function createDisabledPseudo(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ne(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function createPositionalPseudo(e){return markFunction((function(t){return t=+t,markFunction((function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))}))}))}function testContext(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=Sizzle.support={},a=Sizzle.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},h=Sizzle.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:x;return o!=d&&9===o.nodeType&&o.documentElement?(p=(d=o).documentElement,m=!a(d),x!=d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",unloadHandler,!1):i.attachEvent&&i.attachEvent("onunload",unloadHandler)),n.scope=assert((function(e){return p.appendChild(e).appendChild(d.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=assert((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=assert((function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(d.getElementsByClassName),n.getById=assert((function(e){return p.appendChild(e).id=w,!d.getElementsByName||!d.getElementsByName(w).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(ee,funescape);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(ee,funescape);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(i=t.getElementsByName(e),r=0;a=i[r++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Z.test(d.querySelectorAll))&&(assert((function(e){var t;p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+D+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+D+"*(?:value|"+V+")"),e.querySelectorAll("[id~="+w+"-]").length||g.push("~="),(t=d.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+D+"*name"+D+"*="+D+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),assert((function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+D+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&assert((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",I)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},sortOrder=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==d||e.ownerDocument==x&&b(x,e)?-1:t==d||t.ownerDocument==x&&b(x,t)?1:c?indexOf(c,e)-indexOf(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e==d?-1:t==d?1:i?-1:a?1:c?indexOf(c,e)-indexOf(c,t):0;if(i===a)return siblingCheck(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?siblingCheck(o[r],s[r]):o[r]==x?-1:s[r]==x?1:0},d):d},Sizzle.matches=function(e,t){return Sizzle(e,null,null,t)},Sizzle.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&m&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){E(t,!0)}return Sizzle(t,d,null,[e]).length>0},Sizzle.contains=function(e,t){return(e.ownerDocument||e)!=d&&h(e),b(e,t)},Sizzle.attr=function(e,t){(e.ownerDocument||e)!=d&&h(e);var i=r.attrHandle[t.toLowerCase()],a=i&&R.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},Sizzle.escape=function(e){return(e+"").replace(te,fcssescape)},Sizzle.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},Sizzle.uniqueSort=function(e){var t,r=[],i=0,a=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(sortOrder),f){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return c=null,e},i=Sizzle.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,funescape),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,funescape),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Sizzle.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Sizzle.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,funescape).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+D+")"+e+"("+D+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=Sizzle.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(z," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,h,d,p,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(a){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&y){for(b=(d=(u=(c=(f=(h=g)[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===k&&u[1])&&u[2],h=d&&g.childNodes[d];h=++d&&h&&h[m]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){c[e]=[k,d,b];break}}else if(y&&(b=d=(u=(c=(f=(h=t)[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]||[])[0]===k&&u[1]),!1===b)for(;(h=++d&&h&&h[m]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++b||(y&&((c=(f=h[w]||(h[w]={}))[h.uniqueID]||(f[h.uniqueID]={}))[e]=[k,b]),h!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||Sizzle.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?markFunction((function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=indexOf(e,a[o])]=!(n[r]=a[o])})):function(e){return i(e,0,n)}):i}},pseudos:{not:markFunction((function(e){var t=[],n=[],r=s(e.replace(F,"$1"));return r[w]?markFunction((function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}})),has:markFunction((function(e){return function(t){return Sizzle(e,t).length>0}})),contains:markFunction((function(e){return e=e.replace(ee,funescape),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:markFunction((function(e){return $.test(e||"")||Sizzle.error("unsupported lang: "+e),e=e.replace(ee,funescape).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:createDisabledPseudo(!1),disabled:createDisabledPseudo(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:createPositionalPseudo((function(){return[0]})),last:createPositionalPseudo((function(e,t){return[t-1]})),eq:createPositionalPseudo((function(e,t,n){return[n<0?n+t:n]})),even:createPositionalPseudo((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:createPositionalPseudo((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function condense(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,u=null!=t;s-1&&(a[u]=!(o[u]=f))}}else v=condense(v===o?v.splice(p,v.length):v),i?i(null,o,v,l):A.apply(o,v)}))}function matcherFromTokens(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,c=addCombinator((function(e){return e===t}),s,!0),f=addCombinator((function(e){return indexOf(t,e)>-1}),s,!0),h=[function(e,n,r){var i=!o&&(r||n!==u)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];l1&&elementMatcher(h),l>1&&toSelector(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),n,l0,i=e.length>0,superMatcher=function(a,o,s,l,c){var f,p,g,v=0,y="0",b=a&&[],w=[],x=u,C=a||i&&r.find.TAG("*",c),S=k+=null==x?1:Math.random()||.1,O=C.length;for(c&&(u=o==d||o||c);y!==O&&null!=(f=C[y]);y++){if(i&&f){for(p=0,o||f.ownerDocument==d||(h(f),s=!m);g=e[p++];)if(g(f,o||d,s)){l.push(f);break}c&&(k=S)}n&&((f=!g&&f)&&v--,a&&b.push(f))}if(v+=y,n&&y!==v){for(p=0;g=t[p++];)g(b,w,o,s);if(a){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=M.call(l));w=condense(w)}A.apply(l,w),c&&!a&&w.length>0&&v+t.length>1&&Sizzle.uniqueSort(l)}return c&&(k=S,u=x),b};return n?markFunction(superMatcher):superMatcher}(a,i))).selector=e}return s},l=Sizzle.select=function(e,t,n,i){var a,l,u,c,f,h="function"==typeof e&&e,d=!i&&o(e=h.selector||e);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(ee,funescape),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(a=G.needsContext.test(e)?0:l.length;a--&&(u=l[a],!r.relative[c=u.type]);)if((f=r.find[c])&&(i=f(u.matches[0].replace(ee,funescape),Q.test(l[0].type)&&testContext(t.parentNode)||t))){if(l.splice(a,1),!(e=i.length&&toSelector(l)))return A.apply(n,i),n;break}}return(h||s(e,d))(i,t,!m,n,!t||Q.test(e)&&testContext(t.parentNode)||t),n},n.sortStable=w.split("").sort(sortOrder).join("")===w,n.detectDuplicates=!!f,h(),n.sortDetached=assert((function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))})),assert((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||addHandle("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&assert((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||addHandle("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),assert((function(e){return null==e.getAttribute("disabled")}))||addHandle(V,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),Sizzle}(n);jQuery.find=b,jQuery.expr=b.selectors,jQuery.expr[":"]=jQuery.expr.pseudos,jQuery.uniqueSort=jQuery.unique=b.uniqueSort,jQuery.text=b.getText,jQuery.isXMLDoc=b.isXML,jQuery.contains=b.contains,jQuery.escapeSelector=b.escape;var dir=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&jQuery(e).is(n))break;r.push(e)}return r},siblings=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},w=jQuery.expr.match.needsContext;function nodeName(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var x=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function winnow(e,t,n){return isFunction(t)?jQuery.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?jQuery.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?jQuery.grep(e,(function(e){return c.call(t,e)>-1!==n})):jQuery.filter(t,e,n)}jQuery.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?jQuery.find.matchesSelector(r,e)?[r]:[]:jQuery.find.matches(e,jQuery.grep(t,(function(e){return 1===e.nodeType})))},jQuery.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(jQuery(e).filter((function(){for(t=0;t1?jQuery.uniqueSort(n):n},filter:function(e){return this.pushStack(winnow(this,e||[],!1))},not:function(e){return this.pushStack(winnow(this,e||[],!0))},is:function(e){return!!winnow(this,"string"==typeof e&&w.test(e)?jQuery(e):e||[],!1).length}});var k,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(jQuery.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:C.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof jQuery?t[0]:t,jQuery.merge(this,jQuery.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),x.test(r[1])&&jQuery.isPlainObject(t))for(r in t)isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=v.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):isFunction(e)?void 0!==n.ready?n.ready(e):e(jQuery):jQuery.makeArray(e,this)}).prototype=jQuery.fn,k=jQuery(v);var S=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function sibling(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}jQuery.fn.extend({has:function(e){var t=jQuery(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&jQuery.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?jQuery.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?c.call(jQuery(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(jQuery.uniqueSort(jQuery.merge(this.get(),jQuery(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),jQuery.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return dir(e,"parentNode")},parentsUntil:function(e,t,n){return dir(e,"parentNode",n)},next:function(e){return sibling(e,"nextSibling")},prev:function(e){return sibling(e,"previousSibling")},nextAll:function(e){return dir(e,"nextSibling")},prevAll:function(e){return dir(e,"previousSibling")},nextUntil:function(e,t,n){return dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return dir(e,"previousSibling",n)},siblings:function(e){return siblings((e.parentNode||{}).firstChild,e)},children:function(e){return siblings(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(nodeName(e,"template")&&(e=e.content||e),jQuery.merge([],e.childNodes))}},(function(e,t){jQuery.fn[e]=function(n,r){var i=jQuery.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=jQuery.filter(r,i)),this.length>1&&(O[e]||jQuery.uniqueSort(i),S.test(e)&&i.reverse()),this.pushStack(i)}}));var T=/[^\x20\t\r\n\f]+/g;function Identity(e){return e}function Thrower(e){throw e}function adoptValue(e,t,n,r){var i;try{e&&isFunction(i=e.promise)?i.call(e).done(t).fail(n):e&&isFunction(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}jQuery.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return jQuery.each(e.match(T)||[],(function(e,n){t[n]=!0})),t}(e):jQuery.extend({},e);var t,n,r,i,a=[],o=[],s=-1,fire=function(){for(i=i||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)a.splice(n,1),n<=s&&s--})),this},has:function(e){return e?jQuery.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=o=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=o=[],n||t||(a=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||fire()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},jQuery.extend({Deferred:function(e){var t=[["notify","progress",jQuery.Callbacks("memory"),jQuery.Callbacks("memory"),2],["resolve","done",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),0,"resolved"],["reject","fail",jQuery.Callbacks("once memory"),jQuery.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return jQuery.Deferred((function(n){jQuery.each(t,(function(t,r){var i=isFunction(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var a=0;function resolve(e,t,r,i){return function(){var o=this,s=arguments,mightThrow=function(){var n,l;if(!(e=a&&(r!==Thrower&&(o=void 0,s=[n]),t.rejectWith(o,s))}};e?l():(jQuery.Deferred.getStackHook&&(l.stackTrace=jQuery.Deferred.getStackHook()),n.setTimeout(l))}}return jQuery.Deferred((function(n){t[0][3].add(resolve(0,n,isFunction(i)?i:Identity,n.notifyWith)),t[1][3].add(resolve(0,n,isFunction(e)?e:Identity)),t[2][3].add(resolve(0,n,isFunction(r)?r:Thrower))})).promise()},promise:function(e){return null!=e?jQuery.extend(e,i):i}},a={};return jQuery.each(t,(function(e,n){var o=n[2],s=n[5];i[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),i.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),a=jQuery.Deferred(),updateFunc=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(adoptValue(e,a.done(updateFunc(n)).resolve,a.reject,!t),"pending"===a.state()||isFunction(i[n]&&i[n].then)))return a.then();for(;n--;)adoptValue(i[n],updateFunc(n),a.reject);return a.promise()}});var E=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;jQuery.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&E.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},jQuery.readyException=function(e){n.setTimeout((function(){throw e}))};var R=jQuery.Deferred();function completed(){v.removeEventListener("DOMContentLoaded",completed),n.removeEventListener("load",completed),jQuery.ready()}jQuery.fn.ready=function(e){return R.then(e).catch((function(e){jQuery.readyException(e)})),this},jQuery.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--jQuery.readyWait:jQuery.isReady)||(jQuery.isReady=!0,!0!==e&&--jQuery.readyWait>0||R.resolveWith(v,[jQuery]))}}),jQuery.ready.then=R.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?n.setTimeout(jQuery.ready):(v.addEventListener("DOMContentLoaded",completed),n.addEventListener("load",completed));var access=function(e,t,n,r,i,a,o){var s=0,l=e.length,u=null==n;if("object"===toType(n))for(s in i=!0,n)access(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,isFunction(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(jQuery(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){A.remove(this,e)}))}}),jQuery.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=j.get(e,t),n&&(!r||Array.isArray(n)?r=j.access(e,t,jQuery.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=jQuery.queue(e,t),r=n.length,i=n.shift(),a=jQuery._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,(function(){jQuery.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return j.get(e,n)||j.access(e,n,{empty:jQuery.Callbacks("once memory").add((function(){j.remove(e,[t+"queue",n])}))})}}),jQuery.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,$=/^$|^module$|\/(?:java|ecma)script/i;U=v.createDocumentFragment().appendChild(v.createElement("div")),(H=v.createElement("input")).setAttribute("type","radio"),H.setAttribute("checked","checked"),H.setAttribute("name","t"),U.appendChild(H),g.checkClone=U.cloneNode(!0).cloneNode(!0).lastChild.checked,U.innerHTML="",g.noCloneChecked=!!U.cloneNode(!0).lastChild.defaultValue,U.innerHTML="",g.option=!!U.lastChild;var G={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function getAll(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&nodeName(e,t)?jQuery.merge([e],n):n}function setGlobalEval(e,t){for(var n=0,r=e.length;n",""]);var K=/<|&#?\w+;/;function buildFragment(e,t,n,r,i){for(var a,o,s,l,u,c,f=t.createDocumentFragment(),h=[],d=0,p=e.length;d-1)i&&i.push(a);else if(u=isAttached(a),o=getAll(f.appendChild(a),"script"),u&&setGlobalEval(o),n)for(c=0;a=o[c++];)$.test(a.type||"")&&n.push(a);return f}var Y=/^([^.]*)(?:\.(.+)|)/;function returnTrue(){return!0}function returnFalse(){return!1}function expectSync(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==("focus"===t)}function on(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)on(e,s,n,r,t[s],a);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=returnFalse;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return jQuery().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=jQuery.guid++)),e.each((function(){jQuery.event.add(this,t,i,r,n)}))}function leverageNative(e,t,n){n?(j.set(e,t,!1),jQuery.event.add(e,t,{namespace:!1,handler:function(e){var r,i,a=j.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(jQuery.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=s.call(arguments),j.set(this,t,a),r=n(this,t),this[t](),a!==(i=j.get(this,t))||r?j.set(this,t,!1):i={},a!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else a.length&&(j.set(this,t,{value:jQuery.event.trigger(jQuery.extend(a[0],jQuery.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===j.get(e,t)&&jQuery.event.add(e,t,returnTrue)}jQuery.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,u,c,f,h,d,p,m,g=j.get(e);if(acceptData(e))for(n.handler&&(n=(a=n).handler,i=a.selector),i&&jQuery.find.matchesSelector(I,i),n.guid||(n.guid=jQuery.guid++),(l=g.events)||(l=g.events=Object.create(null)),(o=g.handle)||(o=g.handle=function(t){return void 0!==jQuery&&jQuery.event.triggered!==t.type?jQuery.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(T)||[""]).length;u--;)d=m=(s=Y.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),d&&(f=jQuery.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=jQuery.event.special[d]||{},c=jQuery.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&jQuery.expr.match.needsContext.test(i),namespace:p.join(".")},a),(h=l[d])||((h=l[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,o)||e.addEventListener&&e.addEventListener(d,o)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),jQuery.event.global[d]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,u,c,f,h,d,p,m,g=j.hasData(e)&&j.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(T)||[""]).length;u--;)if(d=m=(s=Y.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),d){for(f=jQuery.event.special[d]||{},h=l[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)c=h[a],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(a,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(e,c));o&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||jQuery.removeEvent(e,d,g.handle),delete l[d])}else for(d in l)jQuery.event.remove(e,d+t[u],n,r,!0);jQuery.isEmptyObject(l)&&j.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,a,o,s=new Array(arguments.length),l=jQuery.event.fix(e),u=(j.get(this,"events")||Object.create(null))[l.type]||[],c=jQuery.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(a=[],o={},n=0;n-1:jQuery.find(i,this,null,[u]).length),o[i]&&a.push(r);a.length&&s.push({elem:u,handlers:a})}return u=this,l\s*$/g;function manipulationTarget(e,t){return nodeName(e,"table")&&nodeName(11!==t.nodeType?t:t.firstChild,"tr")&&jQuery(e).children("tbody")[0]||e}function disableScript(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function restoreScript(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function cloneCopyEvent(e,t){var n,r,i,a,o,s;if(1===t.nodeType){if(j.hasData(e)&&(s=j.get(e).events))for(i in j.remove(t,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof p&&!g.checkClone&&Z.test(p))return e.each((function(i){var a=e.eq(i);m&&(t[0]=p.call(this,i,a.html())),domManip(a,t,n,r)}));if(h&&(a=(i=buildFragment(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=a),a||r)){for(s=(o=jQuery.map(getAll(i,"script"),disableScript)).length;f0&&setGlobalEval(o,!l&&getAll(e,"script")),s},cleanData:function(e){for(var t,n,r,i=jQuery.event.special,a=0;void 0!==(n=e[a]);a++)if(acceptData(n)){if(t=n[j.expando]){if(t.events)for(r in t.events)i[r]?jQuery.event.remove(n,r):jQuery.removeEvent(n,r,t.handle);n[j.expando]=void 0}n[A.expando]&&(n[A.expando]=void 0)}}}),jQuery.fn.extend({detach:function(e){return remove(this,e,!0)},remove:function(e){return remove(this,e)},text:function(e){return access(this,(function(e){return void 0===e?jQuery.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return domManip(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||manipulationTarget(this,e).appendChild(e)}))},prepend:function(){return domManip(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=manipulationTarget(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return domManip(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return domManip(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(jQuery.cleanData(getAll(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return jQuery.clone(this,e,t)}))},html:function(e){return access(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!X.test(e)&&!G[(W.exec(e)||["",""])[1].toLowerCase()]){e=jQuery.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-l-s-.5))||0),l}function getWidthOrHeight(e,t,n){var r=getStyles(e),i=(!g.boxSizingReliable()||n)&&"border-box"===jQuery.css(e,"boxSizing",!1,r),a=i,o=curCSS(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Q.test(o)){if(!n)return o;o="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&nodeName(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===jQuery.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===jQuery.css(e,"boxSizing",!1,r),(a=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+boxModelAdjustment(e,t,n||(i?"border":"content"),a,r,o)+"px"}function Tween(e,t,n,r,i){return new Tween.prototype.init(e,t,n,r,i)}jQuery.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=curCSS(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=camelCase(t),l=ae.test(t),u=e.style;if(l||(t=finalPropName(s)),o=jQuery.cssHooks[t]||jQuery.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:u[t];"string"===(a=typeof n)&&(i=L.exec(n))&&i[1]&&(n=adjustCSS(e,t,i),a="number"),null!=n&&n==n&&("number"!==a||l||(n+=i&&i[3]||(jQuery.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var i,a,o,s=camelCase(t);return ae.test(t)||(t=finalPropName(s)),(o=jQuery.cssHooks[t]||jQuery.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=curCSS(e,t,r)),"normal"===i&&t in se&&(i=se[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),jQuery.each(["height","width"],(function(e,t){jQuery.cssHooks[t]={get:function(e,n,r){if(n)return!ie.test(jQuery.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?getWidthOrHeight(e,t,r):swap(e,oe,(function(){return getWidthOrHeight(e,t,r)}))},set:function(e,n,r){var i,a=getStyles(e),o=!g.scrollboxSize()&&"absolute"===a.position,s=(o||r)&&"border-box"===jQuery.css(e,"boxSizing",!1,a),l=r?boxModelAdjustment(e,t,r,s,a):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-boxModelAdjustment(e,t,"border",!1,a)-.5)),l&&(i=L.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=jQuery.css(e,t)),setPositiveNumber(0,n,l)}}})),jQuery.cssHooks.marginLeft=addGetHookIf(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(curCSS(e,"marginLeft"))||e.getBoundingClientRect().left-swap(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),jQuery.each({margin:"",padding:"",border:"Width"},(function(e,t){jQuery.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+B[r]+t]=a[r]||a[r-2]||a[0];return i}},"margin"!==e&&(jQuery.cssHooks[e+t].set=setPositiveNumber)})),jQuery.fn.extend({css:function(e,t){return access(this,(function(e,t,n){var r,i,a={},o=0;if(Array.isArray(t)){for(r=getStyles(e),i=t.length;o1)}}),jQuery.Tween=Tween,Tween.prototype={constructor:Tween,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||jQuery.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(jQuery.cssNumber[n]?"":"px")},cur:function(){var e=Tween.propHooks[this.prop];return e&&e.get?e.get(this):Tween.propHooks._default.get(this)},run:function(e){var t,n=Tween.propHooks[this.prop];return this.options.duration?this.pos=t=jQuery.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Tween.propHooks._default.set(this),this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=jQuery.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){jQuery.fx.step[e.prop]?jQuery.fx.step[e.prop](e):1!==e.elem.nodeType||!jQuery.cssHooks[e.prop]&&null==e.elem.style[finalPropName(e.prop)]?e.elem[e.prop]=e.now:jQuery.style(e.elem,e.prop,e.now+e.unit)}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},jQuery.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},jQuery.fx=Tween.prototype.init,jQuery.fx.step={};var le,ue,ce=/^(?:toggle|show|hide)$/,fe=/queueHooks$/;function schedule(){ue&&(!1===v.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(schedule):n.setTimeout(schedule,jQuery.fx.interval),jQuery.fx.tick())}function createFxNow(){return n.setTimeout((function(){le=void 0})),le=Date.now()}function genFx(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=B[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function createTween(e,t,n){for(var r,i=(Animation.tweeners[t]||[]).concat(Animation.tweeners["*"]),a=0,o=i.length;a1)},removeAttr:function(e){return this.each((function(){jQuery.removeAttr(this,e)}))}}),jQuery.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?jQuery.prop(e,t,n):(1===a&&jQuery.isXMLDoc(e)||(i=jQuery.attrHooks[t.toLowerCase()]||(jQuery.expr.match.bool.test(t)?he:void 0)),void 0!==n?null===n?void jQuery.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=jQuery.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(T);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),he={set:function(e,t,n){return!1===t?jQuery.removeAttr(e,n):e.setAttribute(n,n),n}},jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=de[t]||jQuery.find.attr;de[t]=function(e,t,r){var i,a,o=t.toLowerCase();return r||(a=de[o],de[o]=i,i=null!=n(e,t,r)?o:null,de[o]=a),i}}));var pe=/^(?:input|select|textarea|button)$/i,me=/^(?:a|area)$/i;function stripAndCollapse(e){return(e.match(T)||[]).join(" ")}function getClass(e){return e.getAttribute&&e.getAttribute("class")||""}function classesToArray(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(T)||[]}jQuery.fn.extend({prop:function(e,t){return access(this,jQuery.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[jQuery.propFix[e]||e]}))}}),jQuery.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&jQuery.isXMLDoc(e)||(t=jQuery.propFix[t]||t,i=jQuery.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=jQuery.find.attr(e,"tabindex");return t?parseInt(t,10):pe.test(e.nodeName)||me.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(jQuery.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),jQuery.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){jQuery.propFix[this.toLowerCase()]=this})),jQuery.fn.extend({addClass:function(e){var t,n,r,i,a,o,s,l=0;if(isFunction(e))return this.each((function(t){jQuery(this).addClass(e.call(this,t,getClass(this)))}));if((t=classesToArray(e)).length)for(;n=this[l++];)if(i=getClass(n),r=1===n.nodeType&&" "+stripAndCollapse(i)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=stripAndCollapse(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,a,o,s,l=0;if(isFunction(e))return this.each((function(t){jQuery(this).removeClass(e.call(this,t,getClass(this)))}));if(!arguments.length)return this.attr("class","");if((t=classesToArray(e)).length)for(;n=this[l++];)if(i=getClass(n),r=1===n.nodeType&&" "+stripAndCollapse(i)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");i!==(s=stripAndCollapse(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):isFunction(e)?this.each((function(n){jQuery(this).toggleClass(e.call(this,n,getClass(this),t),t)})):this.each((function(){var t,i,a,o;if(r)for(i=0,a=jQuery(this),o=classesToArray(e);t=o[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=getClass(this))&&j.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":j.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+stripAndCollapse(getClass(n))+" ").indexOf(t)>-1)return!0;return!1}});var ge=/\r/g;jQuery.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=isFunction(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,jQuery(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=jQuery.map(i,(function(e){return null==e?"":e+""}))),(t=jQuery.valHooks[this.type]||jQuery.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=jQuery.valHooks[i.type]||jQuery.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ge,""):null==n?"":n:void 0}}),jQuery.extend({valHooks:{option:{get:function(e){var t=jQuery.find.attr(e,"value");return null!=t?t:stripAndCollapse(jQuery.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?a+1:i.length;for(r=a<0?l:o?a:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),jQuery.each(["radio","checkbox"],(function(){jQuery.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=jQuery.inArray(jQuery(e).val(),t)>-1}},g.checkOn||(jQuery.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var ve=/^(?:focusinfocus|focusoutblur)$/,stopPropagationCallback=function(e){e.stopPropagation()};jQuery.extend(jQuery.event,{trigger:function(e,t,r,i){var a,o,s,l,u,c,f,h,p=[r||v],m=d.call(e,"type")?e.type:e,g=d.call(e,"namespace")?e.namespace.split("."):[];if(o=h=s=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!ve.test(m+jQuery.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[jQuery.expando]?e:new jQuery.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:jQuery.makeArray(t,[e]),f=jQuery.event.special[m]||{},i||!f.trigger||!1!==f.trigger.apply(r,t))){if(!i&&!f.noBubble&&!isWindow(r)){for(l=f.delegateType||m,ve.test(l+m)||(o=o.parentNode);o;o=o.parentNode)p.push(o),s=o;s===(r.ownerDocument||v)&&p.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=p[a++])&&!e.isPropagationStopped();)h=o,e.type=a>1?l:f.bindType||m,(c=(j.get(o,"events")||Object.create(null))[e.type]&&j.get(o,"handle"))&&c.apply(o,t),(c=u&&o[u])&&c.apply&&acceptData(o)&&(e.result=c.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(p.pop(),t)||!acceptData(r)||u&&isFunction(r[m])&&!isWindow(r)&&((s=r[u])&&(r[u]=null),jQuery.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,stopPropagationCallback),r[m](),e.isPropagationStopped()&&h.removeEventListener(m,stopPropagationCallback),jQuery.event.triggered=void 0,s&&(r[u]=s)),e.result}},simulate:function(e,t,n){var r=jQuery.extend(new jQuery.Event,n,{type:e,isSimulated:!0});jQuery.event.trigger(r,null,t)}}),jQuery.fn.extend({trigger:function(e,t){return this.each((function(){jQuery.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return jQuery.event.trigger(e,t,n,!0)}}),g.focusin||jQuery.each({focus:"focusin",blur:"focusout"},(function(e,t){var handler=function(e){jQuery.event.simulate(t,e.target,jQuery.event.fix(e))};jQuery.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,r=j.access(n,t);r||n.addEventListener(e,handler,!0),j.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,r=j.access(n,t)-1;r?j.access(n,t,r):(n.removeEventListener(e,handler,!0),j.remove(n,t))}}}));var ye=n.location,be={guid:Date.now()},_e=/\?/;jQuery.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||jQuery.error("Invalid XML: "+(r?jQuery.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var we=/\[\]$/,xe=/\r?\n/g,ke=/^(?:submit|button|image|reset|file)$/i,Ce=/^(?:input|select|textarea|keygen)/i;function buildParams(e,t,n,r){var i;if(Array.isArray(t))jQuery.each(t,(function(t,i){n||we.test(e)?r(e,i):buildParams(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==toType(t))r(e,t);else for(i in t)buildParams(e+"["+i+"]",t[i],n,r)}jQuery.param=function(e,t){var n,r=[],add=function(e,t){var n=isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!jQuery.isPlainObject(e))jQuery.each(e,(function(){add(this.name,this.value)}));else for(n in e)buildParams(n,e[n],t,add);return r.join("&")},jQuery.fn.extend({serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=jQuery.prop(this,"elements");return e?jQuery.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!jQuery(this).is(":disabled")&&Ce.test(this.nodeName)&&!ke.test(e)&&(this.checked||!q.test(e))})).map((function(e,t){var n=jQuery(this).val();return null==n?null:Array.isArray(n)?jQuery.map(n,(function(e){return{name:t.name,value:e.replace(xe,"\r\n")}})):{name:t.name,value:n.replace(xe,"\r\n")}})).get()}});var Se=/%20/g,Oe=/#.*$/,Te=/([?&])_=[^&]*/,Ee=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Pe=/^\/\//,Me={},je={},Ae="*/".concat("*"),Ne=v.createElement("a");function addToPrefiltersOrTransports(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(T)||[];if(isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function inspectPrefiltersOrTransports(e,t,n,r){var i={},a=e===je;function inspect(o){var s;return i[o]=!0,jQuery.each(e[o]||[],(function(e,o){var l=o(t,n,r);return"string"!=typeof l||a||i[l]?a?!(s=l):void 0:(t.dataTypes.unshift(l),inspect(l),!1)})),s}return inspect(t.dataTypes[0])||!i["*"]&&inspect("*")}function ajaxExtend(e,t){var n,r,i=jQuery.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&jQuery.extend(!0,e,r),e}Ne.href=ye.href,jQuery.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ye.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ye.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ae,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":jQuery.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ajaxExtend(ajaxExtend(e,jQuery.ajaxSettings),t):ajaxExtend(jQuery.ajaxSettings,e)},ajaxPrefilter:addToPrefiltersOrTransports(Me),ajaxTransport:addToPrefiltersOrTransports(je),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,a,o,s,l,u,c,f,h,d=jQuery.ajaxSetup({},t),p=d.context||d,m=d.context&&(p.nodeType||p.jquery)?jQuery(p):jQuery.event,g=jQuery.Deferred(),y=jQuery.Callbacks("once memory"),b=d.statusCode||{},w={},x={},k="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o)for(o={};t=Ee.exec(a);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),done(0,t),this}};if(g.promise(C),d.url=((e||d.url||ye.href)+"").replace(Pe,ye.protocol+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(T)||[""],null==d.crossDomain){l=v.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Ne.protocol+"//"+Ne.host!=l.protocol+"//"+l.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=jQuery.param(d.data,d.traditional)),inspectPrefiltersOrTransports(Me,d,t,C),u)return C;for(f in(c=jQuery.event&&d.global)&&0==jQuery.active++&&jQuery.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Re.test(d.type),i=d.url.replace(Oe,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Se,"+")):(h=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=(_e.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Te,"$1"),h=(_e.test(i)?"&":"?")+"_="+be.guid+++h),d.url=i+h),d.ifModified&&(jQuery.lastModified[i]&&C.setRequestHeader("If-Modified-Since",jQuery.lastModified[i]),jQuery.etag[i]&&C.setRequestHeader("If-None-Match",jQuery.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ae+"; q=0.01":""):d.accepts["*"]),d.headers)C.setRequestHeader(f,d.headers[f]);if(d.beforeSend&&(!1===d.beforeSend.call(p,C,d)||u))return C.abort();if(k="abort",y.add(d.complete),C.done(d.success),C.fail(d.error),r=inspectPrefiltersOrTransports(je,d,t,C)){if(C.readyState=1,c&&m.trigger("ajaxSend",[C,d]),u)return C;d.async&&d.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),d.timeout));try{u=!1,r.send(w,done)}catch(e){if(u)throw e;done(-1,e)}}else done(-1,"No Transport");function done(e,t,o,l){var f,h,v,w,x,k=t;u||(u=!0,s&&n.clearTimeout(s),r=void 0,a=l||"",C.readyState=e>0?4:0,f=e>=200&&e<300||304===e,o&&(w=function(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(d,C,o)),!f&&jQuery.inArray("script",d.dataTypes)>-1&&jQuery.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),w=function(e,t,n,r){var i,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=u[l+" "+a]||u["* "+a]))for(i in u)if((s=i.split(" "))[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[i]:!0!==u[i]&&(a=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(d,w,C,f),f?(d.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(jQuery.lastModified[i]=x),(x=C.getResponseHeader("etag"))&&(jQuery.etag[i]=x)),204===e||"HEAD"===d.type?k="nocontent":304===e?k="notmodified":(k=w.state,h=w.data,f=!(v=w.error))):(v=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(t||k)+"",f?g.resolveWith(p,[h,k,C]):g.rejectWith(p,[C,k,v]),C.statusCode(b),b=void 0,c&&m.trigger(f?"ajaxSuccess":"ajaxError",[C,d,f?h:v]),y.fireWith(p,[C,k]),c&&(m.trigger("ajaxComplete",[C,d]),--jQuery.active||jQuery.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return jQuery.get(e,t,n,"json")},getScript:function(e,t){return jQuery.get(e,void 0,t,"script")}}),jQuery.each(["get","post"],(function(e,t){jQuery[t]=function(e,n,r,i){return isFunction(n)&&(i=i||r,r=n,n=void 0),jQuery.ajax(jQuery.extend({url:e,type:t,dataType:i,data:n,success:r},jQuery.isPlainObject(e)&&e))}})),jQuery.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),jQuery._evalUrl=function(e,t,n){return jQuery.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){jQuery.globalEval(e,t,n)}})},jQuery.fn.extend({wrapAll:function(e){var t;return this[0]&&(isFunction(e)&&(e=e.call(this[0])),t=jQuery(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return isFunction(e)?this.each((function(t){jQuery(this).wrapInner(e.call(this,t))})):this.each((function(){var t=jQuery(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=isFunction(e);return this.each((function(n){jQuery(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){jQuery(this).replaceWith(this.childNodes)})),this}}),jQuery.expr.pseudos.hidden=function(e){return!jQuery.expr.pseudos.visible(e)},jQuery.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},jQuery.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ve={0:200,1223:204},De=jQuery.ajaxSettings.xhr();g.cors=!!De&&"withCredentials"in De,g.ajax=De=!!De,jQuery.ajaxTransport((function(e){var t,r;if(g.cors||De&&!e.crossDomain)return{send:function(i,a){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Ve[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),jQuery.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return jQuery.globalEval(e),e}}}),jQuery.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),jQuery.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=jQuery("