/* Minification failed. Returning unminified contents.
(1,2969858-2969865): run-time error JS1019: Can't have 'break' outside of loop: break e
(1,4990408-4990415): run-time error JS1019: Can't have 'break' outside of loop: break e
 */
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"+0xr":function(e,t,n){"use strict";n.d(t,"a",(function(){return me})),n.d(t,"b",(function(){return ue})),n.d(t,"c",(function(){return fe})),n.d(t,"d",(function(){return pe})),n.d(t,"e",(function(){return ce})),n.d(t,"f",(function(){return _e})),n.d(t,"g",(function(){return ve})),n.d(t,"h",(function(){return Ee})),n.d(t,"i",(function(){return ye})),n.d(t,"j",(function(){return ae})),n.d(t,"k",(function(){return ke})),n.d(t,"l",(function(){return Ae}));var r=n("ODXe"),i=n("vuIU"),o=n("1OyB"),a=n("Ji7U"),s=n("LK+K"),u=n("KQm4"),l=n("uFwe"),c=n("ReuC"),d=n("foSv"),f=n("8LU1"),h=n("0EQZ"),p=n("fXoL"),m=n("cH1L"),v=n("nLfN"),g=n("ofXK"),y=n("XNiG"),b=n("2Vo4"),_=n("7+OI"),w=n("LRne"),E=n("1G5W"),C=[[["caption"]]],A=["caption"];function k(e){return function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(o.a)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(e=t.call.apply(t,[this].concat(i)))._sticky=!1,e._hasStickyChanged=!1,e}return Object(i.a)(n,[{key:"hasStickyChanged",value:function(){var e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}},{key:"sticky",get:function(){return this._sticky},set:function(e){var t=this._sticky;this._sticky=Object(f.c)(e),this._hasStickyChanged=t!==this._sticky}}]),n}(e)}var S=new p.s("CDK_TABLE"),x=function(){var e=function e(t){Object(o.a)(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkCellDef",""]]}),e}(),D=function(){var e=function e(t){Object(o.a)(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e}(),O=function(){var e=function e(t){Object(o.a)(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkFooterCellDef",""]]}),e}(),T=k((function e(){Object(o.a)(this,e)})),F=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this))._table=e,r._stickyEnd=!1,r}return Object(i.a)(n,[{key:"name",get:function(){return this._name},set:function(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(e){var t=this._stickyEnd;this._stickyEnd=Object(f.c)(e),this._hasStickyChanged=t!==this._stickyEnd}}]),n}(T);return e.\u0275fac=function(t){return new(t||e)(p.Yb(S,8))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,n){var r;1&e&&(p.Qb(n,x,!0),p.Qb(n,D,!0),p.Qb(n,O,!0)),2&e&&(p.Fc(r=p.nc())&&(t.cell=r.first),p.Fc(r=p.nc())&&(t.headerCell=r.first),p.Fc(r=p.nc())&&(t.footerCell=r.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[p.Jb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),p.Hb]}),e}(),M=function e(t,n){Object(o.a)(this,e);var r="cdk-column-".concat(t.cssClassFriendlyName);n.nativeElement.classList.add(r)},P=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){return Object(o.a)(this,n),t.call(this,e,r)}return n}(M);return e.\u0275fac=function(t){return new(t||e)(p.Yb(F),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[p.Hb]}),e}(),L=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){return Object(o.a)(this,n),t.call(this,e,r)}return n}(M);return e.\u0275fac=function(t){return new(t||e)(p.Yb(F),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[p.Hb]}),e}(),R=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.template=t,this._differs=n}return Object(i.a)(e,[{key:"ngOnChanges",value:function(e){if(!this._columnsDiffer){var t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(e){return this instanceof j?e.headerCell.template:this instanceof N?e.footerCell.template:e.cell.template}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q),p.Yb(p.v))},e.\u0275dir=p.Tb({type:e,features:[p.Ib]}),e}(),B=k(function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(R)),j=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e,r))._table=i,a}return Object(i.a)(n,[{key:"ngOnChanges",value:function(e){Object(c.a)(Object(d.a)(n.prototype),"ngOnChanges",this).call(this,e)}}]),n}(B);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q),p.Yb(p.v),p.Yb(S,8))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[p.Hb,p.Ib]}),e}(),I=k(function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(R)),N=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e,r))._table=i,a}return Object(i.a)(n,[{key:"ngOnChanges",value:function(e){Object(c.a)(Object(d.a)(n.prototype),"ngOnChanges",this).call(this,e)}}]),n}(I);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q),p.Yb(p.v),p.Yb(S,8))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[p.Hb,p.Ib]}),e}(),H=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e,r))._table=i,a}return n}(R);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q),p.Yb(p.v),p.Yb(S,8))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[p.Hb]}),e}(),z=function(){var e=function(){function e(t){Object(o.a)(this,e),this._viewContainer=t,e.mostRecentCellOutlet=this}return Object(i.a)(e,[{key:"ngOnDestroy",value:function(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.V))},e.\u0275dir=p.Tb({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e}(),Y=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p.Sb({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&p.ac(0,0)},directives:[z],encapsulation:2}),e}(),U=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p.Sb({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&p.ac(0,0)},directives:[z],encapsulation:2}),e}(),V=["top","bottom","left","right"],$=function(){function e(t,n,r){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];Object(o.a)(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=r,this._isBrowser=i}return Object(i.a)(e,[{key:"clearStickyPositioning",value:function(e,t){var n,r=Object(l.a)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,t);for(var o=0;o<i.children.length;o++)this._removeStickyStyle(i.children[o],t)}}}catch(a){r.e(a)}finally{r.f()}}},{key:"updateStickyColumns",value:function(e,t,n){var r=t.some((function(e){return e}))||n.some((function(e){return e}));if(e.length&&r&&this._isBrowser){var i,o=e[0],a=o.children.length,s=this._getCellWidths(o),u=this._getStickyStartColumnPositions(s,t),c=this._getStickyEndColumnPositions(s,n),d="rtl"===this.direction,f=Object(l.a)(e);try{for(f.s();!(i=f.n()).done;)for(var h=i.value,p=0;p<a;p++){var m=h.children[p];t[p]&&this._addStickyStyle(m,d?"right":"left",u[p]),n[p]&&this._addStickyStyle(m,d?"left":"right",c[p])}}catch(v){f.e(v)}finally{f.f()}}}},{key:"stickRows",value:function(e,t,n){if(this._isBrowser)for(var r="bottom"===n?e.reverse():e,i=0,o=0;o<r.length;o++)if(t[o]){var a=r[o];if(this._isNativeHtmlTable)for(var s=0;s<a.children.length;s++)this._addStickyStyle(a.children[s],n,i);else this._addStickyStyle(a,n,i);if(o===r.length-1)return;i+=a.getBoundingClientRect().height}}},{key:"updateStickyFooterContainer",value:function(e,t){if(this._isNativeHtmlTable){var n=e.querySelector("tfoot");t.some((function(e){return!e}))?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}}},{key:"_removeStickyStyle",value:function(e,t){var n,r=Object(l.a)(t);try{for(r.s();!(n=r.n()).done;)e.style[n.value]=""}catch(i){r.e(i)}finally{r.f()}e.style.zIndex=this._getCalculatedZIndex(e),V.some((function(t){return!!e.style[t]}))||(e.style.position="",e.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(e,t,n){e.classList.add(this._stickCellCss),e.style[t]="".concat(n,"px"),e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)}},{key:"_getCalculatedZIndex",value:function(e){var t,n={top:100,bottom:10,left:1,right:1},r=0,i=Object(l.a)(V);try{for(i.s();!(t=i.n()).done;){var o=t.value;e.style[o]&&(r+=n[o])}}catch(a){i.e(a)}finally{i.f()}return r?"".concat(r):""}},{key:"_getCellWidths",value:function(e){for(var t=[],n=e.children,r=0;r<n.length;r++)t.push(n[r].getBoundingClientRect().width);return t}},{key:"_getStickyStartColumnPositions",value:function(e,t){for(var n=[],r=0,i=0;i<e.length;i++)t[i]&&(n[i]=r,r+=e[i]);return n}},{key:"_getStickyEndColumnPositions",value:function(e,t){for(var n=[],r=0,i=e.length;i>0;i--)t[i]&&(n[i]=r,r+=e[i]);return n}}]),e}();function W(e){return Error('Could not find column with id "'.concat(e,'".'))}var G=function(){var e=function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.V),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["","rowOutlet",""]]}),e}(),q=function(){var e=function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.V),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["","headerRowOutlet",""]]}),e}(),K=function(){var e=function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.V),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["","footerRowOutlet",""]]}),e}(),X=function(){var e=function(){function e(t,n,r,i,a,s,u){Object(o.a)(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=r,this._dir=a,this._platform=u,this._onDestroy=new y.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new b.a({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object(i.a)(e,[{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(h.e)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;t.forEachOperation((function(t,r,i){if(null==t.previousIndex)e._insertRow(t.item,i);else if(null==i)n.remove(r);else{var o=n.get(r);n.move(o,i)}})),this._updateRowIndexContext(),t.forEachIdentityChange((function(e){n.get(e.currentIndex).context.$implicit=e.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(Object(u.a)(t),Object(u.a)(n),Object(u.a)(r)),["left","right"]),t.forEach((function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])})),this._rowDefs.forEach((function(t){for(var r=[],i=0;i<n.length;i++)e._renderRows[i].rowDef===t&&r.push(n[i]);e._addStickyColumnStyles(r,t)})),r.forEach((function(t,n){e._addStickyColumnStyles([t],e._footerRowDefs[n])})),Array.from(this._columnDefsByName.values()).forEach((function(e){return e.resetStickyChanged()}))}},{key:"_getAllRenderRows",value:function(){var e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var r=this._data[n],i=this._getRenderRowsForData(r,n,t.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(var o=0;o<i.length;o++){var a=i[o],s=this._cachedRenderRowsMap.get(a.data);s.has(a.rowDef)?s.get(a.rowDef).push(a):s.set(a.rowDef,[a]),e.push(a)}}return e}},{key:"_getRenderRowsForData",value:function(e,t,n){return this._getRowDefs(e,t).map((function(r){var i=n&&n.has(r)?n.get(r):[];if(i.length){var o=i.shift();return o.dataIndex=t,o}return{data:e,rowDef:r,dataIndex:t}}))}},{key:"_cacheColumnDefs",value:function(){var e=this;this._columnDefsByName.clear(),Z(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach((function(t){if(e._columnDefsByName.has(t.name))throw function(e){return Error('Duplicate column definition name provided: "'.concat(e,'".'))}(t.name);e._columnDefsByName.set(t.name,t)}))}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=Z(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Z(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Z(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var e=this._rowDefs.filter((function(e){return!e.when}));if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(e){this._data=[],Object(h.e)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e=this;if(this.dataSource){var t;if(Object(h.e)(this.dataSource)?t=this.dataSource.connect(this):Object(_.a)(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(w.a)(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Object(E.a)(this._onDestroy)).subscribe((function(t){e._data=t||[],e.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(t,n){return e._renderRow(e._headerRowOutlet,t,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(t,n){return e._renderRow(e._footerRowOutlet,t,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,r=Array.from(t.columns||[]).map((function(e){var t=n._columnDefsByName.get(e);if(!t)throw W(e);return t})),i=r.map((function(e){return e.sticky})),o=r.map((function(e){return e.stickyEnd}));this._stickyStyler.updateStickyColumns(e,i,o)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n<e.viewContainer.length;n++){var r=e.viewContainer.get(n);t.push(r.rootNodes[0])}return t}},{key:"_getRowDefs",value:function(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter((function(n){return!n.when||n.when(t,e)}));else{var r=this._rowDefs.find((function(n){return n.when&&n.when(t,e)}))||this._defaultRowDef;r&&n.push(r)}if(!n.length)throw function(e){return Error("Could not find a matching row definition for the"+"provided row data: ".concat(JSON.stringify(e)))}(e);return n}},{key:"_insertRow",value:function(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})}},{key:"_renderRow",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.viewContainer.createEmbeddedView(t.template,r,n);var i,o=Object(l.a)(this._getCellTemplates(t));try{for(o.s();!(i=o.n()).done;){var a=i.value;z.mostRecentCellOutlet&&z.mostRecentCellOutlet._viewContainer.createEmbeddedView(a,r)}}catch(s){o.e(s)}finally{o.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t<n;t++){var r=e.get(t).context;r.count=n,r.first=0===t,r.last=t===n-1,r.even=t%2==0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[t].dataIndex,r.renderIndex=t):r.index=this._renderRows[t].dataIndex}}},{key:"_getCellTemplates",value:function(e){var t=this;return e&&e.columns?Array.from(e.columns,(function(n){var r=t._columnDefsByName.get(n);if(!r)throw W(n);return e.extractCellTemplate(r)})):[]}},{key:"_applyNativeTableSections",value:function(){for(var e=this._document.createDocumentFragment(),t=0,n=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];t<n.length;t++){var r=n[t],i=this._document.createElement(r.tag);i.setAttribute("role","rowgroup"),i.appendChild(r.outlet.elementRef.nativeElement),e.appendChild(i)}this._elementRef.nativeElement.appendChild(e)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}},{key:"_checkStickyStates",value:function(){var e=function(e,t){return e||t.hasStickyChanged()};this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}},{key:"_setupStickyStyler",value:function(){var e=this;this._stickyStyler=new $(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Object(w.a)()).pipe(Object(E.a)(this._onDestroy)).subscribe((function(t){e._stickyStyler.direction=t,e.updateStickyColumnStyles()}))}},{key:"_getOwnDefs",value:function(e){var t=this;return e.filter((function(e){return!e._table||e._table===t}))}},{key:"trackBy",get:function(){return this._trackByFn},set:function(e){Object(p.db)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),".")),this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=Object(f.c)(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.v),p.Yb(p.i),p.Yb(p.n),p.jc("role"),p.Yb(m.b,8),p.Yb(g.c),p.Yb(v.a))},e.\u0275cmp=p.Sb({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,n){var r;1&e&&(p.Qb(n,F,!0),p.Qb(n,H,!0),p.Qb(n,j,!0),p.Qb(n,N,!0)),2&e&&(p.Fc(r=p.nc())&&(t._contentColumnDefs=r),p.Fc(r=p.nc())&&(t._contentRowDefs=r),p.Fc(r=p.nc())&&(t._contentHeaderRowDefs=r),p.Fc(r=p.nc())&&(t._contentFooterRowDefs=r))},viewQuery:function(e,t){var n;1&e&&(p.Qc(G,!0),p.Qc(q,!0),p.Qc(K,!0)),2&e&&(p.Fc(n=p.nc())&&(t._rowOutlet=n.first),p.Fc(n=p.nc())&&(t._headerRowOutlet=n.first),p.Fc(n=p.nc())&&(t._footerRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[p.Jb([{provide:S,useExisting:e}])],ngContentSelectors:A,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(p.wc(C),p.vc(0),p.ac(1,0),p.ac(2,1),p.ac(3,2))},directives:[q,G,K],encapsulation:2}),e}();function Z(e,t){return e.concat(Array.from(t))}var J=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=p.Wb({type:e}),e.\u0275inj=p.Vb({factory:function(t){return new(t||e)}}),e}(),Q=n("FKr1"),ee=n("quSY"),te=n("VRyK"),ne=n("itXk"),re=n("lJxs"),ie=[[["caption"]]],oe=["caption"],ae=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).stickyCssClass="mat-table-sticky",e}return n}(X);return e.\u0275fac=function(t){return se(t||e)},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[p.Jb([{provide:X,useExisting:e},{provide:S,useExisting:e}]),p.Hb],ngContentSelectors:oe,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(p.wc(ie),p.vc(0),p.ac(1,0),p.ac(2,1),p.ac(3,2))},directives:[q,G,K],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),e}(),se=p.gc(ae),ue=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(x);return e.\u0275fac=function(t){return le(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matCellDef",""]],features:[p.Jb([{provide:x,useExisting:e}]),p.Hb]}),e}(),le=p.gc(ue),ce=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(D);return e.\u0275fac=function(t){return de(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matHeaderCellDef",""]],features:[p.Jb([{provide:D,useExisting:e}]),p.Hb]}),e}(),de=p.gc(ce),fe=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(F);return e.\u0275fac=function(t){return he(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[p.Jb([{provide:F,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),p.Hb]}),e}(),he=p.gc(fe),pe=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(o.a)(this,n),i=t.call(this,e,r),r.nativeElement.classList.add("mat-column-".concat(e.cssClassFriendlyName)),i}return n}(P);return e.\u0275fac=function(t){return new(t||e)(p.Yb(F),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[p.Hb]}),e}(),me=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(o.a)(this,n),i=t.call(this,e,r),r.nativeElement.classList.add("mat-column-".concat(e.cssClassFriendlyName)),i}return n}(L);return e.\u0275fac=function(t){return new(t||e)(p.Yb(F),p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[p.Hb]}),e}(),ve=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(j);return e.\u0275fac=function(t){return ge(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[p.Jb([{provide:j,useExisting:e}]),p.Hb]}),e}(),ge=p.gc(ve),ye=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(H);return e.\u0275fac=function(t){return be(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[p.Jb([{provide:H,useExisting:e}]),p.Hb]}),e}(),be=p.gc(ye),_e=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(Y);return e.\u0275fac=function(t){return we(t||e)},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[p.Jb([{provide:Y,useExisting:e}]),p.Hb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&p.ac(0,0)},directives:[z],encapsulation:2}),e}(),we=p.gc(_e),Ee=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(U);return e.\u0275fac=function(t){return Ce(t||e)},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[p.Jb([{provide:U,useExisting:e}]),p.Hb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&p.ac(0,0)},directives:[z],encapsulation:2}),e}(),Ce=p.gc(Ee),Ae=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=p.Wb({type:e}),e.\u0275inj=p.Vb({factory:function(t){return new(t||e)},imports:[[J,Q.j],Q.j]}),e}(),ke=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(o.a)(this,n),(e=t.call(this))._renderData=new b.a([]),e._filter=new b.a(""),e._internalPageChanges=new y.a,e._renderChangesSubscription=ee.a.EMPTY,e.sortingDataAccessor=function(e,t){var n=e[t];if(Object(f.a)(n)){var r=Number(n);return r<9007199254740991?r:n}return n},e.sortData=function(t,n){var r=n.active,i=n.direction;return r&&""!=i?t.sort((function(t,n){var o=e.sortingDataAccessor(t,r),a=e.sortingDataAccessor(n,r),s=0;return null!=o&&null!=a?o>a?s=1:o<a&&(s=-1):null!=o?s=1:null!=a&&(s=-1),s*("asc"==i?1:-1)})):t},e.filterPredicate=function(e,t){var n=Object.keys(e).reduce((function(t,n){return t+e[n]+"\u25ec"}),"").toLowerCase(),r=t.trim().toLowerCase();return-1!=n.indexOf(r)},e._data=new b.a(r),e._updateChangeSubscription(),e}return Object(i.a)(n,[{key:"_updateChangeSubscription",value:function(){var e=this,t=this._sort?Object(te.a)(this._sort.sortChange,this._sort.initialized):Object(w.a)(null),n=this._paginator?Object(te.a)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Object(w.a)(null),i=this._data,o=Object(ne.a)([i,this._filter]).pipe(Object(re.a)((function(t){var n=Object(r.a)(t,1);return e._filterData(n[0])}))),a=Object(ne.a)([o,t]).pipe(Object(re.a)((function(t){var n=Object(r.a)(t,1);return e._orderData(n[0])}))),s=Object(ne.a)([a,n]).pipe(Object(re.a)((function(t){var n=Object(r.a)(t,1);return e._pageData(n[0])})));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe((function(t){return e._renderData.next(t)}))}},{key:"_filterData",value:function(e){var t=this;return this.filteredData=this.filter?e.filter((function(e){return t.filterPredicate(e,t.filter)})):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(e){return this.sort?this.sortData(e.slice(),this.sort):e}},{key:"_pageData",value:function(e){if(!this.paginator)return e;var t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(e){var t=this;Promise.resolve().then((function(){var n=t.paginator;if(n&&(n.length=e,n.pageIndex>0)){var r=Math.ceil(n.length/n.pageSize)-1||0,i=Math.min(n.pageIndex,r);i!==n.pageIndex&&(n.pageIndex=i,t._internalPageChanges.next())}}))}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"filter",get:function(){return this._filter.value},set:function(e){this._filter.next(e)}},{key:"sort",get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()}}]),n}(h.b)},"+lv+":function(e,t,n){"use strict";n.d(t,"a",(function(){return R})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return P}));var r=n("KQm4"),i=n("JX7q"),o=n("uFwe"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("vuIU"),c=n("fXoL"),d=n("quSY"),f=n("xgIS"),h=n("VRyK"),p=n("pLZG"),m=n("7o/Q"),v=n("D0XW"),g=(n("l7GE"),n("ZUHj"),{leading:!0,trailing:!1}),y=function(){function e(t,n,r,i){Object(u.a)(this,e),this.duration=t,this.scheduler=n,this.leading=r,this.trailing=i}return Object(l.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new b(e,this.duration,this.scheduler,this.leading,this.trailing))}}]),e}(),b=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o,a){var s;return Object(u.a)(this,n),(s=t.call(this,e)).duration=r,s.scheduler=i,s.leading=o,s.trailing=a,s._hasTrailingValue=!1,s._trailingValue=null,s}return Object(l.a)(n,[{key:"_next",value:function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(_,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))}},{key:"_complete",value:function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}},{key:"clearThrottle",value:function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)}}]),n}(m.a);function _(e){e.subscriber.clearThrottle()}var w=function(){function e(){Object(u.a)(this,e),this.idValue=new Date,this.idlingValue=!1}return Object(l.a)(e,[{key:"id",value:function(e){if(void 0!==e){if(!e)throw new Error("A value must be specified for the ID.");this.idValue=e}return this.idValue}},{key:"idling",value:function(e){return void 0!==e&&(this.idlingValue=e),this.idlingValue}},{key:"now",value:function(){return new Date}},{key:"isExpired",value:function(){var e=this.last();return null!=e&&e<=this.now()}}]),e}(),E=function(){function e(t){Object(u.a)(this,e),this.source=t}return Object(l.a)(e,[{key:"subscribe",value:function(e){this.sub=this.source.onInterrupt.subscribe(e)}},{key:"unsubscribe",value:function(){this.sub.unsubscribe(),this.sub=null}},{key:"resume",value:function(){this.source.attach()}},{key:"pause",value:function(){this.source.detach()}}]),e}(),C=function e(){Object(u.a)(this,e)},A=function(){function e(){Object(u.a)(this,e),this.storageMap={}}return Object(l.a)(e,[{key:"clear",value:function(){this.storageMap={}}},{key:"getItem",value:function(e){return void 0!==this.storageMap[e]?this.storageMap[e]:null}},{key:"key",value:function(e){return Object.keys(this.storageMap)[e]||null}},{key:"removeItem",value:function(e){this.storageMap[e]=void 0}},{key:"setItem",value:function(e,t){this.storageMap[e]=t}},{key:"length",get:function(){return Object.keys(this.storageMap).length}}]),e}(),k=function(){var e=function(){function e(){Object(u.a)(this,e),this.storage=this.getStorage()}return Object(l.a)(e,[{key:"getStorage",value:function(){try{var e=localStorage;return e.setItem("ng2IdleStorage",""),e.removeItem("ng2IdleStorage"),e}catch(t){return new A}}},{key:"getItem",value:function(e){return this.storage.getItem("ng2Idle."+e)}},{key:"removeItem",value:function(e){this.storage.removeItem("ng2Idle."+e)}},{key:"setItem",value:function(e,t){this.storage.setItem("ng2Idle."+e,t)}},{key:"_wrapped",value:function(){return this.storage}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Ub({token:e,factory:e.\u0275fac}),e}(),S=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(u.a)(this,n),(r=t.call(this)).localStorage=e,r.idleName="main",r}return Object(l.a)(n,[{key:"last",value:function(e){return void 0!==e&&this.setExpiry(e),this.getExpiry()}},{key:"idling",value:function(e){return void 0!==e&&this.setIdling(e),this.getIdling()}},{key:"getIdleName",value:function(){return this.idleName}},{key:"setIdleName",value:function(e){e&&(this.idleName=e)}},{key:"getExpiry",value:function(){var e=this.localStorage.getItem(this.idleName+".expiry");return e?new Date(parseInt(e,10)):null}},{key:"setExpiry",value:function(e){e?this.localStorage.setItem(this.idleName+".expiry",e.getTime().toString()):this.localStorage.removeItem(this.idleName+".expiry")}},{key:"getIdling",value:function(){var e=this.localStorage.getItem(this.idleName+".idling");return!!e&&"true"===e}},{key:"setIdling",value:function(e){this.localStorage.setItem(this.idleName+".idling",e?e.toString():"false")}}]),n}(w);return e.\u0275fac=function(t){return new(t||e)(c.ic(k))},e.\u0275prov=c.Ub({token:e,factory:e.\u0275fac}),e}(),x=function(){var e={disabled:0,idle:1,notIdle:2};return e[e.disabled]="disabled",e[e.idle]="idle",e[e.notIdle]="notIdle",e}(),D=function(){var e=function(){function e(t,n,r){Object(u.a)(this,e),this.expiry=t,this.zone=n,this.idle=1200,this.timeoutVal=30,this.autoResume=x.idle,this.interrupts=new Array,this.running=!1,this.keepaliveEnabled=!1,this.onIdleStart=new c.q,this.onIdleEnd=new c.q,this.onTimeoutWarning=new c.q,this.onTimeout=new c.q,this.onInterrupt=new c.q,r&&(this.keepaliveSvc=r,this.keepaliveEnabled=!0),this.setIdling(!1)}return Object(l.a)(e,[{key:"setIdleName",value:function(e){if(!(this.expiry instanceof S))throw new Error("Cannot set expiry key name because no LocalStorageExpiry has been provided.");this.expiry.setIdleName(e)}},{key:"getKeepaliveEnabled",value:function(){return this.keepaliveEnabled}},{key:"setKeepaliveEnabled",value:function(e){if(!this.keepaliveSvc)throw new Error("Cannot enable keepalive integration because no KeepaliveSvc has been provided.");return this.keepaliveEnabled=e}},{key:"getTimeout",value:function(){return this.timeoutVal}},{key:"setTimeout",value:function(e){if(!1===e)this.timeoutVal=0;else{if(!("number"==typeof e&&e>=0))throw new Error("'seconds' can only be 'false' or a positive number.");this.timeoutVal=e}return this.timeoutVal}},{key:"getIdle",value:function(){return this.idle}},{key:"setIdle",value:function(e){if(e<=0)throw new Error("'seconds' must be greater zero");return this.idle=e}},{key:"getAutoResume",value:function(){return this.autoResume}},{key:"setAutoResume",value:function(e){return this.autoResume=e}},{key:"setInterrupts",value:function(e){this.clearInterrupts();var t,n=this,r=Object(o.a)(e);try{for(r.s();!(t=r.n()).done;){var i=new E(t.value);i.subscribe((function(e){n.interrupt(e.force,e.innerArgs)})),this.interrupts.push(i)}}catch(a){r.e(a)}finally{r.f()}return this.interrupts}},{key:"getInterrupts",value:function(){return this.interrupts}},{key:"clearInterrupts",value:function(){var e,t=Object(o.a)(this.interrupts);try{for(t.s();!(e=t.n()).done;){var n=e.value;n.pause(),n.unsubscribe()}}catch(r){t.e(r)}finally{t.f()}this.interrupts.length=0}},{key:"isRunning",value:function(){return this.running}},{key:"isIdling",value:function(){return this.idling}},{key:"watch",value:function(e){var t=this;this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle");var n=this.timeoutVal?this.timeoutVal:0;if(!e){var r=new Date(this.expiry.now().getTime()+1e3*(this.idle+n));this.expiry.last(r)}this.idling&&this.toggleState(),this.running||(this.startKeepalive(),this.toggleInterrupts(!0)),this.running=!0,this.setIdleIntervalOutsideOfZone((function e(){t.zone.run((function(){var r=t.getExpiryDiff(n);r>0?(t.safeClearInterval("idleHandle"),t.setIdleIntervalOutsideOfZone(e,r)):t.toggleState()}))}),1e3*this.idle)}},{key:"setIdleIntervalOutsideOfZone",value:function(e,t){var n=this;this.zone.runOutsideAngular((function(){n.idleHandle=setInterval(e,t)}))}},{key:"stop",value:function(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!1),this.running=!1,this.expiry.last(null)}},{key:"timeout",value:function(){this.stopKeepalive(),this.toggleInterrupts(!1),this.safeClearInterval("idleHandle"),this.safeClearInterval("timeoutHandle"),this.setIdling(!0),this.running=!1,this.countdown=0,this.onTimeout.emit(null)}},{key:"interrupt",value:function(e,t){this.running&&(this.timeoutVal&&this.expiry.isExpired()?this.timeout():(this.onInterrupt.emit(t),(!0===e||this.autoResume===x.idle||this.autoResume===x.notIdle&&!this.expiry.idling())&&this.watch(e)))}},{key:"setIdling",value:function(e){this.idling=e,this.expiry.idling(e)}},{key:"toggleState",value:function(){var e=this;this.setIdling(!this.idling),this.idling?(this.onIdleStart.emit(null),this.stopKeepalive(),this.timeoutVal>0&&(this.countdown=this.timeoutVal,this.doCountdown(),this.setTimoutIntervalOutsideZone((function(){e.doCountdownInZone()}),1e3))):(this.toggleInterrupts(!0),this.onIdleEnd.emit(null),this.startKeepalive()),this.safeClearInterval("idleHandle")}},{key:"setTimoutIntervalOutsideZone",value:function(e,t){var n=this;this.zone.runOutsideAngular((function(){n.timeoutHandle=setInterval((function(){e()}),t)}))}},{key:"toggleInterrupts",value:function(e){var t,n=Object(o.a)(this.interrupts);try{for(n.s();!(t=n.n()).done;){var r=t.value;e?r.resume():r.pause()}}catch(i){n.e(i)}finally{n.f()}}},{key:"getExpiryDiff",value:function(e){var t=this.expiry.now();return(this.expiry.last()||t).getTime()-t.getTime()-1e3*e}},{key:"doCountdownInZone",value:function(){var e=this;this.zone.run((function(){e.doCountdown()}))}},{key:"doCountdown",value:function(){if(this.getExpiryDiff(this.timeoutVal)>0)return this.safeClearInterval("timeoutHandle"),void this.interrupt(!0);this.idling&&(this.countdown<=0?this.timeout():(this.onTimeoutWarning.emit(this.countdown),this.countdown--))}},{key:"safeClearInterval",value:function(e){null!=this[e]&&(clearInterval(this[e]),this[e]=null)}},{key:"startKeepalive",value:function(){this.keepaliveSvc&&this.keepaliveEnabled&&(this.running&&this.keepaliveSvc.ping(),this.keepaliveSvc.start())}},{key:"stopKeepalive",value:function(){this.keepaliveSvc&&this.keepaliveEnabled&&this.keepaliveSvc.stop()}},{key:"ngOnDestroy",value:function(){this.stop(),this.clearInterrupts()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(w),c.ic(c.C),c.ic(C,8))},e.\u0275prov=c.Ub({token:e,factory:e.\u0275fac}),e}(),O=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object(u.a)(this,e),this.source=t,this.innerArgs=n,this.force=r},T=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,o,a){var s;Object(u.a)(this,n),(s=t.call(this,null,null)).target=e,s.events=o,s.eventSubscription=new d.a,"number"==typeof a&&(a={throttleDelay:a,passive:!1}),null==(a=a||{throttleDelay:500,passive:!1}).throttleDelay&&(a.throttleDelay=500),s.throttleDelay=a.throttleDelay,s.passive=!!a.passive;var l=s.passive?{passive:!0}:null,c=o.split(" ").map((function(t){return Object(f.a)(e,t,l)}));s.eventSrc=h.a.apply(void 0,Object(r.a)(c)),s.eventSrc=s.eventSrc.pipe(Object(p.a)((function(e){return!s.filterEvent(e)}))),s.throttleDelay>0&&(s.eventSrc=s.eventSrc.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g;return function(r){return r.lift(new y(e,t,n.leading,n.trailing))}}(s.throttleDelay)));var m=function(e){return s.onInterrupt.emit(new O(Object(i.a)(s),e))};return s.attachFn=function(){return s.eventSubscription=s.eventSrc.subscribe(m)},s.detachFn=function(){return s.eventSubscription.unsubscribe()},s}return Object(l.a)(n,[{key:"filterEvent",value:function(e){return!1}},{key:"options",get:function(){return{throttleDelay:this.throttleDelay,passive:this.passive}}}]),n}(function(){function e(t,n){Object(u.a)(this,e),this.attachFn=t,this.detachFn=n,this.isAttached=!1,this.onInterrupt=new c.q}return Object(l.a)(e,[{key:"attach",value:function(){var e=this;!0!==Zone.current.get("isAngularZone")?(!this.isAttached&&this.attachFn&&this.attachFn(this),this.isAttached=!0):Zone.current.parent.run((function(){return e.attach()}))}},{key:"detach",value:function(){this.isAttached&&this.detachFn&&this.detachFn(this),this.isAttached=!1}}]),e}()),F=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){return Object(u.a)(this,n),t.call(this,document.documentElement,e,r)}return Object(l.a)(n,[{key:"filterEvent",value:function(e){return!("mousemove"!==e.type||!(e.originalEvent&&0===e.originalEvent.movementX&&0===e.originalEvent.movementY||void 0!==e.movementX&&!e.movementX)&&e.movementY)}}]),n}(T),M=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;return Object(u.a)(this,n),t.call(this,"storage",e)}return Object(l.a)(n,[{key:"filterEvent",value:function(e){return!(e.key&&e.key.indexOf("ng2Idle.")>=0&&e.key.indexOf(".expiry")>=0)}}]),n}(function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){return Object(u.a)(this,n),t.call(this,window,e,r)}return n}(T)),P=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[S,{provide:w,useExisting:S},D]}}}]),e}();return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[k]}),e}();function L(e){return[new F("mousemove keydown DOMMouseScroll mousewheel mousedown touchstart touchmove scroll",e),new M]}var R=L()},"+rOU":function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return A})),n.d(t,"h",(function(){return C})),n.d(t,"i",(function(){return m}));var r=n("JX7q"),i=n("ReuC"),o=n("foSv"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("vuIU"),c=n("fXoL"),d=n("ofXK");function f(){throw Error("Host already has a portal attached")}var h=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&f(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),e}(),p=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o){var a;return Object(u.a)(this,n),(a=t.call(this)).component=e,a.viewContainerRef=r,a.injector=i,a.componentFactoryResolver=o,a}return n}(h),m=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this)).templateRef=e,o.viewContainerRef=r,o.context=i,o}return Object(l.a)(n,[{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,Object(i.a)(Object(o.a)(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,Object(i.a)(Object(o.a)(n.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),n}(h),v=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(u.a)(this,n),(r=t.call(this)).element=e instanceof c.n?e.nativeElement:e,r}return n}(h),g=function(){function e(){Object(u.a)(this,e),this._isDisposed=!1,this.attachDomPortal=null}return Object(l.a)(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&f(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof p?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof m?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof v?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),y=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,a,s,l,c){var d,f;return Object(u.a)(this,n),(f=t.call(this)).outletElement=e,f._componentFactoryResolver=a,f._appRef=s,f._defaultInjector=l,f.attachDomPortal=function(e){if(!f._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");var a=f._document.createComment("dom-portal");t.parentNode.insertBefore(a,t),f.outletElement.appendChild(t),Object(i.a)((d=Object(r.a)(f),Object(o.a)(n.prototype)),"setDisposeFn",d).call(d,(function(){a.parentNode&&a.parentNode.replaceChild(t,a)}))},f._document=c,f}return Object(l.a)(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(r);-1!==e&&n.remove(e)})),r}},{key:"dispose",value:function(){Object(i.a)(Object(o.a)(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(g),b=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){return Object(u.a)(this,n),t.call(this,e,r)}return n}(m);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.Q),c.Yb(c.V))},e.\u0275dir=c.Tb({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[c.Hb]}),e}(),_=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,a,s){var l,d;return Object(u.a)(this,n),(d=t.call(this))._componentFactoryResolver=e,d._viewContainerRef=a,d._isInitialized=!1,d.attached=new c.q,d.attachDomPortal=function(e){if(!d._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");var a=d._document.createComment("dom-portal");e.setAttachedHost(Object(r.a)(d)),t.parentNode.insertBefore(a,t),d._getRootNode().appendChild(t),Object(i.a)((l=Object(r.a)(d),Object(o.a)(n.prototype)),"setDisposeFn",l).call(l,(function(){a.parentNode&&a.parentNode.replaceChild(t,a)}))},d._document=s,d}return Object(l.a)(n,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){Object(i.a)(Object(o.a)(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(r,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),Object(i.a)(Object(o.a)(n.prototype),"setDisposeFn",this).call(this,(function(){return a.destroy()})),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return Object(i.a)(Object(o.a)(n.prototype),"setDisposeFn",this).call(this,(function(){return t._viewContainerRef.clear()})),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&Object(i.a)(Object(o.a)(n.prototype),"detach",this).call(this),e&&Object(i.a)(Object(o.a)(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.k),c.Yb(c.V),c.Yb(d.c))},e.\u0275dir=c.Tb({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[c.Hb]}),e}(),w=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return n}(_);return e.\u0275fac=function(t){return E(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[c.Jb([{provide:_,useExisting:e}]),c.Hb]}),e}(),E=c.gc(w),C=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)}}),e}(),A=function(){function e(t,n){Object(u.a)(this,e),this._parentInjector=t,this._customTokens=n}return Object(l.a)(e,[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}]),e}()},"+wdc":function(e,t,n){"use strict";var r,i,o,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,l=null,c=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(e,0),r}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},i=function(e,t){l=setTimeout(e,t)},o=function(){clearTimeout(l)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,h=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=h.now();t.unstable_now=function(){return h.now()-g}}var y=!1,b=null,_=-1,w=5,E=0;a=function(){return t.unstable_now()>=E},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,A=C.port2;C.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();E=e+w;try{b(!0,e)?A.postMessage(null):(y=!1,b=null)}catch(n){throw A.postMessage(null),n}}else y=!1},r=function(e){b=e,y||(y=!0,A.postMessage(null))},i=function(e,n){_=p((function(){e(t.unstable_now())}),n)},o=function(){m(_),_=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<D(i,t)))break e;e[r]=t,e[n]=i,n=r}}function S(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>D(a,n))void 0!==u&&0>D(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>D(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function D(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],T=[],F=1,M=null,P=3,L=!1,R=!1,B=!1;function j(e){for(var t=S(T);null!==t;){if(null===t.callback)x(T);else{if(!(t.startTime<=e))break;x(T),t.sortIndex=t.expirationTime,k(O,t)}t=S(T)}}function I(e){if(B=!1,j(e),!R)if(null!==S(O))R=!0,r(N);else{var t=S(T);null!==t&&i(I,t.startTime-e)}}function N(e,n){R=!1,B&&(B=!1,o()),L=!0;var r=P;try{for(j(n),M=S(O);null!==M&&(!(M.expirationTime>n)||e&&!a());){var s=M.callback;if(null!==s){M.callback=null,P=M.priorityLevel;var u=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?M.callback=u:M===S(O)&&x(O),j(n)}else x(O);M=S(O)}if(null!==M)var l=!0;else{var c=S(T);null!==c&&i(I,c.startTime-n),l=!1}return l}finally{M=null,P=r,L=!1}}function H(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||L||(R=!0,r(N))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return S(O)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:H(e)}else a=H(e),u=s;return e={id:F++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,k(T,e),null===S(O)&&e===S(T)&&(B?o():B=!0,i(I,u-s))):(e.sortIndex=a,k(O,e),R||L||(R=!0,r(N))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=S(O);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},"//cU":function(e,t,n){"use strict";n.d(t,"m",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"i",(function(){return h})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"k",(function(){return v})),n.d(t,"e",(function(){return g})),n.d(t,"j",(function(){return y}));var r=n("S2Kk"),i=Object.prototype.toString,o=function(e){return function(t){return typeof t===e}},a=o("undefined"),s=Object(r.f)(a),u=function(e){return null===e},l=Object(r.g)(u,a),c=o("function"),d=o("number"),f=o("string"),h=function(e){return null!==e&&"object"==typeof e},p=Array.isArray,m=function(e){return"[object Date]"===i.call(e)},v=function(e){return"[object RegExp]"===i.call(e)};function g(e){if(p(e)&&e.length){var t=e.slice(0,-1),n=e.slice(-1);return!(t.filter(Object(r.f)(f)).length||n.filter(Object(r.f)(c)).length)}return c(e)}var y=Object(r.b)(h,Object(r.j)(Object(r.k)("then"),c))},"/1cH":function(e,t,n){"use strict";n.d(t,"a",(function(){return z})),n.d(t,"b",(function(){return W})),n.d(t,"c",(function(){return $}));var r=n("KQm4"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("u47x"),l=n("8LU1"),c=n("fXoL"),d=n("FKr1"),f=n("quSY"),h=n("XNiG"),p=n("NXyV"),m=n("VRyK"),v=n("xgIS"),g=n("LRne"),y=n("ofXK"),b=n("rDax"),_=n("vxfF"),w=n("FtGj"),E=n("nLfN"),C=n("+rOU"),A=n("3Pt+"),k=n("kmnG"),S=n("IzEk"),x=n("eIep"),D=n("pLZG"),O=n("vkgz"),T=n("3E0/"),F=n("lJxs"),M=n("cH1L"),P=["panel"];function L(e,t){if(1&e&&(c.ec(0,"div",0,1),c.vc(2),c.dc()),2&e){var n=c.qc();c.xc("id",n.id)("ngClass",n._classList)}}var R=["*"],B=0,j=function e(t,n){Object(s.a)(this,e),this.source=t,this.option=n},I=function e(){Object(s.a)(this,e)},N=Object(d.z)(I),H=new c.s("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),z=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,i){var o;return Object(s.a)(this,n),(o=t.call(this))._changeDetectorRef=e,o._elementRef=r,o._activeOptionChanges=f.a.EMPTY,o.showPanel=!1,o._isOpen=!1,o.displayWith=null,o.optionSelected=new c.q,o.opened=new c.q,o.closed=new c.q,o.optionActivated=new c.q,o._classList={},o.id="mat-autocomplete-".concat(B++),o._autoActiveFirstOption=!!i.autoActiveFirstOption,o}return Object(i.a)(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new u.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe((function(t){e.optionActivated.emit({source:e,option:e.options.toArray()[t]||null})})),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(e){var t=new j(this,e);this.optionSelected.emit(t)}},{key:"_setVisibilityClasses",value:function(e){e["mat-autocomplete-visible"]=this.showPanel,e["mat-autocomplete-hidden"]=!this.showPanel}},{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=Object(l.c)(e)}},{key:"classList",set:function(e){this._classList=e&&e.length?e.split(" ").reduce((function(e,t){return e[t.trim()]=!0,e}),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}}]),n}(N);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.i),c.Yb(c.n),c.Yb(H))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,n){var r;1&e&&(c.Qb(n,d.o,!0),c.Qb(n,d.n,!0)),2&e&&(c.Fc(r=c.nc())&&(t.options=r),c.Fc(r=c.nc())&&(t.optionGroups=r))},viewQuery:function(e,t){var n;1&e&&(c.Qc(c.Q,!0),c.ad(P,!0)),2&e&&(c.Fc(n=c.nc())&&(t.template=n.first),c.Fc(n=c.nc())&&(t.panel=n.first))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple",displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[c.Jb([{provide:d.h,useExisting:e}]),c.Hb],ngContentSelectors:R,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(c.wc(),c.Sc(0,L,3,2,"ng-template"))},directives:[y.i],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e}(),Y=new c.s("mat-autocomplete-scroll-strategy"),U={provide:Y,deps:[b.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},V={provide:A.l,useExisting:Object(c.ab)((function(){return $})),multi:!0},$=function(){var e=function(){function e(t,n,i,o,a,u,l,c,d,v){var g=this;Object(s.a)(this,e),this._element=t,this._overlay=n,this._viewContainerRef=i,this._zone=o,this._changeDetectorRef=a,this._dir=l,this._formField=c,this._document=d,this._viewportRuler=v,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=f.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new h.a,this._windowBlurHandler=function(){g._canOpenOnNextFocus=g._document.activeElement!==g._element.nativeElement||g.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(p.a)((function(){return g.autocomplete&&g.autocomplete.options?m.a.apply(void 0,Object(r.a)(g.autocomplete.options.map((function(e){return e.onSelectionChange})))):g._zone.onStable.asObservable().pipe(Object(S.a)(1),Object(x.a)((function(){return g.optionSelections})))})),this._scrollStrategy=u}return Object(i.a)(e,[{key:"ngAfterViewInit",value:function(){var e=this,t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular((function(){return t.addEventListener("blur",e._windowBlurHandler)}))}},{key:"ngOnChanges",value:function(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"_getOutsideClickStream",value:function(){var e=this;return Object(m.a)(Object(v.a)(this._document,"click"),Object(v.a)(this._document,"touchend")).pipe(Object(D.a)((function(t){var n=e._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,r=e._formField?e._formField._elementRef.nativeElement:null;return e._overlayAttached&&n!==e._element.nativeElement&&(!r||!r.contains(n))&&!!e._overlayRef&&!e._overlayRef.overlayElement.contains(n)})))}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then((function(){return t._setTriggerValue(e)}))}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this._element.nativeElement.disabled=e}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;if(t===w.h&&e.preventDefault(),this.activeOption&&t===w.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,r=t===w.r||t===w.e;this.panelOpen||t===w.q?this.autocomplete._keyManager.onKeydown(e):r&&this._canOpen()&&this.openPanel(),(r||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}}},{key:"_handleInput",value:function(e){var t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_scrollToOption",value:function(){var e=this.autocomplete._keyManager.activeItemIndex||0,t=Object(d.w)(e,this.autocomplete.options,this.autocomplete.optionGroups);if(0===e&&1===t)this.autocomplete._setScrollTop(0);else{var n=Object(d.x)(e+t,48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(n)}}},{key:"_subscribeToClosingActions",value:function(){var e=this,t=this._zone.onStable.asObservable().pipe(Object(S.a)(1)),n=this.autocomplete.options.changes.pipe(Object(O.a)((function(){return e._positionStrategy.reapplyLastPosition()})),Object(T.a)(0));return Object(m.a)(t,n).pipe(Object(x.a)((function(){var t=e.panelOpen;return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelOpen&&(e._overlayRef.updatePosition(),t!==e.panelOpen&&e.autocomplete.opened.emit()),e.panelClosingActions})),Object(S.a)(1)).subscribe((function(t){return e._setValueAndClose(t)}))}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}},{key:"_setValueAndClose",value:function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(e){this.autocomplete.options.forEach((function(t){t!=e&&t.selected&&t.deselect()}))}},{key:"_attachOverlay",value:function(){var e=this;if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(E.c)(this._element.nativeElement));var t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new C.i(this.autocomplete.template,this._viewContainerRef),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,t.keydownEvents().subscribe((function(t){(t.keyCode===w.h||t.keyCode===w.r&&t.altKey)&&(e._resetActiveItem(),e._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())})),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe((function(){e.panelOpen&&t&&t.updateSize({width:e._getPanelWidth()})})))),t&&!t.hasAttached()&&(t.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var n=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&n!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){return new b.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})}},{key:"_getOverlayPosition",value:function(){var e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}},{key:"_setStrategyPositions",value:function(e){var t,n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"}];t="above"===this.position?r:"below"===this.position?n:[].concat(n,r),e.withPositions(t)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}},{key:"_canOpen",value:function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}},{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=Object(l.c)(e)}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"panelClosingActions",get:function(){var e=this;return Object(m.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(D.a)((function(){return e._overlayAttached}))),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(D.a)((function(){return e._overlayAttached}))):Object(g.a)()).pipe(Object(F.a)((function(e){return e instanceof d.q?e:null})))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(b.c),c.Yb(c.V),c.Yb(c.C),c.Yb(c.i),c.Yb(Y),c.Yb(M.b,8),c.Yb(k.a,9),c.Yb(y.c,8),c.Yb(_.h))},e.\u0275dir=c.Tb({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&c.mc("focusin",(function(){return t._handleFocus()}))("blur",(function(){return t._onTouched()}))("input",(function(e){return t._handleInput(e)}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&c.Lb("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},exportAs:["matAutocompleteTrigger"],features:[c.Jb([V]),c.Ib]}),e}(),W=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[U],imports:[[d.p,b.f,d.j,y.b],_.c,d.p,d.j]}),e}()},"/POA":function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=34)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forwardEvent=t.EventEmitter=void 0;var r=function(){function e(){this._listeners=[],this._disposed=!1}return Object.defineProperty(e.prototype,"event",{get:function(){var e=this;return this._event||(this._event=function(t){return e._listeners.push(t),{dispose:function(){if(!e._disposed)for(var n=0;n<e._listeners.length;n++)if(e._listeners[n]===t)return void e._listeners.splice(n,1)}}}),this._event},enumerable:!1,configurable:!0}),e.prototype.fire=function(e,t){for(var n=[],r=0;r<this._listeners.length;r++)n.push(this._listeners[r]);for(r=0;r<n.length;r++)n[r].call(void 0,e,t)},e.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},e}();t.EventEmitter=r,t.forwardEvent=function(e,t){return e((function(e){return t.fire(e)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IUnicodeService=t.IOptionsService=t.ILogService=t.IInstantiationService=t.IDirtyRowService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;var r=n(14);t.IBufferService=r.createDecorator("BufferService"),t.ICoreMouseService=r.createDecorator("CoreMouseService"),t.ICoreService=r.createDecorator("CoreService"),t.ICharsetService=r.createDecorator("CharsetService"),t.IDirtyRowService=r.createDecorator("DirtyRowService"),t.IInstantiationService=r.createDecorator("InstantiationService"),t.ILogService=r.createDecorator("LogService"),t.IOptionsService=r.createDecorator("OptionsService"),t.IUnicodeService=r.createDecorator("UnicodeService")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.Disposable=void 0;var r=function(){function e(){this._disposables=[],this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed=!0;for(var e=0,t=this._disposables;e<t.length;e++)t[e].dispose();this._disposables.length=0},e.prototype.register=function(e){return this._disposables.push(e),e},e.prototype.unregister=function(e){var t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)},e}();function i(e){for(var t=0,n=e;t<n.length;t++)n[t].dispose();e.length=0}t.Disposable=r,t.disposeArray=i,t.getDisposeArrayDisposable=function(e){return{dispose:function(){return i(e)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=256,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;var o=n(8),a=n(3),s=n(6),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.content=0,t.fg=0,t.bg=0,t.extended=new s.ExtendedAttrs,t.combinedData="",t}return i(t,e),t.fromCharData=function(e){var n=new t;return n.setFromCharData(e),n},t.prototype.isCombined=function(){return 2097152&this.content},t.prototype.getWidth=function(){return this.content>>22},t.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?o.stringFromCodePoint(2097151&this.content):""},t.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},t.prototype.setFromCharData=function(e){this.fg=e[a.CHAR_DATA_ATTR_INDEX],this.bg=0;var t=!1;if(e[a.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[a.CHAR_DATA_CHAR_INDEX].length){var n=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=n&&n<=56319){var r=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=r&&r<=57343?this.content=1024*(n-55296)+r-56320+65536|e[a.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[a.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[a.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[a.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[a.CHAR_DATA_WIDTH_INDEX]<<22)},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(s.AttributeData);t.CellData=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISoundService=t.ISelectionService=t.IRenderService=t.IMouseService=t.ICoreBrowserService=t.ICharSizeService=void 0;var r=n(14);t.ICharSizeService=r.createDecorator("CharSizeService"),t.ICoreBrowserService=r.createDecorator("CoreBrowserService"),t.IMouseService=r.createDecorator("MouseService"),t.IRenderService=r.createDecorator("RenderService"),t.ISelectionService=r.createDecorator("SelectionService"),t.ISoundService=r.createDecorator("SoundService")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;var r=function(){function e(){this.fg=0,this.bg=0,this.extended=new i}return e.toColorRGB=function(e){return[e>>>16&255,e>>>8&255,255&e]},e.fromColorRGB=function(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},e.prototype.clone=function(){var t=new e;return t.fg=this.fg,t.bg=this.bg,t.extended=this.extended.clone(),t},e.prototype.isInverse=function(){return 67108864&this.fg},e.prototype.isBold=function(){return 134217728&this.fg},e.prototype.isUnderline=function(){return 268435456&this.fg},e.prototype.isBlink=function(){return 536870912&this.fg},e.prototype.isInvisible=function(){return 1073741824&this.fg},e.prototype.isItalic=function(){return 67108864&this.bg},e.prototype.isDim=function(){return 134217728&this.bg},e.prototype.getFgColorMode=function(){return 50331648&this.fg},e.prototype.getBgColorMode=function(){return 50331648&this.bg},e.prototype.isFgRGB=function(){return 50331648==(50331648&this.fg)},e.prototype.isBgRGB=function(){return 50331648==(50331648&this.bg)},e.prototype.isFgPalette=function(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)},e.prototype.isBgPalette=function(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)},e.prototype.isFgDefault=function(){return 0==(50331648&this.fg)},e.prototype.isBgDefault=function(){return 0==(50331648&this.bg)},e.prototype.isAttributeDefault=function(){return 0===this.fg&&0===this.bg},e.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},e.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},e.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},e.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},e.prototype.getUnderlineColor=function(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()},e.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},e.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()},e.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()},e.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()},e.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},e}();t.AttributeData=r;var i=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=-1),this.underlineStyle=e,this.underlineColor=t}return e.prototype.clone=function(){return new e(this.underlineStyle,this.underlineColor)},e.prototype.isEmpty=function(){return 0===this.underlineStyle},e}();t.ExtendedAttrs=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,n,r){e.addEventListener(t,n,r);var i=!1;return{dispose:function(){i||(i=!0,e.removeEventListener(t,n,r))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r="",i=t;i<n;++i){var o=e[i];o>65535?(o-=65536,r+=String.fromCharCode(55296+(o>>10))+String.fromCharCode(o%1024+56320)):r+=String.fromCharCode(o)}return r};var r=function(){function e(){this._interim=0}return e.prototype.clear=function(){this._interim=0},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var r=0,i=0;this._interim&&(56320<=(s=e.charCodeAt(i++))&&s<=57343?t[r++]=1024*(this._interim-55296)+s-56320+65536:(t[r++]=this._interim,t[r++]=s),this._interim=0);for(var o=i;o<n;++o){var a=e.charCodeAt(o);if(55296<=a&&a<=56319){if(++o>=n)return this._interim=a,r;var s;56320<=(s=e.charCodeAt(o))&&s<=57343?t[r++]=1024*(a-55296)+s-56320+65536:(t[r++]=a,t[r++]=s)}else t[r++]=a}return r},e}();t.StringToUtf32=r;var i=function(){function e(){this.interim=new Uint8Array(3)}return e.prototype.clear=function(){this.interim.fill(0)},e.prototype.decode=function(e,t){var n=e.length;if(!n)return 0;var r,i,o,a,s=0,u=0,l=0;if(this.interim[0]){var c=!1,d=this.interim[0];d&=192==(224&d)?31:224==(240&d)?15:7;for(var f=0,h=void 0;(h=63&this.interim[++f])&&f<4;)d<<=6,d|=h;for(var p=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,m=p-f;l<m;){if(l>=n)return 0;if(128!=(192&(h=e[l++]))){l--,c=!0;break}this.interim[f++]=h,d<<=6,d|=63&h}c||(2===p?d<128?l--:t[s++]=d:3===p?d<2048||d>=55296&&d<=57343||(t[s++]=d):d<65536||d>1114111||(t[s++]=d)),this.interim.fill(0)}for(var v=n-4,g=l;g<n;){for(;!(!(g<v)||128&(r=e[g])||128&(i=e[g+1])||128&(o=e[g+2])||128&(a=e[g+3]));)t[s++]=r,t[s++]=i,t[s++]=o,t[s++]=a,g+=4;if((r=e[g++])<128)t[s++]=r;else if(192==(224&r)){if(g>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[g++]))){g--;continue}if((u=(31&r)<<6|63&i)<128){g--;continue}t[s++]=u}else if(224==(240&r)){if(g>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[g++]))){g--;continue}if(g>=n)return this.interim[0]=r,this.interim[1]=i,s;if(128!=(192&(o=e[g++]))){g--;continue}if((u=(15&r)<<12|(63&i)<<6|63&o)<2048||u>=55296&&u<=57343)continue;t[s++]=u}else if(240==(248&r)){if(g>=n)return this.interim[0]=r,s;if(128!=(192&(i=e[g++]))){g--;continue}if(g>=n)return this.interim[0]=r,this.interim[1]=i,s;if(128!=(192&(o=e[g++]))){g--;continue}if(g>=n)return this.interim[0]=r,this.interim[1]=i,this.interim[2]=o,s;if(128!=(192&(a=e[g++]))){g--;continue}if((u=(7&r)<<18|(63&i)<<12|(63&o)<<6|63&a)<65536||u>1114111)continue;t[s++]=u}}return s},e}();t.Utf8ToUtf32=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHAR_ATLAS_CELL_SPACING=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0,t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.CHAR_ATLAS_CELL_SPACING=1},function(e,t,n){"use strict";var r,i,o,a;function s(e){var t=e.toString(16);return t.length<2?"0"+t:t}function u(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=void 0,function(e){e.toCss=function(e,t,n,r){return void 0!==r?"#"+s(e)+s(t)+s(n)+s(r):"#"+s(e)+s(t)+s(n)},e.toRgba=function(e,t,n,r){return void 0===r&&(r=255),(e<<24|t<<16|n<<8|r)>>>0}}(r=t.channels||(t.channels={})),(i=t.color||(t.color={})).blend=function(e,t){var n=(255&t.rgba)/255;if(1===n)return{css:t.css,rgba:t.rgba};var i=t.rgba>>16&255,o=t.rgba>>8&255,a=e.rgba>>24&255,s=e.rgba>>16&255,u=e.rgba>>8&255,l=a+Math.round(((t.rgba>>24&255)-a)*n),c=s+Math.round((i-s)*n),d=u+Math.round((o-u)*n);return{css:r.toCss(l,c,d),rgba:r.toRgba(l,c,d)}},i.isOpaque=function(e){return 255==(255&e.rgba)},i.ensureContrastRatio=function(e,t,n){var r=a.ensureContrastRatio(e.rgba,t.rgba,n);if(r)return a.toColor(r>>24&255,r>>16&255,r>>8&255)},i.opaque=function(e){var t=(255|e.rgba)>>>0,n=a.toChannels(t);return{css:r.toCss(n[0],n[1],n[2]),rgba:t}},i.opacity=function(e,t){var n=Math.round(255*t),i=a.toChannels(e.rgba),o=i[0],s=i[1],u=i[2];return{css:r.toCss(o,s,u,n),rgba:r.toRgba(o,s,u,n)}},(t.css||(t.css={})).toColor=function(e){switch(e.length){case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(e){function t(e,t,n){var r=e/255,i=t/255,o=n/255;return.2126*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(o=t.rgb||(t.rgb={})),function(e){function t(e,t,n){for(var r=e>>24&255,i=e>>16&255,a=e>>8&255,s=t>>24&255,l=t>>16&255,c=t>>8&255,d=u(o.relativeLuminance2(s,c,l),o.relativeLuminance2(r,i,a));d<n&&(s>0||l>0||c>0);)s-=Math.max(0,Math.ceil(.1*s)),l-=Math.max(0,Math.ceil(.1*l)),c-=Math.max(0,Math.ceil(.1*c)),d=u(o.relativeLuminance2(s,c,l),o.relativeLuminance2(r,i,a));return(s<<24|l<<16|c<<8|255)>>>0}function n(e,t,n){for(var r=e>>24&255,i=e>>16&255,a=e>>8&255,s=t>>24&255,l=t>>16&255,c=t>>8&255,d=u(o.relativeLuminance2(s,c,l),o.relativeLuminance2(r,i,a));d<n&&(s<255||l<255||c<255);)s=Math.min(255,s+Math.ceil(.1*(255-s))),l=Math.min(255,l+Math.ceil(.1*(255-l))),c=Math.min(255,c+Math.ceil(.1*(255-c))),d=u(o.relativeLuminance2(s,c,l),o.relativeLuminance2(r,i,a));return(s<<24|l<<16|c<<8|255)>>>0}e.ensureContrastRatio=function(e,r,i){var a=o.relativeLuminance(e>>8),s=o.relativeLuminance(r>>8);if(u(a,s)<i)return s<a?t(e,r,i):n(e,r,i)},e.reduceLuminance=t,e.increaseLuminance=n,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},e.toColor=function(e,t,n){return{css:r.toCss(e,t,n),rgba:r.toRgba(e,t,n)}}}(a=t.rgba||(t.rgba={})),t.toPaddedHex=s,t.contrastRatio=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.isSafari=t.isFirefox=void 0;var r="undefined"==typeof navigator,i=r?"node":navigator.userAgent,o=r?"node":navigator.platform;function a(e,t){return e.indexOf(t)>=0}t.isFirefox=!!~i.indexOf("Firefox"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.isMac=a(["Macintosh","MacIntel","MacPPC","Mac68K"],o),t.isIpad="iPad"===o,t.isIphone="iPhone"===o,t.isWindows=a(["Windows","Win16","Win32","WinCE"],o),t.isLinux=o.indexOf("Linux")>=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.C1=t.C0=void 0,function(e){e.NUL="\0",e.SOH="\x01",e.STX="\x02",e.ETX="\x03",e.EOT="\x04",e.ENQ="\x05",e.ACK="\x06",e.BEL="\x07",e.BS="\b",e.HT="\t",e.LF="\n",e.VT="\v",e.FF="\f",e.CR="\r",e.SO="\x0e",e.SI="\x0f",e.DLE="\x10",e.DC1="\x11",e.DC2="\x12",e.DC3="\x13",e.DC4="\x14",e.NAK="\x15",e.SYN="\x16",e.ETB="\x17",e.CAN="\x18",e.EM="\x19",e.SUB="\x1a",e.ESC="\x1b",e.FS="\x1c",e.GS="\x1d",e.RS="\x1e",e.US="\x1f",e.SP=" ",e.DEL="\x7f"}(t.C0||(t.C0={})),function(e){e.PAD="\x80",e.HOP="\x81",e.BPH="\x82",e.NBH="\x83",e.IND="\x84",e.NEL="\x85",e.SSA="\x86",e.ESA="\x87",e.HTS="\x88",e.HTJ="\x89",e.VTS="\x8a",e.PLD="\x8b",e.PLU="\x8c",e.RI="\x8d",e.SS2="\x8e",e.SS3="\x8f",e.DCS="\x90",e.PU1="\x91",e.PU2="\x92",e.STS="\x93",e.CCH="\x94",e.MW="\x95",e.SPA="\x96",e.EPA="\x97",e.SOS="\x98",e.SGCI="\x99",e.SCI="\x9a",e.CSI="\x9b",e.ST="\x9c",e.OSC="\x9d",e.PM="\x9e",e.APC="\x9f"}(t.C1||(t.C1={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;var r=n(3),i=n(9),o=n(25),a=n(6),s=n(28),u=n(10),l=n(17),c=function(){function e(e,t,n,r,i,o,a,s){this._container=e,this._alpha=r,this._colors=i,this._rendererId=o,this._bufferService=a,this._optionsService=s,this._scaledCharWidth=0,this._scaledCharHeight=0,this._scaledCellWidth=0,this._scaledCellHeight=0,this._scaledCharLeft=0,this._scaledCharTop=0,this._currentGlyphIdentifier={chars:"",code:0,bg:0,fg:0,bold:!1,dim:!1,italic:!1},this._canvas=document.createElement("canvas"),this._canvas.classList.add("xterm-"+t+"-layer"),this._canvas.style.zIndex=n.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return e.prototype.dispose=function(){var e;l.removeElementFromParent(this._canvas),null===(e=this._charAtlas)||void 0===e||e.dispose()},e.prototype._initCanvas=function(){this._ctx=s.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},e.prototype.onOptionsChanged=function(){},e.prototype.onBlur=function(){},e.prototype.onFocus=function(){},e.prototype.onCursorMove=function(){},e.prototype.onGridChanged=function(e,t){},e.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1)},e.prototype.setColors=function(e){this._refreshCharAtlas(e)},e.prototype._setTransparency=function(e){if(e!==this._alpha){var t=this._canvas;this._alpha=e,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,t),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},e.prototype._refreshCharAtlas=function(e){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=o.acquireCharAtlas(this._optionsService.options,this._rendererId,e,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},e.prototype.resize=function(e){this._scaledCellWidth=e.scaledCellWidth,this._scaledCellHeight=e.scaledCellHeight,this._scaledCharWidth=e.scaledCharWidth,this._scaledCharHeight=e.scaledCharHeight,this._scaledCharLeft=e.scaledCharLeft,this._scaledCharTop=e.scaledCharTop,this._canvas.width=e.scaledCanvasWidth,this._canvas.height=e.scaledCanvasHeight,this._canvas.style.width=e.canvasWidth+"px",this._canvas.style.height=e.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},e.prototype._fillCells=function(e,t,n,r){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight)},e.prototype._fillBottomLineAtCells=function(e,t,n){void 0===n&&(n=1),this._ctx.fillRect(e*this._scaledCellWidth,(t+1)*this._scaledCellHeight-window.devicePixelRatio-1,n*this._scaledCellWidth,window.devicePixelRatio)},e.prototype._fillLeftLineAtCell=function(e,t,n){this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,window.devicePixelRatio*n,this._scaledCellHeight)},e.prototype._strokeRectAtCell=function(e,t,n,r){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(e*this._scaledCellWidth+window.devicePixelRatio/2,t*this._scaledCellHeight+window.devicePixelRatio/2,n*this._scaledCellWidth-window.devicePixelRatio,r*this._scaledCellHeight-window.devicePixelRatio)},e.prototype._clearAll=function(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))},e.prototype._clearCells=function(e,t,n,r){this._alpha?this._ctx.clearRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(e*this._scaledCellWidth,t*this._scaledCellHeight,n*this._scaledCellWidth,r*this._scaledCellHeight))},e.prototype._fillCharTrueColor=function(e,t,n){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(n),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},e.prototype._drawChars=function(e,t,n){var o,a,s=this._getContrastColor(e);s||e.isFgRGB()||e.isBgRGB()?this._drawUncachedChars(e,t,n,s):(e.isInverse()?(o=e.isBgDefault()?i.INVERTED_DEFAULT_COLOR:e.getBgColor(),a=e.isFgDefault()?i.INVERTED_DEFAULT_COLOR:e.getFgColor()):(a=e.isBgDefault()?r.DEFAULT_COLOR:e.getBgColor(),o=e.isFgDefault()?r.DEFAULT_COLOR:e.getFgColor()),o+=this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8?8:0,this._currentGlyphIdentifier.chars=e.getChars()||r.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=e.getCode()||r.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=o,this._currentGlyphIdentifier.bold=!!e.isBold(),this._currentGlyphIdentifier.dim=!!e.isDim(),this._currentGlyphIdentifier.italic=!!e.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(e,t,n))},e.prototype._drawUncachedChars=function(e,t,n,r){if(this._ctx.save(),this._ctx.font=this._getFont(!!e.isBold(),!!e.isItalic()),this._ctx.textBaseline="middle",e.isInverse())if(r)this._ctx.fillStyle=r.css;else if(e.isBgDefault())this._ctx.fillStyle=u.color.opaque(this._colors.background).css;else if(e.isBgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var o=e.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),this._ctx.fillStyle=this._colors.ansi[o].css}else if(r)this._ctx.fillStyle=r.css;else if(e.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(e.isFgRGB())this._ctx.fillStyle="rgb("+a.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var s=e.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&s<8&&(s+=8),this._ctx.fillStyle=this._colors.ansi[s].css}this._clipRow(n),e.isDim()&&(this._ctx.globalAlpha=i.DIM_OPACITY),this._ctx.fillText(e.getChars(),t*this._scaledCellWidth+this._scaledCharLeft,n*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},e.prototype._clipRow=function(e){this._ctx.beginPath(),this._ctx.rect(0,e*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},e.prototype._getFont=function(e,t){return(t?"italic":"")+" "+(e?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},e.prototype._getContrastColor=function(e){if(1!==this._optionsService.options.minimumContrastRatio){var t=this._colors.contrastCache.getColor(e.bg,e.fg);if(void 0!==t)return t||void 0;var n=e.getFgColor(),r=e.getFgColorMode(),i=e.getBgColor(),o=e.getBgColorMode(),a=!!e.isInverse(),s=!!e.isInverse();if(a){var l=n;n=i,i=l;var c=r;r=o,o=c}var d=this._resolveBackgroundRgba(o,i,a),f=this._resolveForegroundRgba(r,n,a,s),h=u.rgba.ensureContrastRatio(d,f,this._optionsService.options.minimumContrastRatio);if(h){var p={css:u.channels.toCss(h>>24&255,h>>16&255,h>>8&255),rgba:h};return this._colors.contrastCache.setColor(e.bg,e.fg,p),p}this._colors.contrastCache.setColor(e.bg,e.fg,null)}},e.prototype._resolveBackgroundRgba=function(e,t,n){switch(e){case 16777216:case 33554432:return this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.foreground.rgba:this._colors.background.rgba}},e.prototype._resolveForegroundRgba=function(e,t,n,r){switch(e){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&r&&t<8&&(t+=8),this._colors.ansi[t].rgba;case 50331648:return t<<8;case 0:default:return n?this._colors.background.rgba:this._colors.foreground.rgba}},e}();t.BaseRenderLayer=c},function(e,t,n){"use strict";function r(e,t,n){t.di$target===t?t.di$dependencies.push({id:e,index:n}):(t.di$dependencies=[{id:e,index:n}],t.di$target=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0,t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e.di$dependencies||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);var n=function e(t,n,i){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");r(e,t,i)};return n.toString=function(){return e},t.serviceRegistry.set(e,n),n}},function(e,t,n){"use strict";function r(e,t,n,r){if(void 0===n&&(n=0),void 0===r&&(r=e.length),n>=e.length)return e;r=r>=e.length?e.length:(e.length+r)%e.length;for(var i=n=(e.length+n)%e.length;i<r;++i)e[i]=t;return e}Object.defineProperty(t,"__esModule",{value:!0}),t.concat=t.fillFallback=t.fill=void 0,t.fill=function(e,t,n,i){return e.fill?e.fill(t,n,i):r(e,t,n,i)},t.fillFallback=r,t.concat=function(e,t){var n=new e.constructor(e.length+t.length);return n.set(e),n.set(t,e.length),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BufferLine=t.DEFAULT_ATTR_DATA=void 0;var r=n(8),i=n(3),o=n(4),a=n(6);t.DEFAULT_ATTR_DATA=Object.freeze(new a.AttributeData);var s=function(){function e(e,t,n){void 0===n&&(n=!1),this.isWrapped=n,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*e);for(var r=t||o.CellData.fromCharData([0,i.NULL_CELL_CHAR,i.NULL_CELL_WIDTH,i.NULL_CELL_CODE]),a=0;a<e;++a)this.setCell(a,r);this.length=e}return e.prototype.get=function(e){var t=this._data[3*e+0],n=2097151&t;return[this._data[3*e+1],2097152&t?this._combined[e]:n?r.stringFromCodePoint(n):"",t>>22,2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):n]},e.prototype.set=function(e,t){this._data[3*e+1]=t[i.CHAR_DATA_ATTR_INDEX],t[i.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[e]=t[1],this._data[3*e+0]=2097152|e|t[i.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*e+0]=t[i.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|t[i.CHAR_DATA_WIDTH_INDEX]<<22},e.prototype.getWidth=function(e){return this._data[3*e+0]>>22},e.prototype.hasWidth=function(e){return 12582912&this._data[3*e+0]},e.prototype.getFg=function(e){return this._data[3*e+1]},e.prototype.getBg=function(e){return this._data[3*e+2]},e.prototype.hasContent=function(e){return 4194303&this._data[3*e+0]},e.prototype.getCodePoint=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e].charCodeAt(this._combined[e].length-1):2097151&t},e.prototype.isCombined=function(e){return 2097152&this._data[3*e+0]},e.prototype.getString=function(e){var t=this._data[3*e+0];return 2097152&t?this._combined[e]:2097151&t?r.stringFromCodePoint(2097151&t):""},e.prototype.loadCell=function(e,t){var n=3*e;return t.content=this._data[n+0],t.fg=this._data[n+1],t.bg=this._data[n+2],2097152&t.content&&(t.combinedData=this._combined[e]),268435456&t.bg&&(t.extended=this._extendedAttrs[e]),t},e.prototype.setCell=function(e,t){2097152&t.content&&(this._combined[e]=t.combinedData),268435456&t.bg&&(this._extendedAttrs[e]=t.extended),this._data[3*e+0]=t.content,this._data[3*e+1]=t.fg,this._data[3*e+2]=t.bg},e.prototype.setCellFromCodePoint=function(e,t,n,r,i,o){268435456&i&&(this._extendedAttrs[e]=o),this._data[3*e+0]=t|n<<22,this._data[3*e+1]=r,this._data[3*e+2]=i},e.prototype.addCodepointToCell=function(e,t){var n=this._data[3*e+0];2097152&n?this._combined[e]+=r.stringFromCodePoint(t):(2097151&n?(this._combined[e]=r.stringFromCodePoint(2097151&n)+r.stringFromCodePoint(t),n&=-2097152,n|=2097152):n=t|1<<22,this._data[3*e+0]=n)},e.prototype.insertCells=function(e,t,n,r){if((e%=this.length)&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),t<this.length-e){for(var i=new o.CellData,s=this.length-e-t-1;s>=0;--s)this.setCell(e+t+s,this.loadCell(e+s,i));for(s=0;s<t;++s)this.setCell(e+s,n)}else for(s=e;s<this.length;++s)this.setCell(s,n);2===this.getWidth(this.length-1)&&this.setCellFromCodePoint(this.length-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs)},e.prototype.deleteCells=function(e,t,n,r){if(t<this.length-(e%=this.length)){for(var i=new o.CellData,s=0;s<this.length-e-t;++s)this.setCell(e+s,this.loadCell(e+t+s,i));for(s=this.length-t;s<this.length;++s)this.setCell(s,n)}else for(s=e;s<this.length;++s)this.setCell(s,n);e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),0!==this.getWidth(e)||this.hasContent(e)||this.setCellFromCodePoint(e,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs)},e.prototype.replaceCells=function(e,t,n,r){for(e&&2===this.getWidth(e-1)&&this.setCellFromCodePoint(e-1,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs),t<this.length&&2===this.getWidth(t-1)&&this.setCellFromCodePoint(t,0,1,(null==r?void 0:r.fg)||0,(null==r?void 0:r.bg)||0,(null==r?void 0:r.extended)||new a.ExtendedAttrs);e<t&&e<this.length;)this.setCell(e++,n)},e.prototype.resize=function(e,t){if(e!==this.length){if(e>this.length){var n=new Uint32Array(3*e);this.length&&n.set(3*e<this._data.length?this._data.subarray(0,3*e):this._data),this._data=n;for(var r=this.length;r<e;++r)this.setCell(r,t)}else if(e){(n=new Uint32Array(3*e)).set(this._data.subarray(0,3*e)),this._data=n;var i=Object.keys(this._combined);for(r=0;r<i.length;r++){var o=parseInt(i[r],10);o>=e&&delete this._combined[o]}}else this._data=new Uint32Array(0),this._combined={};this.length=e}},e.prototype.fill=function(e){this._combined={},this._extendedAttrs={};for(var t=0;t<this.length;++t)this.setCell(t,e)},e.prototype.copyFrom=function(e){for(var t in this.length!==e.length?this._data=new Uint32Array(e._data):this._data.set(e._data),this.length=e.length,this._combined={},e._combined)this._combined[t]=e._combined[t];for(var t in this._extendedAttrs={},e._extendedAttrs)this._extendedAttrs[t]=e._extendedAttrs[t];this.isWrapped=e.isWrapped},e.prototype.clone=function(){var t=new e(0);for(var n in t._data=new Uint32Array(this._data),t.length=this.length,this._combined)t._combined[n]=this._combined[n];for(var n in this._extendedAttrs)t._extendedAttrs[n]=this._extendedAttrs[n];return t.isWrapped=this.isWrapped,t},e.prototype.getTrimmedLength=function(){for(var e=this.length-1;e>=0;--e)if(4194303&this._data[3*e+0])return e+(this._data[3*e+0]>>22);return 0},e.prototype.copyCellsFrom=function(e,t,n,r,i){var o=e._data;if(i)for(var a=r-1;a>=0;a--)for(var s=0;s<3;s++)this._data[3*(n+a)+s]=o[3*(t+a)+s];else for(a=0;a<r;a++)for(s=0;s<3;s++)this._data[3*(n+a)+s]=o[3*(t+a)+s];var u=Object.keys(e._combined);for(s=0;s<u.length;s++){var l=parseInt(u[s],10);l>=t&&(this._combined[l-t+n]=e._combined[l])}},e.prototype.translateToString=function(e,t,n){void 0===e&&(e=!1),void 0===t&&(t=0),void 0===n&&(n=this.length),e&&(n=Math.min(n,this.getTrimmedLength()));for(var o="";t<n;){var a=this._data[3*t+0],s=2097151&a;o+=2097152&a?this._combined[t]:s?r.stringFromCodePoint(s):i.WHITESPACE_CELL_CHAR,t+=a>>22||1}return o},e}();t.BufferLine=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeElementFromParent=void 0,t.removeElementFromParent=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null===(e=null==o?void 0:o.parentElement)||void 0===e||e.removeChild(o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tooMuchOutput=t.promptLabel=void 0,t.promptLabel="Terminal input",t.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.InputHandler=t.WindowsOptionsReportType=void 0;var o,a=n(12),s=n(20),u=n(39),l=n(2),c=n(15),d=n(8),f=n(16),h=n(0),p=n(3),m=n(4),v=n(6),g=n(22),y=n(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function _(e,t){if(e>24)return t.setWinLines||!1;switch(e){case 1:return!!t.restoreWin;case 2:return!!t.minimizeWin;case 3:return!!t.setWinPosition;case 4:return!!t.setWinSizePixels;case 5:return!!t.raiseWin;case 6:return!!t.lowerWin;case 7:return!!t.refreshWin;case 8:return!!t.setWinSizeChars;case 9:return!!t.maximizeWin;case 10:return!!t.fullscreenWin;case 11:return!!t.getWinState;case 13:return!!t.getWinPosition;case 14:return!!t.getWinSizePixels;case 15:return!!t.getScreenSizePixels;case 16:return!!t.getCellSizePixels;case 18:return!!t.getWinSizeChars;case 19:return!!t.getScreenSizeChars;case 20:return!!t.getIconTitle;case 21:return!!t.getWinTitle;case 22:return!!t.pushTitle;case 23:return!!t.popTitle;case 24:return!!t.setWinLines}return!1}!function(e){e[e.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",e[e.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(o=t.WindowsOptionsReportType||(t.WindowsOptionsReportType={}));var w=function(){function e(e,t,n,r){this._bufferService=e,this._coreService=t,this._logService=n,this._optionsService=r,this._data=new Uint32Array(0)}return e.prototype.hook=function(e){this._data=new Uint32Array(0)},e.prototype.put=function(e,t,n){this._data=c.concat(this._data,e.subarray(t,n))},e.prototype.unhook=function(e){if(e){var t=d.utf32ToString(this._data);switch(this._data=new Uint32Array(0),t){case'"q':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r0"q'+a.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(a.C0.ESC+'P1$r61;1"p'+a.C0.ESC+"\\");case"r":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+(this._bufferService.buffer.scrollTop+1)+";"+(this._bufferService.buffer.scrollBottom+1)+"r"+a.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r0m"+a.C0.ESC+"\\");case" q":var n={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return this._coreService.triggerDataEvent(a.C0.ESC+"P1$r"+(n-=this._optionsService.options.cursorBlink?1:0)+" q"+a.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",t),this._coreService.triggerDataEvent(a.C0.ESC+"P0$r"+a.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},e}(),E=function(e){function t(t,n,r,i,o,l,c,p,v){void 0===v&&(v=new u.EscapeSequenceParser);var y=e.call(this)||this;y._bufferService=t,y._charsetService=n,y._coreService=r,y._dirtyRowService=i,y._logService=o,y._optionsService=l,y._coreMouseService=c,y._unicodeService=p,y._parser=v,y._parseBuffer=new Uint32Array(4096),y._stringDecoder=new d.StringToUtf32,y._utf8Decoder=new d.Utf8ToUtf32,y._workCell=new m.CellData,y._windowTitle="",y._iconName="",y._windowTitleStack=[],y._iconNameStack=[],y._curAttrData=f.DEFAULT_ATTR_DATA.clone(),y._eraseAttrDataInternal=f.DEFAULT_ATTR_DATA.clone(),y._onRequestBell=new h.EventEmitter,y._onRequestRefreshRows=new h.EventEmitter,y._onRequestReset=new h.EventEmitter,y._onRequestScroll=new h.EventEmitter,y._onRequestSyncScrollBar=new h.EventEmitter,y._onRequestWindowsOptionsReport=new h.EventEmitter,y._onA11yChar=new h.EventEmitter,y._onA11yTab=new h.EventEmitter,y._onCursorMove=new h.EventEmitter,y._onLineFeed=new h.EventEmitter,y._onScroll=new h.EventEmitter,y._onTitleChange=new h.EventEmitter,y.register(y._parser),y._parser.setCsiHandlerFallback((function(e,t){y._logService.debug("Unknown CSI code: ",{identifier:y._parser.identToString(e),params:t.toArray()})})),y._parser.setEscHandlerFallback((function(e){y._logService.debug("Unknown ESC code: ",{identifier:y._parser.identToString(e)})})),y._parser.setExecuteHandlerFallback((function(e){y._logService.debug("Unknown EXECUTE code: ",{code:e})})),y._parser.setOscHandlerFallback((function(e,t,n){y._logService.debug("Unknown OSC code: ",{identifier:e,action:t,data:n})})),y._parser.setDcsHandlerFallback((function(e,t,n){"HOOK"===t&&(n=n.toArray()),y._logService.debug("Unknown DCS code: ",{identifier:y._parser.identToString(e),action:t,payload:n})})),y._parser.setPrintHandler((function(e,t,n){return y.print(e,t,n)})),y._parser.setCsiHandler({final:"@"},(function(e){return y.insertChars(e)})),y._parser.setCsiHandler({intermediates:" ",final:"@"},(function(e){return y.scrollLeft(e)})),y._parser.setCsiHandler({final:"A"},(function(e){return y.cursorUp(e)})),y._parser.setCsiHandler({intermediates:" ",final:"A"},(function(e){return y.scrollRight(e)})),y._parser.setCsiHandler({final:"B"},(function(e){return y.cursorDown(e)})),y._parser.setCsiHandler({final:"C"},(function(e){return y.cursorForward(e)})),y._parser.setCsiHandler({final:"D"},(function(e){return y.cursorBackward(e)})),y._parser.setCsiHandler({final:"E"},(function(e){return y.cursorNextLine(e)})),y._parser.setCsiHandler({final:"F"},(function(e){return y.cursorPrecedingLine(e)})),y._parser.setCsiHandler({final:"G"},(function(e){return y.cursorCharAbsolute(e)})),y._parser.setCsiHandler({final:"H"},(function(e){return y.cursorPosition(e)})),y._parser.setCsiHandler({final:"I"},(function(e){return y.cursorForwardTab(e)})),y._parser.setCsiHandler({final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({prefix:"?",final:"J"},(function(e){return y.eraseInDisplay(e)})),y._parser.setCsiHandler({final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({prefix:"?",final:"K"},(function(e){return y.eraseInLine(e)})),y._parser.setCsiHandler({final:"L"},(function(e){return y.insertLines(e)})),y._parser.setCsiHandler({final:"M"},(function(e){return y.deleteLines(e)})),y._parser.setCsiHandler({final:"P"},(function(e){return y.deleteChars(e)})),y._parser.setCsiHandler({final:"S"},(function(e){return y.scrollUp(e)})),y._parser.setCsiHandler({final:"T"},(function(e){return y.scrollDown(e)})),y._parser.setCsiHandler({final:"X"},(function(e){return y.eraseChars(e)})),y._parser.setCsiHandler({final:"Z"},(function(e){return y.cursorBackwardTab(e)})),y._parser.setCsiHandler({final:"`"},(function(e){return y.charPosAbsolute(e)})),y._parser.setCsiHandler({final:"a"},(function(e){return y.hPositionRelative(e)})),y._parser.setCsiHandler({final:"b"},(function(e){return y.repeatPrecedingCharacter(e)})),y._parser.setCsiHandler({final:"c"},(function(e){return y.sendDeviceAttributesPrimary(e)})),y._parser.setCsiHandler({prefix:">",final:"c"},(function(e){return y.sendDeviceAttributesSecondary(e)})),y._parser.setCsiHandler({final:"d"},(function(e){return y.linePosAbsolute(e)})),y._parser.setCsiHandler({final:"e"},(function(e){return y.vPositionRelative(e)})),y._parser.setCsiHandler({final:"f"},(function(e){return y.hVPosition(e)})),y._parser.setCsiHandler({final:"g"},(function(e){return y.tabClear(e)})),y._parser.setCsiHandler({final:"h"},(function(e){return y.setMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"h"},(function(e){return y.setModePrivate(e)})),y._parser.setCsiHandler({final:"l"},(function(e){return y.resetMode(e)})),y._parser.setCsiHandler({prefix:"?",final:"l"},(function(e){return y.resetModePrivate(e)})),y._parser.setCsiHandler({final:"m"},(function(e){return y.charAttributes(e)})),y._parser.setCsiHandler({final:"n"},(function(e){return y.deviceStatus(e)})),y._parser.setCsiHandler({prefix:"?",final:"n"},(function(e){return y.deviceStatusPrivate(e)})),y._parser.setCsiHandler({intermediates:"!",final:"p"},(function(e){return y.softReset(e)})),y._parser.setCsiHandler({intermediates:" ",final:"q"},(function(e){return y.setCursorStyle(e)})),y._parser.setCsiHandler({final:"r"},(function(e){return y.setScrollRegion(e)})),y._parser.setCsiHandler({final:"s"},(function(e){return y.saveCursor(e)})),y._parser.setCsiHandler({final:"t"},(function(e){return y.windowOptions(e)})),y._parser.setCsiHandler({final:"u"},(function(e){return y.restoreCursor(e)})),y._parser.setCsiHandler({intermediates:"'",final:"}"},(function(e){return y.insertColumns(e)})),y._parser.setCsiHandler({intermediates:"'",final:"~"},(function(e){return y.deleteColumns(e)})),y._parser.setExecuteHandler(a.C0.BEL,(function(){return y.bell()})),y._parser.setExecuteHandler(a.C0.LF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.VT,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.FF,(function(){return y.lineFeed()})),y._parser.setExecuteHandler(a.C0.CR,(function(){return y.carriageReturn()})),y._parser.setExecuteHandler(a.C0.BS,(function(){return y.backspace()})),y._parser.setExecuteHandler(a.C0.HT,(function(){return y.tab()})),y._parser.setExecuteHandler(a.C0.SO,(function(){return y.shiftOut()})),y._parser.setExecuteHandler(a.C0.SI,(function(){return y.shiftIn()})),y._parser.setExecuteHandler(a.C1.IND,(function(){return y.index()})),y._parser.setExecuteHandler(a.C1.NEL,(function(){return y.nextLine()})),y._parser.setExecuteHandler(a.C1.HTS,(function(){return y.tabSet()})),y._parser.setOscHandler(0,new g.OscHandler((function(e){y.setTitle(e),y.setIconName(e)}))),y._parser.setOscHandler(1,new g.OscHandler((function(e){return y.setIconName(e)}))),y._parser.setOscHandler(2,new g.OscHandler((function(e){return y.setTitle(e)}))),y._parser.setEscHandler({final:"7"},(function(){return y.saveCursor()})),y._parser.setEscHandler({final:"8"},(function(){return y.restoreCursor()})),y._parser.setEscHandler({final:"D"},(function(){return y.index()})),y._parser.setEscHandler({final:"E"},(function(){return y.nextLine()})),y._parser.setEscHandler({final:"H"},(function(){return y.tabSet()})),y._parser.setEscHandler({final:"M"},(function(){return y.reverseIndex()})),y._parser.setEscHandler({final:"="},(function(){return y.keypadApplicationMode()})),y._parser.setEscHandler({final:">"},(function(){return y.keypadNumericMode()})),y._parser.setEscHandler({final:"c"},(function(){return y.fullReset()})),y._parser.setEscHandler({final:"n"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"o"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"|"},(function(){return y.setgLevel(3)})),y._parser.setEscHandler({final:"}"},(function(){return y.setgLevel(2)})),y._parser.setEscHandler({final:"~"},(function(){return y.setgLevel(1)})),y._parser.setEscHandler({intermediates:"%",final:"@"},(function(){return y.selectDefaultCharset()})),y._parser.setEscHandler({intermediates:"%",final:"G"},(function(){return y.selectDefaultCharset()}));var b=function(e){_._parser.setEscHandler({intermediates:"(",final:e},(function(){return y.selectCharset("("+e)})),_._parser.setEscHandler({intermediates:")",final:e},(function(){return y.selectCharset(")"+e)})),_._parser.setEscHandler({intermediates:"*",final:e},(function(){return y.selectCharset("*"+e)})),_._parser.setEscHandler({intermediates:"+",final:e},(function(){return y.selectCharset("+"+e)})),_._parser.setEscHandler({intermediates:"-",final:e},(function(){return y.selectCharset("-"+e)})),_._parser.setEscHandler({intermediates:".",final:e},(function(){return y.selectCharset("."+e)})),_._parser.setEscHandler({intermediates:"/",final:e},(function(){return y.selectCharset("/"+e)}))},_=this;for(var E in s.CHARSETS)b(E);return y._parser.setEscHandler({intermediates:"#",final:"8"},(function(){return y.screenAlignmentPattern()})),y._parser.setErrorHandler((function(e){return y._logService.error("Parsing error: ",e),e})),y._parser.setDcsHandler({intermediates:"$",final:"q"},new w(y._bufferService,y._coreService,y._logService,y._optionsService)),y}return i(t,e),Object.defineProperty(t.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.parse=function(e){var t=this._bufferService.buffer,n=t.x,r=t.y;if(this._logService.debug("parsing data",e),this._parseBuffer.length<e.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(e.length,131072))),this._dirtyRowService.clearRange(),e.length>131072)for(var i=0;i<e.length;i+=131072){var o=i+131072<e.length?i+131072:e.length,a="string"==typeof e?this._stringDecoder.decode(e.substring(i,o),this._parseBuffer):this._utf8Decoder.decode(e.subarray(i,o),this._parseBuffer);this._parser.parse(this._parseBuffer,a)}else a="string"==typeof e?this._stringDecoder.decode(e,this._parseBuffer):this._utf8Decoder.decode(e,this._parseBuffer),this._parser.parse(this._parseBuffer,a);(t=this._bufferService.buffer).x===n&&t.y===r||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},t.prototype.print=function(e,t,n){var r,i,o=this._bufferService.buffer,a=this._charsetService.charset,s=this._optionsService.options.screenReaderMode,u=this._bufferService.cols,l=this._coreService.decPrivateModes.wraparound,c=this._coreService.modes.insertMode,f=this._curAttrData,h=o.lines.get(o.ybase+o.y);this._dirtyRowService.markDirty(o.y),o.x&&n-t>0&&2===h.getWidth(o.x-1)&&h.setCellFromCodePoint(o.x-1,0,1,f.fg,f.bg,f.extended);for(var m=t;m<n;++m){if(i=this._unicodeService.wcwidth(r=e[m]),r<127&&a){var v=a[String.fromCharCode(r)];v&&(r=v.charCodeAt(0))}if(s&&this._onA11yChar.fire(d.stringFromCodePoint(r)),i||!o.x){if(o.x+i-1>=u)if(l){for(;o.x<u;)h.setCellFromCodePoint(o.x++,0,1,f.fg,f.bg,f.extended);o.x=0,o.y++,o.y===o.scrollBottom+1?(o.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(o.y>=this._bufferService.rows&&(o.y=this._bufferService.rows-1),o.lines.get(o.ybase+o.y).isWrapped=!0),h=o.lines.get(o.ybase+o.y)}else if(o.x=u-1,2===i)continue;if(c&&(h.insertCells(o.x,i,o.getNullCell(f),f),2===h.getWidth(u-1)&&h.setCellFromCodePoint(u-1,p.NULL_CELL_CODE,p.NULL_CELL_WIDTH,f.fg,f.bg,f.extended)),h.setCellFromCodePoint(o.x++,r,i,f.fg,f.bg,f.extended),i>0)for(;--i;)h.setCellFromCodePoint(o.x++,0,0,f.fg,f.bg,f.extended)}else h.getWidth(o.x-1)?h.addCodepointToCell(o.x-1,r):h.addCodepointToCell(o.x-2,r)}n-t>0&&(h.loadCell(o.x-1,this._workCell),this._parser.precedingCodepoint=2===this._workCell.getWidth()||this._workCell.getCode()>65535?0:this._workCell.isCombined()?this._workCell.getChars().charCodeAt(0):this._workCell.content),o.x<u&&n-t>0&&0===h.getWidth(o.x)&&!h.hasContent(o.x)&&h.setCellFromCodePoint(o.x,0,1,f.fg,f.bg,f.extended),this._dirtyRowService.markDirty(o.y)},t.prototype.addCsiHandler=function(e,t){var n=this;return this._parser.addCsiHandler(e,"t"!==e.final||e.prefix||e.intermediates?t:function(e){return!_(e.params[0],n._optionsService.options.windowOptions)||t(e)})},t.prototype.addDcsHandler=function(e,t){return this._parser.addDcsHandler(e,new y.DcsHandler(t))},t.prototype.addEscHandler=function(e,t){return this._parser.addEscHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._parser.addOscHandler(e,new g.OscHandler(t))},t.prototype.bell=function(){this._onRequestBell.fire()},t.prototype.lineFeed=function(){var e=this._bufferService.buffer;this._dirtyRowService.markDirty(e.y),this._optionsService.options.convertEol&&(e.x=0),e.y++,e.y===e.scrollBottom+1?(e.y--,this._onRequestScroll.fire(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),e.x>=this._bufferService.cols&&e.x--,this._dirtyRowService.markDirty(e.y),this._onLineFeed.fire()},t.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},t.prototype.backspace=function(){var e,t=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(t.x>0&&t.x--);if(this._restrictCursor(this._bufferService.cols),t.x>0)t.x--;else if(0===t.x&&t.y>t.scrollTop&&t.y<=t.scrollBottom&&(null===(e=t.lines.get(t.ybase+t.y))||void 0===e?void 0:e.isWrapped)){t.lines.get(t.ybase+t.y).isWrapped=!1,t.y--,t.x=this._bufferService.cols-1;var n=t.lines.get(t.ybase+t.y);n.hasWidth(t.x)&&!n.hasContent(t.x)&&t.x--}this._restrictCursor()},t.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var e=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-e)}},t.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},t.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},t.prototype._restrictCursor=function(e){void 0===e&&(e=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(e,Math.max(0,this._bufferService.buffer.x)),this._bufferService.buffer.y=this._coreService.decPrivateModes.origin?Math.min(this._bufferService.buffer.scrollBottom,Math.max(this._bufferService.buffer.scrollTop,this._bufferService.buffer.y)):Math.min(this._bufferService.rows-1,Math.max(0,this._bufferService.buffer.y)),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._setCursor=function(e,t){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=e,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+t):(this._bufferService.buffer.x=e,this._bufferService.buffer.y=t),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype._moveCursor=function(e,t){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+e,this._bufferService.buffer.y+t)},t.prototype.cursorUp=function(e){var t=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;this._moveCursor(0,t>=0?-Math.min(t,e.params[0]||1):-(e.params[0]||1))},t.prototype.cursorDown=function(e){var t=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;this._moveCursor(0,t>=0?Math.min(t,e.params[0]||1):e.params[0]||1)},t.prototype.cursorForward=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.cursorBackward=function(e){this._moveCursor(-(e.params[0]||1),0)},t.prototype.cursorNextLine=function(e){this.cursorDown(e),this._bufferService.buffer.x=0},t.prototype.cursorPrecedingLine=function(e){this.cursorUp(e),this._bufferService.buffer.x=0},t.prototype.cursorCharAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.cursorPosition=function(e){this._setCursor(e.length>=2?(e.params[1]||1)-1:0,(e.params[0]||1)-1)},t.prototype.charPosAbsolute=function(e){this._setCursor((e.params[0]||1)-1,this._bufferService.buffer.y)},t.prototype.hPositionRelative=function(e){this._moveCursor(e.params[0]||1,0)},t.prototype.linePosAbsolute=function(e){this._setCursor(this._bufferService.buffer.x,(e.params[0]||1)-1)},t.prototype.vPositionRelative=function(e){this._moveCursor(0,e.params[0]||1)},t.prototype.hVPosition=function(e){this.cursorPosition(e)},t.prototype.tabClear=function(e){var t=e.params[0];0===t?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:3===t&&(this._bufferService.buffer.tabs={})},t.prototype.cursorForwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1;t--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},t.prototype.cursorBackwardTab=function(e){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.x=n.prevStop()},t.prototype._eraseInBufferLine=function(e,t,n,r){void 0===r&&(r=!1);var i=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);i.replaceCells(t,n,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),r&&(i.isWrapped=!1)},t.prototype._resetBufferLine=function(e){var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+e);t.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),t.isWrapped=!1},t.prototype.eraseInDisplay=function(e){var t;switch(this._restrictCursor(),e.params[0]){case 0:for(this._dirtyRowService.markDirty(t=this._bufferService.buffer.y),this._eraseInBufferLine(t++,this._bufferService.buffer.x,this._bufferService.cols,0===this._bufferService.buffer.x);t<this._bufferService.rows;t++)this._resetBufferLine(t);this._dirtyRowService.markDirty(t);break;case 1:for(this._dirtyRowService.markDirty(t=this._bufferService.buffer.y),this._eraseInBufferLine(t,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(t+1).isWrapped=!1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 2:for(this._dirtyRowService.markDirty((t=this._bufferService.rows)-1);t--;)this._resetBufferLine(t);this._dirtyRowService.markDirty(0);break;case 3:var n=this._bufferService.buffer.lines.length-this._bufferService.rows;n>0&&(this._bufferService.buffer.lines.trimStart(n),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-n,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-n,0),this._onScroll.fire(0))}},t.prototype.eraseInLine=function(e){switch(this._restrictCursor(),e.params[0]){case 0:this._eraseInBufferLine(this._bufferService.buffer.y,this._bufferService.buffer.x,this._bufferService.cols);break;case 1:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.buffer.x+1);break;case 2:this._eraseInBufferLine(this._bufferService.buffer.y,0,this._bufferService.cols)}this._dirtyRowService.markDirty(this._bufferService.buffer.y)},t.prototype.insertLines=function(e){this._restrictCursor();var t=e.params[0]||1,n=this._bufferService.buffer;if(!(n.y>n.scrollBottom||n.y<n.scrollTop)){for(var r=n.ybase+n.y,i=this._bufferService.rows-1+n.ybase-(this._bufferService.rows-1-n.scrollBottom)+1;t--;)n.lines.splice(i-1,1),n.lines.splice(r,0,n.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(n.y,n.scrollBottom),n.x=0}},t.prototype.deleteLines=function(e){this._restrictCursor();var t=e.params[0]||1,n=this._bufferService.buffer;if(!(n.y>n.scrollBottom||n.y<n.scrollTop)){var r,i=n.ybase+n.y;for(r=this._bufferService.rows-1+n.ybase-(r=this._bufferService.rows-1-n.scrollBottom);t--;)n.lines.splice(i,1),n.lines.splice(r,0,n.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(n.y,n.scrollBottom),n.x=0}},t.prototype.insertChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);t&&(t.insertCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},t.prototype.deleteChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);t&&(t.deleteCells(this._bufferService.buffer.x,e.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},t.prototype.scrollUp=function(e){for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.lines.splice(n.ybase+n.scrollTop,1),n.lines.splice(n.ybase+n.scrollBottom,0,n.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(n.scrollTop,n.scrollBottom)},t.prototype.scrollDown=function(e){for(var t=e.params[0]||1,n=this._bufferService.buffer;t--;)n.lines.splice(n.ybase+n.scrollBottom,1),n.lines.splice(n.ybase+n.scrollTop,0,n.getBlankLine(f.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(n.scrollTop,n.scrollBottom)},t.prototype.scrollLeft=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=t.lines.get(t.ybase+r);i.deleteCells(0,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.scrollRight=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=t.lines.get(t.ybase+r);i.insertCells(0,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.insertColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=this._bufferService.buffer.lines.get(t.ybase+r);i.insertCells(t.x,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.deleteColumns=function(e){var t=this._bufferService.buffer;if(!(t.y>t.scrollBottom||t.y<t.scrollTop)){for(var n=e.params[0]||1,r=t.scrollTop;r<=t.scrollBottom;++r){var i=t.lines.get(t.ybase+r);i.deleteCells(t.x,n,t.getNullCell(this._eraseAttrData()),this._eraseAttrData()),i.isWrapped=!1}this._dirtyRowService.markRangeDirty(t.scrollTop,t.scrollBottom)}},t.prototype.eraseChars=function(e){this._restrictCursor();var t=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);t&&(t.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(e.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},t.prototype.repeatPrecedingCharacter=function(e){if(this._parser.precedingCodepoint){for(var t=e.params[0]||1,n=new Uint32Array(t),r=0;r<t;++r)n[r]=this._parser.precedingCodepoint;this.print(n,0,n.length)}},t.prototype.sendDeviceAttributesPrimary=function(e){e.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(a.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(a.C0.ESC+"[?6c"))},t.prototype.sendDeviceAttributesSecondary=function(e){e.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(a.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(a.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(e.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(a.C0.ESC+"[>83;40003;0c"))},t.prototype._is=function(e){return 0===(this._optionsService.options.termName+"").indexOf(e)},t.prototype.setMode=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!0}},t.prototype.setModePrivate=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,s.DEFAULT_CHARSET),this._charsetService.setgCharset(1,s.DEFAULT_CHARSET),this._charsetService.setgCharset(2,s.DEFAULT_CHARSET),this._charsetService.setgCharset(3,s.DEFAULT_CHARSET);break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(132,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!0,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!0;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!0;break;case 66:this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire();break;case 9:this._coreMouseService.activeProtocol="X10";break;case 1e3:this._coreMouseService.activeProtocol="VT200";break;case 1002:this._coreMouseService.activeProtocol="DRAG";break;case 1003:this._coreMouseService.activeProtocol="ANY";break;case 1004:this._coreService.decPrivateModes.sendFocus=!0;break;case 1005:this._logService.debug("DECSET 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="SGR";break;case 1015:this._logService.debug("DECSET 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!1;break;case 1048:this.saveCursor();break;case 1049:this.saveCursor();case 47:case 1047:this._bufferService.buffers.activateAltBuffer(this._eraseAttrData()),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!0}},t.prototype.resetMode=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 4:this._coreService.modes.insertMode=!1}},t.prototype.resetModePrivate=function(e){for(var t=0;t<e.length;t++)switch(e.params[t]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!1;break;case 3:this._optionsService.options.windowOptions.setWinLines&&(this._bufferService.resize(80,this._bufferService.rows),this._onRequestReset.fire());break;case 6:this._coreService.decPrivateModes.origin=!1,this._setCursor(0,0);break;case 7:this._coreService.decPrivateModes.wraparound=!1;break;case 12:break;case 45:this._coreService.decPrivateModes.reverseWraparound=!1;break;case 66:this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire();break;case 9:case 1e3:case 1002:case 1003:this._coreMouseService.activeProtocol="NONE";break;case 1004:this._coreService.decPrivateModes.sendFocus=!1;break;case 1005:this._logService.debug("DECRST 1005 not supported (see #2507)");break;case 1006:this._coreMouseService.activeEncoding="DEFAULT";break;case 1015:this._logService.debug("DECRST 1015 not supported (see #2507)");break;case 25:this._coreService.isCursorHidden=!0;break;case 1048:this.restoreCursor();break;case 1049:case 47:case 1047:this._bufferService.buffers.activateNormalBuffer(),1049===e.params[t]&&this.restoreCursor(),this._coreService.isCursorInitialized=!0,this._onRequestRefreshRows.fire(0,this._bufferService.rows-1),this._onRequestSyncScrollBar.fire();break;case 2004:this._coreService.decPrivateModes.bracketedPasteMode=!1}},t.prototype._updateAttrColor=function(e,t,n,r,i){return 2===t?(e|=50331648,e&=-16777216,e|=v.AttributeData.fromColorRGB([n,r,i])):5===t&&(e&=-50331904,e|=33554432|255&n),e},t.prototype._extractColor=function(e,t,n){var r=[0,0,-1,0,0,0],i=0,o=0;do{if(r[o+i]=e.params[t+o],e.hasSubParams(t+o)){var a=e.getSubParams(t+o),s=0;do{5===r[1]&&(i=1),r[o+s+1+i]=a[s]}while(++s<a.length&&s+o+1+i<r.length);break}if(5===r[1]&&o+i>=2||2===r[1]&&o+i>=5)break;r[1]&&(i=1)}while(++o+t<e.length&&o+i<r.length);for(s=2;s<r.length;++s)-1===r[s]&&(r[s]=0);switch(r[0]){case 38:n.fg=this._updateAttrColor(n.fg,r[1],r[3],r[4],r[5]);break;case 48:n.bg=this._updateAttrColor(n.bg,r[1],r[3],r[4],r[5]);break;case 58:n.extended=n.extended.clone(),n.extended.underlineColor=this._updateAttrColor(n.extended.underlineColor,r[1],r[3],r[4],r[5])}return o},t.prototype._processUnderline=function(e,t){t.extended=t.extended.clone(),(!~e||e>5)&&(e=1),t.extended.underlineStyle=e,t.fg|=268435456,0===e&&(t.fg&=-268435457),t.updateExtended()},t.prototype.charAttributes=function(e){if(1===e.length&&0===e.params[0])return this._curAttrData.fg=f.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=f.DEFAULT_ATTR_DATA.bg);for(var t,n=e.length,r=this._curAttrData,i=0;i<n;i++)(t=e.params[i])>=30&&t<=37?(r.fg&=-50331904,r.fg|=16777216|t-30):t>=40&&t<=47?(r.bg&=-50331904,r.bg|=16777216|t-40):t>=90&&t<=97?(r.fg&=-50331904,r.fg|=16777224|t-90):t>=100&&t<=107?(r.bg&=-50331904,r.bg|=16777224|t-100):0===t?(r.fg=f.DEFAULT_ATTR_DATA.fg,r.bg=f.DEFAULT_ATTR_DATA.bg):1===t?r.fg|=134217728:3===t?r.bg|=67108864:4===t?(r.fg|=268435456,this._processUnderline(e.hasSubParams(i)?e.getSubParams(i)[0]:1,r)):5===t?r.fg|=536870912:7===t?r.fg|=67108864:8===t?r.fg|=1073741824:2===t?r.bg|=134217728:21===t?this._processUnderline(2,r):22===t?(r.fg&=-134217729,r.bg&=-134217729):23===t?r.bg&=-67108865:24===t?r.fg&=-268435457:25===t?r.fg&=-536870913:27===t?r.fg&=-67108865:28===t?r.fg&=-1073741825:39===t?(r.fg&=-67108864,r.fg|=16777215&f.DEFAULT_ATTR_DATA.fg):49===t?(r.bg&=-67108864,r.bg|=16777215&f.DEFAULT_ATTR_DATA.bg):38===t||48===t||58===t?i+=this._extractColor(e,i,r):59===t?(r.extended=r.extended.clone(),r.extended.underlineColor=-1,r.updateExtended()):100===t?(r.fg&=-67108864,r.fg|=16777215&f.DEFAULT_ATTR_DATA.fg,r.bg&=-67108864,r.bg|=16777215&f.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",t)},t.prototype.deviceStatus=function(e){switch(e.params[0]){case 5:this._coreService.triggerDataEvent(a.C0.ESC+"[0n");break;case 6:this._coreService.triggerDataEvent(a.C0.ESC+"["+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.deviceStatusPrivate=function(e){switch(e.params[0]){case 6:this._coreService.triggerDataEvent(a.C0.ESC+"[?"+(this._bufferService.buffer.y+1)+";"+(this._bufferService.buffer.x+1)+"R")}},t.prototype.softReset=function(e){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=f.DEFAULT_ATTR_DATA.clone(),this._coreService.reset(),this._charsetService.reset(),this._bufferService.buffer.savedX=0,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset,this._coreService.decPrivateModes.origin=!1},t.prototype.setCursorStyle=function(e){var t=e.params[0]||1;switch(t){case 1:case 2:this._optionsService.options.cursorStyle="block";break;case 3:case 4:this._optionsService.options.cursorStyle="underline";break;case 5:case 6:this._optionsService.options.cursorStyle="bar"}this._optionsService.options.cursorBlink=t%2==1},t.prototype.setScrollRegion=function(e){var t,n=e.params[0]||1;(e.length<2||(t=e.params[1])>this._bufferService.rows||0===t)&&(t=this._bufferService.rows),t>n&&(this._bufferService.buffer.scrollTop=n-1,this._bufferService.buffer.scrollBottom=t-1,this._setCursor(0,0))},t.prototype.windowOptions=function(e){if(_(e.params[0],this._optionsService.options.windowOptions)){var t=e.length>1?e.params[1]:0;switch(e.params[0]){case 14:2!==t&&this._onRequestWindowsOptionsReport.fire(o.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(o.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(a.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:0!==t&&2!==t||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),0!==t&&1!==t||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:0!==t&&2!==t||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),0!==t&&1!==t||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},t.prototype.saveCursor=function(e){this._bufferService.buffer.savedX=this._bufferService.buffer.x,this._bufferService.buffer.savedY=this._bufferService.buffer.ybase+this._bufferService.buffer.y,this._bufferService.buffer.savedCurAttrData.fg=this._curAttrData.fg,this._bufferService.buffer.savedCurAttrData.bg=this._curAttrData.bg,this._bufferService.buffer.savedCharset=this._charsetService.charset},t.prototype.restoreCursor=function(e){this._bufferService.buffer.x=this._bufferService.buffer.savedX||0,this._bufferService.buffer.y=Math.max(this._bufferService.buffer.savedY-this._bufferService.buffer.ybase,0),this._curAttrData.fg=this._bufferService.buffer.savedCurAttrData.fg,this._curAttrData.bg=this._bufferService.buffer.savedCurAttrData.bg,this._charsetService.charset=this._savedCharset,this._bufferService.buffer.savedCharset&&(this._charsetService.charset=this._bufferService.buffer.savedCharset),this._restrictCursor()},t.prototype.setTitle=function(e){this._windowTitle=e,this._onTitleChange.fire(e)},t.prototype.setIconName=function(e){this._iconName=e},t.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},t.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},t.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},t.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,s.DEFAULT_CHARSET)},t.prototype.selectCharset=function(e){2===e.length?"/"!==e[0]&&this._charsetService.setgCharset(b[e[0]],s.CHARSETS[e[1]]||s.DEFAULT_CHARSET):this.selectDefaultCharset()},t.prototype.index=function(){this._restrictCursor();var e=this._bufferService.buffer;this._bufferService.buffer.y++,e.y===e.scrollBottom+1?(e.y--,this._onRequestScroll.fire(this._eraseAttrData())):e.y>=this._bufferService.rows&&(e.y=this._bufferService.rows-1),this._restrictCursor()},t.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},t.prototype.reverseIndex=function(){this._restrictCursor();var e=this._bufferService.buffer;e.y===e.scrollTop?(e.lines.shiftElements(e.ybase+e.y,e.scrollBottom-e.scrollTop,1),e.lines.set(e.ybase+e.y,e.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(e.scrollTop,e.scrollBottom)):(e.y--,this._restrictCursor())},t.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},t.prototype.reset=function(){this._curAttrData=f.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=f.DEFAULT_ATTR_DATA.clone()},t.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},t.prototype.setgLevel=function(e){this._charsetService.setgLevel(e)},t.prototype.screenAlignmentPattern=function(){var e=new m.CellData;e.content=1<<22|"E".charCodeAt(0),e.fg=this._curAttrData.fg,e.bg=this._curAttrData.bg;var t=this._bufferService.buffer;this._setCursor(0,0);for(var n=0;n<this._bufferService.rows;++n){var r=t.lines.get(t.ybase+t.y+n);r&&(r.fill(e),r.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},t}(l.Disposable);t.InputHandler=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CHARSET=t.CHARSETS=void 0,t.CHARSETS={},t.DEFAULT_CHARSET=t.CHARSETS.B,t.CHARSETS[0]={"`":"\u25c6",a:"\u2592",b:"\u2409",c:"\u240c",d:"\u240d",e:"\u240a",f:"\xb0",g:"\xb1",h:"\u2424",i:"\u240b",j:"\u2518",k:"\u2510",l:"\u250c",m:"\u2514",n:"\u253c",o:"\u23ba",p:"\u23bb",q:"\u2500",r:"\u23bc",s:"\u23bd",t:"\u251c",u:"\u2524",v:"\u2534",w:"\u252c",x:"\u2502",y:"\u2264",z:"\u2265","{":"\u03c0","|":"\u2260","}":"\xa3","~":"\xb7"},t.CHARSETS.A={"#":"\xa3"},t.CHARSETS.B=void 0,t.CHARSETS[4]={"#":"\xa3","@":"\xbe","[":"ij","\\":"\xbd","]":"|","{":"\xa8","|":"f","}":"\xbc","~":"\xb4"},t.CHARSETS.C=t.CHARSETS[5]={"[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS.R={"#":"\xa3","@":"\xe0","[":"\xb0","\\":"\xe7","]":"\xa7","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xa8"},t.CHARSETS.Q={"@":"\xe0","[":"\xe2","\\":"\xe7","]":"\xea","^":"\xee","`":"\xf4","{":"\xe9","|":"\xf9","}":"\xe8","~":"\xfb"},t.CHARSETS.K={"@":"\xa7","[":"\xc4","\\":"\xd6","]":"\xdc","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xdf"},t.CHARSETS.Y={"#":"\xa3","@":"\xa7","[":"\xb0","\\":"\xe7","]":"\xe9","`":"\xf9","{":"\xe0","|":"\xf2","}":"\xe8","~":"\xec"},t.CHARSETS.E=t.CHARSETS[6]={"@":"\xc4","[":"\xc6","\\":"\xd8","]":"\xc5","^":"\xdc","`":"\xe4","{":"\xe6","|":"\xf8","}":"\xe5","~":"\xfc"},t.CHARSETS.Z={"#":"\xa3","@":"\xa7","[":"\xa1","\\":"\xd1","]":"\xbf","{":"\xb0","|":"\xf1","}":"\xe7"},t.CHARSETS.H=t.CHARSETS[7]={"@":"\xc9","[":"\xc4","\\":"\xd6","]":"\xc5","^":"\xdc","`":"\xe9","{":"\xe4","|":"\xf6","}":"\xe5","~":"\xfc"},t.CHARSETS["="]={"#":"\xf9","@":"\xe0","[":"\xe9","\\":"\xe7","]":"\xea","^":"\xee",_:"\xe8","`":"\xf4","{":"\xe4","|":"\xf6","}":"\xfc","~":"\xfb"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Params=void 0;var r=function(){function e(e,t){if(void 0===e&&(e=32),void 0===t&&(t=32),this.maxLength=e,this.maxSubParamsLength=t,t>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(e),this.length=0,this._subParams=new Int32Array(t),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(e),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return e.fromArray=function(t){var n=new e;if(!t.length)return n;for(var r=t[0]instanceof Array?1:0;r<t.length;++r){var i=t[r];if(i instanceof Array)for(var o=0;o<i.length;++o)n.addSubParam(i[o]);else n.addParam(i)}return n},e.prototype.clone=function(){var t=new e(this.maxLength,this.maxSubParamsLength);return t.params.set(this.params),t.length=this.length,t._subParams.set(this._subParams),t._subParamsLength=this._subParamsLength,t._subParamsIdx.set(this._subParamsIdx),t._rejectDigits=this._rejectDigits,t._rejectSubDigits=this._rejectSubDigits,t._digitIsSub=this._digitIsSub,t},e.prototype.toArray=function(){for(var e=[],t=0;t<this.length;++t){e.push(this.params[t]);var n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&e.push(Array.prototype.slice.call(this._subParams,n,r))}return e},e.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},e.prototype.addParam=function(e){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=e>2147483647?2147483647:e}},e.prototype.addSubParam=function(e){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(e<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=e>2147483647?2147483647:e,this._subParamsIdx[this.length-1]++}},e.prototype.hasSubParams=function(e){return(255&this._subParamsIdx[e])-(this._subParamsIdx[e]>>8)>0},e.prototype.getSubParams=function(e){var t=this._subParamsIdx[e]>>8,n=255&this._subParamsIdx[e];return n-t>0?this._subParams.subarray(t,n):null},e.prototype.getSubParamsAll=function(){for(var e={},t=0;t<this.length;++t){var n=this._subParamsIdx[t]>>8,r=255&this._subParamsIdx[t];r-n>0&&(e[t]=this._subParams.slice(n,r))}return e},e.prototype.addDigit=function(e){var t;if(!(this._rejectDigits||!(t=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var n=this._digitIsSub?this._subParams:this.params,r=n[t-1];n[t-1]=~r?Math.min(10*r+e,2147483647):e}},e}();t.Params=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OscHandler=t.OscParser=void 0;var r=n(23),i=n(8),o=function(){function e(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.reset=function(){2===this._state&&this.end(!1),this._id=-1,this._state=0},e.prototype._start=function(){var e=this._handlers[this._id];if(e)for(var t=e.length-1;t>=0;t--)e[t].start();else this._handlerFb(this._id,"START")},e.prototype._put=function(e,t,n){var r=this._handlers[this._id];if(r)for(var o=r.length-1;o>=0;o--)r[o].put(e,t,n);else this._handlerFb(this._id,"PUT",i.utf32ToString(e,t,n))},e.prototype._end=function(e){var t=this._handlers[this._id];if(t){for(var n=t.length-1;n>=0&&!1===t[n].end(e);n--);for(n--;n>=0;n--)t[n].end(!1)}else this._handlerFb(this._id,"END",e)},e.prototype.start=function(){this.reset(),this._id=-1,this._state=1},e.prototype.put=function(e,t,n){if(3!==this._state){if(1===this._state)for(;t<n;){var r=e[t++];if(59===r){this._state=2,this._start();break}if(r<48||57<r)return void(this._state=3);-1===this._id&&(this._id=0),this._id=10*this._id+r-48}2===this._state&&n-t>0&&this._put(e,t,n)}},e.prototype.end=function(e){0!==this._state&&(3!==this._state&&(1===this._state&&this._start(),this._end(e)),this._id=-1,this._state=0)},e}();t.OscParser=o;var a=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.start=function(){this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=i.utf32ToString(e,t,n),this._data.length>r.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.end=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data)),this._data="",this._hitLimit=!1,t},e}();t.OscHandler=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PAYLOAD_LIMIT=void 0,t.PAYLOAD_LIMIT=1e7},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DcsHandler=t.DcsParser=void 0;var r=n(8),i=n(21),o=n(23),a=[],s=function(){function e(){this._handlers=Object.create(null),this._active=a,this._ident=0,this._handlerFb=function(){}}return e.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},e.prototype.addHandler=function(e,t){void 0===this._handlers[e]&&(this._handlers[e]=[]);var n=this._handlers[e];return n.push(t),{dispose:function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}},e.prototype.setHandler=function(e,t){this._handlers[e]=[t]},e.prototype.clearHandler=function(e){this._handlers[e]&&delete this._handlers[e]},e.prototype.setHandlerFallback=function(e){this._handlerFb=e},e.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=a,this._ident=0},e.prototype.hook=function(e,t){if(this.reset(),this._ident=e,this._active=this._handlers[e]||a,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(t);else this._handlerFb(this._ident,"HOOK",t)},e.prototype.put=function(e,t,n){if(this._active.length)for(var i=this._active.length-1;i>=0;i--)this._active[i].put(e,t,n);else this._handlerFb(this._ident,"PUT",r.utf32ToString(e,t,n))},e.prototype.unhook=function(e){if(this._active.length){for(var t=this._active.length-1;t>=0&&!1===this._active[t].unhook(e);t--);for(t--;t>=0;t--)this._active[t].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",e);this._active=a,this._ident=0},e}();t.DcsParser=s;var u=function(){function e(e){this._handler=e,this._data="",this._hitLimit=!1}return e.prototype.hook=function(e){this._params=e.clone(),this._data="",this._hitLimit=!1},e.prototype.put=function(e,t,n){this._hitLimit||(this._data+=r.utf32ToString(e,t,n),this._data.length>o.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},e.prototype.unhook=function(e){var t;return this._hitLimit?t=!1:e&&(t=this._handler(this._data,this._params||new i.Params)),this._params=void 0,this._data="",this._hitLimit=!1,t},e}();t.DcsHandler=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireCharAtlas=void 0;var r=n(26),i=n(43),o=[];t.acquireCharAtlas=function(e,t,n,a,s){for(var u=r.generateConfig(a,s,e,n),l=0;l<o.length;l++){var c=(d=o[l]).ownedBy.indexOf(t);if(c>=0){if(r.configEquals(d.config,u))return d.atlas;1===d.ownedBy.length?(d.atlas.dispose(),o.splice(l,1)):d.ownedBy.splice(c,1);break}}for(l=0;l<o.length;l++){var d=o[l];if(r.configEquals(d.config,u))return d.ownedBy.push(t),d.atlas}var f={atlas:new i.DynamicCharAtlas(document,u),config:u,ownedBy:[t]};return o.push(f),f.atlas},t.removeTerminalFromCache=function(e){for(var t=0;t<o.length;t++){var n=o[t].ownedBy.indexOf(e);if(-1!==n){1===o[t].ownedBy.length?(o[t].atlas.dispose(),o.splice(t,1)):o[t].ownedBy.splice(n,1);break}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;var r=n(3);t.generateConfig=function(e,t,n,r){var i={foreground:r.foreground,background:r.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:r.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:e,scaledCharHeight:t,fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontWeightBold:n.fontWeightBold,allowTransparency:n.allowTransparency,colors:i}},t.configEquals=function(e,t){for(var n=0;n<e.colors.ansi.length;n++)if(e.colors.ansi[n].rgba!==t.colors.ansi[n].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.scaledCharWidth===t.scaledCharWidth&&e.scaledCharHeight===t.scaledCharHeight&&e.colors.foreground===t.colors.foreground&&e.colors.background===t.colors.background},t.is256Color=function(e){return e<r.DEFAULT_COLOR}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorManager=t.DEFAULT_ANSI_COLORS=void 0;var r=n(10),i=n(45),o=r.css.toColor("#ffffff"),a=r.css.toColor("#000000"),s=r.css.toColor("#ffffff"),u=r.css.toColor("#000000"),l={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};t.DEFAULT_ANSI_COLORS=function(){for(var e=[r.css.toColor("#2e3436"),r.css.toColor("#cc0000"),r.css.toColor("#4e9a06"),r.css.toColor("#c4a000"),r.css.toColor("#3465a4"),r.css.toColor("#75507b"),r.css.toColor("#06989a"),r.css.toColor("#d3d7cf"),r.css.toColor("#555753"),r.css.toColor("#ef2929"),r.css.toColor("#8ae234"),r.css.toColor("#fce94f"),r.css.toColor("#729fcf"),r.css.toColor("#ad7fa8"),r.css.toColor("#34e2e2"),r.css.toColor("#eeeeec")],t=[0,95,135,175,215,255],n=0;n<216;n++){var i=t[n/36%6|0],o=t[n/6%6|0],a=t[n%6];e.push({css:r.channels.toCss(i,o,a),rgba:r.channels.toRgba(i,o,a)})}for(n=0;n<24;n++){var s=8+10*n;e.push({css:r.channels.toCss(s,s,s),rgba:r.channels.toRgba(s,s,s)})}return e}();var c=function(){function e(e,n){this.allowTransparency=n;var c=e.createElement("canvas");c.width=1,c.height=1;var d=c.getContext("2d");if(!d)throw new Error("Could not get rendering context");this._ctx=d,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new i.ColorContrastCache,this.colors={foreground:o,background:a,cursor:s,cursorAccent:u,selectionTransparent:l,selectionOpaque:r.color.blend(a,l),ansi:t.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return e.prototype.onOptionsChange=function(e){"minimumContrastRatio"===e&&this._contrastCache.clear()},e.prototype.setTheme=function(e){void 0===e&&(e={}),this.colors.foreground=this._parseColor(e.foreground,o),this.colors.background=this._parseColor(e.background,a),this.colors.cursor=this._parseColor(e.cursor,s,!0),this.colors.cursorAccent=this._parseColor(e.cursorAccent,u,!0),this.colors.selectionTransparent=this._parseColor(e.selection,l,!0),this.colors.selectionOpaque=r.color.blend(this.colors.background,this.colors.selectionTransparent),r.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=r.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(e.black,t.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(e.red,t.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(e.green,t.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(e.yellow,t.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(e.blue,t.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(e.magenta,t.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(e.cyan,t.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(e.white,t.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(e.brightBlack,t.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(e.brightRed,t.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(e.brightGreen,t.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(e.brightYellow,t.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(e.brightBlue,t.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(e.brightMagenta,t.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(e.brightCyan,t.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(e.brightWhite,t.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},e.prototype._parseColor=function(e,t,n){if(void 0===n&&(n=this.allowTransparency),void 0===e)return t;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=e,"string"!=typeof this._ctx.fillStyle)return console.warn("Color: "+e+" is invalid using fallback "+t.css),t;this._ctx.fillRect(0,0,1,1);var i=this._ctx.getImageData(0,0,1,1).data;if(255!==i[3]){if(!n)return console.warn("Color: "+e+" is using transparency, but allowTransparency is false. Using fallback "+t.css+"."),t;var o=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map((function(e){return Number(e)})),a=o[0],s=o[1],u=o[2],l=Math.round(255*o[3]);return{rgba:r.channels.toRgba(a,s,u,l),css:e}}return{css:this._ctx.fillStyle,rgba:r.channels.toRgba(i[0],i[1],i[2],i[3])}},e}();t.ColorManager=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CharacterJoinerRegistry=t.JoinedCellData=void 0;var o=n(6),a=n(3),s=n(4),u=function(e){function t(t,n,r){var i=e.call(this)||this;return i.content=0,i.combinedData="",i.fg=t.fg,i.bg=t.bg,i.combinedData=n,i._width=r,i}return i(t,e),t.prototype.isCombined=function(){return 2097152},t.prototype.getWidth=function(){return this._width},t.prototype.getChars=function(){return this.combinedData},t.prototype.getCode=function(){return 2097151},t.prototype.setFromCharData=function(e){throw new Error("not implemented")},t.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},t}(o.AttributeData);t.JoinedCellData=u;var l=function(){function e(e){this._bufferService=e,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new s.CellData}return e.prototype.registerCharacterJoiner=function(e){var t={id:this._nextCharacterJoinerId++,handler:e};return this._characterJoiners.push(t),t.id},e.prototype.deregisterCharacterJoiner=function(e){for(var t=0;t<this._characterJoiners.length;t++)if(this._characterJoiners[t].id===e)return this._characterJoiners.splice(t,1),!0;return!1},e.prototype.getJoinedCharacters=function(e){if(0===this._characterJoiners.length)return[];var t=this._bufferService.buffer.lines.get(e);if(!t||0===t.length)return[];for(var n=[],r=t.translateToString(!0),i=0,o=0,s=0,u=t.getFg(0),l=t.getBg(0),c=0;c<t.getTrimmedLength();c++)if(t.loadCell(c,this._workCell),0!==this._workCell.getWidth()){if(this._workCell.fg!==u||this._workCell.bg!==l){if(c-i>1)for(var d=this._getJoinedRanges(r,s,o,t,i),f=0;f<d.length;f++)n.push(d[f]);i=c,s=o,u=this._workCell.fg,l=this._workCell.bg}o+=this._workCell.getChars().length||a.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-i>1)for(d=this._getJoinedRanges(r,s,o,t,i),f=0;f<d.length;f++)n.push(d[f]);return n},e.prototype._getJoinedRanges=function(t,n,r,i,o){for(var a=t.substring(n,r),s=this._characterJoiners[0].handler(a),u=1;u<this._characterJoiners.length;u++)for(var l=this._characterJoiners[u].handler(a),c=0;c<l.length;c++)e._mergeRanges(s,l[c]);return this._stringRangesToCellRanges(s,i,o),s},e.prototype._stringRangesToCellRanges=function(e,t,n){var r=0,i=!1,o=0,s=e[r];if(s){for(var u=n;u<this._bufferService.cols;u++){var l=t.getWidth(u),c=t.getString(u).length||a.WHITESPACE_CELL_CHAR.length;if(0!==l){if(!i&&s[0]<=o&&(s[0]=u,i=!0),s[1]<=o){if(s[1]=u,!(s=e[++r]))break;s[0]<=o?(s[0]=u,i=!0):i=!1}o+=c}}s&&(s[1]=this._bufferService.cols)}},e._mergeRanges=function(e,t){for(var n=!1,r=0;r<e.length;r++){var i=e[r];if(n){if(t[1]<=i[0])return e[r-1][1]=t[1],e;if(t[1]<=i[1])return e[r-1][1]=Math.max(t[1],i[1]),e.splice(r,1),e;e.splice(r,1),r--}else{if(t[1]<=i[0])return e.splice(r,0,t),e;if(t[1]<=i[1])return i[0]=Math.min(t[0],i[0]),e;t[0]<i[1]&&(i[0]=Math.min(t[0],i[0]),n=!0)}}return n?e[e.length-1][1]=t[1]:e.push(t),e},e}();t.CharacterJoinerRegistry=l},function(e,t,n){"use strict";function r(e,t){var n=t.getBoundingClientRect();return[e.clientX-n.left,e.clientY-n.top]}Object.defineProperty(t,"__esModule",{value:!0}),t.getRawByteCoords=t.getCoords=t.getCoordsRelativeToElement=void 0,t.getCoordsRelativeToElement=r,t.getCoords=function(e,t,n,i,o,a,s,u){if(o){var l=r(e,t);if(l)return l[0]=Math.ceil((l[0]+(u?a/2:0))/a),l[1]=Math.ceil(l[1]/s),l[0]=Math.min(Math.max(l[0],1),n+(u?1:0)),l[1]=Math.min(Math.max(l[1],1),i),l}},t.getRawByteCoords=function(e){if(e)return{x:e[0]+32,y:e[1]+32}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RenderDebouncer=void 0;var r=function(){function e(e){this._renderCallback=e}return e.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.refresh=function(e,t,n){var r=this;this._rowCount=n,e=void 0!==e?e:0,t=void 0!==t?t:this._rowCount-1,this._rowStart=void 0!==this._rowStart?Math.min(this._rowStart,e):e,this._rowEnd=void 0!==this._rowEnd?Math.max(this._rowEnd,t):t,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){return r._innerRefresh()})))},e.prototype._innerRefresh=function(){if(void 0!==this._rowStart&&void 0!==this._rowEnd&&void 0!==this._rowCount){var e=Math.max(this._rowStart,0),t=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(e,t)}},e}();t.RenderDebouncer=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScreenDprMonitor=void 0;var o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._currentDevicePixelRatio=window.devicePixelRatio,t}return i(t,e),t.prototype.setListener=function(e){var t=this;this._listener&&this.clearListener(),this._listener=e,this._outerListener=function(){t._listener&&(t._listener(window.devicePixelRatio,t._currentDevicePixelRatio),t._updateDpr())},this._updateDpr()},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.clearListener()},t.prototype._updateDpr=function(){var e;this._outerListener&&(null===(e=this._resolutionMediaMatchList)||void 0===e||e.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},t.prototype.clearListener=function(){this._resolutionMediaMatchList&&this._listener&&this._outerListener&&(this._resolutionMediaMatchList.removeListener(this._outerListener),this._resolutionMediaMatchList=void 0,this._listener=void 0,this._outerListener=void 0)},t}(n(2).Disposable);t.ScreenDprMonitor=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function e(t,n){if(void 0===n&&(n=5),"object"!=typeof t)return t;var r=Array.isArray(t)?[]:{};for(var i in t)r[i]=n<=1?t[i]:t[i]?e(t[i],n-1):t[i];return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var r=n(4),i=n(35),o=n(18),a=n(0),s=n(83),u=function(){function e(e){this._core=new i.Terminal(e),this._addonManager=new s.AddonManager}return e.prototype._checkProposedApi=function(){if(!this._core.optionsService.options.allowProposedApi)throw new Error("You must set the allowProposedApi option to true to use proposed API")},Object.defineProperty(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new f(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new h(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new c(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(e,t){this._verifyIntegers(e,t),this._core.resize(e,t)},e.prototype.open=function(e){this._core.open(e)},e.prototype.attachCustomKeyEventHandler=function(e){this._core.attachCustomKeyEventHandler(e)},e.prototype.registerLinkMatcher=function(e,t,n){return this._checkProposedApi(),this._core.registerLinkMatcher(e,t,n)},e.prototype.deregisterLinkMatcher=function(e){this._checkProposedApi(),this._core.deregisterLinkMatcher(e)},e.prototype.registerLinkProvider=function(e){return this._checkProposedApi(),this._core.registerLinkProvider(e)},e.prototype.registerCharacterJoiner=function(e){return this._checkProposedApi(),this._core.registerCharacterJoiner(e)},e.prototype.deregisterCharacterJoiner=function(e){this._checkProposedApi(),this._core.deregisterCharacterJoiner(e)},e.prototype.registerMarker=function(e){return this._checkProposedApi(),this._verifyIntegers(e),this._core.addMarker(e)},e.prototype.addMarker=function(e){return this.registerMarker(e)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(e,t,n){this._verifyIntegers(e,t,n),this._core.select(e,t,n)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(e,t){this._verifyIntegers(e,t),this._core.selectLines(e,t)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(e){this._verifyIntegers(e),this._core.scrollLines(e)},e.prototype.scrollPages=function(e){this._verifyIntegers(e),this._core.scrollPages(e)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(e){this._verifyIntegers(e),this._core.scrollToLine(e)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(e,t){this._core.write(e,t)},e.prototype.writeUtf8=function(e,t){this._core.write(e,t)},e.prototype.writeln=function(e,t){this._core.write(e),this._core.write("\r\n",t)},e.prototype.paste=function(e){this._core.paste(e)},e.prototype.getOption=function(e){return this._core.optionsService.getOption(e)},e.prototype.setOption=function(e,t){this._core.optionsService.setOption(e,t)},e.prototype.refresh=function(e,t){this._verifyIntegers(e,t),this._core.refresh(e,t)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(e){return this._addonManager.loadAddon(this,e)},Object.defineProperty(e,"strings",{get:function(){return o},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];if(i===1/0||isNaN(i)||i%1!=0)throw new Error("This API only accepts integers")}},e}();t.Terminal=u;var l=function(){function e(e,t){this._buffer=e,this.type=t}return e.prototype.init=function(e){return this._buffer=e,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(e){var t=this._buffer.lines.get(e);if(t)return new d(t)},e.prototype.getNullCell=function(){return new r.CellData},e}(),c=function(){function e(e){var t=this;this._buffers=e,this._onBufferChange=new a.EventEmitter,this._normal=new l(this._buffers.normal,"normal"),this._alternate=new l(this._buffers.alt,"alternate"),this._buffers.onBufferActivate((function(){return t._onBufferChange.fire(t.active)}))}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){if(this._buffers.active===this._buffers.normal)return this.normal;if(this._buffers.active===this._buffers.alt)return this.alternate;throw new Error("Active buffer is neither normal nor alternate")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),d=function(){function e(e){this._line=e}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(e,t){if(!(e<0||e>=this._line.length))return t?(this._line.loadCell(e,t),t):this._line.loadCell(e,new r.CellData)},e.prototype.translateToString=function(e,t,n){return this._line.translateToString(e,t,n)},e}(),f=function(){function e(e){this._core=e}return e.prototype.registerCsiHandler=function(e,t){return this._core.addCsiHandler(e,(function(e){return t(e.toArray())}))},e.prototype.addCsiHandler=function(e,t){return this.registerCsiHandler(e,t)},e.prototype.registerDcsHandler=function(e,t){return this._core.addDcsHandler(e,(function(e,n){return t(e,n.toArray())}))},e.prototype.addDcsHandler=function(e,t){return this.registerDcsHandler(e,t)},e.prototype.registerEscHandler=function(e,t){return this._core.addEscHandler(e,t)},e.prototype.addEscHandler=function(e,t){return this.registerEscHandler(e,t)},e.prototype.registerOscHandler=function(e,t){return this._core.addOscHandler(e,t)},e.prototype.addOscHandler=function(e,t){return this.registerOscHandler(e,t)},e}(),h=function(){function e(e){this._core=e}return e.prototype.register=function(e){this._core.unicodeService.register(e)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(e){this._core.unicodeService.activeVersion=e},enumerable:!1,configurable:!0}),e}()},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Terminal=void 0;var o=n(36),a=n(37),s=n(38),u=n(12),l=n(19),c=n(40),d=n(50),f=n(51),h=n(11),p=n(7),m=n(18),v=n(54),g=n(55),y=n(56),b=n(57),_=n(59),w=n(0),E=n(16),C=n(27),A=n(60),k=n(5),S=n(61),x=n(62),D=n(63),O=n(64),T=n(65),F="undefined"!=typeof window?window.document:null,M=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.browser=h,n._keyDownHandled=!1,n._onCursorMove=new w.EventEmitter,n._onKey=new w.EventEmitter,n._onRender=new w.EventEmitter,n._onSelectionChange=new w.EventEmitter,n._onTitleChange=new w.EventEmitter,n._onFocus=new w.EventEmitter,n._onBlur=new w.EventEmitter,n._onA11yCharEmitter=new w.EventEmitter,n._onA11yTabEmitter=new w.EventEmitter,n._setup(),n.linkifier=n._instantiationService.createInstance(d.Linkifier),n.linkifier2=n.register(n._instantiationService.createInstance(D.Linkifier2)),n.register(n._inputHandler.onRequestBell((function(){return n.bell()}))),n.register(n._inputHandler.onRequestRefreshRows((function(e,t){return n.refresh(e,t)}))),n.register(n._inputHandler.onRequestReset((function(){return n.reset()}))),n.register(n._inputHandler.onRequestScroll((function(e,t){return n.scroll(e,t||void 0)}))),n.register(n._inputHandler.onRequestWindowsOptionsReport((function(e){return n._reportWindowsOptions(e)}))),n.register(w.forwardEvent(n._inputHandler.onCursorMove,n._onCursorMove)),n.register(w.forwardEvent(n._inputHandler.onTitleChange,n._onTitleChange)),n.register(w.forwardEvent(n._inputHandler.onA11yChar,n._onA11yCharEmitter)),n.register(w.forwardEvent(n._inputHandler.onA11yTab,n._onA11yTabEmitter)),n.register(n._bufferService.onResize((function(e){return n._afterResize(e.cols,e.rows)}))),n}return i(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t,n,r;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._renderService)||void 0===t||t.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},null===(r=null===(n=this.element)||void 0===n?void 0:n.parentNode)||void 0===r||r.removeChild(this.element))},t.prototype._setup=function(){e.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(t.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},t.prototype._updateOptions=function(t){var n,r,i,o;switch(e.prototype._updateOptions.call(this,t),t){case"fontFamily":case"fontSize":null===(n=this._renderService)||void 0===n||n.clear(),null===(r=this._charSizeService)||void 0===r||r.measure();break;case"cursorBlink":case"cursorStyle":this.refresh(this.buffer.y,this.buffer.y);break;case"drawBoldTextInBrightColors":case"letterSpacing":case"lineHeight":case"fontWeight":case"fontWeightBold":case"minimumContrastRatio":this._renderService&&(this._renderService.clear(),this._renderService.onResize(this.cols,this.rows),this.refresh(0,this.rows-1));break;case"rendererType":this._renderService&&(this._renderService.setRenderer(this._createRenderer()),this._renderService.onResize(this.cols,this.rows));break;case"scrollback":null===(i=this.viewport)||void 0===i||i.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new y.AccessibilityManager(this,this._renderService)):(null===(o=this._accessibilityManager)||void 0===o||o.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},t.prototype._onTextAreaFocus=function(e){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(u.C0.ESC+"[I"),this.updateCursorStyle(e),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},t.prototype.blur=function(){var e;return null===(e=this.textarea)||void 0===e?void 0:e.blur()},t.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(u.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},t.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var e=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),t=this._bufferService.buffer.y*e;this.textarea.style.left=this._bufferService.buffer.x*this._charSizeService.width+"px",this.textarea.style.top=t+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=e+"px",this.textarea.style.lineHeight=e+"px",this.textarea.style.zIndex="-5"}},t.prototype._initGlobal=function(){var e=this;this._bindKeys(),this.register(p.addDisposableDomListener(this.element,"copy",(function(t){e.hasSelection()&&s.copyHandler(t,e._selectionService)})));var t=function(t){return s.handlePasteEvent(t,e.textarea,e._coreService)};this.register(p.addDisposableDomListener(this.textarea,"paste",t)),this.register(p.addDisposableDomListener(this.element,"paste",t)),this.register(h.isFirefox?p.addDisposableDomListener(this.element,"mousedown",(function(t){2===t.button&&s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)})):p.addDisposableDomListener(this.element,"contextmenu",(function(t){s.rightClickHandler(t,e.textarea,e.screenElement,e._selectionService,e.options.rightClickSelectsWord)}))),h.isLinux&&this.register(p.addDisposableDomListener(this.element,"auxclick",(function(t){1===t.button&&s.moveTextAreaUnderMouseCursor(t,e.textarea,e.screenElement)})))},t.prototype._bindKeys=function(){var e=this;this.register(p.addDisposableDomListener(this.textarea,"keyup",(function(t){return e._keyUp(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keydown",(function(t){return e._keyDown(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"keypress",(function(t){return e._keyPress(t)}),!0)),this.register(p.addDisposableDomListener(this.textarea,"compositionstart",(function(){return e._compositionHelper.compositionstart()}))),this.register(p.addDisposableDomListener(this.textarea,"compositionupdate",(function(t){return e._compositionHelper.compositionupdate(t)}))),this.register(p.addDisposableDomListener(this.textarea,"compositionend",(function(){return e._compositionHelper.compositionend()}))),this.register(this.onRender((function(){return e._compositionHelper.updateCompositionElements()}))),this.register(this.onRender((function(t){return e._queueLinkification(t.start,t.end)})))},t.prototype.open=function(e){var t=this;if(!e)throw new Error("Terminal requires a parent element.");F.body.contains(e)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=e.ownerDocument,this.element=this._document.createElement("div"),this.element.dir="ltr",this.element.classList.add("terminal"),this.element.classList.add("xterm"),this.element.setAttribute("tabindex","0"),e.appendChild(this.element);var n=F.createDocumentFragment();this._viewportElement=F.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),n.appendChild(this._viewportElement),this._viewportScrollArea=F.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=F.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=F.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),n.appendChild(this.screenElement),this.textarea=F.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",m.promptLabel),this.textarea.setAttribute("aria-multiline","false"),this.textarea.setAttribute("autocorrect","off"),this.textarea.setAttribute("autocapitalize","off"),this.textarea.setAttribute("spellcheck","false"),this.textarea.tabIndex=0,this.register(p.addDisposableDomListener(this.textarea,"focus",(function(e){return t._onTextAreaFocus(e)}))),this.register(p.addDisposableDomListener(this.textarea,"blur",(function(){return t._onTextAreaBlur()}))),this._helperContainer.appendChild(this.textarea);var r=this._instantiationService.createInstance(O.CoreBrowserService,this.textarea);this._instantiationService.setService(k.ICoreBrowserService,r),this._charSizeService=this._instantiationService.createInstance(S.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(k.ICharSizeService,this._charSizeService),this._compositionView=F.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(o.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(n),this._theme=this.options.theme||this._theme,this._colorManager=new C.ColorManager(F,this.options.allowTransparency),this.register(this.optionsService.onOptionChange((function(e){return t._colorManager.onOptionsChange(e)}))),this._colorManager.setTheme(this._theme);var i=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(A.RenderService,i,this.rows,this.screenElement)),this._instantiationService.setService(k.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange((function(e){return t._onRender.fire(e)}))),this.onResize((function(e){return t._renderService.resize(e.cols,e.rows)})),this._soundService=this._instantiationService.createInstance(v.SoundService),this._instantiationService.setService(k.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(x.MouseService),this._instantiationService.setService(k.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(a.Viewport,(function(e,n){return t.scrollLines(e,n)}),this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar((function(){return t.viewport.syncScrollArea()}))),this.register(this.viewport),this.register(this.onCursorMove((function(){t._renderService.onCursorMove(),t._syncTextArea()}))),this.register(this.onResize((function(){return t._renderService.onResize(t.cols,t.rows)}))),this.register(this.onBlur((function(){return t._renderService.onBlur()}))),this.register(this.onFocus((function(){return t._renderService.onFocus()}))),this.register(this._renderService.onDimensionsChange((function(){return t.viewport.syncScrollArea()}))),this._selectionService=this.register(this._instantiationService.createInstance(f.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(k.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines((function(e){return t.scrollLines(e.amount,e.suppressScrollEvent)}))),this.register(this._selectionService.onSelectionChange((function(){return t._onSelectionChange.fire()}))),this.register(this._selectionService.onRequestRedraw((function(e){return t._renderService.onSelectionChanged(e.start,e.end,e.columnSelectMode)}))),this.register(this._selectionService.onLinuxMouseSelection((function(e){t.textarea.value=e,t.textarea.focus(),t.textarea.select()}))),this.register(this.onScroll((function(){t.viewport.syncScrollArea(),t._selectionService.refresh()}))),this.register(p.addDisposableDomListener(this._viewportElement,"scroll",(function(){return t._selectionService.refresh()}))),this._mouseZoneManager=this._instantiationService.createInstance(g.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll((function(){return t._mouseZoneManager.clearAll()}))),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(p.addDisposableDomListener(this.element,"mousedown",(function(e){return t._selectionService.onMouseDown(e)}))),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new y.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},t.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(c.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},t.prototype._setTheme=function(e){var t,n,r;this._theme=e,null===(t=this._colorManager)||void 0===t||t.setTheme(e),null===(n=this._renderService)||void 0===n||n.setColors(this._colorManager.colors),null===(r=this.viewport)||void 0===r||r.onThemeChange(this._colorManager.colors)},t.prototype.bindMouse=function(){var e=this,t=this,n=this.element;function r(e){var n,r,i=t._mouseService.getRawByteCoords(e,t.screenElement,t.cols,t.rows);if(!i)return!1;switch(e.overrideType||e.type){case"mousemove":r=32,void 0===e.buttons?(n=3,void 0!==e.button&&(n=e.button<3?e.button:3)):n=1&e.buttons?0:4&e.buttons?1:2&e.buttons?2:3;break;case"mouseup":r=0,n=e.button<3?e.button:3;break;case"mousedown":r=1,n=e.button<3?e.button:3;break;case"wheel":0!==e.deltaY&&(r=e.deltaY<0?0:1),n=4;break;default:return!1}return!(void 0===r||void 0===n||n>4)&&t._coreMouseService.triggerMouseEvent({col:i.x-33,row:i.y-33,button:n,action:r,ctrl:e.ctrlKey,alt:e.altKey,shift:e.shiftKey})}var i={mouseup:null,wheel:null,mousedrag:null,mousemove:null},o=function(t){return r(t),t.buttons||(e._document.removeEventListener("mouseup",i.mouseup),i.mousedrag&&e._document.removeEventListener("mousemove",i.mousedrag)),e.cancel(t)},a=function(t){return r(t),t.preventDefault(),e.cancel(t)},s=function(e){e.buttons&&r(e)},l=function(e){e.buttons||r(e)};this.register(this._coreMouseService.onProtocolChange((function(t){t?("debug"===e.optionsService.options.logLevel&&e._logService.debug("Binding to mouse events:",e._coreMouseService.explainEvents(t)),e.element.classList.add("enable-mouse-events"),e._selectionService.disable()):(e._logService.debug("Unbinding from mouse events."),e.element.classList.remove("enable-mouse-events"),e._selectionService.enable()),8&t?i.mousemove||(n.addEventListener("mousemove",l),i.mousemove=l):(n.removeEventListener("mousemove",i.mousemove),i.mousemove=null),16&t?i.wheel||(n.addEventListener("wheel",a,{passive:!1}),i.wheel=a):(n.removeEventListener("wheel",i.wheel),i.wheel=null),2&t?i.mouseup||(i.mouseup=o):(e._document.removeEventListener("mouseup",i.mouseup),i.mouseup=null),4&t?i.mousedrag||(i.mousedrag=s):(e._document.removeEventListener("mousemove",i.mousedrag),i.mousedrag=null)}))),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(p.addDisposableDomListener(n,"mousedown",(function(t){if(t.preventDefault(),e.focus(),e._coreMouseService.areMouseEventsActive&&!e._selectionService.shouldForceSelection(t))return r(t),i.mouseup&&e._document.addEventListener("mouseup",i.mouseup),i.mousedrag&&e._document.addEventListener("mousemove",i.mousedrag),e.cancel(t)}))),this.register(p.addDisposableDomListener(n,"wheel",(function(t){if(i.wheel);else if(!e.buffer.hasScrollback){var n=e.viewport.getLinesScrolled(t);if(0===n)return;for(var r=u.C0.ESC+(e._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(t.deltaY<0?"A":"B"),o="",a=0;a<Math.abs(n);a++)o+=r;e._coreService.triggerDataEvent(o,!0)}}),{passive:!0})),this.register(p.addDisposableDomListener(n,"wheel",(function(t){if(!i.wheel)return e.viewport.onWheel(t)?void 0:e.cancel(t)}),{passive:!1})),this.register(p.addDisposableDomListener(n,"touchstart",(function(t){if(!e._coreMouseService.areMouseEventsActive)return e.viewport.onTouchStart(t),e.cancel(t)}),{passive:!0})),this.register(p.addDisposableDomListener(n,"touchmove",(function(t){if(!e._coreMouseService.areMouseEventsActive)return e.viewport.onTouchMove(t)?void 0:e.cancel(t)}),{passive:!1}))},t.prototype.refresh=function(e,t){var n;null===(n=this._renderService)||void 0===n||n.refreshRows(e,t)},t.prototype._queueLinkification=function(e,t){var n;null===(n=this.linkifier)||void 0===n||n.linkifyRows(e,t)},t.prototype.updateCursorStyle=function(e){this._selectionService&&this._selectionService.shouldColumnSelect(e)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},t.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},t.prototype.scrollLines=function(t,n){e.prototype.scrollLines.call(this,t,n),this.refresh(0,this.rows-1)},t.prototype.paste=function(e){s.paste(e,this.textarea,this._coreService)},t.prototype.attachCustomKeyEventHandler=function(e){this._customKeyEventHandler=e},t.prototype.registerLinkMatcher=function(e,t,n){var r=this.linkifier.registerLinkMatcher(e,t,n);return this.refresh(0,this.rows-1),r},t.prototype.deregisterLinkMatcher=function(e){this.linkifier.deregisterLinkMatcher(e)&&this.refresh(0,this.rows-1)},t.prototype.registerLinkProvider=function(e){return this.linkifier2.registerLinkProvider(e)},t.prototype.registerCharacterJoiner=function(e){var t=this._renderService.registerCharacterJoiner(e);return this.refresh(0,this.rows-1),t},t.prototype.deregisterCharacterJoiner=function(e){this._renderService.deregisterCharacterJoiner(e)&&this.refresh(0,this.rows-1)},Object.defineProperty(t.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),t.prototype.addMarker=function(e){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+e)},t.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},t.prototype.select=function(e,t,n){this._selectionService.setSelection(e,t,n)},t.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},t.prototype.getSelectionPosition=function(){if(this._selectionService&&this._selectionService.hasSelection)return{startColumn:this._selectionService.selectionStart[0],startRow:this._selectionService.selectionStart[1],endColumn:this._selectionService.selectionEnd[0],endRow:this._selectionService.selectionEnd[1]}},t.prototype.clearSelection=function(){var e;null===(e=this._selectionService)||void 0===e||e.clearSelection()},t.prototype.selectAll=function(){var e;null===(e=this._selectionService)||void 0===e||e.selectAll()},t.prototype.selectLines=function(e,t){var n;null===(n=this._selectionService)||void 0===n||n.selectLines(e,t)},t.prototype._keyDown=function(e){if(this._keyDownHandled=!1,this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(!this._compositionHelper.keydown(e))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var t=_.evaluateKeyboardEvent(e,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(e),3===t.type||2===t.type){var n=this.rows-1;return this.scrollLines(2===t.type?-n:n),this.cancel(e,!0)}return 1===t.type&&this.selectAll(),!!this._isThirdLevelShift(this.browser,e)||(t.cancel&&this.cancel(e,!0),!t.key||(t.key!==u.C0.ETX&&t.key!==u.C0.CR||(this.textarea.value=""),this._onKey.fire({key:t.key,domEvent:e}),this._showCursor(),this._coreService.triggerDataEvent(t.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(e,!0)))},t.prototype._isThirdLevelShift=function(e,t){var n=e.isMac&&!this.options.macOptionIsMeta&&t.altKey&&!t.ctrlKey&&!t.metaKey||e.isWindows&&t.altKey&&t.ctrlKey&&!t.metaKey;return"keypress"===t.type?n:n&&(!t.keyCode||t.keyCode>47)},t.prototype._keyUp=function(e){this._customKeyEventHandler&&!1===this._customKeyEventHandler(e)||(function(e){return 16===e.keyCode||17===e.keyCode||18===e.keyCode}(e)||this.focus(),this.updateCursorStyle(e))},t.prototype._keyPress=function(e){var t;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&!1===this._customKeyEventHandler(e))return!1;if(this.cancel(e),e.charCode)t=e.charCode;else if(null==e.which)t=e.keyCode;else{if(0===e.which||0===e.charCode)return!1;t=e.which}return!(!t||(e.altKey||e.ctrlKey||e.metaKey)&&!this._isThirdLevelShift(this.browser,e)||(t=String.fromCharCode(t),this._onKey.fire({key:t,domEvent:e}),this._showCursor(),this._coreService.triggerDataEvent(t,!0),0))},t.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},t.prototype.resize=function(t,n){t!==this.cols||n!==this.rows?e.prototype.resize.call(this,t,n):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},t.prototype._afterResize=function(e,t){var n,r;null===(n=this._charSizeService)||void 0===n||n.measure(),null===(r=this.viewport)||void 0===r||r.syncScrollArea(!0)},t.prototype.clear=function(){if(0!==this.buffer.ybase||0!==this.buffer.y){this.buffer.lines.set(0,this.buffer.lines.get(this.buffer.ybase+this.buffer.y)),this.buffer.lines.length=1,this.buffer.ydisp=0,this.buffer.ybase=0,this.buffer.y=0;for(var e=1;e<this.rows;e++)this.buffer.lines.push(this.buffer.getBlankLine(E.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},t.prototype.reset=function(){var t,n;this.options.rows=this.rows,this.options.cols=this.cols;var r=this._customKeyEventHandler;this._setup(),e.prototype.reset.call(this),null===(t=this._selectionService)||void 0===t||t.reset(),this._customKeyEventHandler=r,this.refresh(0,this.rows-1),null===(n=this.viewport)||void 0===n||n.syncScrollArea()},t.prototype._reportWindowsOptions=function(e){if(this._renderService)switch(e){case l.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var t=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),n=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(u.C0.ESC+"[4;"+n+";"+t+"t");break;case l.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var r=this._renderService.dimensions.scaledCellWidth.toFixed(0),i=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(u.C0.ESC+"[6;"+i+";"+r+"t")}},t.prototype.cancel=function(e,t){if(this.options.cancelEvents||t)return e.preventDefault(),e.stopPropagation(),!1},t.prototype._visualBell=function(){return!1},t.prototype._soundBell=function(){return"sound"===this.options.bellStyle},t}(T.CoreTerminal);t.Terminal=M},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CompositionHelper=void 0;var o=n(5),a=n(1),s=function(){function e(e,t,n,r,i,o){this._textarea=e,this._compositionView=t,this._bufferService=n,this._optionsService=r,this._charSizeService=i,this._coreService=o,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(e.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),e.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},e.prototype.compositionupdate=function(e){var t=this;this._compositionView.textContent=e.data,this.updateCompositionElements(),setTimeout((function(){t._compositionPosition.end=t._textarea.value.length}),0)},e.prototype.compositionend=function(){this._finalizeComposition(!0)},e.prototype.keydown=function(e){if(this._isComposing||this._isSendingComposition){if(229===e.keyCode)return!1;if(16===e.keyCode||17===e.keyCode||18===e.keyCode)return!1;this._finalizeComposition(!1)}return 229!==e.keyCode||(this._handleAnyTextareaChanges(),!1)},e.prototype._finalizeComposition=function(e){var t=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,e){var n={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout((function(){var e;t._isSendingComposition&&(t._isSendingComposition=!1,e=t._isComposing?t._textarea.value.substring(n.start,n.end):t._textarea.value.substring(n.start),t._coreService.triggerDataEvent(e,!0))}),0)}else{this._isSendingComposition=!1;var r=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(r,!0)}},e.prototype._handleAnyTextareaChanges=function(){var e=this,t=this._textarea.value;setTimeout((function(){if(!e._isComposing){var n=e._textarea.value.replace(t,"");n.length>0&&e._coreService.triggerDataEvent(n,!0)}}),0)},e.prototype.updateCompositionElements=function(e){var t=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var n=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),r=this._bufferService.buffer.y*n,i=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=i+"px",this._compositionView.style.top=r+"px",this._compositionView.style.height=n+"px",this._compositionView.style.lineHeight=n+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var o=this._compositionView.getBoundingClientRect();this._textarea.style.left=i+"px",this._textarea.style.top=r+"px",this._textarea.style.width=o.width+"px",this._textarea.style.height=o.height+"px",this._textarea.style.lineHeight=o.height+"px"}e||setTimeout((function(){return t.updateCompositionElements(!0)}),0)}},r([i(2,a.IBufferService),i(3,a.IOptionsService),i(4,o.ICharSizeService),i(5,a.ICoreService)],e)}();t.CompositionHelper=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Viewport=void 0;var s=n(2),u=n(7),l=n(5),c=n(1),d=function(e){function t(t,n,r,i,o,a,s){var l=e.call(this)||this;return l._scrollLines=t,l._viewportElement=n,l._scrollArea=r,l._bufferService=i,l._optionsService=o,l._charSizeService=a,l._renderService=s,l.scrollBarWidth=0,l._currentRowHeight=0,l._lastRecordedBufferLength=0,l._lastRecordedViewportHeight=0,l._lastRecordedBufferHeight=0,l._lastTouchY=0,l._lastScrollTop=0,l._wheelPartialScroll=0,l._refreshAnimationFrame=null,l._ignoreNextScrollEvent=!1,l.scrollBarWidth=l._viewportElement.offsetWidth-l._scrollArea.offsetWidth||15,l.register(u.addDisposableDomListener(l._viewportElement,"scroll",l._onScroll.bind(l))),setTimeout((function(){return l.syncScrollArea()}),0),l}return i(t,e),t.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},t.prototype._refresh=function(e){var t=this;if(e)return this._innerRefresh(),void(null!==this._refreshAnimationFrame&&cancelAnimationFrame(this._refreshAnimationFrame));null===this._refreshAnimationFrame&&(this._refreshAnimationFrame=requestAnimationFrame((function(){return t._innerRefresh()})))},t.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var t=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==t&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=t),this._refreshAnimationFrame=null},t.prototype.syncScrollArea=function(e){if(void 0===e&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight&&this._lastScrollTop===this._bufferService.buffer.ydisp*this._currentRowHeight&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)},t.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var t=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(t,!0)}},t.prototype._bubbleScroll=function(e,t){return!(t<0&&0!==this._viewportElement.scrollTop||t>0&&this._viewportElement.scrollTop+this._lastRecordedViewportHeight<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},t.prototype.onWheel=function(e){var t=this._getPixelsScrolled(e);return 0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},t.prototype._getPixelsScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._currentRowHeight*this._bufferService.rows),t},t.prototype.getLinesScrolled=function(e){if(0===e.deltaY)return 0;var t=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(this._wheelPartialScroll+=t/=this._currentRowHeight+0,t=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._bufferService.rows),t},t.prototype._applyScrollModifier=function(e,t){var n=this._optionsService.options.fastScrollModifier;return"alt"===n&&t.altKey||"ctrl"===n&&t.ctrlKey||"shift"===n&&t.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},t.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},t.prototype.onTouchMove=function(e){var t=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,0!==t&&(this._viewportElement.scrollTop+=t,this._bubbleScroll(e,t))},o([a(3,c.IBufferService),a(4,c.IOptionsService),a(5,l.ICharSizeService),a(6,l.IRenderService)],t)}(s.Disposable);t.Viewport=d},function(e,t,n){"use strict";function r(e){return e.replace(/\r?\n/g,"\r")}function i(e,t){return t?"\x1b[200~"+e+"\x1b[201~":e}function o(e,t,n){e=i(e=r(e),n.decPrivateModes.bracketedPasteMode),n.triggerDataEvent(e,!0),t.value=""}function a(e,t,n){var r=n.getBoundingClientRect(),i=e.clientX-r.left-10,o=e.clientY-r.top-10;t.style.width="20px",t.style.height="20px",t.style.left=i+"px",t.style.top=o+"px",t.style.zIndex="1000",t.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.rightClickHandler=t.moveTextAreaUnderMouseCursor=t.paste=t.handlePasteEvent=t.copyHandler=t.bracketTextForPaste=t.prepareTextForTerminal=void 0,t.prepareTextForTerminal=r,t.bracketTextForPaste=i,t.copyHandler=function(e,t){e.clipboardData&&e.clipboardData.setData("text/plain",t.selectionText),e.preventDefault()},t.handlePasteEvent=function(e,t,n){e.stopPropagation(),e.clipboardData&&o(e.clipboardData.getData("text/plain"),t,n)},t.paste=o,t.moveTextAreaUnderMouseCursor=a,t.rightClickHandler=function(e,t,n,r,i){a(e,t,n),i&&!r.isClickInSelection(e)&&r.selectWordAtCursor(e),t.value=r.selectionText,t.select()}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.EscapeSequenceParser=t.VT500_TRANSITION_TABLE=t.TransitionTable=void 0;var o=n(2),a=n(15),s=n(21),u=n(22),l=n(24),c=function(){function e(e){this.table=new Uint8Array(e)}return e.prototype.setDefault=function(e,t){a.fill(this.table,e<<4|t)},e.prototype.add=function(e,t,n,r){this.table[t<<8|e]=n<<4|r},e.prototype.addMany=function(e,t,n,r){for(var i=0;i<e.length;i++)this.table[t<<8|e[i]]=n<<4|r},e}();t.TransitionTable=c,t.VT500_TRANSITION_TABLE=function(){var e=new c(4095),t=Array.apply(null,Array(256)).map((function(e,t){return t})),n=function(e,n){return t.slice(e,n)},r=n(32,127),i=n(0,24);i.push(25),i.push.apply(i,n(28,32));var o,a=n(0,14);for(o in e.setDefault(1,0),e.addMany(r,0,2,0),a)e.addMany([24,26,153,154],o,3,0),e.addMany(n(128,144),o,3,0),e.addMany(n(144,152),o,3,0),e.add(156,o,0,0),e.add(27,o,11,1),e.add(157,o,4,8),e.addMany([152,158,159],o,0,7),e.add(155,o,11,3),e.add(144,o,11,9);return e.addMany(i,0,3,0),e.addMany(i,1,3,1),e.add(127,1,0,1),e.addMany(i,8,0,8),e.addMany(i,3,3,3),e.add(127,3,0,3),e.addMany(i,4,3,4),e.add(127,4,0,4),e.addMany(i,6,3,6),e.addMany(i,5,3,5),e.add(127,5,0,5),e.addMany(i,2,3,2),e.add(127,2,0,2),e.add(93,1,4,8),e.addMany(r,8,5,8),e.add(127,8,5,8),e.addMany([156,27,24,26,7],8,6,0),e.addMany(n(28,32),8,0,8),e.addMany([88,94,95],1,0,7),e.addMany(r,7,0,7),e.addMany(i,7,0,7),e.add(156,7,0,0),e.add(127,7,0,7),e.add(91,1,11,3),e.addMany(n(64,127),3,7,0),e.addMany(n(48,60),3,8,4),e.addMany([60,61,62,63],3,9,4),e.addMany(n(48,60),4,8,4),e.addMany(n(64,127),4,7,0),e.addMany([60,61,62,63],4,0,6),e.addMany(n(32,64),6,0,6),e.add(127,6,0,6),e.addMany(n(64,127),6,0,0),e.addMany(n(32,48),3,9,5),e.addMany(n(32,48),5,9,5),e.addMany(n(48,64),5,0,6),e.addMany(n(64,127),5,7,0),e.addMany(n(32,48),4,9,5),e.addMany(n(32,48),1,9,2),e.addMany(n(32,48),2,9,2),e.addMany(n(48,127),2,10,0),e.addMany(n(48,80),1,10,0),e.addMany(n(81,88),1,10,0),e.addMany([89,90,92],1,10,0),e.addMany(n(96,127),1,10,0),e.add(80,1,11,9),e.addMany(i,9,0,9),e.add(127,9,0,9),e.addMany(n(28,32),9,0,9),e.addMany(n(32,48),9,9,12),e.addMany(n(48,60),9,8,10),e.addMany([60,61,62,63],9,9,10),e.addMany(i,11,0,11),e.addMany(n(32,128),11,0,11),e.addMany(n(28,32),11,0,11),e.addMany(i,10,0,10),e.add(127,10,0,10),e.addMany(n(28,32),10,0,10),e.addMany(n(48,60),10,8,10),e.addMany([60,61,62,63],10,0,11),e.addMany(n(32,48),10,9,12),e.addMany(i,12,0,12),e.add(127,12,0,12),e.addMany(n(28,32),12,0,12),e.addMany(n(32,48),12,9,12),e.addMany(n(48,64),12,0,11),e.addMany(n(64,127),12,12,13),e.addMany(n(64,127),10,12,13),e.addMany(n(64,127),9,12,13),e.addMany(i,13,13,13),e.addMany(r,13,13,13),e.add(127,13,0,13),e.addMany([27,156,24,26],13,14,0),e.add(160,0,2,0),e.add(160,8,5,8),e.add(160,6,0,6),e.add(160,11,0,11),e.add(160,13,13,13),e}();var d=function(e){function n(n){void 0===n&&(n=t.VT500_TRANSITION_TABLE);var r=e.call(this)||this;return r._transitions=n,r.initialState=0,r.currentState=r.initialState,r._params=new s.Params,r._params.addParam(0),r._collect=0,r.precedingCodepoint=0,r._printHandlerFb=function(e,t,n){},r._executeHandlerFb=function(e){},r._csiHandlerFb=function(e,t){},r._escHandlerFb=function(e){},r._errorHandlerFb=function(e){return e},r._printHandler=r._printHandlerFb,r._executeHandlers=Object.create(null),r._csiHandlers=Object.create(null),r._escHandlers=Object.create(null),r._oscParser=new u.OscParser,r._dcsParser=new l.DcsParser,r._errorHandler=r._errorHandlerFb,r.setEscHandler({final:"\\"},(function(){})),r}return i(n,e),n.prototype._identifier=function(e,t){void 0===t&&(t=[64,126]);var n=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((n=e.prefix.charCodeAt(0))&&60>n||n>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var r=0;r<e.intermediates.length;++r){var i=e.intermediates.charCodeAt(r);if(32>i||i>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");n<<=8,n|=i}}if(1!==e.final.length)throw new Error("final must be a single byte");var o=e.final.charCodeAt(0);if(t[0]>o||o>t[1])throw new Error("final must be in range "+t[0]+" .. "+t[1]);return(n<<=8)|o},n.prototype.identToString=function(e){for(var t=[];e;)t.push(String.fromCharCode(255&e)),e>>=8;return t.reverse().join("")},n.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},n.prototype.setPrintHandler=function(e){this._printHandler=e},n.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},n.prototype.addEscHandler=function(e,t){var n=this._identifier(e,[48,126]);void 0===this._escHandlers[n]&&(this._escHandlers[n]=[]);var r=this._escHandlers[n];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},n.prototype.setEscHandler=function(e,t){this._escHandlers[this._identifier(e,[48,126])]=[t]},n.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},n.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},n.prototype.setExecuteHandler=function(e,t){this._executeHandlers[e.charCodeAt(0)]=t},n.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},n.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},n.prototype.addCsiHandler=function(e,t){var n=this._identifier(e);void 0===this._csiHandlers[n]&&(this._csiHandlers[n]=[]);var r=this._csiHandlers[n];return r.push(t),{dispose:function(){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}},n.prototype.setCsiHandler=function(e,t){this._csiHandlers[this._identifier(e)]=[t]},n.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},n.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},n.prototype.addDcsHandler=function(e,t){return this._dcsParser.addHandler(this._identifier(e),t)},n.prototype.setDcsHandler=function(e,t){this._dcsParser.setHandler(this._identifier(e),t)},n.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},n.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},n.prototype.addOscHandler=function(e,t){return this._oscParser.addHandler(e,t)},n.prototype.setOscHandler=function(e,t){this._oscParser.setHandler(e,t)},n.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},n.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},n.prototype.setErrorHandler=function(e){this._errorHandler=e},n.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},n.prototype.reset=function(){this.currentState=this.initialState,this._oscParser.reset(),this._dcsParser.reset(),this._params.reset(),this._params.addParam(0),this._collect=0,this.precedingCodepoint=0},n.prototype.parse=function(e,t){for(var n=0,r=0,i=this.currentState,o=this._oscParser,a=this._dcsParser,s=this._collect,u=this._params,l=this._transitions.table,c=0;c<t;++c){switch((r=l[i<<8|((n=e[c])<160?n:160)])>>4){case 2:for(var d=c+1;;++d){if(d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,c,d),c=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,c,d),c=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,c,d),c=d-1;break}if(++d>=t||(n=e[d])<32||n>126&&n<160){this._printHandler(e,c,d),c=d-1;break}}break;case 3:this._executeHandlers[n]?this._executeHandlers[n]():this._executeHandlerFb(n),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:c,code:n,currentState:i,collect:s,params:u,abort:!1}).abort)return;break;case 7:for(var f=this._csiHandlers[s<<8|n],h=f?f.length-1:-1;h>=0&&!1===f[h](u);h--);h<0&&this._csiHandlerFb(s<<8|n,u),this.precedingCodepoint=0;break;case 8:do{switch(n){case 59:u.addParam(0);break;case 58:u.addSubParam(-1);break;default:u.addDigit(n-48)}}while(++c<t&&(n=e[c])>47&&n<60);c--;break;case 9:s<<=8,s|=n;break;case 10:for(var p=this._escHandlers[s<<8|n],m=p?p.length-1:-1;m>=0&&!1===p[m]();m--);m<0&&this._escHandlerFb(s<<8|n),this.precedingCodepoint=0;break;case 11:u.reset(),u.addParam(0),s=0;break;case 12:a.hook(s<<8|n,u);break;case 13:for(var v=c+1;;++v)if(v>=t||24===(n=e[v])||26===n||27===n||n>127&&n<160){a.put(e,c,v),c=v-1;break}break;case 14:a.unhook(24!==n&&26!==n),27===n&&(r|=1),u.reset(),u.addParam(0),s=0,this.precedingCodepoint=0;break;case 4:o.start();break;case 5:for(var g=c+1;;g++)if(g>=t||(n=e[g])<32||n>127&&n<=159){o.put(e,c,g),c=g-1;break}break;case 6:o.end(24!==n&&26!==n),27===n&&(r|=1),u.reset(),u.addParam(0),s=0,this.precedingCodepoint=0}i=15&r}this._collect=s,this.currentState=i},n}(o.Disposable);t.EscapeSequenceParser=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Renderer=void 0;var s=n(41),u=n(47),l=n(48),c=n(49),d=n(29),f=n(2),h=n(5),p=n(1),m=n(25),v=n(0),g=1,y=function(e){function t(t,n,r,i,o,a,f,h,p){var m=e.call(this)||this;m._colors=t,m._screenElement=n,m._bufferService=o,m._charSizeService=a,m._optionsService=f,m._id=g++,m._onRequestRedraw=new v.EventEmitter;var y=m._optionsService.options.allowTransparency;return m._characterJoinerRegistry=new d.CharacterJoinerRegistry(m._bufferService),m._renderLayers=[new s.TextRenderLayer(m._screenElement,0,m._colors,m._characterJoinerRegistry,y,m._id,m._bufferService,f),new u.SelectionRenderLayer(m._screenElement,1,m._colors,m._id,m._bufferService,f),new c.LinkRenderLayer(m._screenElement,2,m._colors,m._id,r,i,m._bufferService,f),new l.CursorRenderLayer(m._screenElement,3,m._colors,m._id,m._onRequestRedraw,m._bufferService,f,h,p)],m.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},m._devicePixelRatio=window.devicePixelRatio,m._updateDimensions(),m.onOptionsChanged(),m}return i(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){for(var t=0,n=this._renderLayers;t<n.length;t++)n[t].dispose();e.prototype.dispose.call(this),m.removeTerminalFromCache(this._id)},t.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},t.prototype.setColors=function(e){this._colors=e;for(var t=0,n=this._renderLayers;t<n.length;t++){var r=n[t];r.setColors(this._colors),r.reset()}},t.prototype.onResize=function(e,t){this._updateDimensions();for(var n=0,r=this._renderLayers;n<r.length;n++)r[n].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},t.prototype.onBlur=function(){this._runOperation((function(e){return e.onBlur()}))},t.prototype.onFocus=function(){this._runOperation((function(e){return e.onFocus()}))},t.prototype.onSelectionChanged=function(e,t,n){void 0===n&&(n=!1),this._runOperation((function(r){return r.onSelectionChanged(e,t,n)}))},t.prototype.onCursorMove=function(){this._runOperation((function(e){return e.onCursorMove()}))},t.prototype.onOptionsChanged=function(){this._runOperation((function(e){return e.onOptionsChanged()}))},t.prototype.clear=function(){this._runOperation((function(e){return e.reset()}))},t.prototype._runOperation=function(e){for(var t=0,n=this._renderLayers;t<n.length;t++)e(n[t])},t.prototype.renderRows=function(e,t){for(var n=0,r=this._renderLayers;n<r.length;n++)r[n].onGridChanged(e,t)},t.prototype._updateDimensions=function(){this._charSizeService.hasValidSize&&(this.dimensions.scaledCharWidth=Math.floor(this._charSizeService.width*window.devicePixelRatio),this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharTop=1===this._optionsService.options.lineHeight?0:Math.round((this.dimensions.scaledCellHeight-this.dimensions.scaledCharHeight)/2),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCharLeft=Math.floor(this._optionsService.options.letterSpacing/2),this.dimensions.scaledCanvasHeight=this._bufferService.rows*this.dimensions.scaledCellHeight,this.dimensions.scaledCanvasWidth=this._bufferService.cols*this.dimensions.scaledCellWidth,this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows,this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols)},t.prototype.registerCharacterJoiner=function(e){return this._characterJoinerRegistry.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._characterJoinerRegistry.deregisterCharacterJoiner(e)},o([a(4,p.IBufferService),a(5,h.ICharSizeService),a(6,p.IOptionsService),a(7,p.ICoreService),a(8,h.ICoreBrowserService)],t)}(f.Disposable);t.Renderer=y},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.TextRenderLayer=void 0;var o=n(42),a=n(13),s=n(6),u=n(3),l=n(29),c=n(4),d=function(e){function t(t,n,r,i,a,s,u,l){var d=e.call(this,t,"text",n,a,r,s,u,l)||this;return d._characterWidth=0,d._characterFont="",d._characterOverlapCache={},d._workCell=new c.CellData,d._state=new o.GridCache,d._characterJoinerRegistry=i,d}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t);var n=this._getFont(!1,!1);this._characterWidth===t.scaledCharWidth&&this._characterFont===n||(this._characterWidth=t.scaledCharWidth,this._characterFont=n,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},t.prototype.reset=function(){this._state.clear(),this._clearAll()},t.prototype._forEachCell=function(e,t,n,r){for(var i=e;i<=t;i++)for(var o=i+this._bufferService.buffer.ydisp,a=this._bufferService.buffer.lines.get(o),s=n?n.getJoinedCharacters(o):[],c=0;c<this._bufferService.cols;c++){a.loadCell(c,this._workCell);var d=this._workCell,f=!1,h=c;if(0!==d.getWidth()){if(s.length>0&&c===s[0][0]){f=!0;var p=s.shift();d=new l.JoinedCellData(this._workCell,a.translateToString(!0,p[0],p[1]),p[1]-p[0]),h=p[1]-1}!f&&this._isOverlapping(d)&&h<a.length-1&&a.getCodePoint(h+1)===u.NULL_CELL_CODE&&(d.content&=-12582913,d.content|=2<<22),r(d,c,i),c=h}}},t.prototype._drawBackground=function(e,t){var n=this,r=this._ctx,i=this._bufferService.cols,o=0,a=0,u=null;r.save(),this._forEachCell(e,t,null,(function(e,t,l){var c=null;e.isInverse()?c=e.isFgDefault()?n._colors.foreground.css:e.isFgRGB()?"rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")":n._colors.ansi[e.getFgColor()].css:e.isBgRGB()?c="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")":e.isBgPalette()&&(c=n._colors.ansi[e.getBgColor()].css),null===u&&(o=t,a=l),l!==a?(r.fillStyle=u||"",n._fillCells(o,a,i-o,1),o=t,a=l):u!==c&&(r.fillStyle=u||"",n._fillCells(o,a,t-o,1),o=t,a=l),u=c})),null!==u&&(r.fillStyle=u,this._fillCells(o,a,i-o,1)),r.restore()},t.prototype._drawForeground=function(e,t){var n=this;this._forEachCell(e,t,this._characterJoinerRegistry,(function(e,t,r){if(!e.isInvisible()&&(n._drawChars(e,t,r),e.isUnderline())){if(n._ctx.save(),e.isInverse())if(e.isBgDefault())n._ctx.fillStyle=n._colors.background.css;else if(e.isBgRGB())n._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getBgColor()).join(",")+")";else{var i=e.getBgColor();n._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&i<8&&(i+=8),n._ctx.fillStyle=n._colors.ansi[i].css}else if(e.isFgDefault())n._ctx.fillStyle=n._colors.foreground.css;else if(e.isFgRGB())n._ctx.fillStyle="rgb("+s.AttributeData.toColorRGB(e.getFgColor()).join(",")+")";else{var o=e.getFgColor();n._optionsService.options.drawBoldTextInBrightColors&&e.isBold()&&o<8&&(o+=8),n._ctx.fillStyle=n._colors.ansi[o].css}n._fillBottomLineAtCells(t,r,e.getWidth()),n._ctx.restore()}}))},t.prototype.onGridChanged=function(e,t){0!==this._state.cache.length&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,t-e+1),this._drawBackground(e,t),this._drawForeground(e,t))},t.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},t.prototype._isOverlapping=function(e){if(1!==e.getWidth())return!1;if(e.getCode()<256)return!1;var t=e.getChars();if(this._characterOverlapCache.hasOwnProperty(t))return this._characterOverlapCache[t];this._ctx.save(),this._ctx.font=this._characterFont;var n=Math.floor(this._ctx.measureText(t).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[t]=n,n},t}(a.BaseRenderLayer);t.TextRenderLayer=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridCache=void 0;var r=function(){function e(){this.cache=[]}return e.prototype.resize=function(e,t){for(var n=0;n<e;n++){this.cache.length<=n&&this.cache.push([]);for(var r=this.cache[n].length;r<t;r++)this.cache[n].push(void 0);this.cache[n].length=t}this.cache.length=e},e.prototype.clear=function(){for(var e=0;e<this.cache.length;e++)for(var t=0;t<this.cache[e].length;t++)this.cache[e][t]=void 0},e}();t.GridCache=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.NoneCharAtlas=t.DynamicCharAtlas=t.getGlyphCacheKey=void 0;var o=n(9),a=n(44),s=n(27),u=n(46),l=n(11),c=n(28),d=n(10),f={css:"rgba(0, 0, 0, 0)",rgba:0};function h(e){return e.code<<21|e.bg<<12|e.fg<<3|(e.bold?0:4)+(e.dim?0:2)+(e.italic?0:1)}t.getGlyphCacheKey=h;var p=function(e){function t(t,n){var r=e.call(this)||this;r._config=n,r._drawToCacheCount=0,r._glyphsWaitingOnBitmap=[],r._bitmapCommitTimeout=null,r._bitmap=null,r._cacheCanvas=t.createElement("canvas"),r._cacheCanvas.width=1024,r._cacheCanvas.height=1024,r._cacheCtx=c.throwIfFalsy(r._cacheCanvas.getContext("2d",{alpha:!0}));var i=t.createElement("canvas");i.width=r._config.scaledCharWidth,i.height=r._config.scaledCharHeight,r._tmpCtx=c.throwIfFalsy(i.getContext("2d",{alpha:r._config.allowTransparency})),r._width=Math.floor(1024/r._config.scaledCharWidth),r._height=Math.floor(1024/r._config.scaledCharHeight);var o=r._width*r._height;return r._cacheMap=new u.LRUMap(o),r._cacheMap.prealloc(o),r}return i(t,e),t.prototype.dispose=function(){null!==this._bitmapCommitTimeout&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},t.prototype.beginFrame=function(){this._drawToCacheCount=0},t.prototype.draw=function(e,t,n,r){if(32===t.code)return!0;if(!this._canCache(t))return!1;var i=h(t),o=this._cacheMap.get(i);if(null!=o)return this._drawFromCache(e,o,n,r),!0;if(this._drawToCacheCount<100){var a;a=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var s=this._drawToCache(t,a);return this._cacheMap.set(i,s),this._drawFromCache(e,s,n,r),!0}return!1},t.prototype._canCache=function(e){return e.code<256},t.prototype._toCoordinateX=function(e){return e%this._width*this._config.scaledCharWidth},t.prototype._toCoordinateY=function(e){return Math.floor(e/this._width)*this._config.scaledCharHeight},t.prototype._drawFromCache=function(e,t,n,r){if(!t.isEmpty){var i=this._toCoordinateX(t.index),o=this._toCoordinateY(t.index);e.drawImage(t.inBitmap?this._bitmap:this._cacheCanvas,i,o,this._config.scaledCharWidth,this._config.scaledCharHeight,n,r,this._config.scaledCharWidth,this._config.scaledCharHeight)}},t.prototype._getColorFromAnsiIndex=function(e){return e<this._config.colors.ansi.length?this._config.colors.ansi[e]:s.DEFAULT_ANSI_COLORS[e]},t.prototype._getBackgroundColor=function(e){return this._config.allowTransparency?f:e.bg===o.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:e.bg<256?this._getColorFromAnsiIndex(e.bg):this._config.colors.background},t.prototype._getForegroundColor=function(e){return e.fg===o.INVERTED_DEFAULT_COLOR?d.color.opaque(this._config.colors.background):e.fg<256?this._getColorFromAnsiIndex(e.fg):this._config.colors.foreground},t.prototype._drawToCache=function(e,t){this._drawToCacheCount++,this._tmpCtx.save();var n=this._getBackgroundColor(e);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=n.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over",this._tmpCtx.font=(e.italic?"italic":"")+" "+(e.bold?this._config.fontWeightBold:this._config.fontWeight)+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(e).css,e.dim&&(this._tmpCtx.globalAlpha=o.DIM_OPACITY),this._tmpCtx.fillText(e.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var r=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),i=!1;this._config.allowTransparency||(i=function(e,t){for(var n=!0,r=t.rgba>>>24,i=t.rgba>>>16&255,o=t.rgba>>>8&255,a=0;a<e.data.length;a+=4)e.data[a]===r&&e.data[a+1]===i&&e.data[a+2]===o?e.data[a+3]=0:n=!1;return n}(r,n));var a=this._toCoordinateX(t),s=this._toCoordinateY(t);this._cacheCtx.putImageData(r,a,s);var u={index:t,isEmpty:i,inBitmap:!1};return this._addGlyphToBitmap(u),u},t.prototype._addGlyphToBitmap=function(e){var t=this;!("createImageBitmap"in window)||l.isFirefox||l.isSafari||(this._glyphsWaitingOnBitmap.push(e),null===this._bitmapCommitTimeout&&(this._bitmapCommitTimeout=window.setTimeout((function(){return t._generateBitmap()}),100)))},t.prototype._generateBitmap=function(){var e=this,t=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then((function(n){e._bitmap=n;for(var r=0;r<t.length;r++)t[r].inBitmap=!0})),this._bitmapCommitTimeout=null},t}(a.BaseCharAtlas);t.DynamicCharAtlas=p;var m=function(e){function t(t,n){return e.call(this)||this}return i(t,e),t.prototype.draw=function(e,t,n,r){return!1},t}(a.BaseCharAtlas);t.NoneCharAtlas=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCharAtlas=void 0;var r=function(){function e(){this._didWarmUp=!1}return e.prototype.dispose=function(){},e.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},e.prototype._doWarmUp=function(){},e.prototype.beginFrame=function(){},e}();t.BaseCharAtlas=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorContrastCache=void 0;var r=function(){function e(){this._color={},this._rgba={}}return e.prototype.clear=function(){this._color={},this._rgba={}},e.prototype.setCss=function(e,t,n){this._rgba[e]||(this._rgba[e]={}),this._rgba[e][t]=n},e.prototype.getCss=function(e,t){return this._rgba[e]?this._rgba[e][t]:void 0},e.prototype.setColor=function(e,t,n){this._color[e]||(this._color[e]={}),this._color[e][t]=n},e.prototype.getColor=function(e,t){return this._color[e]?this._color[e][t]:void 0},e}();t.ColorContrastCache=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LRUMap=void 0;var r=function(){function e(e){this.capacity=e,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return e.prototype._unlinkNode=function(e){var t=e.prev,n=e.next;e===this._head&&(this._head=n),e===this._tail&&(this._tail=t),null!==t&&(t.next=n),null!==n&&(n.prev=t)},e.prototype._appendNode=function(e){var t=this._tail;null!==t&&(t.next=e),e.prev=t,e.next=null,this._tail=e,null===this._head&&(this._head=e)},e.prototype.prealloc=function(e){for(var t=this._nodePool,n=0;n<e;n++)t.push({prev:null,next:null,key:null,value:null})},e.prototype.get=function(e){var t=this._map[e];return void 0!==t?(this._unlinkNode(t),this._appendNode(t),t.value):null},e.prototype.peekValue=function(e){var t=this._map[e];return void 0!==t?t.value:null},e.prototype.peek=function(){var e=this._head;return null===e?null:e.value},e.prototype.set=function(e,t){var n=this._map[e];if(void 0!==n)this._unlinkNode(n=this._map[e]),n.value=t;else if(this.size>=this.capacity)this._unlinkNode(n=this._head),delete this._map[n.key],n.key=e,n.value=t,this._map[e]=n;else{var r=this._nodePool;r.length>0?((n=r.pop()).key=e,n.value=t):n={prev:null,next:null,key:e,value:t},this._map[e]=n,this.size++}this._appendNode(n)},e}();t.LRUMap=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRenderLayer=void 0;var o=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t,"selection",n,!0,r,i,o,a)||this;return s._clearState(),s}return i(t,e),t.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._clearState()},t.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},t.prototype.onSelectionChanged=function(e,t,n){if(this._didStateChange(e,t,n,this._bufferService.buffer.ydisp))if(this._clearAll(),e&&t){var r=e[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),a=Math.min(i,this._bufferService.rows-1);if(o>=this._bufferService.rows||a<0)this._state.ydisp=this._bufferService.buffer.ydisp;else{if(this._ctx.fillStyle=this._colors.selectionTransparent.css,n){var s=e[0];this._fillCells(s,o,t[0]-s,a-o+1)}else{this._fillCells(s=r===o?e[0]:0,o,(o===i?t[0]:this._bufferService.cols)-s,1);var u=Math.max(a-o-1,0);this._fillCells(0,o+1,this._bufferService.cols,u),o!==a&&this._fillCells(0,a,i===a?t[0]:this._bufferService.cols,1)}this._state.start=[e[0],e[1]],this._state.end=[t[0],t[1]],this._state.columnSelectMode=n,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},t.prototype._didStateChange=function(e,t,n,r){return!this._areCoordinatesEqual(e,this._state.start)||!this._areCoordinatesEqual(t,this._state.end)||n!==this._state.columnSelectMode||r!==this._state.ydisp},t.prototype._areCoordinatesEqual=function(e,t){return!(!e||!t)&&e[0]===t[0]&&e[1]===t[1]},t}(n(13).BaseRenderLayer);t.SelectionRenderLayer=o},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CursorRenderLayer=void 0;var o=n(13),a=n(4),s=function(e){function t(t,n,r,i,o,s,u,l,c){var d=e.call(this,t,"cursor",n,!0,r,i,s,u)||this;return d._onRequestRedraw=o,d._coreService=l,d._coreBrowserService=c,d._cell=new a.CellData,d._state={x:0,y:0,isFocused:!1,style:"",width:0},d._cursorRenderers={bar:d._renderBarCursor.bind(d),block:d._renderBlockCursor.bind(d),underline:d._renderUnderlineCursor.bind(d)},d}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},t.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},t.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onOptionsChanged=function(){var e,t=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new u(this._coreBrowserService.isFocused,(function(){t._render(!0)}))):(null===(e=this._cursorBlinkStateManager)||void 0===e||e.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},t.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype.onGridChanged=function(e,t){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},t.prototype._render=function(e){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var t=this._bufferService.buffer.ybase+this._bufferService.buffer.y,n=t-this._bufferService.buffer.ydisp;if(n<0||n>=this._bufferService.rows)this._clearCursor();else{var r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(t).loadCell(r,this._cell),void 0!==this._cell.content){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var i=this._optionsService.options.cursorStyle;return i&&"block"!==i?this._cursorRenderers[i](r,n,this._cell):this._renderBlurCursor(r,n,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=n,this._state.isFocused=!1,this._state.style=i,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===r&&this._state.y===n&&this._state.isFocused===this._coreBrowserService.isFocused&&this._state.style===this._optionsService.options.cursorStyle&&this._state.width===this._cell.getWidth())return;this._clearCursor()}this._ctx.save(),this._cursorRenderers[this._optionsService.options.cursorStyle||"block"](r,n,this._cell),this._ctx.restore(),this._state.x=r,this._state.y=n,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},t.prototype._clearCursor=function(){this._state&&(this._clearCells(this._state.x,this._state.y,this._state.width,1),this._state={x:0,y:0,isFocused:!1,style:"",width:0})},t.prototype._renderBarCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(e,t,this._optionsService.options.cursorWidth),this._ctx.restore()},t.prototype._renderBlockCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(e,t,n.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(n,e,t),this._ctx.restore()},t.prototype._renderUnderlineCursor=function(e,t,n){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(e,t),this._ctx.restore()},t.prototype._renderBlurCursor=function(e,t,n){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(e,t,n.getWidth(),1),this._ctx.restore()},t}(o.BaseRenderLayer);t.CursorRenderLayer=s;var u=function(){function e(e,t){this._renderCallback=t,this.isCursorVisible=!0,e&&this._restartInterval()}return Object.defineProperty(e.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.restartBlinkAnimation=function(){var e=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame((function(){e._renderCallback(),e._animationFrame=void 0}))))},e.prototype._restartInterval=function(e){var t=this;void 0===e&&(e=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);if(t._animationTimeRestarted=void 0,e>0)return void t._restartInterval(e)}t.isCursorVisible=!1,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0})),t._blinkInterval=window.setInterval((function(){if(t._animationTimeRestarted){var e=600-(Date.now()-t._animationTimeRestarted);return t._animationTimeRestarted=void 0,void t._restartInterval(e)}t.isCursorVisible=!t.isCursorVisible,t._animationFrame=window.requestAnimationFrame((function(){t._renderCallback(),t._animationFrame=void 0}))}),600)}),e)},e.prototype.pause=function(){this.isCursorVisible=!0,this._blinkInterval&&(window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},e.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},e}()},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;var o=n(13),a=n(9),s=n(26),u=function(e){function t(t,n,r,i,o,a,s,u){var l=e.call(this,t,"link",n,!0,r,i,s,u)||this;return o.onShowLinkUnderline((function(e){return l._onShowLinkUnderline(e)})),o.onHideLinkUnderline((function(e){return l._onHideLinkUnderline(e)})),a.onShowLinkUnderline((function(e){return l._onShowLinkUnderline(e)})),a.onHideLinkUnderline((function(e){return l._onHideLinkUnderline(e)})),l}return i(t,e),t.prototype.resize=function(t){e.prototype.resize.call(this,t),this._state=void 0},t.prototype.reset=function(){this._clearCurrentLink()},t.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},t.prototype._onShowLinkUnderline=function(e){if(this._ctx.fillStyle=e.fg===a.INVERTED_DEFAULT_COLOR?this._colors.background.css:e.fg&&s.is256Color(e.fg)?this._colors.ansi[e.fg].css:this._colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(var t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e},t.prototype._onHideLinkUnderline=function(e){this._clearCurrentLink()},t}(o.BaseRenderLayer);t.LinkRenderLayer=u},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZone=t.Linkifier=void 0;var o=n(0),a=n(1),s=function(){function e(e,t,n){this._bufferService=e,this._logService=t,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new o.EventEmitter,this._onHideLinkUnderline=new o.EventEmitter,this._onLinkTooltip=new o.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(e.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),e.prototype.attachToDom=function(e,t){this._element=e,this._mouseZoneManager=t},e.prototype.linkifyRows=function(t,n){var r=this;this._mouseZoneManager&&(void 0===this._rowsToLinkify.start||void 0===this._rowsToLinkify.end?(this._rowsToLinkify.start=t,this._rowsToLinkify.end=n):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,t),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,n)),this._mouseZoneManager.clearAll(t,n),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout((function(){return r._linkifyRows()}),e._timeBeforeLatency))},e.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var e=this._bufferService.buffer;if(void 0!==this._rowsToLinkify.start&&void 0!==this._rowsToLinkify.end){var t=e.ydisp+this._rowsToLinkify.start;if(!(t>=e.lines.length)){for(var n=e.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,r=Math.ceil(2e3/this._bufferService.cols),i=this._bufferService.buffer.iterator(!1,t,n,r,r);i.hasNext();)for(var o=i.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(o.range.first,o.content,this._linkMatchers[a]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},e.prototype.registerLinkMatcher=function(e,t,n){if(void 0===n&&(n={}),!t)throw new Error("handler must be defined");var r={id:this._nextLinkMatcherId++,regex:e,handler:t,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(r),r.id},e.prototype._addLinkMatcherToList=function(e){if(0!==this._linkMatchers.length){for(var t=this._linkMatchers.length-1;t>=0;t--)if(e.priority<=this._linkMatchers[t].priority)return void this._linkMatchers.splice(t+1,0,e);this._linkMatchers.splice(0,0,e)}else this._linkMatchers.push(e)},e.prototype.deregisterLinkMatcher=function(e){for(var t=0;t<this._linkMatchers.length;t++)if(this._linkMatchers[t].id===e)return this._linkMatchers.splice(t,1),!0;return!1},e.prototype._doLinkifyRow=function(e,t,n){for(var r,i=this,o=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),a=-1,s=function(){var s=r["number"!=typeof n.matchIndex?0:n.matchIndex];if(!s)return u._logService.debug("match found without corresponding matchIndex",r,n),"break";if(a=t.indexOf(s,a+1),o.lastIndex=a+s.length,a<0)return"break";var l=u._bufferService.buffer.stringIndexToBufferIndex(e,a);if(l[0]<0)return"break";var c=u._bufferService.buffer.lines.get(l[0]);if(!c)return"break";var d=c.getFg(l[1]),f=d?d>>9&511:void 0;n.validationCallback?n.validationCallback(s,(function(e){i._rowsTimeoutId||e&&i._addLink(l[1],l[0]-i._bufferService.buffer.ydisp,s,n,f)})):u._addLink(l[1],l[0]-u._bufferService.buffer.ydisp,s,n,f)},u=this;null!==(r=o.exec(t))&&"break"!==s(););},e.prototype._addLink=function(e,t,n,r,i){var o=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(n),s=e%this._bufferService.cols,l=t+Math.floor(e/this._bufferService.cols),c=(s+a)%this._bufferService.cols,d=l+Math.floor((s+a)/this._bufferService.cols);0===c&&(c=this._bufferService.cols,d--),this._mouseZoneManager.add(new u(s+1,l+1,c+1,d+1,(function(e){if(r.handler)return r.handler(e,n);var t=window.open();t?(t.opener=null,t.location.href=n):console.warn("Opening link blocked as opener could not be cleared")}),(function(){o._onShowLinkUnderline.fire(o._createLinkHoverEvent(s,l,c,d,i)),o._element.classList.add("xterm-cursor-pointer")}),(function(e){o._onLinkTooltip.fire(o._createLinkHoverEvent(s,l,c,d,i)),r.hoverTooltipCallback&&r.hoverTooltipCallback(e,n,{start:{x:s,y:l},end:{x:c,y:d}})}),(function(){o._onHideLinkUnderline.fire(o._createLinkHoverEvent(s,l,c,d,i)),o._element.classList.remove("xterm-cursor-pointer"),r.hoverLeaveCallback&&r.hoverLeaveCallback()}),(function(e){return!r.willLinkActivate||r.willLinkActivate(e,n)})))}},e.prototype._createLinkHoverEvent=function(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}},e._timeBeforeLatency=200,e=r([i(0,a.IBufferService),i(1,a.ILogService),i(2,a.IUnicodeService)],e)}();t.Linkifier=s;var u=function(e,t,n,r,i,o,a,s,u){this.x1=e,this.y1=t,this.x2=n,this.y2=r,this.clickCallback=i,this.hoverCallback=o,this.tooltipCallback=a,this.leaveCallback=s,this.willLinkActivate=u};t.MouseZone=u},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionService=void 0;var s=n(11),u=n(52),l=n(4),c=n(0),d=n(5),f=n(1),h=n(30),p=n(53),m=n(2),v=String.fromCharCode(160),g=new RegExp(v,"g"),y=function(e){function t(t,n,r,i,o,a,s){var d=e.call(this)||this;return d._element=t,d._screenElement=n,d._bufferService=r,d._coreService=i,d._mouseService=o,d._optionsService=a,d._renderService=s,d._dragScrollAmount=0,d._enabled=!0,d._workCell=new l.CellData,d._mouseDownTimeStamp=0,d._onLinuxMouseSelection=d.register(new c.EventEmitter),d._onRedrawRequest=d.register(new c.EventEmitter),d._onSelectionChange=d.register(new c.EventEmitter),d._onRequestScrollLines=d.register(new c.EventEmitter),d._mouseMoveListener=function(e){return d._onMouseMove(e)},d._mouseUpListener=function(e){return d._onMouseUp(e)},d._coreService.onUserInput((function(){d.hasSelection&&d.clearSelection()})),d._trimListener=d._bufferService.buffer.lines.onTrim((function(e){return d._onTrim(e)})),d.register(d._bufferService.buffers.onBufferActivate((function(e){return d._onBufferActivate(e)}))),d.enable(),d._model=new u.SelectionModel(d._bufferService),d._activeSelectionMode=0,d}return i(t,e),Object.defineProperty(t.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._removeMouseDownListeners()},t.prototype.reset=function(){this.clearSelection()},t.prototype.disable=function(){this.clearSelection(),this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasSelection",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;return!(!e||!t||e[0]===t[0]&&e[1]===t[1])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionText",{get:function(){var e=this._model.finalSelectionStart,t=this._model.finalSelectionEnd;if(!e||!t)return"";var n=this._bufferService.buffer,r=[];if(3===this._activeSelectionMode){if(e[0]===t[0])return"";for(var i=e[1];i<=t[1];i++){var o=n.translateBufferLineToString(i,!0,e[0],t[0]);r.push(o)}}else{for(r.push(n.translateBufferLineToString(e[1],!0,e[0],e[1]===t[1]?t[0]:void 0)),i=e[1]+1;i<=t[1]-1;i++){var a=n.lines.get(i);o=n.translateBufferLineToString(i,!0),a&&a.isWrapped?r[r.length-1]+=o:r.push(o)}e[1]!==t[1]&&(a=n.lines.get(t[1]),o=n.translateBufferLineToString(t[1],!0,0,t[0]),a&&a.isWrapped?r[r.length-1]+=o:r.push(o))}return r.map((function(e){return e.replace(g," ")})).join(s.isWindows?"\r\n":"\n")},enumerable:!1,configurable:!0}),t.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},t.prototype.refresh=function(e){var t=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame((function(){return t._refresh()}))),s.isLinux&&e&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},t.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:3===this._activeSelectionMode})},t.prototype.isClickInSelection=function(e){var t=this._getMouseBufferCoords(e),n=this._model.finalSelectionStart,r=this._model.finalSelectionEnd;return!!(n&&r&&t)&&this._areCoordsInSelection(t,n,r)},t.prototype._areCoordsInSelection=function(e,t,n){return e[1]>t[1]&&e[1]<n[1]||t[1]===n[1]&&e[1]===t[1]&&e[0]>=t[0]&&e[0]<n[0]||t[1]<n[1]&&e[1]===n[1]&&e[0]<n[0]||t[1]<n[1]&&e[1]===t[1]&&e[0]>=t[0]},t.prototype.selectWordAtCursor=function(e){var t=this._getMouseBufferCoords(e);t&&(this._selectWordAt(t,!1),this._model.selectionEnd=void 0,this.refresh(!0))},t.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},t.prototype.selectLines=function(e,t){this._model.clearSelection(),e=Math.max(e,0),t=Math.min(t,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,e],this._model.selectionEnd=[this._bufferService.cols,t],this.refresh(),this._onSelectionChange.fire()},t.prototype._onTrim=function(e){this._model.onTrim(e)&&this.refresh()},t.prototype._getMouseBufferCoords=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(t)return t[0]--,t[1]--,t[1]+=this._bufferService.buffer.ydisp,t},t.prototype._getMouseEventScrollAmount=function(e){var t=h.getCoordsRelativeToElement(e,this._screenElement)[1],n=this._renderService.dimensions.canvasHeight;return t>=0&&t<=n?0:(t>n&&(t-=n),t=Math.min(Math.max(t,-50),50),(t/=50)/Math.abs(t)+Math.round(14*t))},t.prototype.shouldForceSelection=function(e){return s.isMac?e.altKey&&this._optionsService.options.macOptionClickForcesSelection:e.shiftKey},t.prototype.onMouseDown=function(e){if(this._mouseDownTimeStamp=e.timeStamp,(2!==e.button||!this.hasSelection)&&0===e.button){if(!this._enabled){if(!this.shouldForceSelection(e))return;e.stopPropagation()}e.preventDefault(),this._dragScrollAmount=0,this._enabled&&e.shiftKey?this._onIncrementalClick(e):1===e.detail?this._onSingleClick(e):2===e.detail?this._onDoubleClick(e):3===e.detail&&this._onTripleClick(e),this._addMouseDownListeners(),this.refresh(!0)}},t.prototype._addMouseDownListeners=function(){var e=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval((function(){return e._dragScroll()}),50)},t.prototype._removeMouseDownListeners=function(){this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.removeEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.removeEventListener("mouseup",this._mouseUpListener)),clearInterval(this._dragScrollIntervalTimer),this._dragScrollIntervalTimer=void 0},t.prototype._onIncrementalClick=function(e){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(e))},t.prototype._onSingleClick=function(e){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(e)?3:0,this._model.selectionStart=this._getMouseBufferCoords(e),this._model.selectionStart){this._model.selectionEnd=void 0;var t=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);t&&t.length!==this._model.selectionStart[0]&&0===t.hasWidth(this._model.selectionStart[0])&&this._model.selectionStart[0]++}},t.prototype._onDoubleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=1,this._selectWordAt(t,!0))},t.prototype._onTripleClick=function(e){var t=this._getMouseBufferCoords(e);t&&(this._activeSelectionMode=2,this._selectLineAt(t[1]))},t.prototype.shouldColumnSelect=function(e){return e.altKey&&!(s.isMac&&this._optionsService.options.macOptionClickForcesSelection)},t.prototype._onMouseMove=function(e){if(e.stopImmediatePropagation(),this._model.selectionStart){var t=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(e),this._model.selectionEnd){2===this._activeSelectionMode?this._model.selectionEnd[0]=this._model.selectionEnd[1]<this._model.selectionStart[1]?0:this._bufferService.cols:1===this._activeSelectionMode&&this._selectToWordAt(this._model.selectionEnd),this._dragScrollAmount=this._getMouseEventScrollAmount(e),3!==this._activeSelectionMode&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var n=this._bufferService.buffer;if(this._model.selectionEnd[1]<n.lines.length){var r=n.lines.get(this._model.selectionEnd[1]);r&&0===r.hasWidth(this._model.selectionEnd[0])&&this._model.selectionEnd[0]++}t&&t[0]===this._model.selectionEnd[0]&&t[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},t.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var e=this._bufferService.buffer;this._dragScrollAmount>0?(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(e.ydisp+this._bufferService.rows,e.lines.length-1)):(3!==this._activeSelectionMode&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=e.ydisp),this.refresh()}},t.prototype._onMouseUp=function(e){var t=e.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&t<500&&e.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var n=this._mouseService.getCoords(e,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(n&&void 0!==n[0]&&void 0!==n[1]){var r=p.moveToCellSequence(n[0]-1,n[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(r,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},t.prototype._onBufferActivate=function(e){var t=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=e.activeBuffer.lines.onTrim((function(e){return t._onTrim(e)}))},t.prototype._convertViewportColToCharacterIndex=function(e,t){for(var n=t[0],r=0;t[0]>=r;r++){var i=e.loadCell(r,this._workCell).getChars().length;0===this._workCell.getWidth()?n--:i>1&&t[0]!==r&&(n+=i-1)}return n},t.prototype.setSelection=function(e,t,n){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[e,t],this._model.selectionStartLength=n,this.refresh()},t.prototype._getWordAt=function(e,t,n,r){if(void 0===n&&(n=!0),void 0===r&&(r=!0),!(e[0]>=this._bufferService.cols)){var i=this._bufferService.buffer,o=i.lines.get(e[1]);if(o){var a=i.translateBufferLineToString(e[1],!1),s=this._convertViewportColToCharacterIndex(o,e),u=s,l=e[0]-s,c=0,d=0,f=0,h=0;if(" "===a.charAt(s)){for(;s>0&&" "===a.charAt(s-1);)s--;for(;u<a.length&&" "===a.charAt(u+1);)u++}else{var p=e[0],m=e[0];0===o.getWidth(p)&&(c++,p--),2===o.getWidth(m)&&(d++,m++);var v=o.getString(m).length;for(v>1&&(h+=v-1,u+=v-1);p>0&&s>0&&!this._isCharWordSeparator(o.loadCell(p-1,this._workCell));){o.loadCell(p-1,this._workCell);var g=this._workCell.getChars().length;0===this._workCell.getWidth()?(c++,p--):g>1&&(f+=g-1,s-=g-1),s--,p--}for(;m<o.length&&u+1<a.length&&!this._isCharWordSeparator(o.loadCell(m+1,this._workCell));){o.loadCell(m+1,this._workCell);var y=this._workCell.getChars().length;2===this._workCell.getWidth()?(d++,m++):y>1&&(h+=y-1,u+=y-1),u++,m++}}u++;var b=s+l-c+f,_=Math.min(this._bufferService.cols,u-s+c+d-f-h);if(t||""!==a.slice(s,u).trim()){if(n&&0===b&&32!==o.getCodePoint(0)){var w=i.lines.get(e[1]-1);if(w&&o.isWrapped&&32!==w.getCodePoint(this._bufferService.cols-1)){var E=this._getWordAt([this._bufferService.cols-1,e[1]-1],!1,!0,!1);if(E){var C=this._bufferService.cols-E.start;b-=C,_+=C}}}if(r&&b+_===this._bufferService.cols&&32!==o.getCodePoint(this._bufferService.cols-1)){var A=i.lines.get(e[1]+1);if(A&&A.isWrapped&&32!==A.getCodePoint(0)){var k=this._getWordAt([0,e[1]+1],!1,!1,!0);k&&(_+=k.length)}}return{start:b,length:_}}}}},t.prototype._selectWordAt=function(e,t){var n=this._getWordAt(e,t);if(n){for(;n.start<0;)n.start+=this._bufferService.cols,e[1]--;this._model.selectionStart=[n.start,e[1]],this._model.selectionStartLength=n.length}},t.prototype._selectToWordAt=function(e){var t=this._getWordAt(e,!0);if(t){for(var n=e[1];t.start<0;)t.start+=this._bufferService.cols,n--;if(!this._model.areSelectionValuesReversed())for(;t.start+t.length>this._bufferService.cols;)t.length-=this._bufferService.cols,n++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?t.start:t.start+t.length,n]}},t.prototype._isCharWordSeparator=function(e){return 0!==e.getWidth()&&this._optionsService.options.wordSeparator.indexOf(e.getChars())>=0},t.prototype._selectLineAt=function(e){var t=this._bufferService.buffer.getWrappedRangeForLine(e);this._model.selectionStart=[0,t.first],this._model.selectionEnd=[this._bufferService.cols,t.last],this._model.selectionStartLength=0},o([a(2,f.IBufferService),a(3,f.ICoreService),a(4,d.IMouseService),a(5,f.IOptionsService),a(6,d.IRenderService)],t)}(m.Disposable);t.SelectionService=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionModel=void 0;var r=function(){function e(e){this._bufferService=e,this.isSelectAllActive=!1,this.selectionStartLength=0}return e.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(e.prototype,"finalSelectionStart",{get:function(){return this.isSelectAllActive?[0,0]:this.selectionEnd&&this.selectionStart&&this.areSelectionValuesReversed()?this.selectionEnd:this.selectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"finalSelectionEnd",{get:function(){if(this.isSelectAllActive)return[this._bufferService.cols,this._bufferService.buffer.ybase+this._bufferService.rows-1];if(this.selectionStart){if(!this.selectionEnd||this.areSelectionValuesReversed()){var e=this.selectionStart[0]+this.selectionStartLength;return e>this._bufferService.cols?[e%this._bufferService.cols,this.selectionStart[1]+Math.floor(e/this._bufferService.cols)]:[e,this.selectionStart[1]]}return this.selectionStartLength&&this.selectionEnd[1]===this.selectionStart[1]?[Math.max(this.selectionStart[0]+this.selectionStartLength,this.selectionEnd[0]),this.selectionEnd[1]]:this.selectionEnd}},enumerable:!1,configurable:!0}),e.prototype.areSelectionValuesReversed=function(){var e=this.selectionStart,t=this.selectionEnd;return!(!e||!t)&&(e[1]>t[1]||e[1]===t[1]&&e[0]>t[0])},e.prototype.onTrim=function(e){return this.selectionStart&&(this.selectionStart[1]-=e),this.selectionEnd&&(this.selectionEnd[1]-=e),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},e}();t.SelectionModel=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveToCellSequence=void 0;var r=n(12);function i(e,t,n,r){var i=e-o(n,e),s=t-o(n,t);return l(Math.abs(i-s)-function(e,t,n){for(var r=0,i=e-o(n,e),s=t-o(n,t),u=0;u<Math.abs(i-s);u++){var l="A"===a(e,t)?-1:1,c=n.buffer.lines.get(i+l*u);c&&c.isWrapped&&r++}return r}(e,t,n),u(a(e,t),r))}function o(e,t){for(var n=0,r=e.buffer.lines.get(t),i=r&&r.isWrapped;i&&t>=0&&t<e.rows;)n++,i=(r=e.buffer.lines.get(--t))&&r.isWrapped;return n}function a(e,t){return e>t?"A":"B"}function s(e,t,n,r,i,o){for(var a=e,s=t,u="";a!==n||s!==r;)a+=i?1:-1,i&&a>o.cols-1?(u+=o.buffer.translateBufferLineToString(s,!1,e,a),a=0,e=0,s++):!i&&a<0&&(u+=o.buffer.translateBufferLineToString(s,!1,0,e+1),e=a=o.cols-1,s--);return u+o.buffer.translateBufferLineToString(s,!1,e,a)}function u(e,t){return r.C0.ESC+(t?"O":"[")+e}function l(e,t){e=Math.floor(e);for(var n="",r=0;r<e;r++)n+=t;return n}t.moveToCellSequence=function(e,t,n,r){var a,c=n.buffer.x,d=n.buffer.y;if(!n.buffer.hasScrollback)return function(e,t,n,r,a,c){return 0===i(t,r,a,c).length?"":l(s(e,t,e,t-o(a,t),!1,a).length,u("D",c))}(c,d,0,t,n,r)+i(d,t,n,r)+function(e,t,n,r,a,c){var d;d=i(t,r,a,c).length>0?r-o(a,r):t;var f=r,h=function(e,t,n,r,a,s){var u;return u=i(n,r,a,s).length>0?r-o(a,r):t,e<n&&u<=r||e>=n&&u<r?"C":"D"}(e,t,n,r,a,c);return l(s(e,d,n,f,"C"===h,a).length,u(h,c))}(c,d,e,t,n,r);if(d===t)return a=c>e?"D":"C",l(Math.abs(c-e),u(a,r));a=d>t?"D":"C";var f=Math.abs(d-t);return l(function(e,t){return t.cols-e}(d>t?e:c,n)+(f-1)*n.cols+1+((d>t?c:e)-1),u(a,r))}},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.SoundService=void 0;var o=n(1),a=function(){function e(e){this._optionsService=e}return Object.defineProperty(e,"audioContext",{get:function(){if(!e._audioContext){var t=window.AudioContext||window.webkitAudioContext;if(!t)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;e._audioContext=new t}return e._audioContext},enumerable:!1,configurable:!0}),e.prototype.playBellSound=function(){var t=e.audioContext;if(t){var n=t.createBufferSource();t.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),(function(e){n.buffer=e,n.connect(t.destination),n.start(0)}))}},e.prototype._base64ToArrayBuffer=function(e){for(var t=window.atob(e),n=t.length,r=new Uint8Array(n),i=0;i<n;i++)r[i]=t.charCodeAt(i);return r.buffer},e.prototype._removeMimeType=function(e){return e.split(",")[1]},e=r([i(0,o.IOptionsService)],e)}();t.SoundService=a},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseZoneManager=void 0;var s=n(2),u=n(7),l=n(5),c=n(1),d=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;return s._element=t,s._screenElement=n,s._bufferService=r,s._mouseService=i,s._selectionService=o,s._optionsService=a,s._zones=[],s._areZonesActive=!1,s._lastHoverCoords=[void 0,void 0],s._initialSelectionLength=0,s.register(u.addDisposableDomListener(s._element,"mousedown",(function(e){return s._onMouseDown(e)}))),s._mouseMoveListener=function(e){return s._onMouseMove(e)},s._mouseLeaveListener=function(e){return s._onMouseLeave(e)},s._clickListener=function(e){return s._onClick(e)},s}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._deactivate()},t.prototype.add=function(e){this._zones.push(e),1===this._zones.length&&this._activate()},t.prototype.clearAll=function(e,t){if(0!==this._zones.length){e&&t||(e=0,t=this._bufferService.rows-1);for(var n=0;n<this._zones.length;n++){var r=this._zones[n];(r.y1>e&&r.y1<=t+1||r.y2>e&&r.y2<=t+1||r.y1<e&&r.y2>t+1)&&(this._currentZone&&this._currentZone===r&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(n--,1))}0===this._zones.length&&this._deactivate()}},t.prototype._activate=function(){this._areZonesActive||(this._areZonesActive=!0,this._element.addEventListener("mousemove",this._mouseMoveListener),this._element.addEventListener("mouseleave",this._mouseLeaveListener),this._element.addEventListener("click",this._clickListener))},t.prototype._deactivate=function(){this._areZonesActive&&(this._areZonesActive=!1,this._element.removeEventListener("mousemove",this._mouseMoveListener),this._element.removeEventListener("mouseleave",this._mouseLeaveListener),this._element.removeEventListener("click",this._clickListener))},t.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},t.prototype._onHover=function(e){var t=this,n=this._findZoneEventAt(e);n!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),n&&(this._currentZone=n,n.hoverCallback&&n.hoverCallback(e),this._tooltipTimeout=window.setTimeout((function(){return t._onTooltip(e)}),this._optionsService.options.linkTooltipHoverDuration)))},t.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var t=this._findZoneEventAt(e);t&&t.tooltipCallback&&t.tooltipCallback(e)},t.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var t=this._findZoneEventAt(e);(null==t?void 0:t.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},t.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},t.prototype._onClick=function(e){var t=this._findZoneEventAt(e),n=this._getSelectionLength();t&&n===this._initialSelectionLength&&(t.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},t.prototype._findZoneEventAt=function(e){var t=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(t)for(var n=t[0],r=t[1],i=0;i<this._zones.length;i++){var o=this._zones[i];if(o.y1===o.y2){if(r===o.y1&&n>=o.x1&&n<o.x2)return o}else if(r===o.y1&&n>=o.x1||r===o.y2&&n<o.x2||r>o.y1&&r<o.y2)return o}},o([a(2,c.IBufferService),a(3,l.IMouseService),a(4,l.ISelectionService),a(5,c.IOptionsService)],t)}(s.Disposable);t.MouseZoneManager=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AccessibilityManager=void 0;var o=n(18),a=n(11),s=n(31),u=n(7),l=n(2),c=n(32),d=n(17),f=function(e){function t(t,n){var r=e.call(this)||this;r._terminal=t,r._renderService=n,r._liveRegionLineCount=0,r._charsToConsume=[],r._charsToAnnounce="",r._accessibilityTreeRoot=document.createElement("div"),r._accessibilityTreeRoot.classList.add("xterm-accessibility"),r._rowContainer=document.createElement("div"),r._rowContainer.classList.add("xterm-accessibility-tree"),r._rowContainer.setAttribute("role","document"),r._rowElements=[];for(var i=0;i<r._terminal.rows;i++)r._rowElements[i]=r._createAccessibilityTreeNode(),r._rowContainer.appendChild(r._rowElements[i]);if(r._topBoundaryFocusListener=function(e){return r._onBoundaryFocus(e,0)},r._bottomBoundaryFocusListener=function(e){return r._onBoundaryFocus(e,1)},r._rowElements[0].addEventListener("focus",r._topBoundaryFocusListener),r._rowElements[r._rowElements.length-1].addEventListener("focus",r._bottomBoundaryFocusListener),r._refreshRowsDimensions(),r._accessibilityTreeRoot.appendChild(r._rowContainer),r._renderRowsDebouncer=new s.RenderDebouncer(r._renderRows.bind(r)),r._refreshRows(),r._liveRegion=document.createElement("div"),r._liveRegion.classList.add("live-region"),r._liveRegion.setAttribute("aria-live","assertive"),r._accessibilityTreeRoot.appendChild(r._liveRegion),!r._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return r._terminal.element.insertAdjacentElement("afterbegin",r._accessibilityTreeRoot),r.register(r._renderRowsDebouncer),r.register(r._terminal.onResize((function(e){return r._onResize(e.rows)}))),r.register(r._terminal.onRender((function(e){return r._refreshRows(e.start,e.end)}))),r.register(r._terminal.onScroll((function(){return r._refreshRows()}))),r.register(r._terminal.onA11yChar((function(e){return r._onChar(e)}))),r.register(r._terminal.onLineFeed((function(){return r._onChar("\n")}))),r.register(r._terminal.onA11yTab((function(e){return r._onTab(e)}))),r.register(r._terminal.onKey((function(e){return r._onKey(e.key)}))),r.register(r._terminal.onBlur((function(){return r._clearLiveRegion()}))),r.register(r._renderService.onDimensionsChange((function(){return r._refreshRowsDimensions()}))),r._screenDprMonitor=new c.ScreenDprMonitor,r.register(r._screenDprMonitor),r._screenDprMonitor.setListener((function(){return r._refreshRowsDimensions()})),r.register(u.addDisposableDomListener(window,"resize",(function(){return r._refreshRowsDimensions()}))),r}return i(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),d.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},t.prototype._onBoundaryFocus=function(e,t){var n=e.target,r=this._rowElements[0===t?1:this._rowElements.length-2];if(n.getAttribute("aria-posinset")!==(0===t?"1":""+this._terminal.buffer.lines.length)&&e.relatedTarget===r){var i,o;if(0===t?(i=n,o=this._rowElements.pop(),this._rowContainer.removeChild(o)):(i=this._rowElements.shift(),o=n,this._rowContainer.removeChild(i)),i.removeEventListener("focus",this._topBoundaryFocusListener),o.removeEventListener("focus",this._bottomBoundaryFocusListener),0===t){var a=this._createAccessibilityTreeNode();this._rowElements.unshift(a),this._rowContainer.insertAdjacentElement("afterbegin",a)}else a=this._createAccessibilityTreeNode(),this._rowElements.push(a),this._rowContainer.appendChild(a);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(0===t?-1:1),this._rowElements[0===t?1:this._rowElements.length-2].focus(),e.preventDefault(),e.stopImmediatePropagation()}},t.prototype._onResize=function(e){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var t=this._rowContainer.children.length;t<this._terminal.rows;t++)this._rowElements[t]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[t]);for(;this._rowElements.length>e;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},t.prototype._createAccessibilityTreeNode=function(){var e=document.createElement("div");return e.setAttribute("role","listitem"),e.tabIndex=-1,this._refreshRowDimensions(e),e},t.prototype._onTab=function(e){for(var t=0;t<e;t++)this._onChar(" ")},t.prototype._onChar=function(e){var t=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==e&&(this._charsToAnnounce+=e):this._charsToAnnounce+=e,"\n"===e&&(this._liveRegionLineCount++,21===this._liveRegionLineCount&&(this._liveRegion.textContent+=o.tooMuchOutput)),a.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout((function(){t._accessibilityTreeRoot.appendChild(t._liveRegion)}),0))},t.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,a.isMac&&d.removeElementFromParent(this._liveRegion)},t.prototype._onKey=function(e){this._clearLiveRegion(),this._charsToConsume.push(e)},t.prototype._refreshRows=function(e,t){this._renderRowsDebouncer.refresh(e,t,this._terminal.rows)},t.prototype._renderRows=function(e,t){for(var n=this._terminal.buffer,r=n.lines.length.toString(),i=e;i<=t;i++){var o=n.translateBufferLineToString(n.ydisp+i,!0),a=(n.ydisp+i+1).toString(),s=this._rowElements[i];s&&(0===o.length?s.innerHTML="&nbsp;":s.textContent=o,s.setAttribute("aria-posinset",a),s.setAttribute("aria-setsize",r))}this._announceCharacters()},t.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var e=0;e<this._terminal.rows;e++)this._refreshRowDimensions(this._rowElements[e])}},t.prototype._refreshRowDimensions=function(e){e.style.height=this._renderService.dimensions.actualCellHeight+"px"},t.prototype._announceCharacters=function(){0!==this._charsToAnnounce.length&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},t}(l.Disposable);t.AccessibilityManager=f},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomRenderer=void 0;var s=n(58),u=n(9),l=n(2),c=n(5),d=n(1),f=n(0),h=n(10),p=n(17),m=1,v=function(e){function t(t,n,r,i,o,a,u,l,c){var d=e.call(this)||this;return d._colors=t,d._element=n,d._screenElement=r,d._viewportElement=i,d._linkifier=o,d._linkifier2=a,d._charSizeService=u,d._optionsService=l,d._bufferService=c,d._terminalClass=m++,d._rowElements=[],d._rowContainer=document.createElement("div"),d._rowContainer.classList.add("xterm-rows"),d._rowContainer.style.lineHeight="normal",d._rowContainer.setAttribute("aria-hidden","true"),d._refreshRowElements(d._bufferService.cols,d._bufferService.rows),d._selectionContainer=document.createElement("div"),d._selectionContainer.classList.add("xterm-selection"),d._selectionContainer.setAttribute("aria-hidden","true"),d.dimensions={scaledCharWidth:0,scaledCharHeight:0,scaledCellWidth:0,scaledCellHeight:0,scaledCharLeft:0,scaledCharTop:0,scaledCanvasWidth:0,scaledCanvasHeight:0,canvasWidth:0,canvasHeight:0,actualCellWidth:0,actualCellHeight:0},d._updateDimensions(),d._injectCss(),d._rowFactory=new s.DomRendererRowFactory(document,d._optionsService,d._colors),d._element.classList.add("xterm-dom-renderer-owner-"+d._terminalClass),d._screenElement.appendChild(d._rowContainer),d._screenElement.appendChild(d._selectionContainer),d._linkifier.onShowLinkUnderline((function(e){return d._onLinkHover(e)})),d._linkifier.onHideLinkUnderline((function(e){return d._onLinkLeave(e)})),d._linkifier2.onShowLinkUnderline((function(e){return d._onLinkHover(e)})),d._linkifier2.onHideLinkUnderline((function(e){return d._onLinkLeave(e)})),d}return i(t,e),Object.defineProperty(t.prototype,"onRequestRedraw",{get:function(){return(new f.EventEmitter).event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),p.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),e.prototype.dispose.call(this)},t.prototype._updateDimensions=function(){this.dimensions.scaledCharWidth=this._charSizeService.width*window.devicePixelRatio,this.dimensions.scaledCharHeight=Math.ceil(this._charSizeService.height*window.devicePixelRatio),this.dimensions.scaledCellWidth=this.dimensions.scaledCharWidth+Math.round(this._optionsService.options.letterSpacing),this.dimensions.scaledCellHeight=Math.floor(this.dimensions.scaledCharHeight*this._optionsService.options.lineHeight),this.dimensions.scaledCharLeft=0,this.dimensions.scaledCharTop=0,this.dimensions.scaledCanvasWidth=this.dimensions.scaledCellWidth*this._bufferService.cols,this.dimensions.scaledCanvasHeight=this.dimensions.scaledCellHeight*this._bufferService.rows,this.dimensions.canvasWidth=Math.round(this.dimensions.scaledCanvasWidth/window.devicePixelRatio),this.dimensions.canvasHeight=Math.round(this.dimensions.scaledCanvasHeight/window.devicePixelRatio),this.dimensions.actualCellWidth=this.dimensions.canvasWidth/this._bufferService.cols,this.dimensions.actualCellHeight=this.dimensions.canvasHeight/this._bufferService.rows;for(var e=0,t=this._rowElements;e<t.length;e++){var n=t[e];n.style.width=this.dimensions.canvasWidth+"px",n.style.height=this.dimensions.actualCellHeight+"px",n.style.lineHeight=this.dimensions.actualCellHeight+"px",n.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement)),this._dimensionsStyleElement.innerHTML=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}",this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},t.prototype.setColors=function(e){this._colors=e,this._injectCss()},t.prototype._injectCss=function(){var e=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var t=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";t+=this._terminalSelector+" span:not(."+s.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+s.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+s.ITALIC_CLASS+" { font-style: italic;}",t+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% {  box-shadow: none; }}",t+="@keyframes blink_block_"+this._terminalClass+" { 0% {  background-color: "+this._colors.cursor.css+";  color: "+this._colors.cursorAccent.css+"; } 50% {  background-color: "+this._colors.cursorAccent.css+";  color: "+this._colors.cursor.css+"; }}",t+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+":not(."+s.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_BLINK_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+s.CURSOR_CLASS+"."+s.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",t+=this._terminalSelector+" .xterm-selection { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}"+this._terminalSelector+" .xterm-selection div { position: absolute; background-color: "+this._colors.selectionTransparent.css+";}",this._colors.ansi.forEach((function(n,r){t+=e._terminalSelector+" .xterm-fg-"+r+" { color: "+n.css+"; }"+e._terminalSelector+" .xterm-bg-"+r+" { background-color: "+n.css+"; }"})),t+=this._terminalSelector+" .xterm-fg-"+u.INVERTED_DEFAULT_COLOR+" { color: "+h.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+u.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=t},t.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},t.prototype._refreshRowElements=function(e,t){for(var n=this._rowElements.length;n<=t;n++){var r=document.createElement("div");this._rowContainer.appendChild(r),this._rowElements.push(r)}for(;this._rowElements.length>t;)this._rowContainer.removeChild(this._rowElements.pop())},t.prototype.onResize=function(e,t){this._refreshRowElements(e,t),this._updateDimensions()},t.prototype.onCharSizeChanged=function(){this._updateDimensions()},t.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},t.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},t.prototype.onSelectionChanged=function(e,t,n){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(e&&t){var r=e[1]-this._bufferService.buffer.ydisp,i=t[1]-this._bufferService.buffer.ydisp,o=Math.max(r,0),a=Math.min(i,this._bufferService.rows-1);if(!(o>=this._bufferService.rows||a<0)){var s=document.createDocumentFragment();n?s.appendChild(this._createSelectionElement(o,e[0],t[0],a-o+1)):(s.appendChild(this._createSelectionElement(o,r===o?e[0]:0,o===i?t[0]:this._bufferService.cols)),s.appendChild(this._createSelectionElement(o+1,0,this._bufferService.cols,a-o-1)),o!==a&&s.appendChild(this._createSelectionElement(a,0,i===a?t[0]:this._bufferService.cols))),this._selectionContainer.appendChild(s)}}},t.prototype._createSelectionElement=function(e,t,n,r){void 0===r&&(r=1);var i=document.createElement("div");return i.style.height=r*this.dimensions.actualCellHeight+"px",i.style.top=e*this.dimensions.actualCellHeight+"px",i.style.left=t*this.dimensions.actualCellWidth+"px",i.style.width=this.dimensions.actualCellWidth*(n-t)+"px",i},t.prototype.onCursorMove=function(){},t.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},t.prototype.clear=function(){for(var e=0,t=this._rowElements;e<t.length;e++)t[e].innerHTML=""},t.prototype.renderRows=function(e,t){for(var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,r=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),i=this._optionsService.options.cursorBlink,o=e;o<=t;o++){var a=this._rowElements[o];a.innerHTML="";var s=o+this._bufferService.buffer.ydisp,u=this._bufferService.buffer.lines.get(s);a.appendChild(this._rowFactory.createRow(u,s===n,this._optionsService.options.cursorStyle,r,i,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(t.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),t.prototype.registerCharacterJoiner=function(e){return-1},t.prototype.deregisterCharacterJoiner=function(e){return!1},t.prototype._onLinkHover=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!0)},t.prototype._onLinkLeave=function(e){this._setCellUnderline(e.x1,e.x2,e.y1,e.y2,e.cols,!1)},t.prototype._setCellUnderline=function(e,t,n,r,i,o){for(;e!==t||n!==r;){var a=this._rowElements[n];if(!a)return;var s=a.children[e];s&&(s.style.textDecoration=o?"underline":"none"),++e>=i&&(e=0,n++)}},o([a(6,c.ICharSizeService),a(7,d.IOptionsService),a(8,d.IBufferService)],t)}(l.Disposable);t.DomRenderer=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DomRendererRowFactory=t.CURSOR_STYLE_UNDERLINE_CLASS=t.CURSOR_STYLE_BAR_CLASS=t.CURSOR_STYLE_BLOCK_CLASS=t.CURSOR_BLINK_CLASS=t.CURSOR_CLASS=t.UNDERLINE_CLASS=t.ITALIC_CLASS=t.DIM_CLASS=t.BOLD_CLASS=void 0;var r=n(9),i=n(3),o=n(4),a=n(10);t.BOLD_CLASS="xterm-bold",t.DIM_CLASS="xterm-dim",t.ITALIC_CLASS="xterm-italic",t.UNDERLINE_CLASS="xterm-underline",t.CURSOR_CLASS="xterm-cursor",t.CURSOR_BLINK_CLASS="xterm-cursor-blink",t.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",t.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",t.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var s=function(){function e(e,t,n){this._document=e,this._optionsService=t,this._colors=n,this._workCell=new o.CellData}return e.prototype.setColors=function(e){this._colors=e},e.prototype.createRow=function(e,n,o,s,l,c,d){for(var f=this._document.createDocumentFragment(),h=0,p=Math.min(e.length,d)-1;p>=0;p--)if(e.loadCell(p,this._workCell).getCode()!==i.NULL_CELL_CODE||n&&p===s){h=p+1;break}for(p=0;p<h;p++){e.loadCell(p,this._workCell);var m=this._workCell.getWidth();if(0!==m){var v=this._document.createElement("span");if(m>1&&(v.style.width=c*m+"px"),n&&p===s)switch(v.classList.add(t.CURSOR_CLASS),l&&v.classList.add(t.CURSOR_BLINK_CLASS),o){case"bar":v.classList.add(t.CURSOR_STYLE_BAR_CLASS);break;case"underline":v.classList.add(t.CURSOR_STYLE_UNDERLINE_CLASS);break;default:v.classList.add(t.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&v.classList.add(t.BOLD_CLASS),this._workCell.isItalic()&&v.classList.add(t.ITALIC_CLASS),this._workCell.isDim()&&v.classList.add(t.DIM_CLASS),this._workCell.isUnderline()&&v.classList.add(t.UNDERLINE_CLASS),v.textContent=this._workCell.isInvisible()?i.WHITESPACE_CELL_CHAR:this._workCell.getChars()||i.WHITESPACE_CELL_CHAR;var g=this._workCell.getFgColor(),y=this._workCell.getFgColorMode(),b=this._workCell.getBgColor(),_=this._workCell.getBgColorMode(),w=!!this._workCell.isInverse();if(w){var E=g;g=b,b=E;var C=y;y=_,_=C}switch(y){case 16777216:case 33554432:this._workCell.isBold()&&g<8&&this._optionsService.options.drawBoldTextInBrightColors&&(g+=8),this._applyMinimumContrast(v,this._colors.background,this._colors.ansi[g])||v.classList.add("xterm-fg-"+g);break;case 50331648:var A=a.rgba.toColor(g>>16&255,g>>8&255,255&g);this._applyMinimumContrast(v,this._colors.background,A)||this._addStyle(v,"color:#"+u(g.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(v,this._colors.background,this._colors.foreground)||w&&v.classList.add("xterm-fg-"+r.INVERTED_DEFAULT_COLOR)}switch(_){case 16777216:case 33554432:v.classList.add("xterm-bg-"+b);break;case 50331648:this._addStyle(v,"background-color:#"+u(b.toString(16),"0",6));break;case 0:default:w&&v.classList.add("xterm-bg-"+r.INVERTED_DEFAULT_COLOR)}f.appendChild(v)}}return f},e.prototype._applyMinimumContrast=function(e,t,n){if(1===this._optionsService.options.minimumContrastRatio)return!1;var r=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return void 0===r&&(r=a.color.ensureContrastRatio(t,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,null!=r?r:null)),!!r&&(this._addStyle(e,"color:"+r.css),!0)},e.prototype._addStyle=function(e,t){e.setAttribute("style",""+(e.getAttribute("style")||"")+t+";")},e}();function u(e,t,n){for(;e.length<n;)e=t+e;return e}t.DomRendererRowFactory=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateKeyboardEvent=void 0;var r=n(12),i={48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"']};t.evaluateKeyboardEvent=function(e,t,n,o){var a={type:0,cancel:!1,key:void 0},s=(e.shiftKey?1:0)|(e.altKey?2:0)|(e.ctrlKey?4:0)|(e.metaKey?8:0);switch(e.keyCode){case 0:"UIKeyInputUpArrow"===e.key?a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A":"UIKeyInputLeftArrow"===e.key?a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D":"UIKeyInputRightArrow"===e.key?a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C":"UIKeyInputDownArrow"===e.key&&(a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B");break;case 8:if(e.shiftKey){a.key=r.C0.BS;break}if(e.altKey){a.key=r.C0.ESC+r.C0.DEL;break}a.key=r.C0.DEL;break;case 9:if(e.shiftKey){a.key=r.C0.ESC+"[Z";break}a.key=r.C0.HT,a.cancel=!0;break;case 13:a.key=e.altKey?r.C0.ESC+r.C0.CR:r.C0.CR,a.cancel=!0;break;case 27:a.key=r.C0.ESC,e.altKey&&(a.key=r.C0.ESC+r.C0.ESC),a.cancel=!0;break;case 37:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"D",a.key===r.C0.ESC+"[1;3D"&&(a.key=r.C0.ESC+(n?"b":"[1;5D"))):a.key=t?r.C0.ESC+"OD":r.C0.ESC+"[D";break;case 39:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"C",a.key===r.C0.ESC+"[1;3C"&&(a.key=r.C0.ESC+(n?"f":"[1;5C"))):a.key=t?r.C0.ESC+"OC":r.C0.ESC+"[C";break;case 38:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"A",n||a.key!==r.C0.ESC+"[1;3A"||(a.key=r.C0.ESC+"[1;5A")):a.key=t?r.C0.ESC+"OA":r.C0.ESC+"[A";break;case 40:if(e.metaKey)break;s?(a.key=r.C0.ESC+"[1;"+(s+1)+"B",n||a.key!==r.C0.ESC+"[1;3B"||(a.key=r.C0.ESC+"[1;5B")):a.key=t?r.C0.ESC+"OB":r.C0.ESC+"[B";break;case 45:e.shiftKey||e.ctrlKey||(a.key=r.C0.ESC+"[2~");break;case 46:a.key=s?r.C0.ESC+"[3;"+(s+1)+"~":r.C0.ESC+"[3~";break;case 36:a.key=s?r.C0.ESC+"[1;"+(s+1)+"H":t?r.C0.ESC+"OH":r.C0.ESC+"[H";break;case 35:a.key=s?r.C0.ESC+"[1;"+(s+1)+"F":t?r.C0.ESC+"OF":r.C0.ESC+"[F";break;case 33:e.shiftKey?a.type=2:a.key=r.C0.ESC+"[5~";break;case 34:e.shiftKey?a.type=3:a.key=r.C0.ESC+"[6~";break;case 112:a.key=s?r.C0.ESC+"[1;"+(s+1)+"P":r.C0.ESC+"OP";break;case 113:a.key=s?r.C0.ESC+"[1;"+(s+1)+"Q":r.C0.ESC+"OQ";break;case 114:a.key=s?r.C0.ESC+"[1;"+(s+1)+"R":r.C0.ESC+"OR";break;case 115:a.key=s?r.C0.ESC+"[1;"+(s+1)+"S":r.C0.ESC+"OS";break;case 116:a.key=s?r.C0.ESC+"[15;"+(s+1)+"~":r.C0.ESC+"[15~";break;case 117:a.key=s?r.C0.ESC+"[17;"+(s+1)+"~":r.C0.ESC+"[17~";break;case 118:a.key=s?r.C0.ESC+"[18;"+(s+1)+"~":r.C0.ESC+"[18~";break;case 119:a.key=s?r.C0.ESC+"[19;"+(s+1)+"~":r.C0.ESC+"[19~";break;case 120:a.key=s?r.C0.ESC+"[20;"+(s+1)+"~":r.C0.ESC+"[20~";break;case 121:a.key=s?r.C0.ESC+"[21;"+(s+1)+"~":r.C0.ESC+"[21~";break;case 122:a.key=s?r.C0.ESC+"[23;"+(s+1)+"~":r.C0.ESC+"[23~";break;case 123:a.key=s?r.C0.ESC+"[24;"+(s+1)+"~":r.C0.ESC+"[24~";break;default:if(!e.ctrlKey||e.shiftKey||e.altKey||e.metaKey)if(n&&!o||!e.altKey||e.metaKey)n&&!e.altKey&&!e.ctrlKey&&e.metaKey?65===e.keyCode&&(a.type=1):e.key&&!e.ctrlKey&&!e.altKey&&!e.metaKey&&e.keyCode>=48&&1===e.key.length?a.key=e.key:e.key&&e.ctrlKey&&"_"===e.key&&(a.key=r.C0.US);else{var u=i[e.keyCode],l=u&&u[e.shiftKey?1:0];l?a.key=r.C0.ESC+l:e.keyCode>=65&&e.keyCode<=90&&(a.key=r.C0.ESC+String.fromCharCode(e.ctrlKey?e.keyCode-64:e.keyCode+32))}else e.keyCode>=65&&e.keyCode<=90?a.key=String.fromCharCode(e.keyCode-64):32===e.keyCode?a.key=r.C0.NUL:e.keyCode>=51&&e.keyCode<=55?a.key=String.fromCharCode(e.keyCode-51+27):56===e.keyCode?a.key=r.C0.DEL:219===e.keyCode?a.key=r.C0.ESC:220===e.keyCode?a.key=r.C0.FS:221===e.keyCode&&(a.key=r.C0.GS)}return a}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.RenderService=void 0;var s=n(31),u=n(0),l=n(2),c=n(32),d=n(7),f=n(1),h=n(5),p=function(e){function t(t,n,r,i,o,a){var l=e.call(this)||this;if(l._renderer=t,l._rowCount=n,l._isPaused=!1,l._needsFullRefresh=!1,l._isNextRenderRedrawOnly=!0,l._needsSelectionRefresh=!1,l._canvasWidth=0,l._canvasHeight=0,l._selectionState={start:void 0,end:void 0,columnSelectMode:!1},l._onDimensionsChange=new u.EventEmitter,l._onRender=new u.EventEmitter,l._onRefreshRequest=new u.EventEmitter,l.register({dispose:function(){return l._renderer.dispose()}}),l._renderDebouncer=new s.RenderDebouncer((function(e,t){return l._renderRows(e,t)})),l.register(l._renderDebouncer),l._screenDprMonitor=new c.ScreenDprMonitor,l._screenDprMonitor.setListener((function(){return l.onDevicePixelRatioChange()})),l.register(l._screenDprMonitor),l.register(a.onResize((function(e){return l._fullRefresh()}))),l.register(i.onOptionChange((function(){return l._renderer.onOptionsChanged()}))),l.register(o.onCharSizeChange((function(){return l.onCharSizeChanged()}))),l._renderer.onRequestRedraw((function(e){return l.refreshRows(e.start,e.end,!0)})),l.register(d.addDisposableDomListener(window,"resize",(function(){return l.onDevicePixelRatioChange()}))),"IntersectionObserver"in window){var f=new IntersectionObserver((function(e){return l._onIntersectionChange(e[e.length-1])}),{threshold:0});f.observe(r),l.register({dispose:function(){return f.disconnect()}})}return l}return i(t,e),Object.defineProperty(t.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),t.prototype._onIntersectionChange=function(e){this._isPaused=void 0===e.isIntersecting?0===e.intersectionRatio:!e.isIntersecting,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},t.prototype.refreshRows=function(e,t,n){void 0===n&&(n=!1),this._isPaused?this._needsFullRefresh=!0:(n||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(e,t,this._rowCount))},t.prototype._renderRows=function(e,t){this._renderer.renderRows(e,t),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:e,end:t}),this._isNextRenderRedrawOnly=!0},t.prototype.resize=function(e,t){this._rowCount=t,this._fireOnCanvasResize()},t.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},t.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.setRenderer=function(e){var t=this;this._renderer.dispose(),this._renderer=e,this._renderer.onRequestRedraw((function(e){return t.refreshRows(e.start,e.end,!0)})),this._needsSelectionRefresh=!0,this._fullRefresh()},t.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},t.prototype.setColors=function(e){this._renderer.setColors(e),this._fullRefresh()},t.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},t.prototype.onResize=function(e,t){this._renderer.onResize(e,t),this._fullRefresh()},t.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},t.prototype.onBlur=function(){this._renderer.onBlur()},t.prototype.onFocus=function(){this._renderer.onFocus()},t.prototype.onSelectionChanged=function(e,t,n){this._selectionState.start=e,this._selectionState.end=t,this._selectionState.columnSelectMode=n,this._renderer.onSelectionChanged(e,t,n)},t.prototype.onCursorMove=function(){this._renderer.onCursorMove()},t.prototype.clear=function(){this._renderer.clear()},t.prototype.registerCharacterJoiner=function(e){return this._renderer.registerCharacterJoiner(e)},t.prototype.deregisterCharacterJoiner=function(e){return this._renderer.deregisterCharacterJoiner(e)},o([a(3,f.IOptionsService),a(4,h.ICharSizeService),a(5,f.IBufferService)],t)}(l.Disposable);t.RenderService=p},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CharSizeService=void 0;var o=n(1),a=n(0),s=function(){function e(e,t,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new a.EventEmitter,this._measureStrategy=new u(e,t,this._optionsService)}return Object.defineProperty(e.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),e.prototype.measure=function(){var e=this._measureStrategy.measure();e.width===this.width&&e.height===this.height||(this.width=e.width,this.height=e.height,this._onCharSizeChange.fire())},r([i(2,o.IOptionsService)],e)}();t.CharSizeService=s;var u=function(){function e(e,t,n){this._document=e,this._parentElement=t,this._optionsService=n,this._result={width:0,height:0},this._measureElement=this._document.createElement("span"),this._measureElement.classList.add("xterm-char-measure-element"),this._measureElement.textContent="W",this._measureElement.setAttribute("aria-hidden","true"),this._parentElement.appendChild(this._measureElement)}return e.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._measureElement.getBoundingClientRect();return 0!==e.width&&0!==e.height&&(this._result.width=e.width,this._result.height=Math.ceil(e.height)),this._result},e}()},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.MouseService=void 0;var o=n(5),a=n(30),s=function(){function e(e,t){this._renderService=e,this._charSizeService=t}return e.prototype.getCoords=function(e,t,n,r,i){return a.getCoords(e,t,n,r,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,i)},e.prototype.getRawByteCoords=function(e,t,n,r){var i=this.getCoords(e,t,n,r);return a.getRawByteCoords(i)},r([i(0,o.IRenderService),i(1,o.ICharSizeService)],e)}();t.MouseService=s},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Linkifier2=void 0;var s=n(1),u=n(0),l=n(2),c=n(7),d=function(e){function t(t){var n=e.call(this)||this;return n._bufferService=t,n._linkProviders=[],n._linkCacheDisposables=[],n._isMouseOut=!0,n._activeLine=-1,n._onShowLinkUnderline=n.register(new u.EventEmitter),n._onHideLinkUnderline=n.register(new u.EventEmitter),n.register(l.getDisposeArrayDisposable(n._linkCacheDisposables)),n}return i(t,e),Object.defineProperty(t.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),t.prototype.registerLinkProvider=function(e){var t=this;return this._linkProviders.push(e),{dispose:function(){var n=t._linkProviders.indexOf(e);-1!==n&&t._linkProviders.splice(n,1)}}},t.prototype.attachToDom=function(e,t,n){var r=this;this._element=e,this._mouseService=t,this._renderService=n,this.register(c.addDisposableDomListener(this._element,"mouseleave",(function(){r._isMouseOut=!0,r._clearCurrentLink()}))),this.register(c.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(c.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},t.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);if(t){this._isMouseOut=!1;for(var n=e.composedPath(),r=0;r<n.length;r++){var i=n[r];if(i.classList.contains("xterm"))break;if(i.classList.contains("xterm-hover"))return}this._lastBufferCell&&t.x===this._lastBufferCell.x&&t.y===this._lastBufferCell.y||(this._onHover(t),this._lastBufferCell=t)}}},t.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},t.prototype._askForLink=function(e,t){var n,r=this;this._activeProviderReplies&&t||(null===(n=this._activeProviderReplies)||void 0===n||n.forEach((function(e){null==e||e.forEach((function(e){e.link.dispose&&e.link.dispose()}))})),this._activeProviderReplies=new Map,this._activeLine=e.y);var i=!1;this._linkProviders.forEach((function(n,o){var a;t?(null===(a=r._activeProviderReplies)||void 0===a?void 0:a.get(o))&&(i=r._checkLinkProviderResult(o,e,i)):n.provideLinks(e.y,(function(t){var n,a;if(!r._isMouseOut){var s=null==t?void 0:t.map((function(e){return{link:e}}));null===(n=r._activeProviderReplies)||void 0===n||n.set(o,s),i=r._checkLinkProviderResult(o,e,i),(null===(a=r._activeProviderReplies)||void 0===a?void 0:a.size)===r._linkProviders.length&&r._removeIntersectingLinks(e.y,r._activeProviderReplies)}}))}))},t.prototype._removeIntersectingLinks=function(e,t){for(var n=new Set,r=0;r<t.size;r++){var i=t.get(r);if(i)for(var o=0;o<i.length;o++)for(var a=i[o],s=a.link.range.end.y>e?this._bufferService.cols:a.link.range.end.x,u=a.link.range.start.y<e?0:a.link.range.start.x;u<=s;u++){if(n.has(u)){i.splice(o--,1);break}n.add(u)}}},t.prototype._checkLinkProviderResult=function(e,t,n){var r,i=this;if(!this._activeProviderReplies)return n;for(var o=this._activeProviderReplies.get(e),a=!1,s=0;s<e;s++)this._activeProviderReplies.has(s)&&!this._activeProviderReplies.get(s)||(a=!0);if(!a&&o){var u=o.find((function(e){return i._linkAtPosition(e.link,t)}));u&&(n=!0,this._handleNewLink(u))}if(this._activeProviderReplies.size===this._linkProviders.length&&!n)for(s=0;s<this._activeProviderReplies.size;s++){var l=null===(r=this._activeProviderReplies.get(s))||void 0===r?void 0:r.find((function(e){return i._linkAtPosition(e.link,t)}));if(l){n=!0,this._handleNewLink(l);break}}return n},t.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var t=this._positionFromMouseEvent(e,this._element,this._mouseService);t&&this._linkAtPosition(this._currentLink.link,t)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},t.prototype._clearCurrentLink=function(e,t){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!t||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=t)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,l.disposeArray(this._linkCacheDisposables))},t.prototype._handleNewLink=function(e){var t=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var n=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);n&&this._linkAtPosition(e.link,n)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:void 0===e.link.decorations||e.link.decorations.underline,pointerCursor:void 0===e.link.decorations||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.pointerCursor},set:function(e){var n,r;(null===(n=t._currentLink)||void 0===n?void 0:n.state)&&t._currentLink.state.decorations.pointerCursor!==e&&(t._currentLink.state.decorations.pointerCursor=e,t._currentLink.state.isHovered&&(null===(r=t._element)||void 0===r||r.classList.toggle("xterm-cursor-pointer",e)))}},underline:{get:function(){var e,n;return null===(n=null===(e=t._currentLink)||void 0===e?void 0:e.state)||void 0===n?void 0:n.decorations.underline},set:function(n){var r,i,o;(null===(r=t._currentLink)||void 0===r?void 0:r.state)&&(null===(o=null===(i=t._currentLink)||void 0===i?void 0:i.state)||void 0===o?void 0:o.decorations.underline)!==n&&(t._currentLink.state.decorations.underline=n,t._currentLink.state.isHovered&&t._fireUnderlineEvent(e.link,n))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange((function(e){t._clearCurrentLink(0===e.start?0:e.start+1+t._bufferService.buffer.ydisp,e.end+1+t._bufferService.buffer.ydisp)}))))}},t.prototype._linkHover=function(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),t.hover&&t.hover(n,t.text)},t.prototype._fireUnderlineEvent=function(e,t){var n=e.range,r=this._bufferService.buffer.ydisp,i=this._createLinkUnderlineEvent(n.start.x-1,n.start.y-r-1,n.end.x,n.end.y-r-1,void 0);(t?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(i)},t.prototype._linkLeave=function(e,t,n){var r;(null===(r=this._currentLink)||void 0===r?void 0:r.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(t,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),t.leave&&t.leave(n,t.text)},t.prototype._linkAtPosition=function(e,t){var n=e.range.start.y<t.y,r=e.range.end.y>t.y;return(e.range.start.y===e.range.end.y&&e.range.start.x<=t.x&&e.range.end.x>=t.x||n&&e.range.end.x>=t.x||r&&e.range.start.x<=t.x||n&&r)&&e.range.start.y<=t.y&&e.range.end.y>=t.y},t.prototype._positionFromMouseEvent=function(e,t,n){var r=n.getCoords(e,t,this._bufferService.cols,this._bufferService.rows);if(r)return{x:r[0],y:r[1]+this._bufferService.buffer.ydisp}},t.prototype._createLinkUnderlineEvent=function(e,t,n,r,i){return{x1:e,y1:t,x2:n,y2:r,cols:this._bufferService.cols,fg:i}},o([a(0,s.IBufferService)],t)}(l.Disposable);t.Linkifier2=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoreBrowserService=void 0;var r=function(){function e(e){this._textarea=e}return Object.defineProperty(e.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),e}();t.CoreBrowserService=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CoreTerminal=void 0;var o=n(2),a=n(1),s=n(66),u=n(67),l=n(68),c=n(74),d=n(75),f=n(0),h=n(76),p=n(77),m=n(78),v=n(80),g=n(81),y=n(19),b=n(82),_=function(e){function t(t){var n=e.call(this)||this;return n._onBinary=new f.EventEmitter,n._onData=new f.EventEmitter,n._onLineFeed=new f.EventEmitter,n._onResize=new f.EventEmitter,n._onScroll=new f.EventEmitter,n._instantiationService=new s.InstantiationService,n.optionsService=new c.OptionsService(t),n._instantiationService.setService(a.IOptionsService,n.optionsService),n._bufferService=n.register(n._instantiationService.createInstance(l.BufferService)),n._instantiationService.setService(a.IBufferService,n._bufferService),n._logService=n._instantiationService.createInstance(u.LogService),n._instantiationService.setService(a.ILogService,n._logService),n._coreService=n.register(n._instantiationService.createInstance(d.CoreService,(function(){return n.scrollToBottom()}))),n._instantiationService.setService(a.ICoreService,n._coreService),n._coreMouseService=n._instantiationService.createInstance(h.CoreMouseService),n._instantiationService.setService(a.ICoreMouseService,n._coreMouseService),n._dirtyRowService=n._instantiationService.createInstance(p.DirtyRowService),n._instantiationService.setService(a.IDirtyRowService,n._dirtyRowService),n.unicodeService=n._instantiationService.createInstance(m.UnicodeService),n._instantiationService.setService(a.IUnicodeService,n.unicodeService),n._charsetService=n._instantiationService.createInstance(v.CharsetService),n._instantiationService.setService(a.ICharsetService,n._charsetService),n._inputHandler=new y.InputHandler(n._bufferService,n._charsetService,n._coreService,n._dirtyRowService,n._logService,n.optionsService,n._coreMouseService,n.unicodeService),n.register(f.forwardEvent(n._inputHandler.onLineFeed,n._onLineFeed)),n.register(n._inputHandler),n.register(f.forwardEvent(n._bufferService.onResize,n._onResize)),n.register(f.forwardEvent(n._coreService.onData,n._onData)),n.register(f.forwardEvent(n._coreService.onBinary,n._onBinary)),n.register(n.optionsService.onOptionChange((function(e){return n._updateOptions(e)}))),n._writeBuffer=new b.WriteBuffer((function(e){return n._inputHandler.parse(e)})),n}return i(t,e),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){var t;this._isDisposed||(e.prototype.dispose.call(this),null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)},t.prototype.write=function(e,t){this._writeBuffer.write(e,t)},t.prototype.writeSync=function(e){this._writeBuffer.writeSync(e)},t.prototype.resize=function(e,t){isNaN(e)||isNaN(t)||(e=Math.max(e,l.MINIMUM_COLS),t=Math.max(t,l.MINIMUM_ROWS),this._bufferService.resize(e,t))},t.prototype.scroll=function(e,t){void 0===t&&(t=!1);var n,r=this._bufferService.buffer;(n=this._cachedBlankLine)&&n.length===this.cols&&n.getFg(0)===e.fg&&n.getBg(0)===e.bg||(n=r.getBlankLine(e,t),this._cachedBlankLine=n),n.isWrapped=t;var i=r.ybase+r.scrollTop,o=r.ybase+r.scrollBottom;if(0===r.scrollTop){var a=r.lines.isFull;o===r.lines.length-1?a?r.lines.recycle().copyFrom(n):r.lines.push(n.clone()):r.lines.splice(o+1,0,n.clone()),a?this._bufferService.isUserScrolling&&(r.ydisp=Math.max(r.ydisp-1,0)):(r.ybase++,this._bufferService.isUserScrolling||r.ydisp++)}else r.lines.shiftElements(i+1,o-i+1-1,-1),r.lines.set(o,n.clone());this._bufferService.isUserScrolling||(r.ydisp=r.ybase),this._dirtyRowService.markRangeDirty(r.scrollTop,r.scrollBottom),this._onScroll.fire(r.ydisp)},t.prototype.scrollLines=function(e,t){var n=this._bufferService.buffer;if(e<0){if(0===n.ydisp)return;this._bufferService.isUserScrolling=!0}else e+n.ydisp>=n.ybase&&(this._bufferService.isUserScrolling=!1);var r=n.ydisp;n.ydisp=Math.max(Math.min(n.ydisp+e,n.ybase),0),r!==n.ydisp&&(t||this._onScroll.fire(n.ydisp))},t.prototype.scrollPages=function(e){this.scrollLines(e*(this.rows-1))},t.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},t.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},t.prototype.scrollToLine=function(e){var t=e-this._bufferService.buffer.ydisp;0!==t&&this.scrollLines(t)},t.prototype.addEscHandler=function(e,t){return this._inputHandler.addEscHandler(e,t)},t.prototype.addDcsHandler=function(e,t){return this._inputHandler.addDcsHandler(e,t)},t.prototype.addCsiHandler=function(e,t){return this._inputHandler.addCsiHandler(e,t)},t.prototype.addOscHandler=function(e,t){return this._inputHandler.addOscHandler(e,t)},t.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},t.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},t.prototype._updateOptions=function(e){var t;switch(e){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():(null===(t=this._windowsMode)||void 0===t||t.dispose(),this._windowsMode=void 0)}},t.prototype._enableWindowsMode=function(){var e=this;if(!this._windowsMode){var t=[];t.push(this.onLineFeed(g.updateWindowsModeWrappedState.bind(null,this._bufferService))),t.push(this.addCsiHandler({final:"H"},(function(){return g.updateWindowsModeWrappedState(e._bufferService),!1}))),this._windowsMode={dispose:function(){for(var e=0,n=t;e<n.length;e++)n[e].dispose()}}}},t}(o.Disposable);t.CoreTerminal=_},function(e,t,n){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.InstantiationService=t.ServiceCollection=void 0;var i=n(1),o=n(14),a=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];this.set(o,a)}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.forEach=function(e){this._entries.forEach((function(t,n){return e(n,t)}))},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}();t.ServiceCollection=a;var s=function(){function e(){this._services=new a,this._services.set(i.IInstantiationService,this)}return e.prototype.setService=function(e,t){this._services.set(e,t)},e.prototype.getService=function(e){return this._services.get(e)},e.prototype.createInstance=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=o.getServiceDependencies(e).sort((function(e,t){return e.index-t.index})),a=[],s=0,u=i;s<u.length;s++){var l=u[s],c=this._services.get(l.id);if(!c)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+l.id+".");a.push(c)}var d=i.length>0?i[0].index:t.length;if(t.length!==d)throw new Error("[createInstance] First service dependency of "+e.name+" at position "+(d+1)+" conflicts with "+t.length+" static arguments");return new(e.bind.apply(e,r([void 0],r(t,a))))},e}();t.InstantiationService=s},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}},o=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};Object.defineProperty(t,"__esModule",{value:!0}),t.LogService=t.LogLevel=void 0;var a,s=n(1);!function(e){e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e[e.OFF=4]="OFF"}(a=t.LogLevel||(t.LogLevel={}));var u={debug:a.DEBUG,info:a.INFO,warn:a.WARN,error:a.ERROR,off:a.OFF},l=function(){function e(e){var t=this;this._optionsService=e,this._updateLogLevel(),this._optionsService.onOptionChange((function(e){"logLevel"===e&&t._updateLogLevel()}))}return e.prototype._updateLogLevel=function(){this._logLevel=u[this._optionsService.options.logLevel]},e.prototype._evalLazyOptionalParams=function(e){for(var t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())},e.prototype._log=function(e,t,n){this._evalLazyOptionalParams(n),e.call.apply(e,o([console,"xterm.js: "+t],n))},e.prototype.debug=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.DEBUG&&this._log(console.log,e,t)},e.prototype.info=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.INFO&&this._log(console.info,e,t)},e.prototype.warn=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.WARN&&this._log(console.warn,e,t)},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this._logLevel<=a.ERROR&&this._log(console.error,e,t)},r([i(0,s.IOptionsService)],e)}();t.LogService=l},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BufferService=t.MINIMUM_ROWS=t.MINIMUM_COLS=void 0;var s=n(1),u=n(69),l=n(0),c=n(2);t.MINIMUM_COLS=2,t.MINIMUM_ROWS=1;var d=function(e){function n(n){var r=e.call(this)||this;return r._optionsService=n,r.isUserScrolling=!1,r._onResize=new l.EventEmitter,r.cols=Math.max(n.options.cols,t.MINIMUM_COLS),r.rows=Math.max(n.options.rows,t.MINIMUM_ROWS),r.buffers=new u.BufferSet(n,r),r}return i(n,e),Object.defineProperty(n.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),n.prototype.dispose=function(){e.prototype.dispose.call(this),this.buffers.dispose()},n.prototype.resize=function(e,t){this.cols=e,this.rows=t,this.buffers.resize(e,t),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:t})},n.prototype.reset=function(){this.buffers.dispose(),this.buffers=new u.BufferSet(this._optionsService,this),this.isUserScrolling=!1},o([a(0,s.IOptionsService)],n)}(c.Disposable);t.BufferService=d},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BufferSet=void 0;var o=n(70),a=n(0),s=function(e){function t(t,n){var r=e.call(this)||this;return r._onBufferActivate=r.register(new a.EventEmitter),r._normal=new o.Buffer(!0,t,n),r._normal.fillViewportRows(),r._alt=new o.Buffer(!1,t,n),r._activeBuffer=r._normal,r.setupTabStops(),r}return i(t,e),Object.defineProperty(t.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),t.prototype.activateNormalBuffer=function(){this._activeBuffer!==this._normal&&(this._normal.x=this._alt.x,this._normal.y=this._alt.y,this._alt.clear(),this._activeBuffer=this._normal,this._onBufferActivate.fire({activeBuffer:this._normal,inactiveBuffer:this._alt}))},t.prototype.activateAltBuffer=function(e){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(e),this._alt.x=this._normal.x,this._alt.y=this._normal.y,this._activeBuffer=this._alt,this._onBufferActivate.fire({activeBuffer:this._alt,inactiveBuffer:this._normal}))},t.prototype.resize=function(e,t){this._normal.resize(e,t),this._alt.resize(e,t)},t.prototype.setupTabStops=function(e){this._normal.setupTabStops(e),this._alt.setupTabStops(e)},t}(n(2).Disposable);t.BufferSet=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BufferStringIterator=t.Buffer=t.MAX_BUFFER_SIZE=void 0;var r=n(71),i=n(16),o=n(4),a=n(3),s=n(72),u=n(73),l=n(20),c=n(6);t.MAX_BUFFER_SIZE=4294967295;var d=function(){function e(e,t,n){this._hasScrollback=e,this._optionsService=t,this._bufferService=n,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=i.DEFAULT_ATTR_DATA.clone(),this.savedCharset=l.DEFAULT_CHARSET,this.markers=[],this._nullCell=o.CellData.fromCharData([0,a.NULL_CELL_CHAR,a.NULL_CELL_WIDTH,a.NULL_CELL_CODE]),this._whitespaceCell=o.CellData.fromCharData([0,a.WHITESPACE_CELL_CHAR,a.WHITESPACE_CELL_WIDTH,a.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return e.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new c.ExtendedAttrs),this._nullCell},e.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new c.ExtendedAttrs),this._whitespaceCell},e.prototype.getBlankLine=function(e,t){return new i.BufferLine(this._bufferService.cols,this.getNullCell(e),t)},Object.defineProperty(e.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCursorInViewport",{get:function(){var e=this.ybase+this.y-this.ydisp;return e>=0&&e<this._rows},enumerable:!1,configurable:!0}),e.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var n=e+this._optionsService.options.scrollback;return n>t.MAX_BUFFER_SIZE?t.MAX_BUFFER_SIZE:n},e.prototype.fillViewportRows=function(e){if(0===this.lines.length){void 0===e&&(e=i.DEFAULT_ATTR_DATA);for(var t=this._rows;t--;)this.lines.push(this.getBlankLine(e))}},e.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new r.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},e.prototype.resize=function(e,t){var n=this.getNullCell(i.DEFAULT_ATTR_DATA),r=this._getCorrectBufferLength(t);if(r>this.lines.maxLength&&(this.lines.maxLength=r),this.lines.length>0){if(this._cols<e)for(var o=0;o<this.lines.length;o++)this.lines.get(o).resize(e,n);var a=0;if(this._rows<t)for(var s=this._rows;s<t;s++)this.lines.length<t+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new i.BufferLine(e,n)):this.ybase>0&&this.lines.length<=this.ybase+this.y+a+1?(this.ybase--,a++,this.ydisp>0&&this.ydisp--):this.lines.push(new i.BufferLine(e,n)));else for(s=this._rows;s>t;s--)this.lines.length>t+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(r<this.lines.maxLength){var u=this.lines.length-r;u>0&&(this.lines.trimStart(u),this.ybase=Math.max(this.ybase-u,0),this.ydisp=Math.max(this.ydisp-u,0),this.savedY=Math.max(this.savedY-u,0)),this.lines.maxLength=r}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,t-1),a&&(this.y+=a),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=t-1,this._isReflowEnabled&&(this._reflow(e,t),this._cols>e))for(o=0;o<this.lines.length;o++)this.lines.get(o).resize(e,n);this._cols=e,this._rows=t},Object.defineProperty(e.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),e.prototype._reflow=function(e,t){this._cols!==e&&(e>this._cols?this._reflowLarger(e,t):this._reflowSmaller(e,t))},e.prototype._reflowLarger=function(e,t){var n=s.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(i.DEFAULT_ATTR_DATA));if(n.length>0){var r=s.reflowLargerCreateNewLayout(this.lines,n);s.reflowLargerApplyNewLayout(this.lines,r.layout),this._reflowLargerAdjustViewport(e,t,r.countRemoved)}},e.prototype._reflowLargerAdjustViewport=function(e,t,n){for(var r=this.getNullCell(i.DEFAULT_ATTR_DATA),o=n;o-- >0;)0===this.ybase?(this.y>0&&this.y--,this.lines.length<t&&this.lines.push(new i.BufferLine(e,r))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-n,0)},e.prototype._reflowSmaller=function(e,t){for(var n=this.getNullCell(i.DEFAULT_ATTR_DATA),r=[],o=0,a=this.lines.length-1;a>=0;a--){var u=this.lines.get(a);if(!(!u||!u.isWrapped&&u.getTrimmedLength()<=e)){for(var l=[u];u.isWrapped&&a>0;)u=this.lines.get(--a),l.unshift(u);var c=this.ybase+this.y;if(!(c>=a&&c<a+l.length)){var d,f=l[l.length-1].getTrimmedLength(),h=s.reflowSmallerGetNewLineLengths(l,this._cols,e),p=h.length-l.length;d=0===this.ybase&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+p):Math.max(0,this.lines.length-this.lines.maxLength+p);for(var m=[],v=0;v<p;v++){var g=this.getBlankLine(i.DEFAULT_ATTR_DATA,!0);m.push(g)}m.length>0&&(r.push({start:a+l.length+o,newLines:m}),o+=m.length),l.push.apply(l,m);var y=h.length-1,b=h[y];0===b&&(b=h[--y]);for(var _=l.length-p-1,w=f;_>=0;){var E=Math.min(w,b);if(l[y].copyCellsFrom(l[_],w-E,b-E,E,!0),0==(b-=E)&&(b=h[--y]),0==(w-=E)){_--;var C=Math.max(_,0);w=s.getWrappedLineTrimmedLength(l,C,this._cols)}}for(v=0;v<l.length;v++)h[v]<e&&l[v].setCell(h[v],n);for(var A=p-d;A-- >0;)0===this.ybase?this.y<t-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+o)-t&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+p,this.ybase+t-1)}}}if(r.length>0){var k=[],S=[];for(v=0;v<this.lines.length;v++)S.push(this.lines.get(v));var x=this.lines.length,D=x-1,O=0,T=r[O];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+o);var F=0;for(v=Math.min(this.lines.maxLength-1,x+o-1);v>=0;v--)if(T&&T.start>D+F){for(var M=T.newLines.length-1;M>=0;M--)this.lines.set(v--,T.newLines[M]);v++,k.push({index:D+1,amount:T.newLines.length}),F+=T.newLines.length,T=r[++O]}else this.lines.set(v,S[D--]);var P=0;for(v=k.length-1;v>=0;v--)k[v].index+=P,this.lines.onInsertEmitter.fire(k[v]),P+=k[v].amount;var L=Math.max(0,x+o-this.lines.maxLength);L>0&&this.lines.onTrimEmitter.fire(L)}},e.prototype.stringIndexToBufferIndex=function(e,t,n){for(void 0===n&&(n=!1);t;){var r=this.lines.get(e);if(!r)return[-1,-1];for(var i=n?r.getTrimmedLength():r.length,o=0;o<i;++o)if(r.get(o)[a.CHAR_DATA_WIDTH_INDEX]&&(t-=r.get(o)[a.CHAR_DATA_CHAR_INDEX].length||1),t<0)return[e,o];e++}return[e,0]},e.prototype.translateBufferLineToString=function(e,t,n,r){void 0===n&&(n=0);var i=this.lines.get(e);return i?i.translateToString(t,n,r):""},e.prototype.getWrappedRangeForLine=function(e){for(var t=e,n=e;t>0&&this.lines.get(t).isWrapped;)t--;for(;n+1<this.lines.length&&this.lines.get(n+1).isWrapped;)n++;return{first:t,last:n}},e.prototype.setupTabStops=function(e){for(null!=e?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},e.prototype.prevStop=function(e){for(null==e&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.nextStop=function(e){for(null==e&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},e.prototype.addMarker=function(e){var t=this,n=new u.Marker(e);return this.markers.push(n),n.register(this.lines.onTrim((function(e){n.line-=e,n.line<0&&n.dispose()}))),n.register(this.lines.onInsert((function(e){n.line>=e.index&&(n.line+=e.amount)}))),n.register(this.lines.onDelete((function(e){n.line>=e.index&&n.line<e.index+e.amount&&n.dispose(),n.line>e.index&&(n.line-=e.amount)}))),n.register(n.onDispose((function(){return t._removeMarker(n)}))),n},e.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},e.prototype.iterator=function(e,t,n,r,i){return new f(this,e,t,n,r,i)},e}();t.Buffer=d;var f=function(){function e(e,t,n,r,i,o){void 0===n&&(n=0),void 0===r&&(r=e.lines.length),void 0===i&&(i=0),void 0===o&&(o=0),this._buffer=e,this._trimRight=t,this._startIndex=n,this._endIndex=r,this._startOverscan=i,this._endOverscan=o,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return e.prototype.hasNext=function(){return this._current<this._endIndex},e.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var t="",n=e.first;n<=e.last;++n)t+=this._buffer.translateBufferLineToString(n,this._trimRight);return this._current=e.last+1,{range:e,content:t}},e}();t.BufferStringIterator=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircularList=void 0;var r=n(0),i=function(){function e(e){this._maxLength=e,this.onDeleteEmitter=new r.EventEmitter,this.onInsertEmitter=new r.EventEmitter,this.onTrimEmitter=new r.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(e.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxLength",{get:function(){return this._maxLength},set:function(e){if(this._maxLength!==e){for(var t=new Array(e),n=0;n<Math.min(e,this.length);n++)t[n]=this._array[this._getCyclicIndex(n)];this._array=t,this._maxLength=e,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._length},set:function(e){if(e>this._length)for(var t=this._length;t<e;t++)this._array[t]=void 0;this._length=e},enumerable:!1,configurable:!0}),e.prototype.get=function(e){return this._array[this._getCyclicIndex(e)]},e.prototype.set=function(e,t){this._array[this._getCyclicIndex(e)]=t},e.prototype.push=function(e){this._array[this._getCyclicIndex(this._length)]=e,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},e.prototype.recycle=function(){if(this._length!==this._maxLength)throw new Error("Can only recycle when the buffer is full");return this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1),this._array[this._getCyclicIndex(this._length-1)]},Object.defineProperty(e.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),e.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},e.prototype.splice=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(t){for(var i=e;i<this._length-t;i++)this._array[this._getCyclicIndex(i)]=this._array[this._getCyclicIndex(i+t)];this._length-=t}for(i=this._length-1;i>=e;i--)this._array[this._getCyclicIndex(i+n.length)]=this._array[this._getCyclicIndex(i)];for(i=0;i<n.length;i++)this._array[this._getCyclicIndex(e+i)]=n[i];if(this._length+n.length>this._maxLength){var o=this._length+n.length-this._maxLength;this._startIndex+=o,this._length=this._maxLength,this.onTrimEmitter.fire(o)}else this._length+=n.length},e.prototype.trimStart=function(e){e>this._length&&(e=this._length),this._startIndex+=e,this._length-=e,this.onTrimEmitter.fire(e)},e.prototype.shiftElements=function(e,t,n){if(!(t<=0)){if(e<0||e>=this._length)throw new Error("start argument out of range");if(e+n<0)throw new Error("Cannot shift elements in list beyond index 0");if(n>0){for(var r=t-1;r>=0;r--)this.set(e+r+n,this.get(e+r));var i=e+t+n-this._length;if(i>0)for(this._length+=i;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<t;r++)this.set(e+r+n,this.get(e+r))}},e.prototype._getCyclicIndex=function(e){return(this._startIndex+e)%this._maxLength},e}();t.CircularList=i},function(e,t,n){"use strict";function r(e,t,n){if(t===e.length-1)return e[t].getTrimmedLength();var r=!e[t].hasContent(n-1)&&1===e[t].getWidth(n-1),i=2===e[t+1].getWidth(0);return r&&i?n-1:n}Object.defineProperty(t,"__esModule",{value:!0}),t.getWrappedLineTrimmedLength=t.reflowSmallerGetNewLineLengths=t.reflowLargerApplyNewLayout=t.reflowLargerCreateNewLayout=t.reflowLargerGetLinesToRemove=void 0,t.reflowLargerGetLinesToRemove=function(e,t,n,i,o){for(var a=[],s=0;s<e.length-1;s++){var u=s,l=e.get(++u);if(l.isWrapped){for(var c=[e.get(s)];u<e.length&&l.isWrapped;)c.push(l),l=e.get(++u);if(i>=s&&i<u)s+=c.length-1;else{for(var d=0,f=r(c,d,t),h=1,p=0;h<c.length;){var m=r(c,h,t),v=Math.min(m-p,n-f);c[d].copyCellsFrom(c[h],p,f,v,!1),(f+=v)===n&&(d++,f=0),(p+=v)===m&&(h++,p=0),0===f&&0!==d&&2===c[d-1].getWidth(n-1)&&(c[d].copyCellsFrom(c[d-1],n-1,f++,1,!1),c[d-1].setCell(n-1,o))}c[d].replaceCells(f,n,o);for(var g=0,y=c.length-1;y>0&&(y>d||0===c[y].getTrimmedLength());y--)g++;g>0&&(a.push(s+c.length-g),a.push(g)),s+=c.length-1}}}return a},t.reflowLargerCreateNewLayout=function(e,t){for(var n=[],r=0,i=t[r],o=0,a=0;a<e.length;a++)if(i===a){var s=t[++r];e.onDeleteEmitter.fire({index:a-o,amount:s}),a+=s-1,o+=s,i=t[++r]}else n.push(a);return{layout:n,countRemoved:o}},t.reflowLargerApplyNewLayout=function(e,t){for(var n=[],r=0;r<t.length;r++)n.push(e.get(t[r]));for(r=0;r<n.length;r++)e.set(r,n[r]);e.length=t.length},t.reflowSmallerGetNewLineLengths=function(e,t,n){for(var i=[],o=e.map((function(n,i){return r(e,i,t)})).reduce((function(e,t){return e+t})),a=0,s=0,u=0;u<o;){if(o-u<n){i.push(o-u);break}a+=n;var l=r(e,s,t);a>l&&(a-=l,s++);var c=2===e[s].getWidth(a-1);c&&a--;var d=c?n-1:n;i.push(d),u+=d}return i},t.getWrappedLineTrimmedLength=r},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Marker=void 0;var o=n(0),a=function(e){function t(n){var r=e.call(this)||this;return r.line=n,r._id=t._nextId++,r.isDisposed=!1,r._onDispose=new o.EventEmitter,r}return i(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},t._nextId=1,t}(n(2).Disposable);t.Marker=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsService=t.DEFAULT_OPTIONS=t.DEFAULT_BELL_SOUND=void 0;var r=n(0),i=n(11),o=n(33);t.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",t.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:t.DEFAULT_BELL_SOUND,bellStyle:"none",drawBoldTextInBrightColors:!0,fastScrollModifier:"alt",fastScrollSensitivity:5,fontFamily:"courier-new, courier, monospace",fontSize:15,fontWeight:"normal",fontWeightBold:"bold",lineHeight:1,linkTooltipHoverDuration:500,letterSpacing:0,logLevel:"info",scrollback:1e3,scrollSensitivity:1,screenReaderMode:!1,macOptionIsMeta:!1,macOptionClickForcesSelection:!1,minimumContrastRatio:1,disableStdin:!1,allowProposedApi:!0,allowTransparency:!1,tabStopWidth:8,theme:{},rightClickSelectsWord:i.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var a=["normal","bold","100","200","300","400","500","600","700","800","900"],s=["cols","rows"],u=function(){function e(e){this._onOptionChange=new r.EventEmitter,this.options=o.clone(t.DEFAULT_OPTIONS);for(var n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];if(a in this.options)try{this.options[a]=this._sanitizeAndValidateOption(a,e[a])}catch(e){console.error(e)}}}return Object.defineProperty(e.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),e.prototype.setOption=function(e,n){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');if(-1!==s.indexOf(e))throw new Error('Option "'+e+'" can only be set in the constructor');this.options[e]!==n&&(n=this._sanitizeAndValidateOption(e,n),this.options[e]!==n&&(this.options[e]=n,this._onOptionChange.fire(e)))},e.prototype._sanitizeAndValidateOption=function(e,n){switch(e){case"bellStyle":case"cursorStyle":case"rendererType":case"wordSeparator":n||(n=t.DEFAULT_OPTIONS[e]);break;case"fontWeight":case"fontWeightBold":if("number"==typeof n&&1<=n&&n<=1e3)break;n=-1!==a.indexOf(n)?n:t.DEFAULT_OPTIONS[e];break;case"cursorWidth":n=Math.floor(n);case"lineHeight":case"tabStopWidth":if(n<1)throw new Error(e+" cannot be less than 1, value: "+n);break;case"minimumContrastRatio":n=Math.max(1,Math.min(21,Math.round(10*n)/10));break;case"scrollback":if((n=Math.min(n,4294967295))<0)throw new Error(e+" cannot be less than 0, value: "+n);break;case"fastScrollSensitivity":case"scrollSensitivity":if(n<=0)throw new Error(e+" cannot be less than or equal to 0, value: "+n)}return n},e.prototype.getOption=function(e){if(!(e in t.DEFAULT_OPTIONS))throw new Error('No option with key "'+e+'"');return this.options[e]},e}();t.OptionsService=u},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},a=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreService=void 0;var s=n(1),u=n(0),l=n(33),c=n(2),d=Object.freeze({insertMode:!1}),f=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),h=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._bufferService=n,o._logService=r,o._optionsService=i,o.isCursorInitialized=!1,o.isCursorHidden=!1,o._onData=o.register(new u.EventEmitter),o._onUserInput=o.register(new u.EventEmitter),o._onBinary=o.register(new u.EventEmitter),o._scrollToBottom=t,o.register({dispose:function(){return o._scrollToBottom=void 0}}),o.modes=l.clone(d),o.decPrivateModes=l.clone(f),o}return i(t,e),Object.defineProperty(t.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),t.prototype.reset=function(){this.modes=l.clone(d),this.decPrivateModes=l.clone(f)},t.prototype.triggerDataEvent=function(e,t){if(void 0===t&&(t=!1),!this._optionsService.options.disableStdin){var n=this._bufferService.buffer;n.ybase!==n.ydisp&&this._scrollToBottom(),t&&this._onUserInput.fire(),this._logService.debug('sending data "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onData.fire(e)}},t.prototype.triggerBinaryEvent=function(e){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+e+'"',(function(){return e.split("").map((function(e){return e.charCodeAt(0)}))})),this._onBinary.fire(e))},o([a(1,s.IBufferService),a(2,s.ILogService),a(3,s.IOptionsService)],t)}(c.Disposable);t.CoreService=h},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.CoreMouseService=void 0;var o=n(1),a=n(0),s={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(e){return 4!==e.button&&1===e.action&&(e.ctrl=!1,e.alt=!1,e.shift=!1,!0)}},VT200:{events:19,restrict:function(e){return 32!==e.action}},DRAG:{events:23,restrict:function(e){return 32!==e.action||3!==e.button}},ANY:{events:31,restrict:function(e){return!0}}};function u(e,t){var n=(e.ctrl?16:0)|(e.shift?4:0)|(e.alt?8:0);return 4===e.button?(n|=64,n|=e.action):(n|=3&e.button,4&e.button&&(n|=64),8&e.button&&(n|=128),32===e.action?n|=32:0!==e.action||t||(n|=3)),n}var l=String.fromCharCode,c={DEFAULT:function(e){var t=[u(e,!1)+32,e.col+32,e.row+32];return t[0]>255||t[1]>255||t[2]>255?"":"\x1b[M"+l(t[0])+l(t[1])+l(t[2])},SGR:function(e){var t=0===e.action&&4!==e.button?"m":"M";return"\x1b[<"+u(e,!0)+";"+e.col+";"+e.row+t}},d=function(){function e(e,t){this._bufferService=e,this._coreService=t,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new a.EventEmitter,this._lastEvent=null;for(var n=0,r=Object.keys(s);n<r.length;n++){var i=r[n];this.addProtocol(i,s[i])}for(var o=0,u=Object.keys(c);o<u.length;o++){var l=u[o];this.addEncoding(l,c[l])}this.reset()}return e.prototype.addProtocol=function(e,t){this._protocols[e]=t},e.prototype.addEncoding=function(e,t){this._encodings[e]=t},Object.defineProperty(e.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].events)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"areMouseEventsActive",{get:function(){return 0!==this._protocols[this._activeProtocol].events},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},enumerable:!1,configurable:!0}),e.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(e.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),e.prototype.triggerMouseEvent=function(e){if(e.col<0||e.col>=this._bufferService.cols||e.row<0||e.row>=this._bufferService.rows)return!1;if(4===e.button&&32===e.action)return!1;if(3===e.button&&32!==e.action)return!1;if(4!==e.button&&(2===e.action||3===e.action))return!1;if(e.col++,e.row++,32===e.action&&this._lastEvent&&this._compareEvents(this._lastEvent,e))return!1;if(!this._protocols[this._activeProtocol].restrict(e))return!1;var t=this._encodings[this._activeEncoding](e);return t&&("DEFAULT"===this._activeEncoding?this._coreService.triggerBinaryEvent(t):this._coreService.triggerDataEvent(t,!0)),this._lastEvent=e,!0},e.prototype.explainEvents=function(e){return{down:!!(1&e),up:!!(2&e),drag:!!(4&e),move:!!(8&e),wheel:!!(16&e)}},e.prototype._compareEvents=function(e,t){return e.col===t.col&&e.row===t.row&&e.button===t.button&&e.action===t.action&&e.ctrl===t.ctrl&&e.alt===t.alt&&e.shift===t.shift},r([i(0,o.IBufferService),i(1,o.ICoreService)],e)}();t.CoreMouseService=d},function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},i=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DirtyRowService=void 0;var o=n(1),a=function(){function e(e){this._bufferService=e,this.clearRange()}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),e.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},e.prototype.markDirty=function(e){e<this._start?this._start=e:e>this._end&&(this._end=e)},e.prototype.markRangeDirty=function(e,t){if(e>t){var n=e;e=t,t=n}e<this._start&&(this._start=e),t>this._end&&(this._end=t)},e.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},r([i(0,o.IBufferService)],e)}();t.DirtyRowService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeService=void 0;var r=n(0),i=n(79),o=function(){function e(){this._providers=Object.create(null),this._active="",this._onChange=new r.EventEmitter;var e=new i.UnicodeV6;this.register(e),this._active=e.version,this._activeProvider=e}return Object.defineProperty(e.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._active},set:function(e){if(!this._providers[e])throw new Error('unknown Unicode version "'+e+'"');this._active=e,this._activeProvider=this._providers[e],this._onChange.fire(e)},enumerable:!1,configurable:!0}),e.prototype.register=function(e){this._providers[e.version]=e},e.prototype.wcwidth=function(e){return this._activeProvider.wcwidth(e)},e.prototype.getStringCellWidth=function(e){for(var t=0,n=e.length,r=0;r<n;++r){var i=e.charCodeAt(r);if(55296<=i&&i<=56319){if(++r>=n)return t+this.wcwidth(i);var o=e.charCodeAt(r);56320<=o&&o<=57343?i=1024*(i-55296)+o-56320+65536:t+=this.wcwidth(o)}t+=this.wcwidth(i)}return t},e}();t.UnicodeService=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnicodeV6=void 0;var r,i=n(15),o=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531]],a=[[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]],s=function(){function e(){if(this.version="6",!r){r=new Uint8Array(65536),i.fill(r,1),r[0]=0,i.fill(r,0,1,32),i.fill(r,0,127,160),i.fill(r,2,4352,4448),r[9001]=2,r[9002]=2,i.fill(r,2,11904,42192),r[12351]=1,i.fill(r,2,44032,55204),i.fill(r,2,63744,64256),i.fill(r,2,65040,65050),i.fill(r,2,65072,65136),i.fill(r,2,65280,65377),i.fill(r,2,65504,65511);for(var e=0;e<o.length;++e)i.fill(r,0,o[e][0],o[e][1]+1)}}return e.prototype.wcwidth=function(e){return e<32?0:e<127?1:e<65536?r[e]:function(e,t){var n,r=0,i=t.length-1;if(e<t[0][0]||e>t[i][1])return!1;for(;i>=r;)if(e>t[n=r+i>>1][1])r=n+1;else{if(!(e<t[n][0]))return!0;i=n-1}return!1}(e,a)?0:e>=131072&&e<=196605||e>=196608&&e<=262141?2:1},e}();t.UnicodeV6=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CharsetService=void 0;var r=function(){function e(){this.glevel=0,this._charsets=[]}return e.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},e.prototype.setgLevel=function(e){this.glevel=e,this.charset=this._charsets[e]},e.prototype.setgCharset=function(e,t){this._charsets[e]=t,this.glevel===e&&(this.charset=t)},e}();t.CharsetService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateWindowsModeWrappedState=void 0;var r=n(3);t.updateWindowsModeWrappedState=function(e){var t=e.buffer.lines.get(e.buffer.ybase+e.buffer.y-1),n=null==t?void 0:t.get(e.cols-1),i=e.buffer.lines.get(e.buffer.ybase+e.buffer.y);i&&n&&(i.isWrapped=n[r.CHAR_DATA_CODE_INDEX]!==r.NULL_CELL_CODE&&n[r.CHAR_DATA_CODE_INDEX]!==r.WHITESPACE_CELL_CODE)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WriteBuffer=void 0;var r=function(){function e(e){this._action=e,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return e.prototype.writeSync=function(e){if(this._writeBuffer.length){for(var t=this._bufferOffset;t<this._writeBuffer.length;++t){var n=this._callbacks[t];this._action(this._writeBuffer[t]),n&&n()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(e)},e.prototype.write=function(e,t){var n=this;if(this._pendingData>5e7)throw new Error("write data discarded, use flow control to avoid losing data");this._writeBuffer.length||(this._bufferOffset=0,setTimeout((function(){return n._innerWrite()}))),this._pendingData+=e.length,this._writeBuffer.push(e),this._callbacks.push(t)},e.prototype._innerWrite=function(){for(var e=this,t=Date.now();this._writeBuffer.length>this._bufferOffset;){var n=this._writeBuffer[this._bufferOffset],r=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(n),this._pendingData-=n.length,r&&r(),Date.now()-t>=12)break}this._writeBuffer.length>this._bufferOffset?(this._bufferOffset>50&&(this._writeBuffer=this._writeBuffer.slice(this._bufferOffset),this._callbacks=this._callbacks.slice(this._bufferOffset),this._bufferOffset=0),setTimeout((function(){return e._innerWrite()}),0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},e}();t.WriteBuffer=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddonManager=void 0;var r=function(){function e(){this._addons=[]}return e.prototype.dispose=function(){for(var e=this._addons.length-1;e>=0;e--)this._addons[e].instance.dispose()},e.prototype.loadAddon=function(e,t){var n=this,r={instance:t,dispose:t.dispose,isDisposed:!1};this._addons.push(r),t.dispose=function(){return n._wrappedAddonDispose(r)},t.activate(e)},e.prototype._wrappedAddonDispose=function(e){if(!e.isDisposed){for(var t=-1,n=0;n<this._addons.length;n++)if(this._addons[n]===e){t=n;break}if(-1===t)throw new Error("Could not dispose an addon that has not been loaded");e.isDisposed=!0,e.dispose.apply(e.instance),this._addons.splice(t,1)}},e}();t.AddonManager=r}])},"/QRN":function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return v}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("ofXK"),u=n("fXoL"),l=[[["","before-svg",""]],"*",[["","after-svg",""]]],c=["[before-svg]","*","[after-svg]"],d=["ngx-rect",""],f=["ngx-svg-stop",""],h=function(){var e=function(){function e(){Object(o.a)(this,e),this.width="400",this.height="130",this.primaryColor="#f3f3f3",this.secondaryColor="#ecebeb",this.speed="1000ms",this.preserveAspectRatio="xMidYMid meet"}return Object(a.a)(e,[{key:"ngOnInit",value:function(){}},{key:"viewBox",get:function(){return"0 0 ".concat(this.width," ").concat(this.height)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=u.Sb({type:e,selectors:[["ngx-content-loading"]],inputs:{width:"width",height:"height",primaryColor:"primaryColor",secondaryColor:"secondaryColor",speed:"speed",preserveAspectRatio:"preserveAspectRatio"},ngContentSelectors:c,decls:4,vars:2,consts:[["version","1.1"]],template:function(e,t){1&e&&(u.wc(l),u.vc(0),u.pc(),u.ec(1,"svg",0),u.vc(2,1),u.dc(),u.vc(3,2)),2&e&&(u.Kb(1),u.Lb("preserveAspectRatio",t.preserveAspectRatio)("viewBox",t.viewBox))},styles:[""],changeDetection:0}),e}(),p=function(){var e=function(){function e(t){Object(o.a)(this,e),this.content=t,this.clipPathId=m(),this.linearGradientId=m()}return Object(a.a)(e,[{key:"ngOnInit",value:function(){}},{key:"clipPathUrl",get:function(){return"url(#".concat(this.clipPathId,")")}},{key:"linearGradientUrl",get:function(){return"url(#".concat(this.linearGradientId,")")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Yb(h))},e.\u0275cmp=u.Sb({type:e,selectors:[["ngx-svg-element"]],decls:0,vars:0,template:function(e,t){},styles:[""],changeDetection:0}),e}();function m(){return(performance.now()*Math.random()).toString()}var v=function(){var e=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).content=e,r.rx="0",r.ry="1",r}return n}(p);return e.\u0275fac=function(t){return new(t||e)(u.Yb(h))},e.\u0275cmp=u.Sb({type:e,selectors:[["","ngx-rect",""]],inputs:{rx:"rx",ry:"ry",y:"y",x:"x",width:"width",height:"height",primaryColor:"primaryColor",secondaryColor:"secondaryColor",speed:"speed"},features:[u.Hb],attrs:d,decls:7,vars:22,consts:[["ngx-svg-stop","",3,"offset","values","speed","color"]],template:function(e,t){1&e&&(u.pc(),u.Zb(0,"rect"),u.ec(1,"defs"),u.Zb(2,"clipPath"),u.ec(3,"linearGradient"),u.Zb(4,"stop",0),u.Zb(5,"stop",0),u.Zb(6,"stop",0),u.dc(),u.dc()),2&e&&(u.Lb("x",t.x)("y",t.y)("rx",t.rx)("ry",t.ry)("width",t.width)("fill",t.linearGradientUrl)("clipPath",t.clipPathUrl)("height",t.height),u.Kb(2),u.Lb("id",t.clipPathId),u.Kb(1),u.Lb("id",t.linearGradientId),u.Kb(1),u.xc("offset","0%")("values","-2; 1")("speed",t.content.speed)("color",t.content.primaryColor),u.Kb(1),u.xc("offset","50%")("values","-1.5; 1.5")("speed",t.content.speed)("color",t.content.secondaryColor),u.Kb(1),u.xc("offset","100%")("values","-1; 2")("speed",t.content.speed)("color",t.content.primaryColor))},directives:function(){return[g]},styles:[""]}),e}(),g=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=u.Sb({type:e,selectors:[["","ngx-svg-stop",""]],hostVars:2,hostBindings:function(e,t){2&e&&u.Lb("offset",t.offset)("stop-color",t.color)},inputs:{speed:"speed",values:"values",offset:"offset",color:"color"},attrs:f,decls:1,vars:2,consts:[["attributeName","offset","repeatCount","indefinite"]],template:function(e,t){1&e&&(u.pc(),u.Zb(0,"animate",0)),2&e&&u.Lb("values",t.values)("dur",t.speed)},styles:[""],changeDetection:0}),e}(),y=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[s.b]]}),e}()},"/V7M":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("kpkV"),i=n("S2Kk"),o=n("//cU"),a=n("U/8i"),s=n("lqow"),u=n("O4wp");function l(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}var c=Object(s.i)("/"),d={state:{params:{}},strict:!0,caseInsensitive:!0,decodeParams:!0},f=function(){function e(t,n,o,a){var s=this;this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.config=a=Object(u.f)(a,d),this.pattern=t;for(var c,f,h,p=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,m=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,v=[],g=0,y=function(n){if(!e.nameValidator.test(n))throw new Error("Invalid parameter name '"+n+"' in pattern '"+t+"'");if(Object(r.n)(s._params,Object(i.l)("id",n)))throw new Error("Duplicate parameter name '"+n+"' in pattern '"+t+"'")},b=function(e,i){var o,a=i?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:e[2]||e[3],regexp:a,segment:t.substring(g,e.index),type:a?n.type(a)||(o=a,Object(r.t)(n.type(i?"query":"path"),{pattern:new RegExp(o,s.config.caseInsensitive?"i":void 0)})):null}};(c=p.exec(t))&&!((f=b(c,!1)).segment.indexOf("?")>=0);)y(f.id),this._params.push(o.fromPath(f.id,f.type,a.state)),this._segments.push(f.segment),v.push([f.segment,Object(r.G)(this._params)]),g=p.lastIndex;var _=(h=t.substring(g)).indexOf("?");if(_>=0){var w=h.substring(_);if(h=h.substring(0,_),w.length>0)for(g=0;c=m.exec(w);)y((f=b(c,!0)).id),this._params.push(o.fromSearch(f.id,f.type,a.state)),g=p.lastIndex}this._segments.push(h),this._compiled=v.map((function(e){return l.apply(null,e)})).concat(l(h))}return e.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,(function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()}))},e.pathSegmentsAndParams=function(e){var t=e._segments,n=e._params.filter((function(e){return e.location===a.a.PATH}));return Object(r.e)(t,n.concat(void 0)).reduce(r.K,[]).filter((function(e){return""!==e&&Object(o.c)(e)}))},e.queryParams=function(e){return e._params.filter((function(e){return e.location===a.a.SEARCH}))},e.compare=function(t,n){var i=function(t){return t._cache.weights=t._cache.weights||function(t){return t._cache.segments=t._cache.segments||t._cache.path.map(e.pathSegmentsAndParams).reduce(r.K,[]).reduce(s.c,[]).map((function(e){return Object(o.l)(e)?c(e):e})).reduce(r.K,[])}(t).map((function(e){return"/"===e?1:Object(o.l)(e)?2:e instanceof a.b?3:void 0}))},u=i(t),l=i(n);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.length<r;)e.push(0);for(;t.length<r;)t.push(0)}(u,l);var d,f,h=Object(r.e)(u,l);for(f=0;f<h.length;f++)if(0!=(d=h[f][0]-h[f][1]))return d;return 0},e.prototype.append=function(e){return this._children.push(e),e._cache={path:this._cache.path.concat(e),parent:this,pattern:null},e},e.prototype.isRoot=function(){return this._cache.path[0]===this},e.prototype.toString=function(){return this.pattern},e.prototype._getDecodedParamValue=function(e,t){return Object(o.c)(e)&&(!this.config.decodeParams||t.type.raw||Object(o.a)(e)||(e=decodeURIComponent(e)),e=t.type.decode(e)),t.value(e)},e.prototype.exec=function(e,t,n,o){var a=this;void 0===t&&(t={}),void 0===o&&(o={});var s,u,l=(s=this._cache,u=function(){return new RegExp(["^",Object(r.J)(a._cache.path.map(Object(i.k)("_compiled"))).join(""),!1===a.config.strict?"/?":"","$"].join(""),a.config.caseInsensitive?"i":void 0)},s.pattern=s.pattern||u()).exec(e);if(!l)return null;var c,d,f,h=this.parameters(),p=h.filter((function(e){return!e.isSearch()})),m=h.filter((function(e){return e.isSearch()})),v=this._cache.path.map((function(e){return e._segments.length-1})).reduce((function(e,t){return e+t})),g={};if(v!==l.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");for(var y=0;y<v;y++){for(var b=p[y],_=l[y+1],w=0;w<b.replace.length;w++)b.replace[w].from===_&&(_=b.replace[w].to);_&&!0===b.array&&(d=(c=function(e){return e.split("").reverse().join("")})(_).split(/-(?!\\)/),f=Object(r.u)(d,c),_=Object(r.u)(f,(function(e){return e.replace(/\\-/g,"-")})).reverse()),g[b.id]=this._getDecodedParamValue(_,b)}return m.forEach((function(e){for(var n=t[e.id],r=0;r<e.replace.length;r++)e.replace[r].from===n&&(n=e.replace[r].to);g[e.id]=a._getDecodedParamValue(n,e)})),n&&(g["#"]=n),g},e.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:Object(r.J)(this._cache.path.map((function(e){return e._params})))},e.prototype.parameter=function(e,t){var n=this;void 0===t&&(t={});var r=this._cache.parent;return function(){for(var t=0,r=n._params;t<r.length;t++){var i=r[t];if(i.id===e)return i}}()||!1!==t.inherit&&r&&r.parameter(e,t)||null},e.prototype.validates=function(e){return e=e||{},this.parameters().filter((function(t){return e.hasOwnProperty(t.id)})).map((function(t){return!(n=t)||n.validates(e[t.id]);var n})).reduce(r.a,!0)},e.prototype.format=function(t){void 0===t&&(t={});var n=this._cache.path,i=n.map(e.pathSegmentsAndParams).reduce(r.K,[]).map((function(e){return Object(o.l)(e)?e:s(e)})),a=n.map(e.queryParams).reduce(r.K,[]).map(s);if(i.concat(a).filter((function(e){return!1===e.isValid})).length)return null;function s(e){var n=e.value(t[e.id]),r=e.validates(n),i=e.isDefaultValue(n),o=!!i&&e.squash,a=e.type.encode(n);return{param:e,value:n,isValid:r,isDefaultValue:i,squash:o,encoded:a}}var u=i.reduce((function(t,n){if(Object(o.l)(n))return t+n;var i=n.squash,a=n.encoded,s=n.param;return!0===i?t.match(/\/$/)?t.slice(0,-1):t:Object(o.l)(i)?t+i:!1!==i||null==a?t:Object(o.a)(a)?t+Object(r.u)(a,e.encodeDashes).join("-"):s.raw?t+a:t+encodeURIComponent(a)}),""),l=a.map((function(e){var t=e.param,n=e.encoded;if(!(null==n||e.isDefaultValue&&!1!==e.squash)&&(Object(o.a)(n)||(n=[n]),0!==n.length))return t.raw||(n=Object(r.u)(n,encodeURIComponent)),n.map((function(e){return t.id+"="+e}))})).filter(r.r).reduce(r.K,[]).join("&");return u+(l?"?"+l:"")+(t["#"]?"#"+t["#"]:"")},e.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,e}()},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q");function u(e,t){return function(n){return n.lift(new l(e,t))}}var l=function(){function e(t,n){Object(o.a)(this,e),this.compare=t,this.keySelector=n}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))}}]),e}(),c=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e)).keySelector=i,a.hasKey=!1,"function"==typeof r&&(a.compare=r),a}return Object(a.a)(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}]),n}(s.a)},"/wON":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("1OyB"),i=n("vuIU"),o=n("fXoL"),a=n("AcyG"),s=n("vkgz"),u=n("JIr8"),l=function(e,t){return n=t-e.toString().length,new Array(n+1).join("0")+e;var n},c=function(){function e(t,n,i){Object(r.a)(this,e),this.action=t,this.store=n,this.logWriter=i}return Object(i.a)(e,[{key:"dispatched",value:function(e){var t,n=Object(a.k)(this.action),r=(t=new Date,l(t.getHours(),2)+":"+l(t.getMinutes(),2)+":"+l(t.getSeconds(),2)+"."+l(t.getMilliseconds(),3)),i="action ".concat(n," @ ").concat(r);this.logWriter.startGroup(i),this._hasPayload(this.action)&&this.logWriter.logGrey("payload",Object.assign({},this.action)),this.logWriter.logGrey("prev state",e)}},{key:"completed",value:function(e){this.logWriter.logGreen("next state",e),this.logWriter.endGroup()}},{key:"errored",value:function(e){this.logWriter.logRedish("next state after error",this.store.snapshot()),this.logWriter.logRedish("error",e),this.logWriter.endGroup()}},{key:"_hasPayload",value:function(e){return this._getNonEmptyProperties(e).length>0}},{key:"_getNonEmptyProperties",value:function(e){return Object.keys(e).map((function(t){return e[t]})).filter((function(e){return void 0!==e}))}}]),e}(),d=function(){function e(t){Object(r.a)(this,e),this.options=t,this.options=this.options||{},this.logger=t.logger||console}return Object(i.a)(e,[{key:"startGroup",value:function(e){var t=this.options.collapsed?this.logger.groupCollapsed:this.logger.group;try{t.call(this.logger,e)}catch(n){console.log(e)}}},{key:"endGroup",value:function(){try{this.logger.groupEnd()}catch(e){this.logger.log("\u2014\u2014 log end \u2014\u2014")}}},{key:"logGrey",value:function(e,t){this.log(e,"color: #9E9E9E; font-weight: bold",t)}},{key:"logGreen",value:function(e,t){this.log(e,"color: #4CAF50; font-weight: bold",t)}},{key:"logRedish",value:function(e,t){this.log(e,"color: #FD8182; font-weight: bold",t)}},{key:"log",value:function(e,t,n){this.isIE()?this.logger.log(e,n):this.logger.log("%c "+e,t,n)}},{key:"isIE",value:function(){var e="undefined"!=typeof window&&window.navigator.userAgent?window.navigator.userAgent:"",t=!1,n=e.indexOf("MSIE "),r=e.indexOf("Trident/");return(n>-1||r>-1)&&(t=!0),t}}]),e}(),f=new o.s("NGXS_LOGGER_PLUGIN_OPTIONS"),h=function(){var e=function(){function e(t,n){Object(r.a)(this,e),this._options=t,this._injector=n}return Object(i.a)(e,[{key:"handle",value:function(e,t,n){if(this._options.disabled||!this._options.filter(t,e))return n(e,t);this._logWriter=this._logWriter||new d(this._options),this._store=this._store||this._injector.get(a.i);var r=new c(t,this._store,this._logWriter);return r.dispatched(e),n(e,t).pipe(Object(s.a)((function(e){r.completed(e)})),Object(u.a)((function(e){throw r.errored(e),e})))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.ic(f),o.ic(o.t))},e.\u0275prov=o.Ub({token:e,factory:e.\u0275fac}),e}(),p=new o.s("LOGGER_USER_OPTIONS");function m(e){var t={logger:console,collapsed:!1,disabled:!1,filter:function(){return!0}};return Object.assign({},t,e)}var v=function(){var e=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:a.d,useClass:h,multi:!0},{provide:p,useValue:t},{provide:f,useFactory:m,deps:[p]}]}}}]),e}();return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)}}),e}()},"0EQZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return h}));var r=n("uFwe"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("7+OI"),l=n("LRne"),c=n("XNiG"),d=n("fXoL"),f=function e(){Object(s.a)(this,e)};function h(e){return e&&"function"==typeof e.connect}var p=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e){var r;return Object(s.a)(this,n),(r=t.call(this))._data=e,r}return Object(i.a)(n,[{key:"connect",value:function(){return Object(u.a)(this._data)?this._data:Object(l.a)(this._data)}},{key:"disconnect",value:function(){}}]),n}(f),m=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Object(s.a)(this,e),this._multiple=n,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new c.a,r&&r.length&&(n?r.forEach((function(e){return t._markSelected(e)})):this._markSelected(r[0]),this._selectedToEmit.length=0)}return Object(i.a)(e,[{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._verifyValueAssignment(n),n.forEach((function(t){return e._markSelected(t)})),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this._verifyValueAssignment(n),n.forEach((function(t){return e._unmarkSelected(t)})),this._emitChangeEvent()}},{key:"toggle",value:function(e){this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(e){return this._selection.has(e)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(e){this._multiple&&this.selected&&this._selected.sort(e)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}},{key:"_unmarkSelected",value:function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}},{key:"_unmarkAll",value:function(){var e=this;this.isEmpty()||this._selection.forEach((function(t){return e._unmarkSelected(t)}))}},{key:"_verifyValueAssignment",value:function(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),e}(),v=function(){var e=function(){function e(){Object(s.a)(this,e),this._listeners=[]}return Object(i.a)(e,[{key:"notify",value:function(e,t){var n,i=Object(r.a)(this._listeners);try{for(i.s();!(n=i.n()).done;)(0,n.value)(e,t)}catch(o){i.e(o)}finally{i.f()}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(d.Ub)({factory:function(){return new e},token:e,providedIn:"root"}),e}()},"0ERz":function(e,t,n){var r;e.exports=function(){function e(e){this.mode=n.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,r=this.data.length;t<r;t++){var i=[],o=this.data.charCodeAt(t);o>65536?(i[0]=240|(1835008&o)>>>18,i[1]=128|(258048&o)>>>12,i[2]=128|(4032&o)>>>6,i[3]=128|63&o):o>2048?(i[0]=224|(61440&o)>>>12,i[1]=128|(4032&o)>>>6,i[2]=128|63&o):o>128?(i[0]=192|(1984&o)>>>6,i[1]=128|63&o):i[0]=o,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function t(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},t.prototype={addData:function(t){var n=new e(t);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,n),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=o.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n);this.make();for(var i=0;i<this.modules.length;i++)for(var o=1*i,a=0;a<this.modules[i].length;a++){var s=1*a;this.modules[i][a]&&(r.beginFill(0,100),r.moveTo(s,o),r.lineTo(s+1,o),r.lineTo(s+1,o+1),r.lineTo(s,o+1),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=o.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)this.modules[r+a][i+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},setupTypeNumber:function(e){for(var t=o.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(n=0;n<18;n++)r=!e&&1==(t>>n&1),this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r},setupTypeInfo:function(e,t){for(var n=o.getBCHTypeInfo(this.errorCorrectLevel<<3|t),r=0;r<15;r++){var i=!e&&1==(n>>r&1);r<6?this.modules[r][8]=i:r<8?this.modules[r+1][8]=i:this.modules[this.moduleCount-15+r][8]=i}for(r=0;r<15;r++)i=!e&&1==(n>>r&1),r<8?this.modules[8][this.moduleCount-r-1]=i:r<9?this.modules[8][15-r-1+1]=i:this.modules[8][15-r-1]=i;this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[r][s-u]){var l=!1;a<e.length&&(l=1==(e[a]>>>i&1)),o.getMask(t,r,s-u)&&(l=!l),this.modules[r][s-u]=l,-1==--i&&(a++,i=7)}if((r+=n)<0||this.moduleCount<=r){r-=n,n=-n;break}}}},t.PAD0=236,t.PAD1=17,t.createData=function(e,n,r){for(var i=l.getRSBlocks(e,n),a=new c,s=0;s<r.length;s++){var u=r[s];a.put(u.mode,4),a.put(u.getLength(),o.getLengthInBits(u.mode,e)),u.write(a)}var d=0;for(s=0;s<i.length;s++)d+=i[s].dataCount;if(a.getLengthInBits()>8*d)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*d+")");for(a.getLengthInBits()+4<=8*d&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(!1);for(;!(a.getLengthInBits()>=8*d||(a.put(t.PAD0,8),a.getLengthInBits()>=8*d));)a.put(t.PAD1,8);return t.createBytes(a,i)},t.createBytes=function(e,t){for(var n=0,r=0,i=0,a=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var c=t[l].dataCount,d=t[l].totalCount-c;r=Math.max(r,c),i=Math.max(i,d),a[l]=new Array(c);for(var f=0;f<a[l].length;f++)a[l][f]=255&e.buffer[f+n];n+=c;var h=o.getErrorCorrectPolynomial(d),p=new u(a[l],h.getLength()-1).mod(h);for(s[l]=new Array(h.getLength()-1),f=0;f<s[l].length;f++){var m=f+p.getLength()-s[l].length;s[l][f]=m>=0?p.get(m):0}}var v=0;for(f=0;f<t.length;f++)v+=t[f].totalCount;var g=new Array(v),y=0;for(f=0;f<r;f++)for(l=0;l<t.length;l++)f<a[l].length&&(g[y++]=a[l][f]);for(f=0;f<i;f++)for(l=0;l<t.length;l++)f<s[l].length&&(g[y++]=s[l][f]);return g};for(var n={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},o={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;o.getBCHDigit(t)-o.getBCHDigit(o.G15)>=0;)t^=o.G15<<o.getBCHDigit(t)-o.getBCHDigit(o.G15);return(e<<10|t)^o.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;o.getBCHDigit(t)-o.getBCHDigit(o.G18)>=0;)t^=o.G18<<o.getBCHDigit(t)-o.getBCHDigit(o.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return o.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case 0:return(t+n)%2==0;case 1:return t%2==0;case 2:return n%3==0;case 3:return(t+n)%3==0;case 4:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case 5:return t*n%2+t*n%3==0;case 6:return(t*n%2+t*n%3)%2==0;case 7:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new u([1],0),n=0;n<e;n++)t=t.multiply(new u([1,a.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var u=-1;u<=1;u++)i+u<0||t<=i+u||0==s&&0==u||a==e.isDark(r+s,i+u)&&o++;o>5&&(n+=3+o-5)}for(r=0;r<t-1;r++)for(i=0;i<t-1;i++){var l=0;e.isDark(r,i)&&l++,e.isDark(r+1,i)&&l++,e.isDark(r,i+1)&&l++,e.isDark(r+1,i+1)&&l++,0!=l&&4!=l||(n+=3)}for(r=0;r<t;r++)for(i=0;i<t-6;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(i=0;i<t;i++)for(r=0;r<t-6;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);var c=0;for(i=0;i<t;i++)for(r=0;r<t;r++)e.isDark(r,i)&&c++;return n+Math.abs(100*c/t/t-50)/5*10}},a={glog:function(e){if(e<1)throw new Error("glog("+e+")");return a.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return a.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)a.EXP_TABLE[s]=1<<s;for(s=8;s<256;s++)a.EXP_TABLE[s]=a.EXP_TABLE[s-4]^a.EXP_TABLE[s-5]^a.EXP_TABLE[s-6]^a.EXP_TABLE[s-8];for(s=0;s<255;s++)a.LOG_TABLE[a.EXP_TABLE[s]]=s;function u(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function l(e,t){this.totalCount=e,this.dataCount=t}function c(){this.buffer=[],this.length=0}u.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var r=0;r<e.getLength();r++)t[n+r]^=a.gexp(a.glog(this.get(n))+a.glog(e.get(r)));return new u(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=a.glog(this.get(0))-a.glog(e.get(0)),n=new Array(this.getLength()),r=0;r<this.getLength();r++)n[r]=this.get(r);for(r=0;r<e.getLength();r++)n[r]^=a.gexp(a.glog(e.get(r))+t);return new u(n,0).mod(e)}},l.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],l.getRSBlocks=function(e,t){var n=l.getRsBlockTable(e,t);if(null==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,i=[],o=0;o<r;o++)for(var a=n[3*o+0],s=n[3*o+1],u=n[3*o+2],c=0;c<a;c++)i.push(new l(s,u));return i},l.getRsBlockTable=function(e,t){switch(t){case i.L:return l.RS_BLOCK_TABLE[4*(e-1)+0];case i.M:return l.RS_BLOCK_TABLE[4*(e-1)+1];case i.Q:return l.RS_BLOCK_TABLE[4*(e-1)+2];case i.H:return l.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},c.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var d=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function f(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}var h=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){var t=this._htOption,n=this._el,r=e.getModuleCount();function i(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}Math.floor(t.width/r),Math.floor(t.height/r),this.clear();var o=i("svg",{viewBox:"0 0 "+String(r)+" "+String(r),width:"100%",height:"100%",fill:t.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(o),o.appendChild(i("rect",{fill:t.colorLight,width:"100%",height:"100%"})),o.appendChild(i("rect",{fill:t.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<r;a++)for(var s=0;s<r;s++)if(e.isDark(a,s)){var u=i("use",{x:String(s),y:String(a)});u.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(u)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),p="svg"===document.documentElement.tagName.toLowerCase()?h:"undefined"==typeof CanvasRenderingContext2D?function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),i=Math.floor(t.width/r),o=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<r;s++){a.push("<tr>");for(var u=0;u<r;u++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(s,u)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var l=n.childNodes[0],c=(t.width-l.offsetWidth)/2,d=(t.height-l.offsetHeight)/2;c>0&&d>0&&(l.style.margin=d+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}():function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var t=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,r,i,o,a,s,u,l,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*t;else void 0===l&&(arguments[1]*=t,arguments[2]*=t,arguments[3]*=t,arguments[4]*=t);n.apply(this,arguments)}}function r(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)};return r.onabort=i,r.onerror=i,r.onload=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)},void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}var i=function(e,t){this._bIsPainted=!1,this._android=f(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),u=Math.round(a);t.style.display="none",this.clear();for(var l=0;l<i;l++)for(var c=0;c<i;c++){var d=e.isDark(l,c),f=c*o,h=l*a;n.strokeStyle=d?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=d?r.colorDark:r.colorLight,n.fillRect(f,h,o,a),n.strokeRect(Math.floor(f)+.5,Math.floor(h)+.5,s,u),n.strokeRect(Math.ceil(f)-.5,Math.ceil(h)-.5,s,u)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&r.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}();return(r=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:i.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(p=h),this._android=f(),this._el=e,this._oQRCode=null,this._oDrawing=new p(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(e){this._oQRCode=new t(function(e,t){for(var n=1,r=function(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}(e),o=0,a=d.length;o<=a;o++){var s=0;switch(t){case i.L:s=d[o][0];break;case i.M:s=d[o][1];break;case i.Q:s=d[o][2];break;case i.H:s=d[o][3]}if(r<=s)break;n++}if(n>d.length)throw new Error("Too long data");return n}(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},r.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},r.prototype.clear=function(){this._oDrawing.clear()},r.CorrectLevel=i,r}()},"0IaG":function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return P})),n.d(t,"c",(function(){return R})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return D})),n.d(t,"f",(function(){return B}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("rDax"),u=n("+rOU"),l=n("fXoL"),c=n("FKr1"),d=n("cH1L"),f=n("ofXK"),h=n("XNiG"),p=n("NXyV"),m=n("LRne"),v=n("pLZG"),g=n("IzEk"),y=n("JX91"),b=n("R0Ic"),_=n("FtGj"),w=n("u47x");function E(e,t){}var C=function e(){Object(a.a)(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},A={dialogContainer:Object(b.o)("dialogContainer",[Object(b.l)("void, exit",Object(b.m)({opacity:0,transform:"scale(0.7)"})),Object(b.l)("enter",Object(b.m)({transform:"none"})),Object(b.n)("* => enter",Object(b.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(b.m)({transform:"none",opacity:1}))),Object(b.n)("* => void, * => exit",Object(b.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(b.m)({opacity:0})))])};function k(){throw Error("Attempting to attach dialog content after content is already attached")}var S=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s){var u;return Object(a.a)(this,n),(u=t.call(this))._elementRef=e,u._focusTrapFactory=r,u._changeDetectorRef=i,u._config=s,u._elementFocusedBeforeDialogWasOpened=null,u._state="enter",u._animationStateChanged=new l.q,u.attachDomPortal=function(e){return u._portalOutlet.hasAttached()&&k(),u._setupFocusTrap(),u._portalOutlet.attachDomPortal(e)},u._ariaLabelledBy=s.ariaLabelledBy||null,u._document=o,u}return Object(r.a)(n,[{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached()&&k(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached()&&k(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._focusTrap.focusInitialElement()||this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var e=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}},{key:"_onAnimationDone",value:function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(u.a);return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.n),l.Yb(w.i),l.Yb(l.i),l.Yb(f.c,8),l.Yb(C))},e.\u0275cmp=l.Sb({type:e,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var n;1&e&&l.Qc(u.c,!0),2&e&&l.Fc(n=l.nc())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&l.Pb("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(l.Lb("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),l.Zc("@dialogContainer",t._state))},features:[l.Hb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&l.Sc(0,E,0,0,"ng-template",0)},directives:[u.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[A.dialogContainer]}}),e}(),x=0,D=function(){function e(t,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(x++);Object(a.a)(this,e),this._overlayRef=t,this._containerInstance=n,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new h.a,this._afterClosed=new h.a,this._beforeClosed=new h.a,this._state=0,n._id=i,n._animationStateChanged.pipe(Object(v.a)((function(e){return"done"===e.phaseName&&"enter"===e.toState})),Object(g.a)(1)).subscribe((function(){r._afterOpened.next(),r._afterOpened.complete()})),n._animationStateChanged.pipe(Object(v.a)((function(e){return"done"===e.phaseName&&"exit"===e.toState})),Object(g.a)(1)).subscribe((function(){clearTimeout(r._closeFallbackTimeout),r._finishDialogClose()})),t.detachments().subscribe((function(){r._beforeClosed.next(r._result),r._beforeClosed.complete(),r._afterClosed.next(r._result),r._afterClosed.complete(),r.componentInstance=null,r._overlayRef.dispose()})),t.keydownEvents().pipe(Object(v.a)((function(e){return e.keyCode===_.h&&!r.disableClose&&!Object(_.u)(e)}))).subscribe((function(e){e.preventDefault(),r.close()})),t.backdropClick().subscribe((function(){r.disableClose?r._containerInstance._recaptureFocus():r.close()}))}return Object(r.a)(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Object(v.a)((function(e){return"start"===e.phaseName})),Object(g.a)(1)).subscribe((function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout((function(){return t._finishDialogClose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}(),O=new l.s("MatDialogData"),T=new l.s("mat-dialog-default-options"),F=new l.s("mat-dialog-scroll-strategy"),M={provide:F,deps:[s.c],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},P=function(){var e=function(){function e(t,n,r,i,o,s,u){var l=this;Object(a.a)(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=s,this._overlayContainer=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new h.a,this._afterOpenedAtThisLevel=new h.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(p.a)((function(){return l.openDialogs.length?l._afterAllClosed:l._afterAllClosed.pipe(Object(y.a)(void 0))})),this._scrollStrategy=o}return Object(r.a)(e,[{key:"open",value:function(e,t){var n=this;if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new C)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'.concat(t.id,'" exists already. The dialog id must be unique.'));var r=this._createOverlay(t),i=this._attachDialogContainer(r,t),o=this._attachDialogContent(e,i,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe((function(){return n._removeOpenDialog(o)})),this.afterOpened.next(o),o}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find((function(t){return t.id===e}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new s.d({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=l.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:C,useValue:t}]}),r=new u.d(S,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(r).instance}},{key:"_attachDialogContent",value:function(e,t,n,r){var i=new D(n,t,r.id);if(e instanceof l.Q)t.attachTemplatePortal(new u.i(e,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,t),a=t.attachComponentPortal(new u.d(e,r.viewContainerRef,o));i.componentInstance=a.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i}},{key:"_createInjector",value:function(e,t,n){var r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:S,useValue:n},{provide:O,useValue:e.data},{provide:D,useValue:t}];return!e.direction||r&&r.get(d.b,null)||i.push({provide:d.b,useValue:{value:e.direction,change:Object(m.a)()}}),l.t.create({parent:r||this._injector,providers:i})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var r=t[n];r===e||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_afterAllClosed",get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(s.c),l.ic(l.t),l.ic(f.g,8),l.ic(T,8),l.ic(F),l.ic(e,12),l.ic(s.e))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),L=0,R=function(){var e=function(){function e(t,n,r){Object(a.a)(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=r,this.type="button"}return Object(r.a)(e,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=j(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(D,8),l.Yb(l.n),l.Yb(P))},e.\u0275dir=l.Tb({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&l.mc("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&l.Lb("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[l.Ib]}),e}(),B=function(){var e=function(){function e(t,n,r){Object(a.a)(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=r,this.id="mat-dialog-title-".concat(L++)}return Object(r.a)(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=j(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(D,8),l.Yb(l.n),l.Yb(P))},e.\u0275dir=l.Tb({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&l.hc("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}();function j(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find((function(e){return e.id===n.id})):null}var I=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)},providers:[P,M],imports:[[s.f,u.h,c.j],c.j]}),e}()},"0MNC":function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return A}));var r,i=n("vuIU"),o=n("1OyB"),a=n("fXoL"),s=n("nLfN"),u=n("XNiG"),l=n("itXk"),c=n("GyhO"),d=n("HDdC"),f=n("IzEk"),h=n("zP0r"),p=n("Kj3r"),m=n("lJxs"),v=n("JX91"),g=n("1G5W"),y=n("8LU1"),b=new Set,_=function(){var e=function(){function e(t){Object(o.a)(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):w}return Object(i.a)(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!b.has(e))try{r||((r=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(r)),r.sheet&&(r.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),b.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.ic(s.a))},e.\u0275prov=Object(a.Ub)({factory:function(){return new e(Object(a.ic)(s.a))},token:e,providedIn:"root"}),e}();function w(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var E=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new u.a}return Object(i.a)(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return C(Object(y.b)(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,n=C(Object(y.b)(e)).map((function(e){return t._registerQuery(e).observable})),r=Object(l.a)(n);return(r=Object(c.a)(r.pipe(Object(f.a)(1)),r.pipe(Object(h.a)(1),Object(p.a)(0)))).pipe(Object(m.a)((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),t})))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),r={observable:new d.a((function(e){var r=function(n){return t._zone.run((function(){return e.next(n)}))};return n.addListener(r),function(){n.removeListener(r)}})).pipe(Object(v.a)(n),Object(m.a)((function(t){return{query:e,matches:t.matches}})),Object(g.a)(this._destroySubject)),mql:n};return this._queries.set(e,r),r}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.ic(_),a.ic(a.C))},e.\u0275prov=Object(a.Ub)({factory:function(){return new e(Object(a.ic)(_),Object(a.ic)(a.C))},token:e,providedIn:"root"}),e}();function C(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}var A={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"0loS":function(e,t,n){"use strict";n.d(t,"AnchorUISref",(function(){return P})),n.d(t,"Ng2ViewConfig",(function(){return O})),n.d(t,"UIROUTER_MODULE_TOKEN",(function(){return z})),n.d(t,"UIROUTER_ROOT_MODULE",(function(){return H})),n.d(t,"UIRouterModule",(function(){return ee})),n.d(t,"UISref",(function(){return L})),n.d(t,"UISrefActive",(function(){return N})),n.d(t,"UISrefStatus",(function(){return I})),n.d(t,"UIView",(function(){return M})),n.d(t,"_UIROUTER_SERVICE_PROVIDERS",(function(){return K})),n.d(t,"applyModuleConfig",(function(){return Y})),n.d(t,"makeChildProviders",(function(){return J})),n.d(t,"ng2LazyLoadBuilder",(function(){return V}));var r=n("KQm4"),i=n("ReuC"),o=n("foSv"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("vuIU"),c=n("iB+3"),d=n("fXoL"),f=n("ofXK");n.o(c,"NATIVE_INJECTOR_TOKEN")&&n.d(t,"NATIVE_INJECTOR_TOKEN",(function(){return c.NATIVE_INJECTOR_TOKEN})),n.o(c,"StateService")&&n.d(t,"StateService",(function(){return c.StateService})),n.o(c,"Transition")&&n.d(t,"Transition",(function(){return c.Transition}));var h=n("jtHE"),p=n("LRne"),m=n("Cfvw"),v=n("GyhO"),g=n("2Vo4"),y=n("itXk"),b=n("eIep"),_=n("lJxs"),w=n("M5sl"),E=["componentTarget"];function C(e,t){}function A(e,t){1&e&&d.vc(0,0,["*ngIf","!_componentRef"])}var k=["*"];function S(e){var t={},n=e.views||{$default:Object(c.pick)(e,["component","bindings"])};return Object(c.forEach)(n,(function(n,r){if(r=r||"$default",Object(c.isFunction)(n)&&(n={component:n}),0!==Object.keys(n).length){n.$type="ng2",n.$context=e,n.$name=r;var i=c.ViewService.normalizeUIViewTarget(n.$context,n.$name);n.$uiViewName=i.uiViewName,n.$uiViewContextAnchor=i.uiViewContextAnchor,t[r]=n}})),t}var x,D=0,O=function(){function e(t,n){Object(u.a)(this,e),this.path=t,this.viewDecl=n,this.$id=D++,this.loaded=!0}return Object(l.a)(e,[{key:"load",value:function(){return c.services.$q.when(this)}}]),e}(),T=function(){var e=function(){function e(){Object(u.a)(this,e);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n.length<2)throw new Error("pass at least two injectors");this.injectors=n}return Object(l.a)(e,[{key:"get",value:function(t,n){for(var r=0;r<this.injectors.length;r++){var i=this.injectors[r].get(t,e.NOT_FOUND);if(i!==e.NOT_FOUND)return i}if(arguments.length>=2)return n;this.injectors[0].get(t)}}]),e}();return e.NOT_FOUND={},e}(),F=0,M=function(){var e=x=function(){function e(t,n,r){Object(u.a)(this,e),this.router=t,this.viewContainerRef=r,this._uiViewData={},this._parent=n}return Object(l.a)(e,[{key:"ngOnInit",value:function(){var e=this,t=this.router,n=this._parent.fqn,r=this.name||"$default";this._uiViewData={$type:"ng2",id:F++,name:r,fqn:n?n+"."+r:r,creationContext:this._parent.context,configUpdated:this._viewConfigUpdated.bind(this),config:void 0},this._deregisterUiCanExitHook=t.transitionService.onBefore({},(function(t){return e._invokeUiCanExitHook(t)})),this._deregisterUiOnParamsChangedHook=t.transitionService.onSuccess({},(function(t){return e._invokeUiOnParamsChangedHook(t)})),this._deregisterUIView=t.viewService.registerUIView(this._uiViewData)}},{key:"_invokeUiCanExitHook",value:function(e){var t=this._componentRef&&this._componentRef.instance,n=t&&t.uiCanExit;if(Object(c.isFunction)(n)){var r=this.state;-1!==e.exiting().indexOf(r)&&e.onStart({},(function(){return n.call(t,e)}))}}},{key:"_invokeUiOnParamsChangedHook",value:function(e){var t=this._componentRef&&this._componentRef.instance,n=t&&t.uiOnParamsChanged;if(Object(c.isFunction)(n)){var r=this.state;if(e===new c.ResolveContext(this._uiViewData.config.path).getResolvable("$transition$").data||-1!==e.exiting().indexOf(r))return;var i=e.params("to"),o=e.params("from"),a=function(e){return e.paramSchema},s=e.treeChanges("to").map(a).reduce(c.unnestR,[]),u=e.treeChanges("from").map(a).reduce(c.unnestR,[]),l=s.filter((function(e){var t=u.indexOf(e);return-1===t||!u[t].type.equals(i[e.id],o[e.id])}));if(l.length){var d=l.map((function(e){return e.id})),f=Object(c.filter)(i,(function(e,t){return-1!==d.indexOf(t)}));t.uiOnParamsChanged(f,e)}}}},{key:"_disposeLast",value:function(){this._componentRef&&this._componentRef.destroy(),this._componentRef=null}},{key:"ngOnDestroy",value:function(){this._deregisterUIView&&this._deregisterUIView(),this._deregisterUiCanExitHook&&this._deregisterUiCanExitHook(),this._deregisterUiOnParamsChangedHook&&this._deregisterUiOnParamsChangedHook(),this._deregisterUIView=this._deregisterUiCanExitHook=this._deregisterUiOnParamsChangedHook=null,this._disposeLast()}},{key:"_viewConfigUpdated",value:function(e){if(!e)return this._disposeLast();e instanceof O&&this._uiViewData.config!==e&&(this._disposeLast(),c.trace.traceUIViewConfigUpdated(this._uiViewData,e&&e.viewDecl.$context),this._applyUpdatedConfig(e),this._componentRef.changeDetectorRef.markForCheck())}},{key:"_applyUpdatedConfig",value:function(e){this._uiViewData.config=e;var t=new c.ResolveContext(e.path),n=this._getComponentInjector(t),r=e.viewDecl.component,i=n.get(d.k).resolveComponentFactory(r);this._componentRef=this._componentTarget.createComponent(i,void 0,n),this._applyInputBindings(i,this._componentRef.instance,t,r)}},{key:"_getComponentInjector",value:function(e){var t=e.getTokens().map((function(t){return e.getResolvable(t)})).filter((function(e){return e.resolved})).map((function(t){return{provide:t.token,useValue:e.injector().get(t.token)}}));t.push({provide:x.PARENT_INJECT,useValue:{context:this._uiViewData.config.viewDecl.$context,fqn:this._uiViewData.fqn}});var n=this.viewContainerRef.injector,r=e.getResolvable(c.NATIVE_INJECTOR_TOKEN).data,i=new T(r,n);return d.I.resolveAndCreate(t,i)}},{key:"_applyInputBindings",value:function(e,t,n,r){var i=this._uiViewData.config.viewDecl.bindings||{},o=Object.keys(i),a=o.reduce((function(t,n){return t.concat([{prop:(r=n,o=e.inputs.find((function(e){return e.templateName===r})),o&&o.propName||r),token:i[n]}]);var r,o}),[]),s=function(e){return e.inputs.map((function(e){return{prop:e.propName,token:e.templateName}}))}(e).filter((function(e){return!Object(c.inArray)(o,e.prop)})),u=n.injector();a.concat(s).map((function(e){return{prop:e.prop,resolvable:n.getResolvable(e.token)}})).filter((function(e){return e.resolvable&&e.resolvable.resolved})).forEach((function(e){t[e.prop]=u.get(e.resolvable.token)}))}},{key:"_name",set:function(e){this.name=e}},{key:"state",get:function(){return Object(c.parse)("_uiViewData.config.viewDecl.$context.self")(this)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(c.UIRouter),d.Yb(x.PARENT_INJECT),d.Yb(d.V))},e.\u0275cmp=d.Sb({type:e,selectors:[["ui-view"],["","ui-view",""]],viewQuery:function(e,t){var n;1&e&&d.Qc(E,!0,d.V),2&e&&d.Fc(n=d.nc())&&(t._componentTarget=n.first)},inputs:{_name:["ui-view","_name"],name:"name"},exportAs:["uiView"],ngContentSelectors:k,decls:3,vars:1,consts:[["componentTarget",""],[4,"ngIf"]],template:function(e,t){1&e&&(d.wc(),d.Sc(0,C,0,0,"ng-template",null,0,d.Tc),d.Sc(2,A,1,0,void 0,1)),2&e&&(d.Kb(2),d.xc("ngIf",!t._componentRef))},directives:[f.k],encapsulation:2}),e.PARENT_INJECT="UIView.PARENT_INJECT",e}(),P=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._el=t,this._renderer=n}return Object(l.a)(e,[{key:"openInNewTab",value:function(){return"_blank"===this._el.nativeElement.target}},{key:"update",value:function(e){Object(c.isNullOrUndefined)(e)?this._renderer.removeAttribute(this._el.nativeElement,"href"):this._renderer.setProperty(this._el.nativeElement,"href",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.n),d.Yb(d.J))},e.\u0275dir=d.Tb({type:e,selectors:[["a","uiSref",""]]}),e}(),L=function(){var e=function(){function e(t,n,r){var i=this;Object(u.a)(this,e),this.targetState$=new h.a(1),this._emit=!1,this._router=t,this._anchorUISref=n,this._parent=r,this._statesSub=t.globals.states$.subscribe((function(){return i.update()}))}return Object(l.a)(e,[{key:"ngOnInit",value:function(){this._emit=!0,this.update()}},{key:"ngOnChanges",value:function(e){this.update()}},{key:"ngOnDestroy",value:function(){this._emit=!1,this._statesSub.unsubscribe(),this.targetState$.unsubscribe()}},{key:"update",value:function(){var e=this._router.stateService;if(this._emit){var t=e.target(this.state,this.params,this.getOptions());this.targetState$.next(t)}if(this._anchorUISref)if(this.state){var n=e.href(this.state,this.params,this.getOptions())||"";this._anchorUISref.update(n)}else this._anchorUISref.update(null)}},{key:"getOptions",value:function(){var e={relative:this._parent&&this._parent.context&&this._parent.context.name,inherit:!0,source:"sref"};return Object(c.extend)(e,this.options||{})}},{key:"go",value:function(e,t,n){if(!(this._anchorUISref&&(this._anchorUISref.openInNewTab()||e||!Object(c.isNumber)(e)||t||n)||!this.state))return this._router.stateService.go(this.state,this.params,this.getOptions()),!1}},{key:"uiSref",set:function(e){this.state=e,this.update()}},{key:"uiParams",set:function(e){this.params=e,this.update()}},{key:"uiOptions",set:function(e){this.options=e,this.update()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(c.UIRouter),d.Yb(P,8),d.Yb(M.PARENT_INJECT))},e.\u0275dir=d.Tb({type:e,selectors:[["","uiSref",""]],hostBindings:function(e,t){1&e&&d.mc("click",(function(e){return t.go(e.button,e.ctrlKey,e.metaKey)}))},inputs:{state:["uiSref","state"],params:["uiParams","params"],options:["uiOptions","options"]},exportAs:["uiSref"],features:[d.Ib]}),e}(),R={active:!1,exact:!1,entering:!1,exiting:!1,targetStates:[]};function B(e,t){return t.map((function(n){return e.concat(c.PathUtils.subPath(t,(function(e){return e.state===n.state})))}))}function j(e,t){return{active:e.active||t.active,exact:e.exact||t.exact,entering:e.entering||t.entering,exiting:e.exiting||t.exiting,targetStates:e.targetStates.concat(t.targetStates)}}var I=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this.uiSrefStatus=new d.q(!1),this._globals=n,this._hostUiSref=t,this.status=Object.assign({},R)}return Object(l.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this,t=this._globals.start$.pipe(Object(b.a)((function(e){var t=function(t){return{evt:t,trans:e}},n=Object(p.a)(t("start")),r=e.promise.then((function(){return t("success")}),(function(){return t("error")})),i=Object(m.a)(r);return Object(v.a)(n,i)}))),n=function(t){return t.concat(e._hostUiSref).filter(c.identity).reduce(c.uniqR,[])};this._srefs$=new g.a(n(this._srefs.toArray())),this._srefChangesSub=this._srefs.changes.subscribe((function(t){return e._srefs$.next(n(t.toArray()))}));var r=this._srefs$.pipe(Object(b.a)((function(e){return Object(y.a)(e.map((function(e){return e.targetState$})))})));this._subscription=t.pipe(Object(b.a)((function(e){return r.pipe(Object(_.a)((function(t){return t.map((function(t){return n=e,i=function(e){if(!e.exists())return function(){return!1};var t=e.$state(),n=e.params(),r=c.PathUtils.buildPath(e).map((function(e){return e.paramSchema})).reduce(c.unnestR,[]).filter((function(e){return n.hasOwnProperty(e.id)}));return function(e){var i=Object(c.tail)(e);if(!i||i.state!==t)return!1;var o=c.PathUtils.paramValues(e);return c.Param.equals(r,o,n)}}(r=t),o=n.trans.treeChanges(),a="start"===n.evt,{active:B([],s="success"===n.evt?o.to:o.from).map(i).reduce(c.anyTrueR,!1),exact:i(s),entering:!!a&&B(o.retained,o.entering).map(i).reduce(c.anyTrueR,!1),exiting:!!a&&B(o.retained,o.exiting).map(i).reduce(c.anyTrueR,!1),targetStates:[r]};var n,r,i,o,a,s})).reduce(j)})))}))).subscribe(this._setStatus.bind(this))}},{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe(),this._srefChangesSub&&this._srefChangesSub.unsubscribe(),this._srefs$&&this._srefs$.unsubscribe(),this._subscription=this._srefChangesSub=this._srefs$=void 0}},{key:"_setStatus",value:function(e){this.status=e,this.uiSrefStatus.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(L,11),d.Yb(c.UIRouterGlobals))},e.\u0275dir=d.Tb({type:e,selectors:[["","uiSrefStatus",""],["","uiSrefActive",""],["","uiSrefActiveEq",""]],contentQueries:function(e,t,n){var r;1&e&&d.Qb(n,L,!0),2&e&&d.Fc(r=d.nc())&&(t._srefs=r)},outputs:{uiSrefStatus:"uiSrefStatus"},exportAs:["uiSrefStatus"]}),e}(),N=function(){var e=function(){function e(t,n,r){var i=this;Object(u.a)(this,e),this._classes=[],this._classesEq=[],this._subscription=t.uiSrefStatus.subscribe((function(e){i._classes.forEach((function(t){e.active?n.addClass(r.nativeElement,t):n.removeClass(r.nativeElement,t)})),i._classesEq.forEach((function(t){e.exact?n.addClass(r.nativeElement,t):n.removeClass(r.nativeElement,t)}))}))}return Object(l.a)(e,[{key:"ngOnDestroy",value:function(){this._subscription.unsubscribe()}},{key:"active",set:function(e){this._classes=e.split(/\s+/)}},{key:"activeEq",set:function(e){this._classesEq=e.split(/\s+/)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(I),d.Yb(d.J),d.Yb(d.n,1))},e.\u0275dir=d.Tb({type:e,selectors:[["","uiSrefActive",""],["","uiSrefActiveEq",""]],inputs:{active:["uiSrefActive","active"],activeEq:["uiSrefActiveEq","activeEq"]}}),e}(),H=new d.s("UIRouter Root Module"),z=new d.s("UIRouter Module");function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object(c.isFunction)(n.config)&&n.config(e,t,n);var r=n.states||[];return r.map((function(t){return e.stateRegistry.register(t)}))}function U(e,t,n){var r=t.get(n,[]),i=e.get(n,[]);return r.filter((function(e){return-1===i.indexOf(e)}))}function V(e,t){var n,r=e.loadChildren;return r?(n=r,function(e,t){var r=e.injector().get(c.NATIVE_INJECTOR_TOKEN);return function(e,t){if(Object(c.isString)(e))return t.get(d.z).load(e);var n=t.get(d.j);return Promise.resolve(e()).then((function(e){return e&&e.__esModule&&e.default?e.default:e})).then((function(e){return e instanceof d.y?e:n.compileModuleAsync(e)}))}(n,r).then((function(e){return e.create(r)})).then((function(e){return function(e,t,n,r){var i=t.injector,o=i.get(c.UIRouter),a=o.stateRegistry,s=r.name,u=a.get(s),l=/^(.*)\.\*\*$/.exec(s),d=l&&l[1],f=U(n,i,H).reduce(c.uniqR,[]),h=U(n,i,z).reduce(c.uniqR,[]);if(f.length)throw console.log(f),new Error("Lazy loaded modules should not contain a UIRouterModule.forRoot() module");var p=h.map((function(e){return Y(o,i,e)})).reduce(c.unnestR,[]).reduce(c.uniqR,[]);if(l){var m=a.get(d);if(!m||m===u)throw new Error("The Future State named '".concat(s,"' lazy loaded an NgModule. ")+"The lazy loaded NgModule must have a state named '".concat(d,"' ")+"which replaces the (placeholder) '".concat(s,"' Future State. ")+"Add a '".concat(d,"' state to the lazy loaded NgModule ")+"using UIRouterModule.forChild({ states: CHILD_STATES }).")}return p.filter((function(e){return!Object(c.inArray)(p,e.parent)})).forEach((function(e){return e.resolvables.push(c.Resolvable.fromData(c.NATIVE_INJECTOR_TOKEN,i))})),{}}(0,e,r,t)}))}):e.lazyLoad}var $,W=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this,e,i))._locationStrategy=r,o._locationStrategy.onPopState((function(e){"hashchange"!==e.type&&o._listener(e)})),o}return Object(l.a)(n,[{key:"_get",value:function(){return this._locationStrategy.path(!0).replace(this._locationStrategy.getBaseHref().replace(/\/$/,""),"")}},{key:"_set",value:function(e,t,n,r){var i=Object(c.parseUrl)(n),o=i.path,a=i.search,s=i.hash,u=a?o:o+(s?"#"+s:""),l=a+(s?"#"+s:"");r?this._locationStrategy.replaceState(e,t,u,l):this._locationStrategy.pushState(e,t,u,l)}},{key:"dispose",value:function(e){Object(i.a)(Object(o.a)(n.prototype),"dispose",this).call(this,e)}}]),n}(c.BaseLocationServices),G=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this,e,Object(c.is)(f.q)(r)))._locationStrategy=r,i}return Object(l.a)(n,[{key:"baseHref",value:function(e){return this._locationStrategy.getBaseHref()}}]),n}(c.BrowserLocationConfig),q=[{provide:c.UIRouter,useFactory:function(e,t,n,r){if(1!==t.length)throw new Error("Exactly one UIRouterModule.forRoot() should be in the bootstrapped app module's imports: []");var i=new c.UIRouter;i.plugin(w.a),i.plugin(c.servicesPlugin),c.services.$injector.get=r.get.bind(r),i.locationService=new W(i,e,Object(f.r)(r.get(d.F))),i.locationConfig=new G(i,e),i.viewService._pluginapi._viewConfigFactory("ng2",(function(e,t){return new O(e,t)}));var o=i.stateRegistry;o.decorator("views",S),o.decorator("lazyLoad",V);var a=c.Resolvable.fromData(c.NATIVE_INJECTOR_TOKEN,r);return o.root().resolvables.push(a),i.urlMatcherFactory.$get(),t.forEach((function(e){return function(e,t,n){Object(c.isDefined)(n.deferIntercept)&&e.urlService.deferIntercept(n.deferIntercept),Object(c.isDefined)(n.otherwise)&&e.urlService.rules.otherwise(n.otherwise),Object(c.isDefined)(n.initial)&&e.urlService.rules.initial(n.initial)}(i,0,e)})),n.forEach((function(e){return Y(i,r,e)})),i},deps:[f.h,H,z,d.t]},{provide:M.PARENT_INJECT,useFactory:function(e){return{fqn:null,context:e.root()}},deps:[c.StateRegistry]},{provide:d.d,useFactory:function(e){return function(){e.urlRouter.interceptDeferred||(e.urlService.listen(),e.urlService.sync())}},deps:[c.UIRouter],multi:!0}],K=[{provide:c.StateService,useFactory:function(e){return e.stateService},deps:[c.UIRouter]},{provide:c.TransitionService,useFactory:function(e){return e.transitionService},deps:[c.UIRouter]},{provide:c.UrlMatcherFactory,useFactory:function(e){return e.urlMatcherFactory},deps:[c.UIRouter]},{provide:c.UrlRouter,useFactory:function(e){return e.urlRouter},deps:[c.UIRouter]},{provide:c.UrlService,useFactory:function(e){return e.urlService},deps:[c.UIRouter]},{provide:c.ViewService,useFactory:function(e){return e.viewService},deps:[c.UIRouter]},{provide:c.StateRegistry,useFactory:function(e){return e.stateRegistry},deps:[c.UIRouter]},{provide:c.UIRouterGlobals,useFactory:function(e){return e.globals},deps:[c.UIRouter]}];function X(e,t){var n=t[0];return n&&n.deferInitialRender?function(){return new Promise((function(t){e.onStart({},(function(e){e.promise.then(t,t)}),{invokeLimit:1})}))}:function(){return Promise.resolve()}}function Z(e){return[{provide:H,useValue:e,multi:!0},{provide:z,useValue:e,multi:!0},{provide:d.a,useValue:e.states||[],multi:!0},{provide:d.d,useFactory:X,deps:[c.TransitionService,H],multi:!0}]}function J(e){return[{provide:z,useValue:e,multi:!0},{provide:d.a,useValue:e.states||[],multi:!0}]}function Q(e){return{provide:f.h,useClass:e?f.f:f.q}}var ee=function(){var e=$=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,null,[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:$,providers:[q,K,Q(e.useHash)].concat(Object(r.a)(Z(e)))}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:$,providers:J(e)}}}]),e}();return e.\u0275mod=d.Wb({type:e}),e.\u0275inj=d.Vb({factory:function(t){return new(t||e)},imports:[[f.b]]}),e}()},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("l7GE"),u=n("ZUHj");function l(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(t){Object(o.a)(this,e),this.notifier=t}return Object(a.a)(e,[{key:"call",value:function(e,t){var n=new d(e),r=Object(u.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),d=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).seenValue=!1,r}return Object(a.a)(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(s.a)},"1OyB":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},"1jcm":function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return D}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("GU7r"),u=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("3Pt+"),f=n("R1ws"),h=n("u47x"),p=n("cH1L"),m=["thumbContainer"],v=["toggleBar"],g=["input"],y=function(){return{enterDuration:150}},b=["*"],_=new u.s("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),w=0,E={provide:d.l,useExisting:Object(u.ab)((function(){return S})),multi:!0},C=function e(t,n){Object(a.a)(this,e),this.source=t,this.checked=n},A=function e(t){Object(a.a)(this,e),this._elementRef=t},k=Object(l.D)(Object(l.y)(Object(l.z)(Object(l.A)(A)),"accent")),S=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s,l,c,d){var f;return Object(a.a)(this,n),(f=t.call(this,e))._focusMonitor=r,f._changeDetectorRef=i,f.defaults=l,f._animationMode=c,f._onChange=function(e){},f._onTouched=function(){},f._uniqueId="mat-slide-toggle-".concat(++w),f._required=!1,f._checked=!1,f.name=null,f.id=f._uniqueId,f.labelPosition="after",f.ariaLabel=null,f.ariaLabelledby=null,f.change=new u.q,f.toggleChange=new u.q,f.dragChange=new u.q,f.tabIndex=parseInt(o)||0,f}return Object(r.a)(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){"keyboard"===t||"program"===t?e._inputElement.nativeElement.focus():t||Promise.resolve().then((function(){return e._onTouched()}))}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new C(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(c.c)(e)}},{key:"checked",get:function(){return this._checked},set:function(e){this._checked=Object(c.c)(e),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}}]),n}(k);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n),u.Yb(h.h),u.Yb(u.i),u.jc("tabindex"),u.Yb(u.C),u.Yb(_),u.Yb(f.a,8),u.Yb(p.b,8))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){var n;1&e&&(u.ad(m,!0),u.ad(v,!0),u.ad(g,!0)),2&e&&(u.Fc(n=u.nc())&&(t._thumbEl=n.first),u.Fc(n=u.nc())&&(t._thumbBarEl=n.first),u.Fc(n=u.nc())&&(t._inputElement=n.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(u.hc("id",t.id),u.Lb("tabindex",t.disabled?null:-1)("aria-label",null)("aria-labelledby",null),u.Ob("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange",dragChange:"dragChange"},exportAs:["matSlideToggle"],features:[u.Jb([E]),u.Hb],ngContentSelectors:b,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(u.wc(),u.ec(0,"label",0,1),u.ec(2,"div",2,3),u.ec(4,"input",4,5),u.mc("change",(function(e){return t._onChangeEvent(e)}))("click",(function(e){return t._onInputClick(e)})),u.dc(),u.ec(6,"div",6,7),u.Zb(8,"div",8),u.ec(9,"div",9),u.Zb(10,"div",10),u.dc(),u.dc(),u.dc(),u.ec(11,"span",11,12),u.mc("cdkObserveContent",(function(){return t._onLabelTextChange()})),u.ec(13,"span",13),u.Uc(14,"\xa0"),u.dc(),u.vc(15),u.dc(),u.dc()),2&e){var n=u.Gc(1),r=u.Gc(12);u.Lb("for",t.inputId),u.Kb(2),u.Ob("mat-slide-toggle-bar-no-side-margin",!r.textContent||!r.textContent.trim()),u.Kb(2),u.xc("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),u.Lb("name",t.name)("aria-checked",t.checked.toString())("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),u.Kb(5),u.xc("matRippleTrigger",n)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",u.Ac(17,y))}},directives:[l.t,s.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e}(),x=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)}}),e}(),D=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[x,l.u,l.j,s.c],x,l.j]}),e}()},"25BE":function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("1OyB"),i=n("vuIU"),o=n("ReuC"),a=n("foSv"),s=n("Ji7U"),u=n("LK+K"),l=n("XNiG"),c=n("9ppp"),d=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this))._value=e,i}return Object(i.a)(n,[{key:"_subscribe",value:function(e){var t=Object(o.a)(Object(a.a)(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.a;return this._value}},{key:"next",value:function(e){Object(o.a)(Object(a.a)(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(l.a)},"2WcH":function(e,t,n){"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}n.d(t,"a",(function(){return r}))},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"2hdp":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("kpkV"),i=n("//cU"),o=n("lqow"),a=n("S2Kk"),s=n("U4Jh"),u=n("49mS");function l(e){return e.name}function c(e){return e.self.$$state=function(){return e},e.self}function d(e){return e.parent&&e.parent.data&&(e.data=e.self.data=Object(r.t)(e.parent.data,e.data)),e.data}var f=function(e,t){return function(n){var o=n.self;if(o&&o.url&&o.name&&o.name.match(/\.\*\*$/)){var a={};Object(r.g)(o,a),a.url+="{remainder:any}",o=a}var s=n.parent,u=function(e){if(!Object(i.l)(e))return!1;var t="^"===e.charAt(0);return{val:t?e.substring(1):e,root:t}}(o.url),l=u?e.compile(u.val,{state:o}):o.url;if(!l)return null;if(!e.isMatcher(l))throw new Error("Invalid url '"+l+"' in state '"+n+"'");return u&&u.root?l:(s&&s.navigable||t()).url.append(l)}},h=function(e){return function(t){return!e(t)&&t.url?t:t.parent?t.parent.navigable:null}};function p(e){return e.parent?e.parent.path.concat(e):[e]}function m(e){var t=e.parent?Object(r.l)({},e.parent.includes):{};return t[e.name]=!0,t}function v(e){var t,n,l=function(e){return e.provide||e.token},c=Object(a.i)([[Object(a.k)("resolveFn"),function(e){return new s.a(l(e),e.resolveFn,e.deps,e.policy)}],[Object(a.k)("useFactory"),function(e){return new s.a(l(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[Object(a.k)("useClass"),function(e){return new s.a(l(e),(function(){return new e.useClass}),[],e.policy)}],[Object(a.k)("useValue"),function(e){return new s.a(l(e),(function(){return e.useValue}),[],e.policy,e.useValue)}],[Object(a.k)("useExisting"),function(e){return new s.a(l(e),r.r,[e.useExisting],e.policy)}]]),d=Object(a.i)([[Object(a.j)(Object(a.k)("val"),i.l),function(e){return new s.a(e.token,r.r,[e.val],e.policy)}],[Object(a.j)(Object(a.k)("val"),i.a),function(e){return new s.a(e.token,Object(r.G)(e.val),e.val.slice(0,-1),e.policy)}],[Object(a.j)(Object(a.k)("val"),i.d),function(e){return new s.a(e.token,e.val,(n=u.b.$injector,(t=e.val).$inject||n&&n.annotate(t,n.strictDi)||"deferred"),e.policy);var t,n}]]),f=Object(a.i)([[Object(a.e)(s.a),function(e){return e}],[function(e){return!(!e.token||!e.resolveFn)},c],[function(e){return!(!e.provide&&!e.token||!(e.useValue||e.useFactory||e.useExisting||e.useClass))},c],[function(e){return!!(e&&e.val&&(Object(i.l)(e.val)||Object(i.a)(e.val)||Object(i.d)(e.val)))},d],[Object(a.m)(!0),function(e){throw new Error("Invalid resolve value: "+Object(o.k)(e))}]]),h=e.resolve;return(Object(i.a)(h)?h:(t=h,n=e.resolvePolicy||{},Object.keys(t||{}).map((function(e){return{token:e,val:t[e],deps:void 0,policy:n[e]}})))).map(f)}var g=function(){function e(e,t){this.matcher=e;var n,i=this,o=function(){return e.find("")},s=function(e){return""===e.name};this.builders={name:[l],self:[c],parent:[function(t){return s(t)?null:e.find(i.parentName(t))||o()}],data:[d],url:[f(t,o)],navigable:[h(s)],params:[(n=t.paramFactory,function(e){var t=e.url&&e.url.parameters({inherit:!1})||[],i=Object(r.L)(Object(r.v)(Object(r.y)(e.params||{},t.map(Object(a.k)("id"))),(function(t,r){return n.fromConfig(r,null,e.self)})));return t.concat(i).map((function(e){return[e.id,e]})).reduce(r.d,{})})],views:[],path:[p],includes:[m],resolvables:[v]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return Object(i.l)(e)&&!Object(i.c)(t)?r.length>1?r:r[0]:Object(i.l)(e)&&Object(i.d)(t)?(n[e]=r,n[e].push(t),function(){return n[e].splice(n[e].indexOf(t,1))&&null}):void 0},e.prototype.build=function(e){var t=this.matcher,n=this.builders,i=this.parentName(e);if(i&&!t.find(i,void 0,!1))return null;for(var o in n)if(n.hasOwnProperty(o)){var a=n[o].reduce((function(e,t){return function(n){return t(n,e)}}),r.x);e[o]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if("**"===n.pop()&&n.pop(),n.length){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return n.join(".")}return e.parent?Object(i.l)(e.parent)?e.parent:e.parent.name:""},e.prototype.name=function(e){var t=e.name;if(-1!==t.indexOf(".")||!e.parent)return t;var n=Object(i.l)(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}()},"3E0/":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("D0XW");function u(e){return e instanceof Date&&!isNaN(+e)}var l=n("7o/Q"),c=n("WMd4");function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.a,n=u(e),r=n?+e-t.now():Math.abs(e);return function(e){return e.lift(new f(r,t))}}var f=function(){function e(t,n){Object(o.a)(this,e),this.delay=t,this.scheduler=n}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.delay,this.scheduler))}}]),e}(),h=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e)).delay=r,a.scheduler=i,a.queue=[],a.active=!1,a.errored=!1,a}return Object(a.a)(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new p(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(c.a.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(c.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,r=e.scheduler,i=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(l.a),p=function e(t,n){Object(o.a)(this,e),this.time=t,this.notification=n}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this,e,i)).scheduler=e,o.work=i,o.pending=!1,o}return Object(i.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i){return Object(r.a)(this,n),t.call(this)}return Object(i.a)(n,[{key:"schedule",value:function(e){return this}}]),n}(n("quSY").a))},"3Nip":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r,i=n("EE6W"),o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(e){function t(t){return e.call(this,t,!0)||this}return o(t,e),t.prototype._get=function(){return this._url},t.prototype._set=function(e,t,n,r){this._url=n},t}(i.a)},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return qe})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return _e})),n.d(t,"d",(function(){return nt})),n.d(t,"e",(function(){return ye})),n.d(t,"f",(function(){return Re})),n.d(t,"g",(function(){return Ve})),n.d(t,"h",(function(){return je})),n.d(t,"i",(function(){return rt})),n.d(t,"j",(function(){return Ze})),n.d(t,"k",(function(){return T})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return k})),n.d(t,"n",(function(){return x})),n.d(t,"o",(function(){return D})),n.d(t,"p",(function(){return Ce})),n.d(t,"q",(function(){return Fe})),n.d(t,"r",(function(){return H})),n.d(t,"s",(function(){return Qe})),n.d(t,"t",(function(){return it})),n.d(t,"u",(function(){return Ge})),n.d(t,"v",(function(){return P})),n.d(t,"w",(function(){return Me}));var r=n("JX7q"),i=n("uFwe"),o=n("KQm4"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("vuIU"),c=n("fXoL"),d=n("ofXK"),f=n("cp0P"),h=n("Cfvw"),p=n("lJxs"),m=new c.s("NgValueAccessor"),v={provide:m,useExisting:Object(c.ab)((function(){return g})),multi:!0},g=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return Object(l.a)(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n))},e.\u0275dir=c.Tb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&c.mc("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[c.Jb([v])]}),e}(),y={provide:m,useExisting:Object(c.ab)((function(){return _})),multi:!0},b=new c.s("CompositionEventMode"),_=function(){var e=function(){function e(t,n,r){var i;Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=r,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=Object(d.v)()?Object(d.v)().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return Object(l.a)(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n),c.Yb(b,8))},e.\u0275dir=c.Tb({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&c.mc("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[c.Jb([y])]}),e}(),w=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,[{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e}),e}(),E=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(w);return e.\u0275fac=function(t){return C(t||e)},e.\u0275dir=c.Tb({type:e,features:[c.Hb]}),e}(),C=c.gc(E);function A(){throw new Error("unimplemented")}var k=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(u.a)(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(l.a)(n,[{key:"validator",get:function(){return A()}},{key:"asyncValidator",get:function(){return A()}}]),n}(w),S=function(){function e(t){Object(u.a)(this,e),this._cd=t}return Object(l.a)(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}(),x=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){return Object(u.a)(this,n),t.call(this,e)}return n}(S);return e.\u0275fac=function(t){return new(t||e)(c.Yb(k,2))},e.\u0275dir=c.Tb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&c.Ob("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[c.Hb]}),e}(),D=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){return Object(u.a)(this,n),t.call(this,e)}return n}(S);return e.\u0275fac=function(t){return new(t||e)(c.Yb(E,2))},e.\u0275dir=c.Tb({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&c.Ob("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[c.Hb]}),e}();function O(e){return null==e||0===e.length}var T=new c.s("NgValidators"),F=new c.s("NgAsyncValidators"),M=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,P=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,null,[{key:"min",value:function(e){return function(t){if(O(t.value)||O(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(O(t.value)||O(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return O(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return O(e.value)||M.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(O(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}},{key:"maxLength",value:function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(O(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(L);return 0==t.length?null:function(e){return B(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(L);return 0==t.length?null:function(e){var n=function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(R);return Object(f.a)(n).pipe(Object(p.a)(B))}}}]),e}();function L(e){return null!=e}function R(e){var t=Object(c.Bb)(e)?Object(h.a)(e):e;if(!Object(c.Ab)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function B(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function j(e){return e.validate?function(t){return e.validate(t)}:e}function I(e){return e.validate?function(t){return e.validate(t)}:e}var N={provide:m,useExisting:Object(c.ab)((function(){return H})),multi:!0},H=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return Object(l.a)(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n))},e.\u0275dir=c.Tb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&c.mc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[c.Jb([N])]}),e}(),z={provide:m,useExisting:Object(c.ab)((function(){return U})),multi:!0},Y=function(){var e=function(){function e(){Object(u.a)(this,e),this._accessors=[]}return Object(l.a)(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Ub({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function(){function e(t,n,r,i){Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this._registry=r,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return Object(l.a)(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(k),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n),c.Yb(Y),c.Yb(c.t))},e.\u0275dir=c.Tb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&c.mc("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[c.Jb([z])]}),e}(),V={provide:m,useExisting:Object(c.ab)((function(){return $})),multi:!0},$=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return Object(l.a)(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n))},e.\u0275dir=c.Tb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&c.mc("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[c.Jb([V])]}),e}(),W='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',G='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',q='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',K=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      ".concat(W))}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '.concat(G,"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ").concat(q))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       ".concat(W))}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      ".concat(G))}},{key:"arrayParentException",value:function(){throw new Error("formArrayName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        ".concat('\n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });'))}},{key:"disabledAttrWarning",value:function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}},{key:"ngModelWarning",value:function(e){console.warn("\n    It looks like you're using ngModel on the same form field as ".concat(e,". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/").concat("formControl"===e?"FormControlDirective":"FormControlName","#use-with-ngmodel\n    "))}}]),e}(),X={provide:m,useExisting:Object(c.ab)((function(){return Z})),multi:!0},Z=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=c.Cb}return Object(l.a)(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received ".concat(JSON.stringify(e)));this._compareWith=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n))},e.\u0275dir=c.Tb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&c.mc("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[c.Jb([X])]}),e}(),J={provide:m,useExisting:Object(c.ab)((function(){return Q})),multi:!0},Q=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=c.Cb}return Object(l.a)(e,[{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var a=i.item(o),s=t._getOptionValue(a.value);r.push(s)}else for(var u=n.options,l=0;l<u.length;l++){var c=u.item(l);if(c.selected){var d=t._getOptionValue(c.value);r.push(d)}}t.value=r,e(r)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r)._value,e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received ".concat(JSON.stringify(e)));this._compareWith=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.J),c.Yb(c.n))},e.\u0275dir=c.Tb({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&c.mc("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[c.Jb([J])]}),e}();function ee(e,t){return[].concat(Object(o.a)(t.path),[e])}function te(e,t){e||oe(t,"Cannot find control with"),t.valueAccessor||oe(t,"No value accessor for form control with"),e.validator=P.compose([e.validator,t.validator]),e.asyncValidator=P.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ne(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ne(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function ne(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function re(e,t){null==e&&oe(t,"Cannot find control with"),e.validator=P.compose([e.validator,t.validator]),e.asyncValidator=P.composeAsync([e.asyncValidator,t.asyncValidator])}function ie(e){return oe(e,"There is no FormControl instance attached to form control element with")}function oe(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function ae(e){return null!=e?P.compose(e.map(j)):null}function se(e){return null!=e?P.composeAsync(e.map(I)):null}function ue(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(c.Cb)(t,n.currentValue)}var le=[g,$,H,Z,Q,U];function ce(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function de(e,t){if(!t)return null;Array.isArray(t)||oe(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach((function(t){var o;t.constructor===_?n=t:(o=t,le.some((function(e){return o.constructor===e}))?(r&&oe(e,"More than one built-in value accessor matches form control with"),r=t):(i&&oe(e,"More than one custom value accessor matches form control with"),i=t))})),i||r||n||(oe(e,"No valid value accessor for form control with"),null)}function fe(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function he(e,t,n,r){Object(c.db)()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(K.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function pe(e){var t=ve(e)?e.validators:e;return Array.isArray(t)?ae(t):t||null}function me(e,t){var n=ve(t)?t.asyncValidators:e;return Array.isArray(n)?se(n):n||null}function ve(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ge=function(){function e(t,n){Object(u.a)(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object(l.a)(e,[{key:"setValidators",value:function(e){this.validator=pe(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=me(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=R(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof be?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof _e&&r.at(e)||null})),r}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new c.q,this.statusChanges=new c.q}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){ve(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),ye=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return Object(u.a)(this,n),(e=t.call(this,pe(i),me(o,i)))._onChange=[],e._applyFormState(r),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return Object(l.a)(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(ge),be=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this,pe(r),me(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(l.a)(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){t._throwIfControlMissing(r),t.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(r){t.controls[r]&&t.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof ye?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(r,i){n=n||t.contains(i)&&e(r)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++)if(this.controls[t[e]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(ge),_e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this,pe(r),me(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(l.a)(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,r){t._throwIfControlMissing(r),t.at(r).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,r){t.at(r)&&t.at(r).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof ye?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=Object(i.a)(this.controls);try{for(t.s();!(e=t.n()).done;)if(e.value.enabled)return!1}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(ge),we={provide:E,useExisting:Object(c.ab)((function(){return Ce}))},Ee=function(){return Promise.resolve(null)}(),Ce=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this)).submitted=!1,i._directives=[],i.ngSubmit=new c.q,i.form=new be({},ae(e),se(r)),i}return Object(l.a)(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;Ee.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),te(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;Ee.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),fe(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;Ee.then((function(){var n=t._findContainer(e.path),r=new be({});re(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;Ee.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;Ee.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,ce(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(c.Yb(T,10),c.Yb(F,10))},e.\u0275dir=c.Tb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&c.mc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c.Jb([we]),c.Hb]}),e}(),Ae=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ae(this._validators)}},{key:"asyncValidator",get:function(){return se(this._asyncValidators)}}]),n}(E);return e.\u0275fac=function(t){return ke(t||e)},e.\u0275dir=c.Tb({type:e,features:[c.Hb]}),e}(),ke=c.gc(Ae),Se=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,null,[{key:"modelParentException",value:function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      '.concat(W,"\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      ").concat('\n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  '))}},{key:"formGroupNameException",value:function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      ".concat(G,"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ").concat(q))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}},{key:"modelGroupParentException",value:function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      ".concat(G,"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ").concat(q))}}]),e}(),xe={provide:E,useExisting:Object(c.ab)((function(){return De}))},De=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return Object(l.a)(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof Ce||Se.modelGroupParentException()}}]),n}(Ae);return e.\u0275fac=function(t){return new(t||e)(c.Yb(E,5),c.Yb(T,10),c.Yb(F,10))},e.\u0275dir=c.Tb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[c.Jb([xe]),c.Hb]}),e}(),Oe={provide:k,useExisting:Object(c.ab)((function(){return Fe}))},Te=function(){return Promise.resolve(null)}(),Fe=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,i,o,a){var s;return Object(u.a)(this,n),(s=t.call(this)).control=new ye,s._registered=!1,s.update=new c.q,s._parent=e,s._rawValidators=i||[],s._rawAsyncValidators=o||[],s.valueAccessor=de(Object(r.a)(s),a),s}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),ue(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){te(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof De)&&this._parent instanceof Ae?Se.formGroupNameException():this._parent instanceof De||this._parent instanceof Ce||Se.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Se.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;Te.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Te.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))}},{key:"path",get:function(){return this._parent?ee(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ae(this._rawValidators)}},{key:"asyncValidator",get:function(){return se(this._rawAsyncValidators)}}]),n}(k);return e.\u0275fac=function(t){return new(t||e)(c.Yb(E,9),c.Yb(T,10),c.Yb(F,10),c.Yb(m,10))},e.\u0275dir=c.Tb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[c.Jb([Oe]),c.Hb,c.Ib]}),e}(),Me=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),Pe=new c.s("NgModelWithFormControlWarning"),Le={provide:k,useExisting:Object(c.ab)((function(){return Re}))},Re=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,i,o,a){var s;return Object(u.a)(this,n),(s=t.call(this))._ngModelWarningConfig=a,s.update=new c.q,s._ngModelWarningSent=!1,s._rawValidators=e||[],s._rawAsyncValidators=i||[],s.valueAccessor=de(Object(r.a)(s),o),s}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){this._isControlChanged(e)&&(te(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),ue(e,this.viewModel)&&(he("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}},{key:"isDisabled",set:function(e){K.disabledAttrWarning()}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return ae(this._rawValidators)}},{key:"asyncValidator",get:function(){return se(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}}]),n}(k);return e.\u0275fac=function(t){return new(t||e)(c.Yb(T,10),c.Yb(F,10),c.Yb(m,10),c.Yb(Pe,8))},e.\u0275dir=c.Tb({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[c.Jb([Le]),c.Hb,c.Ib]}),e._ngModelWarningSentOnce=!1,e}(),Be={provide:E,useExisting:Object(c.ab)((function(){return je}))},je=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this))._validators=e,i._asyncValidators=r,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new c.q,i}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return te(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){fe(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);re(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);re(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,ce(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return ie(t)})),t.valueAccessor.registerOnTouched((function(){return ie(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&te(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=ae(this._validators);this.form.validator=P.compose([this.form.validator,e]);var t=se(this._asyncValidators);this.form.asyncValidator=P.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||K.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(c.Yb(T,10),c.Yb(F,10))},e.\u0275dir=c.Tb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&c.mc("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[c.Jb([Be]),c.Hb,c.Ib]}),e}(),Ie={provide:E,useExisting:Object(c.ab)((function(){return Ne}))},Ne=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return Object(l.a)(n,[{key:"_checkParentType",value:function(){Ye(this._parent)&&K.groupParentException()}}]),n}(Ae);return e.\u0275fac=function(t){return new(t||e)(c.Yb(E,13),c.Yb(T,10),c.Yb(F,10))},e.\u0275dir=c.Tb({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[c.Jb([Ie]),c.Hb]}),e}(),He={provide:E,useExisting:Object(c.ab)((function(){return ze}))},ze=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return Object(l.a)(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){Ye(this._parent)&&K.arrayParentException()}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return ae(this._validators)}},{key:"asyncValidator",get:function(){return se(this._asyncValidators)}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(c.Yb(E,13),c.Yb(T,10),c.Yb(F,10))},e.\u0275dir=c.Tb({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[c.Jb([He]),c.Hb]}),e}();function Ye(e){return!(e instanceof Ne||e instanceof je||e instanceof ze)}var Ue={provide:k,useExisting:Object(c.ab)((function(){return Ve}))},Ve=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,i,o,a,s){var l;return Object(u.a)(this,n),(l=t.call(this))._ngModelWarningConfig=s,l._added=!1,l.update=new c.q,l._ngModelWarningSent=!1,l._parent=e,l._rawValidators=i||[],l._rawAsyncValidators=o||[],l.valueAccessor=de(Object(r.a)(l),a),l}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),ue(e,this.viewModel)&&(he("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_checkParentType",value:function(){!(this._parent instanceof Ne)&&this._parent instanceof Ae?K.ngModelGroupException():this._parent instanceof Ne||this._parent instanceof je||this._parent instanceof ze||K.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(e){K.disabledAttrWarning()}},{key:"path",get:function(){return ee(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return ae(this._rawValidators)}},{key:"asyncValidator",get:function(){return se(this._rawAsyncValidators)}}]),n}(k);return e.\u0275fac=function(t){return new(t||e)(c.Yb(E,13),c.Yb(T,10),c.Yb(F,10),c.Yb(m,10),c.Yb(Pe,8))},e.\u0275dir=c.Tb({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[c.Jb([Ue]),c.Hb,c.Ib]}),e._ngModelWarningSentOnce=!1,e}(),$e={provide:T,useExisting:Object(c.ab)((function(){return Ge})),multi:!0},We={provide:T,useExisting:Object(c.ab)((function(){return qe})),multi:!0},Ge=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,[{key:"validate",value:function(e){return this.required?P.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!=="".concat(e),this._onChange&&this._onChange()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&c.Lb("required",t.required?"":null)},inputs:{required:"required"},features:[c.Jb([$e])]}),e}(),qe=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n,[{key:"validate",value:function(e){return this.required?P.requiredTrue(e):null}}]),n}(Ge);return e.\u0275fac=function(t){return Ke(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&c.Lb("required",t.required?"":null)},features:[c.Jb([We]),c.Hb]}),e}(),Ke=c.gc(qe),Xe={provide:T,useExisting:Object(c.ab)((function(){return Ze})),multi:!0},Ze=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=P.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&c.Lb("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[c.Jb([Xe]),c.Ib]}),e}(),Je={provide:T,useExisting:Object(c.ab)((function(){return Qe})),multi:!0},Qe=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=P.pattern(this.pattern)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&c.Lb("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[c.Jb([Je]),c.Ib]}),e}(),et=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)}}),e}();function tt(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}var nt=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(tt(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new be(n,{asyncValidators:i,updateOn:o,validators:r})}},{key:"control",value:function(e,t,n){return new ye(e,t,n)}},{key:"array",value:function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new _e(i,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n}},{key:"_createControl",value:function(e){return e instanceof ye||e instanceof be||e instanceof _e?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c.Ub({token:e,factory:e.\u0275fac}),e}(),rt=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[Y],imports:[et]}),e}(),it=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(l.a)(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Pe,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}();return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[nt,Y],imports:[et]}),e}()},"3UWI":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("D0XW"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("vuIU"),u=n("l7GE"),l=n("ZUHj");function c(e){return function(t){return t.lift(new d(e))}}var d=function(){function e(t){Object(a.a)(this,e),this.durationSelector=t}return Object(s.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new f(e,this.durationSelector))}}]),e}(),f=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r){var i;return Object(a.a)(this,n),(i=t.call(this,e)).durationSelector=r,i.hasValue=!1,i}return Object(s.a)(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=Object(l.a)(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,n,r){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(u.a),h=n("PqYM");function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return c((function(){return Object(h.a)(e,t)}))}},"44p1":function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n("FWf1"),o=n("zB/H");t.finalize=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.callback))},e}(),s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new o.Subscription(n)),r}return r(t,e),t}(i.Subscriber)},"49mS":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(e,t){return t.reduce((function(t,n){return t[n]=(r=e+"."+n+"()",function(){throw new Error("No implementation for "+r+". The framework specific code did not implement this method.")}),t;var r}),{})},i={$q:void 0,$injector:void 0}},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("ZUHj"),u=n("l7GE"),l=n("51Dv"),c=n("lJxs"),d=n("Cfvw");function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(f((function(n,r){return Object(d.a)(e(n,r)).pipe(Object(c.a)((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new h(e,n))})}var h=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;Object(o.a)(this,e),this.project=t,this.concurrent=n}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new p(e,this.project,this.concurrent))}}]),e}(),p=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return Object(o.a)(this,n),(i=t.call(this,e)).project=r,i.concurrent=a,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return Object(a.a)(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new l.a(this,t,n),i=this.destination;i.add(r);var o=Object(s.a)(this,e,void 0,void 0,r);o!==r&&i.add(o)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(u.a)},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i,o){var a;return Object(r.a)(this,n),(a=t.call(this)).parent=e,a.outerValue=i,a.outerIndex=o,a.index=0,a}return Object(i.a)(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a)},"5RNC":function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return x}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("ofXK"),u=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("FtGj"),f=n("3Pt+"),h=n("R1ws"),p=n("nLfN"),m=n("quSY"),v=n("u47x"),g=n("cH1L"),y=["sliderWrapper"],b=Object(p.f)({passive:!1}),_={provide:f.l,useExisting:Object(u.ab)((function(){return A})),multi:!0},w=function e(){Object(a.a)(this,e)},E=function e(t){Object(a.a)(this,e),this._elementRef=t},C=Object(l.D)(Object(l.y)(Object(l.A)(E),"accent")),A=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s,l,c,d){var f;return Object(a.a)(this,n),(f=t.call(this,e))._focusMonitor=r,f._changeDetectorRef=i,f._dir=o,f._animationMode=l,f._ngZone=c,f._invert=!1,f._max=100,f._min=0,f._step=1,f._thumbLabel=!1,f._tickInterval=0,f._value=null,f._vertical=!1,f.change=new u.q,f.input=new u.q,f.valueChange=new u.q,f.onTouched=function(){},f._percent=0,f._isSliding=!1,f._isActive=!1,f._tickIntervalPercent=0,f._sliderDimensions=null,f._controlValueAccessorChangeFn=function(){},f._dirChangeSubscription=m.a.EMPTY,f._pointerDown=function(e){f.disabled||f._isSliding||!k(e)&&0!==e.button||f._runInsideZone((function(){var t=f.value,n=S(e);f._isSliding=!0,f._lastPointerEvent=e,e.preventDefault(),f._focusHostElement(),f._onMouseenter(),f._bindGlobalEvents(e),f._focusHostElement(),f._updateValueFromPosition(n),f._valueOnSlideStart=f.value,f._pointerPositionOnStart=n,t!=f.value&&(f._emitInputEvent(),f._emitChangeEvent())}))},f._pointerMove=function(e){if(f._isSliding){e.preventDefault();var t=f.value;f._lastPointerEvent=e,f._updateValueFromPosition(S(e)),t!=f.value&&f._emitInputEvent()}},f._pointerUp=function(e){if(f._isSliding){var t=f._pointerPositionOnStart,n=S(e);e.preventDefault(),f._removeGlobalEvents(),f._valueOnSlideStart=f._pointerPositionOnStart=f._lastPointerEvent=null,f._isSliding=!1,f._valueOnSlideStart==f.value||f.disabled||!t||t.x===n.x&&t.y===n.y||f._emitChangeEvent()}},f._windowBlur=function(){f._lastPointerEvent&&f._pointerUp(f._lastPointerEvent)},f._document=d,f.tabIndex=parseInt(s)||0,f._runOutsizeZone((function(){var t=e.nativeElement;t.addEventListener("mousedown",f._pointerDown,b),t.addEventListener("touchstart",f._pointerDown,b)})),f}return Object(r.a)(n,[{key:"focus",value:function(e){this._focusHostElement(e)}},{key:"blur",value:function(){this._blurHostElement()}},{key:"_shouldInvertMouseCoords",value:function(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis}},{key:"_getDirection",value:function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}},{key:"ngOnInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){e._isActive=!!t&&"keyboard"!==t,e._changeDetectorRef.detectChanges()})),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe((function(){e._changeDetectorRef.markForCheck()})))}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;e.removeEventListener("mousedown",this._pointerDown,b),e.removeEventListener("touchstart",this._pointerDown,b),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}},{key:"_onMouseenter",value:function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}},{key:"_onFocus",value:function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}},{key:"_onBlur",value:function(){this.onTouched()}},{key:"_onKeydown",value:function(e){if(!this.disabled&&!Object(d.u)(e)){var t=this.value;switch(e.keyCode){case d.m:this._increment(10);break;case d.l:this._increment(-10);break;case d.f:this.value=this.max;break;case d.i:this.value=this.min;break;case d.j:this._increment("rtl"==this._getDirection()?1:-1);break;case d.r:this._increment(1);break;case d.n:this._increment("rtl"==this._getDirection()?-1:1);break;case d.e:this._increment(-1);break;default:return}t!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,e.preventDefault()}}},{key:"_onKeyup",value:function(){this._isSliding=!1}},{key:"_getWindow",value:function(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}},{key:"_bindGlobalEvents",value:function(e){var t=this._document;if(void 0!==t&&t){var n=k(e),r=n?"touchend":"mouseup";t.addEventListener(n?"touchmove":"mousemove",this._pointerMove,b),t.addEventListener(r,this._pointerUp,b),n&&t.addEventListener("touchcancel",this._pointerUp,b)}var i=this._getWindow();void 0!==i&&i&&i.addEventListener("blur",this._windowBlur)}},{key:"_removeGlobalEvents",value:function(){var e=this._document;void 0!==e&&e&&(e.removeEventListener("mousemove",this._pointerMove,b),e.removeEventListener("mouseup",this._pointerUp,b),e.removeEventListener("touchmove",this._pointerMove,b),e.removeEventListener("touchend",this._pointerUp,b),e.removeEventListener("touchcancel",this._pointerUp,b));var t=this._getWindow();void 0!==t&&t&&t.removeEventListener("blur",this._windowBlur)}},{key:"_increment",value:function(e){this.value=this._clamp((this.value||0)+this.step*e,this.min,this.max)}},{key:"_updateValueFromPosition",value:function(e){if(this._sliderDimensions){var t=this._clamp(((this.vertical?e.y:e.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(t=1-t),0===t)this.value=this.min;else if(1===t)this.value=this.max;else{var n=this._calculateValue(t),r=Math.round((n-this.min)/this.step)*this.step+this.min;this.value=this._clamp(r,this.min,this.max)}}}},{key:"_emitChangeEvent",value:function(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}},{key:"_emitInputEvent",value:function(){this.input.emit(this._createChangeEvent())}},{key:"_updateTickIntervalPercent",value:function(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){var e=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,t=Math.ceil(30/(e*this.step/(this.max-this.min)));this._tickIntervalPercent=t*this.step/e}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}},{key:"_createChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.value,t=new w;return t.source=this,t.value=e,t}},{key:"_calculatePercentage",value:function(e){return((e||0)-this.min)/(this.max-this.min)}},{key:"_calculateValue",value:function(e){return this.min+e*(this.max-this.min)}},{key:"_clamp",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.max(t,Math.min(e,n))}},{key:"_getSliderDimensions",value:function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}},{key:"_focusHostElement",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_blurHostElement",value:function(){this._elementRef.nativeElement.blur()}},{key:"_runInsideZone",value:function(e){this._ngZone?this._ngZone.run(e):e()}},{key:"_runOutsizeZone",value:function(e){this._ngZone?this._ngZone.runOutsideAngular(e):e()}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"invert",get:function(){return this._invert},set:function(e){this._invert=Object(c.c)(e)}},{key:"max",get:function(){return this._max},set:function(e){this._max=Object(c.f)(e,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},{key:"min",get:function(){return this._min},set:function(e){this._min=Object(c.f)(e,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},{key:"step",get:function(){return this._step},set:function(e){this._step=Object(c.f)(e,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}},{key:"thumbLabel",get:function(){return this._thumbLabel},set:function(e){this._thumbLabel=Object(c.c)(e)}},{key:"tickInterval",get:function(){return this._tickInterval},set:function(e){this._tickInterval="auto"===e?"auto":"number"==typeof e||"string"==typeof e?Object(c.f)(e,this._tickInterval):0}},{key:"value",get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(e){if(e!==this._value){var t=Object(c.f)(e);this._roundToDecimal&&(t=parseFloat(t.toFixed(this._roundToDecimal))),this._value=t,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}},{key:"vertical",get:function(){return this._vertical},set:function(e){this._vertical=Object(c.c)(e)}},{key:"displayValue",get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}},{key:"percent",get:function(){return this._clamp(this._percent)}},{key:"_invertAxis",get:function(){return this.vertical?!this.invert:this.invert}},{key:"_isMinValue",get:function(){return 0===this.percent}},{key:"_thumbGap",get:function(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0}},{key:"_trackBackgroundStyles",get:function(){var e=this.vertical?"Y":"X",t=this.vertical?"1, ".concat(1-this.percent,", 1"):"".concat(1-this.percent,", 1, 1"),n=this._shouldInvertMouseCoords()?"-":"";return{transform:"translate".concat(e,"(").concat(n).concat(this._thumbGap,"px) scale3d(").concat(t,")")}}},{key:"_trackFillStyles",get:function(){var e=this.percent,t=this.vertical?"Y":"X",n=this.vertical?"1, ".concat(e,", 1"):"".concat(e,", 1, 1"),r=this._shouldInvertMouseCoords()?"":"-";return{transform:"translate".concat(t,"(").concat(r).concat(this._thumbGap,"px) scale3d(").concat(n,")"),display:0===e?"none":""}}},{key:"_ticksContainerStyles",get:function(){var e=this.vertical?"Y":"X",t=this.vertical||"rtl"!=this._getDirection()?"-":"",n=this._tickIntervalPercent/2*100;return{transform:"translate".concat(e,"(").concat(t).concat(n,"%)")}}},{key:"_ticksStyles",get:function(){var e=100*this._tickIntervalPercent,t=this.vertical?"2px ".concat(e,"%"):"".concat(e,"% 2px"),n=this.vertical?"Y":"X",r=this.vertical||"rtl"!=this._getDirection()?"":"-",i=this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)",o={backgroundSize:t,transform:"translateZ(0) translate".concat(n,"(").concat(r).concat(e/2,"%)").concat(i)};return this._isMinValue&&this._thumbGap&&(o["padding".concat(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]="".concat(this._thumbGap,"px")),o}},{key:"_thumbContainerStyles",get:function(){var e=this.vertical?"Y":"X",t=100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent);return{transform:"translate".concat(e,"(-").concat(t,"%)")}}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n),u.Yb(v.h),u.Yb(u.i),u.Yb(g.b,8),u.jc("tabindex"),u.Yb(h.a,8),u.Yb(u.C),u.Yb(s.c,8))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-slider"]],viewQuery:function(e,t){var n;1&e&&u.ad(y,!0),2&e&&u.Fc(n=u.nc())&&(t._sliderWrapper=n.first)},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:28,hostBindings:function(e,t){1&e&&u.mc("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)}))("keyup",(function(){return t._onKeyup()}))("mouseenter",(function(){return t._onMouseenter()}))("selectstart",(function(e){return e.preventDefault()})),2&e&&(u.hc("tabIndex",t.tabIndex),u.Lb("aria-disabled",t.disabled)("aria-valuemax",t.max)("aria-valuemin",t.min)("aria-valuenow",t.value)("aria-orientation",t.vertical?"vertical":"horizontal"),u.Ob("mat-slider-disabled",t.disabled)("mat-slider-has-ticks",t.tickInterval)("mat-slider-horizontal",!t.vertical)("mat-slider-axis-inverted",t._invertAxis)("mat-slider-invert-mouse-coords",t._shouldInvertMouseCoords())("mat-slider-sliding",t._isSliding)("mat-slider-thumb-label-showing",t.thumbLabel)("mat-slider-vertical",t.vertical)("mat-slider-min-value",t._isMinValue)("mat-slider-hide-last-tick",t.disabled||t._isMinValue&&t._thumbGap&&t._invertAxis)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",value:"value",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",vertical:"vertical",displayWith:"displayWith"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[u.Jb([_]),u.Hb],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(e,t){1&e&&(u.ec(0,"div",0,1),u.ec(2,"div",2),u.Zb(3,"div",3),u.Zb(4,"div",4),u.dc(),u.ec(5,"div",5),u.Zb(6,"div",6),u.dc(),u.ec(7,"div",7),u.Zb(8,"div",8),u.Zb(9,"div",9),u.ec(10,"div",10),u.ec(11,"span",11),u.Uc(12),u.dc(),u.dc(),u.dc(),u.dc()),2&e&&(u.Kb(3),u.xc("ngStyle",t._trackBackgroundStyles),u.Kb(1),u.xc("ngStyle",t._trackFillStyles),u.Kb(1),u.xc("ngStyle",t._ticksContainerStyles),u.Kb(1),u.xc("ngStyle",t._ticksStyles),u.Kb(1),u.xc("ngStyle",t._thumbContainerStyles),u.Kb(5),u.Vc(t.displayValue))},directives:[s.l],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\n'],encapsulation:2,changeDetection:0}),e}();function k(e){return"t"===e.type[0]}function S(e){var t=k(e)?e.touches[0]||e.changedTouches[0]:e;return{x:t.clientX,y:t.clientY}}var x=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[s.b,l.j],l.j]}),e}()},"6EBh":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("kpkV"),i=n("S2Kk"),o=n("//cU"),a=n("xUBY"),s=function(){function e(e){var t=this;this.router=e,this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIView:function(e){return Object(r.n)(t._uiViews,(function(n){return t.router.$id+"."+n.id===e}))},_registeredUIViews:function(){return t._uiViews},_activeViewConfigs:function(){return t._viewConfigs},_onSync:function(e){return t._listeners.push(e),function(){return Object(r.C)(t._listeners,e)}}}}return e.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=Object(o.l)(n[1])?n[1]:"^",a=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);if(a&&(i=a[1],r=a[2]),"!"===r.charAt(0)&&(r=r.substr(1),i=""),/^(\^(?:\.\^)*)$/.exec(i)){var s=i.split(".").reduce((function(e,t){return e.parent}),e);i=s.name}else"."===i&&(i=e.name);return{uiViewName:r,uiViewContextAnchor:i}},e.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},e.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},e.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return Object(o.a)(r)?r:[r]},e.prototype.deactivateViewConfig=function(e){a.a.traceViewServiceEvent("<- Removing",e),Object(r.C)(this._viewConfigs,e)},e.prototype.activateViewConfig=function(e){a.a.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},e.prototype.sync=function(){var t=this,n=this._uiViews.map((function(e){return[e.fqn,e]})).reduce(r.d,{});function o(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var s=Object(i.d)((function(e,t,n,r){return t*(e(n)-e(r))})),u=this._uiViews.sort(s((function(e){return 1e4*e.fqn.split(".").length+function e(t){return t&&t.parent?e(t.parent)+1:1}(e.creationContext)}),1)).map((function(r){var i=t._viewConfigs.filter(e.matches(n,r));return i.length>1&&i.sort(s(o,-1)),{uiView:r,viewConfig:i[0]}})),l=u.map((function(e){return e.viewConfig})),c=this._viewConfigs.filter((function(e){return!Object(r.s)(l,e)})).map((function(e){return{uiView:void 0,viewConfig:e}}));u.forEach((function(e){-1!==t._uiViews.indexOf(e.uiView)&&e.uiView.configUpdated(e.viewConfig)}));var d=u.concat(c);this._listeners.forEach((function(e){return e(d)})),a.a.traceViewSync(d)},e.prototype.registerUIView=function(e){a.a.traceViewServiceUIViewEvent("-> Registering",e);var t=this._uiViews;return t.filter((function(t){return t.fqn===e.fqn&&t.$type===e.$type})).length&&a.a.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",e),t.push(e),this.sync(),function(){-1!==t.indexOf(e)?(a.a.traceViewServiceUIViewEvent("<- Deregistering",e),Object(r.C)(t)(e)):a.a.traceViewServiceUIViewEvent("Tried removing non-registered uiView",e)}},e.prototype.available=function(){return this._uiViews.map(Object(i.k)("fqn"))},e.prototype.active=function(){return this._uiViews.filter(Object(i.k)("$config")).map(Object(i.k)("name"))},e.matches=function(e,t){return function(n){if(t.$type!==n.viewDecl.$type)return!1;var i=n.viewDecl,o=i.$uiViewName.split("."),a=t.fqn.split(".");if(!Object(r.k)(o,a.slice(0-o.length)))return!1;var s=a.slice(0,1-o.length||void 0).join("."),u=e[s].creationContext;return i.$uiViewContextAnchor===(u&&u.name)}},e}()},"7+OI":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC");function i(e){return!!e&&(e instanceof r.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"7EHt":function(e,t,n){"use strict";n.d(t,"a",(function(){return K})),n.d(t,"b",(function(){return Z})),n.d(t,"c",(function(){return $})),n.d(t,"d",(function(){return G})),n.d(t,"e",(function(){return W})),n.d(t,"f",(function(){return q}));var r=n("vuIU"),i=n("ReuC"),o=n("foSv"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("fXoL"),c=n("8LU1"),d=n("XNiG"),f=n("quSY"),h=n("0EQZ"),p=0,m=function(){var e=function(){function e(){Object(u.a)(this,e),this._stateChanges=new d.a,this._openCloseAllActions=new d.a,this.id="cdk-accordion-".concat(p++),this._multi=!1}return Object(r.a)(e,[{key:"openAll",value:function(){this._openCloseAll(!0)}},{key:"closeAll",value:function(){this._openCloseAll(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_openCloseAll",value:function(e){this.multi&&this._openCloseAllActions.next(e)}},{key:"multi",get:function(){return this._multi},set:function(e){this._multi=Object(c.c)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=l.Tb({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[l.Ib]}),e}(),v=0,g=function(){var e=function(){function e(t,n,r){var i=this;Object(u.a)(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=r,this._openCloseAllSubscription=f.a.EMPTY,this.closed=new l.q,this.opened=new l.q,this.destroyed=new l.q,this.expandedChange=new l.q,this.id="cdk-accordion-child-".concat(v++),this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=r.listen((function(e,t){i.accordion&&!i.accordion.multi&&i.accordion.id===t&&i.id!==e&&(i.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object(r.a)(e,[{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe((function(t){e.disabled||(e.expanded=t)}))}},{key:"expanded",get:function(){return this._expanded},set:function(e){e=Object(c.c)(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(c.c)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(m,12),l.Yb(l.i),l.Yb(h.d))},e.\u0275dir=l.Tb({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[l.Jb([{provide:m,useValue:void 0}])]}),e}(),y=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)}}),e}(),b=n("+rOU"),_=n("ofXK"),w=n("u47x"),E=n("FtGj"),C=n("/uUt"),A=n("JX91"),k=n("pLZG"),S=n("IzEk"),x=n("EY2u"),D=n("VRyK"),O=n("R0Ic"),T=n("R1ws"),F=["body"];function M(e,t){}var P=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],L=["mat-expansion-panel-header","*","mat-action-row"],R=function(e,t){return{collapsedHeight:e,expandedHeight:t}},B=function(e,t){return{value:e,params:t}};function j(e,t){if(1&e&&l.Zb(0,"span",2),2&e){var n=l.qc();l.xc("@indicatorRotate",n._getExpandedState())}}var I=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],N=["mat-panel-title","mat-panel-description","*"],H=new l.s("MAT_ACCORDION"),z={indicatorRotate:Object(O.o)("indicatorRotate",[Object(O.l)("collapsed, void",Object(O.m)({transform:"rotate(0deg)"})),Object(O.l)("expanded",Object(O.m)({transform:"rotate(180deg)"})),Object(O.n)("expanded <=> collapsed, void => collapsed",Object(O.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(O.o)("expansionHeight",[Object(O.l)("collapsed, void",Object(O.m)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(O.l)("expanded",Object(O.m)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(O.n)("expanded <=> collapsed, void => collapsed",Object(O.g)([Object(O.i)("@indicatorRotate",Object(O.f)(),{optional:!0}),Object(O.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(O.o)("bodyExpansion",[Object(O.l)("collapsed, void",Object(O.m)({height:"0px",visibility:"hidden"})),Object(O.l)("expanded",Object(O.m)({height:"*",visibility:"visible"})),Object(O.n)("expanded <=> collapsed, void => collapsed",Object(O.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},Y=function(){var e=function e(t){Object(u.a)(this,e),this._template=t};return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.Q))},e.\u0275dir=l.Tb({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),U=0,V=new l.s("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),$=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o,a,s,c){var f;return Object(u.a)(this,n),(f=t.call(this,e,r,i))._viewContainerRef=o,f._animationMode=s,f._hideToggle=!1,f.afterExpand=new l.q,f.afterCollapse=new l.q,f._inputChanges=new d.a,f._headerId="mat-expansion-panel-header-".concat(U++),f._bodyAnimationDone=new d.a,f.accordion=e,f._document=a,f._bodyAnimationDone.pipe(Object(C.a)((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){"void"!==e.fromState&&("expanded"===e.toState?f.afterExpand.emit():"collapsed"===e.toState&&f.afterCollapse.emit())})),c&&(f.hideToggle=c.hideToggle),f}return Object(r.a)(n,[{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(Object(A.a)(null),Object(k.a)((function(){return e.expanded&&!e._portal})),Object(S.a)(1)).subscribe((function(){e._portal=new b.i(e._lazyContent._template,e._viewContainerRef)}))}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){Object(i.a)(Object(o.a)(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}},{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=Object(c.c)(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(l.Yb(H,12),l.Yb(l.i),l.Yb(h.d),l.Yb(l.V),l.Yb(_.c),l.Yb(T.a,8),l.Yb(V,8))},e.\u0275cmp=l.Sb({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var r;1&e&&l.Qb(n,Y,!0),2&e&&l.Fc(r=l.nc())&&(t._lazyContent=r.first)},viewQuery:function(e,t){var n;1&e&&l.ad(F,!0),2&e&&l.Fc(n=l.nc())&&(t._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&l.Ob("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[l.Jb([{provide:H,useValue:void 0}]),l.Hb,l.Ib],ngContentSelectors:L,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(l.wc(P),l.vc(0),l.ec(1,"div",0,1),l.mc("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),l.ec(3,"div",2),l.vc(4,1),l.Sc(5,M,0,0,"ng-template",3),l.dc(),l.vc(6,2),l.dc()),2&e&&(l.Kb(1),l.xc("@bodyExpansion",t._getExpandedState())("id",t.id),l.Lb("aria-labelledby",t._headerId),l.Kb(4),l.xc("cdkPortalOutlet",t._portal))},directives:[b.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[z.bodyExpansion]},changeDetection:0}),e}(),W=function(){var e=function(){function e(t,n,r,i,o){var a=this;Object(u.a)(this,e),this.panel=t,this._element=n,this._focusMonitor=r,this._changeDetectorRef=i,this._parentChangeSubscription=f.a.EMPTY,this._animationsDisabled=!0;var s=t.accordion?t.accordion._stateChanges.pipe(Object(k.a)((function(e){return!(!e.hideToggle&&!e.togglePosition)}))):x.a;this._parentChangeSubscription=Object(D.a)(t.opened,t.closed,s,t._inputChanges.pipe(Object(k.a)((function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)})))).subscribe((function(){return a._changeDetectorRef.markForCheck()})),t.closed.pipe(Object(k.a)((function(){return t._containsFocus()}))).subscribe((function(){return r.focusVia(n,"program")})),r.monitor(n).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(a)})),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.collapsedHeight)}return Object(r.a)(e,[{key:"_animationStarted",value:function(){this._animationsDisabled=!1}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_keydown",value:function(e){switch(e.keyCode){case E.p:case E.g:Object(E.u)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,e,t)}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}},{key:"disabled",get:function(){return this.panel.disabled}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb($,1),l.Yb(l.n),l.Yb(w.h),l.Yb(l.i),l.Yb(V,8))},e.\u0275cmp=l.Sb({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(e,t){1&e&&(l.Pb("@expansionHeight.start",(function(){return t._animationStarted()})),l.mc("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(l.Lb("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),l.Zc("@.disabled",t._animationsDisabled)("@expansionHeight",l.Cc(16,B,t._getExpandedState(),l.Cc(13,R,t.collapsedHeight,t.expandedHeight))),l.Ob("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:N,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(l.wc(I),l.ec(0,"span",0),l.vc(1),l.vc(2,1),l.vc(3,2),l.dc(),l.Sc(4,j,1,1,"span",1)),2&e&&(l.Kb(4),l.xc("ngIf",t._showToggle()))},directives:[_.k],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[z.indicatorRotate,z.expansionHeaderHeight]},changeDetection:0}),e}(),G=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=l.Tb({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e}(),q=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=l.Tb({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),K=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(u.a)(this,n),(e=t.apply(this,arguments))._ownHeaders=new l.H,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return Object(r.a)(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Object(A.a)(this._headers)).subscribe((function(t){e._ownHeaders.reset(t.filter((function(t){return t.panel.accordion===e}))),e._ownHeaders.notifyOnChanges()})),this._keyManager=new w.g(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;t===E.i?Object(E.u)(e)||(n.setFirstItemActive(),e.preventDefault()):t===E.f?Object(E.u)(e)||(n.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=Object(c.c)(e)}}]),n}(m);return e.\u0275fac=function(t){return X(t||e)},e.\u0275dir=l.Tb({type:e,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var r;1&e&&l.Qb(n,W,!0),2&e&&l.Fc(r=l.nc())&&(t._headers=r)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&l.Ob("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[l.Jb([{provide:H,useExisting:e}]),l.Hb]}),e}(),X=l.gc(K),Z=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)},imports:[[_.b,y,b.h]]}),e}()},"7Hc7":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("1OyB"),i=n("vuIU"),o=n("ReuC"),a=n("foSv"),s=n("Ji7U"),u=n("LK+K"),l=1,c=function(){return Promise.resolve()}(),d={};function f(e){return e in d&&(delete d[e],!0)}var h=function(e){var t=l++;return d[t]=!0,c.then((function(){return f(t)&&e()})),t},p=function(e){f(e)},m=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this,e,i)).scheduler=e,o.work=i,o}return Object(i.a)(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?Object(o.a)(Object(a.a)(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=h(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return Object(o.a)(Object(a.a)(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(p(t),e.scheduled=void 0)}}]),n}(n("3N8a").a),v=new(function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(i.a)(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(n("IjjT").a))(m)},"7K2f":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r,i=n("KQm4"),o=n("vuIU"),a=n("1OyB"),s=n("fXoL"),u=n("BBPO"),l=n("iB+3"),c=n("0loS"),d=n("ul0m"),f=n("M5sl"),h=(u.d||u.e)();if(!h)throw new Error("AngularJS not found on window.  https://github.com/ui-router/angular-hybrid/wiki/AngularJS-not-found-on-window");var p=h.module("ui.router.upgrade",["ui.router"]);function m(){return{}}var v=function(){var e=function e(t,n,r){Object(a.a)(this,e);var i=h.element(t.nativeElement).parent().parent();Object.defineProperty(n,"context",{get:function(){var e=i.inheritedData("$uiView");return e&&e.$cfg?e.$cfg.viewDecl.$context:r.root()},enumerable:!0}),Object.defineProperty(n,"fqn",{get:function(){var e=i.inheritedData("$uiView");return e&&e.$uiView?e.$uiView.fqn:null},enumerable:!0})};return e.\u0275fac=function(t){return new(t||e)(s.Yb(s.n),s.Yb(c.UIView.PARENT_INJECT),s.Yb(l.StateRegistry))},e.\u0275cmp=s.Sb({type:e,selectors:[["ui-view-ng-upgrade"]],inputs:{name:"name"},features:[s.Jb([],[{provide:c.UIView.PARENT_INJECT,useFactory:m}])],decls:1,vars:1,consts:[[3,"name"]],template:function(e,t){1&e&&s.Zb(0,"ui-view",0),2&e&&s.xc("name",t.name)},directives:[c.UIView],encapsulation:2}),e}();function g(e,t){return t.get(c.UIROUTER_MODULE_TOKEN,[]).forEach((function(n){return Object(c.applyModuleConfig)(e,t,n)})),e}function y(e){return e.get("$uiRouter")}function b(e){return{fqn:null,context:e.root()}}var _={},w=function(){var e=r=function(){function e(){Object(a.a)(this,e)}return Object(o.a)(e,null,[{key:"forRoot",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:r,providers:Object(c.makeChildProviders)(e)}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:c.UIRouterModule,providers:Object(c.makeChildProviders)(e)}}}]),e}();return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},providers:[{provide:"$uiRouter",useFactory:y,deps:["$injector"]},{provide:l.UIRouter,useFactory:g,deps:["$uiRouter",s.t]},{provide:c.UIROUTER_ROOT_MODULE,useValue:_,multi:!0},{provide:c.UIView.PARENT_INJECT,useFactory:b,deps:[l.StateRegistry]}].concat(Object(i.a)(c._UIROUTER_SERVICE_PROVIDERS)),imports:[[c.UIRouterModule,u.a],c.UIRouterModule]}),e}();p.directive("uiViewNgUpgrade",Object(u.b)({component:v,inputs:["name"]})),p.run(["$injector",function(e){var t=e.get("$uiRouter");t.plugin(f.a);var n=l.Resolvable.fromData(c.NATIVE_INJECTOR_TOKEN,{get:function(t,n){var r=e.get("$$angularInjector");return e.has(t)?e.get(t):r.get(t,n)}});t.stateRegistry.root().resolvables.push(n)}]),p.config(["$stateRegistryProvider",function(e){e.decorator("lazyLoad",c.ng2LazyLoadBuilder)}]),p.config(["$stateRegistryProvider",function(e){e.decorator("views",(function(e,t){var n=t(e);return Object(l.forEach)(n,(function(e,t){"ng1-to-ng2"!==e.$type&&"function"!=typeof e.component||(e.$type="ng1-to-ng2",e.templateProvider=null,e.template="<ui-view-ng-upgrade name='".concat(e.$uiViewName,"'></ui-view-ng-upgrade>"))})),n}))}]),p.run(["$view","$templateFactory",function(e,t){e._pluginapi._viewConfigFactory("ng2",(function(e,t){return new c.Ng2ViewConfig(e,t)})),e._pluginapi._viewConfigFactory("ng1-to-ng2",(function(e,n){var r=new d.Ng1ViewConfig(e,Object.assign({},n,{$type:"ng1"}),t);return[new c.Ng2ViewConfig(e,Object.assign({},n,{$type:"ng2"})),r]}))}])},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("1OyB"),i=n("vuIU"),o=n("JX7q"),a=n("ReuC"),s=n("foSv"),u=n("Ji7U"),l=n("LK+K"),c=n("n6bG"),d=n("gRHU"),f=n("quSY"),h=n("2QA8"),p=n("2fFW"),m=n("NJ4a"),v=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,i,a){var s;switch(Object(r.a)(this,n),(s=t.call(this)).syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=d.a;break;case 1:if(!e){s.destination=d.a;break}if("object"==typeof e){e instanceof n?(s.syncErrorThrowable=e.syncErrorThrowable,s.destination=e,e.add(Object(o.a)(s))):(s.syncErrorThrowable=!0,s.destination=new g(Object(o.a)(s),e));break}default:s.syncErrorThrowable=!0,s.destination=new g(Object(o.a)(s),e,i,a)}return s}return Object(i.a)(n,[{key:h.a,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,Object(a.a)(Object(s.a)(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var i=new n(e,t,r);return i.syncErrorThrowable=!1,i}}]),n}(f.a),g=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,i,a,s){var u,l;Object(r.a)(this,n),(u=t.call(this))._parentSubscriber=e;var f=Object(o.a)(u);return Object(c.a)(i)?l=i:i&&(l=i.next,a=i.error,s=i.complete,i!==d.a&&(f=Object.create(i),Object(c.a)(f.unsubscribe)&&u.add(f.unsubscribe.bind(f)),f.unsubscribe=u.unsubscribe.bind(Object(o.a)(u)))),u._context=f,u._next=l,u._error=a,u._complete=s,u}return Object(i.a)(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;p.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=p.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(m.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(m.a)(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};p.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),p.a.useDeprecatedSynchronousErrorHandling)throw n;Object(m.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!p.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return p.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(m.a)(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(v)},"8LU1":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return o}));var r=n("fXoL");function i(e){return null!=e&&"false"!=="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return a(e)?Number(e):t}function a(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function s(e){return Array.isArray(e)?e:[e]}function u(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function l(e){return e instanceof r.n?e.nativeElement:e}},"8yBR":function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return A}));var r=n("vuIU"),i=(n("ReuC"),n("foSv"),n("1OyB")),o=n("Ji7U"),a=n("LK+K"),s=n("FvrZ"),u=n("FKr1"),l=(n("8LU1"),n("0EQZ")),c=n("2Vo4"),d=n("VRyK"),f=n("IzEk"),h=n("lJxs"),p=n("fXoL"),m=Object(u.D)(Object(u.A)(s.e)),v=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,o){var a;return Object(i.a)(this,n),(a=t.call(this,e,r))._elementRef=e,a._tree=r,a.role="treeitem",a.tabIndex=Number(o)||0,a}return n}(m);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(s.c),p.jc("tabindex"))},e.\u0275dir=p.Tb({type:e,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:3,hostBindings:function(e,t){2&e&&p.Lb("aria-expanded",t.isExpanded)("aria-level","treeitem"===t.role?t.level:null)("role",t.role)},inputs:{disabled:"disabled",tabIndex:"tabIndex",role:"role"},exportAs:["matTreeNode"],features:[p.Jb([{provide:s.e,useExisting:e}]),p.Hb]}),e}(),g=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return n}(s.f);return e.\u0275fac=function(t){return y(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[p.Jb([{provide:s.f,useExisting:e}]),p.Hb]}),e}(),y=p.gc(g),b=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return n}(s.h);return e.\u0275fac=function(t){return _(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[p.Jb([{provide:s.h,useExisting:e}]),p.Hb]}),e}(),_=p.gc(b),w=function(){var e=function e(t,n){Object(i.a)(this,e),this.viewContainer=t,this._node=n};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.V),p.Yb(s.a,8))},e.\u0275dir=p.Tb({type:e,selectors:[["","matTreeNodeOutlet",""]],features:[p.Jb([{provide:s.g,useExisting:e}])]}),e}(),E=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return n}(s.c);return e.\u0275fac=function(t){return C(t||e)},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-tree"]],viewQuery:function(e,t){var n;1&e&&p.Qc(w,!0),2&e&&p.Fc(n=p.nc())&&(t._nodeOutlet=n.first)},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[p.Jb([{provide:s.c,useExisting:e}]),p.Hb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(e,t){1&e&&p.ac(0,0)},directives:[w],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;min-height:48px;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),e}(),C=p.gc(E),A=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){var e;return Object(i.a)(this,n),(e=t.apply(this,arguments)).recursive=!1,e}return n}(s.i);return e.\u0275fac=function(t){return k(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[p.Jb([{provide:s.i,useExisting:e}]),p.Hb]}),e}(),k=p.gc(A),S=function(){var e=function e(){Object(i.a)(this,e)};return e.\u0275mod=p.Wb({type:e}),e.\u0275inj=p.Vb({factory:function(t){return new(t||e)},imports:[[s.d,u.j],u.j]}),e}(),x=function(){function e(t,n,r,o){Object(i.a)(this,e),this.transformFunction=t,this.getLevel=n,this.isExpandable=r,this.getChildren=o}return Object(r.a)(e,[{key:"_flattenNode",value:function(e,t,n,r){var i=this,o=this.transformFunction(e,t);if(n.push(o),this.isExpandable(o)){var a=this.getChildren(e);a&&(Array.isArray(a)?this._flattenChildren(a,t,n,r):a.pipe(Object(f.a)(1)).subscribe((function(e){i._flattenChildren(e,t,n,r)})))}return n}},{key:"_flattenChildren",value:function(e,t,n,r){var i=this;e.forEach((function(o,a){var s=r.slice();s.push(a!=e.length-1),i._flattenNode(o,t+1,n,s)}))}},{key:"flattenNodes",value:function(e){var t=this,n=[];return e.forEach((function(e){return t._flattenNode(e,0,n,[])})),n}},{key:"expandFlattenedNodes",value:function(e,t){var n=this,r=[],i=[];return i[0]=!0,e.forEach((function(e){for(var o=!0,a=0;a<=n.getLevel(e);a++)o=o&&i[a];o&&r.push(e),n.isExpandable(e)&&(i[n.getLevel(e)+1]=t.isExpanded(e))})),r}}]),e}(),D=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return Object(i.a)(this,n),(o=t.call(this))._treeControl=e,o._treeFlattener=r,o._flattenedData=new c.a([]),o._expandedData=new c.a([]),o._data=new c.a(a),o}return Object(r.a)(n,[{key:"connect",value:function(e){var t=this;return d.a.apply(void 0,[e.viewChange,this._treeControl.expansionModel.changed,this._flattenedData]).pipe(Object(h.a)((function(){return t._expandedData.next(t._treeFlattener.expandFlattenedNodes(t._flattenedData.value,t._treeControl)),t._expandedData.value})))}},{key:"disconnect",value:function(){}},{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}}]),n}(l.b)},"9BOg":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("iB+3"),i=function(){function e(t,n){this.stateRegistry=t,this.stateService=n,Object(r.createProxyFunctions)(Object(r.val)(e.prototype),this,Object(r.val)(this))}return e.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},e.prototype.state=function(e,t){return Object(r.isObject)(e)?t=e:t.name=e,this.stateRegistry.register(t),this},e.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},e}()},"9YtQ":function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return _}));var r=n("1OyB"),i=n("vuIU"),o=n("fXoL"),a=n("ofXK"),s={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},u={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},l={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},c={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},d=Object.assign(Object.assign(Object.assign({},u),l),{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),f={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},h={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},p=function(e,t){return e[t]=f[t],e},m=Object.keys(f).reduce(p,{}),v=function(e,t){return e[s[t]]=h[t],e},g=Object.keys(h).reduce(v,{}),y=Object.freeze({__proto__:null,BROWSERS:s,MOBILES_RE:u,TABLETS_RE:l,DEVICES:c,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:d,OS_VERSIONS_RE_MAP:f,BROWSER_VERSIONS_RE_MAP:h,OS_VERSIONS_RE:m,BROWSER_VERSIONS_RE:g,"\u02750":p,"\u02751":v}),b=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,[{key:"test",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.test(e):t&&Array.isArray(t.and)?t.and.every((function(t){return n.test(e,t)})):t&&Array.isArray(t.or)?t.or.some((function(t){return n.test(e,t)})):!(!t||!t.not||this.test(e,t.not))}},{key:"exec",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.exec(e):t&&Array.isArray(t)?t.reduce((function(t,r){return t||n.exec(e,r)}),null):null}}]),e}(),_=function(){var e=function(){function e(t){Object(r.a)(this,e),this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new b,Object(a.r)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}return Object(i.a)(e,[{key:"setDeviceInfo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;t!==this.userAgent&&(this.userAgent=t);var n=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(n.forEach((function(n){e[n.prop]=Object.keys(y[n.const]).reduce((function(r,i){return"device"===y[n.const][i]&&Object(a.r)(e.platformId)&&(e.reTree.test(e.userAgent,l.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(r[y[n.const][i]]="iPad",Object):(r[y[n.const][i]]=e.reTree.test(t,y["".concat(n.const,"_RE")][i]),r)}),{})})),n.forEach((function(t){e[t.prop]=Object.keys(y[t.const]).map((function(e){return y[t.const][e]})).reduce((function(n,r){return"device"===t.prop&&n===y[t.const].ANDROID?e[t.prop][r]?r:n:n===y[t.const].UNKNOWN&&e[t.prop][r]?r:n}),y[t.const].UNKNOWN)})),this.browser_version="0",this.browser!==s.UNKNOWN){var r=g[this.browser],i=this.reTree.exec(t,r);i&&(this.browser_version=i[1])}}},{key:"getDeviceInfo",value:function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}}},{key:"isMobile",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if(this.isTablet(t))return!1;var n=Object.keys(u).find((function(n){return e.reTree.test(t,u[n])}));return!!n}},{key:"isTablet",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;if(Object(a.r)(this.platformId)&&(this.reTree.test(this.userAgent,l.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))return!0;var n=Object.keys(l).find((function(n){return!!e.reTree.test(t,l[n])}));return!!n}},{key:"isDesktop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent,t=[c.PS4,c.CHROME_BOOK,c.UNKNOWN];return(this.device!==c.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&t.indexOf(this.device)>-1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.ic(o.F))},e.\u0275prov=Object(o.Ub)({factory:function(){return new e(Object(o.ic)(o.F))},token:e,providedIn:"root"}),e}(),w=function(){var e=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[_]}}}]),e}();return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)},imports:[[a.b]]}),e}()},"9ecK":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(e){return e[e.CREATE=0]="CREATE",e[e.BEFORE=1]="BEFORE",e[e.RUN=2]="RUN",e[e.SUCCESS=3]="SUCCESS",e[e.ERROR=4]="ERROR",e}({}),i=function(e){return e[e.TRANSITION=0]="TRANSITION",e[e.STATE=1]="STATE",e}({})},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},A5z7:function(e,t,n){"use strict";n.d(t,"a",(function(){return F})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return I})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return Y}));var r=n("KQm4"),i=n("vuIU"),o=n("JX7q"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("FtGj"),c=n("fXoL"),d=n("FKr1"),f=n("ofXK"),h=n("8LU1"),p=n("XNiG"),m=n("VRyK"),v=n("IzEk"),g=n("1G5W"),y=n("JX91"),b=n("R1ws"),_=n("u47x"),w=n("0EQZ"),E=n("kmnG"),C=n("nLfN"),A=n("cH1L"),k=n("3Pt+"),S=["*"],x=function e(t){Object(u.a)(this,e),this._elementRef=t},D=Object(d.D)(Object(d.y)(Object(d.z)(x),"primary"),-1),O=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"]}),e}(),T=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"]}),e}(),F=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,a,s,l,f,h){var m;return Object(u.a)(this,n),(m=t.call(this,e))._elementRef=e,m._ngZone=r,m._changeDetectorRef=l,m._hasFocus=!1,m.chipListSelectable=!0,m._chipListMultiple=!1,m._chipListDisabled=!1,m._selected=!1,m._selectable=!0,m._disabled=!1,m._removable=!0,m._onFocus=new p.a,m._onBlur=new p.a,m.selectionChange=new c.q,m.destroyed=new c.q,m.removed=new c.q,m._addHostClassName(),m._chipRippleTarget=(h||document).createElement("div"),m._chipRippleTarget.classList.add("mat-chip-ripple"),m._elementRef.nativeElement.appendChild(m._chipRippleTarget),m._chipRipple=new d.v(Object(o.a)(m),r,m._chipRippleTarget,i),m._chipRipple.setupTriggerEvents(e),m.rippleConfig=a||{},m._animationsDisabled="NoopAnimations"===s,m.tabIndex=null!=f&&parseInt(f)||-1,m}return Object(i.a)(n,[{key:"_addHostClassName",value:function(){var e=this._elementRef.nativeElement;e.hasAttribute("mat-basic-chip")||"mat-basic-chip"===e.tagName.toLowerCase()?e.classList.add("mat-basic-chip"):e.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())}},{key:"toggleSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(e),this._markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(e){this.disabled?e.preventDefault():e.stopPropagation()}},{key:"_handleKeydown",value:function(e){if(!this.disabled)switch(e.keyCode){case l.d:case l.b:this.remove(),e.preventDefault();break;case l.p:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}},{key:"_blur",value:function(){var e=this;this._ngZone.onStable.asObservable().pipe(Object(v.a)(1)).subscribe((function(){e._ngZone.run((function(){e._hasFocus=!1,e._onBlur.next({chip:e})}))}))}},{key:"_dispatchSelectionChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}},{key:"_markForCheck",value:function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var t=Object(h.c)(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=Object(h.c)(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=Object(h.c)(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=Object(h.c)(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}}]),n}(D);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(c.C),c.Yb(C.a),c.Yb(d.i,8),c.Yb(b.a,8),c.Yb(c.i),c.jc("tabindex"),c.Yb(f.c,8))},e.\u0275dir=c.Tb({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,n){var r;1&e&&(c.Qb(n,O,!0),c.Qb(n,T,!0),c.Qb(n,M,!0)),2&e&&(c.Fc(r=c.nc())&&(t.avatar=r.first),c.Fc(r=c.nc())&&(t.trailingIcon=r.first),c.Fc(r=c.nc())&&(t.removeIcon=r.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&c.mc("click",(function(e){return t._handleClick(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t.focus()}))("blur",(function(){return t._blur()})),2&e&&(c.Lb("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),c.Ob("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[c.Hb]}),e}(),M=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._parentChip=t,n&&"BUTTON"===n.nativeElement.nodeName&&n.nativeElement.setAttribute("type","button")}return Object(i.a)(e,[{key:"_handleClick",value:function(e){var t=this._parentChip;t.removable&&!t.disabled&&t.remove(),e.stopPropagation()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(F),c.Yb(c.n))},e.\u0275dir=c.Tb({type:e,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(e,t){1&e&&c.mc("click",(function(e){return t._handleClick(e)}))}}),e}(),P=new c.s("mat-chips-default-options"),L=function e(t,n,r,i){Object(u.a)(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i},R=Object(d.B)(L),B=0,j=function e(t,n){Object(u.a)(this,e),this.source=t,this.value=n},I=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,a,s,l,d){var f;return Object(u.a)(this,n),(f=t.call(this,l,a,s,d))._elementRef=e,f._changeDetectorRef=r,f._dir=i,f.ngControl=d,f.controlType="mat-chip-list",f._lastDestroyedChipIndex=null,f._destroyed=new p.a,f._uid="mat-chip-list-".concat(B++),f._tabIndex=0,f._userTabIndex=null,f._onTouched=function(){},f._onChange=function(){},f._multiple=!1,f._compareWith=function(e,t){return e===t},f._required=!1,f._disabled=!1,f.ariaOrientation="horizontal",f._selectable=!0,f.change=new c.q,f.valueChange=new c.q,f.ngControl&&(f.ngControl.valueAccessor=Object(o.a)(f)),f}return Object(i.a)(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new _.g(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(g.a)(this._destroyed)).subscribe((function(t){return e._keyManager.withHorizontalOrientation(t)})),this._keyManager.tabOut.pipe(Object(g.a)(this._destroyed)).subscribe((function(){e._allowFocusEscape()})),this.chips.changes.pipe(Object(y.a)(null),Object(g.a)(this._destroyed)).subscribe((function(){e.disabled&&Promise.resolve().then((function(){e._syncChipsState()})),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()}))}},{key:"ngOnInit",value:function(){this._selectionModel=new w.c(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(e){this._chipInput=e}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"writeValue",value:function(e){this.chips&&this._setSelectionByValue(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.stateChanges.next()}},{key:"onContainerClick",value:function(e){this._originatesFromChip(e)||this.focus()}},{key:"focus",value:function(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}},{key:"_focusInput",value:function(e){this._chipInput&&this._chipInput.focus(e)}},{key:"_keydown",value:function(e){var t=e.target;e.keyCode===l.b&&this._isInputEmpty(t)?(this._keyManager.setLastItemActive(),e.preventDefault()):t&&t.classList.contains("mat-chip")&&(e.keyCode===l.i?(this._keyManager.setFirstItemActive(),e.preventDefault()):e.keyCode===l.f?(this._keyManager.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(e){return e>=0&&e<this.chips.length}},{key:"_isInputEmpty",value:function(e){return!(!e||"input"!==e.nodeName.toLowerCase()||e.value)}},{key:"_setSelectionByValue",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach((function(e){return e.deselect()})),Array.isArray(e))e.forEach((function(e){return t._selectValue(e,n)})),this._sortValues();else{var r=this._selectValue(e,n);r&&n&&this._keyManager.setActiveItem(r)}}},{key:"_selectValue",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.chips.find((function(n){return null!=n.value&&t._compareWith(n.value,e)}));return r&&(n?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())}))}},{key:"_clearSelection",value:function(e){this._selectionModel.clear(),this.chips.forEach((function(t){t!==e&&t.deselect()})),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach((function(t){t.selected&&e._selectionModel.select(t)})),this.stateChanges.next())}},{key:"_propagateChanges",value:function(e){var t;t=Array.isArray(this.selected)?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.change.emit(new j(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout((function(){e.focused||e._markAsTouched()})):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout((function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()})))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe((function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach((function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()})),t.isUserInput&&e._propagateChanges()}))}},{key:"_listenToChipsFocus",value:function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe((function(t){var n=e.chips.toArray().indexOf(t.chip);e._isValidIndex(n)&&e._keyManager.updateActiveItem(n),e.stateChanges.next()})),this._chipBlurSubscription=this.chipBlurChanges.subscribe((function(){e._blur(),e.stateChanges.next()}))}},{key:"_listenToChipsRemoved",value:function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe((function(t){var n=t.chip,r=e.chips.toArray().indexOf(t.chip);e._isValidIndex(r)&&n._hasFocus&&(e._lastDestroyedChipIndex=r)}))}},{key:"_originatesFromChip",value:function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips.some((function(e){return e._hasFocus}))}},{key:"_syncChipsState",value:function(){var e=this;this.chips&&this.chips.forEach((function(t){t._chipListDisabled=e._disabled,t._chipListMultiple=e.multiple}))}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=Object(h.c)(e),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(h.c)(e),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Object(h.c)(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){var t=this;this._selectable=Object(h.c)(e),this.chips&&this.chips.forEach((function(e){return e.chipListSelectable=t._selectable}))}},{key:"tabIndex",set:function(e){this._userTabIndex=e,this._tabIndex=e}},{key:"chipSelectionChanges",get:function(){return m.a.apply(void 0,Object(r.a)(this.chips.map((function(e){return e.selectionChange}))))}},{key:"chipFocusChanges",get:function(){return m.a.apply(void 0,Object(r.a)(this.chips.map((function(e){return e._onFocus}))))}},{key:"chipBlurChanges",get:function(){return m.a.apply(void 0,Object(r.a)(this.chips.map((function(e){return e._onBlur}))))}},{key:"chipRemoveChanges",get:function(){return m.a.apply(void 0,Object(r.a)(this.chips.map((function(e){return e.destroyed}))))}}]),n}(R);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(c.i),c.Yb(A.b,8),c.Yb(k.p,8),c.Yb(k.h,8),c.Yb(d.d),c.Yb(k.m,10))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,n){var r;1&e&&c.Qb(n,F,!0),2&e&&c.Fc(r=c.nc())&&(t.chips=r)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&c.mc("focus",(function(){return t.focus()}))("blur",(function(){return t._blur()}))("keydown",(function(e){return t._keydown(e)})),2&e&&(c.hc("id",t._uid),c.Lb("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),c.Ob("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[c.Jb([{provide:E.d,useExisting:e}]),c.Hb],ngContentSelectors:S,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(c.wc(),c.ec(0,"div",0),c.vc(1),c.dc())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(),N=0,H=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new c.q,this.placeholder="",this.id="mat-chip-list-input-".concat(N++),this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return Object(i.a)(e,[{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"_keydown",value:function(e){e&&e.keyCode===l.q&&!Object(l.u)(e,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(e)}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(e){!this._inputElement.value&&e&&this._chipList._keydown(e),e&&!this._isSeparatorKey(e)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),e&&e.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(e){this._inputElement.focus(e)}},{key:"_isSeparatorKey",value:function(e){if(Object(l.u)(e))return!1;var t=this.separatorKeyCodes,n=e.keyCode;return Array.isArray(t)?t.indexOf(n)>-1:t.has(n)}},{key:"chipList",set:function(e){e&&(this._chipList=e,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(e){this._addOnBlur=Object(h.c)(e)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=Object(h.c)(e)}},{key:"empty",get:function(){return!this._inputElement.value}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(P))},e.\u0275dir=c.Tb({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&c.mc("keydown",(function(e){return t._keydown(e)}))("blur",(function(){return t._blur()}))("focus",(function(){return t._focus()}))("input",(function(){return t._onInput()})),2&e&&(c.hc("id",t.id),c.Lb("disabled",t.disabled||null)("placeholder",t.placeholder||null)("aria-invalid",t._chipList&&t._chipList.ngControl?t._chipList.ngControl.invalid:null)("aria-required",t._chipList&&t._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[c.Ib]}),e}(),z={separatorKeyCodes:[l.g]},Y=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[d.d,{provide:P,useValue:z}]}),e}()},AcyG:function(e,t,n){"use strict";n.d(t,"a",(function(){return Xe})),n.d(t,"b",(function(){return ke})),n.d(t,"c",(function(){return Ue})),n.d(t,"d",(function(){return J})),n.d(t,"e",(function(){return Ke})),n.d(t,"f",(function(){return tt})),n.d(t,"g",(function(){return rt})),n.d(t,"h",(function(){return Ze})),n.d(t,"i",(function(){return ze})),n.d(t,"j",(function(){return Ve})),n.d(t,"k",(function(){return oe})),n.d(t,"l",(function(){return nt})),n.d(t,"m",(function(){return se})),n.d(t,"n",(function(){return he})),n.d(t,"o",(function(){return pe})),n.d(t,"p",(function(){return ae}));var r=n("uFwe"),i=n("KQm4"),o=n("ReuC"),a=n("foSv"),s=n("Ji7U"),u=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("rePB"),f=n("fXoL"),h=n("jtHE");function p(e,t){return e===t}function m(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,n=null,r=null;function i(){return m(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}return i.reset=function(){n=null,r=null},i}var g,y=v((function(){var e=Object(f.bb)();if(!e)return!1;var t=e.injector.get(f.h,null);return!!t&&t.some((function(e){return(e&&e.providers||[]).some((function(e){return e&&e.provide&&"MockNgModuleResolver"===e.provide.name||!1}))}))})),b=function(){var e=function(){function e(){Object(l.a)(this,e),this.bootstrap$=new h.a(1)}return Object(c.a)(e,[{key:"bootstrap",value:function(){this.bootstrap$.next(!0),this.bootstrap$.complete()}},{key:"appBootstrapped$",get:function(){return this.bootstrap$.asObservable()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),_=new f.s("INITIAL_STATE_TOKEN"),w=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(c.a)(e,null,[{key:"set",value:function(e){this.value=e}},{key:"pop",value:function(){var e=this.value;return this.value={},e}}]),e}();return e.value={},e}(),E=new f.s("Internals.StateContextFactory"),C=new f.s("Internals.StateFactory"),A=n("ofXK"),k=n("HDdC"),S=n("XNiG"),x=n("2Vo4"),D=n("LRne"),O=n("cp0P"),T=n("z6cu"),F=n("EY2u"),M=n("Cfvw"),P=n("pLZG"),L=n("lJxs"),R=n("UXun"),B=n("IzEk"),j=n("l7GE"),I=n("51Dv"),N=n("ZUHj"),H=function(){function e(t){Object(l.a)(this,e),this.project=t}return Object(c.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new z(e,this.project))}}]),e}(),z=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,r){var i;return Object(l.a)(this,n),(i=t.call(this,e)).project=r,i.hasSubscription=!1,i.hasCompleted=!1,i.index=0,i}return Object(c.a)(n,[{key:"_next",value:function(e){this.hasSubscription||this.tryNext(e)}},{key:"tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.hasSubscription=!0,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new I.a(this,t,n),i=this.destination;i.add(r);var o=Object(N.a)(this,e,void 0,void 0,r);o!==r&&i.add(o)}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}]),n}(j.a),Y=n("5+tZ"),U=n("xbPD"),V=n("JIr8"),$=n("1G5W"),W=n("vkgz"),G=n("/uUt"),q=(g={},Object(d.a)(g,"STATE_NAME",(function(e){return"".concat(e," is not a valid state name. It needs to be a valid object property name.")})),Object(d.a)(g,"STATE_NAME_PROPERTY",(function(){return"States must register a 'name' property"})),Object(d.a)(g,"STATE_UNIQUE",(function(e,t,n){return"State name '".concat(e,"' from ").concat(t," already exists in ").concat(n)})),Object(d.a)(g,"STATE_DECORATOR",(function(){return"States must be decorated with @State() decorator"})),Object(d.a)(g,"INCORRECT_PRODUCTION",(function(){return"Angular is running in production mode but NGXS is still running in the development mode!\nPlease set developmentMode to false on the NgxsModule options when in production mode.\nNgxsModule.forRoot(states, { developmentMode: !environment.production })"})),Object(d.a)(g,"INCORRECT_DEVELOPMENT",(function(){return"RECOMMENDATION: Set developmentMode to true on the NgxsModule when Angular is running in development mode.\nNgxsModule.forRoot(states, { developmentMode: !environment.production })"})),Object(d.a)(g,"SELECT_FACTORY_NOT_CONNECTED",(function(){return"You have forgotten to import the NGXS module!"})),Object(d.a)(g,"ACTION_DECORATOR",(function(){return"@Action() decorator cannot be used with static methods"})),Object(d.a)(g,"SELECTOR_DECORATOR",(function(){return"Selectors only work on methods"})),Object(d.a)(g,"ZONE_WARNING",(function(){return"Your application was bootstrapped with nooped zone and your execution strategy requires an actual NgZone!\nPlease set the value of the executionStrategy property to NoopNgxsExecutionStrategy.\nNgxsModule.forRoot(states, { executionStrategy: NoopNgxsExecutionStrategy })"})),Object(d.a)(g,"PATCHING_ARRAY",(function(){return"Patching arrays is not supported."})),Object(d.a)(g,"PATCHING_PRIMITIVE",(function(){return"Patching primitives is not supported."})),Object(d.a)(g,"UNDECORATED_STATE_IN_IVY",(function(e){return"'".concat(e,"' class should be decorated with @Injectable() right after the @State() decorator")})),g),K=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._ngZone=t,this._platformId=n,this.verifyZoneIsNotNooped(this._ngZone)}return Object(c.a)(e,[{key:"enter",value:function(e){return Object(A.s)(this._platformId)?this.runInsideAngular(e):this.runOutsideAngular(e)}},{key:"leave",value:function(e){return this.runInsideAngular(e)}},{key:"runInsideAngular",value:function(e){return f.C.isInAngularZone()?e():this._ngZone.run(e)}},{key:"runOutsideAngular",value:function(e){return f.C.isInAngularZone()?this._ngZone.runOutsideAngular(e):e()}},{key:"verifyZoneIsNotNooped",value:function(e){e instanceof f.C||console.warn(q.ZONE_WARNING())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(f.C),f.ic(f.F))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),X=new f.s("ROOT_STATE_TOKEN"),Z=new f.s("FEATURE_STATE_TOKEN"),J=new f.s("NGXS_PLUGINS"),Q=new f.s("NG_TEST_MODE"),ee=new f.s("NG_DEV_MODE"),te="NGXS_META",ne=function(){var e=function e(){Object(l.a)(this,e),this.defaultsState={},this.selectorOptions={injectContainerState:!0,suppressErrors:!0},this.compatibility={strictContentSecurityPolicy:!1},this.executionStrategy=K};return e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),re=function e(t,n,r){Object(l.a)(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r},ie=new f.s("NGXS_EXECUTION_STRATEGY");function oe(e){return e.constructor&&e.constructor.type?e.constructor.type:e.type}var ae=function(e,t,n){e=Object.assign({},e);var r=t.split("."),i=r.length-1;return r.reduce((function(e,t,r){return e[t]=r===i?n:Array.isArray(e[t])?e[t].slice():Object.assign({},e[t]),e&&e[t]}),e),e},se=function(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]}),e)};function ue(e){if(!e.hasOwnProperty(te)){var t={name:null,actions:{},defaults:{},path:null,makeRootSelector:function(e){return e.getStateGetter(t.name)},children:[]};Object.defineProperty(e,te,{value:t})}return le(e)}function le(e){return e[te]}function ce(e){return e.NGXS_SELECTOR_META}function de(e,t){return t&&t.compatibility&&t.compatibility.strictContentSecurityPolicy?function(e){var t=e.slice();return function(e){return t.reduce((function(e,t){return e&&e[t]}),e)}}(e):function(e){for(var t=e,n="store."+t[0],r=0,i=t.length,o=n;++r<i;)o=o+" && "+(n=n+"."+t[r]);return new Function("store","return "+o+";")}(e)}function fe(e,t){var n=se(t.currentAppState,e.path),r=se(t.newAppState,e.path);return new re(n,r,!e.isInitialised)}function he(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return me(t,["DISPATCHED"])}function pe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return me(t,["SUCCESSFUL"])}function me(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ge,r=ye(e),i=t&&be(t);return function(e){return e.pipe(ve(r,i),n())}}function ve(e,t){return Object(P.a)((function(n){var r=oe(n.action);return e[r]&&(!t||t[n.status])}))}function ge(){return Object(L.a)((function(e){return e.action}))}function ye(e){return e.reduce((function(e,t){return e[oe(t)]=!0,e}),{})}function be(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})}function _e(e){return function(t){return new k.a((function(n){return t.subscribe({next:function(t){e.leave((function(){return n.next(t)}))},error:function(t){e.leave((function(){return n.error(t)}))},complete:function(){e.leave((function(){return n.complete()}))}})}))}}var we=function(){var e=function(){function e(t){Object(l.a)(this,e),this._executionStrategy=t}return Object(c.a)(e,[{key:"enter",value:function(e){return this._executionStrategy.enter(e)}},{key:"leave",value:function(e){return this._executionStrategy.leave(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(ie))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Ee=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(l.a)(this,n),(e=t.apply(this,arguments))._itemQueue=[],e._busyPushingNext=!1,e}return Object(c.a)(n,[{key:"next",value:function(e){if(this._busyPushingNext)this._itemQueue.unshift(e);else{for(this._busyPushingNext=!0,Object(o.a)(Object(a.a)(n.prototype),"next",this).call(this,e);this._itemQueue.length>0;){var t=this._itemQueue.pop();Object(o.a)(Object(a.a)(n.prototype),"next",this).call(this,t)}this._busyPushingNext=!1}}}]),n}(S.a),Ce=function(){var e=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return n}(Ee);return e.\u0275fac=function(t){return Ae(t||e)},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Ae=f.gc(Ce),ke=function(){var e=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,r){return Object(l.a)(this,n),t.call(this,(function(t){var n=e.pipe(_e(r)).subscribe({next:function(e){return t.next(e)},error:function(e){return t.error(e)},complete:function(){return t.complete()}});t.add(n)}))}return n}(k.a);return e.\u0275fac=function(t){return new(t||e)(f.ic(Ce),f.ic(we))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Se=function(){var e=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){return Object(l.a)(this,n),t.call(this,{})}return n}(x.a);return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),xe=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._parentManager=t,this._pluginHandlers=n,this.plugins=[],this.registerHandlers()}return Object(c.a)(e,[{key:"registerHandlers",value:function(){var e,t=this.getPluginHandlers();(e=this.rootPlugins).push.apply(e,Object(i.a)(t))}},{key:"getPluginHandlers",value:function(){return(this._pluginHandlers||[]).map((function(e){return e.handle?e.handle.bind(e):e}))}},{key:"rootPlugins",get:function(){return this._parentManager&&this._parentManager.plugins||this.plugins}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(e,12),f.ic(J,8))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),De=function(){var e=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return n}(S.a);return e.\u0275fac=function(t){return Oe(t||e)},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Oe=f.gc(De),Te=function(){var e=function(){function e(t,n,r,i,o,a){Object(l.a)(this,e),this._errorHandler=t,this._actions=n,this._actionResults=r,this._pluginManager=i,this._stateStream=o,this._ngxsExecutionStrategy=a}return Object(c.a)(e,[{key:"dispatch",value:function(e){var t=this,n=this._ngxsExecutionStrategy.enter((function(){return t.dispatchByEvents(e)}));return n.subscribe({error:function(e){return t._ngxsExecutionStrategy.leave((function(){try{t._errorHandler.handleError(e)}catch(n){}}))}}),n.pipe(_e(this._ngxsExecutionStrategy))}},{key:"dispatchByEvents",value:function(e){var t=this;return Array.isArray(e)?0===e.length?Object(D.a)(this._stateStream.getValue()):Object(O.a)(e.map((function(e){return t.dispatchSingle(e)}))):this.dispatchSingle(e)}},{key:"dispatchSingle",value:function(e){var t=this;if(!oe(e)){var n=new Error("This action doesn't have a type property: ".concat(e.constructor.name));return Object(T.a)(n)}var r=this._stateStream.getValue(),o=this._pluginManager.plugins;return function e(t){return function(){for(var n=t.shift(),r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n.apply(void 0,i.concat([function(){return e(t).apply(void 0,arguments)}]))}}([].concat(Object(i.a)(o),[function(e,n){e!==r&&t._stateStream.next(e);var i=t.getActionResultStream(n);return i.subscribe((function(e){return t._actions.next(e)})),t._actions.next({action:n,status:"DISPATCHED"}),t.createDispatchObservable(i)}]))(r,e).pipe(Object(R.a)())}},{key:"getActionResultStream",value:function(e){return this._actionResults.pipe(Object(P.a)((function(t){return t.action===e&&"DISPATCHED"!==t.status})),Object(B.a)(1),Object(R.a)())}},{key:"createDispatchObservable",value:function(e){var t=this;return e.pipe(function e(t,n){return n?function(r){return r.pipe(e((function(e,r){return Object(M.a)(t(e,r)).pipe(Object(L.a)((function(t,i){return n(e,t,r,i)})))})))}:function(e){return e.lift(new H(t))}}((function(e){switch(e.status){case"SUCCESSFUL":return Object(D.a)(t._stateStream.getValue());case"ERRORED":return Object(T.a)(e.error);default:return F.a}}))).pipe(Object(R.a)())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(f.p),f.ic(Ce),f.ic(De),f.ic(xe),f.ic(Se),f.ic(we))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Fe=function(){var e=function e(t,n){Object(l.a)(this,e),this.isDevMode=t,this.isTestMode=n};return e.\u0275fac=function(t){return new(t||e)(f.ic(ee),f.ic(Q))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Me=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._host=t,this._config=n}return Object(c.a)(e,[{key:"verifyDevMode",value:function(){this._host.isTestMode()||(this.isIncorrectProduction?console.warn(q.INCORRECT_PRODUCTION()):this.isIncorrectDevelopment&&console.warn(q.INCORRECT_DEVELOPMENT()))}},{key:"isIncorrectProduction",get:function(){return!this._host.isDevMode()&&this._config.developmentMode}},{key:"isIncorrectDevelopment",get:function(){return this._host.isDevMode()&&!this._config.developmentMode}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(Fe),f.ic(ne))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Pe=function(){var e=function(){function e(t,n,r,i){Object(l.a)(this,e),this._stateStream=t,this._dispatcher=n,this._config=r,i.verifyDevMode()}return Object(c.a)(e,[{key:"getRootStateOperations",value:function(){var e=this,t={getState:function(){return e._stateStream.getValue()},setState:function(t){return e._stateStream.next(t)},dispatch:function(t){return e._dispatcher.dispatch(t)}};return this._config.developmentMode?this.ensureStateAndActionsAreImmutable(t):t}},{key:"ensureStateAndActionsAreImmutable",value:function(e){return{getState:function(){return e.getState()},setState:function(t){var n=function e(t){Object.freeze(t);var n="function"==typeof t,r=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(t).forEach((function(i){!r.call(t,i)||n&&("caller"===i||"callee"===i||"arguments"===i)||null===t[i]||"object"!=typeof t[i]&&"function"!=typeof t[i]||Object.isFrozen(t[i])||e(t[i])})),t}(t);return e.setState(n)},dispatch:function(t){return e.dispatch(t)}}}},{key:"setStateToTheCurrentWithNew",value:function(e){var t=this.getRootStateOperations(),n=t.getState();t.setState(Object.assign({},n,e.defaults))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(Se),f.ic(Te),f.ic(ne),f.ic(Me))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Le=function(){var e=function(){function e(t){Object(l.a)(this,e),this._internalStateOperations=t}return Object(c.a)(e,[{key:"createStateContext",value:function(e){var t=this._internalStateOperations.getRootStateOperations();function n(t){return se(t,e.path)}function r(n,r){var i=ae(n,e.path,r),o=e.instance;if(o.ngxsOnChanges){var a=fe(e,{currentAppState:n,newAppState:i});o.ngxsOnChanges(a)}return t.setState(i),i}function i(e,t){return r(e,t(n(e)))}return{getState:function(){return n(t.getState())},patchState:function(e){return i(t.getState(),function(e){return function(t){if(Array.isArray(e))throw new Error(q.PATCHING_ARRAY());if("object"!=typeof e)throw new Error(q.PATCHING_PRIMITIVE());var n=Object.assign({},t);for(var r in e)n[r]=e[r];return n}}(e))},setState:function(e){var n=t.getState();return"function"==typeof e?i(n,e):r(n,e)},dispatch:function(e){return t.dispatch(e)}}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(Pe))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Re=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(c.a)(e,null,[{key:"stateNameErrorMessage",value:function(e){return q.STATE_NAME(e)}},{key:"checkCorrectStateName",value:function(e){if(!e)throw new Error(q.STATE_NAME_PROPERTY());if(!this.stateNameRegex.test(e))throw new Error(this.stateNameErrorMessage(e))}},{key:"checkStateNameIsUnique",value:function(e,t){var n=this.getValidStateMeta(e).name,r=t[n];if(r&&r!==e)throw new Error(q.STATE_UNIQUE(n,e.name,r.name));return n}},{key:"getValidStateMeta",value:function(e){var t=le(e);if(!t)throw new Error(q.STATE_DECORATOR());return t}}]),e}();return e.stateNameRegex=new RegExp("^[a-zA-Z0-9_]+$"),e}(),Be=function(){var e=function(){function e(t,n,r,i,o,a,s){var u=this;Object(l.a)(this,e),this._injector=t,this._config=n,this._parentFactory=r,this._actions=i,this._actionResults=o,this._stateContextFactory=a,this._initialState=s,this._connected=!1,this._states=[],this._statesByName={},this._statePaths={},this.getRuntimeSelectorContext=v((function(){var e=u;return u._parentFactory?u._parentFactory.getRuntimeSelectorContext():{getStateGetter:function(t){var n=e.statePaths[t];return n?de(n.split("."),e._config):function(){}},getSelectorOptions:function(t){return Object.assign({},e._config.selectorOptions,t||{})}}}))}return Object(c.a)(e,[{key:"add",value:function(t){e.checkStatesAreValid(t);var n=this.addToStatesMap(t).newStates;if(!n.length)return[];var i,o,a,s,u=function(e){var t=function(t){var n=e.find((function(e){return e===t}));if(!n)throw new Error("Child state not found: ".concat(t,". \r\nYou may have forgotten to add states to module"));return n[te].name};return e.reduce((function(e,n){var r=n[te];return e[r.name]=(r.children||[]).map(t),e}),{})}(n),l=(o=u,a=[],s={},Object.keys(o).forEach((function(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Array.isArray(n)||(n=[]),n.push(t),s[t]=!0,o[t].forEach((function(r){if(n.indexOf(r)>=0)throw new Error("Circular dependency '".concat(r,"' is required by '").concat(t,"': ").concat(n.join(" -> ")));s[r]||e(r,n.slice(0))})),a.indexOf(t)<0&&a.push(t)}(e)})),a.reverse()),c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function e(t,n){for(var r in t)if(t.hasOwnProperty(r)&&t[r].indexOf(n)>=0){var i=e(t,r);return null!==i?"".concat(i,".").concat(r):r}return null};for(var r in e)if(e.hasOwnProperty(r)){var i=n(e,r);t[r]=i?"".concat(i,".").concat(r):r}return t}(u),d=n.reduce((function(e,t){return e[t[te].name]=t,e}),{}),f=[],h=Object(r.a)(l);try{for(h.s();!(i=h.n()).done;){var p=i.value,m=d[p],v=c[p],g=m[te];this.addRuntimeInfoToMeta(g,v);var y={name:p,path:v,isInitialised:!1,actions:g.actions,instance:this._injector.get(m),defaults:e.cloneDefaults(g.defaults)};this.hasBeenMountedAndBootstrapped(p,v)||f.push(y),this.states.push(y)}}catch(b){h.e(b)}finally{h.f()}return f}},{key:"addAndReturnDefaults",value:function(e){var t=this.add(e||[]);return{defaults:t.reduce((function(e,t){return ae(e,t.path,t.defaults)}),{}),states:t}}},{key:"connectActionHandlers",value:function(){var e=this;this._connected||(this._actions.pipe(Object(P.a)((function(e){return"DISPATCHED"===e.status})),Object(Y.a)((function(t){var n=t.action;return e.invokeActions(e._actions,n).pipe(Object(L.a)((function(){return{action:n,status:"SUCCESSFUL"}})),Object(U.a)({action:n,status:"CANCELED"}),Object(V.a)((function(e){return Object(D.a)({action:n,status:"ERRORED",error:e})})))}))).subscribe((function(t){return e._actionResults.next(t)})),this._connected=!0)}},{key:"invokeActions",value:function(e,t){var n,i=oe(t),o=[],a=Object(r.a)(this.states);try{for(a.s();!(n=a.n()).done;){var s=n.value,u=s.actions[i];if(u){var l,c=Object(r.a)(u);try{for(c.s();!(l=c.n()).done;){var d=l.value,f=this._stateContextFactory.createStateContext(s);try{var h=s.instance[d.fn](f,t);h instanceof Promise&&(h=Object(M.a)(h)),h instanceof k.a?(h=h.pipe(Object(U.a)({})),d.options.cancelUncompleted&&(h=h.pipe(Object($.a)(e.pipe(he(t)))))):h=Object(D.a)({}).pipe(Object(R.a)()),o.push(h)}catch(p){o.push(Object(T.a)(p))}}}catch(m){c.e(m)}finally{c.f()}}}}catch(m){a.e(m)}finally{a.f()}return o.length||o.push(Object(D.a)({})),Object(O.a)(o)}},{key:"addToStatesMap",value:function(e){var t,n=[],i=this.statesByName,o=Object(r.a)(e);try{for(o.s();!(t=o.n()).done;){var a=t.value,s=Re.checkStateNameIsUnique(a,i);!i[s]&&(n.push(a),i[s]=a)}}catch(u){o.e(u)}finally{o.f()}return{newStates:n}}},{key:"addRuntimeInfoToMeta",value:function(e,t){this.statePaths[e.name]=t,e.path=t}},{key:"hasBeenMountedAndBootstrapped",value:function(e,t){var n=void 0!==se(this._initialState,t);return this.statesByName[e]&&n}},{key:"states",get:function(){return this._parentFactory?this._parentFactory.states:this._states}},{key:"statesByName",get:function(){return this._parentFactory?this._parentFactory.statesByName:this._statesByName}},{key:"statePaths",get:function(){return this._parentFactory?this._parentFactory.statePaths:this._statePaths}}],[{key:"cloneDefaults",value:function(e){var t;return Array.isArray(e)?e.slice():"object"==typeof(t=e)&&null!==t||"function"==typeof t?Object.assign({},e):void 0===e?{}:e}},{key:"checkStatesAreValid",value:function(e){e.forEach(Re.getValidStateMeta)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(f.t),f.ic(ne),f.ic(e,12),f.ic(Ce),f.ic(De),f.ic(Le),f.ic(_,8))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),je=function(){var e=function(){function e(t,n,r){Object(l.a)(this,e),this.internalStateOperations=t,this.stateContextFactory=n,this.bootstrapper=r}return Object(c.a)(e,[{key:"ngxsBootstrap",value:function(e,t){var n=this;this.internalStateOperations.getRootStateOperations().dispatch(e).pipe(Object(P.a)((function(){return!!t})),Object(W.a)((function(){return n.invokeInit(t.states)})),Object(Y.a)((function(){return n.bootstrapper.appBootstrapped$})),Object(P.a)((function(e){return!!e}))).subscribe((function(){return n.invokeBootstrap(t.states)}))}},{key:"invokeInit",value:function(e){var t,n=Object(r.a)(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,o=i.instance;if(o.ngxsOnChanges){var a=fe(i,{currentAppState:{},newAppState:this.internalStateOperations.getRootStateOperations().getState()});o.ngxsOnChanges(a)}o.ngxsOnInit&&o.ngxsOnInit(this.getStateContext(i)),i.isInitialised=!0}}catch(s){n.e(s)}finally{n.f()}}},{key:"invokeBootstrap",value:function(e){var t,n=Object(r.a)(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,o=i.instance;o.ngxsAfterBootstrap&&o.ngxsAfterBootstrap(this.getStateContext(i))}}catch(a){n.e(a)}finally{n.f()}}},{key:"getStateContext",value:function(e){return this.stateContextFactory.createStateContext(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(Pe),f.ic(Le),f.ic(b))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Ie=function(e){return e&&e.NGXS_SELECTOR_OPTIONS_META||{}};function Ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[],o=0===e.length||t.injectContainerState;if(n&&o){var a=le(n);a&&r.push(n)}return e&&r.push.apply(r,Object(i.a)(e)),r}function He(e){var t=ce(e)||le(e);return t&&t.makeRootSelector||function(){return e}}var ze=function(){var e=function(){function e(t,n,r,i,o,a){Object(l.a)(this,e),this._stateStream=t,this._internalStateOperations=n,this._config=r,this._internalExecutionStrategy=i,this._stateFactory=o,this.initStateStream(a)}return Object(c.a)(e,[{key:"dispatch",value:function(e){return this._internalStateOperations.getRootStateOperations().dispatch(e)}},{key:"select",value:function(e){var t=this,n=this.getStoreBoundSelectorFn(e);return this._stateStream.pipe(Object(L.a)(n),Object(V.a)((function(e){return e instanceof TypeError&&t._config.selectorOptions.suppressErrors?Object(D.a)(void 0):Object(T.a)(e)})),Object(G.a)(),_e(this._internalExecutionStrategy))}},{key:"selectOnce",value:function(e){return this.select(e).pipe(Object(B.a)(1))}},{key:"selectSnapshot",value:function(e){return this.getStoreBoundSelectorFn(e)(this._stateStream.getValue())}},{key:"subscribe",value:function(e){return this._stateStream.pipe(_e(this._internalExecutionStrategy)).subscribe(e)}},{key:"snapshot",value:function(){return this._internalStateOperations.getRootStateOperations().getState()}},{key:"reset",value:function(e){return this._internalStateOperations.getRootStateOperations().setState(e)}},{key:"getStoreBoundSelectorFn",value:function(e){return He(e)(this._stateFactory.getRuntimeSelectorContext())}},{key:"initStateStream",value:function(e){var t=this._stateStream.value;if(!t||0===Object.keys(t).length){var n=Object.keys(this._config.defaultsState).length>0?Object.assign({},this._config.defaultsState,e):e;this._stateStream.next(n)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(Se),f.ic(Pe),f.ic(ne),f.ic(we),f.ic(Be),f.ic(_,8))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),Ye=function(){var e=function e(t,n){Object(l.a)(this,e),e.store=t,e.config=n};return e.\u0275fac=function(t){return new(t||e)(f.ic(ze),f.ic(ne))},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e.store=null,e.config=null,e}(),Ue=function(){function e(){Object(l.a)(this,e)}return Object(c.a)(e,null,[{key:"type",get:function(){return"@@INIT"}}]),e}(),Ve=function(){function e(t){Object(l.a)(this,e),this.addedStates=t}return Object(c.a)(e,null,[{key:"type",get:function(){return"@@UPDATE_STATE"}}]),e}(),$e=new h.a(1);function We(){try{var e=window.ng,t=!(e.probe&&e.coreTokens)&&Object(f.db)();$e.next(t)}catch(n){$e.next(!1)}finally{$e.complete()}}var Ge=function(){var e=function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0;Object(l.a)(this,e),We();var s=t.addAndReturnDefaults(o);n.setStateToTheCurrentWithNew(s),t.connectActionHandlers(),a.ngxsBootstrap(new Ue,s)};return e.\u0275mod=f.Wb({type:e}),e.\u0275inj=f.Vb({factory:function(t){return new(t||e)(f.ic(Be),f.ic(Pe),f.ic(ze),f.ic(Ye),f.ic(X,8),f.ic(je))}}),e}(),qe=function(){var e=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0;Object(l.a)(this,e);var a=e.flattenStates(i),s=r.addAndReturnDefaults(a);s.states.length&&(n.setStateToTheCurrentWithNew(s),o.ngxsBootstrap(new Ve(s.defaults),s))}return Object(c.a)(e,null,[{key:"flattenStates",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){return e.concat(t)}),[])}}]),e}();return e.\u0275mod=f.Wb({type:e}),e.\u0275inj=f.Vb({factory:function(t){return new(t||e)(f.ic(ze),f.ic(Pe),f.ic(Be),f.ic(Z,8),f.ic(je))}}),e}(),Ke=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(c.a)(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{ngModule:Ge,providers:[Be,Le,ke,Ce,b,Me,Fe,je,Te,De,Pe,we,ze,Se,Ye,xe].concat(Object(i.a)(t),Object(i.a)(e.ngxsTokenProviders(t,n)))}}},{key:"forFeature",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{ngModule:qe,providers:[Be,xe].concat(Object(i.a)(e),[{provide:Z,multi:!0,useValue:e}])}}},{key:"ngxsTokenProviders",value:function(t,n){return[{provide:Q,useValue:y},{provide:ee,useValue:f.db},{provide:ie,useClass:n.executionStrategy||K},{provide:X,useValue:t},{provide:e.ROOT_OPTIONS,useValue:n},{provide:ne,useFactory:e.ngxsConfigFactory,deps:[e.ROOT_OPTIONS]},{provide:f.b,useFactory:e.appBootstrapListenerFactory,multi:!0,deps:[b]},{provide:_,useFactory:e.getInitialState},{provide:E,useExisting:Le},{provide:C,useExisting:Be}]}},{key:"ngxsConfigFactory",value:function(e){return Object.assign(new ne,e)}},{key:"appBootstrapListenerFactory",value:function(e){return function(){return e.bootstrap()}}},{key:"getInitialState",value:function(){return w.pop()}}]),e}();return e.\u0275mod=f.Wb({type:e}),e.\u0275inj=f.Vb({factory:function(t){return new(t||e)}}),e.ROOT_OPTIONS=new f.s("ROOT_OPTIONS"),e}();function Xe(e,t){return function(n,i){if(n.hasOwnProperty("prototype"))throw new Error(q.ACTION_DECORATOR());var o=ue(n.constructor);Array.isArray(e)||(e=[e]);var a,s=Object(r.a)(e);try{for(s.s();!(a=s.n()).done;){var u=a.value.type;o.actions[u]||(o.actions[u]=[]),o.actions[u].push({fn:i,options:t||{},type:u})}}catch(l){s.e(l)}finally{s.f()}}}function Ze(e){return function(t){!function(e){$e.subscribe((function(t){t&&(e.\u0275prov||console.warn(q.UNDECORATED_STATE_IN_IVY(e.name)))}))}(t);var n=t,r=ue(n),i=Object.getPrototypeOf(n),o=function(t){return Object.assign({},t.NGXS_OPTIONS_META||{},e)}(i);!function(e){var t=e.meta,n=e.inheritedStateClass,r=e.optionsWithInheritance,i=r.children,o=r.defaults,a=r.name,s="string"==typeof a?a:a&&a.getName()||null;Re.checkCorrectStateName(s),n.hasOwnProperty(te)&&(t.actions=Object.assign({},t.actions,(n[te]||{}).actions)),t.children=i,t.defaults=o,t.name=s}({meta:r,inheritedStateClass:i,optionsWithInheritance:o}),n.NGXS_OPTIONS_META=o}}function Je(e){if(!Ye.store)throw new Error(q.SELECT_FACTORY_NOT_CONNECTED());return Ye.store.select(e)}function Qe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if("string"==typeof(t=t||et(e))){var r=n.length?[t].concat(Object(i.a)(n)):t.split(".");return de(r,Ye.config)}return t}function et(e){var t=e.length-1;return 36===e.charCodeAt(t)?e.slice(0,t):e}function tt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(t,r){var i,o=r.toString(),a="__".concat(o,"__selector"),s=Qe(o,e,n);Object.defineProperties(t,(i={},Object(d.a)(i,a,{writable:!0,enumerable:!1,configurable:!0}),Object(d.a)(i,o,{enumerable:!0,configurable:!0,get:function(){return this[a]||(this[a]=Je(s))}}),i))}}function nt(e){return le(e)}function rt(e){return function(t,n,r){if(!r||null===r.value)throw new Error(q.SELECTOR_DECORATOR());var o=r.value,a=function(e,t,n){var r=n&&n.containerClass,o=v((function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o=t.apply(r,n);if(o instanceof Function){var a=v.apply(null,[o]);return a}return o}));Object.setPrototypeOf(o,t);var a=function(e,t){var n,r=((n=e).hasOwnProperty("NGXS_SELECTOR_META")||Object.defineProperty(n,"NGXS_SELECTOR_META",{value:{makeRootSelector:null,originalFn:null,containerClass:null,selectorName:null,getSelectorOptions:function(){return{}}}}),ce(n));r.originalFn=e;var i=function(){return{}};t&&(r.containerClass=t.containerClass,r.selectorName=t.selectorName,i=t.getSelectorOptions||i);var o=Object.assign({},r);return r.getSelectorOptions=function(){return function(e,t){return Object.assign({},Ie(e.containerClass)||{},Ie(e.originalFn)||{},e.getSelectorOptions()||{},t)}(o,i())},r}(t,n);return a.makeRootSelector=function(t){var n=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=t.getSelectorOptions(),i=e.getSelectorOptions(r),o=Ne(n,i,t.containerClass),a=o.map((function(t){return He(t)(e)}));return{selectorOptions:i,argumentSelectorFunctions:a}}(t,a,e),r=n.argumentSelectorFunctions,s=n.selectorOptions;return function(e){var t=r.map((function(t){return t(e)}));try{return o.apply(void 0,Object(i.a)(t))}catch(n){if(n instanceof TypeError&&s.suppressErrors)return;throw n}}},o}(e,o,{containerClass:t,selectorName:n.toString(),getSelectorOptions:function(){return{}}}),s={configurable:!0,get:function(){return a}};return s.originalFn=o,s}}},AlQ9:function(e,t,n){"use strict";var r=n("yeBi");function i(e){var t=function(t,n,r){return e.is(t,n,r)};return t.$stateful=!0,t}function o(e){var t=function(t,n,r){return e.includes(t,n,r)};return t.$stateful=!0,t}i.$inject=["$state"],o.$inject=["$state"],r.a.module("ui.router.state").filter("isState",i).filter("includedByState",o)},BBPO:function(e,t,n){"use strict";n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return m}));var r=n("JX7q"),i=n("ReuC"),o=n("foSv"),a=n("Ji7U"),s=n("LK+K"),u=n("ODXe"),l=n("1OyB"),c=n("vuIU"),d=n("fXoL");function f(){throw new Error("AngularJS v1.x is not loaded!")}n("jhN1");var h=function(){return f()};h.cleanData=f;var p={bootstrap:f,module:f,element:h,injector:f,version:void 0,resumeBootstrap:f,getTestability:f};try{window.hasOwnProperty("angular")&&(p=window.angular)}catch(U){}function m(){return v()}function v(){return p}var g=function(e,t,n){return p.bootstrap(e,t,n)},y=function(e,t){return p.module(e,t)},b=function(e){return p.element(e)};b.cleanData=function(e){return p.element.cleanData(e)};var _="$$angularInjector",w=function(){function e(t,n){Object(l.a)(this,e),this.prop=t,this.attr=n,this.parseBinding()}return Object(c.a)(e,[{key:"parseBinding",value:function(){this.bracketAttr="[".concat(this.attr,"]"),this.parenAttr="(".concat(this.attr,")"),this.bracketParenAttr="[(".concat(this.attr,")]");var e=this.attr.charAt(0).toUpperCase()+this.attr.substr(1);this.onAttr="on".concat(e),this.bindAttr="bind".concat(e),this.bindonAttr="bindon".concat(e)}}]),e}();function E(e){return"$"+e+"Controller"}function C(e){return e.overriddenName||e.name||e.toString().split("\n")[0]}function A(e){return e.has("$$angularDowngradedModuleCount")?e.get("$$angularDowngradedModuleCount"):0}function k(e){return e.has("$$angularUpgradeAppType")?e.get("$$angularUpgradeAppType"):0}function S(e){return"function"==typeof e}function x(e,t,n,r){var i=k(e),o=A(e);switch(i){case 1:case 2:if(t)throw new Error("Error while ".concat(r,": 'downgradedModule' unexpectedly specified.\n")+"You should not specify a value for 'downgradedModule', unless you are downgrading more than one Angular module (via 'downgradeModule()').");break;case 3:if(!t&&o>=2)throw new Error("Error while ".concat(r,": 'downgradedModule' not specified.\n")+"This application contains more than one downgraded Angular module, thus you need to always specify 'downgradedModule' when downgrading components and injectables.");if(!e.has(n))throw new Error("Error while ".concat(r,": Unable to find the specified downgraded module.\n")+"Did you forget to downgrade an Angular module or include it in the AngularJS application?");break;default:throw new Error("Error while ".concat(r,": Not a valid '@angular/upgrade' application.\n")+"Did you forget to downgrade an Angular module or include it in the AngularJS application?")}}function D(e,t){return e===t||e!=e&&t!=t}var O,T={__UNINITIALIZED__:!0},F=function(){function e(t,n,r,i,o,a,s,u,c,d){Object(l.a)(this,e),this.element=t,this.attrs=n,this.scope=r,this.ngModel=i,this.parentInjector=o,this.$injector=a,this.$compile=s,this.$parse=u,this.componentFactory=c,this.wrapCallback=d,this.implementsOnChanges=!1,this.inputChangeCount=0,this.inputChanges={},this.componentScope=r.$new()}return Object(c.a)(e,[{key:"compileContents",value:function(){var e=this,t=[],n=this.groupProjectableNodes().map((function(t){return e.$compile(t)}));return this.element.empty(),n.forEach((function(n){n(e.scope,(function(n){t.push(n),e.element.append(n)}))})),t}},{key:"createComponent",value:function(e){var t=d.t.create({providers:[{provide:"$scope",useValue:this.componentScope}],parent:this.parentInjector,name:"DowngradeComponentAdapter"});this.componentRef=this.componentFactory.create(t,e,this.element[0]),this.viewChangeDetector=this.componentRef.injector.get(d.i),this.changeDetector=this.componentRef.changeDetectorRef,this.component=this.componentRef.instance;var n,r,i=this.componentRef.injector.get(d.R,null);i&&this.componentRef.injector.get(d.S).registerApplication(this.componentRef.location.nativeElement,i),r=this.component,(n=this.ngModel)&&function(e){return"function"==typeof e.writeValue&&"function"==typeof e.registerOnChange}(r)&&(n.$render=function(){r.writeValue(n.$viewValue)},r.registerOnChange(n.$setViewValue.bind(n)),"function"==typeof r.registerOnTouched&&r.registerOnTouched(n.$setTouched.bind(n)))}},{key:"setupInputs",value:function(e){for(var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.attrs,i=this.componentFactory.inputs||[],o=function(e){var n,o,a=new w(i[e].propName,i[e].templateName),s=null;if(r.hasOwnProperty(a.attr)){var u=(n=a.prop,o=T,function(e){D(o,e)||(o===T&&(o=e),t.updateInput(n,o,e),o=e)});r.$observe(a.attr,u);var l=t.componentScope.$watch((function(){l(),l=null,u(r[a.attr])}))}else r.hasOwnProperty(a.bindAttr)?s=r[a.bindAttr]:r.hasOwnProperty(a.bracketAttr)?s=r[a.bracketAttr]:r.hasOwnProperty(a.bindonAttr)?s=r[a.bindonAttr]:r.hasOwnProperty(a.bracketParenAttr)&&(s=r[a.bracketParenAttr]);if(null!=s){var c=function(e){return function(n,r){return t.updateInput(e,r,n)}}(a.prop);t.componentScope.$watch(s,c)}},a=0;a<i.length;a++)o(a);var s=function(){return t.changeDetector.detectChanges()},u=this.componentFactory.componentType.prototype;if(this.implementsOnChanges=!(!u||!u.ngOnChanges),this.componentScope.$watch((function(){return t.inputChangeCount}),this.wrapCallback((function(){if(t.implementsOnChanges){var e=t.inputChanges;t.inputChanges={},t.component.ngOnChanges(e)}t.viewChangeDetector.markForCheck(),n||s()}))),n&&this.componentScope.$watch(this.wrapCallback(s)),e||!n)var l=this.componentScope.$watch((function(){l(),l=null,t.parentInjector.get(d.g).attachView(t.componentRef.hostView)}))}},{key:"setupOutputs",value:function(){for(var e=this.attrs,t=this.componentFactory.outputs||[],n=0;n<t.length;n++){var r=new w(t[n].propName,t[n].templateName),i=r.bindonAttr.substring(0,r.bindonAttr.length-6),o="[(".concat(r.bracketParenAttr.substring(2,r.bracketParenAttr.length-8),")]");e.hasOwnProperty(i)&&this.subscribeToOutput(r,e[i],!0),e.hasOwnProperty(o)&&this.subscribeToOutput(r,e[o],!0),e.hasOwnProperty(r.onAttr)&&this.subscribeToOutput(r,e[r.onAttr]),e.hasOwnProperty(r.parenAttr)&&this.subscribeToOutput(r,e[r.parenAttr])}}},{key:"subscribeToOutput",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.$parse(t),o=i.assign;if(r&&!o)throw new Error("Expression '".concat(t,"' is not assignable!"));var a=this.component[e.prop];if(!a)throw new Error("Missing emitter '".concat(e.prop,"' on component '").concat(C(this.componentFactory.componentType),"'!"));a.subscribe({next:r?function(e){return o(n.scope,e)}:function(e){return i(n.scope,{$event:e})}})}},{key:"registerCleanup",value:function(){var e=this,t=this.componentRef.injector.get(d.S),n=this.wrapCallback((function(){return e.componentRef.destroy()})),r=!1;this.element.on("$destroy",(function(){return e.componentScope.$destroy()})),this.componentScope.$on("$destroy",(function(){r||(r=!0,t.unregisterApplication(e.componentRef.location.nativeElement),n())}))}},{key:"getInjector",value:function(){return this.componentRef.injector}},{key:"updateInput",value:function(e,t,n){this.implementsOnChanges&&(this.inputChanges[e]=new d.O(t,n,t===n)),this.inputChangeCount++,this.component[e]=n}},{key:"groupProjectableNodes",value:function(){return function(e,t){for(var n=[],r=0,i=e.length;r<i;++r)n[r]=[];for(var o=0,a=t.length;o<a;++o){var s=t[o],u=M(s,e);null!=u&&n[u].push(s)}return n}(this.componentFactory.ngContentSelectors,this.element.contents())}}]),e}();function M(e,t){for(var n=[],r=-1,i=0;i<t.length;i++){var o=t[i];"*"===o?r=i:P(e,o)&&n.push(i)}return n.sort(),-1!==r&&n.push(r),n.length?n[0]:null}function P(e,t){if(!O){var n=Element.prototype;O=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&O.call(e,t)}var L=function(){function e(){Object(l.a)(this,e),this.resolved=!1,this.callbacks=[]}return Object(c.a)(e,[{key:"resolve",value:function(e){this.resolved||(this.value=e,this.resolved=!0,this.callbacks.forEach((function(t){return t(e)})),this.callbacks.length=0)}},{key:"then",value:function(e){this.resolved?e(this.value):this.callbacks.push(e)}}],[{key:"all",value:function(t){var n=new e,r=0,i=[],o=function(e,o){i[e]=o,++r===t.length&&n.resolve(i)};return t.forEach((function(e,t){var n;(n=e)&&S(n.then)?e.then((function(e){return o(t,e)})):o(t,e)})),n}}]),e}();function R(e){var t=function(t,n,r){var i,o=3===k(n),a=o?function(e){return function(){return d.C.isInAngularZone()?e():i.run(e)}}:function(e){return e},s=o&&A(n)>1;return{restrict:"E",terminal:!0,require:["?^^$$angularInjector","?ngModel"],link:function(l,c,f,h){var p=h[1],m=h[0],v=void 0,g=!1;if(!m||s){var y=e.downgradedModule||"",b="".concat("$$angularLazyModuleRef").concat(y),_="instantiating component '".concat(C(e.component),"'");x(n,y,b,_);var w=n.get(b);v=w.injector||w.promise}var E=function(i,s){var u=s.get(d.k).resolveComponentFactory(e.component);if(!u)throw new Error("Expecting ComponentFactory for: ".concat(C(e.component)));var h=new B(c),m=new F(c,f,l,p,i,n,t,r,u,a),v=m.compileContents();m.createComponent(v),m.setupInputs(o,e.propagateDigest),m.setupOutputs(),m.registerCleanup(),h.resolve(m.getInjector()),g&&l.$evalAsync((function(){}))},A=o?function(e,t){i||(i=e.get(d.C)),a((function(){return E(e,t)}))()}:E;L.all([m||v,v||m]).then((function(e){var t=Object(u.a)(e,2);return A(t[0],t[1])})),g=!0}}};return t.$inject=["$compile","$injector","$parse"],t}var B=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var i;return Object(l.a)(this,n),(i=t.call(this)).element=e,i.injectorKey=E(_),e.data(i.injectorKey,Object(r.a)(i)),i}return Object(c.a)(n,[{key:"resolve",value:function(e){this.element.data(this.injectorKey,e),this.element=null,Object(i.a)(Object(o.a)(n.prototype),"resolve",this).call(this,e)}}]),n}(L);function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=function(n){var r="".concat(_).concat(t),i=S(e)?C(e):String(e),o="instantiating injectable '".concat(i,"'");return x(n,t,r,o),n.get(r).get(e)};return n.$inject=["$injector"],n}var I=null;function N(e){I=e}var H=[{provide:"$injector",useFactory:function(){if(!I)throw new Error("Trying to get the AngularJS injector before it being set.");var e=I;return I=null,e},deps:[]},{provide:"$rootScope",useFactory:function(e){return e.get("$rootScope")},deps:["$injector"]},{provide:"$compile",useFactory:function(e){return e.get("$compile")},deps:["$injector"]},{provide:"$parse",useFactory:function(e){return e.get("$parse")},deps:["$injector"]}],z=function(){function e(t){Object(l.a)(this,e),this.modInjector=t}return Object(c.a)(e,[{key:"get",value:function(e,t){return t===d.jb?t:this.modInjector.get(e,t)}}]),e}(),Y=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this.ngZone=n,this.injector=new z(t)}return Object(c.a)(e,[{key:"bootstrap",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i="$$UpgradeModule.init",o=(y(i,[]).constant("$$angularUpgradeAppType",2).value(_,this.injector).factory("$$angularLazyModuleRef",[_,function(e){return{injector:e}}]).config(["$provide","$injector",function(e,n){n.has("$$testability")&&e.decorator("$$testability",["$delegate",function(e){var n=e.whenStable,r=t.injector;return e.whenStable=function t(i){n.call(e,(function(){var n=r.get(d.R);n.isStable()?i():n.whenStable(t.bind(e,i))}))},e}]),n.has("$interval")&&e.decorator("$interval",["$delegate",function(e){var n=function(n,r,i,o){for(var a=arguments.length,s=new Array(a>4?a-4:0),u=4;u<a;u++)s[u-4]=arguments[u];return t.ngZone.runOutsideAngular((function(){return e.apply(void 0,[function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];setTimeout((function(){t.ngZone.run((function(){return n.apply(void 0,r)}))}))},r,i,o].concat(s))}))};return n.cancel=e.cancel,n}])}]).run(["$injector",function(n){t.$injector=n,N(n),t.injector.get("$injector"),b(e).data(E(_),t.injector),setTimeout((function(){var e=n.get("$rootScope"),r=t.ngZone.onMicrotaskEmpty.subscribe((function(){return e.$$phase?(Object(d.db)()&&console.warn("A digest was triggered while one was already in progress. This may mean that something is triggering digests outside the Angular zone."),e.$evalAsync()):e.$digest()}));e.$on("$destroy",(function(){r.unsubscribe()}))}),0)}]),y("$$UpgradeModule",[i].concat(n))),a=window.angular;if(a.resumeBootstrap=void 0,this.ngZone.run((function(){g(e,[o.name],r)})),a.resumeBootstrap){var s=a.resumeBootstrap,u=this.ngZone;a.resumeBootstrap=function(){var e=this,t=arguments;return a.resumeBootstrap=s,u.run((function(){return a.resumeBootstrap.apply(e,t)}))}}}}]),e}();return e.\u0275mod=d.Wb({type:e}),e.\u0275inj=d.Vb({factory:function(t){return new(t||e)(d.ic(d.t),d.ic(d.C))},providers:[H]}),e}()},BsWD:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("a3WO");function i(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},C16F:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT"}}},CMGN:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("yeBi"),i=n("iB+3"),o=n("Ui1d"),a=function(){function e(){var e=this;this._useHttp=r.a.version.minor<3,this.$get=["$http","$templateCache","$injector",function(t,n,r){return e.$templateRequest=r.has&&r.has("$templateRequest")&&r.get("$templateRequest"),e.$http=t,e.$templateCache=n,e}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,n){var r=function(e){return i.services.$q.when(e).then((function(e){return{template:e}}))},o=function(e){return i.services.$q.when(e).then((function(e){return{component:e}}))};return Object(i.isDefined)(e.template)?r(this.fromString(e.template,t)):Object(i.isDefined)(e.templateUrl)?r(this.fromUrl(e.templateUrl,t)):Object(i.isDefined)(e.templateProvider)?r(this.fromProvider(e.templateProvider,t,n)):Object(i.isDefined)(e.component)?o(e.component):Object(i.isDefined)(e.componentProvider)?o(this.fromComponentProvider(e.componentProvider,t,n)):r("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return Object(i.isFunction)(e)?e(t):e},e.prototype.fromUrl=function(e,t){return Object(i.isFunction)(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then((function(e){return e.data})):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,n){var r=i.services.$injector.annotate(e),o=Object(i.isArray)(e)?Object(i.tail)(e):e;return new i.Resolvable("",o,r).get(n)},e.prototype.fromComponentProvider=function(e,t,n){var r=i.services.$injector.annotate(e),o=Object(i.isArray)(e)?Object(i.tail)(e):e;return new i.Resolvable("",o,r).get(n)},e.prototype.makeComponentTemplate=function(e,t,n,o){o=o||{};var a=r.a.version.minor>=3?"::":"",u=function(e){var t=Object(i.kebobString)(e);return/^(x|data)-/.exec(t)?"x-"+t:t},l=function(e){var t=i.services.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(s).reduce(i.unnestR,[])}(n).map((function(n){var r=n.name,s=n.type,l=u(r);if(e.attr(l)&&!o[r])return l+"='"+e.attr(l)+"'";var c=o[r]||r;if("@"===s)return l+"='{{"+a+"$resolve."+c+"}}'";if("&"===s){var d=t.getResolvable(c),f=d&&d.data,h=f&&i.services.$injector.annotate(f)||[];return l+"='$resolve."+c+(Object(i.isArray)(f)?"["+(f.length-1)+"]":"")+"("+h.join(",")+")'"}return l+"='"+a+"$resolve."+c+"'"})).join(" "),c=u(n);return"<"+c+" "+l+"></"+c+">"},e}(),s=function(e){return Object(i.isObject)(e.bindToController)?u(e.bindToController):u(e.scope)},u=function(e){return Object.keys(e||{}).map((function(t){return[t,/^([=<@&])[?]?(.*)/.exec(e[t])]})).filter((function(e){return Object(i.isDefined)(e)&&Object(i.isArray)(e[1])})).map((function(e){return{name:e[1][2]||e[0],type:e[1][1]}}))},l=n("9BOg"),c=function(e){return function(t){var n=t[e],r="onExit"===e?"from":"to";return n?function(e,t){var o=new i.ResolveContext(e.treeChanges(r)).subContext(t.$$state()),a=Object(i.extend)(C(o),{$state$:t,$transition$:e});return i.services.$injector.invoke(n,this,a)}:void 0}},d=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=Object(i.val)(e);Object(i.createProxyFunctions)(t,this,t,["hashPrefix"])}return e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,(function(e){return{"~":"~~","/":"~2F"}[e]})):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,(function(e){return{"~~":"~","~2F":"/"}[e]})):e}},e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return Object(i.removeFrom)(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=Object(i.isObject)(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.baseHref=function(){return this._baseHref||(this._baseHref=this.$browser.baseHref()||this.$window.location.pathname)},e.prototype.url=function(e,t,n){return void 0===t&&(t=!1),Object(i.isDefined)(e)&&this.$location.url(e),t&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},e.prototype._runtimeServices=function(e,t,n,r,o){var a=this;this.$location=t,this.$sniffer=n,this.$browser=r,this.$window=o,e.$on("$locationChangeSuccess",(function(e){return a._urlListeners.forEach((function(t){return t(e)}))}));var s=Object(i.val)(t);Object(i.createProxyFunctions)(s,this,s,["replace","path","search","hash"]),Object(i.createProxyFunctions)(s,this,s,["port","protocol","host"])},e}(),f=n("XOnZ");r.a.module("ui.router.angular1",[]);var h=r.a.module("ui.router.init",["ng"]),p=r.a.module("ui.router.util",["ui.router.init"]),m=r.a.module("ui.router.router",["ui.router.util"]),v=r.a.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),g=r.a.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),y=(r.a.module("ui.router.compat",["ui.router"]),null);function b(e){(y=this.router=new i.UIRouter).stateProvider=new l.a(y.stateRegistry,y.stateService),y.stateRegistry.decorator("views",o.c),y.stateRegistry.decorator("onExit",c("onExit")),y.stateRegistry.decorator("onRetain",c("onRetain")),y.stateRegistry.decorator("onEnter",c("onEnter")),y.viewService._pluginapi._viewConfigFactory("ng1",Object(o.b)()),y.urlService.config._decodeParams=!1;var t=y.locationService=y.locationConfig=new d(e);function n(e,n,r,i,o,a,s){return t._runtimeServices(o,e,i,n,r),delete y.router,delete y.$get,y}return d.monkeyPatchPathParameterType(y),y.router=y,y.$get=n,n.$inject=["$location","$browser","$window","$sniffer","$rootScope","$http","$templateCache"],y}b.$inject=["$locationProvider"];var _=function(e){return["$uiRouterProvider",function(t){var n=t.router[e];return n.$get=function(){return n},n}]};function w(e,t,n){if(i.services.$injector=e,i.services.$q=t,!Object.prototype.hasOwnProperty.call(e,"strictDi"))try{e.invoke((function(e){}))}catch(r){e.strictDi=!!/strict mode/.exec(r&&r.toString())}n.stateRegistry.get().map((function(e){return e.$$state().resolvables})).reduce(i.unnestR,[]).filter((function(e){return"deferred"===e.deps})).forEach((function(t){return t.deps=e.annotate(t.resolveFn,e.strictDi)}))}function E(e){e.$watch((function(){i.trace.approximateDigests++}))}w.$inject=["$injector","$q","$uiRouter"],E.$inject=["$rootScope"],h.provider("$uiRouter",b),m.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new f.a(e)}]),p.provider("$urlService",_("urlService")),p.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return y.urlMatcherFactory}]),p.provider("$templateFactory",(function(){return new a})),v.provider("$stateRegistry",_("stateRegistry")),v.provider("$uiRouterGlobals",_("globals")),v.provider("$transitions",_("transitionService")),v.provider("$state",["$uiRouterProvider",function(){return Object(i.extend)(y.stateProvider,{$get:function(){return y.stateService}})}]),v.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),g.factory("$view",(function(){return y.viewService})),g.service("$trace",(function(){return i.trace})),g.run(E),p.run(["$urlMatcherFactory",function(e){}]),v.run(["$state",function(e){}]),m.run(["$urlRouter",function(e){}]),h.run(w);var C=function(e){return e.getTokens().filter(i.isString).map((function(t){var n=e.getResolvable(t);return[t,"NOWAIT"===e.getPolicy(n).async?n.promise:n.data]})).reduce(i.applyPairs,{})}},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),u=n("Lhse"),l=n("c2HN"),c=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){var i=e[a.a]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(Object(l.a)(e))return function(e,t){return new r.a((function(n){var r=new o.a;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(Object(c.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[u.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new o.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[u.a](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},CzEO:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return S}));var r,i,o,a=n("Ji7U"),s=n("LK+K"),u=n("KQm4"),l=n("o0o1"),c=n.n(l),d=n("1OyB"),f=n("vuIU"),h=n("mrSG"),p=n("ofXK"),m=n("fXoL"),v=n("jhN1"),g=n("3Pt+"),y=[[["","quill-editor-toolbar",""]]],b=["[quill-editor-toolbar]"],_={toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},w=function(e,t){return e||t||"html"},E=new m.s("config"),C=function(){var e=function(){function e(t){Object(d.a)(this,e),this.config=t,this.count=0,this.config||(this.config={modules:_})}return Object(f.a)(e,[{key:"getQuill",value:function(){var e=this;return this.count++,this.Quill||1!==this.count||(this.$importPromise=new Promise((function(t){return Object(h.b)(e,void 0,void 0,c.a.mark((function e(){var r,i,o,a=this;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(6).then(n.t.bind(null,"kzlf",7));case 2:this.Quill=(o=e.sent).default?o.default:o,null===(r=this.config.customOptions)||void 0===r||r.forEach((function(e){var t=a.Quill.import(e.import);t.whitelist=e.whitelist,a.Quill.register(t,!0,a.config.suppressGlobalRegisterWarning)})),null===(i=this.config.customModules)||void 0===i||i.forEach((function(e){a.Quill.register(e.path,e.implementation,a.config.suppressGlobalRegisterWarning)})),t(this.Quill);case 7:case"end":return e.stop()}}),e,this)})))}))),this.$importPromise}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m.ic(E))},e.\u0275prov=Object(m.Ub)({factory:function(){return new e(Object(m.ic)(E))},token:e,providedIn:"root"}),e}(),A=function(){var e=r=function(){function e(t,n,r,i,o,a,s){var u=this;Object(d.a)(this,e),this.elementRef=t,this.domSanitizer=n,this.doc=r,this.platformId=i,this.renderer=o,this.zone=a,this.service=s,this.required=!1,this.customToolbarPosition="top",this.sanitize=!1,this.styles=null,this.strict=!0,this.customOptions=[],this.customModules=[],this.preserveWhitespace=!1,this.trimOnValidation=!1,this.onEditorCreated=new m.q,this.onEditorChanged=new m.q,this.onContentChanged=new m.q,this.onSelectionChanged=new m.q,this.onFocus=new m.q,this.onBlur=new m.q,this.disabled=!1,this.valueGetter=function(e,t){var n=t.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==n&&"<div><br></div>"!==n||(n=null);var r=n,i=w(u.format,u.service.config.format);if("text"===i)r=e.getText();else if("object"===i)r=e.getContents();else if("json"===i)try{r=JSON.stringify(e.getContents())}catch(o){r=e.getText()}return r},this.valueSetter=function(e,t){var n=w(u.format,u.service.config.format);if("html"===n)return u.sanitize&&(t=u.domSanitizer.sanitize(m.N.HTML,t)),e.clipboard.convert(t);if("json"===n)try{return JSON.parse(t)}catch(r){return[{insert:t}]}return t},this.selectionChangeHandler=function(e,t,n){var r=!e&&!!u.onModelTouched;(u.onBlur.observers.length||u.onFocus.observers.length||u.onSelectionChanged.observers.length||r)&&u.zone.run((function(){null===e?u.onBlur.emit({editor:u.quillEditor,source:n}):null===t&&u.onFocus.emit({editor:u.quillEditor,source:n}),u.onSelectionChanged.emit({editor:u.quillEditor,oldRange:t,range:e,source:n}),r&&u.onModelTouched()}))},this.textChangeHandler=function(e,t,n){var r=u.quillEditor.getText(),i=u.quillEditor.getContents(),o=u.editorElem.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==o&&"<div><br></div>"!==o||(o=null);var a=u.trackChanges||u.service.config.trackChanges,s=("user"===n||a&&"all"===a)&&!!u.onModelChange;(u.onContentChanged.observers.length||s)&&u.zone.run((function(){s&&u.onModelChange(u.valueGetter(u.quillEditor,u.editorElem)),u.onContentChanged.emit({content:i,delta:e,editor:u.quillEditor,html:o,oldDelta:t,source:n,text:r})}))},this.editorChangeHandler=function(e,t,n,r){if(u.onEditorChanged.observers.length)if("text-change"===e){var i=u.quillEditor.getText(),o=u.quillEditor.getContents(),a=u.editorElem.querySelector(".ql-editor").innerHTML;"<p><br></p>"!==a&&"<div><br></div>"!==a||(a=null),u.zone.run((function(){u.onEditorChanged.emit({content:o,delta:t,editor:u.quillEditor,event:e,html:a,oldDelta:n,source:r,text:i})}))}else u.onEditorChanged.emit({editor:u.quillEditor,event:e,oldRange:n,range:t,source:r})}}return Object(f.a)(e,[{key:"ngAfterViewInit",value:function(){return Object(h.b)(this,void 0,void 0,c.a.mark((function e(){var t,n,r,i,o,a,s,l,d,f,h,v=this;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object(p.s)(this.platformId)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.service.getQuill();case 4:if(t=e.sent,this.elementRef.nativeElement.insertAdjacentHTML("top"===this.customToolbarPosition?"beforeend":"afterbegin",this.preserveWhitespace?"<pre quill-editor-element></pre>":"<div quill-editor-element></div>"),this.editorElem=this.elementRef.nativeElement.querySelector("[quill-editor-element]"),n=this.elementRef.nativeElement.querySelector("[quill-editor-toolbar]"),r=Object.assign({},this.modules||this.service.config.modules),n?r.toolbar=n:void 0===r.toolbar&&(r.toolbar=_.toolbar),void 0===(i=void 0!==this.placeholder?this.placeholder:this.service.config.placeholder)&&(i="Insert text here ..."),this.styles&&Object.keys(this.styles).forEach((function(e){v.renderer.setStyle(v.editorElem,e,v.styles[e])})),this.classes&&this.addClasses(this.classes),this.customOptions.forEach((function(e){var n=t.import(e.import);n.whitelist=e.whitelist,t.register(n,!0)})),this.customModules.forEach((function(e){t.register(e.path,e.implementation)})),(o=this.bounds&&"self"===this.bounds?this.editorElem:this.bounds)||(o=this.service.config.bounds?this.service.config.bounds:this.doc.body),!(a=this.debug)&&!1!==a&&this.service.config.debug&&(a=this.service.config.debug),(s=this.readOnly)||!1===this.readOnly||(s=void 0!==this.service.config.readOnly&&this.service.config.readOnly),(l=this.scrollingContainer)||null===this.scrollingContainer||(l=null===this.service.config.scrollingContainer||this.service.config.scrollingContainer?this.service.config.scrollingContainer:null),(d=this.formats)||void 0!==d||(d=this.service.config.formats?Object(u.a)(this.service.config.formats):null===this.service.config.formats?null:void 0),this.zone.runOutsideAngular((function(){v.quillEditor=new t(v.editorElem,{bounds:o,debug:a,formats:d,modules:r,placeholder:i,readOnly:s,scrollingContainer:l,strict:v.strict,theme:v.theme||(v.service.config.theme?v.service.config.theme:"snow")})})),this.content){if("object"===(f=w(this.format,this.service.config.format)))this.quillEditor.setContents(this.content,"silent");else if("text"===f)this.quillEditor.setText(this.content,"silent");else if("json"===f)try{this.quillEditor.setContents(JSON.parse(this.content),"silent")}catch(c){this.quillEditor.setText(this.content,"silent")}else this.sanitize&&(this.content=this.domSanitizer.sanitize(m.N.HTML,this.content)),h=this.quillEditor.clipboard.convert(this.content),this.quillEditor.setContents(h,"silent");this.quillEditor.getModule("history").clear()}this.setDisabledState(),this.quillEditor.on("editor-change",this.editorChangeHandler),this.quillEditor.on("selection-change",this.selectionChangeHandler),this.quillEditor.on("text-change",this.textChangeHandler),setTimeout((function(){v.onValidatorChanged&&v.onValidatorChanged(),v.onEditorCreated.emit(v.quillEditor)}));case 33:case"end":return e.stop()}}),e,this)})))}},{key:"ngOnDestroy",value:function(){this.quillEditor&&(this.quillEditor.off("selection-change",this.selectionChangeHandler),this.quillEditor.off("text-change",this.textChangeHandler),this.quillEditor.off("editor-change",this.editorChangeHandler))}},{key:"ngOnChanges",value:function(e){var t=this;if(this.quillEditor){if(e.readOnly&&this.quillEditor.enable(!e.readOnly.currentValue),e.placeholder&&(this.quillEditor.root.dataset.placeholder=e.placeholder.currentValue),e.styles){var n=e.styles.currentValue,r=e.styles.previousValue;r&&Object.keys(r).forEach((function(e){t.renderer.removeStyle(t.editorElem,e)})),n&&Object.keys(n).forEach((function(e){t.renderer.setStyle(t.editorElem,e,t.styles[e])}))}if(e.classes){var i=e.classes.currentValue,o=e.classes.previousValue;o&&this.removeClasses(o),i&&this.addClasses(i)}}}},{key:"addClasses",value:function(e){var t=this;r.normalizeClassNames(e).forEach((function(e){t.renderer.addClass(t.editorElem,e)}))}},{key:"removeClasses",value:function(e){var t=this;r.normalizeClassNames(e).forEach((function(e){t.renderer.removeClass(t.editorElem,e)}))}},{key:"writeValue",value:function(e){this.content=e;var t=w(this.format,this.service.config.format);if(this.quillEditor){if(e)return void("text"===t?this.quillEditor.setText(e):this.quillEditor.setContents(this.valueSetter(this.quillEditor,this.content)));this.quillEditor.setText("")}}},{key:"setDisabledState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.disabled;this.disabled=e,this.quillEditor&&(e?(this.quillEditor.disable(),this.renderer.setAttribute(this.elementRef.nativeElement,"disabled","disabled")):(this.readOnly||this.quillEditor.enable(),this.renderer.removeAttribute(this.elementRef.nativeElement,"disabled")))}},{key:"registerOnChange",value:function(e){this.onModelChange=e}},{key:"registerOnTouched",value:function(e){this.onModelTouched=e}},{key:"registerOnValidatorChange",value:function(e){this.onValidatorChanged=e}},{key:"validate",value:function(){if(!this.quillEditor)return null;var e={},t=!0,n=this.quillEditor.getText(),r=this.trimOnValidation?n.trim().length:1===n.length&&0===n.trim().length?0:n.length-1;return this.minLength&&r&&r<this.minLength&&(e.minLengthError={given:r,minLength:this.minLength},t=!1),this.maxLength&&r>this.maxLength&&(e.maxLengthError={given:r,maxLength:this.maxLength},t=!1),this.required&&!r&&(e.requiredError={empty:!0},t=!1),t?null:e}}],[{key:"normalizeClassNames",value:function(e){return e.trim().split(" ").reduce((function(e,t){var n=t.trim();return n&&e.push(n),e}),[])}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m.Yb(m.n),m.Yb(v.b),m.Yb(p.c),m.Yb(m.F),m.Yb(m.J),m.Yb(m.C),m.Yb(C))},e.\u0275dir=m.Tb({type:e,inputs:{required:"required",customToolbarPosition:"customToolbarPosition",sanitize:"sanitize",styles:"styles",strict:"strict",customOptions:"customOptions",customModules:"customModules",preserveWhitespace:"preserveWhitespace",trimOnValidation:"trimOnValidation",valueGetter:"valueGetter",valueSetter:"valueSetter",format:"format",theme:"theme",modules:"modules",debug:"debug",readOnly:"readOnly",placeholder:"placeholder",maxLength:"maxLength",minLength:"minLength",formats:"formats",scrollingContainer:"scrollingContainer",bounds:"bounds",trackChanges:"trackChanges",classes:"classes"},outputs:{onEditorCreated:"onEditorCreated",onEditorChanged:"onEditorChanged",onContentChanged:"onContentChanged",onSelectionChanged:"onSelectionChanged",onFocus:"onFocus",onBlur:"onBlur"},features:[m.Ib]}),e}(),k=function(){var e=i=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o,a,s,u){return Object(d.a)(this,n),t.call(this,e,r,i,o,a,s,u)}return n}(A);return e.\u0275fac=function(t){return new(t||e)(m.Yb(m.n),m.Yb(v.b),m.Yb(p.c),m.Yb(m.F),m.Yb(m.J),m.Yb(m.C),m.Yb(C))},e.\u0275cmp=m.Sb({type:e,selectors:[["quill-editor"]],features:[m.Jb([{multi:!0,provide:g.l,useExisting:Object(m.ab)((function(){return i}))},{multi:!0,provide:g.k,useExisting:Object(m.ab)((function(){return i}))}]),m.Hb],ngContentSelectors:b,decls:1,vars:0,template:function(e,t){1&e&&(m.wc(y),m.vc(0))},encapsulation:2}),e}(),S=function(){var e=o=function(){function e(){Object(d.a)(this,e)}return Object(f.a)(e,null,[{key:"forRoot",value:function(e){return{ngModule:o,providers:[{provide:E,useValue:e}]}}}]),e}();return e.\u0275mod=m.Wb({type:e}),e.\u0275inj=m.Vb({factory:function(t){return new(t||e)},providers:[C],imports:[[p.b]]}),e}()},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("3N8a"),i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},DMCH:function(e,t){},DSFK:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},Dh3D:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return O}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("fXoL"),u=n("8LU1"),l=n("FKr1"),c=n("XNiG"),d=n("VRyK"),f=n("R0Ic"),h=n("ofXK"),p=n("u47x"),m=["mat-sort-header",""];function v(e,t){if(1&e){var n=s.fc();s.ec(0,"div",3),s.mc("@arrowPosition.start",(function(){return s.Kc(n),s.qc()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return s.Kc(n),s.qc()._disableViewStateAnimation=!1})),s.Zb(1,"div",4),s.ec(2,"div",5),s.Zb(3,"div",6),s.Zb(4,"div",7),s.Zb(5,"div",8),s.dc(),s.dc()}if(2&e){var r=s.qc();s.xc("@arrowOpacity",r._getArrowViewState())("@arrowPosition",r._getArrowViewState())("@allowChildren",r._getArrowDirectionState()),s.Kb(2),s.xc("@indicator",r._getArrowDirectionState()),s.Kb(1),s.xc("@leftPointer",r._getArrowDirectionState()),s.Kb(1),s.xc("@rightPointer",r._getArrowDirectionState())}}var g=["*"],y=function e(){Object(a.a)(this,e)},b=Object(l.C)(Object(l.A)(y)),_=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments)).sortables=new Map,e._stateChanges=new c.a,e.start="asc",e._direction="",e.sortChange=new s.q,e}return Object(r.a)(n,[{key:"register",value:function(e){if(!e.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(e.id))throw Error("Cannot have two MatSortables with the same id (".concat(e.id,")."));this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(e){if(!e)return"";var t,n,r=(t=null!=e.disableClear?e.disableClear:this.disableClear,n=["asc","desc"],"desc"==(e.start||this.start)&&n.reverse(),t||n.push(""),n),i=r.indexOf(this.direction)+1;return i>=r.length&&(i=0),r[i]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"direction",get:function(){return this._direction},set:function(e){if(Object(s.db)()&&e&&"asc"!==e&&"desc"!==e)throw function(e){return Error("".concat(e," is not a valid sort direction ('asc' or 'desc')."))}(e);this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=Object(u.c)(e)}}]),n}(b);return e.\u0275fac=function(t){return w(t||e)},e.\u0275dir=s.Tb({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s.Hb,s.Ib]}),e}(),w=s.gc(_),E=l.b.ENTERING+" "+l.a.STANDARD_CURVE,C={indicator:Object(f.o)("indicator",[Object(f.l)("active-asc, asc",Object(f.m)({transform:"translateY(0px)"})),Object(f.l)("active-desc, desc",Object(f.m)({transform:"translateY(10px)"})),Object(f.n)("active-asc <=> active-desc",Object(f.e)(E))]),leftPointer:Object(f.o)("leftPointer",[Object(f.l)("active-asc, asc",Object(f.m)({transform:"rotate(-45deg)"})),Object(f.l)("active-desc, desc",Object(f.m)({transform:"rotate(45deg)"})),Object(f.n)("active-asc <=> active-desc",Object(f.e)(E))]),rightPointer:Object(f.o)("rightPointer",[Object(f.l)("active-asc, asc",Object(f.m)({transform:"rotate(45deg)"})),Object(f.l)("active-desc, desc",Object(f.m)({transform:"rotate(-45deg)"})),Object(f.n)("active-asc <=> active-desc",Object(f.e)(E))]),arrowOpacity:Object(f.o)("arrowOpacity",[Object(f.l)("desc-to-active, asc-to-active, active",Object(f.m)({opacity:1})),Object(f.l)("desc-to-hint, asc-to-hint, hint",Object(f.m)({opacity:.54})),Object(f.l)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(f.m)({opacity:0})),Object(f.n)("* => asc, * => desc, * => active, * => hint, * => void",Object(f.e)("0ms")),Object(f.n)("* <=> *",Object(f.e)(E))]),arrowPosition:Object(f.o)("arrowPosition",[Object(f.n)("* => desc-to-hint, * => desc-to-active",Object(f.e)(E,Object(f.h)([Object(f.m)({transform:"translateY(-25%)"}),Object(f.m)({transform:"translateY(0)"})]))),Object(f.n)("* => hint-to-desc, * => active-to-desc",Object(f.e)(E,Object(f.h)([Object(f.m)({transform:"translateY(0)"}),Object(f.m)({transform:"translateY(25%)"})]))),Object(f.n)("* => asc-to-hint, * => asc-to-active",Object(f.e)(E,Object(f.h)([Object(f.m)({transform:"translateY(25%)"}),Object(f.m)({transform:"translateY(0)"})]))),Object(f.n)("* => hint-to-asc, * => active-to-asc",Object(f.e)(E,Object(f.h)([Object(f.m)({transform:"translateY(0)"}),Object(f.m)({transform:"translateY(-25%)"})]))),Object(f.l)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(f.m)({transform:"translateY(0)"})),Object(f.l)("hint-to-desc, active-to-desc, desc",Object(f.m)({transform:"translateY(-25%)"})),Object(f.l)("hint-to-asc, active-to-asc, asc",Object(f.m)({transform:"translateY(25%)"}))]),allowChildren:Object(f.o)("allowChildren",[Object(f.n)("* <=> *",[Object(f.i)("@*",Object(f.f)(),{optional:!0})])])},A=function(){var e=function e(){Object(a.a)(this,e),this.changes=new c.a,this.sortButtonLabel=function(e){return"Change sorting for ".concat(e)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s.Ub)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),k={provide:A,deps:[[new s.D,new s.P,A]],useFactory:function(e){return e||new A}},S=function e(){Object(a.a)(this,e)},x=Object(l.A)(S),D=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s,u){var l;if(Object(a.a)(this,n),(l=t.call(this))._intl=e,l._sort=i,l._columnDef=o,l._focusMonitor=s,l._elementRef=u,l._showIndicatorHint=!1,l._arrowDirection="",l._disableViewStateAnimation=!1,l.arrowPosition="after",!i)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return l._rerenderSubscription=Object(d.a)(i.sortChange,i._stateChanges,e.changes).subscribe((function(){l._isSorted()&&l._updateArrowDirection(),!l._isSorted()&&l._viewState&&"active"===l._viewState.toState&&(l._disableViewStateAnimation=!1,l._setAnimationTransitionState({fromState:"active",toState:l._arrowDirection})),r.markForCheck()})),s&&u&&s.monitor(u,!0).subscribe((function(e){return l._setIndicatorHintVisible(!!e)})),l}return Object(r.a)(n,[{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._elementRef&&this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_handleClick",value:function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var e=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(e),this._showIndicatorHint=!1}}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?"".concat(e,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=Object(u.c)(e)}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(s.Yb(A),s.Yb(s.i),s.Yb(_,8),s.Yb("MAT_SORT_HEADER_COLUMN_DEF",8),s.Yb(p.h),s.Yb(s.n))},e.\u0275cmp=s.Sb({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&s.mc("click",(function(){return t._handleClick()}))("mouseenter",(function(){return t._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return t._setIndicatorHintVisible(!1)})),2&e&&(s.Lb("aria-sort",t._getAriaSortAttribute()),s.Ob("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[s.Hb],attrs:m,ngContentSelectors:g,decls:4,vars:7,consts:[[1,"mat-sort-header-container"],["type","button",1,"mat-sort-header-button","mat-focus-indicator"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(s.wc(),s.ec(0,"div",0),s.ec(1,"button",1),s.vc(2),s.dc(),s.Sc(3,v,6,6,"div",2),s.dc()),2&e&&(s.Ob("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),s.Kb(1),s.Lb("disabled",t._isDisabled()||null)("aria-label",t._intl.sortButtonLabel(t.id)),s.Kb(2),s.xc("ngIf",t._renderArrow()))},directives:[h.k],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor;position:relative}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-button,[mat-sort-header].cdk-program-focused .mat-sort-header-button{border-bottom:solid 1px currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[C.indicator,C.leftPointer,C.rightPointer,C.arrowOpacity,C.arrowPosition,C.allowChildren]},changeDetection:0}),e}(),O=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},providers:[k],imports:[[h.b]]}),e}()},DnKK:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("XNiG"),i=n("1G5W");function o(e){return"function"==typeof e}var a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ngOnDestroy";return function(n){var a=e[t];if(!1===o(a))throw new Error("".concat(e.constructor.name," is using untilDestroyed but doesn't implement ").concat(t));return e.__takeUntilDestroy||(e.__takeUntilDestroy=new r.a,e[t]=function(){o(a)&&a.apply(this,arguments),e.__takeUntilDestroy.next(!0),e.__takeUntilDestroy.complete()}),n.pipe(Object(i.a)(e.__takeUntilDestroy))}}},DoL9:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r,i=n("fXoL"),o=n("ofXK"),a=function(){function e(e,t){var n=this;this.el=e,this.platformId=t,this.allowEmptyString=!1,this.colordark="#000000",this.colorlight="#ffffff",this.level="M",this.hidetitle=!1,this.qrdata="",this.size=256,this.usesvg=!1,this.isValidQrCodeText=function(e){return!1===n.allowEmptyString?!(void 0===e||""===e):!(void 0===e)}}return e.prototype.ngAfterViewInit=function(){if(!Object(o.s)(this.platformId)){r||(r=n("0ERz"));try{if(!this.isValidQrCodeText(this.qrdata))throw new Error("Empty QR Code data");this.qrcode=new r(this.el.nativeElement,{colorDark:this.colordark,colorLight:this.colorlight,correctLevel:r.CorrectLevel[this.level.toString()],height:this.size,text:this.qrdata||" ",useSVG:this.usesvg,width:this.size})}catch(e){console.error("Error generating QR Code: "+e.message)}}},e.prototype.ngOnChanges=function(e){if(this.qrcode){var t=e.qrdata;t&&this.isValidQrCodeText(t.currentValue)&&(this.qrcode.clear(),this.qrcode.makeCode(t.currentValue))}},e.\u0275fac=function(t){return new(t||e)(i.Yb(i.n),i.Yb(i.F))},e.\u0275cmp=i.Sb({type:e,selectors:[["qrcode"]],inputs:{allowEmptyString:"allowEmptyString",colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",qrdata:"qrdata",size:"size",usesvg:"usesvg"},features:[i.Ib],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e}(),s=function(){function e(){}return e.\u0275mod=i.Wb({type:e}),e.\u0275inj=i.Vb({factory:function(t){return new(t||e)},providers:[]}),e}()},E5G9:function(e,t,n){"use strict";var r=n("ciiV");n.o(r,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return r.BaseLocationServices})),n.o(r,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return r.BaseUrlRule})),n.o(r,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return r.BrowserLocationConfig})),n.o(r,"Param")&&n.d(t,"Param",(function(){return r.Param})),n.o(r,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return r.StateRegistry})),n.o(r,"StateService")&&n.d(t,"StateService",(function(){return r.StateService})),n.o(r,"UIRouter")&&n.d(t,"UIRouter",(function(){return r.UIRouter})),n.o(r,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return r.UIRouterGlobals})),n.o(r,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return r.UrlMatcherFactory})),n.o(r,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return r.UrlRouter})),n.o(r,"UrlService")&&n.d(t,"UrlService",(function(){return r.UrlService})),n.o(r,"ViewService")&&n.d(t,"ViewService",(function(){return r.ViewService})),n.o(r,"parseUrl")&&n.d(t,"parseUrl",(function(){return r.parseUrl})),n.o(r,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return r.servicesPlugin}));var i=n("6EBh");n.d(t,"ViewService",(function(){return i.a}))},EBDp:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("kpkV"),i=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=Object(r.B)(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var e=this._items.shift();return this._evictListeners.forEach((function(t){return t(e)})),e},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return t>-1&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}()},ECN7:function(e,t,n){"use strict";n.d(t,"b",(function(){return I})),n.d(t,"a",(function(){return N}));var r=n("9ecK"),i=n("d2nv"),o=n("vkO+"),a=n("XfWO"),s=n("vvJ7"),u=n("O4wp");function l(e){e.addResolvable(s.b.fromData(a.a,e.router),""),e.addResolvable(s.b.fromData(i.a,e),""),e.addResolvable(s.b.fromData("$transition$",e),""),e.addResolvable(s.b.fromData("$stateParams",e.params()),""),e.entering().forEach((function(t){e.addResolvable(s.b.fromData("$state$",t),t)}))}var c=["$transition$",i.a],d=Object(u.m)(c),f=function(e){var t=Object(u.S)(e.treeChanges()).reduce(u.Q,[]).reduce(u.P,[]),n=function(e){return d(e.token)?s.b.fromData(e.token,null):e};t.forEach((function(e){e.resolvables=e.resolvables.map(n)}))},h=n("//cU"),p=n("49mS"),m=n("fqbi"),v=function(e){var t=e.to().redirectTo;if(t){var n=e.router.stateService;return Object(h.d)(t)?p.b.$q.when(t(e)).then(r):r(t)}function r(t){if(t)return t instanceof m.a?t:Object(h.l)(t)?n.target(t,e.params(),e.options()):t.state||t.params?n.target(t.state||e.to(),t.params||e.params(),e.options()):void 0}};function g(e){return function(t,n){return(0,n.$$state()[e])(t,n)}}var y=g("onExit"),b=g("onRetain"),_=g("onEnter"),w=n("kpkV"),E=n("S2B6"),C=n("S2Kk"),A=function(e){return new E.b(e.treeChanges().to).resolvePath("EAGER",e).then(w.x)},k=function(e,t){return new E.b(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(w.x)},S=function(e){return new E.b(e.treeChanges().to).resolvePath("LAZY",e).then(w.x)},x=function(e){var t=p.b.$q,n=e.views("entering");if(n.length)return t.all(n.map((function(e){return t.when(e.load())}))).then(w.x)},D=function(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach((function(e){return r.deactivateViewConfig(e)})),t.forEach((function(e){return r.activateViewConfig(e)})),r.sync()}},O=function(e){var t=e.router.globals,n=function(){t.transition===e&&(t.transition=null)};e.onSuccess({},(function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,Object(w.g)(e.params(),t.params)}),{priority:1e4}),e.promise.then(n,n)},T=function(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;"url"!==t.source&&t.location&&n.$current.navigable&&r.push(n.$current.navigable.url,n.params,{replace:"replace"===t.location}),r.update(!0)},F=n("N2km"),M=n("pn7+"),P=n("N5pH"),L=n("xUBY"),R=n("Nr6J");function B(e){var t=e._ignoredReason();if(t){L.a.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),R.b.ignored().toPromise()}}function j(e){if(!e.valid())throw new Error(e.error().toString())}var I={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,supercede:!0,custom:{},current:function(){return null},source:"unknown"},N=function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=Object(w.h)(Object(C.m)(this),{},Object(C.m)(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(f)}return e.prototype.onCreate=function(e,t,n){},e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.dispose=function(e){Object(w.L)(this._registeredHooks).forEach((function(e){return e.forEach((function(t){t._deregistered=!0,Object(w.C)(e,t)}))}))},e.prototype.create=function(e,t){return new i.a(e,t,this._router)},e.prototype._defineCoreEvents=function(){var e=r.a,t=P.a,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=r.b.STATE,t=r.b.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(e,t,n,r,i,a,s,u){void 0===i&&(i=!1),void 0===a&&(a=P.a.HANDLE_RESULT),void 0===s&&(s=P.a.REJECT_ERROR),void 0===u&&(u=!1);var l=new M.a(e,t,n,r,i,a,s,u);this._eventTypes.push(l),Object(o.a)(this,this,l)},e.prototype._getEvents=function(e){return(Object(h.c)(e)?this._eventTypes.filter((function(t){return t.hookPhase===e})):this._eventTypes.slice()).sort((function(e,t){var n=e.hookPhase-t.hookPhase;return 0===n?e.hookOrder-t.hookOrder:n}))},e.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=this.onCreate({},l),e.ignored=function(e){return e.onBefore({},B,{priority:-9999})}(this),e.invalid=function(e){return e.onBefore({},j,{priority:-1e4})}(this),e.redirectTo=function(e){return e.onStart({to:function(e){return!!e.redirectTo}},v)}(this),e.onExit=function(e){return e.onExit({exiting:function(e){return!!e.onExit}},y)}(this),e.onRetain=function(e){return e.onRetain({retained:function(e){return!!e.onRetain}},b)}(this),e.onEnter=function(e){return e.onEnter({entering:function(e){return!!e.onEnter}},_)}(this),e.eagerResolve=function(e){return e.onStart({},A,{priority:1e3})}(this),e.lazyResolve=function(e){return e.onEnter({entering:Object(C.m)(!0)},k,{priority:1e3})}(this),e.resolveAll=function(e){return e.onFinish({},S,{priority:1e3})}(this),e.loadViews=function(e){return e.onFinish({},x)}(this),e.activateViews=function(e){return e.onSuccess({},D)}(this),e.updateGlobals=function(e){return e.onCreate({},O)}(this),e.updateUrl=function(e){return e.onSuccess({},T,{priority:9999})}(this),e.lazyLoad=Object(F.b)(this)},e}()},EE6W:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("O4wp"),i=n("cGKQ"),o=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(e){return n._listeners.forEach((function(t){return t(e)}))},this.hash=function(){return Object(i.d)(n._get()).hash},this.path=function(){return Object(i.d)(n._get()).path},this.search=function(){return Object(i.b)(Object(i.d)(n._get()).search)},this._location=r.G.location,this._history=r.G.history}return e.prototype.url=function(e,t){return void 0===t&&(t=!0),Object(r.p)(e)&&e!==this._get()&&(this._set(null,null,e,t),this.fireAfterUpdate&&this._listeners.forEach((function(t){return t({url:e})}))),Object(i.a)(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return Object(r.F)(t._listeners,e)}},e.prototype.dispose=function(e){Object(r.g)(this._listeners)},e}()},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("HDdC"),i=new r.a((function(e){return e.complete()}));function o(e){return e?function(e){return new r.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):i}},F7p8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("//cU"),i=function(){function e(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}return e.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},e.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},e.prototype.host=function(){return location.hostname},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return Object(r.c)(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return Object(r.c)(e)&&(this._baseHref=e),Object(r.m)(this._baseHref)&&(this._baseHref=this.getBaseHref()),this._baseHref},e.prototype.getBaseHref=function(){var e=document.getElementsByTagName("base")[0];return e&&e.href?e.href.replace(/^([^/:]*:)?\/\/[^/]*/,""):this._isHtml5?"/":location.pathname||"/"},e.prototype.dispose=function(){},e}()},FKr1:function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return x})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return X})),n.d(t,"e",(function(){return H})),n.d(t,"f",(function(){return I})),n.d(t,"g",(function(){return ke})),n.d(t,"h",(function(){return _e})),n.d(t,"i",(function(){return le})),n.d(t,"j",(function(){return T})),n.d(t,"k",(function(){return Z})),n.d(t,"l",(function(){return ee})),n.d(t,"m",(function(){return K})),n.d(t,"n",(function(){return ve})),n.d(t,"o",(function(){return we})),n.d(t,"p",(function(){return Ae})),n.d(t,"q",(function(){return be})),n.d(t,"r",(function(){return fe})),n.d(t,"s",(function(){return he})),n.d(t,"t",(function(){return ce})),n.d(t,"u",(function(){return de})),n.d(t,"v",(function(){return ae})),n.d(t,"w",(function(){return Ee})),n.d(t,"x",(function(){return Ce})),n.d(t,"y",(function(){return M})),n.d(t,"z",(function(){return P})),n.d(t,"A",(function(){return F})),n.d(t,"B",(function(){return R})),n.d(t,"C",(function(){return B})),n.d(t,"D",(function(){return L})),n.d(t,"E",(function(){return J}));var r=n("JX7q"),i=n("ReuC"),o=n("foSv"),a=n("Ji7U"),s=n("LK+K"),u=n("vuIU"),l=n("1OyB"),c=n("fXoL"),d=n("u47x"),f=n("cH1L"),h=new c.T("9.2.4"),p=n("ofXK"),m=n("8LU1"),v=n("XNiG"),g=n("HDdC"),y=n("nLfN"),b=(n("jhN1"),n("JX91")),_=n("R1ws"),w=n("FtGj"),E=["*",[["mat-option"],["ng-container"]]],C=["*","mat-option, ng-container"];function A(e,t){if(1&e&&c.Zb(0,"mat-pseudo-checkbox",3),2&e){var n=c.qc();c.xc("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var k=["*"],S=function(){var e=function e(){Object(l.a)(this,e)};return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),x=function(){var e=function e(){Object(l.a)(this,e)};return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),D=new c.T("9.2.4"),O=new c.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),T=function(){var e=function(){function e(t,n,r){Object(l.a)(this,e),this._hasDoneGlobalChecks=!1,this._document=r,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return Object(u.a)(e,[{key:"_getDocument",value:function(){var e=this._document||document;return"object"==typeof e&&e?e:null}},{key:"_getWindow",value:function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return Object(c.db)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&D.full!==h.full&&console.warn("The Angular Material version ("+D.full+") does not match the Angular CDK version ("+h.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}();return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)(c.ic(d.j),c.ic(O,8),c.ic(p.c,8))},imports:[[f.a],f.a]}),e}();function F(e){return function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(l.a)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i)))._disabled=!1,e}return Object(u.a)(n,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(m.c)(e)}}]),n}(e)}function M(e,t){return function(e){Object(a.a)(r,e);var n=Object(s.a)(r);function r(){var e;Object(l.a)(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o))).color=t,e}return Object(u.a)(r,[{key:"color",get:function(){return this._color},set:function(e){var n=e||t;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),n&&this._elementRef.nativeElement.classList.add("mat-".concat(n)),this._color=n)}}]),r}(e)}function P(e){return function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(l.a)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i)))._disableRipple=!1,e}return Object(u.a)(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(m.c)(e)}}]),n}(e)}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){Object(a.a)(r,e);var n=Object(s.a)(r);function r(){var e;Object(l.a)(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(e=n.call.apply(n,[this].concat(o)))._tabIndex=t,e}return Object(u.a)(r,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:t}}]),r}(e)}function R(e){return function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(l.a)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).errorState=!1,e.stateChanges=new v.a,e}return Object(u.a)(n,[{key:"updateErrorState",value:function(){var e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}]),n}(e)}function B(e){return function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(l.a)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i)))._isInitialized=!1,e._pendingSubscribers=[],e.initialized=new g.a((function(t){e._isInitialized?e._notifySubscriber(t):e._pendingSubscribers.push(t)})),e}return Object(u.a)(n,[{key:"_markInitialized",value:function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(e){e.next(),e.complete()}}]),n}(e)}var j,I=new c.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(c.cb)(c.x)}}),N=function(){function e(){Object(l.a)(this,e),this._localeChanges=new v.a}return Object(u.a)(e,[{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}},{key:"sameDate",value:function(e,t){if(e&&t){var n=this.isValid(e),r=this.isValid(t);return n&&r?!this.compareDate(e,t):n==r}return e==t}},{key:"clampDate",value:function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},{key:"localeChanges",get:function(){return this._localeChanges}}]),e}(),H=new c.s("mat-date-formats");try{j="undefined"!=typeof Intl}catch(Se){j=!1}var z={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Y=$(31,(function(e){return String(e+1)})),U={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},V=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function $(e,t){for(var n=Array(e),r=0;r<e;r++)n[r]=t(r);return n}var W=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,a){var s,u;return Object(l.a)(this,n),(u=t.call(this)).useUtcForDisplay=!0,Object(i.a)((s=Object(r.a)(u),Object(o.a)(n.prototype)),"setLocale",s).call(s,e),u.useUtcForDisplay=!a.TRIDENT,u._clampDate=a.TRIDENT||a.EDGE,u}return Object(u.a)(n,[{key:"getYear",value:function(e){return e.getFullYear()}},{key:"getMonth",value:function(e){return e.getMonth()}},{key:"getDate",value:function(e){return e.getDate()}},{key:"getDayOfWeek",value:function(e){return e.getDay()}},{key:"getMonthNames",value:function(e){var t=this;if(j){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return $(12,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))}))}return z[e]}},{key:"getDateNames",value:function(){var e=this;if(j){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return $(31,(function(n){return e._stripDirectionalityCharacters(e._format(t,new Date(2017,0,n+1)))}))}return Y}},{key:"getDayOfWeekNames",value:function(e){var t=this;if(j){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return $(7,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))}))}return U[e]}},{key:"getYearName",value:function(e){if(j){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}},{key:"clone",value:function(e){return new Date(e.getTime())}},{key:"createDate",value:function(e,t,n){if(t<0||t>11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var r=this._createDateWithOverflow(e,t,n);if(r.getMonth()!=t)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(t,'".'));return r}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(j){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(V.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return Object(i.a)(Object(o.a)(n.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var r=new Date(e,t,n);return e>=0&&e<100&&r.setFullYear(this.getYear(r)-1900),r}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)}}]),n}(N);return e.\u0275fac=function(t){return new(t||e)(c.ic(I,8),c.ic(y.a))},e.\u0275prov=c.Ub({token:e,factory:e.\u0275fac}),e}(),G=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[{provide:N,useClass:W}],imports:[[y.b]]}),e}(),q={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},K=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},providers:[{provide:H,useValue:q}],imports:[[G]]}),e}(),X=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(u.a)(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(c.Ub)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Z=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e}();function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe(Object(b.a)(e)).subscribe((function(e){var r=e.length;Q(t,"".concat(n,"-2-line"),!1),Q(t,"".concat(n,"-3-line"),!1),Q(t,"".concat(n,"-multi-line"),!1),2===r||3===r?Q(t,"".concat(n,"-").concat(r,"-line"),!0):r>3&&Q(t,"".concat(n,"-multi-line"),!0)}))}function Q(e,t,n){var r=e.nativeElement.classList;n?r.add(t):r.remove(t)}var ee=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[T],T]}),e}(),te=function(){function e(t,n,r){Object(l.a)(this,e),this._renderer=t,this.element=n,this.config=r,this.state=3}return Object(u.a)(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),ne={enterDuration:450,exitDuration:400},re=Object(y.f)({passive:!0}),ie=["mousedown","touchstart"],oe=["mouseup","mouseleave","touchend","touchcancel"],ae=function(){function e(t,n,r,i){Object(l.a)(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(m.e)(r))}return Object(u.a)(e,[{key:"fadeInRipple",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},ne),r.animation);r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);var a=r.radius||ue(e,t,i),s=e-i.left,u=t-i.top,l=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left="".concat(s-a,"px"),c.style.top="".concat(u-a,"px"),c.style.height="".concat(2*a,"px"),c.style.width="".concat(2*a,"px"),null!=r.color&&(c.style.backgroundColor=r.color),c.style.transitionDuration="".concat(l,"ms"),this._containerElement.appendChild(c),se(c),c.style.transform="scale(1)";var d=new te(this,c,r);return d.state=0,this._activeRipples.add(d),r.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((function(){var e=d===n._mostRecentTransientRipple;d.state=1,r.persistent||e&&n._isPointerDown||d.fadeOut()}),l),d}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=Object.assign(Object.assign({},ne),e.config.animation);n.style.transitionDuration="".concat(r.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone((function(){e.state=3,n.parentNode.removeChild(n)}),r.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))}},{key:"setupTriggerEvents",value:function(e){var t=Object(m.e)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(ie))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(oe),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=Object(d.m)(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach((function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()})))}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){e.forEach((function(e){t._triggerElement.addEventListener(e,t,re)}))}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(ie.forEach((function(t){e._triggerElement.removeEventListener(t,e,re)})),this._pointerUpEventsRegistered&&oe.forEach((function(t){e._triggerElement.removeEventListener(t,e,re)})))}}]),e}();function se(e){window.getComputedStyle(e).getPropertyValue("opacity")}function ue(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}var le=new c.s("mat-ripple-global-options"),ce=function(){var e=function(){function e(t,n,r,i,o){Object(l.a)(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new ae(this,n,t,r)}return Object(u.a)(e,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(c.C),c.Yb(y.a),c.Yb(le,8),c.Yb(_.a,8))},e.\u0275dir=c.Tb({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&c.Ob("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),de=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[T,y.b],T]}),e}(),fe=function(){var e=function e(t){Object(l.a)(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(c.Yb(_.a,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&c.Ob("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),he=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)}}),e}(),pe=F((function e(){Object(l.a)(this,e)})),me=0,ve=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(l.a)(this,n),(e=t.apply(this,arguments))._labelId="mat-optgroup-label-".concat(me++),e}return n}(pe);return e.\u0275fac=function(t){return ge(t||e)},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(c.Lb("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),c.Ob("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[c.Hb],ngContentSelectors:C,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(c.wc(E),c.ec(0,"label",0),c.Uc(1),c.vc(2),c.dc(),c.vc(3,1)),2&e&&(c.xc("id",t._labelId),c.Kb(1),c.Wc("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}(),ge=c.gc(ve),ye=0,be=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(l.a)(this,e),this.source=t,this.isUserInput=n},_e=new c.s("MAT_OPTION_PARENT_COMPONENT"),we=function(){var e=function(){function e(t,n,r,i){Object(l.a)(this,e),this._element=t,this._changeDetectorRef=n,this._parent=r,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(ye++),this.onSelectionChange=new c.q,this._stateChanges=new v.a}return Object(u.a)(e,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==w.g&&e.keyCode!==w.p||Object(w.u)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new be(this,e))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Object(m.c)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(c.i),c.Yb(_e,8),c.Yb(ve,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&c.mc("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(c.hc("id",t.id),c.Lb("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),c.Ob("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:k,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(c.wc(),c.Sc(0,A,1,2,"mat-pseudo-checkbox",0),c.ec(1,"span",1),c.vc(2),c.dc(),c.Zb(3,"div",2)),2&e&&(c.xc("ngIf",t.multiple),c.Kb(3),c.xc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[p.k,ce,fe],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function Ee(e,t,n){if(n.length){for(var r=t.toArray(),i=n.toArray(),o=0,a=0;a<e+1;a++)r[a].group&&r[a].group===i[o]&&o++;return o}return 0}function Ce(e,t,n,r){var i=e*t;return i<n?i:i+t>n+r?Math.max(0,i-r+t):n}var Ae=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[de,p.b,he]]}),e}(),ke=new c.s("mat-label-global-options")},FMnn:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n("1OyB"),i=n("vuIU"),o=n("fXoL"),a=function(){var e=function(){function e(t){Object(r.a)(this,e),this.el=t,this.hasDecimalPoint=!1,this.navigationKeys=["Backspace","Delete","Tab","Escape","Enter","Home","End","ArrowLeft","ArrowRight","Clear","Copy","Paste"],this.decimal=!1,this.decimalSeparator=".",this.min=-1/0,this.max=1/0,this.inputElement=t.nativeElement}return Object(i.a)(e,[{key:"ngOnChanges",value:function(e){if(e.pattern&&(this.regex=this.pattern?RegExp(this.pattern):null),e.min){var t=Number(this.min);this.min=isNaN(t)?-1/0:t}if(e.max){var n=Number(this.max);this.max=isNaN(n)?1/0:n}}},{key:"onKeyDown",value:function(e){if(!(this.navigationKeys.indexOf(e.key)>-1||"a"===e.key&&!0===e.ctrlKey||"c"===e.key&&!0===e.ctrlKey||"v"===e.key&&!0===e.ctrlKey||"x"===e.key&&!0===e.ctrlKey||"a"===e.key&&!0===e.metaKey||"c"===e.key&&!0===e.metaKey||"v"===e.key&&!0===e.metaKey||"x"===e.key&&!0===e.metaKey)){var t="";if(this.decimal&&e.key===this.decimalSeparator)return(t=this.forecastValue(e.key)).split(this.decimalSeparator).length>2?void e.preventDefault():void(this.hasDecimalPoint=t.indexOf(this.decimalSeparator)>-1);if(" "===e.key||isNaN(Number(e.key)))e.preventDefault();else if(t=t||this.forecastValue(e.key),!this.regex||this.regex.test(t)){var n=Number(t);(n>this.max||n<this.min)&&e.preventDefault()}else e.preventDefault()}}},{key:"onPaste",value:function(e){var t;window.clipboardData?t=window.clipboardData.getData("text"):e.clipboardData&&e.clipboardData.getData&&(t=e.clipboardData.getData("text/plain")),this.pasteData(t),e.preventDefault()}},{key:"onDrop",value:function(e){var t=e.dataTransfer.getData("text");this.inputElement.focus(),this.pasteData(t),e.preventDefault()}},{key:"pasteData",value:function(e){var t=this.sanitizeInput(e);if(!document.execCommand("insertText",!1,t))if(this.inputElement.setRangeText){var n=this.inputElement;this.inputElement.setRangeText(t,n.selectionStart,n.selectionEnd,"end")}else this.insertAtCursor(this.inputElement,t);this.decimal&&(this.hasDecimalPoint=this.inputElement.value.indexOf(this.decimalSeparator)>-1)}},{key:"insertAtCursor",value:function(e,t){var n=e.selectionStart,r=e.selectionEnd;e.value=e.value.substring(0,n)+t+e.value.substring(r,e.value.length);var i=n+t.length;e.focus(),e.setSelectionRange(i,i),this.triggerEvent(e,"input")}},{key:"triggerEvent",value:function(e,t){if("createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent(t,!1,!0),e.dispatchEvent(n)}}},{key:"sanitizeInput",value:function(e){var t="";if(this.decimal&&this.isValidDecimal(e)){var n=new RegExp("[^0-9".concat(this.decimalSeparator,"]"),"g");t=e.replace(n,"")}else t=e.replace(/[^0-9]/g,"");var r=this.inputElement.maxLength;if(r>0){var i=r-this.inputElement.value.length;t=i>0?t.substring(0,i):""}return t}},{key:"isValidDecimal",value:function(e){if(this.hasDecimalPoint){var t=this.getSelection();return t&&t.indexOf(this.decimalSeparator)>-1?e.split(this.decimalSeparator).length<=2:e.indexOf(this.decimalSeparator)<0}return e.split(this.decimalSeparator).length<=2}},{key:"getSelection",value:function(){return this.inputElement.value.substring(this.inputElement.selectionStart,this.inputElement.selectionEnd)}},{key:"forecastValue",value:function(e){var t=this.inputElement.selectionStart,n=this.inputElement.value,r=n.substring(t,this.inputElement.selectionEnd);return r?n.replace(r,e):n.substring(0,t)+e+n.substring(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.n))},e.\u0275dir=o.Tb({type:e,selectors:[["","digitOnly",""]],hostBindings:function(e,t){1&e&&o.mc("keydown",(function(e){return t.onKeyDown(e)}))("paste",(function(e){return t.onPaste(e)}))("drop",(function(e){return t.onDrop(e)}))},inputs:{decimal:"decimal",decimalSeparator:"decimalSeparator",min:"min",max:"max",pattern:"pattern"},features:[o.Ib]}),e}(),s=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)},imports:[[]]}),e}()},FWf1:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n("pshJ"),o=n("GiSu"),a=n("zB/H"),s=n("p//D"),u=n("n3uD"),l=n("MkmW"),c=function(e){function t(n,r,i){var a=e.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=o.empty;break;case 1:if(!n){a.destination=o.empty;break}if("object"==typeof n){n instanceof t?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new d(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new d(a,n,r,i)}return a}return r(t,e),t.prototype[s.rxSubscriber]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.Subscription);t.Subscriber=c;var d=function(e){function t(t,n,r,a){var s,u=e.call(this)||this;u._parentSubscriber=t;var l=u;return i.isFunction(n)?s=n:n&&(s=n.next,r=n.error,a=n.complete,n!==o.empty&&(l=Object.create(n),i.isFunction(l.unsubscribe)&&u.add(l.unsubscribe.bind(l)),l.unsubscribe=u.unsubscribe.bind(u))),u._context=l,u._next=s,u._error=r,u._complete=a,u}return r(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):l.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;l.hostReportError(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};u.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw n;l.hostReportError(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return u.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(l.hostReportError(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(c);t.SafeSubscriber=d},Fo7A:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,i=n("kpkV"),o=n("//cU"),a=n("S2Kk"),s=n("49mS"),u=n("NJhm"),l=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=Object(i.z)(e.prototype,["hash","string","query","path","int","bool","date","json","any"]),this.types=Object(i.t)(Object(i.u)(this.defaultTypes,(function(e,t){return new u.a(Object(i.l)({name:t},e))})),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!Object(o.c)(t))return this.types[e];if(this.types.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return this.types[e]=new u.a(Object(i.l)({name:e},t)),n&&(this.typeQueue.push({name:e,def:n}),this.enqueue||this._flushTypeQueue()),this},e.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var e=this.typeQueue.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");Object(i.l)(this.types[e.name],s.b.$injector.invoke(e.def))}},e}();r=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:Object(a.e)(String),pattern:/.*/,equals:function(e,t){return e==t}};return Object(i.l)({},n,e)},Object(i.l)(l.prototype,{string:r({}),path:r({pattern:/[^/]*/}),query:r({}),hash:r({inherit:!1}),int:r({decode:function(e){return parseInt(e,10)},is:function(e){return!Object(o.g)(e)&&this.decode(e.toString())===e},pattern:/-?\d+/}),bool:r({encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:Object(a.e)(Boolean),pattern:/0|1/}),date:r({encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):void 0},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):void 0},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return["getFullYear","getMonth","getDate"].reduce((function(n,r){return n&&e[r]()===t[r]()}),!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:r({encode:i.H,decode:i.q,is:Object(a.e)(Object),equals:i.k,pattern:/[^/]*/}),any:r({encode:i.r,decode:i.r,is:function(){return!0},equals:i.k})})},Fpsn:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("O4wp"),i=n("XqED"),o=n("Gx5h"),a=n("IgSQ"),s=function(){function e(e){var t=this;this.router=e,this.interceptDeferred=!1,this.rules=new i.a(this.router),this.config=new o.a(this.router),this.url=function(e,n,r){return t.router.locationService.url(e,n,r)},this.path=function(){return t.router.locationService.path()},this.search=function(){return t.router.locationService.search()},this.hash=function(){return t.router.locationService.hash()},this.onChange=function(e){return t.router.locationService.onChange(e)}}return e.prototype.dispose=function(){this.listen(!1),this.rules.dispose()},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this.router,n=t.urlService,i=t.stateService,o={path:n.path(),search:n.search(),hash:n.hash()},s=this.match(o);Object(r.C)([[r.v,function(e){return n.url(e,!0)}],[a.TargetState.isDef,function(e){return i.go(e.state,e.params,e.options)}],[Object(r.n)(a.TargetState),function(e){return i.go(e.state(),e.params(),e.options())}]])(s&&s.rule.handler(s.match,o,this.router))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopListeningFn=this._stopListeningFn||this.router.urlService.onChange((function(e){return t.sync(e)}));this._stopListeningFn&&this._stopListeningFn(),delete this._stopListeningFn},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e.prototype.match=function(e){e=Object(r.h)({path:"",search:{},hash:""},e);for(var t,n,i,o=this.rules.rules(),a=0;a<o.length&&(!t||t.rule._group===o[a]._group);a++){var s=(i=(n=o[a]).match(e,this.router))&&{match:i,rule:n,weight:n.matchPriority(i)};t=!t||s&&s.weight>t.weight?s:t}return t},e}()},FtGj:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return a})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return y})),n.d(t,"l",(function(){return l})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return p})),n.d(t,"o",(function(){return w})),n.d(t,"p",(function(){return s})),n.d(t,"q",(function(){return i})),n.d(t,"r",(function(){return h})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return g})),n.d(t,"u",(function(){return C}));var r=8,i=9,o=13,a=27,s=32,u=33,l=34,c=35,d=36,f=37,h=38,p=39,m=40,v=46,g=48,y=57,b=65,_=90,w=186,E=188;function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length?n.some((function(t){return e[t]})):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},FvrZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return w})),n.d(t,"b",(function(){return D})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return x})),n.d(t,"f",(function(){return A})),n.d(t,"g",(function(){return E})),n.d(t,"h",(function(){return T})),n.d(t,"i",(function(){return F})),n.d(t,"j",(function(){return _}));var r=n("ReuC"),i=n("foSv"),o=(n("uFwe"),n("Ji7U")),a=n("LK+K"),s=n("KQm4"),u=n("1OyB"),l=n("vuIU"),c=n("0EQZ"),d=n("7+OI"),f=n("XNiG"),h=n("2Vo4"),p=n("LRne"),m=(n("IzEk"),n("pLZG"),n("1G5W")),v=n("fXoL"),g=n("8LU1"),y=n("u47x"),b=n("cH1L"),_=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this)).getLevel=e,i.isExpandable=r,i}return Object(l.a)(n,[{key:"getDescendants",value:function(e){for(var t=[],n=this.dataNodes.indexOf(e)+1;n<this.dataNodes.length&&this.getLevel(e)<this.getLevel(this.dataNodes[n]);n++)t.push(this.dataNodes[n]);return t}},{key:"expandAll",value:function(){var e;(e=this.expansionModel).select.apply(e,Object(s.a)(this.dataNodes))}}]),n}(function(){function e(){Object(u.a)(this,e),this.expansionModel=new c.c(!0)}return Object(l.a)(e,[{key:"toggle",value:function(e){this.expansionModel.toggle(e)}},{key:"expand",value:function(e){this.expansionModel.select(e)}},{key:"collapse",value:function(e){this.expansionModel.deselect(e)}},{key:"isExpanded",value:function(e){return this.expansionModel.isSelected(e)}},{key:"toggleDescendants",value:function(e){this.expansionModel.isSelected(e)?this.collapseDescendants(e):this.expandDescendants(e)}},{key:"collapseAll",value:function(){this.expansionModel.clear()}},{key:"expandDescendants",value:function(e){var t,n=[e];n.push.apply(n,Object(s.a)(this.getDescendants(e))),(t=this.expansionModel).select.apply(t,n)}},{key:"collapseDescendants",value:function(e){var t,n=[e];n.push.apply(n,Object(s.a)(this.getDescendants(e))),(t=this.expansionModel).deselect.apply(t,n)}}]),e}()),w=new v.s("CDK_TREE_NODE_OUTLET_NODE"),E=function(){var e=function e(t,n){Object(u.a)(this,e),this.viewContainer=t,this._node=n};return e.\u0275fac=function(t){return new(t||e)(v.Yb(v.V),v.Yb(w,8))},e.\u0275dir=v.Tb({type:e,selectors:[["","cdkTreeNodeOutlet",""]]}),e}(),C=function e(t){Object(u.a)(this,e),this.$implicit=t},A=function(){var e=function e(t){Object(u.a)(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(v.Yb(v.Q))},e.\u0275dir=v.Tb({type:e,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),e}();function k(){return Error("Could not find functions for nested/flat tree in tree control.")}var S=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._differs=t,this._changeDetectorRef=n,this._onDestroy=new f.a,this._levels=new Map,this.viewChange=new h.a({start:0,end:Number.MAX_VALUE})}return Object(l.a)(e,[{key:"ngOnInit",value:function(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw Error("Could not find a tree control for the tree.")}},{key:"ngOnDestroy",value:function(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)}},{key:"ngAfterContentChecked",value:function(){var e=this._nodeDefs.filter((function(e){return!e.when}));if(e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultNodeDef=e[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}},{key:"_switchDataSource",value:function(e){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._observeRenderChanges()}},{key:"_observeRenderChanges",value:function(){var e,t=this;if(Object(c.e)(this._dataSource)?e=this._dataSource.connect(this):Object(d.a)(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=Object(p.a)(this._dataSource)),!e)throw Error("A valid data source must be provided.");this._dataSubscription=e.pipe(Object(m.a)(this._onDestroy)).subscribe((function(e){return t.renderNodeChanges(e)}))}},{key:"renderNodeChanges",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._dataDiffer,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._nodeOutlet.viewContainer,i=arguments.length>3?arguments[3]:void 0,o=n.diff(e);o&&(o.forEachOperation((function(n,o,a){if(null==n.previousIndex)t.insertNode(e[a],a,r,i);else if(null==a)r.remove(o),t._levels.delete(n.item);else{var s=r.get(o);r.move(s,a)}})),this._changeDetectorRef.detectChanges())}},{key:"_getNodeDef",value:function(e,t){if(1===this._nodeDefs.length)return this._nodeDefs.first;var n=this._nodeDefs.find((function(n){return n.when&&n.when(t,e)}))||this._defaultNodeDef;if(!n)throw Error("Could not find a matching node definition for the provided node data.");return n}},{key:"insertNode",value:function(e,t,n,r){var i=this._getNodeDef(e,t),o=new C(e);o.level=this.treeControl.getLevel?this.treeControl.getLevel(e):void 0!==r&&this._levels.has(r)?this._levels.get(r)+1:0,this._levels.set(e,o.level),(n||this._nodeOutlet.viewContainer).createEmbeddedView(i.template,o,t),x.mostRecentTreeNode&&(x.mostRecentTreeNode.data=e)}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Yb(v.v),v.Yb(v.i))},e.\u0275cmp=v.Sb({type:e,selectors:[["cdk-tree"]],contentQueries:function(e,t,n){var r;1&e&&v.Qb(n,A,!0),2&e&&v.Fc(r=v.nc())&&(t._nodeDefs=r)},viewQuery:function(e,t){var n;1&e&&v.Qc(E,!0),2&e&&v.Fc(n=v.nc())&&(t._nodeOutlet=n.first)},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(e,t){1&e&&v.ac(0,0)},directives:[E],encapsulation:2}),e}(),x=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._elementRef=t,this._tree=n,this._destroyed=new f.a,this._dataChanges=new f.a,this.role="treeitem",e.mostRecentTreeNode=this}return Object(l.a)(e,[{key:"ngOnDestroy",value:function(){e.mostRecentTreeNode===this&&(e.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"focus",value:function(){this._elementRef.nativeElement.focus()}},{key:"_setRoleFromData",value:function(){var e=this;if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw k();var t=this._tree.treeControl.getChildren(this._data);Array.isArray(t)?this._setRoleFromChildren(t):Object(d.a)(t)&&t.pipe(Object(m.a)(this._destroyed)).subscribe((function(t){return e._setRoleFromChildren(t)}))}}},{key:"_setRoleFromChildren",value:function(e){this.role=e&&e.length?"group":"treeitem"}},{key:"data",get:function(){return this._data},set:function(e){e!==this._data&&(this._data=e,this._setRoleFromData(),this._dataChanges.next())}},{key:"isExpanded",get:function(){return this._tree.treeControl.isExpanded(this._data)}},{key:"level",get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Yb(v.n),v.Yb(S))},e.\u0275dir=v.Tb({type:e,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:3,hostBindings:function(e,t){2&e&&v.Lb("aria-expanded",t.isExpanded)("aria-level","treeitem"===t.role?t.level:null)("role",t.role)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),e.mostRecentTreeNode=null,e}(),D=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,i){var o;return Object(u.a)(this,n),(o=t.call(this,e,r))._elementRef=e,o._tree=r,o._differs=i,o}return Object(l.a)(n,[{key:"ngAfterContentInit",value:function(){var e=this;if(this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),!this._tree.treeControl.getChildren)throw k();var t=this._tree.treeControl.getChildren(this.data);Array.isArray(t)?this.updateChildrenNodes(t):Object(d.a)(t)&&t.pipe(Object(m.a)(this._destroyed)).subscribe((function(t){return e.updateChildrenNodes(t)})),this.nodeOutlet.changes.pipe(Object(m.a)(this._destroyed)).subscribe((function(){return e.updateChildrenNodes()}))}},{key:"ngOnDestroy",value:function(){this._clear(),Object(r.a)(Object(i.a)(n.prototype),"ngOnDestroy",this).call(this)}},{key:"updateChildrenNodes",value:function(e){var t=this._getNodeOutlet();e&&(this._children=e),t&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,t.viewContainer,this._data):this._dataDiffer.diff([])}},{key:"_clear",value:function(){var e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))}},{key:"_getNodeOutlet",value:function(){var e=this,t=this.nodeOutlet;return t&&t.find((function(t){return!t._node||t._node===e}))}}]),n}(x);return e.\u0275fac=function(t){return new(t||e)(v.Yb(v.n),v.Yb(S),v.Yb(v.v))},e.\u0275dir=v.Tb({type:e,selectors:[["cdk-nested-tree-node"]],contentQueries:function(e,t,n){var r;1&e&&v.Qb(n,E,!0),2&e&&v.Fc(r=v.nc())&&(t.nodeOutlet=r)},hostAttrs:[1,"cdk-tree-node","cdk-nested-tree-node"],hostVars:2,hostBindings:function(e,t){2&e&&v.Lb("aria-expanded",t.isExpanded)("role",t.role)},exportAs:["cdkNestedTreeNode"],features:[v.Jb([{provide:x,useExisting:e},{provide:w,useExisting:e}]),v.Hb]}),e}(),O=/([A-Za-z%]+)$/,T=function(){var e=function(){function e(t,n,r,i,o){var a=this;Object(u.a)(this,e),this._treeNode=t,this._tree=n,this._element=i,this._dir=o,this._destroyed=new f.a,this.indentUnits="px",this._indent=40,this._setPadding(),o&&o.change.pipe(Object(m.a)(this._destroyed)).subscribe((function(){return a._setPadding(!0)})),t._dataChanges.subscribe((function(){return a._setPadding()}))}return Object(l.a)(e,[{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_paddingIndent",value:function(){var e=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,t=null==this._level?e:this._level;return"number"==typeof t?"".concat(t*this._indent).concat(this.indentUnits):null}},{key:"_setPadding",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._paddingIndent();if(t!==this._currentPadding||e){var n=this._element.nativeElement,r=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"===r?"paddingRight":"paddingLeft";n.style[r]=t||"",n.style[i]="",this._currentPadding=t}}},{key:"level",get:function(){return this._level},set:function(e){this._level=Object(g.f)(e,null),this._setPadding()}},{key:"indent",get:function(){return this._indent},set:function(e){var t=e,n="px";if("string"==typeof e){var r=e.split(O);t=r[0],n=r[1]||n}this.indentUnits=n,this._indent=Object(g.f)(t),this._setPadding()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Yb(x),v.Yb(S),v.Yb(v.J),v.Yb(v.n),v.Yb(b.b,8))},e.\u0275dir=v.Tb({type:e,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),e}(),F=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._tree=t,this._treeNode=n,this._recursive=!1}return Object(l.a)(e,[{key:"_toggle",value:function(e){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),e.stopPropagation()}},{key:"recursive",get:function(){return this._recursive},set:function(e){this._recursive=Object(g.c)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(v.Yb(S),v.Yb(x))},e.\u0275dir=v.Tb({type:e,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(e,t){1&e&&v.mc("click",(function(e){return t._toggle(e)}))},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),e}(),M=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=v.Wb({type:e}),e.\u0275inj=v.Vb({factory:function(t){return new(t||e)},providers:[y.h,A]}),e}()},GMZp:function(e,t,n){"use strict";t.isObject=function(e){return null!==e&&"object"==typeof e}},GU7r:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return h}));var r=n("1OyB"),i=n("vuIU"),o=n("8LU1"),a=n("fXoL"),s=n("HDdC"),u=n("XNiG"),l=n("Kj3r"),c=function(){var e=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(a.Ub)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),d=function(){var e=function(){function e(t){Object(r.a)(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return Object(i.a)(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))}},{key:"observe",value:function(e){var t=this,n=Object(o.e)(e);return new s.a((function(e){var r=t._observeElement(n).subscribe(e);return function(){r.unsubscribe(),t._unobserveElement(n)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new u.a,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.ic(c))},e.\u0275prov=Object(a.Ub)({factory:function(){return new e(Object(a.ic)(c))},token:e,providedIn:"root"}),e}(),f=function(){var e=function(){function e(t,n,i){Object(r.a)(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new a.q,this._disabled=!1,this._currentSubscription=null}return Object(i.a)(e,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(Object(l.a)(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(o.c)(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Object(o.f)(e),this._subscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Yb(d),a.Yb(a.n),a.Yb(a.C))},e.\u0275dir=a.Tb({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),h=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=a.Wb({type:e}),e.\u0275inj=a.Vb({factory:function(t){return new(t||e)},providers:[c]}),e}()},GiSu:function(e,t,n){"use strict";var r=n("n3uD"),i=n("MkmW");t.empty={closed:!0,next:function(e){},error:function(e){if(r.config.useDeprecatedSynchronousErrorHandling)throw e;i.hostReportError(e)},complete:function(){}}},Gx5h:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("jGPC"),i=n("O4wp"),o=function(){function e(e){var t=this;this.router=e,this.paramTypes=new r.ParamTypes,this._decodeParams=!0,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.dispose=function(){return t.paramTypes.dispose()},this.baseHref=function(){return t.router.locationConfig.baseHref()},this.hashPrefix=function(e){return t.router.locationConfig.hashPrefix(e)},this.host=function(){return t.router.locationConfig.host()},this.html5Mode=function(){return t.router.locationConfig.html5Mode()},this.port=function(){return t.router.locationConfig.port()},this.protocol=function(){return t.router.locationConfig.protocol()}}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=Object(i.p)(e)?e:this._isCaseInsensitive},e.prototype.defaultSquashPolicy=function(e){if(Object(i.p)(e)&&!0!==e&&!1!==e&&!Object(i.v)(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=Object(i.p)(e)?e:this._defaultSquashPolicy},e.prototype.strictMode=function(e){return this._isStrictMode=Object(i.p)(e)?e:this._isStrictMode},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return Object(i.p)(t)?this:r},e}()},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("LRne"),i=n("bHdf");function o(){return Object(i.a)(1)}function a(){return o()(r.a.apply(void 0,arguments))}},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("1OyB"),i=n("vuIU"),o=n("7o/Q"),a=n("2QA8"),s=n("gRHU"),u=n("kJWO"),l=n("mCNh"),c=n("2fFW"),d=function(){var e=function(){function e(t){Object(r.a)(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return Object(i.a)(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[a.a])return e[a.a]()}return e||t||n?new o.a(e,t,n):new o.a(s.a)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),c.a.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof o.a?t:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=f(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:u.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:Object(l.b)(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=f(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}]),e}();return e.create=function(t){return new e(t)},e}();function f(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},"IbG+":function(e,t){!function(e){"use strict";var t={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(e){if(!N(e))return t;I(e.objectMaxDepth)&&(t.objectMaxDepth=r(e.objectMaxDepth)?e.objectMaxDepth:NaN),I(e.urlErrorParamsEnabled)&&X(e.urlErrorParamsEnabled)&&(t.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function r(e){return Y(e)&&e>0}function i(e,n){n=n||Error;var r="https://errors.angularjs.org/1.8.2/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,a,s=arguments[0],u=arguments[1],l="["+(e?e+":":"")+s+"] ",c=ce(arguments,2).map((function(e){return ze(e,t.objectMaxDepth)}));if(l+=u.replace(/\{\d+\}/g,(function(e){var t=+e.slice(1,-1);return t<c.length?c[t].replace(o,""):e})),l+="\n"+r+(e?e+"/":"")+s,t.urlErrorParamsEnabled)for(a=0,i="?";a<c.length;a++,i="&")l+=i+"p"+a+"="+encodeURIComponent(c[a]);return new n(l)}}var o,a,s,u,l=/^\/(.+)\/([a-z]*)$/,c=Object.prototype.hasOwnProperty,d=function(e){return z(e)?e.toLowerCase():e},f=function(e){return z(e)?e.toUpperCase():e},h=[].slice,p=[].splice,m=[].push,v=Object.prototype.toString,g=Object.getPrototypeOf,y=i("ng"),b=e.angular||(e.angular={}),_=0;function w(e){if(null==e||q(e))return!1;if(V(e)||z(e)||a&&e instanceof a)return!0;var t="length"in Object(e)&&e.length;return Y(t)&&(t>=0&&t-1 in e||"function"==typeof e.item)}function E(e,t,n){var r,i;if(e)if(W(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(V(e)||w(e)){var o="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(o||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==E)e.forEach(t,n,e);else if(H(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)c.call(e,r)&&t.call(n,e[r],r,e);return e}function C(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function A(e){return function(t,n){e(n,t)}}function k(){return++_}function S(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function x(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(N(a)||W(a))for(var s=Object.keys(a),u=0,l=s.length;u<l;u++){var c=s[u],d=a[c];n&&N(d)?U(d)?e[c]=new Date(d.valueOf()):G(d)?e[c]=new RegExp(d):d.nodeName?e[c]=d.cloneNode(!0):te(d)?e[c]=d.clone():"__proto__"!==c&&(N(e[c])||(e[c]=V(d)?[]:{}),x(e[c],[d],!0)):e[c]=d}}return S(e,r),e}function D(e){return x(e,h.call(arguments,1),!1)}function O(e){return x(e,h.call(arguments,1),!0)}function T(e){return parseInt(e,10)}o=e.document.documentMode;var F=Number.isNaN||function(e){return e!=e};function M(e,t){return D(Object.create(e),t)}function P(){}function L(e){return e}function R(e){return function(){return e}}function B(e){return W(e.toString)&&e.toString!==v}function j(e){return void 0===e}function I(e){return void 0!==e}function N(e){return null!==e&&"object"==typeof e}function H(e){return null!==e&&"object"==typeof e&&!g(e)}function z(e){return"string"==typeof e}function Y(e){return"number"==typeof e}function U(e){return"[object Date]"===v.call(e)}function V(e){return Array.isArray(e)||e instanceof Array}function $(e){switch(v.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function W(e){return"function"==typeof e}function G(e){return"[object RegExp]"===v.call(e)}function q(e){return e&&e.window===e}function K(e){return e&&e.$evalAsync&&e.$watch}function X(e){return"boolean"==typeof e}function Z(e){return e&&W(e.then)}P.$inject=[],L.$inject=[];var J=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Q=function(e){return z(e)?e.trim():e},ee=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function te(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function ne(e){return d(e.nodeName||e[0]&&e[0].nodeName)}function re(e,t){return-1!==Array.prototype.indexOf.call(e,t)}function ie(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function oe(e,t,n){var i,o=[],a=[];if(n=r(n)?n:NaN,t){if((i=t)&&Y(i.length)&&J.test(v.call(i))||"[object ArrayBuffer]"===v.call(t))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw y("cpi","Can't copy! Source and destination are identical.");return V(t)?t.length=0:E(t,(function(e,n){"$$hashKey"!==n&&delete t[n]})),o.push(e),a.push(t),s(e,t,n)}return u(e,n);function s(e,t,n){if(--n<0)return"...";var r,i=t.$$hashKey;if(V(e))for(var o=0,a=e.length;o<a;o++)t.push(u(e[o],n));else if(H(e))for(r in e)t[r]=u(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=u(e[r],n));else for(r in e)c.call(e,r)&&(t[r]=u(e[r],n));return S(t,i),t}function u(e,t){if(!N(e))return e;var n=o.indexOf(e);if(-1!==n)return a[n];if(q(e)||K(e))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=function(e){switch(v.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(u(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(W(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===i&&(i=V(e)?[]:Object.create(g(e)),r=!0),o.push(e),a.push(i),r?s(e,i,t):i}}function ae(e,t){return e===t||e!=e&&t!=t}function se(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o===typeof t&&"object"===o){if(!V(e)){if(U(e))return!!U(t)&&ae(e.getTime(),t.getTime());if(G(e))return!!G(t)&&e.toString()===t.toString();if(K(e)||K(t)||q(e)||q(t)||V(t)||U(t)||G(t))return!1;for(r in i=je(),e)if("$"!==r.charAt(0)&&!W(e[r])){if(!se(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&I(t[r])&&!W(t[r]))return!1;return!0}if(!V(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!se(e[r],t[r]))return!1;return!0}}return!1}var ue=function t(){if(!I(t.rules)){var n=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");t.rules={noUnsafeEval:!r||-1!==r.indexOf("no-unsafe-eval"),noInlineStyle:!r||-1!==r.indexOf("no-inline-style")}}else t.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return t.rules};function le(e,t,n){return e.concat(h.call(t,n))}function ce(e,t){return h.call(e,t||0)}function de(e,t){var n=arguments.length>2?ce(arguments,2):[];return!W(t)||t instanceof RegExp?t:n.length?function(){return t.apply(e,arguments.length?le(n,arguments,0):n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function fe(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:q(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":K(n)&&(r="$SCOPE"),r}function he(e,t){if(!j(e))return Y(t)||(t=t?2:null),JSON.stringify(e,fe,t)}function pe(e){return z(e)?JSON.parse(e):e}var me=/:/g;function ve(e,t){e=e.replace(me,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return F(n)?t:n}function ge(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function ye(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return ge(e,n*(ve(t,r)-r))}function be(e){e=a(e).clone().empty();var t=a("<div></div>").append(e).html();try{return e[0].nodeType===Ne?d(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(e,t){return"<"+d(t)}))}catch(n){return d(t)}}function _e(e){try{return decodeURIComponent(e)}catch(t){}}function we(e){var t={};return E((e||"").split("&"),(function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(r=e.substring(0,n),i=e.substring(n+1)),I(r=_e(r))&&(i=!I(i)||_e(i),c.call(t,r)?V(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))})),t}function Ee(e){return Ce(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Ce(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Ae=["ng-","data-ng-","ng:","x-ng-"],ke=function(t){var n=t.currentScript;if(!n)return!0;if(!(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every((function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}))}(e.document);function Se(t,n,r){N(r)||(r={}),r=D({strictDi:!1},r);var i=function(){if((t=a(t)).injector()){var i=t[0]===e.document?"document":be(t);throw y("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Kt(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply((function(){t.data("$injector",r),n(t)(e)}))}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&o.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!s.test(e.name))return i();e.name=e.name.replace(s,""),b.resumeBootstrap=function(e){return E(e,(function(e){n.push(e)})),i()},W(b.resumeDeferredBootstrap)&&b.resumeDeferredBootstrap()}function xe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function De(e){var t=b.element(e).injector();if(!t)throw y("test","no injector found for element argument to getTestability");return t.get("$$testability")}var Oe=/[A-Z]/g;function Te(e,t){return t=t||"_",e.replace(Oe,(function(e,n){return(n?t:"")+e.toLowerCase()}))}var Fe=!1;function Me(){ct.legacyXHTMLReplacement=!0}function Pe(e,t,n){if(!e)throw y("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Le(e,t,n){return n&&V(e)&&(e=e[e.length-1]),Pe(W(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function Re(e,t){if("hasOwnProperty"===e)throw y("badname","hasOwnProperty is not a valid {0} name",t)}function Be(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=a(h.call(e,0,i))),t.push(n));return t||e}function je(){return Object.create(null)}function Ie(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!B(e)||V(e)||U(e)?he(e):e.toString()}return e}var Ne=3;function He(e,t){if(V(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(N(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function ze(e,t){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):j(e)?"undefined":"string"!=typeof e?function(e,t){var n=[];return r(t)&&(e=b.copy(e,null,t)),JSON.stringify(e,(function(e,t){if(N(t=fe(e,t))){if(n.indexOf(t)>=0)return"...";n.push(t)}return t}))}(e,t):e}var Ye={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};ct.expando="ng339";var Ue=ct.cache={},Ve=1;ct._data=function(e){return this.cache[e[this.expando]]||{}};var $e=/-([a-z])/g,We=/^-ms-/,Ge={mouseleave:"mouseout",mouseenter:"mouseover"},qe=i("jqLite");function Ke(e,t){return t.toUpperCase()}function Xe(e){return e.replace($e,Ke)}var Ze=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Je=/<|&#?\w+;/,Qe=/<([\w:-]+)/,et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,tt={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};tt.tbody=tt.tfoot=tt.colgroup=tt.caption=tt.thead,tt.th=tt.td;var nt={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var rt in tt){var it=tt[rt],ot=it.slice().reverse();nt[rt]=[ot.length,"<"+ot.join("><")+">","</"+it.join("></")+">"]}function at(e){return!Je.test(e)}function st(e){var t=e.nodeType;return 1===t||!t||9===t}function ut(t,n){var r,i,a,s,u,l=n.createDocumentFragment(),c=[];if(at(t))c.push(n.createTextNode(t));else{if(r=l.appendChild(n.createElement("div")),i=(Qe.exec(t)||["",""])[1].toLowerCase(),s=ct.legacyXHTMLReplacement?t.replace(et,"<$1></$2>"):t,o<10)for(r.innerHTML=(a=nt[i]||nt._default)[1]+s+a[2],u=a[0];u--;)r=r.firstChild;else{for(u=(a=tt[i]||[]).length;--u>-1;)r.appendChild(e.document.createElement(a[u])),r=r.firstChild;r.innerHTML=s}c=le(c,r.childNodes),(r=l.firstChild).textContent=""}return l.textContent="",l.innerHTML="",E(c,(function(e){l.appendChild(e)})),l}nt.optgroup=nt.option;var lt=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function ct(t){if(t instanceof ct)return t;var n,r,i,o;if(z(t)&&(t=Q(t),n=!0),!(this instanceof ct)){if(n&&"<"!==t.charAt(0))throw qe("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ct(t)}n?Et(this,(i=i||e.document,(o=Ze.exec(r=t))?[i.createElement(o[1])]:(o=ut(r,i))?o.childNodes:[])):W(t)?xt(t):Et(this,t)}function dt(e){return e.cloneNode(!0)}function ft(e,t){!t&&st(e)&&a.cleanData([e]),e.querySelectorAll&&a.cleanData(e.querySelectorAll("*"))}function ht(e){var t;for(t in e)return!1;return!0}function pt(e){var t=e.ng339,n=t&&Ue[t],r=n&&n.events,i=n&&n.data;i&&!ht(i)||r&&!ht(r)||(delete Ue[t],e.ng339=void 0)}function mt(e,t,n,r){if(I(r))throw qe("offargs","jqLite#off() does not support the `selector` argument");var i=gt(e),o=i&&i.events,a=i&&i.handle;if(a){if(t){var s=function(t){var r=o[t];I(n)&&ie(r||[],n),I(n)&&r&&r.length>0||(e.removeEventListener(t,a),delete o[t])};E(t.split(" "),(function(e){s(e),Ge[e]&&s(Ge[e])}))}else for(t in o)"$destroy"!==t&&e.removeEventListener(t,a),delete o[t];pt(e)}}function vt(e,t){var n=e.ng339,r=n&&Ue[n];r&&(t?delete r.data[t]:r.data={},pt(e))}function gt(e,t){var n=e.ng339,r=n&&Ue[n];return t&&!r&&(e.ng339=n=++Ve,r=Ue[n]={events:{},data:{},handle:void 0}),r}function yt(e,t,n){if(st(e)){var r,i=I(n),o=!i&&t&&!N(t),a=!t,s=gt(e,!o),u=s&&s.data;if(i)u[Xe(t)]=n;else{if(a)return u;if(o)return u&&u[Xe(t)];for(r in t)u[Xe(r)]=t[r]}}}function bt(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function _t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;E(t.split(" "),(function(e){e=Q(e),r=r.replace(" "+e+" "," ")})),r!==n&&e.setAttribute("class",Q(r))}}function wt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;E(t.split(" "),(function(e){e=Q(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")})),r!==n&&e.setAttribute("class",Q(r))}}function Et(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ct(e,t){return At(e,"$"+(t||"ngController")+"Controller")}function At(e,t,n){9===e.nodeType&&(e=e.documentElement);for(var r=V(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(I(n=a.data(e,r[i])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function kt(e){for(ft(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function St(e,t){t||ft(e);var n=e.parentNode;n&&n.removeChild(e)}function xt(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}var Dt=ct.prototype={ready:xt,toString:function(){var e=[];return E(this,(function(t){e.push(""+t)})),"["+e.join(", ")+"]"},eq:function(e){return a(e>=0?this[e]:this[this.length+e])},length:0,push:m,sort:[].sort,splice:[].splice},Ot={};E("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(e){Ot[d(e)]=e}));var Tt={};E("input,select,option,textarea,button,form,details".split(","),(function(e){Tt[e]=!0}));var Ft={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Mt(e,t){var n=Ot[t.toLowerCase()];return n&&Tt[ne(e)]&&n}function Pt(e,t,n){n.call(e,t)}function Lt(e,t,n){var r=t.relatedTarget;r&&(r===e||lt.call(e,r))||n.call(e,t)}function Rt(){this.$get=function(){return D(ct,{hasClass:function(e,t){return e.attr&&(e=e[0]),bt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),wt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),_t(e,t)}})}}function Bt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return"function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||k)():r+":"+e}E({data:yt,removeData:vt,hasData:function(e){for(var t in Ue[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)vt(e[t]),mt(e[t])}},(function(e,t){ct[t]=e})),E({data:yt,inheritedData:At,scope:function(e){return a.data(e,"$scope")||At(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return a.data(e,"$isolateScope")||a.data(e,"$isolateScopeNoTemplate")},controller:Ct,injector:function(e){return At(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:bt,css:function(e,t,n){if(t=function(e){return Xe(e.replace(We,"ms-"))}(t),!I(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==Ne&&2!==i&&8!==i&&e.getAttribute){var o=d(t),a=Ot[o];if(!I(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!I(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(j(t)){var n=e.nodeType;return 1===n||n===Ne?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(j(t)){if(e.multiple&&"select"===ne(e)){var n=[];return E(e.options,(function(e){e.selected&&n.push(e.value||e.text)})),n}return e.value}e.value=t},html:function(e,t){if(j(t))return e.innerHTML;ft(e,!0),e.innerHTML=t},empty:kt},(function(e,t){ct.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==kt&&j(2===e.length&&e!==bt&&e!==Ct?t:n)){if(N(t)){for(r=0;r<o;r++)if(e===yt)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=j(a)?Math.min(o,1):o,u=0;u<s;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;r<o;r++)e(this[r],t,n);return this}})),E({removeData:vt,on:function(e,t,n,r){if(I(r))throw qe("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(st(e)){var i=gt(e,!0),o=i.events,a=i.handle;a||(a=i.handle=function(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(j(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Pt;o>1&&(i=He(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||((s=o[t]=[]).specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)Ge[t=s[u]]?(l(Ge[t],Lt),l(t,void 0,!0)):l(t)}},off:mt,one:function(e,t,n){(e=a(e)).on(t,(function r(){e.off(t,n),e.off(t,r)})),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;ft(e),E(new ct(t),(function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t}))},children:function(e){var t=[];return E(e.childNodes,(function(e){1===e.nodeType&&t.push(e)})),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(1===n||11===n)for(var r=0,i=(t=new ct(t)).length;r<i;r++)e.appendChild(t[r])},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;E(new ct(t),(function(t){e.insertBefore(t,n)}))}},wrap:function(e,t){var n,r,i;n=e,r=a(t).eq(0).clone()[0],(i=n.parentNode)&&i.replaceChild(r,n),r.appendChild(n)},remove:St,detach:function(e){St(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,o=(t=new ct(t)).length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:wt,removeClass:_t,toggleClass:function(e,t,n){t&&E(t.split(" "),(function(t){var r=n;j(r)&&(r=!bt(e,t)),(r?wt:_t)(e,t)}))},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:dt,triggerHandler:function(e,t,n){var r,i,o,a=t.type||t,s=gt(e),u=s&&s.events,l=u&&u[a];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:P,type:a,target:e},t.type&&(r=D(r,t)),i=He(l),o=n?[r].concat(n):[r],E(i,(function(t){r.isImmediatePropagationStopped()||t.apply(e,o)})))}},(function(e,t){ct.prototype[t]=function(t,n,r){for(var i,o=0,s=this.length;o<s;o++)j(i)?I(i=e(this[o],t,n,r))&&(i=a(i)):Et(i,e(this[o],t,n,r));return I(i)?i:this}})),ct.prototype.bind=ct.prototype.on,ct.prototype.unbind=ct.prototype.off;var jt=Object.create(null);function It(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}It.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return F(e)?jt:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(-1!==t)return this._values[t]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return-1!==t&&(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Nt=It,Ht=[function(){this.$get=[function(){return Nt}]}],zt=/^([^(]+?)=>/,Yt=/^[^(]*\(\s*([^)]*)\)/m,Ut=/,/,Vt=/^\s*(_?)(\S+?)\1\s*$/,$t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Wt=i("$injector");function Gt(e){return Function.prototype.toString.call(e)}function qt(e){var t=Gt(e).replace($t,"");return t.match(zt)||t.match(Yt)}function Kt(e,t){t=!0===t;var n={},r=[],i=new Nt,a={$provide:{provider:h(p),factory:h(v),service:h((function(e,t){return v(e,["$injector",function(e){return e.instantiate(t)}])})),value:h((function(e,t){return v(e,R(t),!1)})),constant:h((function(e,t){Re(e,"constant"),a[e]=t,l[e]=t})),decorator:function(e,t){var n=s.get(e+"Provider"),r=n.$get;n.$get=function(){var e=d.invoke(r,n);return d.invoke(t,null,{$delegate:e})}}}},s=a.$injector=y(a,(function(e,t){throw b.isString(t)&&r.push(t),Wt("unpr","Unknown provider: {0}",r.join(" <- "))})),l={},c=y(l,(function(e,t){var n=s.get(e+"Provider",t);return d.invoke(n.$get,n,void 0,e)})),d=c;a.$injectorProvider={$get:R(c)},d.modules=s.modules=je();var f=g(e);return(d=c.get("$injector")).strictDi=t,E(f,(function(e){e&&d.invoke(e)})),d.loadNewModules=function(e){E(g(e),(function(e){e&&d.invoke(e)}))},d;function h(e){return function(t,n){if(!N(t))return e(t,n);E(t,A(e))}}function p(e,t){if(Re(e,"service"),(W(t)||V(t))&&(t=s.instantiate(t)),!t.$get)throw Wt("pget","Provider '{0}' must define $get factory method.",e);return a[e+"Provider"]=t}function m(e,t){return function(){var n=d.invoke(t,this);if(j(n))throw Wt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function v(e,t,n){return p(e,{$get:!1!==n?m(e,t):t})}function g(e){Pe(j(e)||V(e),"modulesToLoad","not an array");var t,n=[];return E(e,(function(e){if(!i.get(e)){i.set(e,!0);try{z(e)?(t=u(e),d.modules[e]=t,n=n.concat(g(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):W(e)||V(e)?n.push(s.invoke(e)):Le(e,"module")}catch(o){throw V(e)&&(e=e[e.length-1]),o.message&&o.stack&&-1===o.stack.indexOf(o.message)&&(o=o.message+"\n"+o.stack),Wt("modulerr","Failed to instantiate module {0} due to:\n{1}",e,o.stack||o.message||o)}}function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=s.get(r[0]);i[r[1]].apply(i,r[2])}}})),n}function y(e,i){function s(t,o){if(e.hasOwnProperty(t)){if(e[t]===n)throw Wt("cdep","Circular dependency found: {0}",t+" <- "+r.join(" <- "));return e[t]}try{return r.unshift(t),e[t]=n,e[t]=i(t,o),e[t]}catch(a){throw e[t]===n&&delete e[t],a}finally{r.shift()}}function u(e,n,r){for(var i=[],o=Kt.$$annotate(e,t,r),a=0,u=o.length;a<u;a++){var l=o[a];if("string"!=typeof l)throw Wt("itkn","Incorrect injection token! Expected service name as string, got {0}",l);i.push(n&&n.hasOwnProperty(l)?n[l]:s(l,r))}return i}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i=u(e,n,r);return V(e)&&(e=e[e.length-1]),function(e){if(o||"function"!=typeof e)return!1;var t=e.$$ngIsClass;return X(t)||(t=e.$$ngIsClass=/^class\b/.test(Gt(e))),t}(e)?(i.unshift(null),new(Function.prototype.bind.apply(e,i))):e.apply(t,i)},instantiate:function(e,t,n){var r=V(e)?e[e.length-1]:e,i=u(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:s,annotate:Kt.$$annotate,has:function(t){return a.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}}function Xt(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=u.yOffset;if(W(e))e=e();else if(te(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else Y(e)||(e=0);return e}();if(t){var r=e.getBoundingClientRect().top;n.scrollBy(0,r-t)}}else n.scrollTo(0,0)}function u(e){var t,n,i;(e=z(e)?e:Y(e)?e.toString():r.hash())?(t=o.getElementById(e))?s(t):(n=o.getElementsByName(e),i=null,Array.prototype.some.call(n,(function(e){if("a"===ne(e))return i=e,!0})),(t=i)?s(t):"top"===e&&s(null)):s(null)}return t&&i.$watch((function(){return r.hash()}),(function(t,n){var r,o;t===n&&""===t||(r=function(){i.$evalAsync(u)},"complete"===(o=o||e).document.readyState?o.setTimeout(r):a(o).on("load",r))})),u}]}Kt.$$annotate=function(e,t,n){var r,i;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw z(n)&&n||(n=e.name||function(e){var t=qt(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),Wt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);E(qt(e)[1].split(Ut),(function(e){e.replace(Vt,(function(e,t,n){r.push(n)}))}))}e.$inject=r}}else V(e)?(Le(e[i=e.length-1],"fn"),r=e.slice(0,i)):Le(e,"fn",!0);return r};var Zt=i("$animate");function Jt(e,t){return e||t?e?t?(V(e)&&(e=e.join(" ")),V(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Qt(e){return N(e)?e:{}}var en=function(){this.$get=P},tn=function(){var e=new Nt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:P,on:P,off:P,pin:P,push:function(a,s,u,l){l&&l(),(u=u||{}).from&&a.css(u.from),u.to&&a.css(u.to),(u.addClass||u.removeClass)&&function(n,a,s){var u=e.get(n)||{},l=i(u,a,!0),c=i(u,s,!1);(l||c)&&(e.set(n,u),t.push(n),1===t.length&&r.$$postDigest(o))}(a,u.addClass,u.removeClass);var c=new n;return c.complete(),c}};function i(e,t,n){var r=!1;return t&&E(t=z(t)?t.split(" "):V(t)?t:[],(function(t){t&&(r=!0,e[t]=n)})),r}function o(){E(t,(function(t){var n=e.get(t);if(n){var r=function(e){z(e)&&(e=e.split(" "));var t=je();return E(e,(function(e){e.length&&(t[e]=!0)})),t}(t.attr("class")),i="",o="";E(n,(function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:o+=(o.length?" ":"")+t)})),E(t,(function(e){i&&wt(e,i),o&&_t(e,o)})),e.delete(t)}})),t.length=0}}]},nn=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Zt("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.customFilter=function(e){return 1===arguments.length&&(r=W(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)){var t=new RegExp("[(\\s|\\/)]ng-animate[(\\s|\\/)]");if(t.test(n.toString()))throw n=null,Zt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),t(n,r=r||i.parent(),i),e.push(n,"enter",Qt(o))},move:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),t(n,r=r||i.parent(),i),e.push(n,"move",Qt(o))},leave:function(t,n){return e.push(t,"leave",Qt(n),(function(){t.remove()}))},addClass:function(t,n,r){return(r=Qt(r)).addClass=Jt(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return(r=Qt(r)).removeClass=Jt(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return(i=Qt(i)).addClass=Jt(i.addClass,n),i.removeClass=Jt(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return(o=Qt(o)).from=o.from?D(o.from,n):n,o.to=o.to?D(o.to,r):r,o.tempClasses=Jt(o.tempClasses,i=i||"ng-inline-animate"),e.push(t,"animate",o)}}}]}],rn=function(){this.$get=["$$rAF",function(e){var t=[];function n(n){t.push(n),t.length>1||e((function(){for(var e=0;e<t.length;e++)t[e]();t=[]}))}return function(){var e=!1;return n((function(){e=!0})),function(t){e?t():n(t)}}}]},on=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function o(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?function(e){i(e,0,!1)}(e):t(e)},this._state=0}return o.chain=function(e,t){var n=0;!function r(){n!==e.length?e[n]((function(e){!1!==e?(n++,r()):t(!1)})):t(!0)}()},o.all=function(e,t){var n=0,r=!0;function i(i){r=r&&i,++n===e.length&&t(r)}E(e,(function(e){e.done(i)}))},o.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:P,getPromise:function(){if(!this.promise){var t=this;this.promise=e((function(e,n){t.done((function(t){!1===t?n():e()}))}))}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick((function(){t._resolve(e)})))},_resolve:function(e){2!==this._state&&(E(this._doneCallbacks,(function(t){t(e)})),this._doneCallbacks.length=0,this._state=2)}},o}]},an=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){var i=r||{};i.$$prepared||(i=oe(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(t.css(i.from),i.from=null);var o,a=new n;return{start:s,end:s};function s(){return e((function(){i.addClass&&(t.addClass(i.addClass),i.addClass=null),i.removeClass&&(t.removeClass(i.removeClass),i.removeClass=null),i.to&&(t.css(i.to),i.to=null),o||a.complete(),o=!0})),a}}}]};function sn(e,t,n,r,i){var o=this,s=e.location,u=e.history,l=e.setTimeout,c=e.clearTimeout,d={},f=i(n);o.isMock=!1,o.$$completeOutstandingRequest=f.completeTask,o.$$incOutstandingRequestCount=f.incTaskCount,o.notifyWhenNoOutstandingRequests=f.notifyWhenNoPendingTasks;var h,p,m=s.href,v=t.find("base"),g=null,y=r.history?function(){try{return u.state}catch(e){}}:P;A(),o.url=function(t,n,i){if(j(i)&&(i=null),s!==e.location&&(s=e.location),u!==e.history&&(u=e.history),t){var a=p===i;if(t=oi(t).href,m===t&&(!r.history||a))return o;var l=m&&ir(m)===ir(t);return m=t,p=i,!r.history||l&&a?(l||(g=t),n?s.replace(t):l?s.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):s.href=t,s.href!==t&&(g=t)):(u[n?"replaceState":"pushState"](i,"",t),A()),g&&(g=t),o}return function(e){return e.replace(/#$/,"")}(g||s.href)},o.state=function(){return h};var b=[],_=!1;function w(){g=null,k()}var C=null;function A(){se(h=j(h=y())?null:h,C)&&(h=C),C=h,p=h}function k(){var e=p;A(),m===o.url()&&e===h||(m=o.url(),p=h,E(b,(function(e){e(o.url(),h)})))}o.onUrlChange=function(t){return _||(r.history&&a(e).on("popstate",w),a(e).on("hashchange",w),_=!0),b.push(t),t},o.$$applicationDestroyed=function(){a(e).off("hashchange popstate",w)},o.$$checkUrlChange=k,o.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},o.defer=function(e,t,n){var r;return t=t||0,f.incTaskCount(n=n||f.DEFAULT_TASK_TYPE),r=l((function(){delete d[r],f.completeTask(e,n)}),t),d[r]=n,r},o.defer.cancel=function(e){if(d.hasOwnProperty(e)){var t=d[e];return delete d[e],c(e),f.completeTask(P,t),!0}return!1}}function un(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new sn(e,r,t,n,i)}]}function ln(){this.$get=function(){var e={};function t(t,n){if(t in e)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,o=D({},n,{id:t}),a=je(),s=n&&n.capacity||Number.MAX_VALUE,u=je(),l=null,c=null;return e[t]={put:function(e,t){if(!j(t))return s<Number.MAX_VALUE&&d(u[e]||(u[e]={key:e})),e in a||r++,a[e]=t,r>s&&this.remove(c.key),t},get:function(e){if(s<Number.MAX_VALUE){var t=u[e];if(!t)return;d(t)}return a[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=u[e];if(!t)return;t===l&&(l=t.p),t===c&&(c=t.n),f(t.n,t.p),delete u[e]}e in a&&(delete a[e],r--)},removeAll:function(){a=je(),r=0,u=je(),l=c=null},destroy:function(){a=null,o=null,u=null,delete e[t]},info:function(){return D({},o,{size:r})}};function d(e){e!==l&&(c?c===e&&(c=e.n):c=e,f(e.n,e.p),f(e,l),(l=e).n=null)}function f(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return E(e,(function(e,n){t[n]=e.info()})),t},t.get=function(t){return e[t]},t}}function cn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var dn=i("$compile"),fn=new function(){};function hn(t,n){var r={},i=/^\s*directive:\s*([\w-]+)\s+(.*)$/,s=/(([\w-]+)(?::([^;]+))?;?)/,u=function(e){var t,n={},r="ngSrc,ngSrcset,src,srcset".split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}(),l=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,f=/^(on[a-z]+|formaction)$/,h=je();function p(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=je();return E(e,(function(e,o){if((e=e.trim())in h)i[o]=h[e];else{var a=e.match(r);if(!a)throw dn("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(h[e]=i[o])}})),i}function m(e,t){var n={isolateScope:null,bindToController:null};if(N(e.scope)&&(!0===e.bindToController?(n.bindToController=p(e.scope,t,!0),n.isolateScope={}):n.isolateScope=p(e.scope,t,!1)),N(e.bindToController)&&(n.bindToController=p(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw dn("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(n,i){return Pe(n,"name"),Re(n,"directive"),z(n)?(function(e){var t=e.charAt(0);if(!t||t!==d(t))throw dn("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw dn("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),Pe(i,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],t.factory(n+"Directive",["$injector","$exceptionHandler",function(e,t){var i=[];return E(r[n],(function(r,o){try{var a=e.invoke(r);W(a)?a={compile:R(a)}:!a.compile&&a.link&&(a.compile=R(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(e){var t=e.require||e.controller&&e.name;return!V(t)&&N(t)&&E(t,(function(e,n){var r=e.match(l);e.substring(r[0].length)||(t[n]=r[0]+n)})),t}(a),a.restrict=function(e,t){if(e&&(!z(e)||!/[EACM]/.test(e)))throw dn("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(s){t(s)}})),i}])),r[n].push(i)):E(n,A(e)),this},this.component=function e(t,n){if(!z(t))return E(t,A(de(this,e))),this;var r=n.controller||function(){};function i(e){function t(t){return W(t)||V(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:En(n.controller)||n.controllerAs||"$ctrl",template:t(i),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return E(n,(function(e,t){"$"===t.charAt(0)&&(o[t]=e)})),o}return E(n,(function(e,t){"$"===t.charAt(0)&&(i[t]=e,W(r)&&(r[t]=e))})),i.$inject=["$injector"],this.directive(t,i)},this.aHrefSanitizationTrustedUrlList=function(e){return I(e)?(n.aHrefSanitizationTrustedUrlList(e),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(e){this.aHrefSanitizationTrustedUrlList=e}}),this.imgSrcSanitizationTrustedUrlList=function(e){return I(e)?(n.imgSrcSanitizationTrustedUrlList(e),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(e){this.imgSrcSanitizationTrustedUrlList=e}});var g=!0;this.debugInfoEnabled=function(e){return I(e)?(g=e,this):g};var y=!1;this.strictComponentBindingsEnabled=function(e){return I(e)?(y=e,this):y};var b=10;this.onChangesTtl=function(e){return arguments.length?(b=e,this):b};var _=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(_=e,this):_};var w=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(w=e,this):w};var C=je();this.addPropertySecurityContext=function(e,t,n){var r=e.toLowerCase()+"|"+t.toLowerCase();if(r in C&&C[r]!==n)throw dn("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",e,t,C[r],n);return C[r]=n,this},function(){function e(e,t){E(t,(function(t){C[t.toLowerCase()]=e}))}e(zr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(zr.CSS,["*|style"]),e(zr.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),e(zr.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),e(zr.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,h,p,A,k,S,x,O){var T,F=/^\w/,R=e.document.createElement("div"),B=_,I=w,H=b;function Y(){try{if(!--H)throw T=void 0,dn("infchng","{0} $onChanges() iterations reached. Aborting!\n",b);S.$apply((function(){for(var e=0,t=T.length;e<t;++e)try{T[e]()}catch(n){h(n)}T=void 0}))}finally{H++}}function U(e,t){if(!e)return e;if(!z(e))throw dn("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',t,e.toString());for(var n="",r=Q(e),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),a=Math.floor(o.length/2),s=0;s<a;s++){var u=2*s;n+=x.getTrustedMediaUrl(Q(o[u])),n+=" "+Q(o[u+1])}var l=Q(o[2*s]).split(/\s/);return n+=x.getTrustedMediaUrl(Q(l[0])),2===l.length&&(n+=" "+Q(l[1])),n}function G(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)this[i=o[n]]=t[i]}else this.$attr={};this.$$element=e}function q(e,t){try{e.addClass(t)}catch(n){}}G.prototype={$normalize:gn,$addClass:function(e){e&&e.length>0&&O.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&O.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=yn(e,t);n&&n.length&&O.addClass(this.$$element,n);var r=yn(t,e);r&&r.length&&O.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i=Mt(this.$$element[0],e),o=function(e){return Ft[e]}(e),a=e;i?(this.$$element.prop(e,t),r=i):o&&(this[o]=t,a=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Te(e,"-")),"img"===ne(this.$$element)&&"srcset"===e&&(this[e]=t=U(t,"$set('srcset', value)")),!1!==n&&(null===t||j(t)?this.$$element.removeAttr(r):F.test(r)?i&&!1===t?this.$$element.removeAttr(r):this.$$element.attr(r,t):function(e,t,n){R.innerHTML="<span "+t+">";var r=R.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var s=this.$$observers;s&&E(s[a],(function(e){try{e(t)}catch(n){h(n)}}))},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=je()),i=r[e]||(r[e]=[]);return i.push(t),S.$evalAsync((function(){i.$$inter||!n.hasOwnProperty(e)||j(n[e])||t(n[e])})),function(){ie(i,t)}}};var Z=n.startSymbol(),J=n.endSymbol(),ee="{{"===Z&&"}}"===J?L:function(e){return e.replace(/\{\{/g,Z).replace(/}}/g,J)},te=/^ng(Attr|Prop|On)([A-Z].*)$/,re=/^(.+)Start$/;return oe.$$addBindingInfo=g?function(e,t){var n=e.data("$binding")||[];V(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:P,oe.$$addBindingClass=g?function(e){q(e,"ng-binding")}:P,oe.$$addScopeInfo=g?function(e,t,n,r){e.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:P,oe.$$addScopeClass=g?function(e,t){q(e,t?"ng-isolate-scope":"ng-scope")}:P,oe.$$createComment=function(t,n){var r="";return g&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},oe;function oe(e,t,n,r,i){e instanceof a||(e=a(e));var o=ue(e,t,e,n,r,i);oe.$$addScopeClass(e);var s=null;return function(t,n,r){if(!e)throw dn("multilink","This element has already been linked.");Pe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new());var u,l,c,d=(r=r||{}).parentBoundTranscludeFn,f=r.transcludeControllers;if(d&&d.$$boundTransclude&&(d=d.$$boundTransclude),s||(s=(l=(u=r.futureParentElement)&&u[0])&&"foreignobject"!==ne(l)&&v.call(l).match(/SVG/)?"svg":"html"),c="html"!==s?a(xe(s,a("<div></div>").append(e).html())):n?Dt.clone.call(e):e,f)for(var h in f)c.data("$"+h+"Controller",f[h].instance);return oe.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,d),n||(e=o=null),c}}function ue(e,t,n,r,i,s){for(var u,l,c,d,f,h,p,m=[],v=V(e)||e instanceof a,g=0;g<e.length;g++)u=new G,11===o&&le(e,g,v),(c=(l=he(e[g],[],u,0===g?r:void 0,i)).length?ge(l,e[g],u,t,n,null,[],[],s):null)&&c.scope&&oe.$$addScopeClass(u.$$element),f=c&&c.terminal||!(d=e[g].childNodes)||!d.length?null:ue(d,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||f)&&(m.push(g,c,f),h=!0,p=p||c),s=null;return h?function(e,n,r,i){var o,s,u,l,c,d,f,h;if(p)for(h=new Array(n.length),c=0;c<m.length;c+=3)h[f=m[c]]=n[f];else h=n;for(c=0,d=m.length;c<d;)u=h[m[c++]],o=m[c++],s=m[c++],o?(o.scope?(l=e.$new(),oe.$$addScopeInfo(a(u),l)):l=e,o(s,l,u,r,o.transcludeOnThisElement?fe(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?fe(e,t):null)):s&&s(e,u.childNodes,void 0,i)}:null}function le(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Ne)for(;(r=o?i.nextSibling:e[t+1])&&r.nodeType===Ne;)i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}function fe(e,t,n){function r(r,i,o,a,s){return r||((r=e.$new(!1,s)).$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=je();for(var o in t.$$slots)i[o]=t.$$slots[o]?fe(e,t.$$slots[o],n):null;return r}function he(e,t,r,o,a){var u,l,c,d=r.$attr;switch(e.nodeType){case 1:we(t,gn(l=ne(e)),"E",o,a);for(var f,h,p,m,v,g=e.attributes,y=0,b=g&&g.length;y<b;y++){var _,w=!1,E=!1,C=!1,A=!1,k=!1;m=(f=g[y]).value,(v=(p=gn((h=f.name).toLowerCase())).match(te))?(C="Attr"===v[1],A="Prop"===v[1],k="On"===v[1],h=h.replace(mn,"").toLowerCase().substr(4+v[1].length).replace(/_(.)/g,(function(e,t){return t.toUpperCase()}))):(_=p.match(re))&&Ee(_[1])&&(w=h,E=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),A||k?(r[p]=m,d[p]=f.name,A?Oe(e,t,p,h):Fe(t,p,h)):(d[p=gn(h.toLowerCase())]=h,!C&&r.hasOwnProperty(p)||(r[p]=m,Mt(e,p)&&(r[p]=!0)),Me(e,t,m,p,C),we(t,p,"A",o,a,w,E))}if("input"===l&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!I)break;if(N(c=e.className)&&(c=c.animVal),z(c)&&""!==c)for(;u=s.exec(c);)we(t,p=gn(u[2]),"C",o,a)&&(r[p]=Q(u[3])),c=c.substr(u.index+u[0].length);break;case Ne:!function(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&oe.$$addBindingClass(t),function(e,t){var i=t.parent();n||oe.$$addBindingClass(i),oe.$$addBindingInfo(i,r.expressions),e.$watch(r,(function(e){t[0].nodeValue=e}))}}})}(t,e.nodeValue);break;case 8:if(!B)break;!function(e,t,n,r,o){try{var a=i.exec(e.nodeValue);if(a){var s=gn(a[1]);we(t,s,"M",r,o)&&(n[s]=Q(a[2]))}}catch(u){}}(e,t,r,o,a)}return t.sort(ke),t}function pe(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw dn("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);1===e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return a(r)}function me(e,t,n){return function(r,i,o,a,s){return i=pe(i[0],t,n),e(r,i,o,a,s)}}function ve(e,t,n,r,i,o){var a;return e?oe(t,n,r,i,o):function(){return a||(a=oe(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ge(t,n,r,i,o,s,u,l,c){c=c||{};for(var d,f,p,m,v,g=-Number.MAX_VALUE,y=c.newScopeDirective,b=c.controllerDirectives,_=c.newIsolateScopeDirective,w=c.templateDirective,C=c.nonTlbTranscludeDirective,A=!1,S=!1,x=c.hasElementTranscludeDirective,O=r.$$element=a(n),T=s,F=i,M=!1,P=!1,L=0,R=t.length;L<R;L++){var B=(d=t[L]).$$start,I=d.$$end;if(B&&(O=pe(n,B,I)),p=void 0,g>d.priority)break;if((v=d.scope)&&(d.templateUrl||(N(v)?(Se("new/isolated scope",_||y,d,O),_=d):Se("new/isolated scope",_,d,O)),y=y||d),f=d.name,!M&&(d.replace&&(d.templateUrl||d.template)||d.transclude&&!d.$$tlb)){for(var H,z=L+1;H=t[z++];)if(H.transclude&&!H.$$tlb||H.replace&&(H.templateUrl||H.template)){P=!0;break}M=!0}if(!d.templateUrl&&d.controller&&(b=b||je(),Se("'"+f+"' controller",b[f],d,O),b[f]=d),v=d.transclude)if(A=!0,d.$$tlb||(Se("transclusion",C,d,O),C=d),"element"===v)x=!0,g=d.priority,p=O,O=r.$$element=a(oe.$$createComment(f,r[f])),n=O[0],Le(o,ce(p),n),F=ve(P,p,i,g,T&&T.name,{nonTlbTranscludeDirective:C});else{var Y=je();if(N(v)){p=e.document.createDocumentFragment();var U=je(),$=je();for(var q in E(v,(function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,U[e]=t,Y[t]=null,$[t]=n})),E(O.contents(),(function(t){var n=U[gn(ne(t))];n?($[n]=!0,Y[n]=Y[n]||e.document.createDocumentFragment(),Y[n].appendChild(t)):p.appendChild(t)})),E($,(function(e,t){if(!e)throw dn("reqslot","Required transclusion slot `{0}` was not filled.",t)})),Y)if(Y[q]){var X=a(Y[q].childNodes);Y[q]=ve(P,X,i)}p=a(p.childNodes)}else p=a(dt(n)).contents();O.empty(),(F=ve(P,p,i,void 0,void 0,{needsNewScope:d.$$isolateScope||d.$$newScope})).$$slots=Y}if(d.template)if(S=!0,Se("template",w,d,O),w=d,v=W(d.template)?d.template(O,r):d.template,v=ee(v),d.replace){if(T=d,p=at(v)?[]:bn(xe(d.templateNamespace,Q(v))),n=p[0],1!==p.length||1!==n.nodeType)throw dn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f,"");Le(o,O,n);var Z={$attr:{}},J=he(n,[],Z),te=t.splice(L+1,t.length-(L+1));(_||y)&&_e(J,_,y),t=t.concat(J).concat(te),Ce(r,Z),R=t.length}else O.html(v);if(d.templateUrl)S=!0,Se("template",w,d,O),w=d,d.replace&&(T=d),ae=Ae(t.splice(L,t.length-L),O,r,o,A&&F,u,l,{controllerDirectives:b,newScopeDirective:y!==d&&y,newIsolateScopeDirective:_,templateDirective:w,nonTlbTranscludeDirective:C}),R=t.length;else if(d.compile)try{m=d.compile(O,r,F);var re=d.$$originalDirective||d;W(m)?ie(null,de(re,m),B,I):m&&ie(de(re,m.pre),de(re,m.post),B,I)}catch(se){h(se,be(O))}d.terminal&&(ae.terminal=!0,g=Math.max(g,d.priority))}return ae.scope=y&&!0===y.scope,ae.transcludeOnThisElement=A,ae.templateOnThisElement=S,ae.transclude=F,c.hasElementTranscludeDirective=x,ae;function ie(e,t,n,r){e&&(n&&(e=me(e,n,r)),e.require=d.require,e.directiveName=f,(_===d||d.$$isolateScope)&&(e=Re(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=me(t,n,r)),t.require=d.require,t.directiveName=f,(_===d||d.$$isolateScope)&&(t=Re(t,{isolateScope:!0})),l.push(t))}function ae(e,t,i,o,s){var c,d,f,p,m,v,g,C,A,S;for(var O in n===i?(A=r,C=r.$$element):A=new G(C=a(i),r),m=t,_?p=t.$new(!0):y&&(m=t.$parent),s&&((g=function(e,t,n,r){var i;if(K(e)||(r=n,n=t,t=e,e=void 0),x&&(i=v),n||(n=x?C.parent():C),!r)return s(e,t,i,n,P);var o=s.$$slots[r];if(o)return o(e,t,i,n,P);if(j(o))throw dn("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,be(C))}).$$boundTransclude=s,g.isSlotFilled=function(e){return!!s.$$slots[e]}),b&&(v=function(e,t,n,r,i,o,a){var s=je();for(var u in r){var l=r[u],c=l.controller;"@"===c&&(c=t[l.name]);var d=k(c,{$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}(C,A,g,b,p,t,_)),_&&(oe.$$addScopeInfo(C,p,!0,!(w&&(w===_||w===_.$$originalDirective))),oe.$$addScopeClass(C,!0),p.$$isolateBindings=_.$$isolateBindings,(S=He(t,A,p,p.$$isolateBindings,_)).removeWatches&&p.$on("$destroy",S.removeWatches)),v){var T=b[O],F=v[O],M=T.$$bindings.bindToController;F.instance=F(),C.data("$"+T.name+"Controller",F.instance),F.bindingInfo=He(m,A,F.instance,M,T)}for(E(b,(function(e,t){var n=e.require;e.bindToController&&!V(n)&&N(n)&&D(v[t].instance,ye(t,n,C,v))})),E(v,(function(e){var t=e.instance;if(W(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(se){h(se)}if(W(t.$onInit))try{t.$onInit()}catch(se){h(se)}W(t.$doCheck)&&(m.$watch((function(){t.$doCheck()})),t.$doCheck()),W(t.$onDestroy)&&m.$on("$destroy",(function(){t.$onDestroy()}))})),c=0,d=u.length;c<d;c++)Be(f=u[c],f.isolateScope?p:t,C,A,f.require&&ye(f.directiveName,f.require,C,v),g);var P=t;for(_&&(_.template||null===_.templateUrl)&&(P=p),e&&e(P,i.childNodes,void 0,s),c=l.length-1;c>=0;c--)Be(f=l[c],f.isolateScope?p:t,C,A,f.require&&ye(f.directiveName,f.require,C,v),g);E(v,(function(e){var t=e.instance;W(t.$postLink)&&t.$postLink()}))}}function ye(e,t,n,r){var i;if(z(t)){var o=t.match(l),a=t.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():i=(i=r&&r[a])&&i.instance,!i){var c="$"+a+"Controller";i="^^"===s&&n[0]&&9===n[0].nodeType?null:s?n.inheritedData(c):n.data(c)}if(!i&&!u)throw dn("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(V(t)){i=[];for(var d=0,f=t.length;d<f;d++)i[d]=ye(e,t[d],n,r)}else N(t)&&(i={},E(t,(function(t,o){i[o]=ye(e,t,n,r)})));return i||null}function _e(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=M(e[r],{$$isolateScope:t,$$newScope:n})}function we(e,n,i,o,a,s,u){if(n===a)return null;var l=null;if(r.hasOwnProperty(n))for(var c,d=t.get(n+"Directive"),f=0,h=d.length;f<h;f++)if(c=d[f],(j(o)||o>c.priority)&&-1!==c.restrict.indexOf(i)){if(s&&(c=M(c,{$$start:s,$$end:u})),!c.$$bindings){var p=c.$$bindings=m(c,c.name);N(p.isolateScope)&&(c.$$isolateBindings=p.isolateScope)}e.push(c),l=c}return l}function Ee(e){if(r.hasOwnProperty(e))for(var n=t.get(e+"Directive"),i=0,o=n.length;i<o;i++)if(n[i].multiElement)return!0;return!1}function Ce(e,t){var n=t.$attr,r=e.$attr;E(e,(function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r.length?r+=("style"===i?";":" ")+t[i]:r=t[i]),e.$set(i,r,!0,n[i]))})),E(t,(function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))}))}function Ae(e,t,n,r,i,o,s,u){var l,c,d=[],f=t[0],m=e.shift(),v=M(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),g=W(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,y=m.templateNamespace;return t.empty(),p(g).then((function(h){var p,b,_,w;if(h=ee(h),m.replace){if(_=at(h)?[]:bn(xe(y,Q(h))),p=_[0],1!==_.length||1!==p.nodeType)throw dn("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,g);b={$attr:{}},Le(r,t,p);var C=he(p,[],b);N(m.scope)&&_e(C,!0),e=C.concat(e),Ce(n,b)}else p=f,t.html(h);for(e.unshift(v),l=ge(e,p,n,i,t,m,o,s,u),E(r,(function(e,n){e===p&&(r[n]=t[0])})),c=ue(t[0].childNodes,i);d.length;){var A=d.shift(),k=d.shift(),S=d.shift(),x=d.shift(),D=t[0];if(!A.$$destroyed){if(k!==f){var O=k.className;u.hasElementTranscludeDirective&&m.replace||(D=dt(p)),Le(S,a(k),D),q(a(D),O)}w=l.transcludeOnThisElement?fe(A,l.transclude,x):x,l(c,A,D,r,w)}}d=null})).catch((function(e){$(e)&&h(e)})),function(e,t,n,r,i){var o=i;t.$$destroyed||(d?d.push(t,n,r,o):(l.transcludeOnThisElement&&(o=fe(t,l.transclude,i)),l(c,t,n,r,o)))}}function ke(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function Se(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw dn("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,be(r))}function xe(t,n){switch(t=d(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function De(e){return U(x.valueOf(e),"ng-prop-srcset")}function Oe(e,t,n,r){if(f.test(r))throw dn("nodomevents","Property bindings for HTML DOM event properties are disallowed");var i=ne(e),o=function(e,t){var n=t.toLowerCase();return C[e+"|"+n]||C["*|"+n]}(i,r),a=L;"srcset"!==r||"img"!==i&&"source"!==i?o&&(a=x.getTrusted.bind(x,o)):a=De,t.push({priority:100,compile:function(e,t){var i=A(t[n]),o=A(t[n],(function(e){return x.valueOf(e)}));return{pre:function(e,t){function n(){var n=i(e);t[0][r]=a(n)}n(),e.$watch(o,n)}}}})}function Fe(e,t,n){e.push(Oo(A,S,h,t,n,!1))}function Me(e,t,r,i,o){var a=ne(e),s=function(e,t){return"srcdoc"===t?x.HTML:"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?x.RESOURCE_URL:x.MEDIA_URL:"xlinkHref"===t?"image"===e?x.MEDIA_URL:"a"===e?x.URL:x.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?x.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:x.URL}(a,i),l=u[i]||o,c=n(r,!o,s,l);if(c){if("multiple"===i&&"select"===a)throw dn("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",be(e));if(f.test(i))throw dn("nodomevents","Interpolations for HTML DOM event attributes are disallowed");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var a=o.$$observers||(o.$$observers=je()),u=o[i];u!==r&&(c=u&&n(u,!0,s,l),r=u),c&&(o[i]=c(e),(a[i]||(a[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(c,(function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)})))}}}})}}function Le(t,n,r){var i,o,s=n[0],u=n.length,l=s.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===s){t[i++]=r;for(var c=i,d=c+u-1,f=t.length;c<f;c++,d++)d<f?t[c]=t[d]:delete t[c];t.length-=u-1,t.context===s&&(t.context=r);break}l&&l.replaceChild(r,s);var h=e.document.createDocumentFragment();for(i=0;i<u;i++)h.appendChild(n[i]);for(a.hasData(s)&&(a.data(r,a.data(s)),a(s).off("$destroy")),a.cleanData(h.querySelectorAll("*")),i=1;i<u;i++)delete n[i];n[0]=r,n.length=1}function Re(e,t){return D((function(){return e.apply(null,arguments)}),e,t)}function Be(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(a){h(a,be(n))}}function Ie(e,t){if(y)throw dn("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",e,t)}function He(e,t,r,i,o){var a,s=[],u={};function l(t,n,i){W(r.$onChanges)&&!ae(n,i)&&(T||(e.$$postDigest(Y),T=[]),a||(a={},T.push(d)),a[t]&&(i=a[t].previousValue),a[t]=new pn(i,n))}function d(){r.$onChanges(a),a=void 0}return E(i,(function(i,a){var d,f,h,p,m,v=i.attrName,g=i.optional;switch(i.mode){case"@":g||c.call(t,v)||(Ie(v,o.name),r[a]=t[v]=void 0),m=t.$observe(v,(function(e){(z(e)||X(e))&&(l(a,e,r[a]),r[a]=e)})),t.$$observers[v].$$scope=e,z(d=t[v])?r[a]=n(d)(e):X(d)&&(r[a]=d),u[a]=new pn(fn,r[a]),s.push(m);break;case"=":if(!c.call(t,v)){if(g)break;Ie(v,o.name),t[v]=void 0}if(g&&!t[v])break;f=A(t[v]),p=f.literal?se:ae,h=f.assign||function(){throw d=r[a]=f(e),dn("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,o.name)},d=r[a]=f(e);var y=function(t){return p(t,r[a])||(p(t,d)?h(e,t=r[a]):r[a]=t),d=t};y.$stateful=!0,m=i.collection?e.$watchCollection(t[v],y):e.$watch(A(t[v],y),null,f.literal),s.push(m);break;case"<":if(!c.call(t,v)){if(g)break;Ie(v,o.name),t[v]=void 0}if(g&&!t[v])break;var b=(f=A(t[v])).literal,_=r[a]=f(e);u[a]=new pn(fn,r[a]),m=e[i.collection?"$watchCollection":"$watch"](f,(function(e,t){if(t===e){if(t===_||b&&se(t,_))return;t=_}l(a,e,t),r[a]=e})),s.push(m);break;case"&":if(g||c.call(t,v)||Ie(v,o.name),(f=t.hasOwnProperty(v)?A(t[v]):P)===P&&g)break;r[a]=function(t){return f(e,t)}}})),{initialChanges:u,removeWatches:s.length&&function(){for(var e=0,t=s.length;e<t;++e)s[e]()}}}}]}function pn(e,t){this.previousValue=e,this.currentValue=t}hn.$inject=["$provide","$$sanitizeUriProvider"],pn.prototype.isFirstChange=function(){return this.previousValue===fn};var mn=/^((?:x|data)[:\-_])/i,vn=/[:\-_]+(.)/g;function gn(e){return e.replace(mn,"").replace(vn,(function(e,t,n){return n?t.toUpperCase():t}))}function yn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function bn(e){var t=(e=a(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(8===n.nodeType||n.nodeType===Ne&&""===n.nodeValue.trim())&&p.call(e,t,1)}return e}var _n=i("$controller"),wn=/^(\S+)(\s+as\s+([\w$]+))?$/;function En(e,t){if(t&&z(t))return t;if(z(e)){var n=wn.exec(e);if(n)return n[3]}}function Cn(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){Re(t,"controller"),N(t)?D(e,t):e[t]=n},this.$get=["$injector",function(t){return function(r,i,o,a){var s,u,l,c;if(o=!0===o,a&&z(a)&&(c=a),z(r)){if(!(u=r.match(wn)))throw _n("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);if(c=c||u[3],!(r=e.hasOwnProperty(l=u[1])?e[l]:function(e,t,n){if(!t)return e;for(var r=t.split("."),i=r.length,o=0;o<i;o++)e&&(e=e[r[o]]);return e}(i.$scope,l)))throw _n("ctrlreg","The controller with the name '{0}' is not registered.",l);Le(r,l,!0)}if(o){var d=(V(r)?r[r.length-1]:r).prototype;return s=Object.create(d||null),c&&n(i,c,s,l||r.name),D((function(){var e=t.invoke(r,s,i,l);return e!==s&&(N(e)||W(e))&&(s=e,c&&n(i,c,s,l||r.name)),s}),{instance:s,identifier:c})}return s=t.instantiate(r,i,l),c&&n(i,c,s,l||r.name),s};function n(e,t,n,r){if(!e||!N(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function An(){this.$get=["$window",function(e){return a(e.document)}]}function kn(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;function i(){r=n.hidden}return e.on("visibilitychange",i),t.$on("$destroy",(function(){e.off("visibilitychange",i)})),function(){return r}}]}function Sn(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var xn=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof a&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Dn={"Content-Type":"application/json;charset=utf-8"},On=/^\[|^\{(?!\{)/,Tn={"[":/]$/,"{":/}$/},Fn=/^\)]\}',?\n/,Mn=i("$http");function Pn(e){return N(e)?U(e)?e.toISOString():he(e):e}function Ln(){this.$get=function(){return function(e){if(!e)return"";var t=[];return C(e,(function(e,n){null===e||j(e)||W(e)||(V(e)?E(e,(function(e){t.push(Ce(n)+"="+Ce(Pn(e)))})):t.push(Ce(n)+"="+Ce(Pn(e))))})),t.join("&")}}}function Rn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,r,i){V(n)?E(n,(function(t,n){e(t,r+"["+(N(t)?n:"")+"]")})):N(n)&&!U(n)?C(n,(function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))})):(W(n)&&(n=n()),t.push(Ce(r)+"="+(null==n?"":Ce(Pn(n)))))}(e,"",!0),t.join("&")}}}function Bn(e,t){if(z(e)){var n=e.replace(Fn,"").trim();if(n){var r=t("Content-Type"),i=r&&0===r.indexOf("application/json");if(i||(a=(o=n).match(On))&&Tn[a[0]].test(o))try{e=pe(n)}catch(s){if(!i)return e;throw Mn("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,s)}}}var o,a;return e}function jn(e){var t,n=je();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return z(e)?E(e.split("\n"),(function(e){t=e.indexOf(":"),r(d(Q(e.substr(0,t))),Q(e.substr(t+1)))})):N(e)&&E(e,(function(e,t){r(d(t),Q(e))})),n}function In(e){var t;return function(n){if(t||(t=jn(e)),n){var r=t[d(n)];return void 0===r&&(r=null),r}return t}}function Nn(e,t,n,r){return W(r)?r(e,t,n):(E(r,(function(r){e=r(e,t,n)})),e)}function Hn(e){return 200<=e&&e<300}function zn(){var e=this.defaults={transformResponse:[Bn],transformRequest:[function(e){return!N(e)||"[object File]"===v.call(e)||function(e){return"[object Blob]"===v.call(e)}(e)||function(e){return"[object FormData]"===v.call(e)}(e)?e:he(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:He(Dn),put:He(Dn),patch:He(Dn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return I(e)?(t=!!e,this):t};var n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(e){this.xsrfTrustedOrigins=e}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,l,c,h,p){var m=u("$http");e.paramSerializer=z(e.paramSerializer)?h.get(e.paramSerializer):e.paramSerializer;var v=[];E(n,(function(e){v.unshift(z(e)?h.get(e):h.invoke(e))}));var g,y=(g=[ri].concat(r.map(oi)),function(e){var t=oi(e);return g.some(ai.bind(null,t))});function b(n){if(!N(n))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!z(p.valueOf(n.url)))throw i("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var r=D({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},n);r.headers=function(t){var n,r,i,o=e.headers,a=D({},t.headers);o=D({},o.common,o[d(t.method)]);e:for(n in o){for(i in r=d(n),a)if(d(i)===r)continue e;a[n]=o[n]}return function(e,t){var n,r={};return E(e,(function(e,i){W(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e})),r}(a,He(t))}(n),r.method=f(r.method),r.paramSerializer=z(r.paramSerializer)?h.get(r.paramSerializer):r.paramSerializer,o.$$incOutstandingRequestCount("$http");var u=[],g=[],_=c.resolve(r);return E(v,(function(e){(e.request||e.requestError)&&u.unshift(e.request,e.requestError),(e.response||e.responseError)&&g.push(e.response,e.responseError)})),_=w(_,u),(_=w(_=_.then((function(n){var r=n.headers,i=Nn(n.data,In(r),void 0,n.transformRequest);return j(i)&&E(r,(function(e,t){"content-type"===d(t)&&delete r[t]})),j(n.withCredentials)&&!j(e.withCredentials)&&(n.withCredentials=e.withCredentials),function(n,r){var i,o,u=c.defer(),f=u.promise,h=n.headers,v="jsonp"===d(n.method),g=n.url;if(v?g=p.getTrustedResourceUrl(g):z(g)||(g=p.valueOf(g)),g=function(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(g,n.paramSerializer(n.params)),v&&(g=function(e,t){var n=e.split("?");if(n.length>2)throw Mn("badjsonp",'Illegal use more than one "?", in url, "{1}"',e);return E(we(n[1]),(function(n,r){if("JSON_CALLBACK"===n)throw Mn("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(r===t)throw Mn("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e)})),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(g,n.jsonpCallbackParam)),b.pendingRequests.push(n),f.then(k,k),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(i=N(n.cache)?n.cache:N(e.cache)?e.cache:m),i&&(I(o=i.get(g))?Z(o)?o.then(A,A):V(o)?C(o[1],o[0],He(o[2]),o[3],o[4]):C(o,200,{},"OK","complete"):i.put(g,f)),j(o)){var _=y(n.url)?s()[n.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(h[n.xsrfHeaderName||e.xsrfHeaderName]=_),a(n.method,g,r,(function(e,n,r,o,a){function s(){C(n,e,r,o,a)}i&&(Hn(e)?i.put(g,[e,n,jn(r),o,a]):i.remove(g)),t?l.$applyAsync(s):(s(),l.$$phase||l.$apply())}),h,n.timeout,n.withCredentials,n.responseType,w(n.eventHandlers),w(n.uploadEventHandlers))}return f;function w(e){if(e){var n={};return E(e,(function(e,r){n[r]=function(n){function r(){e(n)}t?l.$applyAsync(r):l.$$phase?r():l.$apply(r)}})),n}}function C(e,t,r,i,o){(Hn(t=t>=-1?t:0)?u.resolve:u.reject)({data:e,status:t,headers:In(r),config:n,statusText:i,xhrStatus:o})}function A(e){C(e.data,e.status,He(e.headers()),e.statusText,e.xhrStatus)}function k(){var e=b.pendingRequests.indexOf(n);-1!==e&&b.pendingRequests.splice(e,1)}}(n,i).then(C,C)})),g)).finally((function(){o.$$completeOutstandingRequest(P,"$http")}));function w(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function C(e){var t=D({},e);return t.data=Nn(e.data,e.headers,e.status,r.transformResponse),Hn(e.status)?t:c.reject(t)}}return b.pendingRequests=[],function(e){E(arguments,(function(e){b[e]=function(t,n){return b(D({},n||{},{method:e,url:t}))}}))}("get","delete","head","jsonp"),function(e){E(arguments,(function(e){b[e]=function(t,n,r){return b(D({},r||{},{method:e,url:t,data:n}))}}))}("post","put","patch"),b.defaults=e,b}]}function Yn(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Un(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return function(e,t,n,r,i){return function(o,a,s,u,l,c,f,h,p,m){if(a=a||e.url(),"jsonp"===d(o))var v=r.createCallback(a),g=function(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}(a,v,(function(e,t){var n=200===e&&r.getResponse(v);C(u,e,n,"",t,"complete"),r.removeCallback(v)}));else{var y=t(o,a),b=!1;if(y.open(o,a,!0),E(l,(function(e,t){I(e)&&y.setRequestHeader(t,e)})),y.onload=function(){var e=y.statusText||"",t="response"in y?y.response:y.responseText,n=1223===y.status?204:y.status;0===n&&(n=t?200:"file"===oi(a).protocol?404:0),C(u,n,t,y.getAllResponseHeaders(),e,"complete")},y.onerror=function(){C(u,-1,null,null,"","error")},y.ontimeout=function(){C(u,-1,null,null,"","timeout")},y.onabort=function(){C(u,-1,null,null,"",b?"timeout":"abort")},E(p,(function(e,t){y.addEventListener(t,e)})),E(m,(function(e,t){y.upload.addEventListener(t,e)})),f&&(y.withCredentials=!0),h)try{y.responseType=h}catch(A){if("json"!==h)throw A}y.send(j(s)?null:s)}if(c>0)var _=n((function(){w("timeout")}),c);else Z(c)&&c.then((function(){w(I(c.$$timeoutId)?"timeout":"abort")}));function w(e){b="timeout"===e,g&&g(),y&&y.abort()}function C(e,t,r,i,o,a){I(_)&&n.cancel(_),g=y=null,e(t,r,i,o,a)}}}(e,r,e.defer,t,n[0])}]}var Vn=b.$interpolateMinErr=i("$interpolate");function $n(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var o=e.length,a=t.length,s=new RegExp(e.replace(/./g,l),"g"),u=new RegExp(t.replace(/./g,l),"g");function l(e){return"\\\\\\"+e}function c(n){return n.replace(s,e).replace(u,t)}function d(e,t,n,r){var i=e.$watch((function(e){return i(),r(e)}),t,n);return i}function f(s,u,l,f){var h=l===i.URL||l===i.MEDIA_URL;if(!s.length||-1===s.indexOf(e)){if(u)return;var p=c(s);h&&(p=i.getTrusted(l,p));var m=R(p);return m.exp=s,m.expressions=[],m.$$watchDelegate=d,m}f=!!f;for(var v,g,y,b,_,w=0,E=[],C=s.length,A=[],k=[];w<C;){if(-1===(v=s.indexOf(e,w))||-1===(g=s.indexOf(t,v+o))){w!==C&&A.push(c(s.substring(w)));break}w!==v&&A.push(c(s.substring(w,v))),b=s.substring(v+o,g),E.push(b),w=g+a,k.push(A.length),A.push("")}_=1===A.length&&1===k.length;var S=h&&_?void 0:function(e){try{return e=l&&!h?i.getTrusted(l,e):i.valueOf(e),f&&!I(e)?e:Ie(e)}catch(t){r(Vn.interr(s,t))}};if(y=E.map((function(e){return n(e,S)})),!u||E.length){var x=function(e){for(var t=0,n=E.length;t<n;t++){if(f&&j(e[t]))return;A[k[t]]=e[t]}return h?i.getTrusted(l,_?A[0]:A.join("")):(l&&A.length>1&&Vn.throwNoconcat(s),A.join(""))};return D((function(e){var t=0,n=E.length,i=new Array(n);try{for(;t<n;t++)i[t]=y[t](e);return x(i)}catch(o){r(Vn.interr(s,o))}}),{exp:s,expressions:E,$$watchDelegate:function(e,t){var n;return e.$watchGroup(y,(function(r,i){var o=x(r);t.call(this,o,r!==i?n:o,e),n=o}))}})}}return f.startSymbol=function(){return e},f.endSymbol=function(){return t},f}]}Vn.throwNoconcat=function(e){throw Vn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},Vn.interr=function(e,t){return Vn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Wn=i("$interval");function Gn(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(e){t.clearInterval(e),delete n[e]},i=e((function(e,r,i){var o=t.setInterval(e,r);return n[o]=i,o}),r);return i.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Wn("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(e.$$intervalId))return!1;var t=e.$$intervalId,i=n[t];return Br(i.promise),i.reject("canceled"),r(t),!0},i}]}function qn(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(i,o){return function(a,s,u,l){var c=arguments.length>4,d=c?ce(arguments,4):[],f=0,h=I(l)&&!l,p=(h?n:t).defer(),m=p.promise;function v(){c?a.apply(null,d):a(f)}function g(){h?e.defer(v):r.$evalAsync(v),p.notify(f++),u>0&&f>=u&&(p.resolve(f),o(m.$$intervalId)),h||r.$apply()}return u=I(u)?u:0,m.$$intervalId=i(g,s,p,h),m}}}]}var Kn=function(){this.$get=function(){var e=b.callbacks,t={};return{createCallback:function(n){var r="_"+(e.$$counter++).toString(36),i="angular.callbacks."+r,o=function(e){var t=function e(t){e.data=t,e.called=!0};return t.id=e,t}(r);return t[i]=e[r]=o,i},wasCalled:function(e){return t[e].called},getResponse:function(e){return t[e].data},removeCallback:function(n){delete e[t[n].id],delete t[n]}}}},Xn=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Zn={http:80,https:443,ftp:21},Jn=i("$location");function Qn(e,t){var n=oi(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=T(n.port)||Zn[n.protocol]||null}var er=/^\s*[\\/]{2,}/;function tr(e,t,n){if(er.test(e))throw Jn("badpath",'Invalid url "{0}".',e);var r="/"!==e.charAt(0);r&&(e="/"+e);var i=oi(e),o=r&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname;t.$$path=function(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}(o,n),t.$$search=we(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function nr(e,t){return e.slice(0,t.length)===t}function rr(e,t){if(nr(t,e))return t.substr(e.length)}function ir(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function or(e,t,n){this.$$html5=!0,n=n||"",Qn(e,this),this.$$parse=function(e){var n=rr(t,e);if(!z(n))throw Jn("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);tr(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return t+e.substr(1)},this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(I(o=rr(e,r))?(a=o,s=n&&I(o=rr(n,o))?t+(rr("/",o)||o):e+a):I(o=rr(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s);var o,a,s}}function ar(e,t,n){Qn(e,this),this.$$parse=function(r){var i,o=rr(e,r)||rr(t,r);j(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",j(o)&&(e=r,this.replace())):j(i=rr(n,o))&&(i=o),tr(i,this,!1),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return nr(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e))?r[1]:e}(this.$$path,i,e),this.$$compose()},this.$$normalizeUrl=function(t){return e+(t?n+t:"")},this.$$parseLinkUrl=function(t,n){return ir(e)===ir(t)&&(this.$$parse(t),!0)}}function sr(e,t,n){this.$$html5=!0,ar.apply(this,arguments),this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(e===ir(r)?o=r:(a=rr(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o);var o,a},this.$$normalizeUrl=function(t){return e+n+t}}var ur={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){var e,t,n,r,i;this.$$url=(e=this.$$path,t=this.$$hash,n=[],E(this.$$search,(function(e,t){V(e)?E(e,(function(e){n.push(Ce(t,!0)+(!0===e?"":"="+Ce(e,!0)))})):n.push(Ce(t,!0)+(!0===e?"":"="+Ce(e,!0)))})),r=n.length?n.join("&"):"",i=t?"#"+Ee(t):"",function(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=Ee(t[n].replace(/%2F/g,"/"));return t.join("/")}(e)+(r?"?"+r:"")+i),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:lr("$$absUrl"),url:function(e){if(j(e))return this.$$url;var t=Xn.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:lr("$$protocol"),host:lr("$$host"),port:lr("$$port"),path:cr("$$path",(function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e})),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(z(e)||Y(e))e=e.toString(),this.$$search=we(e);else{if(!N(e))throw Jn("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");E(e=oe(e,{}),(function(t,n){null==t&&delete e[n]})),this.$$search=e}break;default:j(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:cr("$$hash",(function(e){return null!==e?e.toString():""})),replace:function(){return this.$$replace=!0,this}};function lr(e){return function(){return this[e]}}function cr(e,t){return function(n){return j(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function dr(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return I(t)?(e=t,this):e},this.html5Mode=function(e){return X(e)?(t.enabled=e,this):N(e)?(X(e.enabled)&&(t.enabled=e.enabled),X(e.requireBase)&&(t.requireBase=e.requireBase),(X(e.rewriteLinks)||z(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,s){var u,l,c,d,f=r.baseHref(),h=r.url();if(t.enabled){if(!f&&t.requireBase)throw Jn("nobase","$location in HTML5 mode requires a <base> tag to be present!");c=(d=h).substring(0,d.indexOf("/",d.indexOf("//")+2))+(f||"/"),l=i.history?or:sr}else c=ir(h),l=ar;var p=function(e){return e.substr(0,ir(e).lastIndexOf("/")+1)}(c);(u=new l(c,p,"#"+e)).$$parseLinkUrl(h,h),u.$$state=r.state();var m=/^\s*(javascript|mailto):/i;function v(e,t,n){var i=u.url(),o=u.$$state;try{r.url(e,t,n),u.$$state=r.state()}catch(a){throw u.url(i),u.$$state=o,a}}o.on("click",(function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=a(e.target);"a"!==ne(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!z(i)||!j(s.attr(i))){var l=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");N(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=oi(l.animVal).href),m.test(l)||!l||s.attr("target")||e.isDefaultPrevented()||u.$$parseLinkUrl(l,c)&&(e.preventDefault(),u.absUrl()!==r.url()&&n.$apply())}}})),u.absUrl()!==h&&r.url(u.absUrl(),!0);var g=!0;return r.onUrlChange((function(e,t){nr(e,p)?(n.$evalAsync((function(){var r,i=u.absUrl(),o=u.$$state;u.$$parse(e),u.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,u.absUrl()===e&&(r?(u.$$parse(i),u.$$state=o,v(i,!1,o)):(g=!1,y(i,o)))})),n.$$phase||n.$digest()):s.location.href=e})),n.$watch((function(){if(g||u.$$urlUpdatedByLocation){u.$$urlUpdatedByLocation=!1;var e=r.url(),t=u.absUrl(),o=r.state(),a=u.$$replace,s=!((l=e)===(c=t)||oi(l).href===oi(c).href)||u.$$html5&&i.history&&o!==u.$$state;(g||s)&&(g=!1,n.$evalAsync((function(){var t=u.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,u.$$state,o).defaultPrevented;u.absUrl()===t&&(r?(u.$$parse(e),u.$$state=o):(s&&v(t,a,o===u.$$state?null:u.$$state),y(e,o)))})))}var l,c;u.$$replace=!1})),u;function y(e,t){n.$broadcast("$locationChangeSuccess",u.absUrl(),e,u.$$state,t)}}]}function fr(){var e=!0,t=this;this.debugEnabled=function(t){return I(t)?(e=t,this):e},this.$get=["$window",function(n){var r,i=o||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:s("log"),info:s("info"),warn:s("warn"),error:s("error"),debug:(r=s("debug"),function(){e&&r.apply(t,arguments)})};function a(e){return $(e)&&(e.stack&&i?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function s(e){var t=n.console||{},r=t[e]||t.log||P;return function(){var e=[];return E(arguments,(function(t){e.push(a(t))})),Function.prototype.apply.call(r,t,e)}}}]}E([sr,ar,or],(function(e){e.prototype=Object.create(ur),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==or||!this.$$html5)throw Jn("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=j(t)?null:t,this.$$urlUpdatedByLocation=!0,this}}));var hr=i("$parse"),pr={}.constructor.prototype.valueOf;function mr(e){return e+""}var vr=je();E("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(e){vr[e]=!0}));var gr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},yr=function(e){this.options=e};yr.prototype={constructor:yr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=vr[n],o=vr[r];if(vr[t]||i||o){var a=o?r:i?n:t;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||"\xa0"===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=I(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw hr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=d(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else n+=gr[o]||o;i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var br=function(e,t){this.lexer=e,this.options=t};function _r(e,t){return void 0!==e?e:t}function wr(e,t){return void 0===e?t:void 0===t?e:e+t}function Er(e,t,n){var r,i,o,a=e.isPure=function(e,t){switch(e.type){case br.MemberExpression:if(e.computed)return!1;break;case br.UnaryExpression:return 1;case br.BinaryExpression:return"+"!==e.operator&&1;case br.CallExpression:return!1}return void 0===t?2:t}(e,n);switch(e.type){case br.Program:r=!0,E(e.body,(function(e){Er(e.expression,t,a),r=r&&e.expression.constant})),e.constant=r;break;case br.Literal:e.constant=!0,e.toWatch=[];break;case br.UnaryExpression:Er(e.argument,t,a),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case br.BinaryExpression:Er(e.left,t,a),Er(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case br.LogicalExpression:Er(e.left,t,a),Er(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case br.ConditionalExpression:Er(e.test,t,a),Er(e.alternate,t,a),Er(e.consequent,t,a),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case br.Identifier:e.constant=!1,e.toWatch=[e];break;case br.MemberExpression:Er(e.object,t,a),e.computed&&Er(e.property,t,a),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case br.CallExpression:o=!!e.filter&&function(e,t){return!e(t).$stateful}(t,e.callee.name),r=o,i=[],E(e.arguments,(function(e){Er(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)})),e.constant=r,e.toWatch=o?i:[e];break;case br.AssignmentExpression:Er(e.left,t,a),Er(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case br.ArrayExpression:r=!0,i=[],E(e.elements,(function(e){Er(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)})),e.constant=r,e.toWatch=i;break;case br.ObjectExpression:r=!0,i=[],E(e.properties,(function(e){Er(e.value,t,a),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(Er(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))})),e.constant=r,e.toWatch=i;break;case br.ThisExpression:case br.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Cr(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length||n[0]!==t?n:void 0}}function Ar(e){return e.type===br.Identifier||e.type===br.MemberExpression}function kr(e){if(1===e.body.length&&Ar(e.body[0].expression))return{type:br.AssignmentExpression,left:e.body[0].expression,right:{type:br.NGValueParameter},operator:"="}}function Sr(e){this.$filter=e}function xr(e){this.$filter=e}function Dr(e,t,n){this.ast=new br(e,n),this.astCompiler=n.csp?new xr(t):new Sr(t)}function Or(e){return W(e.valueOf)?e.valueOf():pr.call(e)}function Tr(){var e,t,n=je(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(i){var o={csp:ue().noUnsafeEval,literals:oe(r),isIdentifierStart:W(e)&&e,isIdentifierContinue:W(t)&&t};return a.$$getAst=function(e){return new Dr(new yr(o),i,o).getAst(e).ast},a;function a(e,t){var r,a;switch(typeof e){case"string":return e=e.trim(),(r=n[a=e])||(r=new Dr(new yr(o),i,o).parse(e),n[a]=f(r)),h(r,t);case"function":return h(e,t);default:return h(P,t)}}function s(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&"object"==typeof(e=Or(e))&&!n)&&(e===t||e!=e&&t!=t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],e.$watch((function(e){var t=a(e);return s(t,u,a.isPure)||(o=r(e,void 0,void 0,[t]),u=t&&Or(t)),o}),t,n,i)}for(var l=[],c=[],d=0,f=a.length;d<f;d++)l[d]=s,c[d]=null;return e.$watch((function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var u=a[n](e);(t||(t=!s(u,l[n],a[n].isPure)))&&(c[n]=u,l[n]=u&&Or(u))}return t&&(o=r(e,void 0,void 0,c)),o}),t,n,i)}function l(e,t,n,r,i){var o,a,s=r.literal?c:I,u=r.$$intercepted||r,l=r.$$interceptor||L,d=r.inputs&&!u.inputs;return p.literal=r.literal,p.constant=r.constant,p.inputs=r.inputs,f(p),o=e.$watch(p,t,n,i);function h(){s(a)&&o()}function p(e,t,n,r){return a=d&&r?r[0]:u(e,t,n,r),s(a)&&e.$$postDigest(h),l(a)}}function c(e){var t=!0;return E(e,(function(e){I(e)||(t=!1)})),t}function d(e,t,n,r){var i=e.$watch((function(e){return i(),r(e)}),t,n);return i}function f(e){return e.constant?e.$$watchDelegate=d:e.oneTime?e.$$watchDelegate=l:e.inputs&&(e.$$watchDelegate=u),e}function h(e,t){if(!t)return e;e.$$interceptor&&(t=function(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,a){var s=n&&a?a[0]:e(r,i,o,a);return t(s)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map((function(e){return 2===e.isPure?function(t){return e(t)}:e})))),f(r)}}]}function Fr(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return Pr((function(e){t.$evalAsync(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return I(t)?(e=t,this):e}}function Mr(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return Pr((function(e){t.defer(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return I(t)?(e=t,this):e}}function Pr(e,t,n){var r=i("$q",TypeError),o=0,a=[];function s(){return new u}function u(){var e=this.promise=new l;this.resolve=function(t){f(e,t)},this.reject=function(t){h(e,t)},this.notify=function(t){m(e,t)}}function l(){this.$$state={status:0}}function c(){for(;!o&&a.length;){var e=a.shift();if(!Lr(e)){Rr(e);var n="Possibly unhandled rejection: "+ze(e.value);$(e.value)?t(e.value,n):t(n)}}}function d(r){!n||r.pending||2!==r.status||Lr(r)||(0===o&&0===a.length&&e(c),a.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++o,e((function(){!function(r){var i,a,s;s=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var u=0,l=s.length;u<l;++u){Rr(r),a=s[u][0],i=s[u][r.status];try{W(i)?f(a,i(r.value)):1===r.status?f(a,r.value):h(a,r.value)}catch(d){h(a,d),d&&!0===d.$$passToExceptionHandler&&t(d)}}}finally{--o,n&&0===o&&e(c)}}(r)})))}function f(e,t){e.$$state.status||(t===e?p(e,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",t)):function e(t,n){var r,i=!1;try{(N(n)||W(n))&&(r=n.then),W(r)?(t.$$state.status=-1,r.call(n,(function(n){i||(i=!0,e(t,n))}),o,(function(e){m(t,e)}))):(t.$$state.value=n,t.$$state.status=1,d(t.$$state))}catch(a){o(a)}function o(e){i||(i=!0,p(t,e))}}(e,t))}function h(e,t){e.$$state.status||p(e,t)}function p(e,t){e.$$state.value=t,e.$$state.status=2,d(e.$$state)}function m(n,r){var i=n.$$state.pending;n.$$state.status<=0&&i&&i.length&&e((function(){for(var e,n,o=0,a=i.length;o<a;o++){n=i[o][0],e=i[o][3];try{m(n,W(e)?e(r):r)}catch(s){t(s)}}}))}function v(e){var t=new l;return h(t,e),t}function g(e,t,n){var r=null;try{W(n)&&(r=n())}catch(i){return v(i)}return Z(r)?r.then((function(){return t(e)}),v):t(e)}function y(e,t,n,r){var i=new l;return f(i,e),i.then(t,n,r)}D(l.prototype,{then:function(e,t,n){if(j(e)&&j(t)&&j(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&d(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then((function(t){return g(t,b,e)}),(function(t){return g(t,v,e)}),t)}});var b=y;function _(e){if(!W(e))throw r("norslvr","Expected resolverFn, got '{0}'",e);var t=new l;return e((function(e){f(t,e)}),(function(e){h(t,e)})),t}return _.prototype=l.prototype,_.defer=s,_.reject=v,_.when=y,_.resolve=b,_.all=function(e){var t=new l,n=0,r=V(e)?[]:{};return E(e,(function(e,i){n++,y(e).then((function(e){r[i]=e,--n||f(t,r)}),(function(e){h(t,e)}))})),0===n&&f(t,r),t},_.race=function(e){var t=s();return E(e,(function(e){y(e).then(t.resolve,t.reject)})),t.promise},_}function Lr(e){return!!e.pur}function Rr(e){e.pur=!0}function Br(e){e.$$state&&Rr(e.$$state)}function jr(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function Ir(){var e=10,t=i("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(i,a,s){function u(e){e.currentScope.$$destroyed=!0}function l(){this.$id=k(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}l.prototype={constructor:l,$new:function(e,t){var n;return t=t||this,e?(n=new l).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=k(),this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",u),n},$watch:function(e,t,r,i){var o=a(e),s=W(t)?t:P;if(o.$$watchDelegate)return o.$$watchDelegate(this,s,r,o,e);var u=this,l=u.$$watchers,c={fn:s,last:_,get:o,exp:i||e,eq:!!r};return n=null,l||((l=u.$$watchers=[]).$$digestWatchIndex=-1),l.unshift(c),l.$$digestWatchIndex++,y(this,1),function(){var e=ie(l,c);e>=0&&(y(u,-1),e<l.$$digestWatchIndex&&l.$$digestWatchIndex--),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),r=new Array(e.length),i=[],o=this,a=!1,s=!0;if(!e.length){var u=!0;return o.$evalAsync((function(){u&&t(r,r,o)})),function(){u=!1}}if(1===e.length)return this.$watch(e[0],(function(e,i,o){r[0]=e,n[0]=i,t(r,e===i?r:n,o)}));function l(){a=!1;try{s?(s=!1,t(r,r,o)):t(r,n,o)}finally{for(var i=0;i<e.length;i++)n[i]=r[i]}}return E(e,(function(e,t){var n=o.$watch(e,(function(e){r[t]=e,a||(a=!0,o.$evalAsync(l))}));i.push(n)})),function(){for(;i.length;)i.shift()()}},$watchCollection:function(e,t){m.$$pure=a(e).literal,m.$stateful=!m.$$pure;var n,r,i,o=this,s=t.length>1,u=0,l=a(e,m),d=[],f={},h=!0,p=0;function m(e){var t,i,o,a;if(!j(n=e)){if(N(n))if(w(n)){r!==d&&(p=(r=d).length=0,u++),p!==(t=n.length)&&(u++,r.length=p=t);for(var s=0;s<t;s++)o=n[s],(a=r[s])!=a&&o!=o||a===o||(u++,r[s]=o)}else{for(i in r!==f&&(r=f={},p=0,u++),t=0,n)c.call(n,i)&&(t++,o=n[i],a=r[i],i in r?a!=a&&o!=o||a===o||(u++,r[i]=o):(p++,r[i]=o,u++));if(p>t)for(i in u++,r)c.call(n,i)||(p--,delete r[i])}else r!==n&&(r=n,u++);return u}}return this.$watch(l,(function(){if(h?(h=!1,t(n,n,o)):t(n,i,o),s)if(N(n))if(w(n)){i=new Array(n.length);for(var e=0;e<n.length;e++)i[e]=n[e]}else for(var r in i={},n)c.call(n,r)&&(i[r]=n[r]);else i=n}))},$digest:function(){var o,a,u,l,c,p,y,b,w,E=e,A=f.length?d:this,k=[];v("$digest"),s.$$checkUrlChange(),this===d&&null!==r&&(s.defer.cancel(r),C()),n=null;do{c=!1,y=A;for(var S=0;S<f.length;S++){try{(0,(w=f[S]).fn)(w.scope,w.locals)}catch(x){i(x)}n=null}f.length=0;e:do{if(l=!y.$$suspended&&y.$$watchers)for(l.$$digestWatchIndex=l.length;l.$$digestWatchIndex--;)try{if(o=l[l.$$digestWatchIndex])if((a=(0,o.get)(y))===(u=o.last)||(o.eq?se(a,u):F(a)&&F(u))){if(o===n){c=!1;break e}}else c=!0,n=o,o.last=o.eq?oe(a,null):a,(0,o.fn)(a,u===_?a:u,y),E<5&&(k[b=4-E]||(k[b]=[]),k[b].push({msg:W(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:a,oldVal:u}))}catch(x){i(x)}if(!(p=!y.$$suspended&&y.$$watchersCount&&y.$$childHead||y!==A&&y.$$nextSibling))for(;y!==A&&!(p=y.$$nextSibling);)y=y.$parent}while(y=p);if((c||f.length)&&!E--)throw g(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,k)}while(c||f.length);for(g();m<h.length;)try{h[m++]()}catch(x){i(x)}h.length=m=0,s.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===d&&s.$$applicationDestroyed(),y(this,-this.$$watchersCount),this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=P,this.$on=this.$watch=this.$watchGroup=function(){return P},this.$$listeners={},this.$$nextSibling=null,function e(t){9===o&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e,t){d.$$phase||f.length||s.defer((function(){f.length&&d.$digest()}),null,"$evalAsync"),f.push({scope:this,fn:a(e),locals:t})},$$postDigest:function(e){h.push(e)},$apply:function(e){try{v("$apply");try{return this.$eval(e)}finally{g()}}catch(t){i(t)}finally{try{d.$digest()}catch(t){throw i(t),t}}},$applyAsync:function(e){var t=this;e&&p.push((function(){t.$eval(e)})),e=a(e),null===r&&(r=s.defer((function(){d.$apply(C)}),null,"$applyAsync"))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(delete n[r],b(i,1,e))}},$emit:function(e,t){var n,r,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=le([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.currentScope=s,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,c)}catch(d){i(d)}else n.splice(r,1),r--,o--;if(u)break;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,t){var n=this,r=n,o=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,u,l,c=le([a],arguments,1);r=o;){for(a.currentScope=r,u=0,l=(s=r.$$listeners[e]||[]).length;u<l;u++)if(s[u])try{s[u].apply(null,c)}catch(d){i(d)}else s.splice(u,1),u--,l--;if(!(o=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(o=r.$$nextSibling);)r=r.$parent}return a.currentScope=null,a}};var d=new l,f=d.$$asyncQueue=[],h=d.$$postDigestQueue=[],p=d.$$applyAsyncQueue=[],m=0;return d;function v(e){if(d.$$phase)throw t("inprog","{0} already in progress",d.$$phase);d.$$phase=e}function g(){d.$$phase=null}function y(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function _(){}function C(){for(;p.length;)try{p.shift()()}catch(e){i(e)}r=null}}]}function Nr(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(t){return I(t)?(e=t,this):e},this.imgSrcSanitizationTrustedUrlList=function(e){return I(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=oi(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}br.Program="Program",br.ExpressionStatement="ExpressionStatement",br.AssignmentExpression="AssignmentExpression",br.ConditionalExpression="ConditionalExpression",br.LogicalExpression="LogicalExpression",br.BinaryExpression="BinaryExpression",br.UnaryExpression="UnaryExpression",br.CallExpression="CallExpression",br.MemberExpression="MemberExpression",br.Identifier="Identifier",br.Literal="Literal",br.ArrayExpression="ArrayExpression",br.Property="Property",br.ObjectExpression="ObjectExpression",br.ThisExpression="ThisExpression",br.LocalsExpression="LocalsExpression",br.NGValueParameter="NGValueParameter",br.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:br.Program,body:e}},expressionStatement:function(){return{type:br.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Ar(e))throw hr("lval","Trying to assign a value to a non l-value");e={type:br.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:br.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:br.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:br.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:br.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:br.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:br.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:br.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:br.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=oe(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:br.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:br.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:br.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:br.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:br.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:br.Identifier,name:e.text}},constant:function(){return{type:br.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:br.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:br.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:br.ObjectExpression,properties:t}},throwError:function(e,t){throw hr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw hr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw hr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:br.ThisExpression},$locals:{type:br.LocalsExpression}}},Sr.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Er(e,t.$filter);var n,r="";if(this.stage="assign",n=kr(e)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var o=Cr(e.body);t.stage="inputs",E(o,(function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(e);var a='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",s=new Function("$filter","getStringValue","ifDefined","plus",a)(this.$filter,mr,_r,wr);return this.state=this.stage=void 0,s},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return E(t,(function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")})),t.length&&e.push("fn.inputs=["+t.map((function(e){return e.name})).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return E(this.state.filters,(function(n,r){e.push(n+"=$filter("+t.escape(r)+")")})),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,i,o){var a,s,u,l,c,d=this;if(r=r||P,!o&&I(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));switch(e.type){case br.Program:E(e.body,(function(t,n){d.recurse(t.expression,void 0,void 0,(function(e){s=e})),n!==e.body.length-1?d.current().body.push(s,";"):d.return_(s)}));break;case br.Literal:l=this.escape(e.value),this.assign(t,l),r(t||l);break;case br.UnaryExpression:this.recurse(e.argument,void 0,void 0,(function(e){s=e})),l=e.operator+"("+this.ifDefined(s,0)+")",this.assign(t,l),r(l);break;case br.BinaryExpression:this.recurse(e.left,void 0,void 0,(function(e){a=e})),this.recurse(e.right,void 0,void 0,(function(e){s=e})),l="+"===e.operator?this.plus(a,s):"-"===e.operator?this.ifDefined(a,0)+e.operator+this.ifDefined(s,0):"("+a+")"+e.operator+"("+s+")",this.assign(t,l),r(l);break;case br.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),r(t);break;case br.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),r(t);break;case br.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),(function(){d.if_("inputs"===d.stage||"s",(function(){i&&1!==i&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))}))}),t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),r(t);break;case br.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,a,void 0,(function(){d.if_(d.notNull(a),(function(){e.computed?(s=d.nextId(),d.recurse(e.property,s),d.getStringValue(s),i&&1!==i&&d.if_(d.not(d.computedMember(a,s)),d.lazyAssign(d.computedMember(a,s),"{}")),l=d.computedMember(a,s),d.assign(t,l),n&&(n.computed=!0,n.name=s)):(i&&1!==i&&d.if_(d.isNull(d.nonComputedMember(a,e.property.name)),d.lazyAssign(d.nonComputedMember(a,e.property.name),"{}")),l=d.nonComputedMember(a,e.property.name),d.assign(t,l),n&&(n.computed=!1,n.name=e.property.name))}),(function(){d.assign(t,"undefined")})),r(t)}),!!i);break;case br.CallExpression:t=t||this.nextId(),e.filter?(s=d.filter(e.callee.name),u=[],E(e.arguments,(function(e){var t=d.nextId();d.recurse(e,t),u.push(t)})),l=s+"("+u.join(",")+")",d.assign(t,l),r(t)):(s=d.nextId(),u=[],d.recurse(e.callee,s,a={},(function(){d.if_(d.notNull(s),(function(){E(e.arguments,(function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,(function(e){u.push(e)}))})),l=a.name?d.member(a.context,a.name,a.computed)+"("+u.join(",")+")":s+"("+u.join(",")+")",d.assign(t,l)}),(function(){d.assign(t,"undefined")})),r(t)})));break;case br.AssignmentExpression:s=this.nextId(),this.recurse(e.left,void 0,a={},(function(){d.if_(d.notNull(a.context),(function(){d.recurse(e.right,s),l=d.member(a.context,a.name,a.computed)+e.operator+s,d.assign(t,l),r(t||l)}))}),1);break;case br.ArrayExpression:u=[],E(e.elements,(function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,(function(e){u.push(e)}))})),l="["+u.join(",")+"]",this.assign(t,l),r(t||l);break;case br.ObjectExpression:u=[],c=!1,E(e.properties,(function(e){e.computed&&(c=!0)})),c?(t=t||this.nextId(),this.assign(t,"{}"),E(e.properties,(function(e){e.computed?(a=d.nextId(),d.recurse(e.key,a)):a=e.key.type===br.Identifier?e.key.name:""+e.key.value,s=d.nextId(),d.recurse(e.value,s),d.assign(d.member(t,a,e.computed),s)}))):(E(e.properties,(function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,(function(e){u.push(d.escape(t.key.type===br.Identifier?t.key.name:""+t.key.value)+":"+e)}))})),l="{"+u.join(",")+"}",this.assign(t,l)),r(t||l);break;case br.ThisExpression:this.assign(t,"s"),r(t||"s");break;case br.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case br.NGValueParameter:this.assign(t,"v"),r(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(z(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(Y(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw hr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},xr.prototype={compile:function(e){var t,n,r=this;Er(e,r.$filter),(t=kr(e))&&(n=this.recurse(t));var i,o=Cr(e.body);o&&(i=[],E(o,(function(e,t){var n=r.recurse(e);n.isPure=e.isPure,e.input=n,i.push(n),e.watchId=t})));var a=[];E(e.body,(function(e){a.push(r.recurse(e.expression))}));var s=0===e.body.length?P:1===e.body.length?a[0]:function(e,t){var n;return E(a,(function(r){n=r(e,t)})),n};return n&&(s.assign=function(e,t,r){return n(e,r,t)}),i&&(s.inputs=i),s},recurse:function(e,t,n){var r,i,o,a=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case br.Literal:return this.value(e.value,t);case br.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case br.BinaryExpression:case br.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case br.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case br.Identifier:return a.identifier(e.name,t,n);case br.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case br.CallExpression:return o=[],E(e.arguments,(function(e){o.push(a.recurse(e))})),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(e,n,r,a){for(var s=[],u=0;u<o.length;++u)s.push(o[u](e,n,r,a));var l=i.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:l}:l}:function(e,n,r,a){var s,u=i(e,n,r,a);if(null!=u.value){for(var l=[],c=0;c<o.length;++c)l.push(o[c](e,n,r,a));s=u.value.apply(u.context,l)}return t?{value:s}:s};case br.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(e,n,o,a){var s=r(e,n,o,a),u=i(e,n,o,a);return s.context[s.name]=u,t?{value:u}:u};case br.ArrayExpression:return o=[],E(e.elements,(function(e){o.push(a.recurse(e))})),function(e,n,r,i){for(var a=[],s=0;s<o.length;++s)a.push(o[s](e,n,r,i));return t?{value:a}:a};case br.ObjectExpression:return o=[],E(e.properties,(function(e){o.push(e.computed?{key:a.recurse(e.key),computed:!0,value:a.recurse(e.value)}:{key:e.key.type===br.Identifier?e.key.name:""+e.key.value,computed:!1,value:a.recurse(e.value)})})),function(e,n,r,i){for(var a={},s=0;s<o.length;++s)o[s].computed?a[o[s].key(e,n,r,i)]=o[s].value(e,n,r,i):a[o[s].key]=o[s].value(e,n,r,i);return t?{value:a}:a};case br.ThisExpression:return function(e){return t?{value:e}:e};case br.LocalsExpression:return function(e,n){return t?{value:n}:n};case br.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=I(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=I(a)?-a:-0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=wr(e(r,i,o,a),t(r,i,o,a));return n?{value:s}:s}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),l=(I(s)?s:0)-(I(u)?u:0);return n?{value:l}:l}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=mr(u=t(i,o,a,s)),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},Dr.prototype={constructor:Dr,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=function(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===br.Literal||e.body[0].expression.type===br.ArrayExpression||e.body[0].expression.type===br.ObjectExpression)}(t.ast),n.constant=function(e){return e.constant}(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Hr=i("$sce"),zr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Yr=/_([a-z])/g;function Ur(e){return e.replace(Yr,Ke)}function Vr(e){var t=[];return I(e)&&E(e,(function(e){t.push(function(e){if("self"===e)return e;if(z(e)){if(e.indexOf("***")>-1)throw Hr("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=ee(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(G(e))return new RegExp("^"+e.source+"$");throw Hr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))})),t}function $r(){this.SCE_CONTEXTS=zr;var t=["self"],n=[];this.trustedResourceUrlList=function(e){return arguments.length&&(t=Vr(e)),t},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(e){this.trustedResourceUrlList=e}}),this.bannedResourceUrlList=function(e){return arguments.length&&(n=Vr(e)),n},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(e){this.bannedResourceUrlList=e}}),this.$get=["$injector","$$sanitizeUri",function(r,i){var o=function(e){throw Hr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(t,n){return"self"===t?ai(n,ri)||function(t){return ai(t,e.document.baseURI?e.document.baseURI:(ti||((ti=e.document.createElement("a")).href=".",ti=ti.cloneNode(!1)),ti.href))}(n):!!t.exec(n.href)}function s(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}r.has("$sanitize")&&(o=r.get("$sanitize"));var u=s(),l={};return l[zr.HTML]=s(u),l[zr.CSS]=s(u),l[zr.MEDIA_URL]=s(u),l[zr.URL]=s(l[zr.MEDIA_URL]),l[zr.JS]=s(u),l[zr.RESOURCE_URL]=s(l[zr.URL]),{trustAs:function(e,t){var n=l.hasOwnProperty(e)?l[e]:null;if(!n)throw Hr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||j(t)||""===t)return t;if("string"!=typeof t)throw Hr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,r){if(null===r||j(r)||""===r)return r;var s=l.hasOwnProperty(e)?l[e]:null;if(s&&r instanceof s)return r.$$unwrapTrustedValue();if(W(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),e===zr.MEDIA_URL||e===zr.URL)return i(r.toString(),e===zr.MEDIA_URL);if(e===zr.RESOURCE_URL){if(function(e){var r,i,o=oi(e.toString()),s=!1;for(r=0,i=t.length;r<i;r++)if(a(t[r],o)){s=!0;break}if(s)for(r=0,i=n.length;r<i;r++)if(a(n[r],o)){s=!1;break}return s}(r))return r;throw Hr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",r.toString())}if(e===zr.HTML)return o(r);throw Hr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof u?e.$$unwrapTrustedValue():e}}}]}function Wr(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&o<8)throw Hr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=He(zr);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=L),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,(function(t){return r.getTrusted(e,t)}))};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return E(zr,(function(e,t){var n=d(t);r[Ur("parse_as_"+n)]=function(t){return i(e,t)},r[Ur("get_trusted_"+n)]=function(t){return a(e,t)},r[Ur("trust_as_"+n)]=function(t){return s(e,t)}})),r}]}function Gr(){this.$get=["$window","$document",function(e,t){var n={},r=!((!e.nw||!e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,i=T((/android (\d+)/.exec(d((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!(!("transition"in u)&&!("webkitTransition"in u)),c=!(!("animation"in u)&&!("webkitAnimation"in u))),{history:!(!r||i<4||a),hasEvent:function(e){if("input"===e&&o)return!1;if(j(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:ue(),transitions:l,animations:c,android:i}}]}function qr(){this.$get=R((function(e){return new Kr(e)}))}function Kr(e){var t={},n=[],r=this.ALL_TASKS_TYPE="$$all$$",i=this.DEFAULT_TASK_TYPE="$$default$$";function o(){var e=n.pop();return e&&e.cb}function a(e){for(var t=n.length-1;t>=0;--t){var r=n[t];if(r.type===e)return n.splice(t,1),r.cb}}this.completeTask=function(n,s){s=s||i;try{n()}finally{!function(e){t[e=e||i]&&(t[e]--,t[r]--)}(s);var u=t[r];if(!u||!t[s])for(var l,c=u?a:o;l=c(s);)try{l()}catch(d){e.error(d)}}},this.incTaskCount=function(e){t[e=e||i]=(t[e]||0)+1,t[r]=(t[r]||0)+1},this.notifyWhenNoPendingTasks=function(e,i){t[i=i||r]?n.push({type:i,cb:e}):e()}}var Xr=i("$templateRequest");function Zr(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){a.totalPendingRequests++,z(s)&&!j(n.get(s))||(s=o.getTrustedResourceUrl(s));var l=r.defaults&&r.defaults.transformResponse;return V(l)?l=l.filter((function(e){return e!==Bn})):l===Bn&&(l=null),r.get(s,D({cache:n,transformResponse:l},e)).finally((function(){a.totalPendingRequests--})).then((function(e){return n.put(s,e.data)}),(function(e){return u||(e=Xr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}))}return a.totalPendingRequests=0,a}]}function Jr(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return E(r,(function(e){var r=b.element(e).data("$binding");r&&E(r,(function(r){n?new RegExp("(^|\\s)"+ee(t)+"(\\s|\\||$)").test(r)&&i.push(e):-1!==r.indexOf(t)&&i.push(e)}))})),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=e.querySelectorAll("["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]');if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}var Qr=i("$timeout");function ei(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var o={};function a(a,s,u){W(a)||(u=s,s=a,a=P);var l,c=ce(arguments,3),d=I(u)&&!u,f=(d?r:n).defer(),h=f.promise;return l=t.defer((function(){try{f.resolve(a.apply(null,c))}catch(t){f.reject(t),i(t)}finally{delete o[h.$$timeoutId]}d||e.$apply()}),s,"$timeout"),h.$$timeoutId=l,o[l]=f,h}return a.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw Qr("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!o.hasOwnProperty(e.$$timeoutId))return!1;var n=e.$$timeoutId,r=o[n];return Br(r.promise),r.reject("canceled"),delete o[n],t.defer.cancel(n)},a}]}var ti,ni=e.document.createElement("a"),ri=oi(e.location.href);ni.href="http://[::1]";var ii="[::1]"===ni.hostname;function oi(e){if(!z(e))return e;var t=e;o&&(ni.setAttribute("href",t),t=ni.href),ni.setAttribute("href",t);var n=ni.hostname;return!ii&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:ni.href,protocol:ni.protocol?ni.protocol.replace(/:$/,""):"",host:ni.host,search:ni.search?ni.search.replace(/^\?/,""):"",hash:ni.hash?ni.hash.replace(/^#/,""):"",hostname:n,port:ni.port,pathname:"/"===ni.pathname.charAt(0)?ni.pathname:"/"+ni.pathname}}function ai(e,t){return e=oi(e),t=oi(t),e.protocol===t.protocol&&e.host===t.host}function si(){this.$get=R(e)}function ui(e){var t=e[0]||{},n={},r="";function i(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,o,a,s,u,l=function(e){try{return e.cookie||""}catch(t){return""}}(t);if(l!==r)for(e=(r=l).split("; "),n={},a=0;a<e.length;a++)(s=(o=e[a]).indexOf("="))>0&&(u=i(o.substring(0,s)),j(n[u])&&(n[u]=i(o.substring(s+1))));return n}}function li(){this.$get=ui}function ci(e){function t(n,r){if(N(n)){var i={};return E(n,(function(e,n){i[n]=t(n,e)})),i}return e.factory(n+"Filter",r)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",pi),t("date",Si),t("filter",di),t("json",xi),t("limitTo",Ti),t("lowercase",Di),t("number",mi),t("orderBy",Mi),t("uppercase",Oi)}function di(){return function(e,t,n,r){if(!w(e)){if(null==e)return e;throw i("filter")("notarray","Expected array but received: {0}",e)}var o,a;switch(r=r||"$",hi(t)){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=function(e,t,n,r){var i=N(e)&&n in e;return!0===t?t=se:W(t)||(t=function(e,t){return!(j(e)||(null===e||null===t?e!==t:N(t)||N(e)&&!B(e)||(e=d(""+e),t=d(""+t),-1===e.indexOf(t))))}),function(o){return i&&!N(o)?fi(o,e[n],t,n,!1):fi(o,e,t,n,r)}}(t,n,r,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function fi(e,t,n,r,i,o){var a=hi(e),s=hi(t);if("string"===s&&"!"===t.charAt(0))return!fi(e,t.substring(1),n,r,i);if(V(e))return e.some((function(e){return fi(e,t,n,r,i)}));switch(a){case"object":var u;if(i){for(u in e)if(u.charAt&&"$"!==u.charAt(0)&&fi(e[u],t,n,r,!0))return!0;return!o&&fi(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!W(l)&&!j(l)){var c=u===r;if(!fi(c?e:e[u],l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function hi(e){return null===e?"null":typeof e}function pi(e){var t=e.NUMBER_FORMATS;return function(e,n,r){j(n)&&(n=t.CURRENCY_SYM),j(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:vi(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function mi(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:vi(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function vi(e,t,n,r,i){if(!z(e)&&!Y(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="\u221e";else{!function(e,t,n,r){var i=e.d,o=i.length-e.i,a=(t=j(t)?Math.min(Math.max(n,o),r):+t)+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u<i.length;u++)i[u]=0}else{o=Math.max(0,o),e.i=1,i.length=Math.max(1,a=t+1),i[0]=0;for(var l=1;l<a;l++)i[l]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o<Math.max(0,t);o++)i.push(0);var d=i.reduceRight((function(e,t,n,r){return r[n]=(t+=e)%10,Math.floor(t/10)}),0);d&&(i.unshift(d),e.i++)}(o=function(e){var t,n,r,i,o,a=0;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;"0"===e.charAt(r);r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;"0"===e.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>22&&(t=t.splice(0,21),a=n-1,n=1),{d:t,e:a,i:n}}(u),i,t.minFrac,t.maxFrac);var c=o.d,d=o.i,f=o.e,h=[];for(s=c.reduce((function(e,t){return e&&!t}),!0);d<0;)c.unshift(0),d++;d>0?h=c.splice(d,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),f&&(l+="e+"+f)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function gi(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),i+e}function yi(e,t,n,r,i){return n=n||0,function(o){var a=o["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),gi(a,t,r,i)}}function bi(e,t,n){return function(r,i){var o=r["get"+e]();return i[f((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function _i(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function wi(e){return function(t){var n,r=_i(t.getFullYear()),i=(n=t,new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay())));return gi(1+Math.round((+i-+r)/6048e5),e)}}function Ei(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}ui.$inject=["$document"],ci.$inject=["$provide"],pi.$inject=["$locale"],mi.$inject=["$locale"];var Ci={yyyy:yi("FullYear",4,0,!1,!0),yy:yi("FullYear",2,0,!0,!0),y:yi("FullYear",1,0,!1,!0),MMMM:bi("Month"),MMM:bi("Month",!0),MM:yi("Month",2,1),M:yi("Month",1,1),LLLL:bi("Month",!1,!0),dd:yi("Date",2),d:yi("Date",1),HH:yi("Hours",2),H:yi("Hours",1),hh:yi("Hours",2,-12),h:yi("Hours",1,-12),mm:yi("Minutes",2),m:yi("Minutes",1),ss:yi("Seconds",2),s:yi("Seconds",1),sss:yi("Milliseconds",3),EEEE:bi("Day"),EEE:bi("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n;return(r>=0?"+":"")+(gi(Math[r>0?"floor":"ceil"](r/60),2)+gi(Math.abs(r%60),2))},ww:wi(2),w:wi(1),G:Ei,GG:Ei,GGG:Ei,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Ai=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,ki=/^-?\d+$/;function Si(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var o,a,s="",u=[];if(r=e.DATETIME_FORMATS[r=r||"mediumDate"]||r,z(n)&&(n=ki.test(n)?T(n):function(e){var n;if(n=e.match(t)){var r=new Date(0),i=0,o=0,a=n[8]?r.setUTCFullYear:r.setFullYear,s=n[8]?r.setUTCHours:r.setHours;n[9]&&(i=T(n[9]+n[10]),o=T(n[9]+n[11])),a.call(r,T(n[1]),T(n[2])-1,T(n[3]));var u=T(n[4]||0)-i,l=T(n[5]||0)-o,c=T(n[6]||0),d=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(r,u,l,c,d),r}return e}(n)),Y(n)&&(n=new Date(n)),!U(n)||!isFinite(n.getTime()))return n;for(;r;)(a=Ai.exec(r))?r=(u=le(u,a,1)).pop():(u.push(r),r=null);var l=n.getTimezoneOffset();return i&&(l=ve(i,l),n=ye(n,i,!0)),E(u,(function(t){s+=(o=Ci[t])?o(n,e.DATETIME_FORMATS,l):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),s}}function xi(){return function(e,t){return j(t)&&(t=2),he(e,t)}}Si.$inject=["$locale"];var Di=R(d),Oi=R(f);function Ti(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):T(t),F(t)?e:(Y(e)&&(e=e.toString()),w(e)?(n=(n=!n||isNaN(n)?0:T(n))<0?Math.max(0,e.length+n):n,t>=0?Fi(e,n,n+t):0===n?Fi(e,t,e.length):Fi(e,Math.max(0,n+t),n)):e)}}function Fi(e,t,n){return z(e)?e.slice(t,n):h.call(e,t,n)}function Mi(e){return function(r,o,a,s){if(null==r)return r;if(!w(r))throw i("orderBy")("notarray","Expected array but received: {0}",r);V(o)||(o=[o]),0===o.length&&(o=["+"]);var u=o.map((function(t){var n=1,r=L;if(W(t))r=t;else if(z(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t)).constant)){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})),l=a?-1:1,c=W(s)?s:n,d=Array.prototype.map.call(r,(function(e,n){return{value:e,tieBreaker:{value:n,type:"number",index:n},predicateValues:u.map((function(r){return function(e,n){var r=typeof e;return null===e?r="null":"object"===r&&(e=function(e){return W(e.valueOf)&&t(e=e.valueOf())||B(e)&&t(e=e.toString()),e}(e)),{value:e,type:r,index:n}}(r.get(e),n)}))}}));return d.sort((function(e,t){for(var r=0,i=u.length;r<i;r++){var o=c(e.predicateValues[r],t.predicateValues[r]);if(o)return o*u[r].descending*l}return(c(e.tieBreaker,t.tieBreaker)||n(e.tieBreaker,t.tieBreaker))*l})),d.map((function(e){return e.value}))};function t(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function n(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(N(o)&&(o=e.index),N(a)&&(a=t.index)),o!==a&&(n=o<a?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i||r<i?-1:1;return n}}function Pi(e){return W(e)&&(e={link:e}),e.restrict=e.restrict||"AC",R(e)}Mi.$inject=["$parse"];var Li=R({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===v.call(t.prop("href"))?"xlink:href":"href";t.on("click",(function(e){t.attr(n)||e.preventDefault()}))}}}}),Ri={};E(Ot,(function(e,t){if("multiple"!==e){var n=gn("ng-"+t),r=i;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[n]&&i(e,0,r)}),Ri[n]=function(){return{restrict:"A",priority:100,link:r}}}function i(e,r,i){e.$watch(i[n],(function(e){i.$set(t,!!e)}))}})),E(Ft,(function(e,t){Ri[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(l);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],(function(e){r.$set(t,e)}))}}}})),E(["src","srcset","href"],(function(e){var t=gn("ng-"+e);Ri[t]=["$sce",function(n){return{priority:99,link:function(r,i,a){var s=e,u=e;"href"===e&&"[object SVGAnimatedString]"===v.call(i.prop("href"))&&(a.$attr[u="xlinkHref"]="xlink:href",s=null),a.$set(t,n.getTrustedMediaUrl(a[t])),a.$observe(t,(function(t){t?(a.$set(u,t),o&&s&&i.prop(s,a[u])):"href"===e&&a.$set(u,null)}))}}}]}));var Bi={$addControl:P,$getControls:R([]),$$renameControl:function(e,t){e.$name=t},$removeControl:P,$setValidity:P,$setDirty:P,$setPristine:P,$setSubmitted:P,$$setSubmitted:P};function ji(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Bi,this.$$element=e,this.$$animate=r,zi(this)}ji.$inject=["$element","$attrs","$scope","$animate","$interpolate"],ji.prototype={$rollbackViewValue:function(){E(this.$$controls,(function(e){e.$rollbackViewValue()}))},$commitViewValue:function(){E(this.$$controls,(function(e){e.$commitViewValue()}))},$addControl:function(e){Re(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return He(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],E(this.$pending,(function(t,n){this.$setValidity(n,null,e)}),this),E(this.$error,(function(t,n){this.$setValidity(n,null,e)}),this),E(this.$$success,(function(t,n){this.$setValidity(n,null,e)}),this),ie(this.$$controls,e),e.$$parentForm=Bi},$setDirty:function(){this.$$animate.removeClass(this.$$element,jo),this.$$animate.addClass(this.$$element,Io),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,jo,Io+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,E(this.$$controls,(function(e){e.$setPristine()}))},$setUntouched:function(){E(this.$$controls,(function(e){e.$setUntouched()}))},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Bi;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,E(this.$$controls,(function(e){e.$$setSubmitted&&e.$$setSubmitted()}))}},Yi({clazz:ji,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(ie(r,n),0===r.length&&delete e[t])}});var Ii=function(e){return["$timeout","$parse",function(t,n){return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:ji,compile:function(n,i){n.addClass(jo).addClass(Ro);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply((function(){s.$commitViewValue(),s.$setSubmitted()})),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",(function(){t((function(){n[0].removeEventListener("submit",u)}),0,!1)}))}(a[1]||s.$$parentForm).$addControl(s);var l=o?r(s.$name):P;o&&(l(e,s),i.$observe(o,(function(t){s.$name!==t&&(l(e,void 0),s.$$parentForm.$$renameControl(s,t),(l=r(s.$name))(e,s))}))),n.on("$destroy",(function(){s.$$parentForm.$removeControl(s),l(e,void 0),D(s,Bi)}))}}}};function r(e){return""===e?n('this[""]').assign:n(e).assign||P}}]},Ni=Ii(),Hi=Ii(!0);function zi(e){e.$$classCache={},e.$$classCache[Bo]=!(e.$$classCache[Ro]=e.$$element.hasClass(Ro))}function Yi(e){var t=e.set,n=e.unset;function r(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function i(e,t,n){t=t?"-"+Te(t,"-"):"",r(e,Ro+t,!0===n),r(e,Bo+t,!1===n)}e.clazz.prototype.$setValidity=function(e,o,a){var s;j(o)?function(e,n,r,i){e[n]||(e[n]={}),t(e[n],r,i)}(this,"$pending",e,a):function(e,t,r,i){e[t]&&n(e[t],r,i),Ui(e[t])&&(e[t]=void 0)}(this,"$pending",e,a),X(o)?o?(n(this.$error,e,a),t(this.$$success,e,a)):(t(this.$error,e,a),n(this.$$success,e,a)):(n(this.$error,e,a),n(this.$$success,e,a)),this.$pending?(r(this,"ng-pending",!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,"ng-pending",!1),this.$valid=Ui(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid)),i(this,e,s=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,s,this)}}function Ui(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Vi=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,$i=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Wi=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Gi=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,qi=/^(\d{4,})-(\d{2})-(\d{2})$/,Ki=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Xi=/^(\d{4,})-W(\d\d)$/,Zi=/^(\d{4,})-(\d\d)$/,Ji=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Qi=je();E("date,datetime-local,month,time,week".split(","),(function(e){Qi[e]=!0}));var eo={text:function(e,t,n,r,i,o){no(0,t,n,r,i,o),to(r)},date:io("date",qi,ro(qi,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":io("datetimelocal",Ki,ro(Ki,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:io("time",Ji,ro(Ji,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:io("week",Xi,(function(e,t){if(U(e))return e;if(z(e)){Xi.lastIndex=0;var n=Xi.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=_i(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}),"yyyy-Www"),month:io("month",Zi,ro(Zi,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o,a,s){var u;if(oo(0,t,0,r,"number"),ao(r),no(0,t,n,r,i,o),I(n.min)||n.ngMin){var l=n.min||s(n.ngMin)(e);u=so(l),r.$validators.min=function(e,t){return r.$isEmpty(t)||j(u)||t>=u},n.$observe("min",(function(e){e!==l&&(u=so(e),l=e,r.$validate())}))}if(I(n.max)||n.ngMax){var c=n.max||s(n.ngMax)(e),d=so(c);r.$validators.max=function(e,t){return r.$isEmpty(t)||j(d)||t<=d},n.$observe("max",(function(e){e!==c&&(d=so(e),c=e,r.$validate())}))}if(I(n.step)||n.ngStep){var f=n.step||s(n.ngStep)(e),h=so(f);r.$validators.step=function(e,t){return r.$isEmpty(t)||j(h)||co(t,u||0,h)},n.$observe("step",(function(e){e!==f&&(h=so(e),f=e,r.$validate())}))}},url:function(e,t,n,r,i,o){no(0,t,n,r,i,o),to(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||$i.test(n)}},email:function(e,t,n,r,i,o){no(0,t,n,r,i,o),to(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Wi.test(n)}},radio:function(e,t,n,r){var i=!n.ngTrim||"false"!==Q(n.ngTrim);j(n.name)&&t.attr("name",k()),t.on("change",(function(e){var o;t[0].checked&&(o=n.value,i&&(o=Q(o)),r.$setViewValue(o,e&&e.type))})),r.$render=function(){var e=n.value;i&&(e=Q(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)},range:function(e,t,n,r,i,o){oo(0,t,0,r,"range"),ao(r),no(0,t,n,r,i,o);var a=r.$$hasNativeValidators&&"range"===t[0].type,s=a?0:void 0,u=a?100:void 0,l=a?1:void 0,c=t[0].validity,d=I(n.min),f=I(n.max),h=I(n.step),p=r.$render;function m(e,r){t.attr(e,n[e]);var i=n[e];n.$observe(e,(function(e){e!==i&&(i=e,r(e))}))}r.$render=a&&I(c.rangeUnderflow)&&I(c.rangeOverflow)?function(){p(),r.$setViewValue(t.val())}:p,d&&(s=so(n.min),r.$validators.min=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||j(s)||t>=s},m("min",(function(e){if(s=so(e),!F(r.$modelValue))if(a){var n=t.val();s>n&&t.val(n=s),r.$setViewValue(n)}else r.$validate()}))),f&&(u=so(n.max),r.$validators.max=a?function(){return!0}:function(e,t){return r.$isEmpty(t)||j(u)||t<=u},m("max",(function(e){if(u=so(e),!F(r.$modelValue))if(a){var n=t.val();u<n&&(t.val(u),n=u<s?s:u),r.$setViewValue(n)}else r.$validate()}))),h&&(l=so(n.step),r.$validators.step=a?function(){return!c.stepMismatch}:function(e,t){return r.$isEmpty(t)||j(l)||co(t,s||0,l)},m("step",(function(e){l=so(e),F(r.$modelValue)||(a?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())})))},checkbox:function(e,t,n,r,i,o,a,s){var u=fo(s,e,"ngTrueValue",n.ngTrueValue,!0),l=fo(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",(function(e){r.$setViewValue(t[0].checked,e&&e.type)})),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push((function(e){return se(e,u)})),r.$parsers.push((function(e){return e?u:l}))},hidden:P,button:P,submit:P,reset:P,file:P};function to(e){e.$formatters.push((function(t){return e.$isEmpty(t)?t:t.toString()}))}function no(e,t,n,r,i,o){var a,s=d(t[0].type);if(!i.android){var u=!1;t.on("compositionstart",(function(){u=!0})),t.on("compositionupdate",(function(e){(j(e.data)||""===e.data)&&(u=!1)})),t.on("compositionend",(function(){u=!1,l()}))}var l=function(e){if(a&&(o.defer.cancel(a),a=null),!u){var i=t.val(),l=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(i=Q(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){a||(a=o.defer((function(){a=null,t&&t.value===n||l(e)})))};t.on("keydown",(function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||c(e,this,this.value)})),i.hasEvent("paste")&&t.on("paste cut drop",c)}t.on("change",l),Qi[s]&&r.$$hasNativeValidators&&s===n.type&&t.on("keydown wheel mousedown",(function(e){if(!a){var t=this.validity,n=t.badInput,r=t.typeMismatch;a=o.defer((function(){a=null,t.badInput===n&&t.typeMismatch===r||l(e)}))}})),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function ro(e,t){return function(n,r){var i,o;if(U(n))return n;if(z(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Vi.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n)){i.shift(),o=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},E(i,(function(e,n){n<t.length&&(o[t[n]]=+e)}));var a=new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0);return o.yyyy<100&&a.setFullYear(o.yyyy),a}}return NaN}}function io(e,t,n,r){return function(i,o,a,s,u,l,c,d){oo(0,o,0,s,e),no(0,o,a,s,u,l);var f,h,p="time"===e||"datetimelocal"===e;if(s.$parsers.push((function(n){return s.$isEmpty(n)?null:t.test(n)?w(n,f):void(s.$$parserName=e)})),s.$formatters.push((function(e){if(e&&!U(e))throw No("datefmt","Expected `{0}` to be a date",e);if(b(e)){f=e;var t=s.$options.getOption("timezone");return t&&(h=t,f=ye(f,t,!0)),function(e,t){var n=r;p&&z(s.$options.getOption("timeSecondsFormat"))&&(n=r.replace("ss.sss",s.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var i=c("date")(e,n,t);return p&&s.$options.getOption("timeStripZeroSeconds")&&(i=i.replace(/(?::00)?(?:\.000)?$/,"")),i}(e,t)}return f=null,h=null,""})),I(a.min)||a.ngMin){var m=a.min||d(a.ngMin)(i),v=_(m);s.$validators.min=function(e){return!b(e)||j(v)||n(e)>=v},a.$observe("min",(function(e){e!==m&&(v=_(e),m=e,s.$validate())}))}if(I(a.max)||a.ngMax){var g=a.max||d(a.ngMax)(i),y=_(g);s.$validators.max=function(e){return!b(e)||j(y)||n(e)<=y},a.$observe("max",(function(e){e!==g&&(y=_(e),g=e,s.$validate())}))}function b(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function _(e){return I(e)&&!U(e)?w(e)||void 0:e}function w(e,t){var r=s.$options.getOption("timezone");h&&h!==r&&(t=ge(t,ve(h)));var i=n(e,t);return!isNaN(i)&&r&&(i=ye(i,r)),i}}}function oo(e,t,n,r,i){(r.$$hasNativeValidators=N(t[0].validity))&&r.$parsers.push((function(e){var n=t.prop("validity")||{};if(!n.badInput&&!n.typeMismatch)return e;r.$$parserName=i}))}function ao(e){e.$parsers.push((function(t){return e.$isEmpty(t)?null:Gi.test(t)?parseFloat(t):void(e.$$parserName="number")})),e.$formatters.push((function(t){if(!e.$isEmpty(t)){if(!Y(t))throw No("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t}))}function so(e){return I(e)&&!Y(e)&&(e=parseFloat(e)),F(e)?void 0:e}function uo(e){return(0|e)===e}function lo(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function co(e,t,n){var r=Number(e),i=!uo(r),o=!uo(t),a=!uo(n);if(i||o||a){var s=i?lo(r):0,u=o?lo(t):0,l=a?lo(n):0,c=Math.max(s,u,l),d=Math.pow(10,c);r*=d,t*=d,n*=d,i&&(r=Math.round(r)),o&&(t=Math.round(t)),a&&(n=Math.round(n))}return(r-t)%n==0}function fo(e,t,n,r,i){var o;if(I(r)){if(!(o=e(r)).constant)throw No("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}var ho=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(eo[d(a.type)]||eo.text)(i,o,a,s[0],t,e,n,r)}}}}],po=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(t,n){if("hidden"===d(n.type))return{pre:function(t,n,r,i){var o=n[0];o.parentNode&&o.parentNode.insertBefore(o,o.nextSibling),Object.defineProperty&&Object.defineProperty(o,"value",e)}}}}},mo=/^(true|false|\d+)$/,vo=function(){function e(e,t,n){var r=I(n)?n:9===o?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return mo.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,(function(t){e(n,r,t)}))}}}},go=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,(function(e){n.textContent=Ie(e)}))}}}}],yo=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",(function(e){r.textContent=j(e)?"":e}))}}}}],bo=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,(function(t){return e.valueOf(t)}));return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,(function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")}))}}}}],_o=R({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push((function(){e.$eval(n.ngChange)}))}});function wo(e,t){var n;return e="ngClass"+e,["$parse",function(a){return{restrict:"AC",link:function(s,u,l){var c,d=u.data("$classCounts"),f=!0;function h(e,t){var n=[];return E(e,(function(e){(t>0||d[e])&&(d[e]=(d[e]||0)+t,d[e]===+(t>0)&&n.push(e))})),n.join(" ")}d||(d=je(),u.data("$classCounts",d)),"ngClass"!==e&&(n||(n=a("$index",(function(e){return 1&e}))),s.$watch(n,(function(e){var n;e===t?(n=h(i(n=c),1),l.$addClass(n)):function(e){e=h(i(e),-1),l.$removeClass(e)}(c),f=e}))),s.$watch(a(l[e],o),(function(e){f===t&&function(e,t){var n=i(e),o=i(t),a=r(n,o),s=r(o,n),u=h(a,-1),c=h(s,1);l.$addClass(c),l.$removeClass(u)}(c,e),c=e}))}}}];function r(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i===t[o])continue e;n.push(i)}return n}function i(e){return e&&e.split(" ")}function o(e){if(!e)return e;var t=e;return V(e)?t=e.map(o).join(" "):N(e)?t=Object.keys(e).filter((function(t){return e[t]})).join(" "):z(e)||(t=e+""),t}}var Eo=wo("",!0),Co=wo("Odd",0),Ao=wo("Even",1),ko=Pi({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),So=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],xo={},Do={blur:!0,focus:!0};function Oo(e,t,n,r,i,o){return{restrict:"A",compile:function(a,s){var u=e(s[r]);return function(e,r){r.on(i,(function(r){var i=function(){u(e,{$event:r})};if(t.$$phase)if(o)e.$evalAsync(i);else try{i()}catch(a){n(a)}else e.$apply(i)}))}}}}E("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(e){var t=gn("ng-"+e);xo[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return Oo(n,r,i,t,e,Do[e])}]}));var To=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,(function(n){n?u||a((function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)})):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=Be(s.clone),e.leave(l).done((function(e){!1!==e&&(l=null)})),s=null))}))}}}],Fo=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:b.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var d,f,h,p=0,m=function(){f&&(f.remove(),f=null),d&&(d.$destroy(),d=null),h&&(n.leave(h).done((function(e){!1!==e&&(f=null)})),f=h,h=null)};r.$watch(o,(function(o){var u=function(e){!1===e||!I(s)||s&&!r.$eval(s)||t()},f=++p;o?(e(o,!0).then((function(e){if(!r.$$destroyed&&f===p){var t=r.$new();l.template=e;var s=c(t,(function(e){m(),n.enter(e,null,i).done(u)}));h=s,(d=t).$emit("$includeContentLoaded",o),r.$eval(a)}}),(function(){r.$$destroyed||f===p&&(m(),r.$emit("$includeContentError",o))})),r.$emit("$includeContentRequested",o)):(m(),l.template=null)}))}}}}],Mo=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(v.call(r[0]).match(/SVG/))return r.empty(),void t(ut(o.template,e.document).childNodes)(n,(function(e){r.append(e)}),{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],Po=Pi({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Lo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",o="false"!==n.ngTrim,a=o?Q(i):i;r.$parsers.push((function(e){if(!j(e)){var t=[];return e&&E(e.split(a),(function(e){e&&t.push(o?Q(e):e)})),t}})),r.$formatters.push((function(e){if(V(e))return e.join(i)})),r.$isEmpty=function(e){return!e||!e.length}}}},Ro="ng-valid",Bo="ng-invalid",jo="ng-pristine",Io="ng-dirty",No=i("ngModel");function Ho(e,t,n,r,i,o,a,s,u){var l;this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Bi,this.$options=zo,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,zi(this),(l=this).$$scope.$watch((function(e){var t=l.$$ngModelGet(e);return t===l.$modelValue||l.$modelValue!=l.$modelValue&&t!=t||l.$$setModelValue(t),t}))}Ho.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Ho.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return W(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){W(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw No("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,be(this.$$element))},$render:P,$isEmpty:function(e){return j(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Io),this.$$animate.addClass(this.$$element,jo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,jo),this.$$animate.addClass(this.$$element,Io),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!F(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,(function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())}))}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r,i,o,a,s=this.$$currentValidationRunId,u=this;function l(e,t){s===u.$$currentValidationRunId&&u.$setValidity(e,t)}function c(e){s===u.$$currentValidationRunId&&n(e)}a=u.$$parserName,(j(u.$$parserValid)?(l(a,null),1):(u.$$parserValid||(E(u.$validators,(function(e,t){l(t,null)})),E(u.$asyncValidators,(function(e,t){l(t,null)}))),l(a,u.$$parserValid),u.$$parserValid))?(o=!0,E(u.$validators,(function(n,r){var i=Boolean(n(e,t));o=o&&i,l(r,i)})),!o&&(E(u.$asyncValidators,(function(e,t){l(t,null)})),1)?c(!1):(r=[],i=!0,E(u.$asyncValidators,(function(n,o){var a=n(e,t);if(!Z(a))throw No("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);l(o,void 0),r.push(a.then((function(){l(o,!0)}),(function(){i=!1,l(o,!1)})))})),r.length?u.$$q.all(r).then((function(){c(i)}),P):c(!0))):c(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!j(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(j(e=this.$parsers[n](e))){this.$$parserValid=!1;break}F(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");function o(){t.$modelValue!==r&&t.$$writeModelToScope()}this.$$rawModelValue=e,i&&(this.$modelValue=e,o()),this.$$runValidators(e,this.$$lastCommittedViewValue,(function(n){i||(t.$modelValue=n?e:void 0,o())}))},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),E(this.$viewChangeListeners,(function(e){try{e()}catch(t){this.$$exceptionHandler(t)}}),this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");Y(t[e])?t=t[e]:Y(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:Y(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout((function(){n.$commitViewValue()}),t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((function(){n.$commitViewValue()}))},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,P))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Yi({clazz:Ho,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var zo,Yo=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ho,priority:1,compile:function(t){return t.addClass(jo).addClass("ng-untouched").addClass(Ro),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",(function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)})),e.$on("$destroy",(function(){i.$$parentForm.$removeControl(i)}))},post:function(t,n,r,i){var o=i[0];function a(){o.$setTouched()}o.$$setUpdateOnEvents(),n.on("blur",(function(){o.$touched||(e.$$phase?t.$evalAsync(a):t.$apply(a))}))}}}}}],Uo=/(\s+|^)default(\s+|$)/;function Vo(e){this.$$options=e}Vo.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return E(e=D({},e),(function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=Q(n.replace(Uo,(function(){return e.updateOnDefault=!0," "}))))}),this),t&&(delete e["*"],Wo(e,this.$$options)),Wo(e,zo.$$options),new Vo(e)}},zo=new Vo({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var $o=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:zo,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function Wo(e,t){E(t,(function(t,n){I(e[n])||(e[n]=t)}))}var Go=Pi({terminal:!0,priority:1e3}),qo=i("ngOptions"),Ko=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Xo=["$compile","$document","$parse",function(t,n,r){var i=e.document.createElement("option"),o=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=P},post:function(e,s,u,l){for(var c=l[0],d=l[1],f=u.multiple,h=0,p=s.children(),m=p.length;h<m;h++)if(""===p[h].value){c.hasEmptyOption=!0,c.emptyOption=p.eq(h);break}s.empty();var v,g=!!c.emptyOption;a(i.cloneNode(!1)).val("?");var y=function(e,t,n){var i=e.match(Ko);if(!i)throw qo("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,be(t));var o=i[5]||i[7],a=i[6],s=/ as /.test(i[0])&&i[1],u=i[9],l=r(i[2]?i[1]:o),c=s&&r(s)||l,d=u&&r(u),f=u?function(e,t){return d(n,t)}:function(e){return Bt(e)},h=function(e,t){return f(e,b(e,t))},p=r(i[2]||i[1]),m=r(i[3]||""),v=r(i[4]||""),g=r(i[8]),y={},b=a?function(e,t){return y[a]=t,y[o]=e,y}:function(e){return y[o]=e,y};function _(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function E(e){var t;if(!a&&w(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:u,getTrackByValue:h,getWatchables:r(g,(function(e){for(var t=[],r=E(e=e||[]),o=r.length,a=0;a<o;a++){var s=e===r?a:r[a],u=e[s],l=b(u,s),c=f(u,l);if(t.push(c),i[2]||i[1]){var d=p(n,l);t.push(d)}if(i[4]){var h=v(n,l);t.push(h)}}return t})),getOptions:function(){for(var e=[],t={},r=g(n)||[],i=E(r),o=i.length,a=0;a<o;a++){var s=r===i?a:i[a],l=b(r[s],s),d=c(n,l),y=f(d,l),w=new _(y,d,p(n,l),m(n,l),v(n,l));e.push(w),t[y]=w}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return u?oe(e.viewValue):e.viewValue}}}}}(u.ngOptions,s,e),b=n[0].createDocumentFragment();function _(e,t){var n=i.cloneNode(!1);t.appendChild(n),function(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}(e,n)}function C(e){var t=v.getOptionFromViewValue(e),n=t&&t.element;return n&&!n.selected&&(n.selected=!0),t}c.generateUnknownOptionValue=function(e){return"?"},f?(c.writeValue=function(e){if(v){var t=e&&e.map(C)||[];v.items.forEach((function(e){e.element.selected&&!re(t,e)&&(e.element.selected=!1)}))}},c.readValue=function(){var e=s.val()||[],t=[];return E(e,(function(e){var n=v.selectValueMap[e];n&&!n.disabled&&t.push(v.getViewValueFromOption(n))})),t},y.trackBy&&e.$watchCollection((function(){if(V(d.$viewValue))return d.$viewValue.map((function(e){return y.getTrackByValue(e)}))}),(function(){d.$render()}))):(c.writeValue=function(e){if(v){var t=s[0].options[s[0].selectedIndex],n=v.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(s[0].value!==n.selectValue&&(c.removeUnknownOption(),s[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):c.selectUnknownOrEmptyOption(e)}},c.readValue=function(){var e=v.selectValueMap[s.val()];return e&&!e.disabled?(c.unselectEmptyOption(),c.removeUnknownOption(),v.getViewValueFromOption(e)):null},y.trackBy&&e.$watch((function(){return y.getTrackByValue(d.$viewValue)}),(function(){d.$render()}))),g&&(t(c.emptyOption)(e),s.prepend(c.emptyOption),8===c.emptyOption[0].nodeType?(c.hasEmptyOption=!1,c.registerOption=function(e,t){""===t.val()&&(c.hasEmptyOption=!0,c.emptyOption=t,c.emptyOption.removeClass("ng-scope"),d.$render(),t.on("$destroy",(function(){var e=c.$isEmptyOptionSelected();c.hasEmptyOption=!1,c.emptyOption=void 0,e&&d.$render()})))}):c.emptyOption.removeClass("ng-scope")),e.$watchCollection(y.getWatchables,(function(){var e=v&&c.readValue();if(v)for(var t=v.items.length-1;t>=0;t--){var n=v.items[t];I(n.group)?St(n.element.parentNode):St(n.element)}v=y.getOptions();var r={};if(v.items.forEach((function(e){var t;I(e.group)?((t=r[e.group])||(t=o.cloneNode(!1),b.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),_(e,t)):_(e,b)})),s[0].appendChild(b),d.$render(),!d.$isEmpty(e)){var i=c.readValue();(y.trackBy||f?se(e,i):e===i)||(d.$setViewValue(i),d.$render())}}))}}}}],Zo=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(o,a,s){var u,l=s.count,c=s.$attr.when&&a.attr(s.$attr.when),f=s.offset||0,h=o.$eval(c)||{},p={},m=t.startSymbol(),v=t.endSymbol(),g=m+l+"-"+f+v,y=b.noop;function _(e){a.text(e||"")}E(s,(function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+d(n[2]);h[r]=a.attr(s.$attr[t])}})),E(h,(function(e,n){p[n]=t(e.replace(r,g))})),o.$watch(l,(function(t){var r=parseFloat(t),i=F(r);if(i||r in h||(r=e.pluralCat(r-f)),!(r===u||i&&F(u))){y();var a=p[r];j(a)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+c),y=P,_()):y=o.$watch(a,_),u=r}}))}}}],Jo=i("ngRef"),Qo=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=gn(ne(t)),i=e(n.ngRef),o=i.assign||function(){throw Jo("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(!(s=t.data("$"+a.ngRefRead+"Controller")))throw Jo("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");o(e,s=s||t),t.on("$destroy",(function(){i(e)===s&&o(e,null)}))}}}}],ea=["$parse","$animate","$compile",function(e,t,n){var r=i("ngRepeat"),o=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},a=function(e){return e.clone[0]},s=function(e){return e.clone[e.clone.length-1]},u=function(e,t,n){return Bt(n)},l=function(e,t){return t};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,d){var f=d.ngRepeat,h=n.$$createComment("end ngRepeat",f),p=f.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",f);var m=p[1],v=p[2],g=p[3],y=p[4];if(!(p=m.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var b,_=p[3]||p[1],C=p[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);if(y){var A={$id:Bt},k=e(y);b=function(e,t,n,r){return C&&(A[C]=t),A[_]=n,A.$index=r,k(e,A)}}return function(e,n,i,d,p){var m=je();e.$watchCollection(v,(function(i){var d,v,y,k,S,x,D,O,T,F,M,P,L=n[0],R=je();if(g&&(e[g]=i),w(i))T=i,O=b||u;else for(var B in O=b||l,T=[],i)c.call(i,B)&&"$"!==B.charAt(0)&&T.push(B);for(k=T.length,M=new Array(k),d=0;d<k;d++)if(D=O(e,S=i===T?d:T[d],x=i[S],d),m[D])F=m[D],delete m[D],R[D]=F,M[d]=F;else{if(R[D])throw E(M,(function(e){e&&e.scope&&(m[e.id]=e)})),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",f,D,x);M[d]={id:D,scope:void 0,clone:void 0},R[D]=!0}for(var j in A&&(A[_]=void 0),m){if(P=Be((F=m[j]).clone),t.leave(P),P[0].parentNode)for(d=0,v=P.length;d<v;d++)P[d].$$NG_REMOVED=!0;F.scope.$destroy()}for(d=0;d<k;d++)if(x=i[S=i===T?d:T[d]],(F=M[d]).scope){y=L;do{y=y.nextSibling}while(y&&y.$$NG_REMOVED);a(F)!==y&&t.move(Be(F.clone),null,L),L=s(F),o(F.scope,d,_,x,C,S,k)}else p((function(e,n){F.scope=n;var r=h.cloneNode(!1);e[e.length++]=r,t.enter(e,null,L),L=r,F.clone=e,R[F.id]=F,o(F.scope,d,_,x,C,S,k)}));m=R}))}}}}],ta=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,(function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],na=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,(function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],ra=Pi((function(e,t,n){e.$watchCollection(n.ngStyle,(function(e,n){n&&e!==n&&E(n,(function(e,n){t.css(n,"")})),e&&t.css(e)}))})),ia=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,o){var a=[],s=[],u=[],l=[],c=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(i.ngSwitch||i.on,(function(n){for(var r,i;u.length;)e.cancel(u.pop());for(r=0,i=l.length;r<i;++r){var d=Be(s[r].clone);l[r].$destroy(),(u[r]=e.leave(d)).done(c(u,r))}s.length=0,l.length=0,(a=o.cases["!"+n]||o.cases["?"])&&E(a,(function(n){n.transclude((function(r,i){l.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen"),s.push({clone:r}),e.enter(r,o.parent(),o)}))}))}))}}}],oa=Pi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){E(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter((function(e,t,n){return n[t-1]!==e})),(function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})}))}}),aa=Pi({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),sa=i("ngTransclude"),ua=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){if(!o)throw sa("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",be(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var a=r.ngTransclude||r.ngTranscludeSlot;function s(){n(e,(function(e){t.append(e)}))}o((function(e,n){e.length&&function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.nodeType!==Ne||r.nodeValue.trim())return!0}}(e)?t.append(e):(s(),n.$destroy())}),null,a),a&&!o.isSlotFilled(a)&&s()}}}}],la=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"===n.type&&e.put(n.id,t[0].text)}}}],ca={$setViewValue:P,$render:P};function da(e,t){e.prop("selected",t),e.attr("selected",t)}var fa=["$element","$scope",function(t,n){var r=this,i=new Nt;r.selectValueMap={},r.ngModelCtrl=ca,r.multiple=!1,r.unknownOption=a(e.document.createElement("option")),r.hasEmptyOption=!1,r.emptyOption=void 0,r.renderUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),t.prepend(r.unknownOption),da(r.unknownOption,!0),t.val(n)},r.updateUnknownOption=function(e){var n=r.generateUnknownOptionValue(e);r.unknownOption.val(n),da(r.unknownOption,!0),t.val(n)},r.generateUnknownOptionValue=function(e){return"? "+Bt(e)+" ?"},r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.selectEmptyOption=function(){r.emptyOption&&(t.val(""),da(r.emptyOption,!0))},r.unselectEmptyOption=function(){r.hasEmptyOption&&da(r.emptyOption,!1)},n.$on("$destroy",(function(){r.renderUnknownOption=P})),r.readValue=function(){var e=t.val(),n=e in r.selectValueMap?r.selectValueMap[e]:e;return r.hasOption(n)?n:null},r.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];if(n&&da(a(n),!1),r.hasOption(e)){r.removeUnknownOption();var i=Bt(e);t.val(i in r.selectValueMap?i:e),da(a(t[0].options[t[0].selectedIndex]),!0)}else r.selectUnknownOrEmptyOption(e)},r.addOption=function(e,t){if(8!==t[0].nodeType){Re(e,'"option value"'),""===e&&(r.hasEmptyOption=!0,r.emptyOption=t);var n=i.get(e)||0;i.set(e,n+1),s()}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.delete(e),""===e&&(r.hasEmptyOption=!1,r.emptyOption=void 0)):i.set(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.$hasEmptyOption=function(){return r.hasEmptyOption},r.$isUnknownOptionSelected=function(){return t[0].options[0]===r.unknownOption[0]},r.$isEmptyOptionSelected=function(){return r.hasEmptyOption&&t[0].options[t[0].selectedIndex]===r.emptyOption[0]},r.selectUnknownOrEmptyOption=function(e){null==e&&r.emptyOption?(r.removeUnknownOption(),r.selectEmptyOption()):r.unknownOption.parent().length?r.updateUnknownOption(e):r.renderUnknownOption(e)};var o=!1;function s(){o||(o=!0,n.$$postDigest((function(){o=!1,r.ngModelCtrl.$render()})))}var u=!1;function l(e){u||(u=!0,n.$$postDigest((function(){n.$$destroyed||(u=!1,r.ngModelCtrl.$setViewValue(r.readValue()),e&&r.ngModelCtrl.$render())})))}r.registerOption=function(e,t,n,i,o){var a,u;n.$attr.ngValue?n.$observe("value",(function(e){var n,i=t.prop("selected");I(u)&&(r.removeOption(a),delete r.selectValueMap[u],n=!0),u=Bt(e),a=e,r.selectValueMap[u]=e,r.addOption(e,t),t.attr("value",u),n&&i&&l()})):i?n.$observe("value",(function(e){var n;r.readValue();var i=t.prop("selected");I(a)&&(r.removeOption(a),n=!0),a=e,r.addOption(e,t),n&&i&&l()})):o?e.$watch(o,(function(e,i){n.$set("value",e);var o=t.prop("selected");i!==e&&r.removeOption(i),r.addOption(e,t),i&&o&&l()})):r.addOption(n.value,t),n.$observe("disabled",(function(e){("true"===e||e&&t.prop("selected"))&&(r.multiple?l(!0):(r.ngModelCtrl.$setViewValue(null),r.ngModelCtrl.$render()))})),t.on("$destroy",(function(){var e=r.readValue(),t=n.value;r.removeOption(t),s(),(r.multiple&&e&&-1!==e.indexOf(t)||e===t)&&l(!0)}))}}],ha=function(){return{restrict:"E",require:["select","?ngModel"],controller:fa,priority:1,link:{pre:function(e,t,n,r){var i=r[0],o=r[1];if(o){if(i.ngModelCtrl=o,t.on("change",(function(){i.removeUnknownOption(),e.$apply((function(){o.$setViewValue(i.readValue())}))})),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return E(t.find("option"),(function(t){if(t.selected&&!t.disabled){var n=t.value;e.push(n in i.selectValueMap?i.selectValueMap[n]:n)}})),e},i.writeValue=function(e){E(t.find("option"),(function(t){var n=!!e&&(re(e,t.value)||re(e,i.selectValueMap[t.value]));n!==t.selected&&da(a(t),n)}))};var s,u=NaN;e.$watch((function(){u!==o.$viewValue||se(s,o.$viewValue)||(s=He(o.$viewValue),o.$render()),u=o.$viewValue})),o.$isEmpty=function(e){return!e||0===e.length}}}else i.registerOption=P},post:function(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}}},pa=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return I(n.ngValue)||(I(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.registerOption(e,t,n,r,i)}}}}],ma=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),i.$validators.required=function(e,t){return!o||!i.$isEmpty(t)},r.$observe("required",(function(e){o!==e&&(o=e,i.$validate())}))}}}}],va=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,i;return n.ngPattern&&(r=n.ngPattern,i="/"===n.ngPattern.charAt(0)&&l.test(n.ngPattern)?function(){return n.ngPattern}:e(n.ngPattern)),function(e,t,n,o){if(o){var a=n.pattern;n.ngPattern?a=i(e):r=n.pattern;var s=ba(a,r,t);n.$observe("pattern",(function(e){var n=s;s=ba(e,r,t),(n&&n.toString())!==(s&&s.toString())&&o.$validate()})),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||j(s)||s.test(t)}}}}}}],ga=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.maxlength||e(r.ngMaxlength)(t),a=_a(o);r.$observe("maxlength",(function(e){o!==e&&(a=_a(e),o=e,i.$validate())})),i.$validators.maxlength=function(e,t){return a<0||i.$isEmpty(t)||t.length<=a}}}}}],ya=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o=r.minlength||e(r.ngMinlength)(t),a=_a(o)||-1;r.$observe("minlength",(function(e){o!==e&&(a=_a(e)||-1,o=e,i.$validate())})),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=a}}}}}];function ba(e,t,n){if(e){if(z(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,be(n));return e}}function _a(e){var t=T(e);return F(t)?-1:t}e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(function(){var t;if(!Fe){var n=function t(){if(I(t.name_))return t.name_;var n,r,i,o,a=Ae.length;for(r=0;r<a;++r)if(n=e.document.querySelector("["+(i=Ae[r]).replace(":","\\:")+"jq]")){o=n.getAttribute(i+"jq");break}return t.name_=o}();(s=j(n)?e.jQuery:n?e[n]:void 0)&&s.fn.on?(a=s,D(s.fn,{scope:Dt.scope,isolateScope:Dt.isolateScope,controller:Dt.controller,injector:Dt.injector,inheritedData:Dt.inheritedData})):a=ct,t=a.cleanData,a.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=(a._data(r)||{}).events)&&n.$destroy&&a(r).triggerHandler("$destroy");t(e)},b.element=a,Fe=!0}}(),function(t){D(t,{errorHandlingConfig:n,bootstrap:Se,copy:oe,extend:D,merge:O,equals:se,element:a,forEach:E,injector:Kt,noop:P,bind:de,toJson:he,fromJson:pe,identity:L,isUndefined:j,isDefined:I,isString:z,isFunction:W,isObject:N,isNumber:Y,isElement:te,isArray:V,version:Ye,isDate:U,callbacks:{$$counter:0},getTestability:De,reloadWithDebugInfo:xe,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:Me,$$minErr:i,$$csp:ue,$$encodeUriSegment:Ee,$$encodeUriQuery:Ce,$$lowercase:d,$$stringify:Ie,$$uppercase:f}),(u=function(e){var t=i("$injector"),n=i("ng");function r(e,t,n){return e[t]||(e[t]=n())}var o=r(e,"angular",Object);return o.$$minErr=o.$$minErr||i,r(o,"module",(function(){var e={};return function(i,o,a){var s={};return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name","module")}(i),o&&e.hasOwnProperty(i)&&(e[i]=null),r(e,i,(function(){if(!o)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var e=[],r=[],u=[],l=d("$injector","invoke","push",r),c={_invokeQueue:e,_configBlocks:r,_runBlocks:u,info:function(e){if(I(e)){if(!N(e))throw n("aobj","Argument '{0}' must be an object","value");return s=e,this}return s},requires:o,name:i,provider:f("$provide","provider"),factory:f("$provide","factory"),service:f("$provide","service"),value:d("$provide","value"),constant:d("$provide","constant","unshift"),decorator:f("$provide","decorator",r),animation:f("$animateProvider","register"),filter:f("$filterProvider","register"),controller:f("$controllerProvider","register"),directive:f("$compileProvider","directive"),component:f("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c;function d(t,n,r,i){return i||(i=e),function(){return i[r||"push"]([t,n,arguments]),c}}function f(t,n,r){return r||(r=e),function(e,o){return o&&W(o)&&(o.$$moduleName=i),r.push([t,n,arguments]),c}}}))}}))}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Nr}),e.provider("$compile",hn).directive({a:Li,input:ho,textarea:ho,form:Ni,script:la,select:ha,option:pa,ngBind:go,ngBindHtml:bo,ngBindTemplate:yo,ngClass:Eo,ngClassEven:Ao,ngClassOdd:Co,ngCloak:ko,ngController:So,ngForm:Hi,ngHide:na,ngIf:To,ngInclude:Fo,ngInit:Po,ngNonBindable:Go,ngPluralize:Zo,ngRef:Qo,ngRepeat:ea,ngShow:ta,ngStyle:ra,ngSwitch:ia,ngSwitchWhen:oa,ngSwitchDefault:aa,ngOptions:Xo,ngTransclude:ua,ngModel:Yo,ngList:Lo,ngChange:_o,pattern:va,ngPattern:va,required:ma,ngRequired:ma,minlength:ya,ngMinlength:ya,maxlength:ga,ngMaxlength:ga,ngValue:vo,ngModelOptions:$o}).directive({ngInclude:Mo,input:po}).directive(Ri).directive(xo),e.provider({$anchorScroll:Xt,$animate:nn,$animateCss:an,$$animateJs:en,$$animateQueue:tn,$$AnimateRunner:on,$$animateAsyncRun:rn,$browser:un,$cacheFactory:ln,$controller:Cn,$document:An,$$isDocumentHidden:kn,$exceptionHandler:Sn,$filter:ci,$$forceReflow:xn,$interpolate:$n,$interval:Gn,$$intervalFactory:qn,$http:zn,$httpParamSerializer:Ln,$httpParamSerializerJQLike:Rn,$httpBackend:Un,$xhrFactory:Yn,$jsonpCallbacks:Kn,$location:dr,$log:fr,$parse:Tr,$rootScope:Ir,$q:Fr,$$q:Mr,$sce:Wr,$sceDelegate:$r,$sniffer:Gr,$$taskTrackerFactory:qr,$templateCache:cn,$templateRequest:Zr,$$testability:Jr,$timeout:ei,$window:si,$$rAF:jr,$$jqLite:Rt,$$Map:Ht,$$cookieReader:li})}]).info({angularVersion:"1.8.2"})}(b),b.module("ngLocale",[],["$provide",function(e){e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\xa4",negSuf:"",posPre:"\xa4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,r=function(e,t){var n=t;void 0===n&&(n=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3));var r=Math.pow(10,n);return{v:n,f:(e*r|0)%r}}(e,t);return 1==n&&0==r.v?"one":"other"}})}]),a((function(){!function(t,n){var r,i,o={};if(E(Ae,(function(e){var n=e+"app";!r&&t.hasAttribute&&t.hasAttribute(n)&&(r=t,i=t.getAttribute(n))})),E(Ae,(function(e){var n,o=e+"app";!r&&(n=t.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))})),r){if(!ke)return void e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");o.strictDi=null!==function(e,t){var n,r,i=Ae.length;for(r=0;r<i;++r)if(z(n=e.getAttribute(n=Ae[r]+"strict-di")))return n;return null}(r),n(r,i?[i]:[],o)}}(e.document,Se)})))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))},IgSQ:function(e,t,n){"use strict";var r=n("lMrk");n.o(r,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return r.BaseLocationServices})),n.o(r,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return r.BaseUrlRule})),n.o(r,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return r.BrowserLocationConfig})),n.o(r,"Param")&&n.d(t,"Param",(function(){return r.Param})),n.o(r,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return r.StateRegistry})),n.o(r,"StateService")&&n.d(t,"StateService",(function(){return r.StateService})),n.o(r,"TargetState")&&n.d(t,"TargetState",(function(){return r.TargetState})),n.o(r,"Transition")&&n.d(t,"Transition",(function(){return r.Transition})),n.o(r,"TransitionService")&&n.d(t,"TransitionService",(function(){return r.TransitionService})),n.o(r,"UIRouter")&&n.d(t,"UIRouter",(function(){return r.UIRouter})),n.o(r,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return r.UIRouterGlobals})),n.o(r,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return r.UrlMatcherFactory})),n.o(r,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return r.UrlRouter})),n.o(r,"UrlService")&&n.d(t,"UrlService",(function(){return r.UrlService})),n.o(r,"ViewService")&&n.d(t,"ViewService",(function(){return r.ViewService})),n.o(r,"parseUrl")&&n.d(t,"parseUrl",(function(){return r.parseUrl})),n.o(r,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return r.servicesPlugin})),n("2hdp"),n("ywKq"),n("SQef"),n("yxkQ");var i=n("hAQ6");n.d(t,"StateRegistry",(function(){return i.a}));var o=n("TodQ");n.d(t,"StateService",(function(){return o.a}));var a=n("fqbi");n.d(t,"TargetState",(function(){return a.a}))},IjjT:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("1OyB"),i=n("vuIU"),o=n("JX7q"),a=n("ReuC"),s=n("foSv"),u=n("Ji7U"),l=n("LK+K"),c=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;Object(r.a)(this,e),this.SchedulerAction=t,this.now=n}return Object(i.a)(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),d=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.now;return Object(r.a)(this,n),(i=t.call(this,e,(function(){return n.delegate&&n.delegate!==Object(o.a)(i)?n.delegate.now():a()}))).actions=[],i.active=!1,i.scheduled=void 0,i}return Object(i.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):Object(a.a)(Object(s.a)(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(c)},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q"),u=n("4I5i"),l=n("EY2u");function c(e){return function(t){return 0===e?Object(l.b)():t.lift(new d(e))}}var d=function(){function e(t){if(Object(o.a)(this,e),this.total=t,this.total<0)throw new u.a}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new f(e,this.total))}}]),e}(),f=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i;return Object(o.a)(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return Object(a.a)(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(s.a)},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("ReuC"),i=n("foSv"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("vuIU"),l=n("l7GE"),c=n("51Dv"),d=n("ZUHj");function f(e){return function(t){var n=new h(e),r=t.lift(n);return n.caught=r}}var h=function(){function e(t){Object(s.a)(this,e),this.selector=t}return Object(u.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new p(e,this.selector,this.caught))}}]),e}(),p=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,i){var o;return Object(s.a)(this,n),(o=t.call(this,e)).selector=r,o.caught=i,o}return Object(u.a)(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(s){return void Object(r.a)(Object(i.a)(n.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var o=new c.a(this,void 0,void 0);this.add(o);var a=Object(d.a)(this,t,void 0,void 0,o);a!==o&&this.add(a)}}}]),n}(l.a)},JX7q:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},JX91:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("GyhO"),i=n("z+Ro");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[t.length-1];return Object(i.a)(o)?(t.pop(),function(e){return Object(r.a)(t,e,o)}):function(e){return Object(r.a)(t,e)}}},Ji7U:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("s4An");function i(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&&Object(r.a)(e,t)}},KHwQ:function(e,t,n){n("IbG+"),e.exports=angular},KQm4:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("a3WO"),i=n("25BE"),o=n("BsWD");function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(i.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},Kdsb:function(e,t,n){"use strict";n.d(t,"a",(function(){return le})),n.d(t,"b",(function(){return ce}));var r=n("vuIU"),i=n("1OyB"),o=n("XNiG"),a=n("xgIS"),s=(n("VRyK"),n("3UWI")),u=n("1G5W");n("/uUt"),n("Ji7U"),n("LK+K"),n("7o/Q");var l=n("fXoL"),c=n("ofXK");function d(e){return getComputedStyle(e)}function f(e,t){for(var n in t){var r=t[n];"number"==typeof r&&(r+="px"),e.style[n]=r}return e}function h(e){var t=document.createElement("div");return t.className=e,t}var p="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function m(e,t){if(!p)throw new Error("No element matching method supported");return p.call(e,t)}function v(e){e.remove?e.remove():e.parentNode&&e.parentNode.removeChild(e)}function g(e,t){return Array.prototype.filter.call(e.children,(function(e){return m(e,t)}))}var y=function(e){return"ps__thumb-"+e},b=function(e){return"ps__rail-"+e},_=function(e){return"ps--active-"+e},w=function(e){return"ps--scrolling-"+e},E={x:null,y:null};function C(e,t){var n=e.element.classList,r=w(t);n.contains(r)?clearTimeout(E[t]):n.add(r)}function A(e,t){E[t]=setTimeout((function(){return e.isAlive&&e.element.classList.remove(w(t))}),e.settings.scrollingThreshold)}var k=function(e){this.element=e,this.handlers={}},S={isEmpty:{configurable:!0}};k.prototype.bind=function(e,t){void 0===this.handlers[e]&&(this.handlers[e]=[]),this.handlers[e].push(t),this.element.addEventListener(e,t,!1)},k.prototype.unbind=function(e,t){var n=this;this.handlers[e]=this.handlers[e].filter((function(r){return!(!t||r===t)||(n.element.removeEventListener(e,r,!1),!1)}))},k.prototype.unbindAll=function(){for(var e in this.handlers)this.unbind(e)},S.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every((function(t){return 0===e.handlers[t].length}))},Object.defineProperties(k.prototype,S);var x=function(){this.eventElements=[]};function D(e){if("function"==typeof window.CustomEvent)return new CustomEvent(e);var t=document.createEvent("CustomEvent");return t.initCustomEvent(e,!1,!1,void 0),t}function O(e,t,n,r,i){var o;if(void 0===r&&(r=!0),void 0===i&&(i=!1),"top"===t)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==t)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(e,t,n,r,i){var o=n[0],a=n[1],s=n[2],u=n[3],l=n[4],c=n[5];void 0===r&&(r=!0),void 0===i&&(i=!1);var d=e.element;e.reach[u]=null,d[s]<1&&(e.reach[u]="start"),d[s]>e[o]-e[a]-1&&(e.reach[u]="end"),t&&(d.dispatchEvent(D("ps-scroll-"+u)),t<0?d.dispatchEvent(D("ps-scroll-"+l)):t>0&&d.dispatchEvent(D("ps-scroll-"+c)),r&&function(e,t){C(e,t),A(e,t)}(e,u)),e.reach[u]&&(t||i)&&d.dispatchEvent(D("ps-"+u+"-reach-"+e.reach[u]))}(e,n,o,r,i)}function T(e){return parseInt(e,10)||0}x.prototype.eventElement=function(e){var t=this.eventElements.filter((function(t){return t.element===e}))[0];return t||(t=new k(e),this.eventElements.push(t)),t},x.prototype.bind=function(e,t,n){this.eventElement(e).bind(t,n)},x.prototype.unbind=function(e,t,n){var r=this.eventElement(e);r.unbind(t,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},x.prototype.unbindAll=function(){this.eventElements.forEach((function(e){return e.unbindAll()})),this.eventElements=[]},x.prototype.once=function(e,t,n){var r=this.eventElement(e);r.bind(t,(function e(i){r.unbind(t,e),n(i)}))};var F={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&window.navigator.maxTouchPoints>0||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function M(e){var t=e.element,n=Math.floor(t.scrollTop),r=t.getBoundingClientRect();e.containerWidth=Math.ceil(r.width),e.containerHeight=Math.ceil(r.height),e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight,t.contains(e.scrollbarXRail)||(g(t,b("x")).forEach((function(e){return v(e)})),t.appendChild(e.scrollbarXRail)),t.contains(e.scrollbarYRail)||(g(t,b("y")).forEach((function(e){return v(e)})),t.appendChild(e.scrollbarYRail)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=P(e,T(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=T((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=P(e,T(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=T(n*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),function(e,t){var n={width:t.railXWidth},r=Math.floor(e.scrollTop);n.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+t.containerWidth-t.contentWidth:e.scrollLeft,t.isScrollbarXUsingBottom?n.bottom=t.scrollbarXBottom-r:n.top=t.scrollbarXTop+r,f(t.scrollbarXRail,n);var i={top:r,height:t.railYHeight};t.isScrollbarYUsingRight?i.right=t.isRtl?t.contentWidth-(t.negativeScrollAdjustment+e.scrollLeft)-t.scrollbarYRight-t.scrollbarYOuterWidth-9:t.scrollbarYRight-e.scrollLeft:i.left=t.isRtl?t.negativeScrollAdjustment+e.scrollLeft+2*t.containerWidth-t.contentWidth-t.scrollbarYLeft-t.scrollbarYOuterWidth:t.scrollbarYLeft+e.scrollLeft,f(t.scrollbarYRail,i),f(t.scrollbarX,{left:t.scrollbarXLeft,width:t.scrollbarXWidth-t.railBorderXWidth}),f(t.scrollbarY,{top:t.scrollbarYTop,height:t.scrollbarYHeight-t.railBorderYWidth})}(t,e),e.scrollbarXActive?t.classList.add(_("x")):(t.classList.remove(_("x")),e.scrollbarXWidth=0,e.scrollbarXLeft=0,t.scrollLeft=!0===e.isRtl?e.contentWidth:0),e.scrollbarYActive?t.classList.add(_("y")):(t.classList.remove(_("y")),e.scrollbarYHeight=0,e.scrollbarYTop=0,t.scrollTop=0)}function P(e,t){return e.settings.minScrollbarLength&&(t=Math.max(t,e.settings.minScrollbarLength)),e.settings.maxScrollbarLength&&(t=Math.min(t,e.settings.maxScrollbarLength)),t}function L(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],u=t[6],l=t[7],c=t[8],d=e.element,f=null,h=null,p=null;function m(t){t.touches&&t.touches[0]&&(t[i]=t.touches[0].pageY),d[u]=f+p*(t[i]-h),C(e,l),M(e),t.stopPropagation(),t.preventDefault()}function v(){A(e,l),e[c].classList.remove("ps--clicking"),e.event.unbind(e.ownerDocument,"mousemove",m)}function g(t,a){f=d[u],a&&t.touches&&(t[i]=t.touches[0].pageY),h=t[i],p=(e[r]-e[n])/(e[o]-e[s]),a?e.event.bind(e.ownerDocument,"touchmove",m):(e.event.bind(e.ownerDocument,"mousemove",m),e.event.once(e.ownerDocument,"mouseup",v),t.preventDefault()),e[c].classList.add("ps--clicking"),t.stopPropagation()}e.event.bind(e[a],"mousedown",(function(e){g(e)})),e.event.bind(e[a],"touchstart",(function(e){g(e,!0)}))}var R={"click-rail":function(e){e.event.bind(e.scrollbarY,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarYRail,"mousedown",(function(t){var n=t.pageY-window.pageYOffset-e.scrollbarYRail.getBoundingClientRect().top;e.element.scrollTop+=(n>e.scrollbarYTop?1:-1)*e.containerHeight,M(e),t.stopPropagation()})),e.event.bind(e.scrollbarX,"mousedown",(function(e){return e.stopPropagation()})),e.event.bind(e.scrollbarXRail,"mousedown",(function(t){var n=t.pageX-window.pageXOffset-e.scrollbarXRail.getBoundingClientRect().left;e.element.scrollLeft+=(n>e.scrollbarXLeft?1:-1)*e.containerWidth,M(e),t.stopPropagation()}))},"drag-thumb":function(e){L(e,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),L(e,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function(e){var t=e.element;e.event.bind(e.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(m(t,":hover")||m(e.scrollbarX,":focus")||m(e.scrollbarY,":focus"))){var r,i=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(i){if("IFRAME"===i.tagName)i=i.contentDocument.activeElement;else for(;i.shadowRoot;)i=i.shadowRoot.activeElement;if(m(r=i,"input,[contenteditable]")||m(r,"select,[contenteditable]")||m(r,"textarea,[contenteditable]")||m(r,"button,[contenteditable]"))return}var o=0,a=0;switch(n.which){case 37:o=n.metaKey?-e.contentWidth:n.altKey?-e.containerWidth:-30;break;case 38:a=n.metaKey?e.contentHeight:n.altKey?e.containerHeight:30;break;case 39:o=n.metaKey?e.contentWidth:n.altKey?e.containerWidth:30;break;case 40:a=n.metaKey?-e.contentHeight:n.altKey?-e.containerHeight:-30;break;case 32:a=n.shiftKey?e.containerHeight:-e.containerHeight;break;case 33:a=e.containerHeight;break;case 34:a=-e.containerHeight;break;case 36:a=e.contentHeight;break;case 35:a=-e.contentHeight;break;default:return}e.settings.suppressScrollX&&0!==o||e.settings.suppressScrollY&&0!==a||(t.scrollTop-=a,t.scrollLeft+=o,M(e),function(n,r){var i=Math.floor(t.scrollTop);if(0===n){if(!e.scrollbarYActive)return!1;if(0===i&&r>0||i>=e.contentHeight-e.containerHeight&&r<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===r){if(!e.scrollbarXActive)return!1;if(0===o&&n<0||o>=e.contentWidth-e.containerWidth&&n>0)return!e.settings.wheelPropagation}return!0}(o,a)&&n.preventDefault())}}))},wheel:function(e){var t=e.element;function n(n){var r=function(e){var t=e.deltaX,n=-1*e.deltaY;return void 0!==t&&void 0!==n||(t=-1*e.wheelDeltaX/6,n=e.wheelDeltaY/6),e.deltaMode&&1===e.deltaMode&&(t*=10,n*=10),t!=t&&n!=n&&(t=0,n=e.wheelDelta),e.shiftKey?[-n,-t]:[t,n]}(n),i=r[0],o=r[1];if(!function(e,n,r){if(!F.isWebKit&&t.querySelector("select:focus"))return!0;if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains("ps__child--consume"))return!0;var o=d(i);if(r&&o.overflowY.match(/(scroll|auto)/)){var a=i.scrollHeight-i.clientHeight;if(a>0&&(i.scrollTop>0&&r<0||i.scrollTop<a&&r>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var s=i.scrollWidth-i.clientWidth;if(s>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<s&&n>0))return!0}i=i.parentNode}return!1}(n.target,i,o)){var a=!1;e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(o?t.scrollTop-=o*e.settings.wheelSpeed:t.scrollTop+=i*e.settings.wheelSpeed,a=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(i?t.scrollLeft+=i*e.settings.wheelSpeed:t.scrollLeft-=o*e.settings.wheelSpeed,a=!0):(t.scrollTop-=o*e.settings.wheelSpeed,t.scrollLeft+=i*e.settings.wheelSpeed),M(e),(a=a||function(n,r){var i=Math.floor(t.scrollTop),o=0===t.scrollTop,a=i+t.offsetHeight===t.scrollHeight,s=0===t.scrollLeft,u=t.scrollLeft+t.offsetWidth===t.scrollWidth;return!(Math.abs(r)>Math.abs(n)?o||a:s||u)||!e.settings.wheelPropagation}(i,o))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?e.event.bind(t,"wheel",n):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",n)},touch:function(e){if(F.supportsTouch||F.supportsIePointer){var t=e.element,n={},r=0,i={},o=null;F.supportsTouch?(e.event.bind(t,"touchstart",l),e.event.bind(t,"touchmove",c),e.event.bind(t,"touchend",f)):F.supportsIePointer&&(window.PointerEvent?(e.event.bind(t,"pointerdown",l),e.event.bind(t,"pointermove",c),e.event.bind(t,"pointerup",f)):window.MSPointerEvent&&(e.event.bind(t,"MSPointerDown",l),e.event.bind(t,"MSPointerMove",c),e.event.bind(t,"MSPointerUp",f)))}function a(n,r){t.scrollTop-=r,t.scrollLeft-=n,M(e)}function s(e){return e.targetTouches?e.targetTouches[0]:e}function u(e){return!(e.pointerType&&"pen"===e.pointerType&&0===e.buttons||(!e.targetTouches||1!==e.targetTouches.length)&&(!e.pointerType||"mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))}function l(e){if(u(e)){var t=s(e);n.pageX=t.pageX,n.pageY=t.pageY,r=(new Date).getTime(),null!==o&&clearInterval(o)}}function c(o){if(u(o)){var l=s(o),c={pageX:l.pageX,pageY:l.pageY},f=c.pageX-n.pageX,h=c.pageY-n.pageY;if(function(e,n,r){if(!t.contains(e))return!1;for(var i=e;i&&i!==t;){if(i.classList.contains("ps__child--consume"))return!0;var o=d(i);if(r&&o.overflowY.match(/(scroll|auto)/)){var a=i.scrollHeight-i.clientHeight;if(a>0&&(i.scrollTop>0&&r<0||i.scrollTop<a&&r>0))return!0}if(n&&o.overflowX.match(/(scroll|auto)/)){var s=i.scrollWidth-i.clientWidth;if(s>0&&(i.scrollLeft>0&&n<0||i.scrollLeft<s&&n>0))return!0}i=i.parentNode}return!1}(o.target,f,h))return;a(f,h),n=c;var p=(new Date).getTime(),m=p-r;m>0&&(i.x=f/m,i.y=h/m,r=p),function(n,r){var i=Math.floor(t.scrollTop),o=t.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&i===e.contentHeight-e.containerHeight||r>0&&0===i)return 0===window.scrollY&&r>0&&F.isChrome}else if(a>s&&(n<0&&o===e.contentWidth-e.containerWidth||n>0&&0===o))return!0;return!0}(f,h)&&o.preventDefault()}}function f(){e.settings.swipeEasing&&(clearInterval(o),o=setInterval((function(){e.isInitialized?clearInterval(o):i.x||i.y?Math.abs(i.x)<.01&&Math.abs(i.y)<.01?clearInterval(o):(a(30*i.x,30*i.y),i.x*=.8,i.y*=.8):clearInterval(o)}),10))}}},B=function(e,t){var n=this;if(void 0===t&&(t={}),"string"==typeof e&&(e=document.querySelector(e)),!e||!e.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var r in this.element=e,e.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},t)this.settings[r]=t[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var i,o,a=function(){return e.classList.add("ps--focus")},s=function(){return e.classList.remove("ps--focus")};this.isRtl="rtl"===d(e).direction,!0===this.isRtl&&e.classList.add("ps__rtl"),this.isNegativeScroll=(o=e.scrollLeft,e.scrollLeft=-1,i=e.scrollLeft<0,e.scrollLeft=o,i),this.negativeScrollAdjustment=this.isNegativeScroll?e.scrollWidth-e.clientWidth:0,this.event=new x,this.ownerDocument=e.ownerDocument||document,this.scrollbarXRail=h(b("x")),e.appendChild(this.scrollbarXRail),this.scrollbarX=h(y("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var u=d(this.scrollbarXRail);this.scrollbarXBottom=parseInt(u.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=T(u.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=T(u.borderLeftWidth)+T(u.borderRightWidth),f(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=T(u.marginLeft)+T(u.marginRight),f(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=h(b("y")),e.appendChild(this.scrollbarYRail),this.scrollbarY=h(y("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var l=d(this.scrollbarYRail);this.scrollbarYRight=parseInt(l.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=T(l.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(e){var t=d(e);return T(t.width)+T(t.paddingLeft)+T(t.paddingRight)+T(t.borderLeftWidth)+T(t.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=T(l.borderTopWidth)+T(l.borderBottomWidth),f(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=T(l.marginTop)+T(l.marginBottom),f(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:e.scrollLeft<=0?"start":e.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:e.scrollTop<=0?"start":e.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(e){return R[e](n)})),this.lastScrollTop=Math.floor(e.scrollTop),this.lastScrollLeft=e.scrollLeft,this.event.bind(this.element,"scroll",(function(e){return n.onScroll(e)})),M(this)};B.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,f(this.scrollbarXRail,{display:"block"}),f(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=T(d(this.scrollbarXRail).marginLeft)+T(d(this.scrollbarXRail).marginRight),this.railYMarginHeight=T(d(this.scrollbarYRail).marginTop)+T(d(this.scrollbarYRail).marginBottom),f(this.scrollbarXRail,{display:"none"}),f(this.scrollbarYRail,{display:"none"}),M(this),O(this,"top",0,!1,!0),O(this,"left",0,!1,!0),f(this.scrollbarXRail,{display:""}),f(this.scrollbarYRail,{display:""}))},B.prototype.onScroll=function(e){this.isAlive&&(M(this),O(this,"top",this.element.scrollTop-this.lastScrollTop),O(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},B.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),v(this.scrollbarX),v(this.scrollbarY),v(this.scrollbarXRail),v(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},B.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(e){return!e.match(/^ps([-_].+|)$/)})).join(" ")};var j=B,I=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),N="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,H="undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),z="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(H):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},Y=["top","right","bottom","left","width","height","size","weight"],U="undefined"!=typeof MutationObserver,V=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&s()}function a(){z(o)}function s(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,20);i=e}return s}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){N&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),U?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){N&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Y.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),$=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},W=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||H},G=Z(0,0,0,0);function q(e){return parseFloat(e)||0}function K(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+q(e["border-"+n+"-width"])}),0)}var X="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof W(e).SVGGraphicsElement}:function(e){return e instanceof W(e).SVGElement&&"function"==typeof e.getBBox};function Z(e,t,n,r){return{x:e,y:t,width:n,height:r}}var J=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Z(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e,t=(e=this.target,N?X(e)?function(e){var t=e.getBBox();return Z(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return G;var r=W(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n];t[i]=q(e["padding-"+i])}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=q(r.width),u=q(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=K(r,"left","right")+o),Math.round(u+a)!==n&&(u-=K(r,"top","bottom")+a)),!function(e){return e===W(e).document.documentElement}(e)){var l=Math.round(s+o)-t,c=Math.round(u+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(c)&&(u-=c)}return Z(i.left,i.top,s,u)}(e):G);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Q=function(e,t){var n,r,i,o,a,s,u,l=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),$(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);$(this,{target:e,contentRect:l})},ee=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new I,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof W(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new J(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof W(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new Q(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),te="undefined"!=typeof WeakMap?new WeakMap:new I,ne=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=V.getInstance(),r=new ee(t,n,this);te.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){ne.prototype[e]=function(){var t;return(t=te.get(this))[e].apply(t,arguments)}}));var re=void 0!==H.ResizeObserver?H.ResizeObserver:ne,ie=new l.s("PERFECT_SCROLLBAR_CONFIG"),oe=function e(t,n,r,o){Object(i.a)(this,e),this.x=t,this.y=n,this.w=r,this.h=o},ae=function e(t,n){Object(i.a)(this,e),this.x=t,this.y=n},se=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"],ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object(i.a)(this,e),this.assign(t)}return Object(r.a)(e,[{key:"assign",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t in e)this[t]=e[t]}}]),e}(),le=function(){var e=function(){function e(t,n,r,a,s){Object(i.a)(this,e),this.zone=t,this.differs=n,this.elementRef=r,this.platformId=a,this.defaults=s,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new o.a,this.disabled=!1,this.psScrollY=new l.q,this.psScrollX=new l.q,this.psScrollUp=new l.q,this.psScrollDown=new l.q,this.psScrollLeft=new l.q,this.psScrollRight=new l.q,this.psYReachEnd=new l.q,this.psYReachStart=new l.q,this.psXReachEnd=new l.q,this.psXReachStart=new l.q}return Object(r.a)(e,[{key:"ngOnInit",value:function(){var e=this;if(!this.disabled&&Object(c.r)(this.platformId)){var t=new ue(this.defaults);t.assign(this.config),this.zone.runOutsideAngular((function(){e.instance=new j(e.elementRef.nativeElement,t)})),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular((function(){e.ro=new re((function(){e.update()})),e.elementRef.nativeElement.children[0]&&e.ro.observe(e.elementRef.nativeElement.children[0]),e.ro.observe(e.elementRef.nativeElement)})),this.zone.runOutsideAngular((function(){se.forEach((function(t){var n=t.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())}));Object(a.a)(e.elementRef.nativeElement,n).pipe(Object(s.a)(20),Object(u.a)(e.ngDestroy)).subscribe((function(n){e[t].emit(n)}))}))}))}}},{key:"ngOnDestroy",value:function(){var e=this;Object(c.r)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular((function(){e.instance&&e.instance.destroy()})),this.instance=null)}},{key:"ngDoCheck",value:function(){!this.disabled&&this.configDiff&&Object(c.r)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}},{key:"ngOnChanges",value:function(e){e.disabled&&!e.disabled.isFirstChange()&&Object(c.r)(this.platformId)&&e.disabled.currentValue!==e.disabled.previousValue&&(!0===e.disabled.currentValue?this.ngOnDestroy():!1===e.disabled.currentValue&&this.ngOnInit())}},{key:"ps",value:function(){return this.instance}},{key:"update",value:function(){var e=this;"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout((function(){if(!e.disabled&&e.configDiff)try{e.zone.runOutsideAngular((function(){e.instance&&e.instance.update()}))}catch(t){}}),0))}},{key:"geometry",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"scroll";return new oe(this.elementRef.nativeElement[e+"Left"],this.elementRef.nativeElement[e+"Top"],this.elementRef.nativeElement[e+"Width"],this.elementRef.nativeElement[e+"Height"])}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return!e&&this.instance?new ae(this.instance.reach.x||0,this.instance.reach.y||0):new ae(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}},{key:"scrollable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any",t=this.elementRef.nativeElement;return"any"===e?t.classList.contains("ps--active-x")||t.classList.contains("ps--active-y"):"both"===e?t.classList.contains("ps--active-x")&&t.classList.contains("ps--active-y"):t.classList.contains("ps--active-"+e)}},{key:"scrollTo",value:function(e,t,n){this.disabled||(null==t&&null==n?this.animateScrolling("scrollTop",e,n):(null!=e&&this.animateScrolling("scrollLeft",e,n),null!=t&&this.animateScrolling("scrollTop",t,n)))}},{key:"scrollToX",value:function(e,t){this.animateScrolling("scrollLeft",e,t)}},{key:"scrollToY",value:function(e,t){this.animateScrolling("scrollTop",e,t)}},{key:"scrollToTop",value:function(e,t){this.animateScrolling("scrollTop",e||0,t)}},{key:"scrollToLeft",value:function(e,t){this.animateScrolling("scrollLeft",e||0,t)}},{key:"scrollToRight",value:function(e,t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(e||0),t)}},{key:"scrollToBottom",value:function(e,t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(e||0),t)}},{key:"scrollToElement",value:function(e,t,n){var r=this.elementRef.nativeElement.querySelector(e);if(r){var i=r.getBoundingClientRect(),o=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",i.left-o.left+this.elementRef.nativeElement.scrollLeft+(t||0),n),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",i.top-o.top+this.elementRef.nativeElement.scrollTop+(t||0),n)}}},{key:"animateScrolling",value:function(e,t,n){var r=this;if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),n&&"undefined"!=typeof window){if(t!==this.elementRef.nativeElement[e]){var i=0,o=0,a=performance.now(),s=this.elementRef.nativeElement[e],u=(s-t)/2;window.requestAnimationFrame((function l(c){o+=Math.PI/(n/(c-a)),i=Math.round(t+u+u*Math.cos(o)),r.elementRef.nativeElement[e]===s&&(o>=Math.PI?r.animateScrolling(e,t,0):(r.elementRef.nativeElement[e]=i,s=r.elementRef.nativeElement[e],a=c,r.animation=window.requestAnimationFrame(l)))}))}}else this.elementRef.nativeElement[e]=t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.C),l.Yb(l.w),l.Yb(l.n),l.Yb(l.F),l.Yb(ie,8))},e.\u0275dir=l.Tb({type:e,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["perfectScrollbar","config"]},outputs:{psScrollY:"psScrollY",psScrollX:"psScrollX",psScrollUp:"psScrollUp",psScrollDown:"psScrollDown",psScrollLeft:"psScrollLeft",psScrollRight:"psScrollRight",psYReachEnd:"psYReachEnd",psYReachStart:"psYReachStart",psXReachEnd:"psXReachEnd",psXReachStart:"psXReachStart"},exportAs:["ngxPerfectScrollbar"],features:[l.Ib]}),e}(),ce=function(){var e=function e(){Object(i.a)(this,e)};return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)},imports:[[c.b],c.b]}),e}()},Kj3r:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q"),u=n("D0XW");function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.a;return function(n){return n.lift(new c(e,t))}}var c=function(){function e(t,n){Object(o.a)(this,e),this.dueTime=t,this.scheduler=n}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.dueTime,this.scheduler))}}]),e}(),d=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e)).dueTime=r,a.scheduler=i,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return Object(a.a)(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(f,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(s.a);function f(e){e.debouncedNext()}},LBXl:function(e,t,n){"use strict";t.UnsubscriptionError=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}()},"LK+K":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("foSv"),i=n("2WcH");function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=n("JX7q");function s(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?Object(a.a)(e):t}function u(e){var t=Object(i.a)();return function(){var n,i=Object(r.a)(e);if(t){var o=Object(r.a)(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return s(this,n)}}},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("z+Ro"),i=n("yCtX"),o=n("jZKg");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[t.length-1];return Object(r.a)(a)?(t.pop(),Object(o.a)(t,a)):Object(i.a)(t)}},Lhse:function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return i}));var i=r()},M5sl:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n("XDeH");var r=n("jtHE"),i=n("5+tZ"),o=n("pLZG"),a=n("lJxs"),s=function(){function e(e){this.name="@uirouter/rx",this.deregisterFns=[];var t=new r.a(1),n=t.pipe(Object(i.a)((function(e){return e.promise.then((function(){return e}),(function(){return null}))})),Object(o.a)((function(e){return!!e}))),s=n.pipe(Object(a.a)((function(e){return e.params()}))),u=new r.a(1);function l(t,n){var r={currentStates:e.stateRegistry.get(),registered:[],deregistered:[]};t&&(r[t]=n),u.next(r)}this.deregisterFns.push(e.transitionService.onStart({},(function(e){return t.next(e)}))),this.deregisterFns.push(e.stateRegistry.onStatesChanged(l)),l(null,null),Object.assign(e.globals,{start$:t,success$:n,params$:s,states$:u})}return e.prototype.dispose=function(){this.deregisterFns.forEach((function(e){return e()})),this.deregisterFns=[]},e}();n("HDdC"),n("LRne"),n("UXun"),n("IzEk"),n("xbPD"),n("Ji7U"),n("LK+K"),n("1OyB"),n("vuIU"),n("7o/Q"),n("SpAZ")},MYbi:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("O4wp"),i={},o=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,a=/([^\s,]+)/g,s={get:function(e){return i[e]},has:function(e){return null!=s.get(e)},invoke:function(e,t,n){var o=Object(r.h)({},i,n||{}),a=s.annotate(e),u=Object(r.d)((function(e){return o.hasOwnProperty(e)}),(function(e){return"DI can't find injectable: '"+e+"'"})),l=a.filter(u).map((function(e){return o[e]}));return Object(r.q)(e)?e.apply(t,l):e.slice(-1)[0].apply(t,l)},annotate:function(e){if(!Object(r.r)(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(Object(r.o)(e))return e.slice(0,-1);var t=e.toString().replace(o,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(a)||[]}}},MgzW:function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))i.call(n,c)&&(u[c]=n[c]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},MkmW:function(e,t,n){"use strict";t.hostReportError=function(e){setTimeout((function(){throw e}),0)}},MutI:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return w})),n("uFwe");var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("ofXK"),u=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("XNiG"),f=n("1G5W"),h=(n("JX91"),n("u47x"),n("0EQZ"),n("FtGj"),n("3Pt+"),n("f0Cb")),p=["*"],m=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],v=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],g=function e(){Object(a.a)(this,e)},y=Object(l.A)(Object(l.z)(g)),b=function e(){Object(a.a)(this,e)},_=Object(l.z)(b),w=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments))._stateChanges=new d.a,e}return Object(r.a)(n,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(y);return e.\u0275fac=function(t){return E(t||e)},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[u.Hb,u.Ib],ngContentSelectors:p,decls:1,vars:0,template:function(e,t){1&e&&(u.wc(),u.vc(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),e}(),E=u.gc(w),C=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this))._elementRef=e,r._stateChanges=new d.a,"action-list"===r._getListType()&&e.nativeElement.classList.add("mat-action-list"),r}return Object(r.a)(n,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[u.Hb,u.Ib],ngContentSelectors:p,decls:1,vars:0,template:function(e,t){1&e&&(u.wc(),u.vc(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),e}(),A=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=u.Tb({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e}(),k=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=u.Tb({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e}(),S=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o){var s;Object(a.a)(this,n),(s=t.call(this))._element=e,s._isInteractiveList=!1,s._destroyed=new d.a,s._disabled=!1,s._isInteractiveList=!!(i||o&&"action-list"===o._getListType()),s._list=i||o;var u=s._getHostElement();return"button"!==u.nodeName.toLowerCase()||u.hasAttribute("type")||u.setAttribute("type","button"),s._list&&s._list._stateChanges.pipe(Object(f.a)(s._destroyed)).subscribe((function(){r.markForCheck()})),s}return Object(r.a)(n,[{key:"ngAfterContentInit",value:function(){Object(l.E)(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=Object(c.c)(e)}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n),u.Yb(u.i),u.Yb(w,8),u.Yb(C,8))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){var r;1&e&&(u.Qb(n,A,!0),u.Qb(n,k,!0),u.Qb(n,l.k,!0)),2&e&&(u.Fc(r=u.nc())&&(t._avatar=r.first),u.Fc(r=u.nc())&&(t._icon=r.first),u.Fc(r=u.nc())&&(t._lines=r))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&u.Ob("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[u.Hb],ngContentSelectors:v,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(u.wc(m),u.ec(0,"div",0),u.Zb(1,"div",1),u.vc(2),u.ec(3,"div",2),u.vc(4,1),u.dc(),u.vc(5,2),u.dc()),2&e&&(u.Kb(1),u.xc("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[l.t],encapsulation:2,changeDetection:0}),e}(),x=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[l.l,l.u,l.j,l.s,s.b],l.l,l.j,l.s,h.a]}),e}()},N2km:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n("49mS"),i=function(e){var t=e.router,n=e.entering().filter((function(e){return!!e.$$state().lazyLoad})).map((function(t){return a(e,t)}));return r.b.$q.all(n).then((function(){if("url"!==e.originalTransition().options().source){var n=e.targetState();return t.stateService.target(n.identifier(),n.params(),n.options())}var r=t.urlService,i=r.match(r.parts()),o=i&&i.rule;if(o&&"STATE"===o.type)return t.stateService.target(o.state,i.match,e.options());t.urlService.sync()}))},o=function(e){return e.onBefore({entering:function(e){return!!e.lazyLoad}},i)};function a(e,t){var n=t.$$state().lazyLoad,i=n._promise;return i||(i=n._promise=r.b.$q.when(n(e,t)).then((function(t){return t&&Array.isArray(t.states)&&t.states.forEach((function(t){return e.router.stateRegistry.register(t)})),t})).then((function(e){return delete t.lazyLoad,delete t.$$state().lazyLoad,delete n._promise,e}),(function(e){return delete n._promise,r.b.$q.reject(e)}))),i}},N5pH:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("9ecK"),i=n("kpkV"),o=n("lqow"),a=n("//cU"),s=n("S2Kk"),u=n("xUBY"),l=n("49mS"),c=n("Nr6J"),d=n("fqbi"),f={current:i.x,transition:null,traceData:{},bind:null},h=function(){function e(e,t,n,o){var a=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=o,this.isSuperseded=function(){return a.type.hookPhase===r.a.RUN&&!a.options.transition.isActive()},this.options=Object(i.i)(o,f),this.type=n.eventType}return e.chain=function(e,t){return e.reduce((function(e,t){return e.then((function(){return t.invokeHook()}))}),t||l.b.$q.when())},e.invokeHooks=function(t,n){for(var r=0;r<t.length;r++){var i=t[r].invokeHook();if(Object(a.j)(i)){var o=t.slice(r+1);return e.chain(o,i).then(n)}}return n()},e.runAllHooks=function(e){e.forEach((function(e){return e.invokeHook()}))},e.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},e.prototype.invokeHook=function(){var e=this,t=this.registeredHook;if(!t._deregistered){var n=this.getNotCurrentRejection();if(n)return n;var r=this.options;u.a.traceHookInvocation(this,this.transition,r);var i=function(n){return t.eventType.getErrorHandler(e)(n)},o=function(n){return t.eventType.getResultHandler(e)(n)};try{var s=t.callback.call(r.bind,e.transition,e.stateContext);return!this.type.synchronous&&Object(a.j)(s)?s.catch((function(e){return c.b.normalize(e).toPromise()})).then(o,i):o(s)}catch(l){return i(c.b.normalize(l))}finally{t.invokeLimit&&++t.invokeCount>=t.invokeLimit&&t.deregister()}}},e.prototype.handleHookResult=function(e){var t=this;return this.getNotCurrentRejection()||(Object(a.j)(e)?e.then((function(e){return t.handleHookResult(e)})):(u.a.traceHookResult(e,this.transition,this.options),!1===e?c.b.aborted("Hook aborted transition").toPromise():Object(s.e)(d.a)(e)?c.b.redirected(e).toPromise():void 0))},e.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?c.b.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?c.b.aborted().toPromise():this.isSuperseded()?c.b.superseded(this.options.current()).toPromise():void 0},e.prototype.toString=function(){var e=this.options,t=this.registeredHook,n=Object(s.h)("traceData.hookType")(e)||"internal",r=Object(s.h)("traceData.context.state.name")(e)||Object(s.h)("traceData.context")(e)||"unknown",i=Object(o.a)(t.callback);return n+" context: "+r+", "+Object(o.e)(200,i)},e.HANDLE_RESULT=function(e){return function(t){return e.handleHookResult(t)}},e.LOG_REJECTED_RESULT=function(e){return function(t){Object(a.j)(t)&&t.catch((function(t){return e.logError(c.b.normalize(t))}))}},e.LOG_ERROR=function(e){return function(t){return e.logError(t)}},e.REJECT_ERROR=function(e){return function(e){return Object(i.F)(e)}},e.THROW_ERROR=function(e){return function(e){throw e}},e}()},NFeN:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return N}));var r=n("ODXe"),i=n("Ji7U"),o=n("LK+K"),a=n("vuIU"),s=n("1OyB"),u=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("ofXK"),f=n("LRne"),h=n("z6cu"),p=n("cp0P"),m=n("quSY"),v=n("vkgz"),g=n("lJxs"),y=n("JIr8"),b=n("nYR2"),_=n("w1tV"),w=n("IzEk"),E=n("tk/3"),C=n("jhN1"),A=["*"];function k(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function S(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function x(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var D=function e(t,n){Object(s.a)(this,e),this.options=n,t.nodeName?this.svgElement=t:this.url=t},O=function(){var e=function(){function e(t,n,r,i){Object(s.a)(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=r}return Object(a.a)(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,r){return this._addSvgIconConfig(e,t,new D(n,r))}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,r){var i=this._sanitizer.sanitize(u.N.HTML,n);if(!i)throw x(n);var o=this._createSvgElementForSingleIcon(i,r);return this._addSvgIconConfig(e,t,new D(o,r))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new D(t,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var r=this._sanitizer.sanitize(u.N.HTML,t);if(!r)throw x(t);var i=this._svgElementFromString(r);return this._addSvgIconSetConfig(e,new D(i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(u.N.RESOURCE_URL,e);if(!n)throw S(e);var r=this._cachedIconsByUrl.get(n);return r?Object(f.a)(T(r)):this._loadSvgIconFromConfig(new D(e)).pipe(Object(v.a)((function(e){return t._cachedIconsByUrl.set(n,e)})),Object(g.a)((function(e){return T(e)})))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=F(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):Object(h.a)(k(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgElement?Object(f.a)(T(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(Object(v.a)((function(t){return e.svgElement=t})),Object(g.a)((function(e){return T(e)})))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,r=this._extractIconWithNameFromAnySet(e,t);if(r)return Object(f.a)(r);var i=t.filter((function(e){return!e.svgElement})).map((function(e){return n._loadSvgIconSetFromConfig(e).pipe(Object(y.a)((function(t){var r=n._sanitizer.sanitize(u.N.RESOURCE_URL,e.url),i="Loading icon set URL: ".concat(r," failed: ").concat(t.message);return n._errorHandler?n._errorHandler.handleError(new Error(i)):console.error(i),Object(f.a)(null)})))}));return Object(p.a)(i).pipe(Object(g.a)((function(){var r=n._extractIconWithNameFromAnySet(e,t);if(!r)throw k(e);return r})))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,e,r.options);if(i)return i}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchUrl(e.url).pipe(Object(g.a)((function(n){return t._createSvgElementForSingleIcon(n,e.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(e){var t=this;return e.svgElement?Object(f.a)(e.svgElement):this._fetchUrl(e.url).pipe(Object(g.a)((function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var r=e.querySelector('[id="'.concat(t,'"]'));if(!r)return null;var i=r.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);var o=this._svgElementFromString("<svg></svg>");return o.appendChild(i),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,r=0;r<n.length;r++){var i=n[r],o=i.name;"id"!==o&&t.setAttribute(o,i.value)}for(var a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[a].cloneNode(!0));return t}},{key:"_setSvgAttributes",value:function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}},{key:"_fetchUrl",value:function(e){var t=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==e)throw Error('Cannot fetch icon from URL "'.concat(e,'".'));var n=this._sanitizer.sanitize(u.N.RESOURCE_URL,e);if(!n)throw S(e);var r=this._inProgressUrlFetches.get(n);if(r)return r;var i=this._httpClient.get(n,{responseType:"text"}).pipe(Object(b.a)((function(){return t._inProgressUrlFetches.delete(n)})),Object(_.a)());return this._inProgressUrlFetches.set(n,i),i}},{key:"_addSvgIconConfig",value:function(e,t,n){return this._svgIconConfigs.set(F(e,t),n),this}},{key:"_addSvgIconSetConfig",value:function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(E.b,8),u.ic(C.b),u.ic(d.c,8),u.ic(u.p,8))},e.\u0275prov=Object(u.Ub)({factory:function(){return new e(Object(u.ic)(E.b,8),Object(u.ic)(C.b),Object(u.ic)(d.c,8),Object(u.ic)(u.p,8))},token:e,providedIn:"root"}),e}();function T(e){return e.cloneNode(!0)}function F(e,t){return e+":"+t}var M=function e(t){Object(s.a)(this,e),this._elementRef=t},P=Object(l.y)(M),L=new u.s("mat-icon-location",{providedIn:"root",factory:function(){var e=Object(u.cb)(d.c),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),R=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],B=R.map((function(e){return"[".concat(e,"]")})).join(", "),j=/^url\(['"]?#(.*?)['"]?\)$/,I=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,a){var u;return Object(s.a)(this,n),(u=t.call(this,e))._iconRegistry=r,u._location=o,u._errorHandler=a,u._inline=!1,u._currentIconFetch=m.a.EMPTY,i||e.nativeElement.setAttribute("aria-hidden","true"),u}return Object(a.a)(n,[{key:"_splitIconName",value:function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'.concat(e,'"'))}}},{key:"ngOnChanges",value:function(e){var t=this,n=e.svgIcon;if(n)if(this._currentIconFetch.unsubscribe(),this.svgIcon){var i=this._splitIconName(this.svgIcon),o=Object(r.a)(i,2),a=o[0],s=o[1];this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,a).pipe(Object(w.a)(1)).subscribe((function(e){return t._setSvgElement(e)}),(function(e){var n="Error retrieving icon ".concat(a,":").concat(s,"! ").concat(e.message);t._errorHandler?t._errorHandler.handleError(new Error(n)):console.error(n)}))}else n.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}},{key:"ngOnInit",value:function(){this._usingFontIcon()&&this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";if(this._location){var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r)}this._elementRef.nativeElement.appendChild(e)}},{key:"_clearSvgElement",value:function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(e){return"string"==typeof e?e.trim().split(" ")[0]:e}},{key:"_prependPathToReferences",value:function(e){var t=this._elementsWithExternalReferences;t&&t.forEach((function(t,n){t.forEach((function(t){n.setAttribute(t.name,"url('".concat(e,"#").concat(t.value,"')"))}))}))}},{key:"_cacheChildrenWithExternalReferences",value:function(e){for(var t=e.querySelectorAll(B),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,r=function(e){R.forEach((function(r){var i=t[e],o=i.getAttribute(r),a=o?o.match(j):null;if(a){var s=n.get(i);s||n.set(i,s=[]),s.push({name:r,value:a[1]})}}))},i=0;i<t.length;i++)r(i)}},{key:"inline",get:function(){return this._inline},set:function(e){this._inline=Object(c.c)(e)}},{key:"fontSet",get:function(){return this._fontSet},set:function(e){this._fontSet=this._cleanupFontValue(e)}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(e){this._fontIcon=this._cleanupFontValue(e)}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n),u.Yb(O),u.jc("aria-hidden"),u.Yb(L,8),u.Yb(u.p,8))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(e,t){2&e&&u.Ob("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[u.Hb,u.Ib],ngContentSelectors:A,decls:1,vars:0,template:function(e,t){1&e&&(u.wc(),u.vc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e}(),N=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[l.j],l.j]}),e}()},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return r}))},NJhm:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("kpkV"),i=n("//cU"),o=function(){function e(e){this.pattern=/.*/,this.inherit=!0,Object(r.l)(this,e)}return e.prototype.is=function(e,t){return!0},e.prototype.encode=function(e,t){return e},e.prototype.decode=function(e,t){return e},e.prototype.equals=function(e,t){return e==t},e.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},e.prototype.toString=function(){return"{ParamType:"+this.name+"}"},e.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},e.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new a(this,e)},e}();function a(e,t){var n=this;function o(e){return Object(i.a)(e)?e:Object(i.c)(e)?[e]:[]}function a(e,n){return function(a){if(Object(i.a)(a)&&0===a.length)return a;var s=o(a),u=Object(r.u)(s,e);return!0===n?0===Object(r.m)(u,(function(e){return!e})).length:function(e){switch(e.length){case 0:return;case 1:return"auto"===t?e[0]:e;default:return e}}(u)}}function s(e){return function(t,n){var r=o(t),i=o(n);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!e(r[a],i[a]))return!1;return!0}}["encode","decode","equals","$normalize"].forEach((function(t){var r=e[t].bind(e);n[t]=("equals"===t?s:a)(r)})),Object(r.l)(this,{dynamic:e.dynamic,name:e.name,pattern:e.pattern,inherit:e.inherit,raw:e.raw,is:a(e.is.bind(e),!0),$arrayMode:t})}},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("Cfvw"),o=n("EY2u");function a(e){return new r.a((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(i.a)(n):Object(o.b)()).subscribe(t)}))}},Nr6J:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u}));var r=n("kpkV"),i=n("lqow"),o=n("S2Kk"),a=function(e){return e[e.SUPERSEDED=2]="SUPERSEDED",e[e.ABORTED=3]="ABORTED",e[e.INVALID=4]="INVALID",e[e.IGNORED=5]="IGNORED",e[e.ERROR=6]="ERROR",e}({}),s=0,u=function(){function e(e,t,n){this.$id=s++,this.type=e,this.message=t,this.detail=n}return e.isRejectionPromise=function(t){return t&&"function"==typeof t.then&&Object(o.e)(e)(t._transitionRejection)},e.superseded=function(t,n){var r=new e(a.SUPERSEDED,"The transition has been superseded by a different transition",t);return n&&n.redirected&&(r.redirected=!0),r},e.redirected=function(t){return e.superseded(t,{redirected:!0})},e.invalid=function(t){return new e(a.INVALID,"This transition is invalid",t)},e.ignored=function(t){return new e(a.IGNORED,"The transition was ignored",t)},e.aborted=function(t){return new e(a.ABORTED,"The transition has been aborted",t)},e.errored=function(t){return new e(a.ERROR,"The transition errored",t)},e.normalize=function(t){return Object(o.e)(e)(t)?t:e.errored(t)},e.prototype.toString=function(){var e,t=(e=this.detail)&&e.toString!==Object.prototype.toString?e.toString():Object(i.k)(e);return"Transition Rejection($id: "+this.$id+" type: "+this.type+", message: "+this.message+", detail: "+t+")"},e.prototype.toPromise=function(){return Object(r.l)(Object(r.F)(this),{_transitionRejection:this})},e}()},O4wp:function(e,t,n){"use strict";var r=n("kpkV");n.d(t,"b",(function(){return r.c})),n.d(t,"c",(function(){return r.d})),n.d(t,"d",(function(){return r.f})),n.d(t,"e",(function(){return r.h})),n.d(t,"f",(function(){return r.i})),n.d(t,"g",(function(){return r.j})),n.d(t,"h",(function(){return r.l})),n.d(t,"i",(function(){return r.m})),n.d(t,"j",(function(){return r.o})),n.d(t,"k",(function(){return r.p})),n.d(t,"l",(function(){return r.r})),n.d(t,"m",(function(){return r.s})),n.d(t,"z",(function(){return r.v})),n.d(t,"A",(function(){return r.x})),n.d(t,"D",(function(){return r.z})),n.d(t,"F",(function(){return r.C})),n.d(t,"G",(function(){return r.D})),n.d(t,"M",(function(){return r.G})),n.d(t,"P",(function(){return r.I})),n.d(t,"Q",(function(){return r.K})),n.d(t,"S",(function(){return r.L}));var i=n("49mS");n.d(t,"y",(function(){return i.a})),n.d(t,"H",(function(){return i.b}));var o=n("QZHI");n.d(t,"a",(function(){return o.a}));var a=n("S2Kk");n.d(t,"n",(function(){return a.e})),n.d(t,"B",(function(){return a.h})),n.d(t,"C",(function(){return a.i})),n.d(t,"E",(function(){return a.k})),n.d(t,"R",(function(){return a.m}));var s=n("//cU");n.d(t,"o",(function(){return s.a})),n.d(t,"p",(function(){return s.c})),n.d(t,"q",(function(){return s.d})),n.d(t,"r",(function(){return s.e})),n.d(t,"s",(function(){return s.g})),n.d(t,"t",(function(){return s.h})),n.d(t,"u",(function(){return s.i})),n.d(t,"v",(function(){return s.l})),n.d(t,"w",(function(){return s.m})),n("EBDp");var u=n("lqow");n.d(t,"x",(function(){return u.d})),n.d(t,"I",(function(){return u.g})),n.d(t,"J",(function(){return u.h})),n.d(t,"K",(function(){return u.j})),n.d(t,"L",(function(){return u.l})),n.d(t,"O",(function(){return u.m}));var l=n("xUBY");n.d(t,"N",(function(){return l.a}))},ODXe:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("DSFK"),i=n("BsWD"),o=n("PYwp");function a(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||Object(i.a)(e,t)||Object(o.a)()}},P3uQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return p}));var r=n("rePB"),i=n("vuIU"),o=n("ODXe"),a=n("1OyB"),s=n("fXoL"),u=n("AcyG"),l=n("IzEk");function c(){return function(){}}var d=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275prov=s.Ub({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),f=function(){var e=function e(t,n,r){var i=this;Object(a.a)(this,e),this.actions$=t,this.store=n,this.resetService=r,this.actions$.pipe(Object(u.o)(u.c),Object(l.a)(1)).subscribe((function(){return i.resetService.initialState=i.store.snapshot()})),this.actions$.pipe(Object(u.o)(u.j)).subscribe((function(e){return i.resetService.initialState=Object.assign({},i.resetService.initialState,e.addedStates)}))};return e.\u0275fac=function(t){return new(t||e)(s.ic(u.b),s.ic(u.i),s.ic(d))},e.\u0275prov=s.Ub({token:e,factory:e.\u0275fac}),e}(),h=function(){var e=function e(){Object(a.a)(this,e);for(var t=y(Object(s.db)()),n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];this.statesToKeep=r.reduce(t,[])};return e.type="@@CLEAR_STATE",e}(),p=function(){var e=function e(){Object(a.a)(this,e);for(var t=y(Object(s.db)()),n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];this.statesToReset=r.reduce(t,[])};return e.type="@@RESET_STATE",e}(),m=function(){var e=function e(){Object(a.a)(this,e);for(var t=y(Object(s.db)()),n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];this.statesToKeep=r.reduce(t,[])};return e.type="@@RESET_STATE_ALL",e}(),v=function(){var e=function e(){Object(a.a)(this,e);for(var t=b(Object(s.db)()),n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var u=r.reduce(t,[[],[]]),l=Object(o.a)(u,2),c=l[0],d=l[1];this.statesToOverwrite=c,this.values=d};return e.type="@@OVERWRITE_STATE",e}();function g(e,t){var n=new Object(Object(u.l)(e));return n.name&&"defaults"in n||-2!==t?n:(console.warn("Reset Plugin Warning: ".concat(n.name," is not a state class.")),null)}function y(e){return function(t,n){var r=g(n,~e);return r?t.concat(r):t}}function b(e){return function(t,n){var r=Object(o.a)(n,2),i=r[1],a=g(r[0],~e);return a?[t[0].concat(a),t[1].concat(i)]:t}}var _=function(){var e=function(){function e(t){Object(a.a)(this,e),this.resetService=t}return Object(i.a)(e,[{key:"clearStates",value:function(e,t){return t.map((function(e){return w(e)})).map((function(t){return{parts:t.split("."),value:Object(u.m)(e,t)}})).reduce((function(e,t){return t.parts.reduceRight((function(t,n){return n in e?Object(r.a)({},n,Object.assign({},e[n],t)):Object(r.a)({},n,t)}),t.value)}),{})}},{key:"overwriteStates",value:function(e,t,n){return t.forEach((function(t,r){return e=Object(u.p)(e,w(t),n[r])})),e}},{key:"resetStates",value:function(e,t){var n=this;return t.forEach((function(t){e=Object(u.p)(e,w(t),void 0===t.defaults?{}:t.defaults),t.children&&(e=n.resetStates(e,t.children.map(g)))})),e}},{key:"resetStatesAll",value:function(e,t){var n=t.map((function(t){return Object(u.m)(e,w(t))}));return this.overwriteStates(this.resetService.initialState,t,n)}},{key:"handle",value:function(e,t,n){switch(Object(u.k)(t)){case h.type:e=this.clearStates(e,t.statesToKeep);break;case p.type:e=this.resetStates(e,t.statesToReset);break;case m.type:e=this.resetStatesAll(e,t.statesToKeep);break;case v.type:e=this.overwriteStates(e,t.statesToOverwrite,t.values)}return n(e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.ic(d))},e.\u0275prov=s.Ub({token:e,factory:e.\u0275fac}),e}();function w(e){return e.path}var E=function(){var e=function(){function e(){Object(a.a)(this,e)}return Object(i.a)(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[d,f,{provide:s.d,useFactory:c,deps:[f],multi:!0},{provide:u.d,useClass:_,multi:!0}]}}}]),e}();return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)}}),e}()},PMp9:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("F7p8"),i=n("h8IG"),o=n("cGKQ"),a=n("a4qN"),s=n("3Nip"),u=n("rZjt"),l=n("MYbi"),c=n("Y973"),d=n("49mS");function f(e){return d.b.$injector=l.a,d.b.$q=c.a,{name:"vanilla.services",$q:c.a,$injector:l.a,dispose:function(){return null}}}Object(o.c)("vanilla.hashBangLocation",!1,i.a,r.a),Object(o.c)("vanilla.pushStateLocation",!0,a.a,r.a),Object(o.c)("vanilla.memoryLocation",!1,s.a,u.a)},PYwp:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("D0XW"),o=n("Y7HM"),a=n("z+Ro");function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,s=-1;return Object(o.a)(t)?s=Number(t)<1?1:Number(t):Object(a.a)(t)&&(n=t),Object(a.a)(n)||(n=i.a),new r.a((function(t){var r=Object(o.a)(e)?e:+e-n.now();return n.schedule(u,r,{index:0,period:s,subscriber:t})}))}function u(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},QCnb:function(e,t,n){"use strict";e.exports=n("+wdc")},QZHI:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map((function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e})).join("");this.regexp=new RegExp("^"+t+"$")}return e.is=function(e){return!!/[!,*]+/.exec(e)},e.fromString=function(t){return e.is(t)?new e(t):null},e.prototype.matches=function(e){return this.regexp.test("."+e)},e}()},QibW:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return x}));var r=n("Ji7U"),i=n("LK+K"),o=n("vuIU"),a=n("1OyB"),s=n("fXoL"),u=n("FKr1"),l=n("8LU1"),c=n("3Pt+"),d=n("R1ws"),f=n("u47x"),h=n("0EQZ"),p=["input"],m=function(){return{enterDuration:150}},v=["*"],g=new s.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),y=0,b={provide:c.l,useExisting:Object(s.ab)((function(){return w})),multi:!0},_=function e(t,n){Object(a.a)(this,e),this.source=t,this.value=n},w=function(){var e=function(){function e(t){Object(a.a)(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-".concat(y++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new s.q}return Object(o.a)(e,[{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach((function(t){t.name=e.name,t._markForCheck()}))}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)})))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new _(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach((function(e){return e._markForCheck()}))}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}},{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(l.c)(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(l.c)(e),this._markRadiosForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Yb(s.i))},e.\u0275dir=s.Tb({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var r;1&e&&s.Qb(n,k,!0),2&e&&s.Fc(r=s.nc())&&(t._radios=r)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[s.Jb([b])]}),e}(),E=function e(t){Object(a.a)(this,e),this._elementRef=t},C=Object(u.z)(Object(u.D)(E)),A=function(){var e=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r,i,o,u,l,c){var d;return Object(a.a)(this,n),(d=t.call(this,r))._changeDetector=i,d._focusMonitor=o,d._radioDispatcher=u,d._animationMode=l,d._providerOverride=c,d._uniqueId="mat-radio-".concat(++y),d.id=d._uniqueId,d.change=new s.q,d._checked=!1,d._value=null,d._removeUniqueSelectionListener=function(){},d.radioGroup=e,d._removeUniqueSelectionListener=u.listen((function(e,t){e!==d.id&&t===d.name&&(d.checked=!1)})),d}return Object(o.a)(n,[{key:"focus",value:function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){!t&&e.radioGroup&&e.radioGroup._touch()}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new _(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}},{key:"checked",get:function(){return this._checked},set:function(e){var t=Object(l.c)(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(Object(l.c)(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=Object(l.c)(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(s.Yb(w,8),s.Yb(s.n),s.Yb(s.i),s.Yb(f.h),s.Yb(h.d),s.Yb(d.a,8),s.Yb(g,8))},e.\u0275dir=s.Tb({type:e,viewQuery:function(e,t){var n;1&e&&s.ad(p,!0),2&e&&s.Fc(n=s.nc())&&(t._inputElement=n.first)},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[s.Hb]}),e}(),k=function(){var e=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return n}(A);return e.\u0275fac=function(t){return S(t||e)},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&s.mc("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(s.Lb("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),s.Ob("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[s.Hb],ngContentSelectors:v,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(s.wc(),s.ec(0,"label",0,1),s.ec(2,"div",2),s.Zb(3,"div",3),s.Zb(4,"div",4),s.ec(5,"input",5,6),s.mc("change",(function(e){return t._onInputChange(e)}))("click",(function(e){return t._onInputClick(e)})),s.dc(),s.ec(7,"div",7),s.Zb(8,"div",8),s.dc(),s.dc(),s.ec(9,"div",9),s.ec(10,"span",10),s.Uc(11,"\xa0"),s.dc(),s.vc(12),s.dc(),s.dc()),2&e){var n=s.Gc(1);s.Lb("for",t.inputId),s.Kb(5),s.xc("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),s.Lb("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),s.Kb(2),s.xc("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s.Ac(18,m)),s.Kb(2),s.Ob("mat-radio-label-before","before"==t.labelPosition)}},directives:[u.t],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e}(),S=s.gc(k),x=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},imports:[[u.u,u.j],u.j]}),e}()},Qu3c:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"b",(function(){return O}));var r=n("1OyB"),i=n("vuIU"),o=n("rDax"),a=n("u47x"),s=n("ofXK"),u=n("fXoL"),l=n("FKr1"),c=n("vxfF"),d=n("8LU1"),f=n("FtGj"),h=n("0MNC"),p=n("nLfN"),m=n("+rOU"),v=n("XNiG"),g=n("1G5W"),y=n("IzEk"),b=n("R0Ic"),_=n("cH1L"),w={tooltipState:Object(b.o)("state",[Object(b.l)("initial, void, hidden",Object(b.m)({opacity:0,transform:"scale(0)"})),Object(b.l)("visible",Object(b.m)({transform:"scale(1)"})),Object(b.n)("* => visible",Object(b.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(b.h)([Object(b.m)({opacity:0,transform:"scale(0)",offset:0}),Object(b.m)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(b.m)({opacity:1,transform:"scale(1)",offset:1})]))),Object(b.n)("* => hidden",Object(b.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(b.m)({opacity:0})))])},E=Object(p.f)({passive:!0});function C(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var A=new u.s("mat-tooltip-scroll-strategy"),k={provide:A,deps:[o.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},S=new u.s("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),x=function(){var e=function(){function e(t,n,i,o,a,s,u,l,c,d,h,p){var m=this;Object(r.a)(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=o,this._ngZone=a,this._platform=s,this._ariaDescriber=u,this._focusMonitor=l,this._dir=d,this._defaultOptions=h,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new v.a,this._handleKeydown=function(e){m._isTooltipVisible()&&e.keyCode===f.h&&!Object(f.u)(e)&&(e.preventDefault(),e.stopPropagation(),m._ngZone.run((function(){return m.hide(0)})))},this._scrollStrategy=c,h&&(h.position&&(this.position=h.position),h.touchGestures&&(this.touchGestures=h.touchGestures)),l.monitor(n).pipe(Object(g.a)(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&a.run((function(){return m.show()})):a.run((function(){return m.hide(0)}))})),a.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",m._handleKeydown)}))}return Object(i.a)(e,[{key:"ngOnInit",value:function(){this._setupPointerEvents()}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(t,n){e.removeEventListener(n,t,E)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new m.d(D,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(g.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(Object(g.a)(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(g.a)(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw C(n);e={originX:"end",originY:"center"}}var r=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:r.x,originY:r.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw C(n);e={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:r.x,overlayY:r.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(y.a)(1),Object(g.a)(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_setupPointerEvents",value:function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,n){e._elementRef.nativeElement.addEventListener(n,t,E)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(d.c)(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?"".concat(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Yb(o.c),u.Yb(u.n),u.Yb(c.f),u.Yb(u.V),u.Yb(u.C),u.Yb(p.a),u.Yb(a.c),u.Yb(a.h),u.Yb(A),u.Yb(_.b,8),u.Yb(S,8),u.Yb(u.n))},e.\u0275dir=u.Tb({type:e,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e}(),D=function(){var e=function(){function e(t,n){Object(r.a)(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new v.a,this._isHandset=this._breakpointObserver.observe(h.b.Handset)}return Object(i.a)(e,[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.i),u.Yb(h.a))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&u.mc("click",(function(){return t._handleBodyInteraction()}),!1,u.Hc),2&e&&u.Rc("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){if(1&e&&(u.ec(0,"div",0),u.mc("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),u.rc(1,"async"),u.Uc(2),u.dc()),2&e){var n,r=null==(n=u.sc(1,5,t._isHandset))?null:n.matches;u.Ob("mat-tooltip-handset",r),u.xc("ngClass",t.tooltipClass)("@state",t._visibility),u.Kb(2),u.Vc(t.message)}},directives:[s.i],pipes:[s.a],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[w.tooltipState]},changeDetection:0}),e}(),O=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},providers:[k],imports:[[a.a,s.b,o.f,l.j],l.j,c.c]}),e}()},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return _})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return p})),n.d(t,"i",(function(){return g})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return y})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return f})),n.d(t,"n",(function(){return m})),n.d(t,"o",(function(){return u})),n.d(t,"p",(function(){return w})),n.d(t,"q",(function(){return E}));var r=n("vuIU"),i=n("1OyB"),o=function e(){Object(i.a)(this,e)},a=function e(){Object(i.a)(this,e)},s="*";function u(e,t){return{type:7,name:e,definitions:t,options:{}}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function f(e){return{type:6,styles:e,offset:null}}function h(e,t,n){return{type:0,name:e,styles:t,options:n}}function p(e){return{type:5,steps:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function y(e,t){return{type:12,timings:e,animation:t}}function b(e){Promise.resolve(null).then(e)}var _=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(i.a)(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return Object(r.a)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;b((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),w=function(){function e(t){var n=this;Object(i.a)(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,o=0,a=0,s=this.players.length;0==s?b((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++r==s&&n._onFinish()})),e.onDestroy((function(){++o==s&&n._onDestroy()})),e.onStart((function(){++a==s&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return Object(r.a)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),E="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",(function(){return xt})),n.d(t,"b",(function(){return Tt}));var r=n("ODXe"),i=n("1OyB"),o=n("vuIU"),a=n("Ji7U"),s=n("LK+K"),u=n("fXoL"),l=n("jhN1"),c=n("R0Ic"),d=n("ReuC"),f=n("foSv"),h=n("uFwe"),p=n("KQm4");function m(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function v(e){switch(e.length){case 0:return new c.d;case 1:return e[0];default:return new c.p(e)}}function g(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],u=-1,l=null;if(r.forEach((function(e){var n=e.offset,r=n==u,d=r&&l||{};Object.keys(e).forEach((function(n){var r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case c.q:s=i[n];break;case c.a:s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}d[r]=s})),r||s.push(d),l=d,u=n})),a.length){var d="\n - ";throw new Error("Unable to animate due to the following errors:".concat(d).concat(a.join(d)))}return s}function y(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&b(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&b(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&b(n,"destroy",e))}))}}function b(e,t,n){var r=n.totalTime,i=_(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function _(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function w(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function E(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var C=function(e,t){return!1},A=function(e,t){return!1},k=function(e,t,n){return[]},S=m();(S||"undefined"!=typeof Element)&&(C=function(e,t){return e.contains(t)},A=function(){if(S||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:A}(),k=function(e,t,n){var r=[];if(n)r.push.apply(r,Object(p.a)(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var x=null,D=!1;function O(e){x||(x=("undefined"!=typeof document?document.body:null)||{},D=!!x.style&&"WebkitAppearance"in x.style);var t=!0;return x.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in x.style)&&D&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in x.style),t}var T=A,F=C,M=k;function P(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var L=function(){var e=function(){function e(){Object(i.a)(this,e)}return Object(o.a)(e,[{key:"validateStyleProperty",value:function(e){return O(e)}},{key:"matchesElement",value:function(e,t){return T(e,t)}},{key:"containsElement",value:function(e,t){return F(e,t)}},{key:"query",value:function(e,t,n){return M(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,i){return new c.d(n,r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=u.Ub({token:e,factory:e.\u0275fac}),e}(),R=function(){var e=function e(){Object(i.a)(this,e)};return e.NOOP=new L,e}();function B(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:j(parseFloat(t[1]),t[2])}function j(e,t){switch(t){case"s":return 1e3*e;default:return e}}function I(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};r=j(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=j(parseFloat(s),a[4]));var u=a[5];u&&(o=u)}else r=e;if(!n){var l=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(c,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else N(e,n);return n}function z(e,t,n){return n?t+":"+n+";":""}function Y(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=z(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=z(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function U(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var i=Z(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]})),m()&&Y(e))}function V(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=Z(t);e.style[n]=""})),m()&&Y(e))}function $(e){return Array.isArray(e)?1==e.length?e[0]:Object(c.j)(e):e}var W=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function G(e){var t=[];if("string"==typeof e){for(var n;n=W.exec(e);)t.push(n[1]);W.lastIndex=0}return t}function q(e,t,n){var r=e.toString(),i=r.replace(W,(function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param ".concat(r)),i=""),i.toString()}));return i==r?e:i}function K(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var X=/-+([a-z0-9])/g;function Z(e){return e.replace(X,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function J(e,t){return 0===e||0===t}function Q(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach((function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]})),o.length)for(var a=function(){var n=t[s];o.forEach((function(t){n[t]=te(e,t)}))},s=1;s<t.length;s++)a()}return t}function ee(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #".concat(t.type))}}function te(e,t){return window.getComputedStyle(e)[t]}var ne=new Set(["true","1"]),re=new Set(["false","0"]);function ie(e,t){var n=ne.has(e)||re.has(e),r=ne.has(t)||re.has(t);return function(i,o){var a="*"==e||e==i,s="*"==t||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?ne.has(e):re.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?ne.has(t):re.has(t)),a&&s}}var oe=new RegExp("s*".concat(":self","s*,?"),"g");function ae(e,t,n){return new se(e).build(t,n)}var se=function(){function e(t){Object(i.a)(this,e),this._driver=t}return Object(o.a)(e,[{key:"build",value:function(e,t){var n=new ue(t);return this._resetContextStyleTimingState(n),ee(this,$(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,u=s.name;u.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,o.push(n.visitState(s,t))})),s.name=u}else if(1==e.type){var l=n.visitTransition(e,t);r+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach((function(e){if(le(e)){var t=e;Object.keys(t).forEach((function(e){G(t[e]).forEach((function(e){o.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var a=K(i.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=ee(this,$(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=i[1],a=i[2],s=i[3];t.push(ie(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(ie(s,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:ce(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return ee(n,e,t)})),options:ce(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map((function(e){t.currentTime=r;var o=ee(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:ce(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return de(I(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=de(0,0,"");return i.dynamic=!0,i.strValue=r,i}return de((n=n||I(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Object(c.m)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=Object(c.m)(s)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(o,t);u.isEmptyStep=a,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==c.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var r=!1,i=null;return n.forEach((function(e){if(le(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,l=t.collectedStyles[t.currentQuerySelector],c=l[r],d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(c.startTime,'ms" and "').concat(c.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),d=!1),o=c.startTime),d&&(l[r]={startTime:o,endTime:i}),t.options&&(a=t.errors,s=t.options.params||{},(u=G(e[r])).length&&u.forEach((function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,u=0,l=e.steps.map((function(e){var r=n._makeStyleAst(e,t),l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(le(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(le(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=l&&(i++,c=r.offset=l),s=s||c<0||c>1,a=a||c<u,u=c,o.push(c),r}));s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,d=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));var f=c-1,h=t.currentTime,p=t.currentAnimateTimings,m=p.duration;return l.forEach((function(e,i){var a=d>0?i==f?1:d*i:o[i],s=a*m;t.currentTime=h+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)})),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:ee(this,$(e.animation),t),options:ce(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ce(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ce(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var o=function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(oe,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),a=Object(r.a)(o,2),s=a[0],u=a[1];t.currentQuerySelector=n.length?n+" "+s:s,w(t.collectedStyles,t.currentQuerySelector,{});var l=ee(this,$(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:u,animation:l,originalSelector:e.selector,options:ce(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:I(e.timings,t.errors,!0);return{type:12,animation:ee(this,$(e.animation),t),timings:n,options:null}}}]),e}(),ue=function e(t){Object(i.a)(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function le(e){return!Array.isArray(e)&&"object"==typeof e}function ce(e){var t;return e?(e=N(e)).params&&(e.params=(t=e.params)?N(t):null):e={},e}function de(e,t,n){return{duration:e,delay:t,easing:n}}function fe(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var he=function(){function e(){Object(i.a)(this,e),this._map=new Map}return Object(o.a)(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,Object(p.a)(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),pe=new RegExp(":enter","g"),me=new RegExp(":leave","g");function ve(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ge).buildKeyframes(e,t,n,r,i,o,a,s,u,l)}var ge=function(){function e(){Object(i.a)(this,e)}return Object(o.a)(e,[{key:"buildKeyframes",value:function(e,t,n,r,i,o,a,s,u){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new he;var c=new be(e,t,u,r,i,l,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),ee(this,n,c);var d=c.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(a).length){var f=d[d.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,c.errors,s)}return d.length?d.map((function(e){return e.buildKeyframes()})):[fe(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?B(n.duration):null,o=null!=n.delay?B(n.delay):null;return 0!==i&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)})),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),ee(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ye);var a=B(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return ee(n,e,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?B(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),ee(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return I(t.params?q(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?B(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ye);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach((function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(u=s.currentTimeline),ee(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var l=u.currentTime;ee(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}]),e}(),ye={},be=function(){function e(t,n,r,o,a,s,u,l){Object(i.a)(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=o,this._leaveClassName=a,this.errors=s,this.timelines=u,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ye,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new _e(this._driver,n,0),u.push(this.currentTimeline)}return Object(o.a)(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=B(r.duration)),null!=r.delay&&(i.delay=B(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=q(o[e],a,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=ye,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(me,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(p.a)(s))}return i||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}},{key:"params",get:function(){return this.options.params}}]),e}(),_e=function(){function e(t,n,r,o){Object(i.a)(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return Object(o.a)(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||c.a,t._currentKeyframe[e]=c.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=c.a})):H(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var t=q(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:c.a),i._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,a){var s=H(o,!0);Object.keys(s).forEach((function(e){var r=s[e];r==c.q?t.add(e):r==c.a&&n.add(e)})),r||(s.offset=a/e.duration),i.push(s)}));var o=t.size?K(t.values()):[],a=n.size?K(n.values()):[];if(r){var s=i[0],u=N(s);s.offset=0,u.offset=1,i=[s,u]}return fe(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),we=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,o,a,s,u){var l,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return Object(i.a)(this,n),(l=t.call(this,e,r,u.delay)).element=r,l.keyframes=o,l.preStyleProps=a,l.postStyleProps=s,l._stretchStartingKeyframe=c,l.timings={duration:u.duration,delay:u.delay,easing:u.easing},l}return Object(o.a)(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,u=H(e[0],!1);u.offset=0,o.push(u);var l=H(e[0],!1);l.offset=Ee(s),o.push(l);for(var c=e.length-1,d=1;d<=c;d++){var f=H(e[d],!1);f.offset=Ee((n+f.offset*r)/a),o.push(f)}r=a,n=0,i="",e=o}return fe(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(_e);function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Ce=function e(){Object(i.a)(this,e)},Ae=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"normalizePropertyName",value:function(e,t){return Z(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(ke[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+i}}]),n}(Ce),ke=function(){return e="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),t={},e.forEach((function(e){return t[e]=!0})),t;var e,t}();function Se(e,t,n,r,i,o,a,s,u,l,c,d,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:d,errors:f}}var xe={},De=function(){function e(t,n,r){Object(i.a)(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return Object(o.a)(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,i){return e.some((function(e){return e(t,n,r,i)}))}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,r,i,o,a,s,u,l){var c=[],d=this.ast.options&&this.ast.options.params||xe,f=this.buildStyles(n,a&&a.params||xe,c),h=s&&s.params||xe,p=this.buildStyles(r,h,c),m=new Set,v=new Map,g=new Map,y="void"===r,b={params:Object.assign(Object.assign({},d),h)},_=l?[]:ve(e,t,this.ast.animation,i,o,f,p,b,u,c),E=0;if(_.forEach((function(e){E=Math.max(e.duration+e.delay,E)})),c.length)return Se(t,this._triggerName,n,r,y,f,p,[],[],v,g,E,c);_.forEach((function(e){var n=e.element,r=w(v,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=w(g,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&m.add(n)}));var C=K(m.values());return Se(t,this._triggerName,n,r,y,f,p,_,C,v,g,E)}}]),e}(),Oe=function(){function e(t,n){Object(i.a)(this,e),this.styles=t,this.defaultParams=n}return Object(o.a)(e,[{key:"buildStyles",value:function(e,t){var n={},r=N(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach((function(e){var o=i[e];o.length>1&&(o=q(o,r,t)),n[e]=o}))}})),n}}]),e}(),Te=function(){function e(t,n){var r=this;Object(i.a)(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){r.states[e.name]=new Oe(e.style,e.options&&e.options.params||{})})),Fe(this.states,"true","1"),Fe(this.states,"false","0"),n.transitions.forEach((function(e){r.transitionFactories.push(new De(t,e,r.states))})),this.fallbackTransition=new De(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object(o.a)(e,[{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find((function(i){return i.match(e,t,n,r)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function Fe(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Me=new he,Pe=function(){function e(t,n,r){Object(i.a)(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return Object(o.a)(e,[{key:"register",value:function(e,t){var n=[],r=ae(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,i=g(this._driver,this._normalizer,r,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=ve(this._driver,t,a,"ng-enter","ng-leave",{},{},i,Me,o)).forEach((function(e){var t=w(s,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));s.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,c.a)}))}));var u=n.map((function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)})),l=v(u);return this._playersById[e]=l,l.onDestroy((function(){return r.destroy(e)})),this.players.push(l),l}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,r){var i=_(t,"","","");return y(this._getPlayer(e),n,i,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),Le=[],Re={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Be={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},je=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";Object(i.a)(this,e),this.namespaceId=n;var r=t&&t.hasOwnProperty("value"),o=r?t.value:t;if(this.value=Ye(o),r){var a=N(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return Object(o.a)(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),Ie=new je("void"),Ne=function(){function e(t,n,r){Object(i.a)(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Ge(n,this._hostClassName)}return Object(o.a)(e,[{key:"listen",value:function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=w(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var u=w(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),u[t]=Ie),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete u[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new ze(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],l=new je(n,this.id),c=n&&n.hasOwnProperty("value");!c&&u&&l.absorbOptions(u.options),s[t]=l,u||(u=Ie);var d="void"===l.value;if(d||u.value!==l.value){var f=w(this._engine.playersByElement,e,[]);f.forEach((function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()}));var h=o.matchTransition(u.value,l.value,e,l.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:u,toState:l,player:a,isFallbackTransition:p}),p||(Ge(e,"ng-animate-queued"),a.onStart((function(){qe(e,"ng-animate-queued")}))),a.onDone((function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}})),this.players.push(a),f.push(a),a}if(!Xe(u.params,l.params)){var m=[],v=o.matchStyles(u.value,u.params,m),g=o.matchStyles(l.value,l.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush((function(){V(e,v),U(e,g)}))}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,r){t._elementListeners.set(r,n.filter((function(t){return t.name!=e})))}))}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach((function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return r.forEach((function(e){return n.clearElementCache(e)}))}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach((function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&v(a).onDone((function(){return i._engine.processLeaveNode(e)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach((function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=t._triggers[i].fallbackTransition,a=t._engine.statesByElement.get(e)[i]||Ie,s=new je("void"),u=new ze(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:a,toState:s,player:u,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var a=e;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==Re||(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Ge(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach((function(r){var i=r.player;if(!i.destroyed){var o=r.element,a=t._elementListeners.get(o);a&&a.forEach((function(t){if(t.name==r.triggerName){var n=_(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,y(r.player,t.phase,n,t.callback)}})),i.markedForDestroy?t._engine.afterFlush((function(){i.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1}))}},{key:"destroy",value:function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find((function(t){return t.element===e}))||t}}]),e}(),He=function(){function e(t,n,r){Object(i.a)(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return Object(o.a)(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"createNamespace",value:function(e,t){var n=new Ne(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,r){if(Ue(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(Ue(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ge(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),qe(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(Ue(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,i){return Ue(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return v(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Re,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++){var i=this.collectedEnterElements[r];Ge(i,"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(var a=0;a<o.length;a++)o[a]()}}else for(var s=0;s<this.collectedLeaveElements.length;s++){var u=this.collectedLeaveElements[s];this.processLeaveNode(u)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var l=this._whenQuietFns;this._whenQuietFns=[],n.length?v(n).onDone((function(){l.forEach((function(e){return e()}))})):l.forEach((function(e){return e()}))}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(e.join("\n")))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new he,i=[],o=new Map,a=[],s=new Map,u=new Map,l=new Map,d=new Set;this.disabledNodes.forEach((function(e){d.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)d.add(t[r])}));var f=this.bodyNode,h=Array.from(this.statesByElement.keys()),m=We(h,this.collectedEnterElements),g=new Map,y=0;m.forEach((function(e,t){var n="ng-enter"+y++;g.set(t,n),e.forEach((function(e){return Ge(e,n)}))}));for(var b=[],_=new Set,E=new Set,C=0;C<this.collectedLeaveElements.length;C++){var A=this.collectedLeaveElements[C],k=A.__ng_removed;k&&k.setForRemoval&&(b.push(A),_.add(A),k.hasAnimation?this.driver.query(A,".ng-star-inserted",!0).forEach((function(e){return _.add(e)})):E.add(A))}var S=new Map,x=We(h,Array.from(_));x.forEach((function(e,t){var n="ng-leave"+y++;S.set(t,n),e.forEach((function(e){return Ge(e,n)}))})),e.push((function(){m.forEach((function(e,t){var n=g.get(t);e.forEach((function(e){return qe(e,n)}))})),x.forEach((function(e,t){var n=S.get(t);e.forEach((function(e){return qe(e,n)}))})),b.forEach((function(e){n.processLeaveNode(e)}))}));for(var D=[],O=[],T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach((function(e){var t=e.player,o=e.element;if(D.push(t),n.collectedEnterElements.length){var c=o.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var d=!f||!n.driver.containsElement(f,o),h=S.get(o),p=g.get(o),m=n._buildInstruction(e,r,p,h,d);if(m.errors&&m.errors.length)O.push(m);else{if(d)return t.onStart((function(){return V(o,m.fromStyles)})),t.onDestroy((function(){return U(o,m.toStyles)})),void i.push(t);if(e.isFallbackTransition)return t.onStart((function(){return V(o,m.fromStyles)})),t.onDestroy((function(){return U(o,m.toStyles)})),void i.push(t);m.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(o,m.timelines),a.push({instruction:m,player:t,element:o}),m.queriedElements.forEach((function(e){return w(s,e,[]).push(t)})),m.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=u.get(t);r||u.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),m.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=l.get(t);r||l.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(O.length){var F=[];O.forEach((function(e){F.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return F.push("- ".concat(e,"\n"))}))})),D.forEach((function(e){return e.destroy()})),this.reportError(F)}var M=new Map,P=new Map;a.forEach((function(e){var t=e.element;r.has(t)&&(P.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,M))})),i.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){w(M,t,[]).push(e),e.destroy()}))}));var L=b.filter((function(e){return Ze(e,u,l)})),R=new Map;$e(R,this.driver,E,l,c.a).forEach((function(e){Ze(e,u,l)&&L.push(e)}));var B=new Map;m.forEach((function(e,t){$e(B,n.driver,new Set(e),u,c.q)})),L.forEach((function(e){var t=R.get(e),n=B.get(e);R.set(e,Object.assign(Object.assign({},t),n))}));var j=[],I=[],N={};a.forEach((function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(d.has(t))return a.onDestroy((function(){return U(t,s.toStyles)})),a.disabled=!0,a.overrideTotalTime(s.totalTime),void i.push(a);var u=N;if(P.size>1){for(var l=t,c=[];l=l.parentNode;){var f=P.get(l);if(f){u=f;break}c.push(l)}c.forEach((function(e){return P.set(e,u)}))}var h=n._buildAnimation(a.namespaceId,s,M,o,B,R);if(a.setRealPlayer(h),u===N)j.push(a);else{var p=n.playersByElement.get(u);p&&p.length&&(a.parentPlayer=v(p)),i.push(a)}}else V(t,s.fromStyles),a.onDestroy((function(){return U(t,s.toStyles)})),I.push(a),d.has(t)&&i.push(a)})),I.forEach((function(e){var t=o.get(e.element);if(t&&t.length){var n=v(t);e.setRealPlayer(n)}})),i.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var H=0;H<b.length;H++){var z=b[H],Y=z.__ng_removed;if(qe(z,"ng-leave"),!Y||!Y.hasAnimation){var $=[];if(s.size){var W=s.get(z);W&&W.length&&$.push.apply($,Object(p.a)(W));for(var G=this.driver.query(z,".ng-animating",!0),q=0;q<G.length;q++){var K=s.get(G[q]);K&&K.length&&$.push.apply($,Object(p.a)(K))}}var X=$.filter((function(e){return!e.destroyed}));X.length?Ke(this,z,X):this.processLeaveNode(z)}}return b.length=0,j.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),j}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,i){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var u=!i||"void"==i;s.forEach((function(e){e.queued||(u||e.triggerName==r)&&o.push(e)}))}}return(n||r)&&(o=o.filter((function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)}))),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var r,i=this,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,u=Object(h.a)(t.timelines);try{var l=function(){var e=r.value.element,u=e!==o,l=w(n,e,[]);i._getPreviousPlayers(e,u,a,s,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)}))};for(u.s();!(r=u.n()).done;)l()}catch(c){u.e(c)}finally{u.f()}V(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,i,o){var a=this,s=t.triggerName,u=t.element,l=[],d=new Set,f=new Set,h=t.timelines.map((function(t){var h=t.element;d.add(h);var p=h.__ng_removed;if(p&&p.removedBeforeQueried)return new c.d(t.duration,t.delay);var m,v,y=h!==u,b=(m=(n.get(h)||Le).map((function(e){return e.getRealPlayer()})),v=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof c.p?e(i.players,n):n.push(i)}}(m,v),v).filter((function(e){return!!e.element&&e.element===h})),_=i.get(h),w=o.get(h),E=g(a.driver,a._normalizer,h,t.keyframes,_,w),C=a._buildPlayer(t,E,b);if(t.subTimeline&&r&&f.add(h),y){var A=new ze(e,s,h);A.setRealPlayer(C),l.push(A)}return C}));l.forEach((function(e){w(a.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(a.playersByQueriedElement,e.element,e)}))})),d.forEach((function(e){return Ge(e,"ng-animating")}));var p=v(h);return p.onDestroy((function(){d.forEach((function(e){return qe(e,"ng-animating")})),U(u,t.toStyles)})),f.forEach((function(e){w(r,e,[]).push(p)})),p}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new c.d(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),ze=function(){function e(t,n,r){Object(i.a)(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new c.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return Object(o.a)(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return y(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){w(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Ye(e){return null!=e?e:null}function Ue(e){return e&&1===e.nodeType}function Ve(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function $e(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(Ve(e))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Be,a.push(r))})),e.set(r,o)}));var s=0;return n.forEach((function(e){return Ve(e,o[s++])})),a}function We(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function Ge(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function qe(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ke(e,t,n){v(n).onDone((function(){return e.processLeaveNode(t)}))}function Xe(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}function Ze(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach((function(e){return i.add(e)})):t.set(e,r),n.delete(e),!0}var Je=function(){function e(t,n,r){var o=this;Object(i.a)(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new He(t,n,r),this._timelineEngine=new Pe(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return o.onRemovalComplete(e,t)}}return Object(o.a)(e,[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],u=ae(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new Te(e,t)}(r,u),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,i){if("@"==n.charAt(0)){var o=E(n),a=Object(r.a)(o,2);this._timelineEngine.command(a[0],t,a[1],i)}else this._transitionEngine.trigger(e,t,n,i)}},{key:"listen",value:function(e,t,n,i,o){if("@"==n.charAt(0)){var a=E(n),s=Object(r.a)(a,2);return this._timelineEngine.listen(s[0],t,s[1],o)}return this._transitionEngine.listen(e,t,n,i,o)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function Qe(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=tt(t[0]),t.length>1&&(r=tt(t[t.length-1]))):t&&(n=tt(t)),n||r?new et(e,n,r):null}var et=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o={}),this._initialStyles=o}return Object(o.a)(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&U(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(U(this._element,this._initialStyles),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(V(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(V(this._element,this._endStyles),this._endStyles=null),U(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function tt(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];nt(i)&&((t=t||{})[i]=e[i])}return t}function nt(e){return"display"===e||"position"===e}var rt=function(){function e(t,n,r,o,a,s,u){var l=this;Object(i.a)(this,e),this._element=t,this._name=n,this._duration=r,this._delay=o,this._easing=a,this._fillMode=s,this._onDoneFn=u,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return l._handleCallback(e)}}return Object(o.a)(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=lt(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t="".concat(n,", ").concat(t)),ut(e,"",t),st(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){it(this._element,this._name,"paused")}},{key:"resume",value:function(){it(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=ot(this._element,this._name);this._position=e*this._duration,ut(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),st(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=lt(e,"").split(","),r=at(n,t);r>=0&&(n.splice(r,1),ut(e,"",n.join(",")))}(this._element,this._name))}}]),e}();function it(e,t,n){ut(e,"PlayState",n,ot(e,t))}function ot(e,t){var n=lt(e,"");return n.indexOf(",")>0?at(n.split(","),t):at([n],t)}function at(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function st(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function ut(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}e.style[i]=n}function lt(e,t){return e.style["animation"+t]}var ct=function(){function e(t,n,r,o,a,s,u,l){Object(i.a)(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=o,this._delay=a,this._finalStyles=u,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=o+a,this._buildStyler()}return Object(o.a)(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new rt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:te(e.element,r))}))}this.currentSnapshot=t}}]),e}(),dt=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var o;return Object(i.a)(this,n),(o=t.call(this)).element=e,o._startingStyles={},o.__initialized=!1,o._styles=P(r),o}return Object(o.a)(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),Object(d.a)(Object(f.a)(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),Object(d.a)(Object(f.a)(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,Object(d.a)(Object(f.a)(n.prototype),"destroy",this).call(this))}}]),n}(c.d),ft=function(){function e(){Object(i.a)(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return Object(o.a)(e,[{key:"validateStyleProperty",value:function(e){return O(e)}},{key:"matchesElement",value:function(e,t){return T(e,t)}},{key:"containsElement",value:function(e,t){return F(e,t)}},{key:"query",value:function(e,t,n){return M(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return P(e)}));var r="@keyframes ".concat(t," {\n"),i="";n.forEach((function(e){i=" ";var t=parseFloat(e.offset);r+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(t,": ").concat(n,";\n"))}})),r+="".concat(i,"}\n")})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof ct})),u={};J(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return u[e]=t[e]}))}));var l=ht(t=Q(e,t,u));if(0==n)return new dt(e,l);var c="".concat("gen_css_kf_").concat(this._count++),d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);var f=Qe(e,t),h=new ct(e,t,c,n,r,i,l,f);return h.onDestroy((function(){return pt(d)})),h}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}();function ht(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}function pt(e){e.parentNode.removeChild(e)}var mt=function(){function e(t,n,r,o){Object(i.a)(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return Object(o.a)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:te(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),vt=function(){function e(){Object(i.a)(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(gt().toString()),this._cssKeyframesDriver=new ft}return Object(o.a)(e,[{key:"validateStyleProperty",value:function(e){return O(e)}},{key:"matchesElement",value:function(e,t){return T(e,t)}},{key:"containsElement",value:function(e,t){return F(e,t)}},{key:"query",value:function(e,t,n){return M(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0,s=!a&&!this._isNativeImpl;if(s)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var u=0==r?"both":"forwards",l={duration:n,delay:r,fill:u};i&&(l.easing=i);var c={},d=o.filter((function(e){return e instanceof mt}));J(n,r)&&d.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var f=Qe(e,t=Q(e,t=t.map((function(e){return H(e,!1)})),c));return new mt(e,t,l,f)}}]),e}();function gt(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var yt=n("ofXK"),bt=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var o;return Object(i.a)(this,n),(o=t.call(this))._nextAnimationId=0,o._renderer=e.createRenderer(r.body,{id:"0",encapsulation:u.W.None,styles:[],data:{animation:[]}}),o}return Object(o.a)(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(c.j)(e):e;return Et(this._renderer,null,t,"register",[n]),new _t(t,this._renderer)}}]),n}(c.b);return e.\u0275fac=function(t){return new(t||e)(u.ic(u.K),u.ic(yt.c))},e.\u0275prov=u.Ub({token:e,factory:e.\u0275fac}),e}(),_t=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var o;return Object(i.a)(this,n),(o=t.call(this))._id=e,o._renderer=r,o}return Object(o.a)(n,[{key:"create",value:function(e,t){return new wt(this._id,e,t||{},this._renderer)}}]),n}(c.c),wt=function(){function e(t,n,r,o){Object(i.a)(this,e),this.id=t,this.element=n,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return Object(o.a)(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Et(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){return 0}}]),e}();function Et(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var Ct=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return Object(o.a)(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new At("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach((function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(o,a,e,r.name,r)})),new kt(this,a,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then((function(){e._microtaskId++}))}},{key:"scheduleListenerCallback",value:function(e,t,n){var i=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){i._zone.run((function(){i._animationCallbacksBuffer.forEach((function(e){var t=Object(r.a)(e,2);(0,t[0])(t[1])})),i._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(u.K),u.ic(Je),u.ic(u.C))},e.\u0275prov=u.Ub({token:e,factory:e.\u0275fac}),e}(),At=function(){function e(t,n,r){Object(i.a)(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return Object(o.a)(e,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}},{key:"data",get:function(){return this.delegate.data}}]),e}(),kt=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,o,a){var s;return Object(i.a)(this,n),(s=t.call(this,r,o,a)).factory=e,s.namespaceId=r,s}return Object(o.a)(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,o,a=this;if("@"==t.charAt(0)){var s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),u=t.substr(1),l="";if("@"!=u.charAt(0)){var c=(o=(i=u).indexOf("."),[i.substring(0,o),i.substr(o+1)]),d=Object(r.a)(c,2);u=d[0],l=d[1]}return this.engine.listen(this.namespaceId,s,u,l,(function(e){a.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)}}]),n}(At),St=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,o){return Object(i.a)(this,n),t.call(this,e.body,r,o)}return n}(Je);return e.\u0275fac=function(t){return new(t||e)(u.ic(yt.c),u.ic(R),u.ic(Ce))},e.\u0275prov=u.Ub({token:e,factory:e.\u0275fac}),e}(),xt=new u.s("AnimationModuleType"),Dt=[{provide:c.b,useClass:bt},{provide:Ce,useFactory:function(){return new Ae}},{provide:Je,useClass:St},{provide:u.K,useFactory:function(e,t,n){return new Ct(e,t,n)},deps:[l.f,Je,u.C]}],Ot=[{provide:R,useFactory:function(){return"function"==typeof gt()?new vt:new ft}},{provide:xt,useValue:"BrowserAnimations"}].concat(Dt),Tt=([{provide:R,useClass:L},{provide:xt,useValue:"NoopAnimations"}].concat(Dt),function(){var e=function e(){Object(i.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},providers:Ot,imports:[l.a]}),e}())},R5V4:function(e,t){},R9As:function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FitAddon=void 0;var r=function(){function e(){}return e.prototype.activate=function(e){this._terminal=e},e.prototype.dispose=function(){},e.prototype.fit=function(){var e=this.proposeDimensions();e&&this._terminal&&(this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(this._terminal._core._renderService.clear(),this._terminal.resize(e.cols,e.rows)))},e.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var e=this._terminal._core,t=window.getComputedStyle(this._terminal.element.parentElement),n=parseInt(t.getPropertyValue("height")),r=Math.max(0,parseInt(t.getPropertyValue("width"))),i=window.getComputedStyle(this._terminal.element),o=n-(parseInt(i.getPropertyValue("padding-top"))+parseInt(i.getPropertyValue("padding-bottom"))),a=r-(parseInt(i.getPropertyValue("padding-right"))+parseInt(i.getPropertyValue("padding-left")))-e.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(a/e._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(o/e._renderService.dimensions.actualCellHeight))}}},e}();t.FitAddon=r}])},ReuC:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("foSv");function i(e,t,n){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(r.a)(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}},S2B6:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return v}));var r=n("kpkV"),i=n("S2Kk"),o=n("xUBY"),a=n("49mS"),s=n("C16F"),u=n("U4Jh"),l=n("o7Ob"),c=n("lqow"),d=n("O4wp"),f=s.a.when,h=[f.EAGER,f.LAZY],p=[f.EAGER],m="Native Injector",v=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce((function(e,t){return e.concat(t.resolvables.map((function(e){return e.token})))}),[]).reduce(r.I,[])},e.prototype.getResolvable=function(e){var t=this._path.map((function(e){return e.resolvables})).reduce(r.K,[]).filter((function(t){return t.token===e}));return Object(r.G)(t)},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(l.a.subPath(this._path,(function(e){return e.state===t})))},e.prototype.addResolvables=function(e,t){var n=Object(r.n)(this._path,Object(i.l)("state",t)),o=e.map((function(e){return e.token}));n.resolvables=n.resolvables.filter((function(e){return-1===o.indexOf(e.token)})).concat(e)},e.prototype.resolvePath=function(e,t){var n=this;void 0===e&&(e="LAZY");var u=(Object(r.s)(h,e)?e:"LAZY")===s.a.when.EAGER?p:h;o.a.traceResolvePath(this._path,e,t);var l=function(e,t){return function(i){return Object(r.s)(e,n.getPolicy(i)[t])}},c=this._path.reduce((function(e,r){var o=r.resolvables.filter(l(u,"when")),a=o.filter(l(["NOWAIT"],"async")),s=o.filter(Object(i.f)(l(["NOWAIT"],"async"))),c=n.subContext(r.state),d=function(e){return e.get(c,t).then((function(t){return{token:e.token,value:t}}))};return a.forEach(d),e.concat(s.map(d))}),[]);return a.b.$q.all(c)},e.prototype.injector=function(){return this._injector||(this._injector=new g(this))},e.prototype.findNode=function(e){return Object(r.n)(this._path,(function(t){return Object(r.s)(t.resolvables,e)}))},e.prototype.getDependencies=function(e){var t=this,n=this.findNode(e),i=(l.a.subPath(this._path,(function(e){return e===n}))||this._path).reduce((function(e,t){return e.concat(t.resolvables)}),[]).filter((function(t){return t!==e}));return e.deps.map((function(e){var n=i.filter((function(t){return t.token===e}));if(n.length)return Object(r.G)(n);var o=t.injector().getNative(e);if(Object(d.w)(o))throw new Error("Could not find Dependency Injection token: "+Object(c.k)(e));return new u.a(e,(function(){return o}),[],o)}))},e}(),g=function(){function e(e){this.context=e,this.native=this.get(m)||a.b.$injector}return e.prototype.get=function(e){var t=this.context.getResolvable(e);if(t){if("NOWAIT"===this.context.getPolicy(t).async)return t.get(this.context);if(!t.resolved)throw new Error("Resolvable async .get() not complete:"+Object(c.k)(t.token));return t.data}return this.getNative(e)},e.prototype.getAsync=function(e){var t=this.context.getResolvable(e);return t?t.get(this.context):a.b.$q.when(this.native.get(e))},e.prototype.getNative=function(e){return this.native&&this.native.get(e)},e}()},S2Kk:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"j",(function(){return a})),n.d(t,"k",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"g",(function(){return f})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return p})),n.d(t,"e",(function(){return m})),n.d(t,"m",(function(){return v})),n.d(t,"i",(function(){return g}));var r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function i(e){return function t(){if(arguments.length>=e.length)return e.apply(this,arguments);var n=Array.prototype.slice.call(arguments);return t.bind.apply(t,r([this],n))}}function o(){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 a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.apply(null,[].slice.call(arguments).reverse())}var s=function(e){return function(t){return t&&t[e]}},u=i((function(e,t,n){return n&&n[e]===t})),l=function(e){return a.apply(null,e.split(".").map(s))},c=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!e.apply(null,t)}};function d(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)&&t.apply(null,n)}}function f(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return e.apply(null,n)||t.apply(null,n)}}var h=function(e){return function(t){return t.reduce((function(t,n){return t&&!!e(n)}),!0)}},p=function(e){return function(t){return t.reduce((function(t,n){return t||!!e(n)}),!1)}},m=function(e){return function(t){return null!=t&&t.constructor===e||t instanceof e}},v=function(e){return function(){return e}};function g(e){return function(t){for(var n=0;n<e.length;n++)if(e[n][0](t))return e[n][1](t)}}},SQef:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("//cU"),i=n("kpkV"),o=n("qZ+J"),a=function(){function e(e){this._states=e}return e.prototype.isRelative=function(e){return 0===(e=e||"").indexOf(".")||0===e.indexOf("^")},e.prototype.find=function(e,t,n){if(void 0===n&&(n=!0),e||""===e){var a=Object(r.l)(e),s=a?e:e.name;this.isRelative(s)&&(s=this.resolvePath(s,t));var u=this._states[s];if(u&&(a||!(a||u!==e&&u.self!==e)))return u;if(a&&n){var l=Object(i.L)(this._states).filter((function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(s)}));return l.length>1&&o.a.error("stateMatcher.find: Found multiple matches for "+s+" using glob: ",l.map((function(e){return e.name}))),l[0]}}},e.prototype.resolvePath=function(e,t){if(!t)throw new Error("No reference point given for path '"+e+"'");for(var n=this.find(t),r=e.split("."),i=r.length,o=0,a=n;o<i;o++)if(""!==r[o]||0!==o){if("^"!==r[o])break;if(!a.parent)throw new Error("Path '"+e+"' not valid for state '"+n.name+"'");a=a.parent}else a=n;var s=r.slice(o).join(".");return a.name+(a.name&&s?".":"")+s},e}()},STbY:function(e,t,n){"use strict";n.d(t,"a",(function(){return z})),n.d(t,"b",(function(){return Q})),n.d(t,"c",(function(){return Z})),n.d(t,"d",(function(){return G}));var r=n("ODXe"),i=n("KQm4"),o=n("JX7q"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("vuIU"),c=n("u47x"),d=n("8LU1"),f=n("FtGj"),h=n("fXoL"),p=n("XNiG"),m=n("quSY"),v=n("VRyK"),g=n("LRne"),y=n("7Hc7"),b=n("JX91"),_=n("eIep"),w=n("IzEk"),E=n("pLZG"),C=n("1G5W"),A=n("3E0/"),k=n("R0Ic"),S=n("+rOU"),x=n("ofXK"),D=n("FKr1"),O=n("rDax"),T=n("nLfN"),F=n("vxfF"),M=n("cH1L"),P=["mat-menu-item",""],L=["*"];function R(e,t){if(1&e){var n=h.fc();h.ec(0,"div",0),h.mc("keydown",(function(e){return h.Kc(n),h.qc()._handleKeydown(e)}))("click",(function(){return h.Kc(n),h.qc().closed.emit("click")}))("@transformMenu.start",(function(e){return h.Kc(n),h.qc()._onAnimationStart(e)}))("@transformMenu.done",(function(e){return h.Kc(n),h.qc()._onAnimationDone(e)})),h.ec(1,"div",1),h.vc(2),h.dc(),h.dc()}if(2&e){var r=h.qc();h.xc("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),h.Lb("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var B={transformMenu:Object(k.o)("transformMenu",[Object(k.l)("void",Object(k.m)({opacity:0,transform:"scale(0.8)"})),Object(k.n)("void => enter",Object(k.g)([Object(k.i)(".mat-menu-content, .mat-mdc-menu-content",Object(k.e)("100ms linear",Object(k.m)({opacity:1}))),Object(k.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(k.m)({transform:"scale(1)"}))])),Object(k.n)("* => void",Object(k.e)("100ms 25ms linear",Object(k.m)({opacity:0})))]),fadeInItems:Object(k.o)("fadeInItems",[Object(k.l)("showing",Object(k.m)({opacity:1})),Object(k.n)("void => *",[Object(k.m)({opacity:0}),Object(k.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},j=function(){var e=function(){function e(t,n,r,i,o,a,s){Object(u.a)(this,e),this._template=t,this._componentFactoryResolver=n,this._appRef=r,this._injector=i,this._viewContainerRef=o,this._document=a,this._changeDetectorRef=s,this._attached=new p.a}return Object(l.a)(e,[{key:"attach",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new S.i(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new S.e(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Yb(h.Q),h.Yb(h.k),h.Yb(h.g),h.Yb(h.t),h.Yb(h.V),h.Yb(x.c),h.Yb(h.i))},e.\u0275dir=h.Tb({type:e,selectors:[["ng-template","matMenuContent",""]]}),e}(),I=new h.s("MAT_MENU_PANEL"),N=function e(){Object(u.a)(this,e)},H=Object(D.z)(Object(D.A)(N)),z=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,a){var s;return Object(u.a)(this,n),(s=t.call(this))._elementRef=e,s._focusMonitor=i,s._parentMenu=a,s.role="menuitem",s._hovered=new p.a,s._focused=new p.a,s._highlighted=!1,s._triggersSubmenu=!1,i&&i.monitor(s._elementRef,!1),a&&a.addItem&&a.addItem(Object(o.a)(s)),s._document=r,s}return Object(l.a)(n,[{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){var e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3,n="";if(e.childNodes)for(var r=e.childNodes.length,i=0;i<r;i++)e.childNodes[i].nodeType===t&&(n+=e.childNodes[i].textContent);return n.trim()}}]),n}(H);return e.\u0275fac=function(t){return new(t||e)(h.Yb(h.n),h.Yb(x.c),h.Yb(c.h),h.Yb(I,8))},e.\u0275cmp=h.Sb({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&h.mc("click",(function(e){return t._checkDisabled(e)}))("mouseenter",(function(){return t._handleMouseEnter()})),2&e&&(h.Lb("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),h.Ob("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[h.Hb],attrs:P,ngContentSelectors:L,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(h.wc(),h.vc(0),h.Zb(1,"div",0)),2&e&&(h.Kb(1),h.xc("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[D.t],encapsulation:2,changeDetection:0}),e}(),Y=new h.s("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),U=0,V=function(){var e=function(){function e(t,n,r){Object(u.a)(this,e),this._elementRef=t,this._ngZone=n,this._defaultOptions=r,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new h.H,this._tabSubscription=m.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new p.a,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new h.q,this.close=this.closed,this.panelId="mat-menu-panel-".concat(U++)}return Object(l.a)(e,[{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var e=this;this._updateDirectDescendants(),this._keyManager=new c.g(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return e.closed.emit("tab")})),this._directDescendantItems.changes.pipe(Object(b.a)(this._directDescendantItems),Object(_.a)((function(e){return v.a.apply(void 0,Object(i.a)(e.map((function(e){return e._focused}))))}))).subscribe((function(t){return e._keyManager.updateActiveItem(t)}))}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe(Object(b.a)(this._directDescendantItems),Object(_.a)((function(e){return v.a.apply(void 0,Object(i.a)(e.map((function(e){return e._hovered}))))})))}},{key:"addItem",value:function(e){}},{key:"removeItem",value:function(e){}},{key:"_handleKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;switch(t){case f.h:Object(f.u)(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case f.j:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case f.n:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case f.i:case f.f:Object(f.u)(e)||(t===f.i?n.setFirstItemActive():n.setLastItemActive(),e.preventDefault());break;default:t!==f.r&&t!==f.e||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}},{key:"focusFirstItem",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(Object(w.a)(1)).subscribe((function(){return e._focusFirstItem(t)})):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=Math.min(4+e,24),n="mat-elevation-z".concat(t),r=Object.keys(this._classList).find((function(e){return e.startsWith("mat-elevation-z")}));r&&r!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Object(b.a)(this._allItems)).subscribe((function(t){e._directDescendantItems.reset(t.filter((function(t){return t._parentMenu===e}))),e._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n      Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n      Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=Object(d.c)(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(d.c)(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(e){t._classList[e]=!1})),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach((function(e){t._classList[e]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Yb(h.n),h.Yb(h.C),h.Yb(Y))},e.\u0275dir=h.Tb({type:e,contentQueries:function(e,t,n){var r;1&e&&(h.Qb(n,j,!0),h.Qb(n,z,!0),h.Qb(n,z,!1)),2&e&&(h.Fc(r=h.nc())&&(t.lazyContent=r.first),h.Fc(r=h.nc())&&(t._allItems=r),h.Fc(r=h.nc())&&(t.items=r))},viewQuery:function(e,t){var n;1&e&&h.ad(h.Q,!0),2&e&&h.Fc(n=h.nc())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),$=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return n}(V);return e.\u0275fac=function(t){return W(t||e)},e.\u0275dir=h.Tb({type:e,features:[h.Hb]}),e}(),W=h.gc($),G=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){return Object(u.a)(this,n),t.call(this,e,r,i)}return n}($);return e.\u0275fac=function(t){return new(t||e)(h.Yb(h.n),h.Yb(h.C),h.Yb(Y))},e.\u0275cmp=h.Sb({type:e,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[h.Jb([{provide:I,useExisting:$},{provide:$,useExisting:e}]),h.Hb],ngContentSelectors:L,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(h.wc(),h.Sc(0,R,3,6,"ng-template"))},directives:[x.i],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[B.transformMenu,B.fadeInItems]},changeDetection:0}),e}(),q=new h.s("mat-menu-scroll-strategy"),K={provide:q,deps:[O.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},X=Object(T.f)({passive:!0}),Z=function(){var e=function(){function e(t,n,r,i,o,a,s,l){var c=this;Object(u.a)(this,e),this._overlay=t,this._element=n,this._viewContainerRef=r,this._parentMenu=o,this._menuItemInstance=a,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=m.a.EMPTY,this._hoverSubscription=m.a.EMPTY,this._menuCloseSubscription=m.a.EMPTY,this._handleTouchStart=function(){return c._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new h.q,this.onMenuOpen=this.menuOpened,this.menuClosed=new h.q,this.onMenuClose=this.menuClosed,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,X),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=i}return Object(l.a)(e,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,X),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return e.closeMenu()})),this._initMenu(),this.menu instanceof $&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(){var e=this;if(this._overlayRef&&this.menuOpen){var t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof $?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(Object(E.a)((function(e){return"void"===e.toState})),Object(w.a)(1),Object(C.a)(t.lazyContent._attached)).subscribe({next:function(){return t.lazyContent.detach()},complete:function(){return e._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n    Example:\n      <mat-menu #menu="matMenu"></mat-menu>\n      <button [matMenuTriggerFor]="menu"></button>')}()}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new O.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe((function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")}))}},{key:"_setPosition",value:function(e){var t="before"===this.menu.xPosition?["end","start"]:["start","end"],n=Object(r.a)(t,2),i=n[0],o=n[1],a="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],s=Object(r.a)(a,2),u=s[0],l=s[1],c=u,d=l,f=i,h=o,p=0;this.triggersSubmenu()?(h=i="before"===this.menu.xPosition?"start":"end",o=f="end"===i?"start":"end",p="bottom"===u?8:-8):this.menu.overlapTrigger||(c="top"===u?"bottom":"top",d="top"===l?"bottom":"top"),e.withPositions([{originX:i,originY:c,overlayX:f,overlayY:u,offsetY:p},{originX:o,originY:c,overlayX:h,overlayY:u,offsetY:p},{originX:i,originY:d,overlayX:f,overlayY:l,offsetY:-p},{originX:o,originY:d,overlayX:h,overlayY:l,offsetY:-p}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.closed:Object(g.a)(),i=this._parentMenu?this._parentMenu._hovered().pipe(Object(E.a)((function(t){return t!==e._menuItemInstance})),Object(E.a)((function(){return e._menuOpen}))):Object(g.a)();return Object(v.a)(t,r,i,n)}},{key:"_handleMousedown",value:function(e){Object(c.m)(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;this.triggersSubmenu()&&(t===f.n&&"ltr"===this.dir||t===f.j&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(Object(E.a)((function(t){return t===e._menuItemInstance&&!t.disabled})),Object(A.a)(0,y.a)).subscribe((function(){e._openedBy="mouse",e.menu instanceof $&&e.menu._isAnimating?e.menu._animationDone.pipe(Object(w.a)(1),Object(A.a)(0,y.a),Object(C.a)(e._parentMenu._hovered())).subscribe((function(){return e.openMenu()})):e.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new S.i(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe((function(e){t._destroyMenu(),"click"!==e&&"tab"!==e||!t._parentMenu||t._parentMenu.closed.emit(e)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h.Yb(O.c),h.Yb(h.n),h.Yb(h.V),h.Yb(q),h.Yb($,8),h.Yb(z,10),h.Yb(M.b,8),h.Yb(c.h))},e.\u0275dir=h.Tb({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&h.mc("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&h.Lb("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),J=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=h.Wb({type:e}),e.\u0275inj=h.Vb({factory:function(t){return new(t||e)},providers:[K],imports:[D.j]}),e}(),Q=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=h.Wb({type:e}),e.\u0275inj=h.Vb({factory:function(t){return new(t||e)},providers:[K],imports:[[x.b,D.j,D.u,O.f,J],F.c,D.j,J]}),e}()},SdWe:function(e,t,n){"use strict";!function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},i={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],a=0,s=void 0,u=void 0,l=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=void 0,m=void 0,v=void 0,g=void 0,y=void 0,b=void 0,_=void 0,w=void 0,E=void 0,C=void 0;if(isNaN(e))throw new TypeError("Invalid number");return l=!0===t.bits,b=!0===t.unix,y=void 0!==t.round?t.round:b?1:2,h=void 0!==t.locale?t.locale:"",p=t.localeOptions||{},_=void 0!==t.separator?t.separator:"",w=void 0!==t.spacer?t.spacer:b?"":" ",C=t.symbols||{},E=2===(u=t.base||2)&&t.standard||"jedec",g=t.output||"string",d=!0===t.fullform,f=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,c=u>2?1e3:1024,(m=(v=Number(e))<0)&&(v=-v),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(v)/Math.log(c)))<0&&(s=0),s>8&&(s=8),"exponent"===g?s:(0===v?(o[0]=0,o[1]=b?"":r[E][l?"bits":"bytes"][s]):(a=v/(2===u?Math.pow(2,10*s):Math.pow(1e3,s)),l&&(a*=8)>=c&&s<8&&(a/=c,s++),o[0]=Number(a.toFixed(s>0?y:0)),o[0]===c&&s<8&&void 0===t.exponent&&(o[0]=1,s++),o[1]=10===u&&1===s?l?"kb":"kB":r[E][l?"bits":"bytes"][s],b&&(o[1]="jedec"===E?o[1].charAt(0):s>0?o[1].replace(/B$/,""):o[1],n.test(o[1])&&(o[0]=Math.floor(o[0]),o[1]=""))),m&&(o[0]=-o[0]),o[1]=C[o[1]]||o[1],!0===h?o[0]=o[0].toLocaleString():h.length>0?o[0]=o[0].toLocaleString(h,p):_.length>0&&(o[0]=o[0].toString().replace(".",_)),"array"===g?o:(d&&(o[1]=f[s]?f[s]:i[E][s]+(l?"bit":"byte")+(1===o[0]?"":"s")),"object"===g?{value:o[0],symbol:o[1]}:o.join(w)))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window?window:global)},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),a=n("kJWO"),s=n("I55L"),u=n("c2HN"),l=n("XoHu"),c=function(e){if(e&&"function"==typeof e[a.a])return c=e,function(e){var t=c[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(r.a)(e);if(Object(u.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,i.a),e};if(e&&"function"==typeof e[o.a])return t=e,function(e){for(var n=t[o.a]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,c,d=Object(l.a)(e)?"an invalid object":"'".concat(e,"'"),f="You provided ".concat(d," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(f)}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},Srm6:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("kpkV"),i=function(){function e(e){void 0===e&&(e={}),Object(r.l)(this,e)}return e.prototype.$inherit=function(e,t,n){var i,o=Object(r.b)(t,n),a={},s=[];for(var u in o)if(o[u]&&o[u].params&&(i=Object.keys(o[u].params)).length)for(var l in i)s.indexOf(i[l])>=0||(s.push(i[l]),a[i[l]]=this[i[l]]);return Object(r.l)({},a,e)},e}()},T5bk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("DSFK"),i=n("25BE"),o=n("BsWD"),a=n("PYwp");function s(e){return Object(r.a)(e)||Object(i.a)(e)||Object(o.a)(e)||Object(a.a)()}},Tmnz:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("kpkV"),i=n("//cU"),o=n("9ecK"),a=n("N5pH"),s=function(){function e(e){this.transition=e}return e.prototype.buildHooksForPhase=function(e){var t=this;return this.transition.router.transitionService._pluginapi._getEvents(e).map((function(e){return t.buildHooks(e)})).reduce(r.K,[]).filter(r.r)},e.prototype.buildHooks=function(e){var t=this.transition,n=t.treeChanges(),i=this.getMatchingHooks(e,n,t);if(!i)return[];var s,u={transition:t,current:t.options().current};return i.map((function(i){return i.matches(n,t)[e.criteriaMatchPath.name].map((function(n){var s=Object(r.l)({bind:i.bind,traceData:{hookType:e.name,context:n}},u),l=new a.a(t,e.criteriaMatchPath.scope===o.b.STATE?n.state.self:null,i,s);return{hook:i,node:n,transitionHook:l}}))})).reduce(r.K,[]).sort((s=e.reverseSort,void 0===s&&(s=!1),function(e,t){var n=(e.node.state.path.length-t.node.state.path.length)*(s?-1:1);return 0!==n?n:t.hook.priority-e.hook.priority})).map((function(e){return e.transitionHook}))},e.prototype.getMatchingHooks=function(e,t,n){var a=this.transition.router.transitionService;return(e.hookPhase===o.a.CREATE?[a]:[this.transition,a]).map((function(t){return t.getHooks(e.name)})).filter(Object(r.f)(i.a,"broken event named: "+e.name)).reduce(r.K,[]).filter((function(e){return e.matches(t,n)}))},e}()},TodQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("kpkV"),i=n("//cU"),o=n("EBDp"),a=n("49mS"),s=n("o7Ob"),u=n("nzIk"),l=n("ECN7"),c=n("Nr6J"),d=n("fqbi"),f=n("U/8i"),h=n("QZHI"),p=n("S2B6"),m=n("N2km"),v=n("S2Kk"),g=function(){function e(t){this.router=t,this.invalidCallbacks=[],this._defaultErrorHandler=function(e){e instanceof Error&&e.stack?(console.error(e),console.error(e.stack)):e instanceof c.b?(console.error(e.toString()),e.detail&&e.detail.stack&&console.error(e.detail.stack)):console.error(e)};var n=Object.keys(e.prototype).filter(Object(v.f)(Object(r.s)(["current","$current","params","transition"])));Object(r.h)(Object(v.m)(e.prototype),this,Object(v.m)(this),n)}return Object.defineProperty(e.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.defaultErrorHandler(r.x),this.invalidCallbacks=[]},e.prototype._handleInvalidTargetState=function(e,t){var n=this,r=s.a.makeTargetState(this.router.stateRegistry,e),i=this.router.globals,u=function(){return i.transitionHistory.peekTail()},l=u(),f=new o.a(this.invalidCallbacks.slice()),h=new p.b(e).injector(),m=function(e){if(e instanceof d.a){var t=e;return(t=n.target(t.identifier(),t.params(),t.options())).valid()?u()!==l?c.b.superseded().toPromise():n.transitionTo(t.identifier(),t.params(),t.options()):c.b.invalid(t.error()).toPromise()}};return function e(){var n=f.dequeue();return void 0===n?c.b.invalid(t.error()).toPromise():a.b.$q.when(n(t,r,h)).then(m).then((function(t){return t||e()}))}()},e.prototype.onInvalid=function(e){return this.invalidCallbacks.push(e),(function(){Object(r.C)(this.invalidCallbacks)(e)}).bind(this)},e.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!Object(i.c)(e)||e,inherit:!1,notify:!1})},e.prototype.go=function(e,t,n){var i={relative:this.$current,inherit:!0},o=Object(r.i)(n,i,l.b);return this.transitionTo(e,t,o)},e.prototype.target=function(e,t,n){if(void 0===n&&(n={}),Object(i.i)(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(Object(i.l)(n.reload)?n.reload:n.reload.name)+"'");return new d.a(this.router.stateRegistry,e,t,n)},e.prototype.getCurrentPath=function(){var e=this.router.globals.successfulTransitions.peekTail();return e?e.treeChanges().to:[new u.a(this.router.stateRegistry.root())]},e.prototype.transitionTo=function(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n={});var o=this.router,s=o.globals;n=Object(r.i)(n,l.b);var u=function(){return s.transition};n=Object(r.l)(n,{current:u});var f=this.target(e,t,n),h=this.getCurrentPath();if(!f.exists())return this._handleInvalidTargetState(h,f);if(!f.valid())return Object(r.F)(f.error());if(!1===n.supercede&&u())return c.b.ignored("Another transition is in progress and supercede has been set to false in TransitionOptions for the transition. So the transition was ignored in favour of the existing one in progress.").toPromise();var p=this.router.transitionService.create(h,f),m=p.run().catch(function e(t){return function(n){if(n instanceof c.b){var r=o.globals.lastStartedTransitionId<=t.$id;if(n.type===c.a.IGNORED)return r&&o.urlRouter.update(),a.b.$q.when(s.current);var u=n.detail;if(n.type===c.a.SUPERSEDED&&n.redirected&&u instanceof d.a){var l=t.redirect(u);return l.run().catch(e(l))}if(n.type===c.a.ABORTED)return r&&o.urlRouter.update(),a.b.$q.reject(n)}return i.defaultErrorHandler()(n),a.b.$q.reject(n)}}(p));return Object(r.E)(m),Object(r.l)(m,{transition:p})},e.prototype.is=function(e,t,n){n=Object(r.i)(n,{relative:this.$current});var o=this.router.stateRegistry.matcher.find(e,n.relative);if(Object(i.c)(o)){if(this.$current!==o)return!1;if(!t)return!0;var a=o.parameters({inherit:!0,matchingKeys:t});return f.b.equals(a,f.b.values(a,t),this.params)}},e.prototype.includes=function(e,t,n){n=Object(r.i)(n,{relative:this.$current});var o=Object(i.l)(e)&&h.a.fromString(e);if(o){if(!o.matches(this.$current.name))return!1;e=this.$current.name}var a=this.router.stateRegistry.matcher.find(e,n.relative),s=this.$current.includes;if(Object(i.c)(a)){if(!Object(i.c)(s[a.name]))return!1;if(!t)return!0;var u=a.parameters({inherit:!0,matchingKeys:t});return f.b.equals(u,f.b.values(u,t),this.params)}},e.prototype.href=function(e,t,n){var o={lossy:!0,inherit:!0,absolute:!1,relative:this.$current};n=Object(r.i)(n,o),t=t||{};var a=this.router.stateRegistry.matcher.find(e,n.relative);if(!Object(i.c)(a))return null;n.inherit&&(t=this.params.$inherit(t,this.$current,a));var s=a&&n.lossy?a.navigable:a;return s&&null!=s.url?this.router.urlRouter.href(s.url,t,{absolute:n.absolute}):null},e.prototype.defaultErrorHandler=function(e){return this._defaultErrorHandler=e||this._defaultErrorHandler},e.prototype.get=function(e,t){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(e,t||this.$current)},e.prototype.lazyLoad=function(e,t){var n=this.get(e);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+e);var r=this.getCurrentPath(),i=s.a.makeTargetState(this.router.stateRegistry,r);return t=t||this.router.transitionService.create(r,i),Object(m.a)(t,n)},e}()},Tv01:function(e,t,n){"use strict";var r=n("saOp");n.o(r,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return r.BaseLocationServices})),n.o(r,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return r.BaseUrlRule})),n.o(r,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return r.BrowserLocationConfig})),n.o(r,"Param")&&n.d(t,"Param",(function(){return r.Param})),n.o(r,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return r.StateRegistry})),n.o(r,"StateService")&&n.d(t,"StateService",(function(){return r.StateService})),n.o(r,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return r.UrlMatcherFactory})),n.o(r,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return r.UrlRouter})),n.o(r,"UrlService")&&n.d(t,"UrlService",(function(){return r.UrlService})),n.o(r,"ViewService")&&n.d(t,"ViewService",(function(){return r.ViewService})),n.o(r,"parseUrl")&&n.d(t,"parseUrl",(function(){return r.parseUrl})),n.o(r,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return r.servicesPlugin}))},"U/8i":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var r=n("kpkV"),i=n("S2Kk"),o=n("//cU"),a=n("49mS"),s=n("NJhm"),u=Object.prototype.hasOwnProperty,l=function(e){return e[e.PATH=0]="PATH",e[e.SEARCH=1]="SEARCH",e[e.CONFIG=2]="CONFIG",e}({}),c=function(){function e(e,t,n,a,c){var d=function(e,t,n){var i=!1===n.reloadOnSearch&&t===l.SEARCH||void 0,a=Object(r.n)([n.dynamic,i],o.c),s=Object(o.c)(a)?{dynamic:a}:{},c=function(e){function t(){return e.value}e=function(e){return 0===["value","type","squash","array","dynamic"].filter(u.bind(e||{})).length}(e)?{value:e}:e,t.__cacheable=!0;var n=Object(o.e)(e.value)?e.value:t;return Object(r.l)(e,{$$fn:n})}(n&&n.params&&n.params[e]);return Object(r.l)(s,c)}(e,n,c);t=function(e,t,n,r,i){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+r+"' has two type configurations.");return e.type&&t&&"string"===t.name&&i.type(e.type)?i.type(e.type):t||(e.type?e.type instanceof s.a?e.type:i.type(e.type):i.type(n===l.CONFIG?"any":n===l.PATH?"path":n===l.SEARCH?"query":"string"))}(d,t,n,e,a.paramTypes);var f,h,p=(f={array:n===l.SEARCH&&"auto"},h=e.match(/\[\]$/)?{array:!0}:{},Object(r.l)(f,h,d).array);t=p?t.$asArray(p,n===l.SEARCH):t;var m=void 0!==d.value||n===l.SEARCH,v=Object(o.c)(d.dynamic)?!!d.dynamic:!!t.dynamic,g=Object(o.c)(d.raw)?!!d.raw:!!t.raw,y=function(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!Object(o.c)(r)||null==r)return n;if(!0===r||Object(o.l)(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}(d,m,a.defaultSquashPolicy()),b=function(e,t,n,a){var s=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],u=Object(o.a)(e.replace)?e.replace:[];Object(o.l)(a)&&u.push({from:a,to:void 0});var l=Object(r.u)(u,Object(i.k)("from"));return Object(r.m)(s,(function(e){return-1===l.indexOf(e.from)})).concat(u)}(d,p,m,y),_=Object(o.c)(d.inherit)?!!d.inherit:!!t.inherit;Object(r.l)(this,{id:e,type:t,location:n,isOptional:m,dynamic:v,raw:g,squash:y,replace:b,inherit:_,array:p,config:d})}return e.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r<i.length;r++){var o=i[r];n[o.id]=o.value(t[o.id])}return n},e.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter((function(e){return!e.type.equals(t[e.id],n[e.id])}))},e.equals=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),0===e.changed(t,n,r).length},e.validates=function(e,t){return void 0===t&&(t={}),e.map((function(e){return e.validates(t[e.id])})).reduce(r.a,!0)},e.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},e.prototype.value=function(e){var t=this;return e=function(e){for(var n=0,r=t.replace;n<r.length;n++){var i=r[n];if(i.from===e)return i.to}return e}(e),Object(o.m)(e)?function(){if(t._defaultValueCache)return t._defaultValueCache.defaultValue;if(!a.b.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=a.b.$injector.invoke(t.config.$$fn);if(null!=e&&!t.type.is(e))throw new Error("Default value ("+e+") for parameter '"+t.id+"' is not an instance of ParamType ("+t.type.name+")");return t.config.$$fn.__cacheable&&(t._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},e.prototype.isSearch=function(){return this.location===l.SEARCH},e.prototype.validates=function(e){if((Object(o.m)(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(Object(o.l)(n)&&!this.type.pattern.exec(n))},e.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},e}()},U4Jh:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("kpkV"),i=n("49mS"),o=n("xUBY"),a=n("lqow"),s=n("//cU"),u=function(){function e(t,n,o,a,u){if(this.resolved=!1,this.promise=void 0,t instanceof e)Object(r.l)(this,t);else if(Object(s.d)(n)){if(Object(s.g)(t))throw new Error("new Resolvable(): token argument is required");if(!Object(s.d)(n))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=t,this.policy=a,this.resolveFn=n,this.deps=o||[],this.data=u,this.resolved=void 0!==u,this.promise=this.resolved?i.b.$q.when(this.data):void 0}else if(Object(s.i)(t)&&t.token&&(t.hasOwnProperty("resolveFn")||t.hasOwnProperty("data")))return new e(t.token,t.resolveFn,t.deps,t.policy,t.data)}return e.prototype.getPolicy=function(e){var t=this.policy||{},n=e&&e.resolvePolicy||{};return{when:t.when||n.when||"LAZY",async:t.async||n.async||"WAIT"}},e.prototype.resolve=function(e,t){var n=this,a=i.b.$q,u=e.findNode(this),l=this.getPolicy(u&&u.state).async,c=Object(s.d)(l)?l:r.r;return this.promise=a.when().then((function(){return a.all(e.getDependencies(n).map((function(n){return n.get(e,t)})))})).then((function(e){return n.resolveFn.apply(null,e)})).then(c).then((function(e){return n.data=e,n.resolved=!0,n.resolveFn=null,o.a.traceResolvableResolved(n,t),n.data}))},e.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},e.prototype.toString=function(){return"Resolvable(token: "+Object(a.k)(this.token)+", requires: ["+this.deps.map(a.k)+"])"},e.prototype.clone=function(){return new e(this)},e.fromData=function(t,n){return new e(t,(function(){return n}),null,null,n)},e}()},UXun:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("jtHE");function i(e,t,n){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,i=e.bufferSize,o=void 0===i?Number.POSITIVE_INFINITY:i,a=e.windowTime,s=void 0===a?Number.POSITIVE_INFINITY:a,u=e.refCount,l=e.scheduler,c=0,d=!1,f=!1;return function(e){c++,t&&!d||(d=!1,t=new r.a(o,s,l),n=e.subscribe({next:function(e){t.next(e)},error:function(e){d=!0,t.error(e)},complete:function(){f=!0,n=void 0,t.complete()}}));var i=t.subscribe(this);this.add((function(){c--,i.unsubscribe(),n&&!f&&u&&0===c&&(n.unsubscribe(),n=void 0,t=void 0)}))}}(i))}}},Ui1d:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return u}));var r=n("iB+3");function i(){var e=null;return function(t,n){return e=e||r.services.$injector.get("$templateFactory"),[new u(t,n,e)]}}var o=function(e,t){return e.reduce((function(e,n){return e||Object(r.isDefined)(t[n])}),!1)};function a(e){if(!e.parent)return{};var t=["component","bindings","componentProvider"],n=["templateProvider","templateUrl","template","notify","async"].concat(["controller","controllerProvider","controllerAs","resolveAs"]),i=t.concat(n);if(Object(r.isDefined)(e.views)&&o(i,e))throw new Error("State '"+e.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level.  Move the following properties into a view (in the 'views' object):  "+i.filter((function(t){return Object(r.isDefined)(e[t])})).join(", "));var a={},s=e.views||{$default:Object(r.pick)(e,i)};return Object(r.forEach)(s,(function(i,s){if(s=s||"$default",Object(r.isString)(i)&&(i={component:i}),i=Object(r.extend)({},i),o(t,i)&&o(n,i))throw new Error("Cannot combine: "+t.join("|")+" with: "+n.join("|")+" in stateview: '"+s+"@"+e.name+"'");i.resolveAs=i.resolveAs||"$resolve",i.$type="ng1",i.$context=e,i.$name=s;var u=r.ViewService.normalizeUIViewTarget(i.$context,i.$name);i.$uiViewName=u.uiViewName,i.$uiViewContextAnchor=u.uiViewContextAnchor,a[s]=i})),a}var s=0,u=function(){function e(e,t,n){var r=this;this.path=e,this.viewDecl=t,this.factory=n,this.$id=s++,this.loaded=!1,this.getTemplate=function(e,t){return r.component?r.factory.makeComponentTemplate(e,t,r.component,r.viewDecl.bindings):r.template}}return e.prototype.load=function(){var e=this,t=r.services.$q,n=new r.ResolveContext(this.path),i=this.path.reduce((function(e,t){return Object(r.extend)(e,t.paramValues)}),{}),o={template:t.when(this.factory.fromConfig(this.viewDecl,i,n)),controller:t.when(this.getController(n))};return t.all(o).then((function(t){return r.trace.traceViewServiceEvent("Loaded",e),e.controller=t.controller,Object(r.extend)(e,t.template),e}))},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!Object(r.isInjectable)(t))return this.viewDecl.controller;var n=r.services.$injector.annotate(t),i=Object(r.isArray)(t)?Object(r.tail)(t):t;return new r.Resolvable("",i,n).get(e)},e}()},UuNq:function(module,exports,__webpack_require__){var _regeneratorRuntime=__webpack_require__("o0o1"),t;window,t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=751)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";e.exports=n(339)},function(e,t,n){"use strict";var r=n(341);for(var i in t.column=r.shape({name:r.string,label:r.label,default:r.bool,show:r.bool,sortable:r.bool,searchable:r.bool,type:r.oneOf(["string","text","number","date","datetime","icon","boolean","draggable"]),moveColumn:r.bool,getForSort:r.func,hideTooltip:r.bool,exportable:r.oneOfType([r.bool,r.func]),minWidth:r.number,maxWidth:r.number}),t.template=r.oneOfType([r.element,r.func,r.string]),t.columns=r.arrayOf(t.column),t.image=r.shape({id:r.stringOrNumber,src:r.string,thumbnailSrc:r.string}),t.sortField=r.shape({column:r.string,asc:r.bool}),t.stringOrNumber=r.oneOfType([r.string,r.number]),t.tag=r.shape({raw:r.string.isRequired,displayValue:r.string,displayKey:r.string,value:t.any,key:t.string}),t.tags=r.arrayOf(t.tag),t.stringArray=r.arrayOf(r.string),t.suggestionBox=r.oneOf(["field","value",null]),t.selectOption=r.oneOfType([r.shape({value:r.oneOfType([r.string,r.number,r.bool]),label:r.string,checked:r.bool,disabled:r.bool}),r.string]),t.bulkAction=r.shape({name:r.string.isRequired,id:t.stringOrNumber.isRequired,visible:r.oneOfType([r.bool,r.func]),validate:r.func}),t.resourceAccesses=r.arrayOf(r.shape({name:r.string.isRequired})),t.currency=r.shape({delimiter:r.string,format:r.string,id:r.number,iso:r.string,name:r.string,negativeFormat:r.string,precision:r.number,separator:r.string,unit:r.string.isRequired}),t.basicApiResource=r.shape({id:t.stringOrNumber,attributes:r.shape({name:r.string})}),t.basicApiResources=r.arrayOf(t.basicApiResource),t.organization=t.basicApiResource,t.organizations=r.arrayOf(t.organization),t.apiResponse=r.shape({body:r.shape({data:t.basicApiResources})}),r)r.hasOwnProperty(i)&&(t[i]=r[i]);t.documentFlag=r.shape({id:r.stringOrNumber,flagDescription:r.string,flagTypeColor:r.string,flagTypeId:r.stringOrNumber,flagTypeName:r.string}),t.flagType=r.shape({id:r.stringOrNumber,color:r.string,name:r.string}),t.previewAssociatedAsset=r.arrayOf(r.shape({type:r.string,getItems:r.func}))},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(340);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)}},function(e,t,n){var r=n(56),i=n(10);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t;function r(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,r){return bt(e,t,n,r,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}var h=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function p(e){if(null==e._isValid){var t=f(e),n=h.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function m(e){var t=d(NaN);return null!=e?c(f(t),e):f(t).userInvalidated=!0,t}function v(e){return void 0===e}var g=r.momentProperties=[];function y(e,t){var n,r,i;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=f(t)),v(t._locale)||(e._locale=t._locale),g.length>0)for(n in g)v(i=t[r=g[n]])||(e[r]=i);return e}var b=!1;function _(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function E(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function C(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=E(t)),n}function A(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&C(e[r])!==C(t[r]))&&a++;return a+o}function k(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return c((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(var s in i+="\n["+a+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var x={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),x[e]||(k(t),x[e]=!0)}function O(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,r=c({},e);for(n in t)l(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},c(r[n],e[n]),c(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&o(e[n])&&(r[n]=c({},r[n]));return r}function F(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null;var M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n},P={};function L(e,t){var n=e.toLowerCase();P[n]=P[n+"s"]=P[t]=e}function R(e){return"string"==typeof e?P[e]||P[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)l(e,n)&&(t=R(n))&&(r[t]=e[n]);return r}var j={};function I(e,t){j[e]=t}function N(e,t){return function(n){return null!=n?(z(this,e,n),r.updateOffset(this,t),this):H(this,e)}}function H(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var U=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$={},W={};function G(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(W[e]=i),t&&(W[t[0]]=function(){return Y(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function q(e,t){return e.isValid()?(t=K(t,e.localeData()),$[t]=$[t]||function(e){var t,n,r,i=e.match(U);for(t=0,n=i.length;t<n;t++)i[t]=W[i[t]]?W[i[t]]:(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=i[r]instanceof Function?i[r].call(t,e):i[r];return o}}(t),$[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(V.lastIndex=0;n>=0&&V.test(e);)e=e.replace(V,r),V.lastIndex=0,n-=1;return e}var X=/\d/,Z=/\d\d/,J=/\d{3}/,Q=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,oe=/\d{1,4}/,ae=/[+-]?\d{1,6}/,se=/\d+/,ue=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ce=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,fe={};function he(e,t,n){fe[e]=O(t)?t:function(e,r){return e&&n?n:t}}function pe(e,t){return l(fe,e)?fe[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ve={};function ge(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=C(e)}),n=0;n<e.length;n++)ve[e[n]]=r}function ye(e,t){ge(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function be(e,t,n){null!=t&&l(ve,e)&&ve[e](t,n._a,n,e)}var _e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function we(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}G("M",["MM",2],"Mo",(function(){return this.month()+1})),G("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),G("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),L("month","M"),I("month",8),he("M",te),he("MM",te,Z),he("MMM",(function(e,t){return t.monthsShortRegex(e)})),he("MMMM",(function(e,t){return t.monthsRegex(e)})),ge(["M","MM"],(function(e,t){t[1]=C(e)-1})),ge(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:f(n).invalidMonth=e}));var Ee=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ke(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=d([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,a))?i:null:-1!==(i=_e.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,a))||-1!==(i=_e.call(this._longMonthsParse,a))?i:null:-1!==(i=_e.call(this._longMonthsParse,a))||-1!==(i=_e.call(this._shortMonthsParse,a))?i:null}function Se(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=C(t);else if(!a(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),we(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function xe(e){return null!=e?(Se(this,e),r.updateOffset(this,!0),this):H(this,"Month")}var De=de,Oe=de;function Te(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=d([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=me(r[t]),i[t]=me(i[t]);for(t=0;t<24;t++)o[t]=me(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Fe(e){return Me(e)?366:365}function Me(e){return e%4==0&&e%100!=0||e%400==0}G("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),G(0,["YY",2],0,(function(){return this.year()%100})),G(0,["YYYY",4],0,"year"),G(0,["YYYYY",5],0,"year"),G(0,["YYYYYY",6,!0],0,"year"),L("year","y"),I("year",1),he("Y",ue),he("YY",te,Z),he("YYYY",oe,Q),he("YYYYY",ae,ee),he("YYYYYY",ae,ee),ge(["YYYYY","YYYYYY"],0),ge("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):C(e)})),ge("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),ge("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return C(e)+(C(e)>68?1900:2e3)};var Pe=N("FullYear",!0);function Le(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Re(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Be(e,t,n){var r=7+t-n;return-(7+Re(e,0,r).getUTCDay()-t)%7+r-1}function je(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Be(e,r,i);return s<=0?a=Fe(o=e-1)+s:s>Fe(e)?(o=e+1,a=s-Fe(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ie(e,t,n){var r,i,o=Be(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Ne(i=e.year()-1,t,n):a>Ne(e.year(),t,n)?(r=a-Ne(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ne(e,t,n){var r=Be(e,t,n),i=Be(e+1,t,n);return(Fe(e)-r+i)/7}G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),I("week",5),I("isoWeek",5),he("w",te),he("ww",te,Z),he("W",te),he("WW",te,Z),ye(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=C(e)})),G("d",0,"do","day"),G("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),G("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),G("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),he("d",te),he("e",te),he("E",te),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,r){t[r]=C(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ue(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,a))||-1!==(i=_e.call(this._shortWeekdaysParse,a))||-1!==(i=_e.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,a))||-1!==(i=_e.call(this._weekdaysParse,a))||-1!==(i=_e.call(this._minWeekdaysParse,a))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,a))||-1!==(i=_e.call(this._weekdaysParse,a))||-1!==(i=_e.call(this._shortWeekdaysParse,a))?i:null}var Ve=de,$e=de,We=de;function Ge(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=me(s[t]),u[t]=me(u[t]),l[t]=me(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ke(e,t){G(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}G("H",["HH",2],0,"hour"),G("h",["hh",2],0,qe),G("k",["kk",2],0,(function(){return this.hours()||24})),G("hmm",0,0,(function(){return""+qe.apply(this)+Y(this.minutes(),2)})),G("hmmss",0,0,(function(){return""+qe.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)})),G("Hmm",0,0,(function(){return""+this.hours()+Y(this.minutes(),2)})),G("Hmmss",0,0,(function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),L("hour","h"),I("hour",13),he("a",Xe),he("A",Xe),he("H",te),he("h",te),he("HH",te,Z),he("hh",te,Z),he("hmm",ne),he("hmmss",re),he("Hmm",ne),he("Hmmss",re),ge(["H","HH"],3),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[3]=C(e),f(n).bigHour=!0})),ge("hmm",(function(e,t,n){var r=e.length-2;t[3]=C(e.substr(0,r)),t[4]=C(e.substr(r)),f(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=C(e.substr(0,r)),t[4]=C(e.substr(r,2)),t[5]=C(e.substr(i)),f(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var r=e.length-2;t[3]=C(e.substr(0,r)),t[4]=C(e.substr(r))})),ge("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=C(e.substr(0,r)),t[4]=C(e.substr(r,2)),t[5]=C(e.substr(i))}));var Ze,Je=N("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:Ae,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ye,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var r=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{r=Ze._abbr,n(349)("./"+t),it(r)}catch(e){}return et[t]}function it(e,t){var n;return e&&(n=v(t)?at(e):ot(e,t))&&(Ze=n),Ze._abbr}function ot(e,t){if(null!==t){var n=Qe;if(t.abbr=e,null!=et[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=et[e]._config;else if(null!=t.parentLocale){if(null==et[t.parentLocale])return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;n=et[t.parentLocale]._config}return et[e]=new F(T(n,t)),tt[e]&&tt[e].forEach((function(e){ot(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!i(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=nt(e[o]).split("-")).length,n=(n=nt(e[o+1]))?n.split("-"):null;t>0;){if(r=rt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&A(i,n,!0)>=t-1)break;t--}o++}return null}(e)}function st(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,lt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ft=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((\-?\d+)/i;function pt(e){var t,n,r,i,o,a,s=e._i,u=ut.exec(s)||lt.exec(s);if(u){for(f(e).iso=!0,t=0,n=dt.length;t<n;t++)if(dt[t][1].exec(u[1])){i=dt[t][0],r=!1!==dt[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(u[3])){o=(u[2]||" ")+ft[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ct.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),gt(e)}else e._isValid=!1}function mt(e,t,n){return null!=e?e:null!=t?t:n}function vt(e){var t,n,i,o,a=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=mt(t.GG,e._a[0],Ie(_t(),1,4).year),r=mt(t.W,1),((i=mt(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=Ie(_t(),o,a);n=mt(t.gg,e._a[0],l.year),r=mt(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Ne(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=je(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),e._dayOfYear&&(o=mt(e._a[0],i[0]),e._dayOfYear>Fe(o)&&(f(e)._overflowDayOfYear=!0),n=Re(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Le).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24)}}function gt(e){if(e._f!==r.ISO_8601){e._a=[],f(e).empty=!0;var t,n,i,o,a,s=""+e._i,u=s.length,l=0;for(i=K(e._f,e._locale).match(U)||[],t=0;t<i.length;t++)(n=(s.match(pe(o=i[t],e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),W[o]?(n?f(e).empty=!1:f(e).unusedTokens.push(o),be(o,n,e)):e._strict&&!n&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),vt(e),st(e)}else pt(e)}function yt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(st(t)):(s(t)?e._d=t:i(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],gt(t),p(t)&&(o+=f(t).charsLeftOver,o+=10*f(t).unusedTokens.length,f(t).score=o,(null==r||o<r)&&(r=o,n=t));c(e,n||t)}(e):n?gt(e):function(e){var t=e._i;void 0===t?e._d=new Date(r.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ht.exec(e._i);null===t?(pt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e))):e._d=new Date(+t[1])}(e):i(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),vt(e)):"object"==typeof t?function(e){if(!e._d){var t=B(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),vt(e)}}(e):a(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function bt(e,t,n,r,a){var s,u={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&function(e){var t;for(t in e)return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=r,(s=new _(st(yt(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function _t(e,t,n,r){return bt(e,t,n,r,!1)}r.createFromInputFallback=S("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){};var wt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),Et=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function Ct(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function At(e){var t=B(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0;this._milliseconds=+(t.millisecond||0)+1e3*(t.second||0)+6e4*(t.minute||0)+1e3*(t.hour||0)*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function kt(e){return e instanceof At}function St(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function xt(e,t){G(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+Y(~~(e/60),2)+t+Y(~~e%60,2)}))}xt("Z",":"),xt("ZZ",""),he("Z",ce),he("ZZ",ce),ge(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ot(ce,e)}));var Dt=/([\+\-]|\d\d)/gi;function Ot(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Dt)||["-",0,0],i=60*r[1]+C(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Tt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||s(e)?e.valueOf():_t(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):_t(e).local()}function Ft(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Mt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Pt=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Lt=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function Rt(e,t){var n,r,i,o,s,u,c=e,d=null;return kt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(c={},t?c[t]=e:c.milliseconds=e):(d=Pt.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:C(d[2])*n,h:C(d[3])*n,m:C(d[4])*n,s:C(d[5])*n,ms:C(St(1e3*d[6]))*n}):(d=Lt.exec(e))?c={y:Bt(d[2],n="-"===d[1]?-1:1),M:Bt(d[3],n),w:Bt(d[4],n),d:Bt(d[5],n),h:Bt(d[6],n),m:Bt(d[7],n),s:Bt(d[8],n)}:null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=_t(c.from),s=_t(c.to),i=o.isValid()&&s.isValid()?(s=Tt(s,o),o.isBefore(s)?u=jt(o,s):((u=jt(s,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),r=new At(c),kt(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function jt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function It(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Nt(this,Rt(n="string"==typeof n?+n:n,r),e),this}}function Nt(e,t,n,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*n),a&&z(e,"Date",H(e,"Date")+a*n),s&&Se(e,H(e,"Month")+s*n),i&&r.updateOffset(e,a||s))}Rt.fn=At.prototype;var Ht=It(1,"add"),zt=It(-1,"subtract");function Yt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ut=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Vt(){return this._locale}function $t(e,t){G(0,[e,e.length],0,t)}function Wt(e,t,n,r,i){var o;return null==e?Ie(this,r,i).year:(t>(o=Ne(e,r,i))&&(t=o),Gt.call(this,e,t,n,r,i))}function Gt(e,t,n,r,i){var o=je(e,t,n,r,i),a=Re(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}G(0,["gg",2],0,(function(){return this.weekYear()%100})),G(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),$t("gggg","weekYear"),$t("ggggg","weekYear"),$t("GGGG","isoWeekYear"),$t("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),he("G",ue),he("g",ue),he("GG",te,Z),he("gg",te,Z),he("GGGG",oe,Q),he("gggg",oe,Q),he("GGGGG",ae,ee),he("ggggg",ae,ee),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=C(e)})),ye(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),G("Q",0,"Qo","quarter"),L("quarter","Q"),I("quarter",7),he("Q",X),ge("Q",(function(e,t){t[1]=3*(C(e)-1)})),G("D",["DD",2],"Do","date"),L("date","D"),I("date",9),he("D",te),he("DD",te,Z),he("Do",(function(e,t){return e?t._ordinalParse:t._ordinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=C(e.match(te)[0])}));var qt=N("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),I("dayOfYear",4),he("DDD",ie),he("DDDD",J),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=C(e)})),G("m",["mm",2],0,"minute"),L("minute","m"),I("minute",14),he("m",te),he("mm",te,Z),ge(["m","mm"],4);var Kt=N("Minutes",!1);G("s",["ss",2],0,"second"),L("second","s"),I("second",15),he("s",te),he("ss",te,Z),ge(["s","ss"],5);var Xt,Zt=N("Seconds",!1);for(G("S",0,0,(function(){return~~(this.millisecond()/100)})),G(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),G(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),G(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),G(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),G(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),G(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),L("millisecond","ms"),I("millisecond",16),he("S",ie,X),he("SS",ie,Z),he("SSS",ie,J),Xt="SSSS";Xt.length<=9;Xt+="S")he(Xt,se);function Jt(e,t){t[6]=C(1e3*("0."+e))}for(Xt="S";Xt.length<=9;Xt+="S")ge(Xt,Jt);var Qt=N("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var en=_.prototype;function tn(e){return e}en.add=Ht,en.calendar=function(e,t){var n=e||_t(),i=Tt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(O(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,_t(n)))},en.clone=function(){return new _(this)},en.diff=function(e,t,n){var r,i,o,a,s,u,l,c;return this.isValid()&&(r=Tt(e,this)).isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),"year"===(t=R(t))||"month"===t||"quarter"===t?(s=this,a=-((l=12*((u=r).year()-s.year())+(u.month()-s.month()))+(u-(c=s.clone().add(l,"months"))<0?(u-c)/(c-s.clone().add(l-1,"months")):(u-c)/(s.clone().add(l+1,"months")-c)))||0,"quarter"===t?a/=3:"year"===t&&(a/=12)):(o=this-r,a="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-i)/864e5:"week"===t?(o-i)/6048e5:o),n?a:E(a)):NaN},en.endOf=function(e){return void 0===(e=R(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},en.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=q(this,e);return this.localeData().postformat(t)},en.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||_t(e).isValid())?Rt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},en.fromNow=function(e){return this.from(_t(),e)},en.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||_t(e).isValid())?Rt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},en.toNow=function(e){return this.to(_t(),e)},en.get=function(e){return O(this[e=R(e)])?this[e]():this},en.invalidAt=function(){return f(this).overflow},en.isAfter=function(e,t){var n=w(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(v(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},en.isBefore=function(e,t){var n=w(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=R(v(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},en.isBetween=function(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},en.isSame=function(e,t){var n,r=w(e)?e:_t(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=R(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},en.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},en.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},en.isValid=function(){return p(this)},en.lang=Ut,en.locale=Yt,en.localeData=Vt,en.max=Et,en.min=wt,en.parsingFlags=function(){return c({},f(this))},en.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:j[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=B(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(O(this[e=R(e)]))return this[e](t);return this},en.startOf=function(e){switch(e=R(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},en.subtract=zt,en.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},en.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},en.toDate=function(){return new Date(this.valueOf())},en.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?O(Date.prototype.toISOString)?this.toDate().toISOString():q(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):q(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},en.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},en.toJSON=function(){return this.isValid()?this.toISOString():null},en.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},en.unix=function(){return Math.floor(this.valueOf()/1e3)},en.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},en.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},en.year=Pe,en.isLeapYear=function(){return Me(this.year())},en.weekYear=function(e){return Wt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},en.isoWeekYear=function(e){return Wt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},en.quarter=en.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},en.month=xe,en.daysInMonth=function(){return we(this.year(),this.month())},en.week=en.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},en.isoWeek=en.isoWeeks=function(e){var t=Ie(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},en.weeksInYear=function(){var e=this.localeData()._week;return Ne(this.year(),e.dow,e.doy)},en.isoWeeksInYear=function(){return Ne(this.year(),1,4)},en.date=qt,en.day=en.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},en.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},en.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},en.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},en.hour=en.hours=Je,en.minute=en.minutes=Kt,en.second=en.seconds=Zt,en.millisecond=en.milliseconds=Qt,en.utcOffset=function(e,t){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ot(ce,e)))return this}else Math.abs(e)<16&&(e*=60);return!this._isUTC&&t&&(n=Ft(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Nt(this,Rt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ft(this)},en.utc=function(e){return this.utcOffset(0,e)},en.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},en.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Ot(le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},en.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?_t(e).utcOffset():0,(this.utcOffset()-e)%60==0)},en.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},en.isLocal=function(){return!!this.isValid()&&!this._isUTC},en.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},en.isUtc=Mt,en.isUTC=Mt,en.zoneAbbr=function(){return this._isUTC?"UTC":""},en.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},en.dates=S("dates accessor is deprecated. Use date instead.",qt),en.months=S("months accessor is deprecated. Use month instead",xe),en.years=S("years accessor is deprecated. Use year instead",Pe),en.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),en.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=yt(e))._a){var t=e._isUTC?d(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&A(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var nn=F.prototype;function rn(e,t,n,r){var i=at(),o=d().set(r,t);return i[n](o,e)}function on(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return rn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=rn(e,r,n,"month");return i}function an(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i,o=at(),s=e?o._week.dow:0;if(null!=n)return rn(t,(n+s)%7,r,"day");var u=[];for(i=0;i<7;i++)u[i]=rn(t,(i+s)%7,r,"day");return u}nn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r},nn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},nn.invalidDate=function(){return this._invalidDate},nn.ordinal=function(e){return this._ordinal.replace("%d",e)},nn.preparse=tn,nn.postformat=tn,nn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return O(i)?i(e,t,n,r):i.replace(/%d/i,e)},nn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},nn.set=function(e){var t,n;for(n in e)O(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},nn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ee).test(t)?"format":"standalone"][e.month()]:this._months},nn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ee.test(t)?"format":"standalone"][e.month()]:this._monthsShort},nn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return ke.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=d([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},nn.monthsRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=Oe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},nn.monthsShortRegex=function(e){return this._monthsParseExact?(l(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},nn.week=function(e){return Ie(e,this._week.dow,this._week.doy).week},nn.firstDayOfYear=function(){return this._week.doy},nn.firstDayOfWeek=function(){return this._week.dow},nn.weekdays=function(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays},nn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},nn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},nn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},nn.weekdaysRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},nn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},nn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},nn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},nn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===C(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",at);var sn=Math.abs;function un(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function ln(e){return e<0?Math.floor(e):Math.ceil(e)}function cn(e){return 4800*e/146097}function dn(e){return 146097*e/4800}function fn(e){return function(){return this.as(e)}}var hn=fn("ms"),pn=fn("s"),mn=fn("m"),vn=fn("h"),gn=fn("d"),yn=fn("w"),bn=fn("M"),_n=fn("y");function wn(e){return function(){return this._data[e]}}var En=wn("milliseconds"),Cn=wn("seconds"),An=wn("minutes"),kn=wn("hours"),Sn=wn("days"),xn=wn("months"),Dn=wn("years"),On=Math.round,Tn={s:45,m:45,h:22,d:26,M:11};function Fn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Mn=Math.abs;function Pn(){var e,t,n=Mn(this._milliseconds)/1e3,r=Mn(this._days),i=Mn(this._months);e=E(n/60),t=E(e/60),n%=60,e%=60;var o=E(i/12),a=i%=12,s=r,u=t,l=e,c=n,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(o?o+"Y":"")+(a?a+"M":"")+(s?s+"D":"")+(u||l||c?"T":"")+(u?u+"H":"")+(l?l+"M":"")+(c?c+"S":""):"P0D"}var Ln=At.prototype;return Ln.abs=function(){var e=this._data;return this._milliseconds=sn(this._milliseconds),this._days=sn(this._days),this._months=sn(this._months),e.milliseconds=sn(e.milliseconds),e.seconds=sn(e.seconds),e.minutes=sn(e.minutes),e.hours=sn(e.hours),e.months=sn(e.months),e.years=sn(e.years),this},Ln.add=function(e,t){return un(this,e,t,1)},Ln.subtract=function(e,t){return un(this,e,t,-1)},Ln.as=function(e){var t,n,r=this._milliseconds;if("month"===(e=R(e))||"year"===e)return n=this._months+cn(t=this._days+r/864e5),"month"===e?n:n/12;switch(t=this._days+Math.round(dn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Ln.asMilliseconds=hn,Ln.asSeconds=pn,Ln.asMinutes=mn,Ln.asHours=vn,Ln.asDays=gn,Ln.asWeeks=yn,Ln.asMonths=bn,Ln.asYears=_n,Ln.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12)},Ln._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ln(dn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=E(o/1e3),u.seconds=e%60,t=E(e/60),u.minutes=t%60,n=E(t/60),u.hours=n%24,a+=E(n/24),s+=i=E(cn(a)),a-=ln(dn(i)),r=E(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},Ln.get=function(e){return this[(e=R(e))+"s"]()},Ln.milliseconds=En,Ln.seconds=Cn,Ln.minutes=An,Ln.hours=kn,Ln.days=Sn,Ln.weeks=function(){return E(this.days()/7)},Ln.months=xn,Ln.years=Dn,Ln.humanize=function(e){var t=this.localeData(),n=function(e,t,n){var r=Rt(e).abs(),i=On(r.as("s")),o=On(r.as("m")),a=On(r.as("h")),s=On(r.as("d")),u=On(r.as("M")),l=On(r.as("y")),c=i<Tn.s&&["s",i]||o<=1&&["m"]||o<Tn.m&&["mm",o]||a<=1&&["h"]||a<Tn.h&&["hh",a]||s<=1&&["d"]||s<Tn.d&&["dd",s]||u<=1&&["M"]||u<Tn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,Fn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Ln.toISOString=Pn,Ln.toString=Pn,Ln.toJSON=Pn,Ln.locale=Yt,Ln.localeData=Vt,Ln.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pn),Ln.lang=Ut,G("X",0,0,"unix"),G("x",0,0,"valueOf"),he("x",ue),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),ge("x",(function(e,t,n){n._d=new Date(C(e))})),r.version="2.17.1",t=_t,r.fn=en,r.min=function(){var e=[].slice.call(arguments,0);return Ct("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ct("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=d,r.unix=function(e){return _t(1e3*e)},r.months=function(e,t){return on(e,t,"months")},r.isDate=s,r.locale=it,r.invalid=m,r.duration=Rt,r.isMoment=w,r.weekdays=function(e,t,n){return an(e,t,n,"weekdays")},r.parseZone=function(){return _t.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=kt,r.monthsShort=function(e,t){return on(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return an(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,r=Qe;null!=et[e]&&(r=et[e]._config),(n=new F(t=T(r,t))).parentLocale=et[e],et[e]=n,it(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return M(et)},r.weekdaysShort=function(e,t,n){return an(e,t,n,"weekdaysShort")},r.normalizeUnits=R,r.relativeTimeRounding=function(e){return void 0===e?On:"function"==typeof e&&(On=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Tn[e]&&(void 0===t?Tn[e]:(Tn[e]=t,!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=en,r}()}).call(this,n(77)(e))},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){"use strict";var r=n(332).default||n(332),i=n(251);r.init(i);var o=function(e,t){return r.t(e,t)};o.title=function(e,t){return o(e,t).replace(/(^.| .)/g,(function(e){return e.toUpperCase()}))},o.sentence=function(e,t){return o(e,t).replace(/^./,(function(e){return e.toUpperCase()}))},o.uppercase=function(e,t){return o(e,t).toUpperCase()},e.exports=o},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(i.apply(null,r));else if("object"===o)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=i:void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;if(!("string"==typeof e||e instanceof String))throw t=null===e?"null":"object"===(t=r(e))&&e.constructor&&e.constructor.hasOwnProperty("name")?e.constructor.name:"a ".concat(t),new TypeError("Expected string but received ".concat(t,"."))},e.exports=t.default,e.exports.default=t.default},function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,l=a.push,c=a.slice,d=s.toString,f=s.hasOwnProperty,h=Array.isArray,p=Object.keys,m=Object.create,v=function(){},g=function e(t){return t instanceof e?t:this instanceof e?void(this._wrapped=t):new e(t)};t.nodeType?i._=g:(!n.nodeType&&n.exports&&(t=n.exports=g),t._=g),g.VERSION="1.9.1";var y,b=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},_=function(e,t,n){return g.iteratee!==y?g.iteratee(e,t):null==e?g.identity:g.isFunction(e)?b(e,t,n):g.isObject(e)&&!g.isArray(e)?g.matcher(e):g.property(e)};g.iteratee=y=function(e,t){return _(e,t,1/0)};var w=function(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<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}},E=function(e){if(!g.isObject(e))return{};if(m)return m(e);v.prototype=e;var t=new v;return v.prototype=null,t},C=function(e){return function(t){return null==t?void 0:t[e]}},A=function(e,t){return null!=e&&f.call(e,t)},k=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},S=Math.pow(2,53)-1,x=C("length"),D=function(e){var t=x(e);return"number"==typeof t&&t>=0&&t<=S};g.each=g.forEach=function(e,t,n){var r,i;if(t=b(t,n),D(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=g.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},g.map=g.collect=function(e,t,n){t=_(t,n);for(var r=!D(e)&&g.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o};var O=function(e){var t=function(t,n,r,i){var o=!D(t)&&g.keys(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var u=o?o[s]:s;r=n(r,t[u],u,t)}return r};return function(e,n,r,i){var o=arguments.length>=3;return t(e,b(n,i,4),r,o)}};g.reduce=g.foldl=g.inject=O(1),g.reduceRight=g.foldr=O(-1),g.find=g.detect=function(e,t,n){var r=(D(e)?g.findIndex:g.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},g.filter=g.select=function(e,t,n){var r=[];return t=_(t,n),g.each(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r},g.reject=function(e,t,n){return g.filter(e,g.negate(_(t)),n)},g.every=g.all=function(e,t,n){t=_(t,n);for(var r=!D(e)&&g.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},g.some=g.any=function(e,t,n){t=_(t,n);for(var r=!D(e)&&g.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},g.contains=g.includes=g.include=function(e,t,n,r){return D(e)||(e=g.values(e)),("number"!=typeof n||r)&&(n=0),g.indexOf(e,t,n)>=0},g.invoke=w((function(e,t,n){var r,i;return g.isFunction(t)?i=t:g.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),g.map(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=k(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))})),g.pluck=function(e,t){return g.map(e,g.property(t))},g.where=function(e,t){return g.filter(e,g.matcher(t))},g.findWhere=function(e,t){return g.find(e,g.matcher(t))},g.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=D(e)?e:g.values(e)).length;s<u;s++)null!=(r=e[s])&&r>o&&(o=r);else t=_(t,n),g.each(e,(function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)}));return o},g.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=D(e)?e:g.values(e)).length;s<u;s++)null!=(r=e[s])&&r<o&&(o=r);else t=_(t,n),g.each(e,(function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)}));return o},g.shuffle=function(e){return g.sample(e,1/0)},g.sample=function(e,t,n){if(null==t||n)return D(e)||(e=g.values(e)),e[g.random(e.length-1)];var r=D(e)?g.clone(e):g.values(e),i=x(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=g.random(a,o),u=r[a];r[a]=r[s],r[s]=u}return r.slice(0,t)},g.sortBy=function(e,t,n){var r=0;return t=_(t,n),g.pluck(g.map(e,(function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")};var T=function(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=_(r,i),g.each(n,(function(t,i){var a=r(t,i,n);e(o,t,a)})),o}};g.groupBy=T((function(e,t,n){A(e,n)?e[n].push(t):e[n]=[t]})),g.indexBy=T((function(e,t,n){e[n]=t})),g.countBy=T((function(e,t,n){A(e,n)?e[n]++:e[n]=1}));var F=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;g.toArray=function(e){return e?g.isArray(e)?c.call(e):g.isString(e)?e.match(F):D(e)?g.map(e,g.identity):g.values(e):[]},g.size=function(e){return null==e?0:D(e)?e.length:g.keys(e).length},g.partition=T((function(e,t,n){e[n?0:1].push(t)}),!0),g.first=g.head=g.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:g.initial(e,e.length-t)},g.initial=function(e,t,n){return c.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},g.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:g.rest(e,Math.max(0,e.length-t))},g.rest=g.tail=g.drop=function(e,t,n){return c.call(e,null==t||n?1:t)},g.compact=function(e){return g.filter(e,Boolean)};var M=function e(t,n,r,i){for(var o=(i=i||[]).length,a=0,s=x(t);a<s;a++){var u=t[a];if(D(u)&&(g.isArray(u)||g.isArguments(u)))if(n)for(var l=0,c=u.length;l<c;)i[o++]=u[l++];else e(u,n,r,i),o=i.length;else r||(i[o++]=u)}return i};g.flatten=function(e,t){return M(e,t,!1)},g.without=w((function(e,t){return g.difference(e,t)})),g.uniq=g.unique=function(e,t,n,r){g.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=_(n,r));for(var i=[],o=[],a=0,s=x(e);a<s;a++){var u=e[a],l=n?n(u,a,e):u;t&&!n?(a&&o===l||i.push(u),o=l):n?g.contains(o,l)||(o.push(l),i.push(u)):g.contains(i,u)||i.push(u)}return i},g.union=w((function(e){return g.uniq(M(e,!0,!0))})),g.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=x(e);r<i;r++){var o=e[r];if(!g.contains(t,o)){var a;for(a=1;a<n&&g.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},g.difference=w((function(e,t){return t=M(t,!0,!0),g.filter(e,(function(e){return!g.contains(t,e)}))})),g.unzip=function(e){for(var t=e&&g.max(e,x).length||0,n=Array(t),r=0;r<t;r++)n[r]=g.pluck(e,r);return n},g.zip=w(g.unzip),g.object=function(e,t){for(var n={},r=0,i=x(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var P=function(e){return function(t,n,r){n=_(n,r);for(var i=x(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}};g.findIndex=P(1),g.findLastIndex=P(-1),g.sortedIndex=function(e,t,n,r){for(var i=(n=_(n,r,1))(t),o=0,a=x(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o};var L=function(e,t,n){return function(r,i,o){var a=0,s=x(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(c.call(r,a,s),g.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}};g.indexOf=L(1,g.findIndex,g.sortedIndex),g.lastIndexOf=L(-1,g.findLastIndex),g.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},g.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(c.call(e,r,r+=t));return n};var R=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=E(e.prototype),a=e.apply(o,i);return g.isObject(a)?a:o};g.bind=w((function(e,t,n){if(!g.isFunction(e))throw new TypeError("Bind must be called on a function");var r=w((function(i){return R(e,r,t,this,n.concat(i))}));return r})),g.partial=w((function(e,t){var n=g.partial.placeholder;return function r(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return R(e,r,this,this,a)}})),g.partial.placeholder=g,g.bindAll=w((function(e,t){var n=(t=M(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=g.bind(e[r],e)}})),g.memoize=function(e,t){var n=function n(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return A(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},g.delay=w((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),g.defer=g.partial(g.delay,g,1),g.throttle=function(e,t,n){var r,i,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:g.now(),r=null,a=e.apply(i,o),r||(i=o=null)},l=function(){var l=g.now();s||!1!==n.leading||(s=l);var c=t-(l-s);return i=this,o=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l},g.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=w((function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=g.delay(o,t,this,a);return i}));return a.cancel=function(){clearTimeout(r),r=null},a},g.wrap=function(e,t){return g.partial(t,e)},g.negate=function(e){return function(){return!e.apply(this,arguments)}},g.compose=function(){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}},g.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},g.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},g.once=g.partial(g.before,2),g.restArguments=w;var B=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],I=function(e,t){var n=j.length,r=e.constructor,i=g.isFunction(r)&&r.prototype||s,o="constructor";for(A(e,o)&&!g.contains(t,o)&&t.push(o);n--;)(o=j[n])in e&&e[o]!==i[o]&&!g.contains(t,o)&&t.push(o)};g.keys=function(e){if(!g.isObject(e))return[];if(p)return p(e);var t=[];for(var n in e)A(e,n)&&t.push(n);return B&&I(e,t),t},g.allKeys=function(e){if(!g.isObject(e))return[];var t=[];for(var n in e)t.push(n);return B&&I(e,t),t},g.values=function(e){for(var t=g.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},g.mapObject=function(e,t,n){t=_(t,n);for(var r=g.keys(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},g.pairs=function(e){for(var t=g.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},g.invert=function(e){for(var t={},n=g.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},g.functions=g.methods=function(e){var t=[];for(var n in e)g.isFunction(e[n])&&t.push(n);return t.sort()};var N=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,u=0;u<s;u++){var l=a[u];t&&void 0!==n[l]||(n[l]=o[l])}return n}};g.extend=N(g.allKeys),g.extendOwn=g.assign=N(g.keys),g.findKey=function(e,t,n){t=_(t,n);for(var r,i=g.keys(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r};var H,z,Y=function(e,t,n){return t in n};g.pick=w((function(e,t){var n={},r=t[0];if(null==e)return n;g.isFunction(r)?(t.length>1&&(r=b(r,t[1])),t=g.allKeys(e)):(r=Y,t=M(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n})),g.omit=w((function(e,t){var n,r=t[0];return g.isFunction(r)?(r=g.negate(r),t.length>1&&(n=t[1])):(t=g.map(M(t,!1,!1),String),r=function(e,n){return!g.contains(t,n)}),g.pick(e,r,n)})),g.defaults=N(g.allKeys,!0),g.create=function(e,t){var n=E(e);return t&&g.extendOwn(n,t),n},g.clone=function(e){return g.isObject(e)?g.isArray(e)?e.slice():g.extend({},e):e},g.tap=function(e,t){return t(e),e},g.isMatch=function(e,t){var n=g.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},H=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&z(e,t,n,r)},z=function(e,t,n,r){e instanceof g&&(e=e._wrapped),t instanceof g&&(t=t._wrapped);var i=d.call(e);if(i!==d.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return u.valueOf.call(e)===u.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(g.isFunction(a)&&a instanceof a&&g.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var l=(n=n||[]).length;l--;)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),o){if((l=e.length)!==t.length)return!1;for(;l--;)if(!H(e[l],t[l],n,r))return!1}else{var c,f=g.keys(e);if(l=f.length,g.keys(t).length!==l)return!1;for(;l--;)if(!A(t,c=f[l])||!H(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0},g.isEqual=function(e,t){return H(e,t)},g.isEmpty=function(e){return null==e||(D(e)&&(g.isArray(e)||g.isString(e)||g.isArguments(e))?0===e.length:0===g.keys(e).length)},g.isElement=function(e){return!(!e||1!==e.nodeType)},g.isArray=h||function(e){return"[object Array]"===d.call(e)},g.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},g.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],(function(e){g["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}})),g.isArguments(arguments)||(g.isArguments=function(e){return A(e,"callee")});var U=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof U&&(g.isFunction=function(e){return"function"==typeof e||!1}),g.isFinite=function(e){return!g.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},g.isNaN=function(e){return g.isNumber(e)&&isNaN(e)},g.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},g.isNull=function(e){return null===e},g.isUndefined=function(e){return void 0===e},g.has=function(e,t){if(!g.isArray(t))return A(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!f.call(e,i))return!1;e=e[i]}return!!n},g.noConflict=function(){return i._=o,this},g.identity=function(e){return e},g.constant=function(e){return function(){return e}},g.noop=function(){},g.property=function(e){return g.isArray(e)?function(t){return k(t,e)}:C(e)},g.propertyOf=function(e){return null==e?function(){}:function(t){return g.isArray(t)?k(e,t):e[t]}},g.matcher=g.matches=function(e){return e=g.extendOwn({},e),function(t){return g.isMatch(t,e)}},g.times=function(e,t,n){var r=Array(Math.max(0,e));t=b(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},g.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},g.now=Date.now||function(){return(new Date).getTime()};var V={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},$=g.invert(V),W=function(e){var t=function(t){return e[t]},n="(?:"+g.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return r.test(e=null==e?"":""+e)?e.replace(i,t):e}};g.escape=W(V),g.unescape=W($),g.result=function(e,t,n){g.isArray(t)||(t=[t]);var r=t.length;if(!r)return g.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=g.isFunction(o)?o.call(e):o}return e};var G=0;g.uniqueId=function(e){var t=++G+"";return e?e+t:t},g.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,K={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},X=/\\|'|\r|\n|\u2028|\u2029/g,Z=function(e){return"\\"+K[e]};g.template=function(e,t,n){!t&&n&&(t=n),t=g.defaults({},t,g.templateSettings);var r,i=RegExp([(t.escape||q).source,(t.interpolate||q).source,(t.evaluate||q).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,(function(t,n,r,i,s){return a+=e.slice(o,s).replace(X,Z),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,g)};return s.source="function("+(t.variable||"obj")+"){\n"+a+"}",s},g.chain=function(e){var t=g(e);return t._chain=!0,t};var J=function(e,t){return e._chain?g(t).chain():t};g.mixin=function(e){return g.each(g.functions(e),(function(t){var n=g[t]=e[t];g.prototype[t]=function(){var e=[this._wrapped];return l.apply(e,arguments),J(this,n.apply(g,e))}})),g},g.mixin(g),g.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];g.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],J(this,n)}})),g.each(["concat","join","slice"],(function(e){var t=a[e];g.prototype[e]=function(){return J(this,t.apply(this._wrapped,arguments))}})),g.prototype.value=function(){return this._wrapped},g.prototype.valueOf=g.prototype.toJSON=g.prototype.value,g.prototype.toString=function(){return String(this._wrapped)},void 0===(r=(function(){return g}).apply(t,[]))||(n.exports=r)}()}).call(this,n(23),n(77)(e))},function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return r})),n.d(t,"p",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"o",(function(){return u})),n.d(t,"q",(function(){return l})),n.d(t,"s",(function(){return c})),n.d(t,"i",(function(){return d})),n.d(t,"r",(function(){return f})),n.d(t,"k",(function(){return h})),n.d(t,"m",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"l",(function(){return v})),n.d(t,"g",(function(){return g})),n.d(t,"f",(function(){return y})),n.d(t,"h",(function(){return b})),n.d(t,"n",(function(){return _})),n.d(t,"b",(function(){return w}));var r="1.11.0",i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},o=Array.prototype,a=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,u=o.push,l=o.slice,c=a.toString,d=a.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,h=Array.isArray,p=Object.keys,m=Object.create,v=f&&ArrayBuffer.isView,g=isNaN,y=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1}).call(this,n(23))},function(e,t,n){"use strict";e.exports=n(337)},function(e,t,n){e.exports=n(348)},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";(function(e){var r=n(0),i=r(n(46)),o=r(n(17)),a=r(n(18)),s=n(14),u=n(9),l=n(1),c=n(25).caseInsensitiveCompare,d=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],f=n(34),h=n(250);t.dateFormat="YYYY-MM-DD",t.callIfFunc=function(e){return"function"==typeof e?e():e},t.resolveObject=h,t.getAttribute=function(e,t){var n;return(null==e||null===(n=e.attributes)||void 0===n?void 0:n[t])||e[t]},t.preventScroll=function(e){var t=document.body.scrollTop;e(),document.body.scrollTop=t},t.formatBytes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,r=0;if(0===e)return"0 B";for(;e>n;)e/=n,r++;return parseFloat(e).toPrecision(t)+" "+d[r]},t.extractAriaProps=function(e){var t={};for(var n in e)/^aria/.test(n)&&(t[n]=e[n]);return t},t.formatDateTimeString=function(e,t){return t?u(e).format(t):u(e).calendar(null,{sameElse:"ll - hh:mm A"})},t.formatDateString=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ll";return u(e).format(t)},t.formatDateOnly=function(e){return u(e).format(t.dateFormat)},t.durationSince=function(e){if(!e)return"-";var t=Date.now();return t-new Date(e)<6e4?u(t).subtract(1,"minutes").from(t):u(e).from(t)},t.isTruthy=function(e){return!!e},t.allTrue=function(){for(var e=!0,t=1===arguments.length&&Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<t.length;n++)e=t[n]&&e;return e},t.allFalse=function(){for(var e=!1,t=1===arguments.length&&Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<t.length;n++)e=t[n]||e;return!e},t.measureText=function(e,t,n){var r=document.createElement("div");if(r.style.display="inline-block",r.style.position="fixed",r.style.visibility="invisible",r.innerHTML=t,n)for(var i in n)r.style[i]=n[i];e.appendChild(r);var o={width:r.clientWidth,height:r.clientHeight};return r.parentNode.removeChild(r),o},t.cloneAndRender=function(e,t){return"function"==typeof e?e(t):l.cloneElement(e,t)},t.objectCompare=function(e,t,n){return c(null==t?void 0:t[e],null==n?void 0:n[e])},t.getUrlForSearch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return["/search.json?related=true&limit=".concat(t,"&query=").concat(encodeURIComponent(e.query)),"global"===e.scope?"":"&filter_organization_id=".concat(e.organizationId),e.types?"&kind=".concat(e.types):""].join("")},t.onTransition=function(e,t,n,r){var i=t[n];e[n]!==i&&("function"==typeof r?r(i):"function"==typeof r[i]?r[i]():"function"==typeof r.default&&r.default(t[n]))},t.getComparableValue=function(e){if(e){var t=Number(e);return Number.isNaN(t)?e.toString().toLowerCase():t}},t.sequential=function(e){var t=function(){var n=(0,a.default)(o.default.mark((function n(){var r,i,a=arguments;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!t.pending){n.next=10;break}return t.resolve(!1),t.pending=new Promise((function(e){return t.resolve=e})),n.next=5,t.pending;case 5:if(!n.sent){n.next=8;break}return t.pending=null,n.abrupt("return",t.apply(null,a));case 8:n.next=16;break;case 10:return i=t.pending=new Promise((function(e){return t.resolve=e})),n.next=13,e.apply(null,a);case 13:r=n.sent,t.resolve(!0),i===t.pending&&(t.pending=null);case 16:return n.abrupt("return",r);case 17:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}();return t},t.exportLocalRedux=function(e,t){return{Actions:e,Reducer:t,bindActions:function(n){n.dispatch=(function(e){this.setState((function(r){return t(r,e,n)}))}).bind(n);var r=function(t){n[t]=function(){n.dispatch(e[t].apply(n,arguments))}};for(var i in e)r(i)}}},t.trySetItem=function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{e.localStorage.setItem(n,r)}catch(o){Object.keys(e.localStorage).forEach((function(t){return t.match(/-cache/)&&e.localStorage.removeItem(t)})),1===i&&e.setTimeout((function(){return t.trySetItem(n,r,2)}),0)}},t.supportsNavigatorClipboard=function(){var e=n(57);return!!navigator.clipboard&&!e.safari&&!t.isChromeExtension()},t.supportsAsyncCopy=function(){return t.supportsNavigatorClipboard()||t.isChromeExtension()},t.isInsideChromeIframe=function(){var e=n(57);return t.isInsideIframe()&&!!e.chrome},t.copyToClipboard=function(){var e=(0,a.default)(o.default.mark((function e(r){var i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r||0===r)&&"undefined"!=typeof document){e.next=2;break}return e.abrupt("return",!1);case 2:if(r=""+r,!t.supportsNavigatorClipboard()||t.isInsideChromeIframe()){e.next=7;break}return e.abrupt("return",new Promise((function(e){navigator.clipboard.writeText(r).then((function(){return e(!0)})).catch((function(t){console.log("copy to clipboard failed: ",t);var r=n(57);console.log(r),e(!1)}))})));case 7:i=f.createElementAndAppendToBody("textarea",{class:"position-offscreen"});try{i.value=r||"",i.focus(),i.select(),a=document.execCommand("copy")}catch(e){}return i.parentNode.removeChild(i),e.abrupt("return",!!a);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.getOrgId=function(){if("undefined"!=typeof document&&document.location){var e=document.location.pathname.match(/^\/(\d+)\/?/)||document.location.pathname.match(/^\/DOC-(\d+)-\d+\/?/);if(e)return parseInt(e[1])}},t.checkOrgHomePageUrl=function(e){if(e){var t=e.match(/^\/(\d+)\/?$/);if(t)return parseInt(t[1])}},t.isMac=function(){return navigator.platform.toUpperCase().indexOf("MAC")>-1},t.looseCompare=function(e,t){return e==t},t.redirectTo=function(e){return window.location=e},t.openUrl=function(e){e.match(/^(http|https|ftp|file):\/\//)||(e="http://"+e),window.open(e,"_blank")},t.ipToInt=function(e){var t=(e||"").split(".");return 4!==t.length?0:t.reduce((function(e,t){return(e<<8)+parseInt(t,10)}),0)>>>0},t.sortOn=function(e){return function(t,n){var r=t[e].toUpperCase(),i=n[e].toUpperCase();return r<i?-1:r>i?1:0}},t.getFlagQueryParams=function(e){if(!e||!e.toLowerCase().includes("flag:"))return{query:e,flags:null};var t=[],n=e.replace(/\b(flag:(\w)+)|\b(flag:"(.)+")|\b(flag:)/gi,(function(e){var n=e.split(":");return n&&2===n.length&&t.push(n[1].replace(/"/g,"")),""}));return{query:n=n.replace("  "," ").replace(",,",","),flags:t.length?t.join(","):null}},t.dateInTimeZone=function(e){return e},t.random=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length?Math.floor(Math.random()*e.length):0;return e[t]},t.isChromeExtension=function(){var e,t;return"undefined"!=typeof chrome&&!!(null===(e=chrome)||void 0===e||null===(t=e.runtime)||void 0===t?void 0:t.id)},t.getHostname=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.location,r=n.hostname;if("string"==typeof n){var i=f.createElement("a",{href:n});r=i.hostname}return null===(t=r)||void 0===t?void 0:t.split(".").slice(-2).join(".")},t.getLocationOrigin=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.location;if("string"==typeof t){var n=f.createElement("a",{href:t});return n.origin}return t.origin},t.getRelativeUrl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.location;if("string"==typeof t){var n=f.createElement("a",{href:t});return n.pathname}return t.pathname},t.isInsideIframe=function(){return window!==window.parent},t.make2DArray=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;e=(0,i.default)(e),t=!(0,s.isNumber)(t)||(0,s.isNaN)(t)||t<1?e.length:t;for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},t.Sort=n(97),t.removeSpace=function(e){try{return e.replace(/\s/g,"")}catch(t){return console.warn("error removing space from:",e,"\n",t),e}};var p=/^[A-Z2-7]+=*$/;t.isBase32=function(e){return p.test(e)}}).call(this,n(23))},function(e,t,n){var r;e.exports=r=r||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++)t[r+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(r+o)%4*8;else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){t=t;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=i(4294967296*(n||e.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,t)}}),s=r.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},l=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++)r.push(String.fromCharCode(t[i>>>2]>>>24-i%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},c=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,l=e.min(4*u,i);if(u){for(var c=0;c<u;c+=o)this._doProcessBlock(r,c);var d=r.splice(0,u);n.sigBytes-=l}return new a.init(d,l)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(i.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}}),r.algo={});return r}(Math)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=u;var i=r(n(19)),o=r(n(518)),a=r(n(1)),s=r(n(12));function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fw,n=e.name,r=void 0===n?"":n,u=e.solid,l=void 0!==u&&u,c=e.light,d=void 0!==c&&c,f=e.regular,h=void 0!==f&&f,p=e.clickable,m=e.className,v=(0,o.default)(e,["fw","name","solid","light","regular","clickable","className"]),g=r.replace(/^(fa-|fa-pro)/,""),y=!1===(l||d||h);switch(g){case"file-icon-visio":case"file-icon-sh":case"file-icon-ps1":return a.default.createElement("i",(0,i.default)({className:g},v))}var b=(0,s.default)(m,y&&"fa",!1!==l&&"fas",!1!==d&&"fal",!1!==h&&"far",t&&"fa-fw",p&&"cursor-pointer",(y?"fa-":"fa-pro-")+g);return a.default.createElement("i",(0,i.default)({className:b},v))}u.displayName="Icon"},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(e,r){"mobile"!==e.env.PRODUCT&&(t.UI={ArchiveCheckbox:n(338).ArchiveCheckbox,ArrowButton:n(457).ArrowButton,AddEditFlag:n(458).AddEditFlag,Autosave:n(517).Autosave,Banner:n(261).Banner,Message:n(520).Message,BrowserVersionAlert:n(521).BrowserAlert,CheckBox:n(55).FormCheckField,CircularButton:n(522).CircularButton,CollapsibleBox:n(263).CollapsibleBox,ColorPicker:n(523).ColorPicker,Confirm:n(264).Confirm,ConfirmButton:n(525).ConfirmButton,CopyButton:n(85).CopyButton,Countries:n(526).Countries,Description:n(528).Description,Dialog:n(50).Dialog,DragDropManager:n(265).DragDropManager,DraggableContainer:n(266).DraggableContainer,DropdownButton:n(267).DropdownButton,DropdownNewButton:n(529).DropdownNewButton,Duration:n(268).Duration,EditableList:n(530).EditableList,FlagIcon:n(80).FlagIcon,FilledFlagIcon:n(531).FilledFlagIcon,FileUploader:n(532).FileUploader,Filter:n(542).Filter,FormLabel:n(76).FormLabel,FormStep:n(269).FormStep,Gallery:n(543).Gallery,RequiredLabel:n(129).RequiredLabel,GlobalListener:n(103).GlobalListener,HamburgerButton:n(544).HamburgerButton,HistoryCache:n(545).HistoryCache,Icon:n(22).Icon,If:n(38).If,ImageLightboxGallery:n(270).ImageLightboxGallery,ItemSearchList:n(585).ItemSearchList,Lightbox:n(84).Lightbox,DotLoader:n(49).DotLoader,Spinner:n(64).Spinner,LoaderButton:n(30).LoaderButton,LoaderButtonWithTooltip:n(284).LoaderButtonWithTooltip,MultiStepsForm:n(588).MultiStepsForm,OptionButton:n(66).OptionButton,Passwords:n(112),Pin:n(288).Pin,Popover:n(58).Popover,PreviewLightbox:n(289).PreviewLightbox,PropsToUrlWatcher:n(114).PropsToUrlWatcher,RadioOption:n(290).RadioOption,ResizeTextArea:n(601).ResizeTextArea,RockerButton:n(602).RockerButton,Rows:n(115),AssetRows:n(291),RowWithCopy:n(620).RowWithCopy,Scheduler:n(621).Scheduler,ScrollableContainer:n(629).ScrollableContainer,SearchBar:n(630).SearchBar,SearchBarV3:n(633).SearchBarV3,SearchableTooltip:n(681).SearchableTooltip,SelectableList:n(39).SelectableList,SelectField:n(82).FormSelectField,SessionValidator:n(682).SessionValidator,ShowFlag:n(252).ShowFlag,ShowSelectedFlag:n(98).ShowSelectedFlag,StatefulTable:n(318).StatefulTable,StatefulTableWithFolders:n(700).StatefulTableWithFolders,StickyAlert:n(702).StickyAlert,Str:n(67).InternationalString,Table:n(320).Table,Tabs:n(703).Tabs,TextField:n(35).FormTextField,ToggleButton:n(319).ToggleButton,TriangleButton:n(323).Triangle,Tooltip:n(48).Tooltip,TransitionContainer:n(704).TransitionContainer,Typeahead:n(111).Typeahead,TopBar:n(705).TopBar,Vault:n(72),Wizard:n(709).Wizard,NameEditField:n(321).NameEditField},t.ResourceManager=n(714),t.Cache=n(68)),t.Services={Constants:n(281),Config:n(36),API:n(715),Network:n(59),TOTP:n(287),Vault:n(73)},t.ResourceTypes=n(2),t.PropTypes=n(2),t.Utils=n(20),t.Utils.Date=n(90),t.Utils.Dom=n(34),t.Utils.String=n(25),t.Utils.SuperagentMock=n(740),t.Utils.TestUtils=n(741),t.Utils.File=n(117),t.Utils.ExportUtils=n(742),t.Utils.Request=n(r.MOCK_REQ_UTILS||r.__TEST__?743:65),t.Constants={Keys:n(40),ConfigurationTypes:n(71),Document:n(317),FlagTypes:n(744),CacheKeys:n(110),Alerts:n(262),ResourceTypes:n(322),SearchScopes:n(118)},t.Types={Tag:n(74)},t.Actions={API:n(r.MOCK_API?745:54),Common:n(127),Organizations:n(330),Passwords:n(331),Security:n(746),Request:t.Utils.Request},t.Reducers={Common:n(747),Organizations:n(748),Passwords:n(749)},t.t=n(11),t.Domain={Asset:n(750)}}).call(this,n(43),n(23))},function(e,t,n){"use strict";var r=n(0)(n(238));t.escapeForRegex=function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},t.createRegex=function(e,n){return new RegExp(t.escapeForRegex(e),n)},t.hash=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t.toString()},t.caseInsensitiveCompare=function(e,t){return(e=void 0!==e&&"function"==typeof e.toString?e.toString().toLowerCase():e)===(t=void 0!==t&&"function"==typeof t.toString?t.toString().toLowerCase():t)?0:e<t?-1:1},t.removeEmojis=function(e){return e&&e.replace?e.replace(/([\uD800-\uDBFF][\uDC00-\uDFFF])/g,""):e},t.removeHtml=function(e){return e.replace(/<\/?[^>]+(>|$)/g,"")};var i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=";t.generateRandom=function(e){for(var t="",n=0;n<e;n++)t+=i[Math.floor(Math.random()*i.length)];return t},t.getClickableURL=function(e){return e.indexOf("://")>0?e:"http://"+e},t.addMainUrlToPath=function(e,t){return!t||e&&!e.startsWith("/")?e:t?t+e:e},t.sortByMaxChildNumber=function(e){if(!e||!e.length)return null;if(e.length>1)return""+e.length;var t,n,r=null===(t=e[0])||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n.name;return r?r.toLowerCase():r},t.getIntegerFromIp=function(e){var t=0;return e.split(".").forEach((function(e){t<<=8,t+=+e})),t>>>0},t.isValidIpRange=function(e){var n=e.split(["-"]);if(1===n.length)return r.default.isIP(n[0].trim());if(2===n.length){var i=n[0].trim(),o=n[1].trim();if(!o)return!1;if(!r.default.isIP(i)||!r.default.isIP(o))return!1;if(i===o)return!0;if(t.getIntegerFromIp(o)>t.getIntegerFromIp(i))return!0}return!1}},function(e,t,n){var r,i,o,a,s,u,l,c,d,f,h,p,m,v,g,y,b,_,w;e.exports=(r=n(21),n(51),void(r.lib.Cipher||(i=r,o=i.lib,a=o.Base,s=o.WordArray,u=o.BufferedBlockAlgorithm,l=i.enc,c=l.Base64,d=i.algo.EvpKDF,f=o.Cipher=u.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){u.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?w:b}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),o.StreamCipher=f.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),h=i.mode={},p=o.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),m=h.CBC=function(){var e=p.extend();function t(e,t,n){var r=this._iv;if(r){var i=r;this._iv=void 0}else i=this._prevBlock;for(var o=0;o<n;o++)e[t+o]^=i[o]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize;t.call(this,e,n,i),r.encryptBlock(e,n),this._prevBlock=e.slice(n,n+i)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize,o=e.slice(n,n+i);r.decryptBlock(e,n),t.call(this,e,n,i),this._prevBlock=o}}),e}(),v=(i.pad={}).Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,i=r<<24|r<<16|r<<8|r,o=[],a=0;a<r;a+=4)o.push(i);var u=s.create(o,r);e.concat(u)},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},o.BlockCipher=f.extend({cfg:f.cfg.extend({mode:m,padding:v}),reset:function(){f.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var r=n.createEncryptor;else r=n.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==r?this._mode.init(this,t&&t.words):(this._mode=r.call(n,this,t&&t.words),this._mode.__creator=r)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else t=this._process(!0),e.unpad(t);return t},blockSize:4}),g=o.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),y=(i.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var r=s.create([1398893684,1701076831]).concat(n).concat(t);else r=t;return r.toString(c)},parse:function(e){var t=c.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var r=s.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return g.create({ciphertext:t,salt:r})}},b=o.SerializableCipher=a.extend({cfg:a.extend({format:y}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return g.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),_=(i.kdf={}).OpenSSL={execute:function(e,t,n,r){r||(r=s.random(8));var i=d.create({keySize:t+n}).compute(e,r),o=s.create(i.words.slice(t),4*n);return i.sigBytes=4*t,g.create({key:i,iv:o,salt:r})}},w=o.PasswordBasedCipher=b.extend({cfg:b.cfg.extend({kdf:_}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=b.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=i.iv,b.decrypt.call(this,e,t,i.key,r)}}))))},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(423)},function(e,t){var n={},r=function(e){if("object"==typeof e){if(Array.prototype.isPrototypeOf(e))return e.slice();var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}return e};function i(e,t){for(var n in t){for(var r=0;r<e.length;r++)if(e[r][n]===t[n])return r;return-1}}function o(e,t,o){for(var a=this,s=0;s<t.length-1;s+=1){switch("object"==typeof t[s]&&(t[s]=i(e,t[s])),typeof e[t[s]]){case"undefined":if("unset"===o)return a;e[t[s]]={};break;case"object":(this===n||a&&a[t[s]]===e[t[s]])&&(e[t[s]]=r(e[t[s]]));break;default:throw"trying to set sub-state on non-object"}a&&(a=a[t[s]]),e=e[t[s]]}return e}function a(e,t,a,s){this===n&&(e=r(e));var u=Array.prototype.isPrototypeOf(t)?t:t.split("."),l=u.length>1?o.call(this,e,u,s):e,c=u[u.length-1];return"object"==typeof c&&(c=i(l,c)),-1!==c&&a.call(this,l,c),this!==n?g(this,e):e}function s(e,t){return a.call(this,e,t,(function(e,t){Array.prototype.isPrototypeOf(e)?e.splice(t,1):delete e[t]}),"unset")}function u(e,t,n){return a.call(this,e,t,(function(e,t){e[t]=n}))}function l(e,t,n){return a.call(this,e,t,(function(e,t){e[t]-=n||1}))}function c(e,t,n){return a.call(this,e,t,(function(e,t){e[t]+=n||1}))}function d(e,t,n){return a.call(this,e,t,(function(e,t){e[t]=e[t].concat(n)}))}function f(e,t,n){return a.call(this,e,t,(function(e,t){e[t]=n.concat(e[t])}))}function h(e,t,n){return a.call(this,e,t,(function(e,t){e[t]=r(e[t]),e[t]=e[t].sort(n)}))}function p(e,t){var n=arguments;return a.call(this,e,t,(function(e,t){e[t]=r(e[t]),e[t].splice.apply(e[t],Array.prototype.slice.call(n,2,n.length))}))}function m(e,t,n){return a.call(this,e,t,(function(e,t){e[t]=r(e[t])||[],e[t].push(n)}))}function v(e,t){return a.call(this,e,t,(function(e,t){e[t]=!e[t]}))}function g(e,t){return{original:e,set:function(n,r){return u.call(e,t,n,r)},unset:function(n){return s.call(e,t,n)},increment:function(n,r){return c.call(e,t,n,r)},decrement:function(n,r){return l.call(e,t,n,r)},concat:function(n,r){return d.call(e,t,n,r)},prepend:function(n,r){return f.call(e,t,n,r)},push:function(n,r){return m.call(e,t,n,r)},splice:function(){return p.apply(e,[t].concat(Array.prototype.slice.call(arguments)))},sort:function(n,r){return h.call(e,t,n,r)},toggle:function(n,r){return v.call(e,t,n)},end:function(){return t}}}function y(e){return g(e,r(e))}y.set=u.bind(n),y.unset=s.bind(n),y.increment=c.bind(n),y.decrement=l.bind(n),y.prepend=f.bind(n),y.concat=d.bind(n),y.splice=p.bind(n),y.sort=h.bind(n),y.push=m.bind(n),y.toggle=v.bind(n),y.setClone=function(e){r=e},e.exports=y},function(e,t,n){"use strict";var r=n(16),i=n(506);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var o=(new r.Component).updater;e.exports=i(r.Component,r.isValidElement,o)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderButton=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(27)),h=r(n(2)),p=r(n(12)),m=n(49),v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.props.loading||e.props.disabled||e.props.onClick()})),(0,c.default)((0,a.default)(e),"focus",(function(){f.default.findDOMNode((0,a.default)(e)).focus()})),e}return(0,o.default)(n,[{key:"render",value:function(){if(!1===this.props.visible)return null;var e=(0,p.default)("react-button qa-react-button",this.props.className,{default:this.props.default,disabled:this.props.disabled,loading:this.props.loading});return d.default.createElement("div",{className:e,onClick:this._handleClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},this.props.loading?d.default.createElement(m.DotLoader,{dark:this.props.darkLoader}):this.props.value||this.props.children)}}]),n}(d.default.Component);t.LoaderButton=v,(0,c.default)(v,"displayName","LoaderButton"),(0,c.default)(v,"propTypes",{className:h.default.string.affectsRendering,children:h.default.node,default:h.default.bool.affectsRendering,disabled:h.default.bool.affectsRendering,loading:h.default.bool.affectsRendering,onClick:h.default.func,value:h.default.any.affectsRendering,visible:h.default.bool.affectsRendering,darkLoader:h.default.bool.affectsRendering})},function(e,t){e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}},function(e,t,n){e.exports=n(342)()},function(e,t,n){"use strict";var r=n(0),i=r(n(8)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(14),f=n(54),h=f.buildQueryString,p=f.makeRequestWithRetry,m=f.GetTokenOption,v=function(){function e(t,n,r){var i=this;(0,s.default)(this,e),this.getApiBaseUrl=t,this.getToken=n,this.massagers=r||{},this.getAll=function(e,t){return i._getAll(e,t)},this.get=function(e,t,n){return i._get(e,t,n)},this.delete=function(e,t){return i._delete(e,t)},this.update=function(e,t){return i._update(e,t)},this.create=function(e,t){return i._create(e,t)}}var t,n;return(0,u.default)(e,[{key:"_makeResourceRequest",value:function(e,t,n,r){var i=this.getUrl(e,t);return p(e,i,n,this.getToken,r)}},{key:"renewJwtToken",value:function(){return this.getToken(m.RETRY)}},{key:"renewRefreshToken",value:function(){return this.getToken(m.REAUTH)}},{key:"massage",value:function(e,t){return(this.massagers[e]||function(e){return e})(t)}},{key:"_get",value:(n=(0,a.default)(o.default.mark((function e(t,n,r){var i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=this._makeResourceRequest("GET",d.defaults({id:t},n),void 0,r),!this.massagers.get){e.next=7;break}return e.t0=this.massagers,e.next=5,i;case 5:return e.t1=e.sent,e.abrupt("return",e.t0.get.call(e.t0,e.t1));case 7:return e.abrupt("return",i);case 8:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"getPath",value:function(){throw"you must implement getPath method"}},{key:"getQueryString",value:function(e,t){return h(t,(function(){return[]}))}},{key:"getUrl",value:function(e,t){return this.getApiBaseUrl()+this.getPath(e,t)+this.getQueryString(e,t)}},{key:"_getAll",value:(t=(0,a.default)(o.default.mark((function e(){var t,n,r,i,a,s,u,l,d,f,h,p,m,v,g,y,b,_=arguments;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=_.length>1?_[1]:void 0,!(t=_.length>0&&void 0!==_[0]?_[0]:{})._all){e.next=19;break}delete t._all,t.pageSize=1e3,t.pageNumber=0,s=[],l=!1;case 8:return t.pageNumber++,e.next=11,this._makeResourceRequest("GET",t,void 0,n);case 11:l=!!(u=e.sent).error,b=(null===(g=u)||void 0===g||null===(y=g.body)||void 0===y?void 0:y.data)||[],s=s.concat(b);case 15:if(!l&&(null===(d=u)||void 0===d||null===(f=d.body)||void 0===f||null===(h=f.meta)||void 0===h?void 0:h["next-page"])&&0!==(null===(p=u)||void 0===p||null===(m=p.body)||void 0===m||null===(v=m.meta)||void 0===v?void 0:v["total-pages"])){e.next=8;break}case 16:r=c(c({},u),{},{body:c(c({},u.body||{}),{},{data:s,meta:c(c({},(null===(i=u)||void 0===i||null===(a=i.body)||void 0===a?void 0:a.meta)||{}),{},{"current-page":1,"total-pages":1})})}),e.next=22;break;case 19:return e.next=21,this._makeResourceRequest("GET",t,void 0,n);case 21:r=e.sent;case 22:if(!this.massagers.getAll){e.next=24;break}return e.abrupt("return",this.massagers.getAll(r));case 24:return e.abrupt("return",r);case 25:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this[d.isArray(e)?"_bulkDelete":"_singleDelete"](e,t)}},{key:"_bulkDelete",value:function(e,t){var n=this.massage("delete",e);return this._makeResourceRequest("DELETE",t,{data:n})}},{key:"_singleDelete",value:function(e,t){return this._makeResourceRequest("DELETE",d.defaults({id:e},t))}},{key:"_update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.massage("update",e);return this._makeResourceRequest("PATCH",t,{data:n})}},{key:"_create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=this.massage("create",e),this._makeResourceRequest("POST",t,{data:e})}}]),e}();v.MockDispatch=function e(t){return"function"==typeof t?t(e):null},e.exports=v},function(e,t,n){"use strict";(function(e){var r=n(27),i=n(14);function o(e,t){if(t.node)return e===t.node;var n=e.getAttribute?e.getAttribute("class"):"";return!(!(!t.className||n&&n.match(t.className))||t.tagName&&(!e.tagName||e.tagName.toLowerCase()!==t.tagName.toLowerCase()))}t.closest=function(e,t){if(t.root=t.root||document,!e)return null;for(;!o(e,t);)if((e=e.parentNode)===t.root||!e||e===document)return null;return e},t.eventOutsideOf=function(e,n){return!t.closest(e.target,{node:n})},t.throttledResize=function(e){return i.throttle(e,66)},t.scrollIntoView=function(e){var t=e.getBoundingClientRect(),n=t.bottom-document.body.clientHeight,r=0;t.top<50||t.top>document.body.clientHeight?r=t.top-60:n>0&&t.height<document.body.clientHeight-50&&(r=n),(navigator.userAgent.match(/Chrome/)?document.body:document.documentElement).scrollTop+=r},t.mountWhenDomReady=function(t,n,i){var o,a,s;a=function(){var e=document.querySelectorAll(t)[0],a="/./"===n.toString();(o&&(e!==o||!n.test(document.location.pathname))&&!a||e&&o&&o!==e&&a)&&(r.unmountComponentAtNode(o),o=null),!o&&e&&n.test(document.location.pathname)&&r.render(i,o=e)},(s=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;window.addEventListener(t,(function(){e.setTimeout(a,n)}))})("page:before-unload"),s("beforeunload"),s("load"),s("page:load"),s("popstate"),s("pushstate"),a()},t.createElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=document.createElement(e);return Object.keys(t).forEach((function(e){return r.setAttribute(e,t[e])})),n&&(r.innerHTML=n),r},t.createElementAndAppendToBody=function(){var e=t.createElement.apply(null,arguments);return document.body.appendChild(e),e},t.queryAll=function(e){return Array.prototype.slice.apply(document.body.querySelectorAll(e))},t.getAllAncestors=function(e){for(var t=[];e;)t.push(e),e=e.parentNode;return t},t.suppressToggle=function(e){Object.defineProperty(e,"suppressToggle",{value:!0,writable:!1})},t.isToggleSuppressed=function(e){return(e.nativeEvent||e).suppressToggle},t.triggerEvent=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=document.createEvent("Event");r.initEvent(t,!0,!0),Object.keys(n).forEach((function(e){return r[e]=n[e]})),e.dispatchEvent(r)},t.getScrollNode=function(){return document.scrollingElement||document.documentElement},t.isFocusedNode=function(e){return!!t.closest(document.activeElement,{node:e})||!!t.closest(document.activeElement,{node:r.findDOMNode(e)})}}).call(this,n(23))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isTruthyOr0=t.FormTextField=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(12)),m=n(76),v=r(n(238)),g=r(n(40)),y=r(n(11)),b=r(n(37)),_=n(25),w=n(20),E=r(n(14));function C(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var A=y.default.title,k=[],S=function(e,t){return e||0===e?e:t};t.isTruthyOr0=S;var x=function(e){(0,u.default)(n,e);var t=C(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"reveal",(function(){e.props.controlled||e.refs.stateful.setState({reveal:!0})})),(0,d.default)((0,s.default)(e),"focus",(function(){return(e.props.controlled?e.refs.stateless:e.refs.stateful).focus()})),(0,d.default)((0,s.default)(e),"validate",(function(t){return(e.props.controlled?e.refs.stateless:e.refs.stateful).validate(t)})),e}return(0,a.default)(n,[{key:"render",value:function(){return this.props.controlled?h.default.createElement(D,(0,i.default)({ref:"stateless"},this.props)):h.default.createElement(O,(0,i.default)({ref:"stateful"},this.props))}}]),n}(h.default.Component);t.FormTextField=x,(0,d.default)(x,"displayName","FormTextField"),(0,d.default)(x,"propTypes",{autoFocus:f.default.bool,controlled:f.default.bool,textArea:f.default.bool,willValidate:f.default.func}),(0,d.default)(x,"contextTypes",{validationErrors:f.default.object,onValidationError:f.default.func}),(0,d.default)(x,"instances",(function(){return k})),(0,d.default)(x,"defaultProps",{controlled:!1,willValidate:function(e){return e}});var D=function(e){(0,u.default)(n,e);var t=C(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_hasFieldChanged",(function(t){return t.value!==e.props.value})),(0,d.default)((0,s.default)(e),"_handleFieldChange",(function(t){var n=(0,_.removeEmojis)(t.target.value);e._validate(E.default.defaults({value:n},e.props)),e.props.onChange(n)})),(0,d.default)((0,s.default)(e),"_execValidationCallback",(function(t,n){var r=n&&n.validationCallback||e.props.onValidationError||e.context.onValidationError;!r||r===e.context.onValidationError&&e.context.validationErrors[e.props.validationKey]===t||r(e.props.validationKey,t)})),(0,d.default)((0,s.default)(e),"focus",(function(){e.refs.input.focus()})),(0,d.default)((0,s.default)(e),"validate",(function(t){return e._validate(e.props,t)})),(0,d.default)((0,s.default)(e),"_validate",(function(t,n){if(!t.validations||!t.validations.length||t.disabled)return e._execValidationCallback(null,n),!0;for(var r=S(t.value,"")+"",i=(r=t.willValidate(r)).length>32?r.substring(0,32)+"...":r,o=A(t.validationLabel||b.default.sentenceCase(t.validationKey)||"field"),a=function(t){return e._execValidationCallback(t,n)},s=0;s<t.validations.length;s+=1){var u=t.validations[s].split("="),l=u[1];switch(u[0]){case"numeric":if(r&&!v.default.isNumeric(r))return void a((0,y.default)("validation-error-numeric",{name:o}));break;case"email":if(r&&!v.default.isEmail(r))return void a((0,y.default)("validation-error-email",{value:i}));break;case"fqdn":if(r&&!v.default.isFQDN(r))return void a((0,y.default)("validation-valid-fqdn-required",{value:i}));break;case"fqdnOrIp":if(r&&!v.default.isFQDN(r)&&!v.default.isIP(r))return void a((0,y.default)("validation-valid-fqdn-or-ip"));break;case"urlHttp":if(r&&!v.default.isURL(r,{require_protocol:!0,protocols:["http","https"]}))return void a((0,y.default)("validation-error-url",{value:i}));break;case"urlHttps":if(r&&!v.default.isURL(r,{require_protocol:!0,protocols:["https"]}))return void a((0,y.default)("validation-secure-url-required",{value:i}));break;case"urlWithProtocol":if(r&&!v.default.isURL(r,{require_protocol:!0}))return void a((0,y.default)("validation-error-url",{value:i}));break;case"url":if(r&&!v.default.isURL(r,{require_tld:!1,require_valid_protocol:!1}))return void a((0,y.default)("validation-error-url",{value:i}));break;case"ipRange":if(r&&!(0,_.isValidIpRange)(r))return void a((0,y.default)("validation-error-ip-range",{value:i}));break;case"required":if("number"!=typeof r&&""===v.default.trim(r))return void a(t.requiredErrorMsg||(0,y.default)("validation-error-required",{name:o}));break;case"max":if(parseInt(r)>parseInt(l))return void a((0,y.default)("validation-error-max-value",{maxValue:l}));break;case"min":if(parseInt(r)<parseInt(l))return void a((0,y.default)("validation-error-min-value",{minValue:l}));break;case"minLength":if(r.length>0&&r.length<parseInt(l))return void a(t.minLengthErrorMsg||(0,y.default)("validation-error-min-length",{minLength:l}));break;case"maxLength":if(r.length>parseInt(l))return void a((0,y.default)("validation-error-max-length",{maxLength:l}));break;case"base32":if(r&&!(0,w.isBase32)(r))return void a((0,y.default)("validation-error-base32"))}}return!0})),(0,d.default)((0,s.default)(e),"_getValidationError",(function(){return e.props.errorMessage?e.props.errorMessage:e.context.validationErrors?e.context.validationErrors[e.props.validationKey]:null})),(0,d.default)((0,s.default)(e),"_handleKeyDown",(function(t){switch(t.keyCode){case g.default.ESC:e.props.onEsc&&e.props.onEsc();break;case g.default.ENTER:e.props.onEnter&&e.props.onEnter()}e.props.onKeyDown&&e.props.onKeyDown(t)})),(0,d.default)((0,s.default)(e),"clearValidationError",(function(){e._execValidationCallback(null)})),(0,d.default)((0,s.default)(e),"_handleFocus",(function(t){e.props.autoSelect&&t.target.select(),e.props.onFocus()})),e}return(0,a.default)(n,[{key:"componentWillUnmount",value:function(){var e=this;this.props.validationClearOnUnmount&&this.clearValidationError(),k=k.filter((function(t){return t!==e}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this._getValidationError()&&this._hasFieldChanged(e)&&this._validate(e,{validationCallback:E.default.noop})&&this.clearValidationError()}},{key:"componentDidUpdate",value:function(e){var t,n;this._getValidationError()&&(null===(t=e.validations)||void 0===t?void 0:t.length)&&!(null===(n=this.props.validations)||void 0===n?void 0:n.length)&&this._validate(this.props)}},{key:"componentDidMount",value:function(){if(k.push(this),this.props.validateOnMount&&this._validate(this.props),this.props.autoFocus&&!this.props.autoSelect){var e=this.refs.input.value;this.refs.input.value="",this.refs.input.value=e}}},{key:"render",value:function(){var e=this._getValidationError(),t=(0,p.default)(this.props.className,"form-text-field qa-form-text-field",{disabled:this.props.disabled,readonly:this.props.readOnly,"value-entered":this.props.value,"form-error":e}),n="string"==typeof this.props.autoComplete?this.props.autoComplete:this.props.autoComplete?"on":"off",r=this.props.validations&&-1!==this.props.validations.indexOf("required");return h.default.createElement(m.FormLabel,{className:t,value:this.props.label,errorMessage:e,hint:this.props.helpText,isRequired:r},h.default.createElement("div",{ref:"inputContainer",className:(0,p.default)("input-container qa-input-container",this.props.showRevealOption&&"revealable")},h.default.createElement(this.props.textArea?"textarea":"input",Object.assign({ref:"input","data-id":"input",onFocus:this._handleFocus,onBlur:this.props.onBlur,onKeyPress:this.props.onKeyPress,onKeyDown:this._handleKeyDown,onMouseDown:this.props.onMouseDown,onChange:this._handleFieldChange,placeholder:this.props.placeholder,readOnly:this.props.readOnly,type:this.props.reveal?"text":this.props.type,maxLength:this.props.maxLength,value:S(this.props.value,""),min:this.props.min,max:this.props.max,name:this.props.name,className:this.props.inputClassName,inputMode:this.props.inputMode,autoComplete:n,disabled:this.props.disabled,autoFocus:this.props.autoFocus},(0,w.extractAriaProps)(this.props))),this.props.showRevealOption?h.default.createElement("i",{className:"fa fa-fw "+(this.props.reveal?"fa-eye-slash":"fa-eye")+" reveal-icon",onClick:this.props.onToggleReveal}):null),this.props.children?h.default.createElement("div",{ref:"accessories",className:"accessories"},this.props.children):null)}}]),n}(h.default.Component);(0,d.default)(D,"displayName","StatelessTextField"),(0,d.default)(D,"contextTypes",{validationErrors:f.default.object,onValidationError:f.default.func}),(0,d.default)(D,"defaultProps",{value:"",autoComplete:!1,autoFocus:!1,validationClearOnUnmount:!0,errorClassName:"",type:"text",onFocus:E.default.noop,onBlur:E.default.noop,onKeyPress:E.default.noop,onMouseDown:E.default.noop,onToggleReveal:E.default.noop,onChange:E.default.noop});var O=function(e){(0,u.default)(n,e);var t=C(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{reveal:!1}),(0,d.default)((0,s.default)(e),"_toggleReveal",(function(){e.props.onToggleReveal&&e.props.onToggleReveal(!e.state.reveal),e.props.disabled||e.setState({reveal:!e.state.reveal})})),(0,d.default)((0,s.default)(e),"validate",(function(t){return e.refs.stateless.validate(t)})),(0,d.default)((0,s.default)(e),"focus",(function(){e.refs.stateless.focus()})),(0,d.default)((0,s.default)(e),"_buildValidationCache",(function(t){if(!e.validationCache||t.validations!==e.props.validations){var n={};t.validations&&t.validations.forEach((function(e){var t=e.split("=");n[t[0]]=t[1]||!0})),e.setState({validationCache:n})}})),e}return(0,a.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this._buildValidationCache(this.props)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this._buildValidationCache(e)}},{key:"render",value:function(){return h.default.createElement(D,(0,i.default)({ref:"stateless"},this.props,{max:S(this.props.max,this.state.validationCache.max),min:S(this.props.min,this.state.validationCache.min),maxLength:S(this.props.maxLength,this.state.validationCache.maxLength),reveal:this.state.reveal,onToggleReveal:this._toggleReveal}))}}]),n}(h.default.Component);(0,d.default)(O,"displayName","StatefulTextField"),(0,d.default)(O,"contextTypes",{validationErrors:f.default.object,onValidationError:f.default.func})},function(e,t,n){"use strict";(function(t){var r,i,o,a,s,u,l,c,d=n(0),f=d(n(17)),h=d(n(18)),p=n(281),m=n(14),v=n(37),g=n(68),y={init:(c=(0,h.default)(f.default.mark((function e(){var t;return f.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.get("jwt",{encryptionKey:y.cacheKey()});case 2:(t=e.sent)&&(u=t.jwtToken,l=t.refreshToken);case 4:case"end":return e.stop()}}),e)}))),function(){return c.apply(this,arguments)}),saveTokens:function(){var e={refreshToken:l,jwtToken:u},t={expireAfterMs:144e5,encryptionKey:y.cacheKey()};g.set("jwt",e,t)},ApiBaseUrl:function(){var e;return r||(r=(null===(e=dvCurrent)||void 0===e?void 0:e.apiUrl)||"http://localhost:3001/api"),r},Meta:function(e){if(y.isReactNative())return null;if(!o){var t=Array.from(document.getElementsByTagName("meta"));o=m.object(t.map((function(e){return[e.getAttribute("name"),e.getAttribute("content")]})))}var n;return e?null===(n=o)||void 0===n?void 0:n[e]:o},AccountProductStatus:function(e){var t,n;return null===(t=y.AccountProductStatuses())||void 0===t||null===(n=t[e])||void 0===n?void 0:n.status},AccountProductStatuses:function(){var e;return a||(a=((null===(e=dvCurrent)||void 0===e?void 0:e.accountProducts)||[]).reduce((function(e,t){return e[t.type]=e[t.type]||{},e[t.type].status=t.status,e[t.type].trialEndDate=t.trial_end_date,e}),{})),a},AccountProducts:function(){return p.AccountProducts},isProductEnabled:function(e){var t=y.AccountProductStatuses()[e];return!!t&&p.AccountProductStatus.isEnabled(t.status,t.trialEndDate)},Features:function(e){return y.isReactNative()?null:(s||((s=m.object(dvCurrent.features.map(v.upper),dvCurrent.features.map((function(){return!0})))).TABLES_V2=s.TABLES_V2&&!dvCurrent.glueConnectUser),e?null===(t=s)||void 0===t?void 0:t[e]:s);var t},CsrfToken:function(){return y.isReactNative()?null:(i||(i=y.Meta("csrf-token")),i)},OrgId:function(){if(y.isReactNative())return null;if("undefined"!=typeof document&&document.location){var e=document.location.pathname.match(/^\/(\d+)\/?/)||document.location.pathname.match(/^\/DOC-(\d+)-\d+\/?/);if(e)return parseInt(e[1])}},JwtToken:function(e){return e&&(u=e),u},RefreshToken:function(e){return e&&(l=e),l},EncryptionKey:function(){return dvCurrent.cacheKey},AssetTypes:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.assetTypes},Currency:function(){return dvCurrent.currency},CurrentUser:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.user},CurrentAccountUser:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.accountUser},CurrentAccount:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.account},CurrentAccountSubdomain:function(){var e;return null===(e=y.CurrentAccount())||void 0===e?void 0:e.subdomain},isMac:function(){return navigator.platform.toUpperCase().indexOf("MAC")>-1},isGlueConnectUser:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.glueConnectUser},isReactNative:function(){return"mobile"===t.env.PRODUCT},isMyGlueApp:function(){return/\.myglue\./.test(window.location.host)},isMyglueAccount:function(){var e=this.CurrentAccountUser();return!!e&&!!e["my_glue?"]},isClosedAccount:function(){var e;return null===(e=y.CurrentAccount())||void 0===e?void 0:e["closed?"]},UserRole:function(){var e,t;return null===(e=dvCurrent)||void 0===e||null===(t=e.accountUser)||void 0===t?void 0:t.role_id},isEU:function(){return/\.eu\./.test(window.location.href)},shouldShowTickets:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.showTickets},isReadOnlyMode:function(){var e;return null===(e=dvCurrent)||void 0===e?void 0:e.readOnlyMode},psaTicketsEnabled:function(){var e;return!!(null===(e=dvCurrent)||void 0===e?void 0:e.psaTicketsEnabled)},reset:function(){r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,u=void 0,l=void 0,a=void 0}};e.exports=y}).call(this,n(43))},function(e,t,n){t.no=t.noCase=n(81),t.dot=t.dotCase=n(466),t.swap=t.swapCase=n(467),t.path=t.pathCase=n(469),t.upper=t.upperCase=n(45),t.lower=t.lowerCase=n(253),t.camel=t.camelCase=n(254),t.snake=t.snakeCase=n(255),t.title=t.titleCase=n(480),t.param=t.paramCase=n(486),t.header=t.headerCase=n(487),t.pascal=t.pascalCase=n(493),t.constant=t.constantCase=n(494),t.sentence=t.sentenceCase=n(495),t.isUpper=t.isUpperCase=n(501),t.isLower=t.isLowerCase=n(502),t.ucFirst=t.upperCaseFirst=n(99),t.lcFirst=t.lowerCaseFirst=n(504)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.If=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(14)),h=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{}),(0,c.default)((0,a.default)(e),"_toggleState",(function(t){e.mounted&&e.setState({condition:t})})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this._toggleState=f.default.debounce(this._toggleState,"number"==typeof this.props.debounce?this.props.debounce:500),this.mounted=!0}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.debounce&&this._toggleState(e.condition)}},{key:"render",value:function(){return!this.props.debounce&&this.props.condition||this.props.debounce&&this.state.condition?this.props.children:null}}]),n}(d.default.Component);t.If=h,(0,c.default)(h,"displayName","If")},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SelectableList=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(27)),m=r(n(12)),v=r(n(40)),g=r(n(20)),y=r(n(11)),b=r(n(14)),_=n(260),w=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a)),(0,d.default)((0,s.default)(e),"state",{selectedItemIndex:e.props.startIndex>=0?e.props.startIndex:-1,enableKeyboardNavigation:!1}),(0,d.default)((0,s.default)(e),"handleWindowKeyEvent",(function(t){switch(t.keyCode){case v.default.ESC:e.props.onDismiss&&(e.props.onDismiss(),t.preventDefault(),t.stopPropagation());break;case v.default.UP:e.prev(),t.preventDefault();break;case v.default.DOWN:e.next(),t.preventDefault();break;case v.default.ENTER:e.enter(t)&&t.stopPropagation()}})),(0,d.default)((0,s.default)(e),"_handleWindowKeyEvent",(function(t){e.props.enableKeyboardNavigation&&e.handleWindowKeyEvent(t)})),(0,d.default)((0,s.default)(e),"_selectItemAtIndex",(function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e._select(t),e.props.onItemSelected&&!r){var i=e._getItem(t);i&&!i.disabled&&(e.props.onItemSelected(i,n),e.reset())}})),(0,d.default)((0,s.default)(e),"_renderRow",(function(t,n){var r=e.props.onItemToggle&&t.destinationType!==_.EmptyResultRow.destinationType,o=t.disabled||e.props.disabled,a=r?function(){return!o&&e.props.onItemToggle(t)}:function(t){return!o&&e._selectItemAtIndex(n,t)},s=e.props.selectedItems&&e.props.selectedItems.indexOf(t)>-1,u=(0,m.default)(r&&"multi-select","selectable-list-item qa-selectable-list-item",o&&"disabled",(r&&s||n===e.state.selectedItemIndex)&&"selected"),l={};return e.props.disableContextMenuSelection||(l.onContextMenu=r?null:function(t){return!o&&e._selectItemAtIndex(n,t,!0)}),h.default.createElement("li",(0,i.default)({key:n,"data-id":t.id||t.name,className:u,onClick:a},l,{ref:n===e.state.selectedItemIndex?"selectedRow":null}),r&&h.default.createElement("input",{type:"checkbox",checked:s,readOnly:!0}),g.default.cloneAndRender(e.props.template,t))})),(0,d.default)((0,s.default)(e),"_renderFlatList",(function(){return e.props.items.map(e._renderRow)})),(0,d.default)((0,s.default)(e),"_renderGroupedItems",(function(){var t=-1;return Object.keys(e.props.items).sort(e.props.groupSortFn).map((function(e){var n=this;return 0===this.props.items[e].length?null:h.default.createElement("li",{className:"selectable-list-group qa-selectable-list-group",key:e},h.default.createElement("div",{className:"selectable-list-group-name qa-selectable-list-group-name"},(0,y.default)(e)),h.default.createElement("ul",null,this.props.items[e].map((function(e){return n._renderRow(e,t+=1)}))))}).bind((0,s.default)(e)))})),(0,d.default)((0,s.default)(e),"_renderResults",(function(){return e.props.items?b.default.isArray(e.props.items)?e._renderFlatList():e._renderGroupedItems():null})),(0,d.default)((0,s.default)(e),"_count",(function(){return b.default.isArray(e.props.items)?e.props.items.length:Object.keys(e.props.items).reduce((function(t,n){return t+e.props.items[n].length}),0)})),(0,d.default)((0,s.default)(e),"_getItem",(function(t){if(b.default.isArray(e.props.items))return e.props.items[t];for(var n=Object.keys(e.props.items).sort(e.props.groupSortFn).map((function(t){return e.props.items[t]})),r=0;r<n.length;r++){if(!(t>=n[r].length))return n[r][t];t-=n[r].length}})),(0,d.default)((0,s.default)(e),"_select",(function(t){e.setState({selectedItemIndex:t},(function(){return e.props.onChange&&e.props.onChange(t)}))})),(0,d.default)((0,s.default)(e),"_toggle",(function(t){var n=e._getItem(t);n&&!n.disabled&&e.props.onItemToggle(n)})),(0,d.default)((0,s.default)(e),"reset",(function(){e._select(-1),e.refs.list&&(e.refs.list.scrollTop=0)})),(0,d.default)((0,s.default)(e),"next",(function(){if(e.state.selectedItemIndex+1<e._count())return e._select(e.state.selectedItemIndex+1),!0})),(0,d.default)((0,s.default)(e),"prev",(function(){if(e.state.selectedItemIndex>0)return e._select(e.state.selectedItemIndex-1),!0})),(0,d.default)((0,s.default)(e),"enter",(function(t){if(e.props.onItemToggle)e._toggle(e.state.selectedItemIndex);else if(e.state.selectedItemIndex>=0)return e._selectItemAtIndex(e.state.selectedItemIndex,t),!0})),e}return(0,a.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.selectItemIndex!==e.selectItemIndex&&e.selectItemIndex>-1&&this.setState({selectedItemIndex:e.selectItemIndex})}},{key:"UNSAFE_componentWillMount",value:function(){this.props.enableKeyboardNavigation&&window.addEventListener("keydown",this._handleWindowKeyEvent,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keydown",this._handleWindowKeyEvent,!0)}},{key:"componentDidUpdate",value:function(){if(this.refs.selectedRow){var e=p.default.findDOMNode(this.refs.selectedRow).getBoundingClientRect(),t=this.refs.list.getBoundingClientRect();e.top<t.top&&(this.refs.list.scrollTop=this.refs.list.scrollTop-(t.top-e.top)),e.bottom>t.bottom&&(this.refs.list.scrollTop=this.refs.list.scrollTop+(e.bottom-t.bottom))}}},{key:"render",value:function(){return h.default.createElement("ul",{ref:"list",className:(0,m.default)("react-selectable-list qa-react-selectable-list",this.props.className),onScroll:this.props.onScroll},this.props.children,this._renderResults())}}]),n}(h.default.Component);t.SelectableList=w,(0,d.default)(w,"displayName","SelectableList"),(0,d.default)(w,"propTypes",{template:f.default.any.affectsRendering,items:f.default.oneOfType([f.default.object,f.default.arrayOf(f.default.oneOfType([f.default.object,f.default.string]))]).affectsRendering,className:f.default.string.affectsRendering,onChange:f.default.func,onItemSelected:f.default.func,onItemToggle:f.default.func,selectedItems:f.default.array.affectsRendering,startIndex:f.default.number,selectItemIndex:f.default.number,groupSortFn:f.default.func,enableKeyboardNavigation:f.default.bool,disableContextMenuSelection:f.default.bool,disabled:f.default.bool}),(0,d.default)(w,"defaultProps",{groupSortFn:function(){return 0},disabled:!1})},function(e,t,n){"use strict";var r=n(20).isMac;function i(e){return"number"==typeof e?e:e.keyCode}t.BACKSPACE=8,t.TAB=9,t.ESC=27,t.ENTER=13,t.SHIFT=16,t.SLASH=191,t.SPACE=32,t.UP=38,t.DOWN=40,t.LEFT=37,t.RIGHT=39,t.PERIOD=190,t.ARROWS=[t.LEFT,t.RIGHT,t.UP,t.DOWN],t.ARROWS_VERTICAL=[t.UP,t.DOWN],t.ARROWS_HORIZONTAL=[t.LEFT,t.RIGHT],t.isDownArrow=function(e){return i(e)===t.DOWN},t.isArrowKey=function(e){return-1!==t.ARROWS.indexOf(i(e))},t.isArrowHorizontal=function(e){return-1!==t.ARROWS_HORIZONTAL.indexOf(i(e))},t.isArrowVertical=function(e){return-1!==t.ARROWS_VERTICAL.indexOf(i(e))},t.isEnterKey=function(e){return t.ENTER===i(e)},t.isEscKey=function(e){return t.ESC===i(e)},t.isSpacebar=function(e){return t.SPACE===i(e)},t.isTab=function(e){return t.TAB===i(e)},t.isShift=function(e){return t.SHIFT===i(e)},t.isSlash=function(e){return t.SLASH===i(e)},t.isBackspace=function(e){return t.BACKSPACE===i(e)},t.isPeriodKey=function(e){return t.PERIOD===i(e)},t.isAlphaNumeric=function(e){var t=i(e);return t>47&&t<58||32===t||t>64&&t<91||t>95&&t<112||t>185&&t<193||t>218&&t<223},t.isMetaOrCtrlPressed=function(e){return!!(r()&&e.metaKey||!r()&&e.ctrlKey)},t.isAnyModifierKeyPressed=function(e){return!!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}},function(e,t,n){"use strict";var r=n(720),i=n(721),o=n(722),a=n(723);t.Checklists=n(724).default,t.Contacts=n(725).default,t.Configurations=n(309).default,t.ConfigurationOverlay=o.ConfigurationOverlay,t.NetworkDevices=r.NetworkDevices,t.RemoteContacts=n(726).default,t.SslCertificates=n(727).default,t.Tickets=i.Tickets,t.ConfigurationInterfaces=a.ConfigurationInterfaces,t.default=function(e){return{delete:function(t){return Array.isArray(t)?t.map((function(t){return{type:e,attributes:{id:parseInt(t)}}})):{type:e,attributes:{id:t}}},update:function(t){return Array.isArray(t)?t.map((function(t){return{type:e,attributes:t}})):{type:e,attributes:t}},create:function(t){return Array.isArray(t)?t.map((function(t){return{type:e,attributes:t}})):{type:e,attributes:t}}}}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}()},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,l=[],c=!1,d=-1;function f(){c&&u&&(c=!1,u.length?l=u.concat(l):d=-1,l.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=l.length;t;){for(u=l,l=[];++d<t;)u&&u[d].run();d=-1,t=l.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDateColumn=a,t.isDateTypeColumn=function(e){return a(e)||function(e){return e&&e.type===i}(e)},t.isBooleanColumn=function(e){return e.type===r},t.isDraggableColumn=function(e){return e&&e.type===o},t.isFixedWidthColumn=void 0;var r="boolean",i="datetime",o="draggable";function a(e){return e&&"date"===e.type}t.isFixedWidthColumn=function(e){return!(!e.minWidth||!e.maxWidth||e.maxWidth!==e.minWidth)}},function(e,t){var n={tr:{regexp:/[\u0069]/g,map:{i:"\u0130"}},az:{regexp:/[\u0069]/g,map:{i:"\u0130"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i\u0307":"I","j\u0307":"J","\u012f\u0307":"\u012e","i\u0307\u0300":"\xcc","i\u0307\u0301":"\xcd","i\u0307\u0303":"\u0128"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toUpperCase()}},function(e,t,n){var r=n(345),i=n(346),o=n(347);e.exports=function(e){return r(e)||i(e)||o()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(12)),m=n(58),v=n(462),g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{open:!1}),(0,d.default)((0,s.default)(e),"open",(function(t){e.setState({open:!0}),e.props.onOpen&&e.props.onOpen(),t>0&&setTimeout((function(){e._tryToClose()}),t)})),(0,d.default)((0,s.default)(e),"_tryToClose",(function(){e._isUnmounted||0!==e.count||(e.setState({open:!1}),e.props.onClose&&e.props.onClose())})),(0,d.default)((0,s.default)(e),"_handleMouseEnter",(function(){0===e.count&&e.open(),e.count+=1})),(0,d.default)((0,s.default)(e),"_handleMouseLeave",(function(){e.count=Math.max(e.count-1,0),e._tryToClose()})),e}return(0,a.default)(n,[{key:"componentWillUnmount",value:function(){this._isUnmounted=!0}},{key:"componentDidMount",value:function(){this.count=0}},{key:"render",value:function(){return h.default.createElement("div",{className:(0,p.default)("react-tooltip-container qa-react-tooltip-container",this.props.containerClassName),onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave},h.default.createElement("div",{className:"tooltip-trigger-content qa-tooltip-trigger-content"},this.props.children),h.default.createElement(m.Popover,(0,i.default)({},this.props,{open:this.state.open,arrowSize:10}),this.state.open&&(this.props.content||this.props.getContent())))}}]),n}(h.default.Component);t.Tooltip=g,(0,d.default)(g,"displayName","Tooltip"),(0,d.default)(g,"propTypes",{containerClassName:f.default.string,content:f.default.oneOfType([f.default.element,f.default.string]),getContent:f.default.func,onClose:f.default.func,onOpen:f.default.func}),g.V2=v.TooltipV2},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DotLoader=void 0;var i=r(n(1)),o=r(n(2)),a=r(n(12)),s=function(e){var t=e.size,n=void 0===t?6:t,r=e.color;return e.dark&&(r="gray"),e.small&&(n=2),i.default.createElement("div",{className:(0,a.default)(e.className,"dot-loader")},i.default.createElement("div",{style:{width:n,height:n,backgroundColor:r,color:r},className:"dot-loader--dot dot1"}),i.default.createElement("div",{style:{width:n,height:n,backgroundColor:r,color:r},className:"dot-loader--dot dot2"}),i.default.createElement("div",{style:{width:n,height:n,backgroundColor:r,color:r},className:"dot-loader--dot dot3"}))};t.DotLoader=s,s.displayName="DotLoader",s.propTypes={dark:o.default.bool,small:o.default.bool,className:o.default.string,color:o.default.string,size:o.default.number}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Dialog=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=r(n(100)),m=n(84),v=n(30),g=n(38),y=n(49),b=r(n(11)),_=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{isConfirming:!1}),(0,c.default)((0,a.default)(e),"_addKeyListeners",(function(){e.listeningForKeyEvents||(e.listeningForKeyEvents=!0,p.default.setScope(e.scope),(0,p.default)("enter, esc",e.scope,e._handleKeydown),(0,p.default)("tab",e.scope,e._handleTab))})),(0,c.default)((0,a.default)(e),"_removeKeyListeners",(function(){e.listeningForKeyEvents&&(p.default.deleteScope(e.scope),e.listeningForKeyEvents=!1)})),(0,c.default)((0,a.default)(e),"_updateKeyListeners",(function(){e.props.disableKeyboard?e._removeKeyListeners():e.props.visible?e._addKeyListeners():e._removeKeyListeners()})),(0,c.default)((0,a.default)(e),"_handleTab",(function(t){t.preventDefault(),e.refs.confirm.focus()})),(0,c.default)((0,a.default)(e),"_handleApply",(function(){e.setState({isConfirming:!1}),e.props.onApply()})),(0,c.default)((0,a.default)(e),"_tryToApply",(function(){e.props.shouldConfirm?e._askForConfirm():e._handleApply()})),(0,c.default)((0,a.default)(e),"_handleKeydown",(function(t){switch(t.code){case"Enter":e._tryToApply();break;case"Escape":e.props.onCancel()}})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this.scope=Date.now().toString(),this._updateKeyListeners()}},{key:"componentDidUpdate",value:function(){this._updateKeyListeners()}},{key:"componentWillUnmount",value:function(){this._removeKeyListeners()}},{key:"_askForConfirm",value:function(){this.setState({isConfirming:!0})}},{key:"render",value:function(){var e=(0,h.default)("dialog",this.props.className,this.props.autoPosition&&"auto-position");return f.default.createElement(m.Lightbox,{visible:this.props.visible,attachToBody:this.props.attachToBody},f.default.createElement("div",{ref:"dialog",className:e},!this.props.bodyOnly&&f.default.createElement("div",{ref:"title",className:"dialog-title qa-dialog-title"},f.default.createElement("div",{className:"dialog-title__content"},this.props.title)),f.default.createElement(w,this.props),f.default.createElement("div",{ref:"content",className:"dialog-body qa-dialog-body"},this.props.retrieving?f.default.createElement(y.DotLoader,{dark:!0}):this.props.children),!this.props.bodyOnly&&!this.props.retrieving&&f.default.createElement("div",{ref:"actions",className:(0,h.default)("dialog-actions qa-dialog-actions",this.state.isConfirming&&"dialog-actions--confirming")},this.state.isConfirming&&f.default.createElement("div",{className:"dialog-actions__confirm-message qa-dialog-actions__confirm-message"},this.props.confirmMessage),this.props.renderAdditionalButtons?this.props.renderAdditionalButtons():null,f.default.createElement("div",{className:"dialog-action__buttons"},f.default.createElement(g.If,{condition:!this.props.hideCancelButton},f.default.createElement(v.LoaderButton,{tabIndex:"1",ref:"cancel",className:"gray cancel qa-cancel-button",value:this.props.labelCancel,onClick:this.props.onCancel,disabled:this.props.disabled})),f.default.createElement(g.If,{condition:!this.props.hideApplyButton&&!this.state.isConfirming},f.default.createElement(v.LoaderButton,{tabIndex:"2",ref:"confirm",className:"btn btn-primary default qa-apply-button",value:this.props.labelApply,loading:this.props.applying,onClick:this._tryToApply,disabled:this.props.disableApplyButton||this.props.disabled})),f.default.createElement(g.If,{condition:!this.props.hideApplyButton&&this.state.isConfirming},f.default.createElement(v.LoaderButton,{tabIndex:"2",ref:"confirm",className:"red",value:b.default.title("confirm"),loading:this.props.applying,onClick:this._handleApply,disabled:!1}))))))}}]),n}(f.default.Component);t.Dialog=_,(0,c.default)(_,"displayName","Dialog"),(0,c.default)(_,"propTypes",{applying:d.default.bool,attachToBody:d.default.bool,autoPosition:d.default.bool,className:d.default.string,disabled:d.default.bool,disableApplyButton:d.default.bool,disableKeyboard:d.default.bool,hideApplyButton:d.default.bool,hideCancelButton:d.default.bool,hideCloseButton:d.default.bool,labelApply:d.default.oneOfType([d.default.string,d.default.node]),labelCancel:d.default.string,onApply:d.default.func,onCancel:d.default.func,shouldConfirm:d.default.bool,renderAdditionalButtons:d.default.func,retrieving:d.default.bool,title:d.default.oneOfType([d.default.string,d.default.element]),visible:d.default.bool}),(0,c.default)(_,"defaultProps",{attachToBody:!1,confirmMessage:(0,b.default)("warning-cannot-undone"),labelCancel:(0,b.default)("cancel"),labelApply:(0,b.default)("ok")});var w=function(e){return f.default.createElement(g.If,{condition:!e.hideCloseButton},f.default.createElement("i",{className:"fal fa-times dialog-close-button qa-dialog-close-button",onClick:e.onCancel}))};w.displayName="DialogCloseButton"},function(e,t,n){var r,i,o,a,s,u,l;e.exports=(l=n(21),n(104),n(105),i=(r=l).lib,a=i.WordArray,u=(s=r.algo).EvpKDF=(o=i.Base).extend({cfg:o.extend({keySize:4,hasher:s.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=n.hasher.create(),i=a.create(),o=i.words,s=n.keySize,u=n.iterations;o.length<s;){l&&r.update(l);var l=r.update(e).finalize(t);r.reset();for(var c=1;c<u;c++)l=r.finalize(l),r.reset();i.concat(l)}return i.sigBytes=4*s,i}}),r.EvpKDF=function(e,t,n){return u.create(n).compute(e,t)},l.EvpKDF)},function(e,t,n){"use strict";var r=n(87),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var o=Object.create(n(69));o.inherits=n(63);var a=n(276),s=n(109);o.inherits(d,a);for(var u=i(s.prototype),l=0;l<u.length;l++){var c=u[l];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Header=void 0;var i=r(n(1));t.Header=function(e){return i.default.createElement("div",{className:"react-page-header h1"},e.icon,i.default.createElement("span",null,i.default.createElement("a",{target:"_blank",href:e.url},e.name)),i.default.createElement("div",{className:"react-sub-heading color-muted"},e.subHeading))}},function(e,t,n){"use strict";var r=n(0),i=r(n(17)),o=r(n(18)),a=r(n(56)),s=n(59).request,u=n(326),l=n(20),c=n(102),d=n(14),f=n(37),h="/jwt/refresh",p="/login?generate_jwt=1",m="/jwt/token?refresh_token={refreshToken}";t.GetTokenOption={CACHED:0,RETRY:1,REAUTH:2},t.buildQueryString=function(e,t){var n=[];for(var r in e)switch(r){case"filters":if(e.filters.contains&&"object"===(0,a.default)(e.filters.contains)){var i=Object.keys(e.filters.contains)[0],o=e.filters.contains[i];o&&n.push("filter[contains][".concat(i,"]=").concat(o)),delete e.filters.contains}for(var s in e.filters)n.push("filter[".concat(f.snakeCase(s),"]=").concat(e.filters[s]));break;case"pageNumber":n.push("page[number]="+e.pageNumber);break;case"pageSize":n.push("page[size]="+e.pageSize);break;case"sort":n.push("sort="+e.sort);break;case"include":n.push("include="+e.include);break;case"organizationId":break;default:t&&(n=n.concat(t(r,e[r])))}return n.length>0?"?"+n.join("&"):""},t.buildUrl=function(e,n,r){return n=d.defaults({},n,{organizationId:l.getOrgId()}),c(e,n)+t.buildQueryString(n,r)},t.apiRequest=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i?u(e,t,{headers:{"Content-Type":"application/vnd.api+json",Authorization:"Bearer "+n,Accept:"application/json, text/plain"},json:"get"!==e?r:null,qs:"get"===e?r:{},timeout:3e4}):new Promise((function(i){var o=s(e,t).set("Content-Type","application/vnd.api+json").set("Authorization","Bearer "+n).set("Accept","application/json, text/plain").query("get"===e.toLowerCase()&&r||{});"get"!==e.toLowerCase()&&(o=o.send(JSON.stringify(r))),o.timeout({deadline:3e4}).end((function(e,t){return i({error:e,body:t&&t.body,status:t&&t.status})}))}))},t.getTokenAndCallApi=function(){var e=(0,o.default)(i.default.mark((function e(n,r,o,a,s,u){var l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(s,u)();case 2:if((l=e.sent)&&!l.error){e.next=5;break}return e.abrupt("return",l);case 5:return e.abrupt("return",t.apiRequest(n,r,l,o));case 6:case"end":return e.stop()}}),e)})));return function(t,n,r,i,o,a){return e.apply(this,arguments)}}(),t.makeRequestWithRetry=function(){var e=(0,o.default)(i.default.mark((function e(n,r,o,a,s){var u,l;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=function(e){return t.getTokenAndCallApi(n,r,o,a,e,s)},e.next=3,u(t.GetTokenOption.CACHED);case 3:if((l=e.sent)&&401!==l.status){e.next=12;break}return e.next=7,u(t.GetTokenOption.RETRY);case 7:if((l=e.sent)&&401!==l.status&&422!==l.status){e.next=12;break}return e.next=11,u(t.GetTokenOption.REAUTH);case 11:l=e.sent;case 12:return e.abrupt("return",l);case 13:case"end":return e.stop()}}),e)})));return function(t,n,r,i,o){return e.apply(this,arguments)}}(),t.createApiJsonRequester=function(e,n){return function(r,a,s,u){return function(){var l=(0,o.default)(i.default.mark((function o(l){var c;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return c=l(e(a,s,r)),i.abrupt("return",t.makeRequestWithRetry(r,c,u,n));case 2:case"end":return i.stop()}}),o)})));return function(e){return l.apply(this,arguments)}}()}},t.getToken=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return new Promise((function(n){var r=c("".concat(e).concat(m),{refreshToken:t});s.get(r).timeout({deadline:3e4}).end((function(e,t){var r;return n({error:e,body:t&&t.body,status:t&&t.status,token:null==t||null===(r=t.body)||void 0===r?void 0:r.token})}))}))},t.login=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=void 0===e||i.hasCookieSession,a=o?"get":"post",u=(e||"")+(o?h:p);return new Promise((function(e){var i=s[a](u).set("Content-Type","application/json");o||(i=i.send({user:{email:t,password:n,otp_attempt:r}})),i.timeout({deadline:3e4}).end((function(t,n){var r,i;e({error:t,body:null==n?void 0:n.body,status:null==n?void 0:n.status,accounts:null==n||null===(r=n.body)||void 0===r?void 0:r.accounts,token:null==n||null===(i=n.body)||void 0===i?void 0:i.token})}))}))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FormCheckField=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(2)),p=n(76),m=n(20),v=r(n(12)),g=r(n(14)),y=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_handleFieldChange",(function(t){e.props.onChange(t.target.checked)})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=(0,v.default)(this.props.className,"form-checkbox",{disabled:this.props.disabled,"value-entered":this.props.value,mixed:"boolean"!=typeof this.props.value&&void 0!==this.props.value}),t=this.props.validations&&-1!==this.props.validations.indexOf("required"),n=(0,m.extractAriaProps)(this.props);return f.default.createElement(p.FormLabel,{className:e,value:this.props.label,hint:this.props.helpText,isRequired:t},f.default.createElement("div",{ref:"inputContainer",className:"input-container qa-input-container"},f.default.createElement("input",(0,i.default)({ref:"input"},n,{"data-id":"input",checked:!0===this.props.value,onChange:this._handleFieldChange,type:"checkbox",name:this.props.name,disabled:this.props.disabled,autoFocus:this.props.autoFocus,className:"input--checkbox"})),this.props.fieldLabel?f.default.createElement("span",{className:"field-label"},this.props.fieldLabel):null))}}]),n}(f.default.Component);t.FormCheckField=y,(0,d.default)(y,"displayName","FormCheckField"),(0,d.default)(y,"propTypes",{autoFocus:h.default.bool,className:h.default.string,disabled:h.default.bool,fieldLabel:h.default.string,helpText:h.default.string,label:h.default.string,name:h.default.string,value:h.default.oneOf([!0,!1,"mixed"])}),(0,d.default)(y,"defaultProps",{onFocus:g.default.noop,onBlur:g.default.noop,onKeyPress:g.default.noop,onMouseDown:g.default.noop,onToggleReveal:g.default.noop,onChange:g.default.noop})},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){var r;r=function(){var e=!0;function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}var r,i,o,a=n(/(ipod|iphone|ipad)/i).toLowerCase(),s=!/like android/i.test(t)&&/android/i.test(t),u=/nexus\s*[0-6]\s*/i.test(t),l=!u&&/nexus\s*[0-9]+/i.test(t),c=/CrOS/.test(t),d=/silk/i.test(t),f=/sailfish/i.test(t),h=/tizen/i.test(t),p=/(web|hpw)os/i.test(t),m=/windows phone/i.test(t),v=(/SamsungBrowser/i.test(t),!m&&/windows/i.test(t)),g=!a&&!d&&/macintosh/i.test(t),y=!s&&!f&&!h&&!p&&/linux/i.test(t),b=n(/edge\/(\d+(\.\d+)?)/i),_=n(/version\/(\d+(\.\d+)?)/i),w=/tablet/i.test(t),E=!w&&/[^-]mobi/i.test(t),C=/xbox/i.test(t);/opera/i.test(t)?r={name:"Opera",opera:e,version:_||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(t)?r={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(t)?r={name:"Samsung Internet for Android",samsungBrowser:e,version:_||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(t)?r={name:"Opera Coast",coast:e,version:_||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(t)?r={name:"Yandex Browser",yandexbrowser:e,version:_||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?r={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?r={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?r={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?r={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?r={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?r={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(r={name:"Windows Phone",windowsphone:e},b?(r.msedge=e,r.version=b):(r.msie=e,r.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?r={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?r={name:"Chrome",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(t)?r={name:"Microsoft Edge",msedge:e,version:b}:/vivaldi/i.test(t)?r={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||_}:f?r={name:"Sailfish",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?r={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(r={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(r.firefoxos=e)):d?r={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?r={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?r={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?r={name:"BlackBerry",blackberry:e,version:_||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:p?(r={name:"WebOS",webos:e,version:_||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(r.touchpad=e)):/bada/i.test(t)?r={name:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)?)/i)}:h?r={name:"Tizen",tizen:e,version:n(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(t)?r={name:"QupZilla",qupzilla:e,version:n(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(t)?r={name:"Chromium",chromium:e,version:n(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(t)?r={name:"Chrome",chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?r={name:"Android",version:_}:/safari|applewebkit/i.test(t)?(r={name:"Safari",safari:e},_&&(r.version=_)):a?(r={name:"iphone"==a?"iPhone":"ipad"==a?"iPad":"iPod"},_&&(r.version=_)):r=/googlebot/i.test(t)?{name:"Googlebot",googlebot:e,version:n(/googlebot\/(\d+(\.\d+))/i)||_}:{name:n(/^(.*)\/(.*) /),version:(i=/^(.*)\/(.*) /,o=t.match(i),o&&o.length>1&&o[2]||"")},!r.msedge&&/(apple)?webkit/i.test(t)?(/(apple)?webkit\/537\.36/i.test(t)?(r.name=r.name||"Blink",r.blink=e):(r.name=r.name||"Webkit",r.webkit=e),!r.version&&_&&(r.version=_)):!r.opera&&/gecko\//i.test(t)&&(r.name=r.name||"Gecko",r.gecko=e,r.version=r.version||n(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||r.msedge||!s&&!r.silk?r.windowsphone||r.msedge||!a?g?r.mac=e:C?r.xbox=e:v?r.windows=e:y&&(r.linux=e):(r[a]=e,r.ios=e):r.android=e;var A="";r.windowsphone?A=n(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):a?A=(A=n(/os (\d+([_\s]\d+)*) like mac os x/i)).replace(/[_\s]/g,"."):s?A=n(/android[ \/-](\d+(\.\d+)*)/i):r.webos?A=n(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?A=n(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?A=n(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(A=n(/tizen[\/\s](\d+(\.\d+)*)/i)),A&&(r.osversion=A);var k=A.split(".")[0];return w||l||"ipad"==a||s&&(3==k||k>=4&&!E)||r.silk?r.tablet=e:(E||"iphone"==a||"ipod"==a||s||u||r.blackberry||r.webos||r.bada)&&(r.mobile=e),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=e:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=e:r.x=e,r}var n=t("undefined"!=typeof navigator&&navigator.userAgent||"");function r(e){return e.split(".").length}function i(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n++)r.push(t(e[n]));return r}function o(e){for(var t=Math.max(r(e[0]),r(e[1])),n=i(e,(function(e){var n=t-r(e);return i((e+=new Array(n+1).join(".0")).split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));--t>=0;){if(n[0][t]>n[1][t])return 1;if(n[0][t]!==n[1][t])return-1;if(0===t)return 0}}function a(e,r,i){var a=n;"string"==typeof r&&(i=r,r=void 0),void 0===r&&(r=!1),i&&(a=t(i));var s=""+a.version;for(var u in e)if(e.hasOwnProperty(u)&&a[u]){if("string"!=typeof e[u])throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(e));return o([s,e[u]])<0}return r}return n.test=function(e){for(var t=0;t<e.length;++t){var r=e[t];if("string"==typeof r&&r in n)return!0}return!1},n.isUnsupportedBrowser=a,n.compareVersions=o,n.check=function(e,t,n){return!a(e,t,n)},n._detect=t,n},e.exports?e.exports=r():n(426)("bowser",r)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(27)),m=r(n(12)),v=n(459),g=n(460),y=n(461);function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var _=function(e){(0,u.default)(n,e);var t=b(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{style:{left:0,top:0}}),(0,d.default)((0,s.default)(e),"position",(function(){if(e.props.open&&e.refs.container){var t={top:0,left:0},n=Math.sqrt(e.props.arrowSize*e.props.arrowSize*2);switch(e.props.arrowDirection){case"up":t.top=e.props.spaceToTarget;break;case"down":t.top=-e.props.spaceToTarget;break;case"left":t.left=e.props.spaceToTarget;break;case"right":t.left=-e.props.spaceToTarget}e.state.style.top===t.top&&e.state.style.left===t.left||e.setState({hypotenuse:n,style:t})}})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.position()}},{key:"componentDidUpdate",value:function(){this.position()}},{key:"render",value:function(){if(!this.props.open)return null;var e=(0,m.default)("itg-popover qa-itg-popover",this.props.className,"point-to-"+this.props.pointTo,"arrow-direction-"+this.props.arrowDirection,"arrow-position-"+this.props.arrowPosition,this.props.dark&&"dark",this.props.open&&"open");return h.default.createElement("div",{className:e,ref:"container",onClick:this.props.onClick,style:this.state.style},h.default.createElement(v.PopoverArrow,(0,i.default)({},this.props,{hypotenuse:this.state.hypotenuse,size:this.props.arrowSize,direction:this.props.arrowDirection,alignment:this.props.pointTo})),h.default.createElement(g.Content,this.props))}}]),n}(h.default.Component);(0,d.default)(_,"displayName","PopoverInner"),(0,d.default)(_,"propTypes",{arrowDirection:f.default.oneOf(["up","down","left","right"]),pointTo:f.default.oneOf(["center","top","bottom","left","right"]),arrowPosition:f.default.oneOf(["center","left","right","top","bottom"]),open:f.default.bool,className:f.default.string,onClick:f.default.func}),(0,d.default)(_,"defaultProps",{arrowDirection:"up",pointTo:"center",arrowOffset:0,arrowPosition:"center",arrowSize:8,spaceToTarget:0,edgeOffset:10,borderWidth:1});var w=function(e){(0,u.default)(n,e);var t=b(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{}),(0,d.default)((0,s.default)(e),"_optimalPositioning",(function(){var t=e.props.containTo;if(t&&e.props.open){var n=p.default.findDOMNode((0,s.default)(e)),r=("function"==typeof t?t():t).getBoundingClientRect(),i=n.parentNode.getBoundingClientRect(),o=n.querySelector(".itg-popover-content").getBoundingClientRect(),a=(0,y.optimalConfig)(r,i,o,e.state.arrowDirection||e.props.arrowDirection,e.state.arrowPosition||e.props.arrowPosition);!a||a.arrowDirection===(e.state.arrowDirection||e.props.arrowDirection)&&a.arrowPosition===(e.state.arrowPosition||e.props.arrowPosition)||e.setState(a)}})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this._optimalPositioning()}},{key:"componentDidUpdate",value:function(){this._optimalPositioning()}},{key:"render",value:function(){return h.default.createElement(_,(0,i.default)({},this.props,{arrowDirection:this.state.arrowDirection||this.props.arrowDirection,arrowPosition:this.state.arrowPosition||this.props.arrowPosition}))}}]),n}(h.default.Component);t.Popover=w,(0,d.default)(w,"displayName","Popover"),(0,d.default)(w,"propTypes",{containTo:f.default.any})},function(e,t,n){"use strict";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.get=t.request=t.unsubscribe=t.subscribeToNetworkResponse=t.subscribeToNetworkErrors=t.subscribeToNetworkIntercept=t.subscribeToTopic=t.gotRequestResponse=t.gotRequestError=t.willMakeRequest=t.Topics=void 0;var i=r(n(17)),o=r(n(18)),a=n(533),s=n(534),u=0,l={NETWORK_ERRORS:"net-errors",NETWORK_API_REQUEST:"net-api-request",NETWORK_API_RESPONDED:"net-api-respond"};t.Topics=l;var c=function(e,t,n,r){a.publish(l.NETWORK_API_REQUEST,{method:e,url:t,resolve:n,seqNo:u+=1,sendReal:r})};t.willMakeRequest=c;var d=function(e,t,n,r){a.publish(l.NETWORK_ERRORS,{method:e,url:t,statusCode:r.status,error:n})};t.gotRequestError=d;var f=function(e,t,n){a.publish(l.NETWORK_API_RESPONDED,{method:e,url:t,resp:n})};t.gotRequestResponse=f;var h=function(e,t){return a.subscribe(e,t)};t.subscribeToTopic=h,t.subscribeToNetworkIntercept=function(e){return h(l.NETWORK_API_REQUEST,e)},t.subscribeToNetworkErrors=function(e){return h(l.NETWORK_ERRORS,e)},t.subscribeToNetworkResponse=function(e){return h(l.NETWORK_API_RESPONDED,e)},t.unsubscribe=function(e){return a.unsubscribe(e)};var p=function t(n,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],u={},l=function(e,t){return a.concat([{fn:e,args:t}])};return u.timeout=function(e){return t(n,r,l("timeout",[e]))},u.set=function(e,i){return t(n,r,l("set",[e,i]))},u.query=function(e){return t(n,r,l("query",[e]))},u.send=function(e){return t(n,r,l("send",[e]))},u.type=function(e){return t(n,r,l("type",[e]))},u.end=function(t){var u=s(n,r);a.forEach((function(e){return u=u[e.fn].apply(u,e.args)}));var l=function(){var e=(0,o.default)(i.default.mark((function e(o,a){var s,u,l,c,h;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=!1,h=(null==(c=a||{})||null===(s=c.body)||void 0===s||null===(u=s.errors)||void 0===u?void 0:u[0])||o,c.markErrorAsHandled=function(){return l=!0},e.next=6,t(h,c);case 6:h&&!l&&d(n,r,h,c),f(n,r,c);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();if(c(n,r,l,(function(){return u.end(l)})),!e.__INTERCEPT__)return u.end(l)},u};p.get=p.bind(null,"get"),p.post=p.bind(null,"post"),t.request=p,t.get=p.get}).call(this,n(23))},function(e,t,n){var r,i,o;e.exports=(o=n(21),i=(r=o).lib.WordArray,r.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,n){for(var r=[],o=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,u=n[e.charCodeAt(a)]>>>6-a%4*2;r[o>>>2]|=(s|u)<<24-o%4*8,o++}return i.create(r,o)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},o.enc.Base64)},function(e,t,n){var r;e.exports=(r=n(21),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],u=e[t+1],h=e[t+2],p=e[t+3],m=e[t+4],v=e[t+5],g=e[t+6],y=e[t+7],b=e[t+8],_=e[t+9],w=e[t+10],E=e[t+11],C=e[t+12],A=e[t+13],k=e[t+14],S=e[t+15],x=o[0],D=o[1],O=o[2],T=o[3];x=l(x,D,O,T,a,7,s[0]),T=l(T,x,D,O,u,12,s[1]),O=l(O,T,x,D,h,17,s[2]),D=l(D,O,T,x,p,22,s[3]),x=l(x,D,O,T,m,7,s[4]),T=l(T,x,D,O,v,12,s[5]),O=l(O,T,x,D,g,17,s[6]),D=l(D,O,T,x,y,22,s[7]),x=l(x,D,O,T,b,7,s[8]),T=l(T,x,D,O,_,12,s[9]),O=l(O,T,x,D,w,17,s[10]),D=l(D,O,T,x,E,22,s[11]),x=l(x,D,O,T,C,7,s[12]),T=l(T,x,D,O,A,12,s[13]),O=l(O,T,x,D,k,17,s[14]),x=c(x,D=l(D,O,T,x,S,22,s[15]),O,T,u,5,s[16]),T=c(T,x,D,O,g,9,s[17]),O=c(O,T,x,D,E,14,s[18]),D=c(D,O,T,x,a,20,s[19]),x=c(x,D,O,T,v,5,s[20]),T=c(T,x,D,O,w,9,s[21]),O=c(O,T,x,D,S,14,s[22]),D=c(D,O,T,x,m,20,s[23]),x=c(x,D,O,T,_,5,s[24]),T=c(T,x,D,O,k,9,s[25]),O=c(O,T,x,D,p,14,s[26]),D=c(D,O,T,x,b,20,s[27]),x=c(x,D,O,T,A,5,s[28]),T=c(T,x,D,O,h,9,s[29]),O=c(O,T,x,D,y,14,s[30]),x=d(x,D=c(D,O,T,x,C,20,s[31]),O,T,v,4,s[32]),T=d(T,x,D,O,b,11,s[33]),O=d(O,T,x,D,E,16,s[34]),D=d(D,O,T,x,k,23,s[35]),x=d(x,D,O,T,u,4,s[36]),T=d(T,x,D,O,m,11,s[37]),O=d(O,T,x,D,y,16,s[38]),D=d(D,O,T,x,w,23,s[39]),x=d(x,D,O,T,A,4,s[40]),T=d(T,x,D,O,a,11,s[41]),O=d(O,T,x,D,p,16,s[42]),D=d(D,O,T,x,g,23,s[43]),x=d(x,D,O,T,_,4,s[44]),T=d(T,x,D,O,C,11,s[45]),O=d(O,T,x,D,S,16,s[46]),x=f(x,D=d(D,O,T,x,h,23,s[47]),O,T,a,6,s[48]),T=f(T,x,D,O,y,10,s[49]),O=f(O,T,x,D,k,15,s[50]),D=f(D,O,T,x,v,21,s[51]),x=f(x,D,O,T,C,6,s[52]),T=f(T,x,D,O,p,10,s[53]),O=f(O,T,x,D,w,15,s[54]),D=f(D,O,T,x,u,21,s[55]),x=f(x,D,O,T,b,6,s[56]),T=f(T,x,D,O,S,10,s[57]),O=f(O,T,x,D,g,15,s[58]),D=f(D,O,T,x,A,21,s[59]),x=f(x,D,O,T,m,6,s[60]),T=f(T,x,D,O,E,10,s[61]),O=f(O,T,x,D,h,15,s[62]),D=f(D,O,T,x,_,21,s[63]),o[0]=o[0]+x|0,o[1]=o[1]+D|0,o[2]=o[2]+O|0,o[3]=o[3]+T|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,l=0;l<4;l++){var c=u[l];u[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function c(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function f(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(u),t.HmacMD5=o._createHmacHelper(u)}(Math),r.MD5)},function(e,t,n){"use strict";(function(e){var r=n(572),i=n(573),o=n(273);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t),e}(e,t,n,r):"string"==typeof t?function(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=s(e,r)).write(t,n);return i!==r&&(e=e.slice(0,i)),e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|h(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&o(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=s(e,t<0?0:0|h(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|h(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function h(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return D(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;f<u;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return Y(H(t,e.length-n),e,n,r)}function w(e,t,n,r){return Y(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function E(e,t,n,r){return w(e,t,n,r)}function C(e,t,n,r){return Y(z(t),e,n,r)}function A(e,t,n,r){return Y(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function k(e,t,n){return r.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function O(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=N(e[o]);return i}function T(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function F(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function R(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,o){return o||R(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,o){return o||R(e,0,n,8),i.write(e,t,n,r,52,8),n+8}t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return l(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):m.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),d=0;d<s;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:H(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function N(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Y(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(23))},function(e,t){e.exports="function"==typeof Object.create?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(5)),u=i(n(6)),l=i(n(7)),c=i(n(8)),d=r(n(1)),f=i(n(2)),h=i(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e=(0,h.default)("react-spinner",this.props.className),t=parseInt(this.props.size)/10;return d.default.createElement("i",{style:{width:this.props.size,height:this.props.size,borderWidth:t,"--spinner-color":this.props.color},className:e})}}]),n}(d.Component);t.Spinner=p,(0,c.default)(p,"displayName","Spinner"),(0,c.default)(p,"propTypes",{size:f.default.number,color:f.default.string}),(0,c.default)(p,"defaultProps",{size:18})},function(e,t,n){"use strict";var r=n(0)(n(56)),i=n(59).request,o=n(37),a=n(326),s=n(92),u=n(36),l=n(11);t.createJsonRequester=function(e){return function(t,n,r,o,s,l){return function(c,d){var f=e(d,n,r);l?a(t,f,{headers:{"Content-Type":"application/json;charset=UTF-8","X-XSRF-TOKEN":u.CsrfToken(),Accept:"application/json, text/plain"},json:o}):i(t,f).set("Content-Type","application/json;charset=UTF-8").set("X-XSRF-TOKEN",u.CsrfToken()).set("Accept","application/json, text/plain").send(JSON.stringify(o)).end((function(e,t){return s(e,t)}))}}},t.createFormRequester=function(e){return function(t,n,r,o,a){return function(s,l){var c=e(l,n,r);i(t,c).set("X-XSRF-TOKEN",u.CsrfToken()).set("Accept","application/json, text/plain").type("form").send(o).end(a)}}},t.changeCase=function(e,n){for(var i in n=s(n)){var a=o[e](i);"object"===(0,r.default)(n[i])&&(n[i]=t.changeCase(e,n[i])),a!==i&&(n[a]=n[i],delete n[i])}return n},t.ErrorTypes={UNAUTHORIZED:1,UNKNOWN:2,NOT_FOUND:3,BAD_INPUT:4,SERVICE_UNAVAILABLE:5},t.promisify=function(e){return function(){var n=Array.from(arguments);return 3===n.length&&n.push(null),function(r){return new Promise((function(i){r(e.apply(null,n.concat([function(e,n){i(e?{error:e}:t.changeCase("camelCase",n.body))}])))}))}}},t.parseErrorResponse=function(e){var n,r,i=null==e||null===(n=e.body)||void 0===n||null===(r=n.errors)||void 0===r?void 0:r[0];if(i)switch(e.status){case 401:return{message:i.detail,type:t.ErrorTypes.UNAUTHORIZED};case 404:return{message:l("error-record-not-found"),type:t.ErrorTypes.NOT_FOUND};case 503:return{message:i.detail,type:t.ErrorTypes.SERVICE_UNAVAILABLE};case 422:return{message:i.detail||i.title,type:t.ErrorTypes.BAD_INPUT};default:return{message:i}}if(null==e?void 0:e.error)return{message:e.error.message||e.error,type:t.ErrorTypes.UNKNOWN}},t.getFormattedResponse=function(e){return{error:e.error,body:e&&e.body,status:e&&e.status}},t.snakeCase=t.changeCase.bind(null,"snakeCase"),t.camelCase=t.changeCase.bind(null,"camelCase"),t.paramCase=function e(t){if("object"!==(0,r.default)(t)||null===t)return t;var n={};for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];if(Array.isArray(a)){for(var s=[],u=0;u<a.length;u++)s[u]=e(a[u]);a=s}else a=e(a);n[o.paramCase(i)]=a}return n}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.OptionButton=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(27)),p=n(58),m=n(34),v=r(n(40)),g=r(n(12)),y=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{open:!1}),(0,c.default)((0,a.default)(e),"_handleToggle",(function(t){if(!(e.props.keepOpen&&e.state.open||e.props.disabled&&!e.state.open)&&e._shouldClickCauseToggle(t)){if(e.props.onToggle){var n=!e.state.open;setTimeout((function(){return e.props.onToggle(n)}),n?0:200)}e.setState({open:!e.state.open})}})),(0,c.default)((0,a.default)(e),"toggle",(function(){e._handleToggle()})),(0,c.default)((0,a.default)(e),"_handleGlobalKeydown",(function(t){v.default.isEscKey(t)&&e.close()})),(0,c.default)((0,a.default)(e),"_handleGlobalClick",(function(t){(0,m.closest)(t.target,{node:e.refs.icon})||((0,m.suppressToggle)(t),e.props.killCloseEvent&&(t.preventDefault(),t.stopPropagation()),e.close())})),e}return(0,o.default)(n,[{key:"_shouldClickCauseToggle",value:function(e){if(!e)return!0;if(this.props.ignoreClick&&this.props.ignoreClick(e))return!1;var t=h.default.findDOMNode(this.refs.popover),n=t&&(0,m.closest)(e.target,{node:t}),r=(0,m.closest)(e.target,{node:this.refs.icon});return r&&!n||this.state.open&&r&&this.props.closeOnClickInside}},{key:"close",value:function(){this.state.open&&this._handleToggle()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("click",this._handleGlobalClick,!0),window.removeEventListener("keydown",this._handleGlobalKeydown)}},{key:"componentDidUpdate",value:function(e,t){t.open!==this.state.open&&(this.state.open?(window.addEventListener("keydown",this._handleGlobalKeydown),window.addEventListener("click",this._handleGlobalClick,!0),this.props.onOpen&&this.props.onOpen()):(window.removeEventListener("keydown",this._handleGlobalKeydown),window.removeEventListener("click",this._handleGlobalClick,!0),this.props.onClose&&this.props.onClose()))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.state.open&&!this.props.disabled&&e.disabled&&this.setState({open:!1})}},{key:"render",value:function(){return f.default.createElement(this.props.nodeType,{title:this.props.title,ref:"icon",onClick:this._handleToggle,className:(0,g.default)("option-button",this.props.className,this.state.open&&"open")},this.props.label,f.default.createElement(p.Popover,{arrowPosition:this.props.arrowPosition,pointTo:this.props.pointTo,arrowOffset:this.props.arrowOffset,arrowDirection:this.props.arrowDirection,arrowSize:this.props.arrowSize,spaceToTarget:this.props.spaceToTarget,className:this.props.popoverClassName,edgeOffset:this.props.edgeOffset,open:this.state.open,ref:"popover"},this.props.children))}}]),n}(f.default.Component);t.OptionButton=y,(0,c.default)(y,"displayName","OptionButton"),(0,c.default)(y,"propTypes",{className:d.default.string,closeOnClickInside:d.default.bool,disabled:d.default.bool,ignoreClick:d.default.func,keepOpen:d.default.bool,killCloseEvent:d.default.bool,onOpen:d.default.func,onClose:d.default.func,onToggle:d.default.func,arrowDirection:d.default.string,arrowPosition:d.default.string,arrowSize:d.default.number,pointTo:d.default.string,edgeOffset:d.default.number,popoverClassName:d.default.string,spaceToTarget:d.default.number,title:d.default.string,nodeType:d.default.node}),(0,c.default)(y,"defaultProps",{nodeType:"i"})},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.InternationalString=void 0;var o=i(n(56)),a=i(n(3)),s=i(n(4)),u=i(n(10)),l=i(n(5)),c=i(n(6)),d=i(n(7)),f=i(n(8)),h=i(n(1)),p=n(20),m=i(n(2)),v=i(n(102)),g=r(n(251)),y=i(n(14)),b=g.resources.en.translation,_=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,f.default)((0,u.default)(e),"getValue",(function(){return n.get(e.props.k,e.props.interpolate)})),e}return(0,s.default)(n,[{key:"render",value:function(){return h.default.createElement.apply(null,[this.props.tag,{className:this.props.className}].concat(this.getValue()))}}]),n}(h.default.Component);t.InternationalString=_,(0,f.default)(_,"propTypes",{k:m.default.string.isRequired,tag:m.default.string,interpolate:m.default.objectOf(m.default.any),className:m.default.string}),(0,f.default)(_,"defaultProps",{tag:"span"}),(0,f.default)(_,"get",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split("."),r=n.slice(0,-1).concat([n[n.length-1]+"_plural"]),i="count"in t&&1!==t.count&&(0,p.resolveObject)(b,r)||(0,p.resolveObject)(b,n);if(!i)throw"key ".concat(e," not found");return t&&(i=v.default.interpolate(v.default.Matchers.DOUBLE_CURLY,i,t)),y.default.isArray(i)&&i.reduce((function(e,t){return"object"===(0,o.default)(t)||e}),!1)?i:y.default.isArray(i)?i.join(""):i}))},function(e,t,n){"use strict";(function(e,r){var i=n(0),o=i(n(17)),a=i(n(18)),s=n(546),u=n(570),l=n(14),c="mobile"!==e.env.PRODUCT?n(571):{compress:function(e){return e},decompress:function(e){return e}},d=c.compress,f=c.decompress;function h(e){return p.apply(this,arguments)}function p(){return(p=(0,a.default)(o.default.mark((function e(t){var n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.getItem(t);case 2:return null==(n=e.sent)&&(n=r.localStorage.getItem(t)),e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t){return r.localStorage.removeItem(e),u.setItem(e,t)}function v(e,t){try{return JSON.parse(e)||t}catch(n){return t||e}}t.version=3,t._setMeta=function(){var e=(0,a.default)(o.default.mark((function e(n,r){var i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t1=v,e.next=3,u.getItem(n+"-meta");case 3:if(e.t2=e.sent,e.t0=(0,e.t1)(e.t2),e.t0){e.next=7;break}e.t0={};case 7:return i=e.t0,r=l.defaults({accessedAt:Date.now(),accessedCount:(i.accessedCount||0)+1,version:t.version},r,i),e.abrupt("return",u.setItem(n+"-meta",JSON.stringify(r)));case 10:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),t.getMeta=function(){var e=(0,a.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t1=v,e.next=3,u.getItem(t+"-meta");case 3:if(e.t2=e.sent,e.t3={},e.t0=(0,e.t1)(e.t2,e.t3),e.t0){e.next=8;break}e.t0={};case 8:return e.abrupt("return",e.t0);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.get=function(){var e=(0,a.default)(o.default.mark((function e(n){var r,i,a,u=arguments;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=u.length>1&&void 0!==u[1]?u[1]:{},e.next=3,h(n);case 3:if(null!=(i=e.sent)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.getMeta(n);case 8:if(!((a=e.sent).expiry&&Date.now()>=a.expiry)){e.next=12;break}return t.remove(n),e.abrupt("return");case 12:if(!r.encryptionKey){e.next=23;break}if(e.prev=13,i=s.AES.decrypt(i,r.encryptionKey).toString(s.enc.Utf8)){e.next=17;break}throw"";case 17:e.next=23;break;case 19:return e.prev=19,e.t0=e.catch(13),r.onDecryptError&&r.onDecryptError(),e.abrupt("return");case 23:if(!r.compress&&!r.encryptionKey){e.next=31;break}e.prev=24,i=f(i,{inputEncoding:"BinaryString"}),e.next=31;break;case 28:return e.prev=28,e.t1=e.catch(24),e.abrupt("return");case 31:return i=v(i),t._setMeta(n),e.abrupt("return",i);case 34:case"end":return e.stop()}}),e,null,[[13,19],[24,28]])})));return function(t){return e.apply(this,arguments)}}(),t.set=function(){var e=(0,a.default)(o.default.mark((function e(n,r){var i,a=arguments;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=a.length>2&&void 0!==a[2]?a[2]:{},r="string"!=typeof r?JSON.stringify(r):r,(i.compress||i.encryptionKey)&&(r=d(r,{outputEncoding:"BinaryString"})),i.encryptionKey&&(r=s.AES.encrypt(r,i.encryptionKey).toString()),e.prev=4,e.next=7,m(n,r);case 7:t._setMeta(n,{size:r.length,expiry:i.expireAfterMs&&Date.now()+i.expireAfterMs}),e.next=17;break;case 10:if(e.prev=10,e.t0=e.catch(4),"QuotaExceededError"!==e.t0){e.next=16;break}throw{error:e.t0,requiredBytes:r.length};case 16:throw e.t0;case 17:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(t,n){return e.apply(this,arguments)}}(),t.remove=function(){var e=(0,a.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.removeItem(t);case 2:return e.next=4,u.removeItem(t+"-meta");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.purge=function(){var e=(0,a.default)(o.default.mark((function e(n){var i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object.keys(r.localStorage).filter(n).forEach((function(e){return r.localStorage.removeItem(e)})),e.next=3,u.keys();case 3:return i=e.sent,e.next=6,Promise.all(i.map((function(e){return t.getMeta(e)})));case 6:return a=l.object(i,e.sent),e.abrupt("return",Promise.all(i.filter((function(e){return n(e,a[e])})).map(t.remove)));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}).call(this,n(43),n(23))},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(62).Buffer)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Column=void 0;var i=r(n(1)),o=r(n(12));t.Column=function(e){return e.value?i.default.createElement("div",{className:(0,o.default)("dl-inner-container preview-row-column qa-preview-row-column",e.className)},i.default.createElement("dt",null,e.title),i.default.createElement("dd",null,e.icon," ",e.value)):null}},function(e,t,n){"use strict";var r=n(0)(n(37));t.Types={COMPUTER:"Computer",SERVER:"Server",MANAGED_SERVER:"Managed Server",CW_SC_PARTNER_SERVER:"CW SC Partner Server",WORKSTATION:"Workstation",BACKUP:"Backup",CLOUD:"Cloud",EMAIL:"Email",EXCHANGE:"Exchange",LAPTOP:"Laptop",LICENSE:"License",RENEWAL:"Renewal",NETWORK_SECURITY_APPLIANCE:"Network Security Appliance",ROUTER:"Router",PERIPHERAL:"Peripheral",PRINTER:"Printer",SMARTPHONE:"Smartphone",SSL:"Ssl",SWITCH:"Switch",TABLET:"Tablet",TELEPHONE:"Telephone",VM:"Vm",WEBSITE:"Website",WIFI:"Wifi"},t.getConfigTypeIconClass=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(n=n?r.default.title(n):e&&e.indexOf("Workstation")>-1?"Workstation":e){case t.Types.COMPUTER:case t.Types.SERVER:case t.Types.MANAGED_SERVER:case t.Types.CW_SC_PARTNER_SERVER:return"fa-terminal";case t.Types.WORKSTATION:return"fa-desktop";case t.Types.BACKUP:return"fa-hdd-o";case t.Types.CLOUD:return"fa-cloud";case t.Types.EMAIL:return"fa-envelope-o";case t.Types.EXCHANGE:return"fa-exchange";case t.Types.LAPTOP:return"fa-laptop";case t.Types.LICENSE:return"fa-certificate";case t.Types.RENEWAL:return"fa-refresh";case t.Types.NETWORK_SECURITY_APPLIANCE:case t.Types.ROUTER:return"fa-shield";case t.Types.PERIPHERAL:return"fa-keyboard-o";case t.Types.PRINTER:return"fa-print";case t.Types.SMARTPHONE:return"fa-mobile";case t.Types.SSL:return"fa-lock";case t.Types.SWITCH:return"fa-sitemap";case t.Types.TABLET:return"fa-tablet";case t.Types.TELEPHONE:return"fa-phone";case t.Types.VM:return"fa-cubes";case t.Types.WEBSITE:return"fa-globe";case t.Types.WIFI:return"fa-wifi";default:return"fa-cog"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Vault",{enumerable:!0,get:function(){return r.VaultEntry}}),Object.defineProperty(t,"ShowPasswordInVault",{enumerable:!0,get:function(){return i.ShowPasswordInVault}}),Object.defineProperty(t,"CopyPasswordInVault",{enumerable:!0,get:function(){return o.CopyPasswordInVault}}),Object.defineProperty(t,"CreateVaultPassword",{enumerable:!0,get:function(){return a.CreateVaultPassword}}),Object.defineProperty(t,"UpdateVaultPassword",{enumerable:!0,get:function(){return s.UpdateVaultPassword}}),Object.defineProperty(t,"DecryptAll",{enumerable:!0,get:function(){return u.DecryptAll}}),Object.defineProperty(t,"VaultBrowserSupport",{enumerable:!0,get:function(){return l.VaultBrowserSupport}}),Object.defineProperty(t,"EncryptAll",{enumerable:!0,get:function(){return c.EncryptAll}});var r=n(641),i=n(299),o=n(652),a=n(119),s=n(653),u=n(654),l=n(120),c=n(655)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VaultCache",{enumerable:!0,get:function(){return r.VaultCache}}),Object.defineProperty(t,"VaultService",{enumerable:!0,get:function(){return i.VaultService}}),Object.defineProperty(t,"isSupported",{enumerable:!0,get:function(){return o.isSupported}}),Object.defineProperty(t,"Cache",{enumerable:!0,get:function(){return a.Cache}});var r=n(644),i=n(645),o=n(301),a=n(300)},function(e,t,n){"use strict";var r=n(0),i=r(n(3)),o=r(n(4)),a=n(11),s=n(44).isDateTypeColumn;e.exports=function(){function e(t,n){(0,i.default)(this,e),this.key=this.value=this.displayValue=this.displayKey=null,this.columns=n,this.raw=t,this.parse()}return(0,o.default)(e,null,[{key:"matchLabelToColumnName",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"contains",i=e.findClosestColumn(t,n);return i?i.name:r}},{key:"findClosestColumn",value:function(e,t){if(t){var n=t.toLowerCase();return e.filter((function(e){return e.label&&e.label.toLowerCase&&e.label.toLowerCase()===n}))[0]}}},{key:"merge",value:function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={},r=0;r<e.length;r++){var i=e[r],o=i.key||"contains";n[o]||(n[o]=[]);var a=(i.operator||"")+(null!=i.value?i.value:i.displayValue);n[o].push(t?encodeURIComponent(a):a)}if(t)for(var s in n)n[s]=n[s].join(",");return n}}]),(0,o.default)(e,[{key:"getOperator",value:function(){return this.operator||""}},{key:"getKey",value:function(){return this.displayKey||a("search")}},{key:"getValue",value:function(){return this.getOperator()+this.displayValue}},{key:"toString",value:function(){return this.getKey()+":"+this.getValue()}},{key:"matchToPermittedValues",value:function(e){if(this.displayValue){var t=this.displayValue.toLowerCase(),n=e.filter((function(e){return(e.data||e.attributes).name.toLowerCase()===t}));e.filter((function(e){return(e.data||e.attributes).name.toLowerCase().indexOf(t)>-1})).length>0?n.length>0&&(this.displayValue=(n[0].data||n[0].attributes).name,this.value=n[0].value||n[0].id):(this.value=null,this.displayKey=null,this.key="contains",this.displayValue=this.raw,this.invalid=!0)}else this.value=null}},{key:"parse",value:function(){var t=this.raw.trim().split(":");this.displayKey=t[0],this.displayValue=t.slice(1).join(":"),1===t.length&&(this.displayValue=this.raw,this.displayKey=null);var n=e.findClosestColumn(this.columns,this.displayKey);n?(this.key=n.name,this.displayKey=n.label,this.operator=-1!==this.raw.indexOf(":!")?"!":"",this.operator&&(this.displayValue=this.displayValue.substring(1)),s(n)&&(this.ts=Date.parse(this.displayValue)),n.enum&&this.matchToPermittedValues(n.enum)):(this.displayValue=this.raw,this.key=this.displayKey=null)}}]),e}()},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))i.call(n,c)&&(u[c]=n[c]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FormLabel=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=r(n(12)),h=n(129),p=n(344),m=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){if(!this.props.value&&!this.props.children)return null;var e=(0,f.default)("form-label",this.props.className,this.props.errorMessage&&"has-error");return d.default.createElement("label",{"data-id":this.props["data-id"],className:e},this.props.preamble&&d.default.createElement(p.HelpHint,{ref:"hint",className:"preamble-help-tooltip",hintText:this.props.preamble}),this.props.value&&d.default.createElement("div",{className:"label-text"},d.default.createElement(h.RequiredLabel,{value:this.props.value,isRequired:this.props.isRequired})),this.props.postScript&&d.default.createElement(p.HelpHint,{ref:"hint",className:"postscript-help-tooltip",hintText:this.props.postScript}),this.props.children&&d.default.createElement("div",{className:"label-content"},this.props.children),this.props.errorMessage&&d.default.createElement("div",{className:"form-error-message qa-form-error-message"},this.props.errorMessage),this.props.hint&&d.default.createElement("div",{className:"help-text"},this.props.hint))}}]),n}(d.default.Component);t.FormLabel=m,(0,l.default)(m,"displayName","FormLabel"),(0,l.default)(m,"propTypes",{children:c.default.node,className:c.default.string,hint:c.default.node,errorMessage:c.default.string,preamble:c.default.any,postScript:c.default.any,value:c.default.oneOfType([c.default.string,c.default.element])})},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"bg-BG":/^[\u0410-\u042f]+$/i,"cs-CZ":/^[A-Z\xc1\u010c\u010e\xc9\u011a\xcd\u0147\xd3\u0158\u0160\u0164\xda\u016e\xdd\u017d]+$/i,"da-DK":/^[A-Z\xc6\xd8\xc5]+$/i,"de-DE":/^[A-Z\xc4\xd6\xdc\xdf]+$/i,"el-GR":/^[\u0391-\u03ce]+$/i,"es-ES":/^[A-Z\xc1\xc9\xcd\xd1\xd3\xda\xdc]+$/i,"fr-FR":/^[A-Z\xc0\xc2\xc6\xc7\xc9\xc8\xca\xcb\xcf\xce\xd4\u0152\xd9\xdb\xdc\u0178]+$/i,"it-IT":/^[A-Z\xc0\xc9\xc8\xcc\xce\xd3\xd2\xd9]+$/i,"nb-NO":/^[A-Z\xc6\xd8\xc5]+$/i,"nl-NL":/^[A-Z\xc1\xc9\xcb\xcf\xd3\xd6\xdc\xda]+$/i,"nn-NO":/^[A-Z\xc6\xd8\xc5]+$/i,"hu-HU":/^[A-Z\xc1\xc9\xcd\xd3\xd6\u0150\xda\xdc\u0170]+$/i,"pl-PL":/^[A-Z\u0104\u0106\u0118\u015a\u0141\u0143\xd3\u017b\u0179]+$/i,"pt-PT":/^[A-Z\xc3\xc1\xc0\xc2\xc4\xc7\xc9\xca\xcb\xcd\xcf\xd5\xd3\xd4\xd6\xda\xdc]+$/i,"ru-RU":/^[\u0410-\u042f\u0401]+$/i,"sl-SI":/^[A-Z\u010c\u0106\u0110\u0160\u017d]+$/i,"sk-SK":/^[A-Z\xc1\u010c\u010e\xc9\xcd\u0147\xd3\u0160\u0164\xda\xdd\u017d\u0139\u0154\u013d\xc4\xd4]+$/i,"sr-RS@latin":/^[A-Z\u010c\u0106\u017d\u0160\u0110]+$/i,"sr-RS":/^[\u0410-\u042f\u0402\u0408\u0409\u040a\u040b\u040f]+$/i,"sv-SE":/^[A-Z\xc5\xc4\xd6]+$/i,"tr-TR":/^[A-Z\xc7\u011e\u0130\u0131\xd6\u015e\xdc]+$/i,"uk-UA":/^[\u0410-\u0429\u042c\u042e\u042f\u0404I\u0407\u0490\u0456]+$/i,"ku-IQ":/^[\u0626\u0627\u0628\u067e\u062a\u062c\u0686\u062d\u062e\u062f\u0631\u0695\u0632\u0698\u0633\u0634\u0639\u063a\u0641\u06a4\u0642\u06a9\u06af\u0644\u06b5\u0645\u0646\u0648\u06c6\u06be\u06d5\u06cc\u06ce\u064a\u0637\u0624\u062b\u0622\u0625\u0623\u0643\u0636\u0635\u0629\u0638\u0630]+$/i,ar:/^[\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064a\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652\u0670]+$/,he:/^[\u05d0-\u05ea]+$/,"fa-IR":/^['\u0622\u0627\u0628\u067e\u062a\u062b\u062c\u0686\u0647\u062e\u062f\u0630\u0631\u0632\u0698\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0641\u0642\u06a9\u06af\u0644\u0645\u0646\u0648\u0647\u06cc']+$/i};t.alpha=r;var i={"en-US":/^[0-9A-Z]+$/i,"bg-BG":/^[0-9\u0410-\u042f]+$/i,"cs-CZ":/^[0-9A-Z\xc1\u010c\u010e\xc9\u011a\xcd\u0147\xd3\u0158\u0160\u0164\xda\u016e\xdd\u017d]+$/i,"da-DK":/^[0-9A-Z\xc6\xd8\xc5]+$/i,"de-DE":/^[0-9A-Z\xc4\xd6\xdc\xdf]+$/i,"el-GR":/^[0-9\u0391-\u03c9]+$/i,"es-ES":/^[0-9A-Z\xc1\xc9\xcd\xd1\xd3\xda\xdc]+$/i,"fr-FR":/^[0-9A-Z\xc0\xc2\xc6\xc7\xc9\xc8\xca\xcb\xcf\xce\xd4\u0152\xd9\xdb\xdc\u0178]+$/i,"it-IT":/^[0-9A-Z\xc0\xc9\xc8\xcc\xce\xd3\xd2\xd9]+$/i,"hu-HU":/^[0-9A-Z\xc1\xc9\xcd\xd3\xd6\u0150\xda\xdc\u0170]+$/i,"nb-NO":/^[0-9A-Z\xc6\xd8\xc5]+$/i,"nl-NL":/^[0-9A-Z\xc1\xc9\xcb\xcf\xd3\xd6\xdc\xda]+$/i,"nn-NO":/^[0-9A-Z\xc6\xd8\xc5]+$/i,"pl-PL":/^[0-9A-Z\u0104\u0106\u0118\u015a\u0141\u0143\xd3\u017b\u0179]+$/i,"pt-PT":/^[0-9A-Z\xc3\xc1\xc0\xc2\xc4\xc7\xc9\xca\xcb\xcd\xcf\xd5\xd3\xd4\xd6\xda\xdc]+$/i,"ru-RU":/^[0-9\u0410-\u042f\u0401]+$/i,"sl-SI":/^[0-9A-Z\u010c\u0106\u0110\u0160\u017d]+$/i,"sk-SK":/^[0-9A-Z\xc1\u010c\u010e\xc9\xcd\u0147\xd3\u0160\u0164\xda\xdd\u017d\u0139\u0154\u013d\xc4\xd4]+$/i,"sr-RS@latin":/^[0-9A-Z\u010c\u0106\u017d\u0160\u0110]+$/i,"sr-RS":/^[0-9\u0410-\u042f\u0402\u0408\u0409\u040a\u040b\u040f]+$/i,"sv-SE":/^[0-9A-Z\xc5\xc4\xd6]+$/i,"tr-TR":/^[0-9A-Z\xc7\u011e\u0130\u0131\xd6\u015e\xdc]+$/i,"uk-UA":/^[0-9\u0410-\u0429\u042c\u042e\u042f\u0404I\u0407\u0490\u0456]+$/i,"ku-IQ":/^[\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u06690-9\u0626\u0627\u0628\u067e\u062a\u062c\u0686\u062d\u062e\u062f\u0631\u0695\u0632\u0698\u0633\u0634\u0639\u063a\u0641\u06a4\u0642\u06a9\u06af\u0644\u06b5\u0645\u0646\u0648\u06c6\u06be\u06d5\u06cc\u06ce\u064a\u0637\u0624\u062b\u0622\u0625\u0623\u0643\u0636\u0635\u0629\u0638\u0630]+$/i,ar:/^[\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u06690-9\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064a\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652\u0670]+$/,he:/^[0-9\u05d0-\u05ea]+$/,"fa-IR":/^['0-9\u0622\u0627\u0628\u067e\u062a\u062b\u062c\u0686\u0647\u062e\u062f\u0630\u0631\u0632\u0698\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0641\u0642\u06a9\u06af\u0644\u0645\u0646\u0648\u0647\u06cc\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9\u06f0']+$/i};t.alphanumeric=i;var o={"en-US":".",ar:"\u066b"};t.decimal=o;var a=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=a;for(var s,u=0;u<a.length;u++)r[s="en-".concat(a[u])]=r["en-US"],i[s]=i["en-US"],o[s]=o["en-US"];var l=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=l;for(var c,d=0;d<l.length;d++)r[c="ar-".concat(l[d])]=r.ar,i[c]=i.ar,o[c]=o.ar;var f=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=f;var h=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-FR","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA"];t.commaDecimal=h;for(var p=0;p<f.length;p++)o[f[p]]=o["en-US"];for(var m=0;m<h.length;m++)o[h[m]]=",";r["pt-BR"]=r["pt-PT"],i["pt-BR"]=i["pt-PT"],o["pt-BR"]=o["pt-PT"],r["pl-Pl"]=r["pl-PL"],i["pl-Pl"]=i["pl-PL"],o["pl-Pl"]=o["pl-PL"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,i.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n){if(!o.test(t))return!1;var r=t.split(".").sort((function(e,t){return e-t}));return r[3]<=255}if("6"===n){var s=[t];if(t.includes("%")){if(2!==(s=t.split("%")).length)return!1;if(!s[0].includes(":"))return!1;if(""===s[1])return!1}var u=s[0].split(":"),l=!1,c=e(u[u.length-1],4),d=c?7:8;if(u.length>d)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(u.shift(),u.shift(),l=!0):"::"===t.substr(t.length-2)&&(u.pop(),u.pop(),l=!0);for(var f=0;f<u.length;++f)if(""===u[f]&&f>0&&f<u.length-1){if(l)return!1;l=!0}else if(c&&f===u.length-1);else if(!a.test(u[f]))return!1;return l?u.length>=1:u.length===d}return!1};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/,a=/^[0-9A-F]{1,4}$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FlagIcon=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(1)),d=r(n(2)),f=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){if(this.props.color){var e=this.props.color.startsWith("#")?this.props.color:"#".concat(this.props.color);return c.default.createElement("i",{className:"fa fa-flag flag-icon",style:{color:e}})}return c.default.createElement("i",{className:"far fa-flag flag-icon"})}}]),n}(c.default.Component);t.FlagIcon=f,(0,l.default)(f,"displayName","FlagIcon"),(0,l.default)(f,"propTypes",{color:d.default.string})},function(e,t,n){var r=n(253),i=n(463),o=n(464),a=n(465);e.exports=function(e,t,n){return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,(function(e,t,r){return 0===t||t===r.length-e.length?"":n})),r(e,t))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FormSelectField=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(12)),h=r(n(83)),p=n(38),m=n(76),v=n(259),g=r(n(25)),y=r(n(2)),b=r(n(11)),_=n(20),w=n(39),E=r(n(14)),C=[],A=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{filter:""}),(0,c.default)((0,a.default)(e),"_validationError",(function(){return e.context.onValidationError&&e.props.validationKey&&e.context.validationErrors[e.props.validationKey]})),(0,c.default)((0,a.default)(e),"_clearValidationError",(function(){e.context.onValidationError(e.props.validationKey,null)})),(0,c.default)((0,a.default)(e),"validate",(function(){var t=e._validationError();if(!e.props.validationKey||0!==e._getCheckedItems().length)return t&&e._clearValidationError(),!0;if(!t){var n=(0,b.default)("validation-error-required",{name:e.props.validationLabel||e.props.label});e.context.onValidationError(e.props.validationKey,n)}})),(0,c.default)((0,a.default)(e),"_getCheckedItems",(function(){return e.props.options.filter((function(t){return t.checked&&!t.disabled||-1!==e.props.checked.indexOf(t[e.props.valueKey])||-1!==e.props.checked.indexOf(t)}))})),(0,c.default)((0,a.default)(e),"_handleFilter",(function(t){e.setState({filter:t.target.value})})),(0,c.default)((0,a.default)(e),"_close",(function(){e.refs.container.close(),e.setState({filter:""})})),(0,c.default)((0,a.default)(e),"_handleItemToggle",(function(t){e.props.onToggleItem(t[e.props.valueKey],t),e.props.closeOnSelection&&e._close(),e._validationError()&&e._clearValidationError()})),(0,c.default)((0,a.default)(e),"_renderOptionsList",(function(){var t=g.default.createRegex(e.state.filter,"i"),n=e.props.options.filter((function(n){return(n[e.props.labelKey]||n).match(t)})),r=(0,f.default)(e.props.floatOptions&&"position-absolute"),i=E.default.object(e.props.checked,e.props.checked),o=n.map((function(t){return E.default.defaults({value:"string"==typeof t?t:t[e.props.valueKey],label:"string"==typeof t?t:t[e.props.labelKey],key:"string"==typeof t?t:t[e.props.valueKey],checked:t.checked||t[e.props.valueKey]in i||t in i},t)}));return d.default.createElement(w.SelectableList,{className:r,items:o,template:e.props.optionTemplate,enableKeyboardNavigation:e.props.enableKeyboardNavigation,onDismiss:e._close,onItemSelected:e._handleItemToggle},d.default.createElement(p.If,{condition:e.props.showFilter},d.default.createElement("li",{className:"select-filter"},d.default.createElement("input",{className:"filter",type:"text",placeholder:"filter",value:e.state.filter,onChange:e._handleFilter}))))})),(0,c.default)((0,a.default)(e),"_renderSelect",(function(){if(!0===e.props.combi)return d.default.createElement(h.default.Creatable,{multi:!1,autosize:!1,placeholder:"",options:e.props.options,onChange:e.props.onChange,value:e.props.value});var t=e._getCheckedItems(),n=(0,f.default)("multi-select",0===t.length&&"no-value"),r=d.default.createElement("div",{className:"btn dropdown-toggle btn-default",type:"text"},(0,_.cloneAndRender)(e.props.valueTemplate,{checkedItems:t,labelKey:e.props.labelKey,labelNoSelection:e.props.labelNoSelection}));return d.default.createElement(v.Toggleable,{className:n,disabled:e.props.disabled,ref:"container",getContent:e._renderOptionsList,trigger:r})})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){C.push(this)}},{key:"componentWillUnmount",value:function(){var e=this;C=C.filter((function(t){return t!==e}))}},{key:"render",value:function(){var e=this.props.validations&&-1!==this.props.validations.indexOf("required");return d.default.createElement(m.FormLabel,{errorMessage:this._validationError(),className:(0,f.default)("form-text-field qa-form-text-field",this.props.className),value:this.props.label,hint:this.props.helpText,isRequired:e},this._renderSelect())}}]),n}(d.default.Component);t.FormSelectField=A,(0,c.default)(A,"displayName","FormSelectField"),(0,c.default)(A,"contextTypes",{validationErrors:y.default.object,onValidationError:y.default.func}),(0,c.default)(A,"instances",(function(){return C})),(0,c.default)(A,"propTypes",{checked:y.default.array,closeOnSelection:y.default.bool,disabled:y.default.bool,labelNoSelection:y.default.string,onChange:y.default.func,onToggleItem:y.default.func,options:y.default.arrayOf(y.default.selectOption),showFilter:y.default.bool,combi:y.default.bool,value:y.default.stringOrNumber,floatOptions:y.default.bool,validationKey:y.default.string,validationLabel:y.default.string,optionTemplate:y.default.template,valueKey:y.default.string,labelKey:y.default.string,enableKeyboardNavigation:y.default.bool}),(0,c.default)(A,"defaultProps",{showFilter:!0,closeOnSelection:!1,labelNoSelection:(0,b.default)("no-selection"),checked:[],optionTemplate:function(e){var t=(0,f.default)("ellipsis",e.checked&&"checked",e.disabled&&"disabled");return d.default.createElement("div",{className:t},e.label)},valueTemplate:function(e){var t=e.checkedItems.length>0?e.checkedItems.map((function(t){return t.shortLabel||t[e.labelKey]||t})).join(", "):e.labelNoSelection;return d.default.createElement("span",null,t)},valueKey:"value",labelKey:"label",enableKeyboardNavigation:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=i(n(16)),s=i(n(29)),u=i(n(32)),l=i(n(27)),c=i(n(509)),d=i(n(42)),f=i(n(510)),h=i(n(256)),p=i(n(258)),m=i(n(511)),v=i(n(512)),g=i(n(513)),y=i(n(514)),b=i(n(515)),_=i(n(516));function w(e){var t=typeof e;return"string"===t?e:"object"===t?JSON.stringify(e):"number"===t||"boolean"===t?String(e):""}var E=u.default.oneOfType([u.default.string,u.default.node]),C=1,A=(0,s.default)({displayName:"Select",propTypes:{addLabelText:u.default.string,"aria-describedby":u.default.string,"aria-label":u.default.string,"aria-labelledby":u.default.string,arrowRenderer:u.default.func,autoBlur:u.default.bool,autofocus:u.default.bool,autosize:u.default.bool,backspaceRemoves:u.default.bool,backspaceToRemoveMessage:u.default.string,className:u.default.string,clearAllText:E,clearRenderer:u.default.func,clearValueText:E,clearable:u.default.bool,deleteRemoves:u.default.bool,delimiter:u.default.string,disabled:u.default.bool,escapeClearsValue:u.default.bool,filterOption:u.default.func,filterOptions:u.default.any,ignoreAccents:u.default.bool,ignoreCase:u.default.bool,inputProps:u.default.object,inputRenderer:u.default.func,instanceId:u.default.string,isLoading:u.default.bool,joinValues:u.default.bool,labelKey:u.default.string,matchPos:u.default.string,matchProp:u.default.string,menuBuffer:u.default.number,menuContainerStyle:u.default.object,menuRenderer:u.default.func,menuStyle:u.default.object,multi:u.default.bool,name:u.default.string,noResultsText:E,onBlur:u.default.func,onBlurResetsInput:u.default.bool,onChange:u.default.func,onClose:u.default.func,onCloseResetsInput:u.default.bool,onFocus:u.default.func,onInputChange:u.default.func,onInputKeyDown:u.default.func,onMenuScrollToBottom:u.default.func,onOpen:u.default.func,onValueClick:u.default.func,openAfterFocus:u.default.bool,openOnFocus:u.default.bool,optionClassName:u.default.string,optionComponent:u.default.func,optionRenderer:u.default.func,options:u.default.array,pageSize:u.default.number,placeholder:E,required:u.default.bool,resetValue:u.default.any,scrollMenuIntoView:u.default.bool,searchable:u.default.bool,simpleValue:u.default.bool,style:u.default.object,tabIndex:u.default.string,tabSelectsValue:u.default.bool,value:u.default.any,valueComponent:u.default.func,valueKey:u.default.string,valueRenderer:u.default.func,wrapperStyle:u.default.object},statics:{Async:v.default,AsyncCreatable:g.default,Creatable:y.default},getDefaultProps:function(){return{addLabelText:'Add "{label}"?',arrowRenderer:f.default,autosize:!0,backspaceRemoves:!0,backspaceToRemoveMessage:"Press backspace to remove {label}",clearable:!0,clearAllText:"Clear all",clearRenderer:m.default,clearValueText:"Clear value",deleteRemoves:!0,delimiter:",",disabled:!1,escapeClearsValue:!0,filterOptions:h.default,ignoreAccents:!0,ignoreCase:!0,inputProps:{},isLoading:!1,joinValues:!1,labelKey:"label",matchPos:"any",matchProp:"any",menuBuffer:0,menuRenderer:p.default,multi:!1,noResultsText:"No results found",onBlurResetsInput:!0,onCloseResetsInput:!0,optionComponent:b.default,pageSize:5,placeholder:"Select...",required:!1,scrollMenuIntoView:!0,searchable:!0,simpleValue:!1,tabSelectsValue:!0,valueComponent:_.default,valueKey:"value"}},getInitialState:function(){return{inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1}},componentWillMount:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++C)+"-";var e=this.getValueArray(this.props.value);this.props.required&&this.setState({required:this.handleRequired(e[0],this.props.multi)})},componentDidMount:function(){this.props.autofocus&&this.focus()},componentWillReceiveProps:function(e){var t=this.getValueArray(e.value,e);e.required&&this.setState({required:this.handleRequired(t[0],e.multi)})},componentWillUpdate:function(e,t){if(t.isOpen!==this.state.isOpen){this.toggleTouchOutsideEvent(t.isOpen);var n=t.isOpen?e.onOpen:e.onClose;n&&n()}},componentDidUpdate:function(e,t){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var n=l.default.findDOMNode(this.focused);l.default.findDOMNode(this.menu).scrollTop=n.offsetTop,this.hasScrolledToOption=!0}else this.state.isOpen||(this.hasScrolledToOption=!1);if(this._scrollToFocusedOptionOnUpdate&&this.focused&&this.menu){this._scrollToFocusedOptionOnUpdate=!1;var r=l.default.findDOMNode(this.focused),i=l.default.findDOMNode(this.menu),o=r.getBoundingClientRect(),a=i.getBoundingClientRect();(o.bottom>a.bottom||o.top<a.top)&&(i.scrollTop=r.offsetTop+r.clientHeight-i.offsetHeight)}if(this.props.scrollMenuIntoView&&this.menuContainer){var s=this.menuContainer.getBoundingClientRect();window.innerHeight<s.bottom+this.props.menuBuffer&&window.scrollBy(0,s.bottom+this.props.menuBuffer-window.innerHeight)}e.disabled!==this.props.disabled&&(this.setState({isFocused:!1}),this.closeMenu())},componentWillUnmount:function(){!document.removeEventListener&&document.detachEvent?document.detachEvent("ontouchstart",this.handleTouchOutside):document.removeEventListener("touchstart",this.handleTouchOutside)},toggleTouchOutsideEvent:function(e){e?!document.addEventListener&&document.attachEvent?document.attachEvent("ontouchstart",this.handleTouchOutside):document.addEventListener("touchstart",this.handleTouchOutside):!document.removeEventListener&&document.detachEvent?document.detachEvent("ontouchstart",this.handleTouchOutside):document.removeEventListener("touchstart",this.handleTouchOutside)},handleTouchOutside:function(e){this.wrapper&&!this.wrapper.contains(e.target)&&this.closeMenu()},focus:function(){this.input&&this.input.focus()},blurInput:function(){this.input&&this.input.blur()},handleTouchMove:function(e){this.dragging=!0},handleTouchStart:function(e){this.dragging=!1},handleTouchEnd:function(e){this.dragging||this.handleMouseDown(e)},handleTouchEndClearValue:function(e){this.dragging||this.clearValue(e)},handleMouseDown:function(e){if(!(this.props.disabled||"mousedown"===e.type&&0!==e.button)&&"INPUT"!==e.target.tagName){if(e.stopPropagation(),e.preventDefault(),!this.props.searchable)return this.focus(),this.setState({isOpen:!this.state.isOpen});if(this.state.isFocused){this.focus();var t=this.input;"function"==typeof t.getInput&&(t=t.getInput()),t.value="",this.setState({isOpen:!0,isPseudoFocused:!1})}else this._openAfterFocus=!0,this.focus()}},handleMouseDownOnArrow:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||this.state.isOpen&&(e.stopPropagation(),e.preventDefault(),this.closeMenu())},handleMouseDownOnMenu:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this._openAfterFocus=!0,this.focus())},closeMenu:function(){this.setState(this.props.onCloseResetsInput?{isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi,inputValue:""}:{isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi,inputValue:this.state.inputValue}),this.hasScrolledToOption=!1},handleInputFocus:function(e){if(!this.props.disabled){var t=this.state.isOpen||this._openAfterFocus||this.props.openOnFocus;this.props.onFocus&&this.props.onFocus(e),this.setState({isFocused:!0,isOpen:t}),this._openAfterFocus=!1}},handleInputBlur:function(e){if(!this.menu||this.menu!==document.activeElement&&!this.menu.contains(document.activeElement)){this.props.onBlur&&this.props.onBlur(e);var t={isFocused:!1,isOpen:!1,isPseudoFocused:!1};this.props.onBlurResetsInput&&(t.inputValue=""),this.setState(t)}else this.focus()},handleInputChange:function(e){var t=e.target.value;if(this.state.inputValue!==e.target.value&&this.props.onInputChange){var n=this.props.onInputChange(t);null!=n&&"object"!=typeof n&&(t=""+n)}this.setState({isOpen:!0,isPseudoFocused:!1,inputValue:t})},handleKeyDown:function(e){if(!(this.props.disabled||"function"==typeof this.props.onInputKeyDown&&(this.props.onInputKeyDown(e),e.defaultPrevented))){switch(e.keyCode){case 8:return void(!this.state.inputValue&&this.props.backspaceRemoves&&(e.preventDefault(),this.popValue()));case 9:if(e.shiftKey||!this.state.isOpen||!this.props.tabSelectsValue)return;return void this.selectFocusedOption();case 13:if(!this.state.isOpen)return;e.stopPropagation(),this.selectFocusedOption();break;case 27:this.state.isOpen?(this.closeMenu(),e.stopPropagation()):this.props.clearable&&this.props.escapeClearsValue&&(this.clearValue(e),e.stopPropagation());break;case 38:this.focusPreviousOption();break;case 40:this.focusNextOption();break;case 33:this.focusPageUpOption();break;case 34:this.focusPageDownOption();break;case 35:if(e.shiftKey)return;this.focusEndOption();break;case 36:if(e.shiftKey)return;this.focusStartOption();break;case 46:return void(!this.state.inputValue&&this.props.deleteRemoves&&(e.preventDefault(),this.popValue()));default:return}e.preventDefault()}},handleValueClick:function(e,t){this.props.onValueClick&&this.props.onValueClick(e,t)},handleMenuScroll:function(e){if(this.props.onMenuScrollToBottom){var t=e.target;t.scrollHeight>t.offsetHeight&&!(t.scrollHeight-t.offsetHeight-t.scrollTop)&&this.props.onMenuScrollToBottom()}},handleRequired:function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},getOptionLabel:function(e){return e[this.props.labelKey]},getValueArray:function(e,t){var n=this,r="object"==typeof t?t:this.props;if(r.multi){if("string"==typeof e&&(e=e.split(r.delimiter)),!Array.isArray(e)){if(null==e)return[];e=[e]}return e.map((function(e){return n.expandValue(e,r)})).filter((function(e){return e}))}var i=this.expandValue(e,r);return i?[i]:[]},expandValue:function(e,t){var n=typeof e;if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,i=t.valueKey;if(r)for(var o=0;o<r.length;o++)if(r[o][i]===e)return r[o]},setValue:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.onChange){if(this.props.required){var n=this.handleRequired(e,this.props.multi);this.setState({required:n})}this.props.simpleValue&&e&&(e=this.props.multi?e.map((function(e){return e[t.props.valueKey]})).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange(e)}},selectValue:function(e){var t=this;this.hasScrolledToOption=!1,this.props.multi?this.setState({inputValue:"",focusedIndex:null},(function(){t.addValue(e)})):this.setState({isOpen:!1,inputValue:"",isPseudoFocused:this.state.isFocused},(function(){t.setValue(e)}))},addValue:function(e){var t=this.getValueArray(this.props.value),n=this._visibleOptions.filter((function(e){return!e.disabled})),r=n.indexOf(e);this.setValue(t.concat(e)),n.length-1===r?this.focusOption(n[r-1]):n.length>r&&this.focusOption(n[r+1])},popValue:function(){var e=this.getValueArray(this.props.value);e.length&&!1!==e[e.length-1].clearableValue&&this.setValue(e.slice(0,e.length-1))},removeValue:function(e){var t=this.getValueArray(this.props.value);this.setValue(t.filter((function(t){return t!==e}))),this.focus()},clearValue:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:""},this.focus))},getResetValue:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusPageUpOption:function(){this.focusAdjacentOption("page_up")},focusPageDownOption:function(){this.focusAdjacentOption("page_down")},focusStartOption:function(){this.focusAdjacentOption("start")},focusEndOption:function(){this.focusAdjacentOption("end")},focusAdjacentOption:function(e){var t=this._visibleOptions.map((function(e,t){return{option:e,index:t}})).filter((function(e){return!e.option.disabled}));if(this._scrollToFocusedOptionOnUpdate=!0,this.state.isOpen){if(t.length){for(var n=-1,r=0;r<t.length;r++)if(this._focusedOption===t[r].option){n=r;break}if("next"===e&&-1!==n)n=(n+1)%t.length;else if("previous"===e)n>0?n-=1:n=t.length-1;else if("start"===e)n=0;else if("end"===e)n=t.length-1;else if("page_up"===e)n=(i=n-this.props.pageSize)<0?0:i;else if("page_down"===e){var i;n=(i=n+this.props.pageSize)>t.length-1?t.length-1:i}-1===n&&(n=0),this.setState({focusedIndex:t[n].index,focusedOption:t[n].option})}}else this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null)})},getFocusedOption:function(){return this._focusedOption},getInputValue:function(){return this.state.inputValue},selectFocusedOption:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)},renderLoading:function(){if(this.props.isLoading)return a.default.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},a.default.createElement("span",{className:"Select-loading"}))},renderValue:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,i=this.props.valueComponent;if(!e.length)return this.state.inputValue?null:a.default.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var o=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map((function(e,t){return a.default.createElement(i,{id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,disabled:n.props.disabled||!1===e.clearableValue,key:"value-"+t+"-"+e[n.props.valueKey],onClick:o,onRemove:n.removeValue,value:e},r(e,t),a.default.createElement("span",{className:"Select-aria-only"},"\xa0"))})):this.state.inputValue?void 0:(t&&(o=null),a.default.createElement(i,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:o,value:e[0]},r(e[0])))},renderInput:function(e,t){var n,i=this,s=(0,d.default)("Select-input",this.props.inputProps.className),u=!!this.state.isOpen,l=(0,d.default)((o(n={},this._instancePrefix+"-list",u),o(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),f=r({},this.props.inputProps,{role:"combobox","aria-expanded":""+u,"aria-owns":l,"aria-haspopup":""+u,"aria-activedescendant":u?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-describedby":this.props["aria-describedby"],"aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:s,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return i.input=e},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(f);if(this.props.disabled||!this.props.searchable){var h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props.inputProps,["inputClassName"]),p=(0,d.default)(o({},this._instancePrefix+"-list",u));return a.default.createElement("div",r({},h,{role:"combobox","aria-expanded":u,"aria-owns":p,"aria-activedescendant":u?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value",className:s,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return i.input=e},"aria-readonly":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?a.default.createElement(c.default,r({},f,{minWidth:"5"})):a.default.createElement("div",{className:s},a.default.createElement("input",f))},renderClear:function(){if(!(!this.props.clearable||null==this.props.value||this.props.multi&&!this.props.value.length||this.props.disabled||this.props.isLoading)){var e=this.props.clearRenderer();return a.default.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},e)}},renderArrow:function(){var e=this.handleMouseDownOnArrow,t=this.props.arrowRenderer({onMouseDown:e,isOpen:this.state.isOpen});return a.default.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},t)},filterOptions:function(e){var t=this.props.options||[];return this.props.filterOptions?("function"==typeof this.props.filterOptions?this.props.filterOptions:h.default)(t,this.state.inputValue,e,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey}):t},onOptionRef:function(e,t){t&&(this.focused=e)},renderMenu:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey,onOptionRef:this.onOptionRef}):this.props.noResultsText?a.default.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null},renderHiddenField:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map((function(e){return w(e[t.props.valueKey])})).join(this.props.delimiter);return a.default.createElement("input",{type:"hidden",ref:function(e){return t.value=e},name:this.props.name,value:n,disabled:this.props.disabled})}return e.map((function(e,n){return a.default.createElement("input",{key:"hidden."+n,type:"hidden",ref:"value"+n,name:t.props.name,value:w(e[t.props.valueKey]),disabled:t.props.disabled})}))}},getFocusableOptionIndex:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.props.valueKey,r=this.state.focusedOption||e;if(r&&!r.disabled){var i=-1;if(t.some((function(e,t){var o=e[n]===r[n];return o&&(i=t),o})),-1!==i)return i}for(var o=0;o<t.length;o++)if(!t[o].disabled)return o;return null},renderOuter:function(e,t,n){var r=this,i=this.renderMenu(e,t,n);return i?a.default.createElement("div",{ref:function(e){return r.menuContainer=e},className:"Select-menu-outer",style:this.props.menuContainerStyle},a.default.createElement("div",{ref:function(e){return r.menu=e},role:"listbox",className:"Select-menu",id:this._instancePrefix+"-list",style:this.props.menuStyle,onScroll:this.handleMenuScroll,onMouseDown:this.handleMouseDownOnMenu},i)):null},render:function(){var e=this,t=this.getValueArray(this.props.value),n=this._visibleOptions=this.filterOptions(this.props.multi?this.getValueArray(this.props.value):null),r=this.state.isOpen;this.props.multi&&!n.length&&t.length&&!this.state.inputValue&&(r=!1);var i,o=this.getFocusableOptionIndex(t[0]);i=this._focusedOption=null!==o?n[o]:null;var s=(0,d.default)("Select",this.props.className,{"Select--multi":this.props.multi,"Select--single":!this.props.multi,"is-clearable":this.props.clearable,"is-disabled":this.props.disabled,"is-focused":this.state.isFocused,"is-loading":this.props.isLoading,"is-open":r,"is-pseudo-focused":this.state.isPseudoFocused,"is-searchable":this.props.searchable,"has-value":t.length}),u=null;return this.props.multi&&!this.props.disabled&&t.length&&!this.state.inputValue&&this.state.isFocused&&this.props.backspaceRemoves&&(u=a.default.createElement("span",{id:this._instancePrefix+"-backspace-remove-message",className:"Select-aria-only","aria-live":"assertive"},this.props.backspaceToRemoveMessage.replace("{label}",t[t.length-1][this.props.labelKey]))),a.default.createElement("div",{ref:function(t){return e.wrapper=t},className:s,style:this.props.wrapperStyle},this.renderHiddenField(t),a.default.createElement("div",{ref:function(t){return e.control=t},className:"Select-control",style:this.props.style,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleTouchEnd,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},a.default.createElement("span",{className:"Select-multi-value-wrapper",id:this._instancePrefix+"-value"},this.renderValue(t,r),this.renderInput(t,o)),u,this.renderLoading(),this.renderClear(),this.renderArrow()),r?this.renderOuter(n,this.props.multi?null:t,i):null)}});t.default=A,e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Lightbox=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(2)),p=r(n(27)),m=r(n(12));function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var g=function(e){(0,u.default)(n,e);var t=v(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_handleLightboxClick",(function(t){e.props.onClick&&(e.props.attachToBody&&(t.target===p.default.findDOMNode(e.lightboxComponent)||t.target===e.lightbox)||!e.props.attachToBody&&(t.target===e.refs.container||t.target===e.refs.innerContainer))&&e.props.onClick()})),(0,d.default)((0,s.default)(e),"_unmountLightbox",(function(){e.lightbox&&(p.default.unmountComponentAtNode(e.lightbox),e.lightboxComponent=null,e.lightbox.remove(),e.lightbox=null)})),(0,d.default)((0,s.default)(e),"getContainer",(function(){return e.props.attachToBody?e.lightbox:e.refs.container})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.UNSAFE_componentWillReceiveProps(this.props),this.props.visible&&(document.body.style.overflow="hidden")}},{key:"componentWillUnmount",value:function(){document.body.style.overflow="auto",this._unmountLightbox()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;this.props.attachToBody&&(e.visible&&(this.lightbox?this.lightboxComponent.setState({children:e.children,style:e.style}):(this.lightbox=document.createElement("div"),this.lightbox.setAttribute("class","lightbox"),document.body.appendChild(this.lightbox),p.default.render(f.default.createElement(y,(0,i.default)({ref:function(e){return t.lightboxComponent=e}},e,{onClick:this._handleLightboxClick})),this.lightbox))),!e.visible&&this.lightbox&&this._unmountLightbox()),e.visible&&!this.props.visible&&(document.body.style.overflow="hidden"),!e.visible&&this.props.visible&&(document.body.style.overflow="auto")}},{key:"render",value:function(){return this.props.visible?this.props.attachToBody?null:f.default.createElement("div",{className:(0,m.default)("lightbox",this.props.className),onClick:this._handleLightboxClick,ref:"container"},f.default.createElement("div",{ref:"innerContainer",style:this.props.style},this.props.children)):null}}]),n}(f.default.Component);t.Lightbox=g,(0,d.default)(g,"displayName","Lightbox"),(0,d.default)(g,"propTypes",{attachToBody:h.default.bool,children:h.default.node,className:h.default.string,style:h.default.object,visible:h.default.bool});var y=function(e){(0,u.default)(n,e);var t=v(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{children:e.props.children,style:e.props.style}),e}return(0,a.default)(n,[{key:"render",value:function(){return f.default.createElement("div",{style:this.state.style,onClick:this.props.onClick,className:"lightbox-content"},this.state.children)}}]),n}(f.default.Component);(0,d.default)(y,"propTypes",{onClick:h.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CopyButton=void 0;var i,o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(2)),m=r(n(1)),v=r(n(11)),g=n(49),y=r(n(12)),b=n(48),_=r(n(20)),w={NONE:null,PENDING:"pending",COPIED:"copied",CACHED:"cached",FAILED:"failed"},E=((0,h.default)(i={},w.NONE,(0,v.default)("copy-to-clipboard")),(0,h.default)(i,w.CACHED,(0,v.default)("copy-to-clipboard-failed")),(0,h.default)(i,w.FAILED,(0,v.default)("copy-to-clipboard-failed")),(0,h.default)(i,w.COPIED,(0,v.default)("copied-to-clipboard")),i),C=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"state",{status:w.NONE}),(0,h.default)((0,l.default)(e),"_handleCopy",(0,a.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.props.disabled&&!e._isUnsupported()){t.next=2;break}return t.abrupt("return");case 2:if(r=!1,e.setState({status:w.PENDING}),e.props.value||!e.props.requiresAsyncCopy&&!_.default.supportsAsyncCopy()){t.next=16;break}return t.next=7,e.props.loadAsync(e.props.id);case 7:if(t.t0=(n=t.sent)&&!n.error,!t.t0){t.next=13;break}return t.next=12,_.default.copyToClipboard(n);case 12:t.t0=t.sent;case 13:r=t.t0,t.next=23;break;case 16:if(e.props.value?n=e.props.value:e.state.cached?(n=e.state.cached,e.setState({cached:null})):n=e.props.loadSync(e.props.id),t.t1=n,!t.t1){t.next=22;break}return t.next=21,_.default.copyToClipboard(n);case 21:t.t1=t.sent;case 22:r=t.t1;case 23:setTimeout((function(){var t;e._isUnmounted||(r?(e.setState({status:w.COPIED}),e.props.onCopySuccess&&e.props.onCopySuccess()):e.setState(!n||n.error?{status:w.FAILED}:{cached:n,status:w.CACHED}),null===(t=e.tooltip)||void 0===t||t.open(e.props.showTooltipTimeout))}),0);case 24:case"end":return t.stop()}}),t)})))),(0,h.default)((0,l.default)(e),"_isUnsupported",(function(){return e.props.requiresAsyncCopy&&!_.default.supportsAsyncCopy()})),(0,h.default)((0,l.default)(e),"_getButtonTitle",(function(){if(e.props.disableTooltip)return e._isUnsupported()?e.props.unsupportedTooltip:e.props.title})),e}return(0,u.default)(n,[{key:"componentWillUnmount",value:function(){this._isUnmounted=!0}},{key:"clearStatus",value:function(){this.setState({status:w.NONE})}},{key:"componentDidUpdate",value:function(e,t){this.props.onStatusChange&&this.state.status!==t.status&&this.props.onStatusChange(this.state.status,E[this.state.status])}},{key:"_tooltipContent",value:function(){switch(this.state.status){case w.PENDING:return m.default.createElement(g.DotLoader,null);default:var e=this._isUnsupported()?this.props.unsupportedTooltip:E[this.state.status]||E[w.NONE];return m.default.createElement("span",{className:"nowrap"},e)}}},{key:"render",value:function(){var e=this,t=m.default.createElement("span",{title:this._getButtonTitle(),className:(0,y.default)("copy-button qa-copy-button",(this.props.disabled||this._isUnsupported())&&"disabled",this.props.className),onClick:this._handleCopy},m.default.createElement("i",{className:"fa fa-"+this.props.icon}));return this.props.disableTooltip?t:m.default.createElement(b.Tooltip,{className:"no-max-width",ref:function(t){return e.tooltip=t},content:this._tooltipContent(),arrowDirection:"down",onClose:function(){return e.state.status===w.COPIED&&e.clearStatus()},containerClassName:(0,y.default)("copy-tooltip qa-copy-tooltip",this.state.copied&&"copied")},t)}}]),n}(m.default.Component);t.CopyButton=C,(0,h.default)(C,"displayName","CopyButton"),(0,h.default)(C,"propTypes",{id:p.default.stringOrNumber,icon:p.default.string,value:p.default.any,requiresAsyncCopy:p.default.bool,loadAsync:p.default.func,loadSync:p.default.func,onCopySuccess:p.default.func,unsupportedTooltip:p.default.string}),(0,h.default)(C,"defaultProps",{icon:"clipboard",requiresAsyncCopy:!1,title:(0,v.default)("copy-to-clipboard"),showTooltipTimeout:2e3,unsupportedTooltip:(0,v.default)("copy-to-clipboard-unsupported")}),(0,h.default)(C,"Status",w)},function(e,t,n){var r,i,o,a,s,u;e.exports=(i=(r=u=n(21)).lib,o=i.Base,a=i.WordArray,(s=r.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var i=e[r];n.push(i.high),n.push(i.low)}return a.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}}),u)},function(e,t,n){"use strict";(function(t){e.exports=void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?{nextTick:function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick((function(){e.apply(null,o)}))}}}:t}).call(this,n(43))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Notes=void 0;var i=r(n(1)),o=r(n(11));t.Notes=function(e){if(!e.notes)return null;var t=e.notes.split(/\r?\n/);return i.default.createElement("dl",{className:"react-notes qa-react-notes margin-medium-vertical react-dl-horizontal"},i.default.createElement("div",{className:"dl-inner-container"},i.default.createElement("dt",{className:"react-notes-label qa-react-notes-label"},(0,o.default)("notes")),i.default.createElement("dd",null,t.map((function(e,t){return i.default.createElement("span",{key:t},e,i.default.createElement("br",null))})))))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AssetLink=void 0;var i=r(n(1)),o=r(n(2)),a=function(e){var t=e.id,n=e.name,r=e.organizationId,o=e.assetType,a=e.mainUrl;return t||n?i.default.createElement("div",{className:"asset-row asset-link"},i.default.createElement("span",{className:"asset-row-title"},e.title),i.default.createElement("span",{className:"asset-row-value"},t?i.default.createElement("a",{href:"".concat(a||"","/").concat(r,"/").concat(o,"/").concat(t)},n):n)):null};t.AssetLink=a,a.displayName="AssetLink",a.propTypes={id:o.default.stringOrNumber,name:o.default.string,organizationId:o.default.number,assetType:o.default.string,title:o.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateRemaining=i,t.getExpirationStatus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r;if(!e)return null;var n=i(e);return n>t?null:n<0?"expired":"soon"},t.toEndOfDay=function(e){var t=new Date(e);return t.setHours(23,59,59,999),t},t.addDays=function(e,t){return new Date(e.getTime()+24*t*60*60*1e3)},t.REMAINING_PREFIX=void 0;var r=n(617).DAYS_TO_EXPIRE;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();return Date.parse(e)-t}t.REMAINING_PREFIX="__remaining-ms-until-"},function(e,t,n){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var i in n)r[i]=n[i];return r.constructor=t,t.prototype=r,t}},function(e,t,n){(function(t){var n=function(){"use strict";var e,n,r;try{e=Map}catch(t){e=function(){}}try{n=Set}catch(e){n=function(){}}try{r=Promise}catch(e){r=function(){}}function i(o,s,u,l,c){"object"==typeof s&&(u=s.depth,l=s.prototype,c=s.includeNonEnumerable,s=s.circular);var d=[],f=[],h=void 0!==t;return void 0===s&&(s=!0),void 0===u&&(u=1/0),function o(u,p){if(null===u)return null;if(0===p)return u;var m,v;if("object"!=typeof u)return u;if(u instanceof e)m=new e;else if(u instanceof n)m=new n;else if(u instanceof r)m=new r((function(e,t){u.then((function(t){e(o(t,p-1))}),(function(e){t(o(e,p-1))}))}));else if(i.__isArray(u))m=[];else if(i.__isRegExp(u))m=new RegExp(u.source,a(u)),u.lastIndex&&(m.lastIndex=u.lastIndex);else if(i.__isDate(u))m=new Date(u.getTime());else{if(h&&t.isBuffer(u))return m=new t(u.length),u.copy(m),m;u instanceof Error?m=Object.create(u):void 0===l?(v=Object.getPrototypeOf(u),m=Object.create(v)):(m=Object.create(l),v=l)}if(s){var g=d.indexOf(u);if(-1!=g)return f[g];d.push(u),f.push(m)}if(u instanceof e)for(var y=u.keys();!(E=y.next()).done;){var b=o(E.value,p-1),_=o(u.get(E.value),p-1);m.set(b,_)}if(u instanceof n)for(var w=u.keys();;){var E;if((E=w.next()).done)break;var C=o(E.value,p-1);m.add(C)}for(var A in u){var k;v&&(k=Object.getOwnPropertyDescriptor(v,A)),k&&null==k.set||(m[A]=o(u[A],p-1))}if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);for(A=0;A<S.length;A++){var x=S[A];(!(O=Object.getOwnPropertyDescriptor(u,x))||O.enumerable||c)&&(m[x]=o(u[x],p-1),O.enumerable||Object.defineProperty(m,x,{enumerable:!1}))}}if(c){var D=Object.getOwnPropertyNames(u);for(A=0;A<D.length;A++){var O,T=D[A];(O=Object.getOwnPropertyDescriptor(u,T))&&O.enumerable||(m[T]=o(u[T],p-1),Object.defineProperty(m,T,{enumerable:!1}))}}return m}(o,u)}function o(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return i.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},i.__objToStr=o,i.__isDate=function(e){return"object"==typeof e&&"[object Date]"===o(e)},i.__isArray=function(e){return"object"==typeof e&&"[object Array]"===o(e)},i.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===o(e)},i.__getRegExpFlags=a,i}();e.exports&&(e.exports=n)}).call(this,n(62).Buffer)},function(e,t,n){"use strict";var r;"undefined"!=typeof self&&self,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=123)}([function(e,t,n){t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){t.__esModule=!0;var r,i=(r=n(169))&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){var r=s(n(50)),i=s(n(30)),o=s(n(8)),a=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}var u=n(9),l=n(157);function c(e,t,n,r){var i=!1;!0===r&&(i=null===t[n]&&void 0!==e[n]),i?delete e[n]:e[n]=t[n]}t.isNumber=function(e){return e instanceof Number||"number"==typeof e},t.recursiveDOMDelete=function(e){if(e)for(;!0===e.hasChildNodes();)t.recursiveDOMDelete(e.firstChild),e.removeChild(e.firstChild)},t.giveRange=function(e,t,n,r){return t==e?.5:Math.max(0,1/(t-e)*(r-e))},t.isString=function(e){return e instanceof String||"string"==typeof e},t.isDate=function(e){if(e instanceof Date)return!0;if(t.isString(e)){if(d.exec(e))return!0;if(!isNaN(Date.parse(e)))return!0}return!1},t.randomUUID=function(){return l.v4()},t.assignAllKeys=function(e,t){for(var n in e)e.hasOwnProperty(n)&&"object"!==(0,a.default)(e[n])&&(e[n]=t)},t.fillIfDefined=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var i in e)void 0!==n[i]&&(null===n[i]||"object"!==(0,a.default)(n[i])?c(e,n,i,r):"object"===(0,a.default)(e[i])&&t.fillIfDefined(e[i],n[i],r))},t.extend=function(e,t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e},t.selectiveExtend=function(e,t,n){if(!Array.isArray(e))throw new Error("Array with property names expected as first argument");for(var r=2;r<arguments.length;r++)for(var i=arguments[r],o=0;o<e.length;o++){var a=e[o];i&&i.hasOwnProperty(a)&&(t[a]=i[a])}return t},t.selectiveDeepExtend=function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Array.isArray(r))throw new TypeError("Arrays are not supported by deepExtend");for(var o=0;o<e.length;o++){var a=e[o];if(r.hasOwnProperty(a))if(r[a]&&r[a].constructor===Object)void 0===n[a]&&(n[a]={}),n[a].constructor===Object?t.deepExtend(n[a],r[a],!1,i):c(n,r,a,i);else{if(Array.isArray(r[a]))throw new TypeError("Arrays are not supported by deepExtend");c(n,r,a,i)}}return n},t.selectiveNotDeepExtend=function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(Array.isArray(r))throw new TypeError("Arrays are not supported by deepExtend");for(var o in r)if(r.hasOwnProperty(o)&&-1===e.indexOf(o))if(r[o]&&r[o].constructor===Object)void 0===n[o]&&(n[o]={}),n[o].constructor===Object?t.deepExtend(n[o],r[o]):c(n,r,o,i);else if(Array.isArray(r[o])){n[o]=[];for(var a=0;a<r[o].length;a++)n[o].push(r[o][a])}else c(n,r,o,i);return n},t.deepExtend=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];for(var o in n)if(n.hasOwnProperty(o)||!0===r)if(n[o]&&n[o].constructor===Object)void 0===e[o]&&(e[o]={}),e[o].constructor===Object?t.deepExtend(e[o],n[o],r):c(e,n,o,i);else if(Array.isArray(n[o])){e[o]=[];for(var a=0;a<n[o].length;a++)e[o].push(n[o][a])}else c(e,n,o,i);return e},t.equalArray=function(e,t){if(e.length!=t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(e[n]!=t[n])return!1;return!0},t.convert=function(e,n){var r;if(void 0!==e){if(null===e)return null;if(!n)return e;if("string"!=typeof n&&!(n instanceof String))throw new Error("Type must be a string");switch(n){case"boolean":case"Boolean":return Boolean(e);case"number":case"Number":return t.isString(e)&&!isNaN(Date.parse(e))?u(e).valueOf():Number(e.valueOf());case"string":case"String":return String(e);case"Date":if(t.isNumber(e))return new Date(e);if(e instanceof Date)return new Date(e.valueOf());if(u.isMoment(e))return new Date(e.valueOf());if(t.isString(e))return(r=d.exec(e))?new Date(Number(r[1])):u(new Date(e)).toDate();throw new Error("Cannot convert object of type "+t.getType(e)+" to type Date");case"Moment":if(t.isNumber(e))return u(e);if(e instanceof Date)return u(e.valueOf());if(u.isMoment(e))return u(e);if(t.isString(e))return r=d.exec(e),u(r?Number(r[1]):e);throw new Error("Cannot convert object of type "+t.getType(e)+" to type Date");case"ISODate":if(t.isNumber(e))return new Date(e);if(e instanceof Date)return e.toISOString();if(u.isMoment(e))return e.toDate().toISOString();if(t.isString(e))return(r=d.exec(e))?new Date(Number(r[1])).toISOString():u(e).format();throw new Error("Cannot convert object of type "+t.getType(e)+" to type ISODate");case"ASPDate":if(t.isNumber(e))return"/Date("+e+")/";if(e instanceof Date)return"/Date("+e.valueOf()+")/";if(t.isString(e))return"/Date("+((r=d.exec(e))?new Date(Number(r[1])).valueOf():new Date(e).valueOf())+")/";throw new Error("Cannot convert object of type "+t.getType(e)+" to type ASPDate");default:throw new Error('Unknown type "'+n+'"')}}};var d=/^\/?Date\((\-?\d+)/i;t.getType=function(e){var t=void 0===e?"undefined":(0,a.default)(e);return"object"==t?null===e?"null":e instanceof Boolean?"Boolean":e instanceof Number?"Number":e instanceof String?"String":Array.isArray(e)?"Array":e instanceof Date?"Date":"Object":"number"==t?"Number":"boolean"==t?"Boolean":"string"==t?"String":void 0===t?"undefined":t},t.copyAndExtendArray=function(e,t){for(var n=[],r=0;r<e.length;r++)n.push(e[r]);return n.push(t),n},t.copyArray=function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},t.getAbsoluteLeft=function(e){return e.getBoundingClientRect().left},t.getAbsoluteRight=function(e){return e.getBoundingClientRect().right},t.getAbsoluteTop=function(e){return e.getBoundingClientRect().top},t.addClassName=function(e,t){var n=e.className.split(" "),r=t.split(" ");n=n.concat(r.filter((function(e){return n.indexOf(e)<0}))),e.className=n.join(" ")},t.removeClassName=function(e,t){var n=e.className.split(" "),r=t.split(" ");n=n.filter((function(e){return r.indexOf(e)<0})),e.className=n.join(" ")},t.forEach=function(e,t){var n,r;if(Array.isArray(e))for(n=0,r=e.length;n<r;n++)t(e[n],n,e);else for(n in e)e.hasOwnProperty(n)&&t(e[n],n,e)},t.toArray=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},t.updateProperty=function(e,t,n){return e[t]!==n&&(e[t]=n,!0)},t.throttle=function(e){var t=!1;return function(){t||(t=!0,requestAnimationFrame((function(){t=!1,e()})))}},t.addEventListener=function(e,t,n,r){e.addEventListener?(void 0===r&&(r=!1),"mousewheel"===t&&navigator.userAgent.indexOf("Firefox")>=0&&(t="DOMMouseScroll"),e.addEventListener(t,n,r)):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n,r){e.removeEventListener?(void 0===r&&(r=!1),"mousewheel"===t&&navigator.userAgent.indexOf("Firefox")>=0&&(t="DOMMouseScroll"),e.removeEventListener(t,n,r)):e.detachEvent("on"+t,n)},t.preventDefault=function(e){e||(e=window.event),e.preventDefault?e.preventDefault():e.returnValue=!1},t.getTarget=function(e){var t;return e||(e=window.event),e.target?t=e.target:e.srcElement&&(t=e.srcElement),null!=t.nodeType&&3==t.nodeType&&(t=t.parentNode),t},t.hasParent=function(e,t){for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1},t.option={},t.option.asBoolean=function(e,t){return"function"==typeof e&&(e=e()),null!=e?0!=e:t||null},t.option.asNumber=function(e,t){return"function"==typeof e&&(e=e()),null!=e?Number(e)||t||null:t||null},t.option.asString=function(e,t){return"function"==typeof e&&(e=e()),null!=e?String(e):t||null},t.option.asSize=function(e,n){return"function"==typeof e&&(e=e()),t.isString(e)?e:t.isNumber(e)?e+"px":n||null},t.option.asElement=function(e,t){return"function"==typeof e&&(e=e()),e||t||null},t.hexToRGB=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},t.overrideOpacity=function(e,n){var r;return-1!=e.indexOf("rgba")?e:-1!=e.indexOf("rgb")?"rgba("+(r=e.substr(e.indexOf("(")+1).replace(")","").split(","))[0]+","+r[1]+","+r[2]+","+n+")":null==(r=t.hexToRGB(e))?e:"rgba("+r.r+","+r.g+","+r.b+","+n+")"},t.RGBToHex=function(e,t,n){return"#"+((1<<24)+(e<<16)+(t<<8)+n).toString(16).slice(1)},t.parseColor=function(e){var n;if(!0===t.isString(e)){if(!0===t.isValidRGB(e)){var r=e.substr(4).substr(0,e.length-5).split(",").map((function(e){return parseInt(e)}));e=t.RGBToHex(r[0],r[1],r[2])}if(!0===t.isValidHex(e)){var i=t.hexToHSV(e),o={h:i.h,s:.8*i.s,v:Math.min(1,1.02*i.v)},a={h:i.h,s:Math.min(1,1.25*i.s),v:.8*i.v},s=t.HSVToHex(a.h,a.s,a.v),u=t.HSVToHex(o.h,o.s,o.v);n={background:e,border:s,highlight:{background:u,border:s},hover:{background:u,border:s}}}else n={background:e,border:e,highlight:{background:e,border:e},hover:{background:e,border:e}}}else(n={}).background=e.background||void 0,n.border=e.border||void 0,t.isString(e.highlight)?n.highlight={border:e.highlight,background:e.highlight}:(n.highlight={},n.highlight.background=e.highlight&&e.highlight.background||void 0,n.highlight.border=e.highlight&&e.highlight.border||void 0),t.isString(e.hover)?n.hover={border:e.hover,background:e.hover}:(n.hover={},n.hover.background=e.hover&&e.hover.background||void 0,n.hover.border=e.hover&&e.hover.border||void 0);return n},t.RGBToHSV=function(e,t,n){e/=255,t/=255,n/=255;var r=Math.min(e,Math.min(t,n)),i=Math.max(e,Math.max(t,n));return r==i?{h:0,s:0,v:r}:{h:60*((e==r?3:n==r?1:5)-(e==r?t-n:n==r?e-t:n-e)/(i-r))/360,s:(i-r)/i,v:i}};var f=function(e){var t={};return e.split(";").forEach((function(e){if(""!=e.trim()){var n=e.split(":"),r=n[0].trim(),i=n[1].trim();t[r]=i}})),t},h=function(e){return(0,o.default)(e).map((function(t){return t+": "+e[t]})).join("; ")};t.addCssText=function(e,n){var r=f(e.style.cssText),i=f(n),o=t.extend(r,i);e.style.cssText=h(o)},t.removeCssText=function(e,t){var n=f(e.style.cssText),r=f(t);for(var i in r)r.hasOwnProperty(i)&&delete n[i];e.style.cssText=h(n)},t.HSVToRGB=function(e,t,n){var r,i,o,a=Math.floor(6*e),s=6*e-a,u=n*(1-t),l=n*(1-s*t),c=n*(1-(1-s)*t);switch(a%6){case 0:r=n,i=c,o=u;break;case 1:r=l,i=n,o=u;break;case 2:r=u,i=n,o=c;break;case 3:r=u,i=l,o=n;break;case 4:r=c,i=u,o=n;break;case 5:r=n,i=u,o=l}return{r:Math.floor(255*r),g:Math.floor(255*i),b:Math.floor(255*o)}},t.HSVToHex=function(e,n,r){var i=t.HSVToRGB(e,n,r);return t.RGBToHex(i.r,i.g,i.b)},t.hexToHSV=function(e){var n=t.hexToRGB(e);return t.RGBToHSV(n.r,n.g,n.b)},t.isValidHex=function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},t.isValidRGB=function(e){return e=e.replace(" ",""),/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/i.test(e)},t.isValidRGBA=function(e){return e=e.replace(" ",""),/rgba\((\d{1,3}),(\d{1,3}),(\d{1,3}),(.{1,3})\)/i.test(e)},t.selectiveBridgeObject=function(e,n){if(null!==n&&"object"===(void 0===n?"undefined":(0,a.default)(n))){for(var r=(0,i.default)(n),o=0;o<e.length;o++)n.hasOwnProperty(e[o])&&"object"==(0,a.default)(n[e[o]])&&(r[e[o]]=t.bridgeObject(n[e[o]]));return r}return null},t.bridgeObject=function(e){if(null!==e&&"object"===(void 0===e?"undefined":(0,a.default)(e))){var n=(0,i.default)(e);if(e instanceof Element)n=e;else for(var r in n=(0,i.default)(e),e)e.hasOwnProperty(r)&&"object"==(0,a.default)(e[r])&&(n[r]=t.bridgeObject(e[r]));return n}return null},t.insertSort=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n],i=n;i>0&&t(r,e[i-1])<0;i--)e[i]=e[i-1];e[i]=r}return e},t.mergeOptions=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(e){return null!=e},s=function(e){return null!==e&&"object"===(void 0===e?"undefined":(0,a.default)(e))},u=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0};if(!s(e))throw new Error("Parameter mergeTarget must be an object");if(!s(t))throw new Error("Parameter options must be an object");if(!o(n))throw new Error("Parameter option must have a value");if(!s(r))throw new Error("Parameter globalOptions must be an object");var l=function(e,t,n){s(e[n])||(e[n]={});var r=t[n],i=e[n];for(var o in r)r.hasOwnProperty(o)&&(i[o]=r[o])},c=t[n],d=s(r)&&!u(r),f=d?r[n]:void 0,h=f?f.enabled:void 0;if(void 0!==c){if("boolean"==typeof c)return s(e[n])||(e[n]={}),void(e[n].enabled=c);if(null===c&&!s(e[n])){if(!o(f))return;e[n]=(0,i.default)(f)}if(s(c)){var p=!0;void 0!==c.enabled?p=c.enabled:void 0!==h&&(p=f.enabled),l(e,t,n),e[n].enabled=p}}},t.binarySearchCustom=function(e,t,n,r){for(var i=0,o=0,a=e.length-1;o<=a&&i<1e4;){var s=Math.floor((o+a)/2),u=e[s],l=t(void 0===r?u[n]:u[n][r]);if(0==l)return s;-1==l?o=s+1:a=s-1,i++}return-1},t.binarySearchValue=function(e,t,n,r,i){var o,a,s,u,l=0,c=0,d=e.length-1;for(i=null!=i?i:function(e,t){return e==t?0:e<t?-1:1};c<=d&&l<1e4;){if(u=Math.floor(.5*(d+c)),o=e[Math.max(0,u-1)][n],a=e[u][n],s=e[Math.min(e.length-1,u+1)][n],0==i(a,t))return u;if(i(o,t)<0&&i(a,t)>0)return"before"==r?Math.max(0,u-1):u;if(i(a,t)<0&&i(s,t)>0)return"before"==r?u:Math.min(e.length-1,u+1);i(a,t)<0?c=u+1:d=u-1,l++}return-1},t.easingFunctions={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},t.getScrollBarWidth=function(){var e=document.createElement("p");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),document.body.appendChild(t);var n=e.offsetWidth;t.style.overflow="scroll";var r=e.offsetWidth;return n==r&&(r=t.clientWidth),document.body.removeChild(t),n-r},t.topMost=function(e,t){var n=void 0;Array.isArray(t)||(t=[t]);var i=!0,o=!1,a=void 0;try{for(var s,u=(0,r.default)(e);!(i=(s=u.next()).done);i=!0){var l=s.value;if(l){n=l[t[0]];for(var c=1;c<t.length;c++)n&&(n=n[t[c]]);if(void 0!==n)break}}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return n}},function(e,t,n){e.exports={default:n(194),__esModule:!0}},function(e,t,n){t.__esModule=!0;var r,i=(r=n(6))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){t.__esModule=!0;var r=a(n(196)),i=a(n(30)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,o.default)(t)));e.prototype=(0,i.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){t.__esModule=!0;var r=a(n(142)),i=a(n(144)),o="function"==typeof i.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(r.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t){var n=e.exports={version:"2.6.2"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports={default:n(140),__esModule:!0}},function(e,t,n){e.exports="undefined"!=typeof window&&window.moment||n(154)},function(e,t,n){if("undefined"!=typeof window){var r=n(175),i=window.Hammer||n(176);e.exports=r(i,{preventDefault:"mouse"})}else e.exports=function(){return{on:e=function(){},off:e,destroy:e,emit:e,get:function(t){return{set:e}}};var e}},function(e,t,n){var r=a(n(19)),i=a(n(6)),o=a(n(8));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(2),u=n(44);function l(e,t){if(e&&!Array.isArray(e)&&(t=e,e=null),this._options=t||{},this._data={},this.length=0,this._fieldId=this._options.fieldId||"id",this._type={},this._options.type)for(var n=(0,o.default)(this._options.type),r=0,i=n.length;r<i;r++){var a=n[r],s=this._options.type[a];this._type[a]="Date"==s||"ISODate"==s||"ASPDate"==s?"Date":s}this._subscribers={},e&&this.add(e),this.setOptions(t)}l.prototype.setOptions=function(e){e&&void 0!==e.queue&&(!1===e.queue?this._queue&&(this._queue.destroy(),delete this._queue):(this._queue||(this._queue=u.extend(this,{replace:["add","update","remove"]})),"object"===(0,i.default)(e.queue)&&this._queue.setOptions(e.queue)))},l.prototype.on=function(e,t){var n=this._subscribers[e];n||(this._subscribers[e]=n=[]),n.push({callback:t})},l.prototype.off=function(e,t){var n=this._subscribers[e];n&&(this._subscribers[e]=n.filter((function(e){return e.callback!=t})))},l.prototype._trigger=function(e,t,n){if("*"==e)throw new Error("Cannot trigger event *");var r=[];e in this._subscribers&&(r=r.concat(this._subscribers[e])),"*"in this._subscribers&&(r=r.concat(this._subscribers["*"]));for(var i=0,o=r.length;i<o;i++){var a=r[i];a.callback&&a.callback(e,t,n||null)}},l.prototype.add=function(e,t){var n,r=[];if(Array.isArray(e))for(var o=0,a=e.length;o<a;o++)n=this._addItem(e[o]),r.push(n);else{if(!e||"object"!==(void 0===e?"undefined":(0,i.default)(e)))throw new Error("Unknown dataType");n=this._addItem(e),r.push(n)}return r.length&&this._trigger("add",{items:r},t),r},l.prototype.update=function(e,t){var n=[],r=[],o=[],a=[],u=this,l=u._fieldId,c=function(e){var t=e[l];if(u._data[t]){var i=s.extend({},u._data[t]);t=u._updateItem(e),r.push(t),a.push(e),o.push(i)}else t=u._addItem(e),n.push(t)};if(Array.isArray(e))for(var d=0,f=e.length;d<f;d++)e[d]&&"object"===(0,i.default)(e[d])?c(e[d]):console.warn("Ignoring input item, which is not an object at index "+d);else{if(!e||"object"!==(void 0===e?"undefined":(0,i.default)(e)))throw new Error("Unknown dataType");c(e)}return n.length&&this._trigger("add",{items:n},t),r.length&&this._trigger("update",{items:r,oldData:o,data:a},t),n.concat(r)},l.prototype.get=function(e){var t,n,r,i,a=this,u=s.getType(arguments[0]);if("String"==u||"Number"==u?(t=arguments[0],r=arguments[1]):"Array"==u?(n=arguments[0],r=arguments[1]):r=arguments[0],r&&r.returnType){var l=["Array","Object"];i=-1==l.indexOf(r.returnType)?"Array":r.returnType}else i="Array";var c,d,f,h,p=r&&r.type||this._options.type,m=r&&r.filter,v=[];if(null!=t)(c=a._getItem(t,p))&&m&&!m(c)&&(c=null);else if(null!=n)for(f=0,h=n.length;f<h;f++)c=a._getItem(n[f],p),m&&!m(c)||v.push(c);else for(f=0,h=(d=(0,o.default)(this._data)).length;f<h;f++)c=a._getItem(d[f],p),m&&!m(c)||v.push(c);if(r&&r.order&&null==t&&this._sort(v,r.order),r&&r.fields){var g=r.fields;if(null!=t)c=this._filterFields(c,g);else for(f=0,h=v.length;f<h;f++)v[f]=this._filterFields(v[f],g)}if("Object"==i){var y,b={};for(f=0,h=v.length;f<h;f++)b[(y=v[f]).id]=y;return b}return null!=t?c:v},l.prototype.getIds=function(e){var t,n,r,i,a=this._data,s=e&&e.filter,u=e&&e.order,l=e&&e.type||this._options.type,c=(0,o.default)(a),d=[];if(s)if(u){for(i=[],t=0,n=c.length;t<n;t++)s(r=this._getItem(c[t],l))&&i.push(r);for(this._sort(i,u),t=0,n=i.length;t<n;t++)d.push(i[t][this._fieldId])}else for(t=0,n=c.length;t<n;t++)s(r=this._getItem(c[t],l))&&d.push(r[this._fieldId]);else if(u){for(i=[],t=0,n=c.length;t<n;t++)i.push(a[c[t]]);for(this._sort(i,u),t=0,n=i.length;t<n;t++)d.push(i[t][this._fieldId])}else for(t=0,n=c.length;t<n;t++)d.push((r=a[c[t]])[this._fieldId]);return d},l.prototype.getDataSet=function(){return this},l.prototype.forEach=function(e,t){var n,r,i,a,s=t&&t.filter,u=t&&t.type||this._options.type,l=(0,o.default)(this._data);if(t&&t.order){var c=this.get(t);for(n=0,r=c.length;n<r;n++)e(i=c[n],a=i[this._fieldId])}else for(n=0,r=l.length;n<r;n++)i=this._getItem(a=l[n],u),s&&!s(i)||e(i,a)},l.prototype.map=function(e,t){var n,r,i,a,s=t&&t.filter,u=t&&t.type||this._options.type,l=[],c=(0,o.default)(this._data);for(n=0,r=c.length;n<r;n++)a=this._getItem(i=c[n],u),s&&!s(a)||l.push(e(a,i));return t&&t.order&&this._sort(l,t.order),l},l.prototype._filterFields=function(e,t){if(!e)return e;var n,r,i={},a=(0,o.default)(e),s=a.length;if(Array.isArray(t))for(n=0;n<s;n++)-1!=t.indexOf(r=a[n])&&(i[r]=e[r]);else for(n=0;n<s;n++)t.hasOwnProperty(r=a[n])&&(i[t[r]]=e[r]);return i},l.prototype._sort=function(e,t){if(s.isString(t)){var n=t;e.sort((function(e,t){var r=e[n],i=t[n];return r>i?1:r<i?-1:0}))}else{if("function"!=typeof t)throw new TypeError("Order must be a function or a string");e.sort(t)}},l.prototype.remove=function(e,t){var n,r,i,o,a,s=[],u=[];for(r=0,i=(n=Array.isArray(e)?e:[e]).length;r<i;r++)(a=this._remove(n[r]))&&null!=(o=a[this._fieldId])&&(s.push(o),u.push(a));return s.length&&this._trigger("remove",{items:s,oldData:u},t),s},l.prototype._remove=function(e){var t,n;return s.isNumber(e)||s.isString(e)?n=e:e&&"object"===(void 0===e?"undefined":(0,i.default)(e))&&(n=e[this._fieldId]),void 0!==n&&this._data[n]?(t=this._data[n],delete this._data[n],this.length--,t):null},l.prototype.clear=function(e){var t,n,r=(0,o.default)(this._data),i=[];for(t=0,n=r.length;t<n;t++)i.push(this._data[r[t]]);return this._data={},this.length=0,this._trigger("remove",{items:r,oldData:i},e),r},l.prototype.max=function(e){var t,n,r=this._data,i=(0,o.default)(r),a=null,s=null;for(t=0,n=i.length;t<n;t++){var u=r[i[t]],l=u[e];null!=l&&(!a||l>s)&&(a=u,s=l)}return a},l.prototype.min=function(e){var t,n,r=this._data,i=(0,o.default)(r),a=null,s=null;for(t=0,n=i.length;t<n;t++){var u=r[i[t]],l=u[e];null!=l&&(!a||l<s)&&(a=u,s=l)}return a},l.prototype.distinct=function(e){var t,n,r,i=this._data,a=(0,o.default)(i),u=[],l=this._options.type&&this._options.type[e]||null,c=0;for(t=0,r=a.length;t<r;t++){var d=i[a[t]][e],f=!1;for(n=0;n<c;n++)if(u[n]==d){f=!0;break}f||void 0===d||(u[c]=d,c++)}if(l)for(t=0,r=u.length;t<r;t++)u[t]=s.convert(u[t],l);return u},l.prototype._addItem=function(e){var t=e[this._fieldId];if(null!=t){if(this._data[t])throw new Error("Cannot add item: item with id "+t+" already exists")}else t=s.randomUUID(),e[this._fieldId]=t;var n,r,i={},a=(0,o.default)(e);for(n=0,r=a.length;n<r;n++){var u=a[n];i[u]=s.convert(e[u],this._type[u])}return this._data[t]=i,this.length++,t},l.prototype._getItem=function(e,t){var n,r,i,a,u=this._data[e];if(!u)return null;var l={},c=(0,o.default)(u);if(t)for(i=0,a=c.length;i<a;i++)r=u[n=c[i]],l[n]=s.convert(r,t[n]);else for(i=0,a=c.length;i<a;i++)r=u[n=c[i]],l[n]=r;return l[this._fieldId]||(l[this._fieldId]=u.id),l},l.prototype._updateItem=function(e){var t=e[this._fieldId];if(null==t)throw new Error("Cannot update item: item has no id (item: "+(0,r.default)(e)+")");var n=this._data[t];if(!n)throw new Error("Cannot update item: no item with id "+t+" found");for(var i=(0,o.default)(e),a=0,u=i.length;a<u;a++){var l=i[a];n[l]=s.convert(e[l],this._type[l])}return t},e.exports=l},function(e,t,n){var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(2),a=n(11);function s(e,t){this._data=null,this._ids={},this.length=0,this._options=t||{},this._fieldId="id",this._subscribers={};var n=this;this.listener=function(){n._onEvent.apply(n,arguments)},this.setData(e)}s.prototype.setData=function(e){var t,n,r,i;if(this._data){for(this._data.off&&this._data.off("*",this.listener),i=[],n=0,r=(t=this._data.getIds({filter:this._options&&this._options.filter})).length;n<r;n++)i.push(this._data._data[t[n]]);this._ids={},this.length=0,this._trigger("remove",{items:t,oldData:i})}if(this._data=e,this._data){for(this._fieldId=this._options.fieldId||this._data&&this._data.options&&this._data.options.fieldId||"id",n=0,r=(t=this._data.getIds({filter:this._options&&this._options.filter})).length;n<r;n++)this._ids[t[n]]=!0;this.length=t.length,this._trigger("add",{items:t}),this._data.on&&this._data.on("*",this.listener)}},s.prototype.refresh=function(){var e,t,n,r=this._data.getIds({filter:this._options&&this._options.filter}),o=(0,i.default)(this._ids),a={},s=[],u=[],l=[];for(t=0,n=r.length;t<n;t++)a[e=r[t]]=!0,this._ids[e]||(s.push(e),this._ids[e]=!0);for(t=0,n=o.length;t<n;t++)a[e=o[t]]||(u.push(e),l.push(this._data._data[e]),delete this._ids[e]);this.length+=s.length-u.length,s.length&&this._trigger("add",{items:s}),u.length&&this._trigger("remove",{items:u,oldData:l})},s.prototype.get=function(e){var t,n,r,i=this,a=o.getType(arguments[0]);"String"==a||"Number"==a||"Array"==a?(t=arguments[0],n=arguments[1],r=arguments[2]):(n=arguments[0],r=arguments[1]);var s=o.extend({},this._options,n);this._options.filter&&n&&n.filter&&(s.filter=function(e){return i._options.filter(e)&&n.filter(e)});var u=[];return null!=t&&u.push(t),u.push(s),u.push(r),this._data&&this._data.get.apply(this._data,u)},s.prototype.getIds=function(e){var t;if(this._data){var n=this._options.filter;t=this._data.getIds({filter:e&&e.filter?n?function(t){return n(t)&&e.filter(t)}:e.filter:n,order:e&&e.order})}else t=[];return t},s.prototype.map=function(e,t){var n=[];if(this._data){var r=this._options.filter;n=this._data.map(e,{filter:t&&t.filter?r?function(e){return r(e)&&t.filter(e)}:t.filter:r,order:t&&t.order})}else n=[];return n},s.prototype.getDataSet=function(){for(var e=this;e instanceof s;)e=e._data;return e||null},s.prototype._onEvent=function(e,t,n){var r,i,o,a=t&&t.items,s=[],u=[],l=[],c=[],d=[],f=[];if(a&&this._data){switch(e){case"add":for(r=0,i=a.length;r<i;r++)this.get(o=a[r])&&(this._ids[o]=!0,s.push(o));break;case"update":for(r=0,i=a.length;r<i;r++)this.get(o=a[r])?this._ids[o]?(u.push(o),d.push(t.data[r]),c.push(t.oldData[r])):(this._ids[o]=!0,s.push(o)):this._ids[o]&&(delete this._ids[o],l.push(o),f.push(t.oldData[r]));break;case"remove":for(r=0,i=a.length;r<i;r++)this._ids[o=a[r]]&&(delete this._ids[o],l.push(o),f.push(t.oldData[r]))}this.length+=s.length-l.length,s.length&&this._trigger("add",{items:s},n),u.length&&this._trigger("update",{items:u,oldData:c,data:d},n),l.length&&this._trigger("remove",{items:l,oldData:f},n)}},s.prototype.on=a.prototype.on,s.prototype.off=a.prototype.off,s.prototype._trigger=a.prototype._trigger,s.prototype.subscribe=s.prototype.on,s.prototype.unsubscribe=s.prototype.off,e.exports=s},function(e,t,n){var r=n(58)("wks"),i=n(41),o=n(18).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){t.prepareElements=function(e){for(var t in e)e.hasOwnProperty(t)&&(e[t].redundant=e[t].used,e[t].used=[])},t.cleanupElements=function(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t].redundant){for(var n=0;n<e[t].redundant.length;n++)e[t].redundant[n].parentNode.removeChild(e[t].redundant[n]);e[t].redundant=[]}},t.resetElements=function(e){t.prepareElements(e),t.cleanupElements(e),t.prepareElements(e)},t.getSVGElement=function(e,t,n){var r;return t.hasOwnProperty(e)?t[e].redundant.length>0?(r=t[e].redundant[0],t[e].redundant.shift()):(r=document.createElementNS("http://www.w3.org/2000/svg",e),n.appendChild(r)):(r=document.createElementNS("http://www.w3.org/2000/svg",e),t[e]={used:[],redundant:[]},n.appendChild(r)),t[e].used.push(r),r},t.getDOMElement=function(e,t,n,r){var i;return t.hasOwnProperty(e)?t[e].redundant.length>0?(i=t[e].redundant[0],t[e].redundant.shift()):(i=document.createElement(e),void 0!==r?n.insertBefore(i,r):n.appendChild(i)):(i=document.createElement(e),t[e]={used:[],redundant:[]},void 0!==r?n.insertBefore(i,r):n.appendChild(i)),t[e].used.push(i),i},t.drawPoint=function(e,n,r,i,o,a){var s;if("circle"==r.style?((s=t.getSVGElement("circle",i,o)).setAttributeNS(null,"cx",e),s.setAttributeNS(null,"cy",n),s.setAttributeNS(null,"r",.5*r.size)):((s=t.getSVGElement("rect",i,o)).setAttributeNS(null,"x",e-.5*r.size),s.setAttributeNS(null,"y",n-.5*r.size),s.setAttributeNS(null,"width",r.size),s.setAttributeNS(null,"height",r.size)),void 0!==r.styles&&s.setAttributeNS(null,"style",r.styles),s.setAttributeNS(null,"class",r.className+" vis-point"),a){var u=t.getSVGElement("text",i,o);a.xOffset&&(e+=a.xOffset),a.yOffset&&(n+=a.yOffset),a.content&&(u.textContent=a.content),a.className&&u.setAttributeNS(null,"class",a.className+" vis-label"),u.setAttributeNS(null,"x",e),u.setAttributeNS(null,"y",n)}return s},t.drawBar=function(e,n,r,i,o,a,s,u){if(0!=i){i<0&&(n-=i*=-1);var l=t.getSVGElement("rect",a,s);l.setAttributeNS(null,"x",e-.5*r),l.setAttributeNS(null,"y",n),l.setAttributeNS(null,"width",r),l.setAttributeNS(null,"height",i),l.setAttributeNS(null,"class",o),u&&l.setAttributeNS(null,"style",u)}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.printStyle=void 0;var r=u(n(19)),i=u(n(6)),o=u(n(8)),a=u(n(0)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=n(2),c=!1,d=void 0,f="background: #FFeeee; color: #dd0000",h=function(){function e(){(0,a.default)(this,e)}return(0,s.default)(e,null,[{key:"validate",value:function(t,n,r){c=!1,d=n;var i=n;return void 0!==r&&(i=n[r]),e.parse(t,i,[]),c}},{key:"parse",value:function(t,n,r){for(var i in t)t.hasOwnProperty(i)&&e.check(i,t,n,r)}},{key:"check",value:function(t,n,r,i){if(void 0!==r[t]||void 0!==r.__any__){var o=t,a=!0;void 0===r[t]&&void 0!==r.__any__&&(o="__any__",a="object"===e.getType(n[t]));var s=r[o];a&&void 0!==s.__type__&&(s=s.__type__),e.checkFields(t,n,r,o,s,i)}else e.getSuggestion(t,r,i)}},{key:"checkFields",value:function(t,n,r,i,a,s){var u=function(n){console.log("%c"+n+e.printLocation(s,t),f)},d=e.getType(n[t]),h=a[d];void 0!==h?"array"===e.getType(h)&&-1===h.indexOf(n[t])?(u('Invalid option detected in "'+t+'". Allowed values are:'+e.print(h)+' not "'+n[t]+'". '),c=!0):"object"===d&&"__any__"!==i&&(s=l.copyAndExtendArray(s,t),e.parse(n[t],r[i],s)):void 0===a.any&&(u('Invalid type received for "'+t+'". Expected: '+e.print((0,o.default)(a))+". Received ["+d+'] "'+n[t]+'"'),c=!0)}},{key:"getType",value:function(e){var t=void 0===e?"undefined":(0,i.default)(e);return"object"===t?null===e?"null":e instanceof Boolean?"boolean":e instanceof Number?"number":e instanceof String?"string":Array.isArray(e)?"array":e instanceof Date?"date":void 0!==e.nodeType?"dom":!0===e._isAMomentObject?"moment":"object":"number"===t?"number":"boolean"===t?"boolean":"string"===t?"string":void 0===t?"undefined":t}},{key:"getSuggestion",value:function(t,n,r){var i,a=e.findInOptions(t,n,r,!1),s=e.findInOptions(t,d,[],!0);i=void 0!==a.indexMatch?" in "+e.printLocation(a.path,t,"")+'Perhaps it was incomplete? Did you mean: "'+a.indexMatch+'"?\n\n':s.distance<=4&&a.distance>s.distance?" in "+e.printLocation(a.path,t,"")+"Perhaps it was misplaced? Matching option found at: "+e.printLocation(s.path,s.closestMatch,""):a.distance<=8?'. Did you mean "'+a.closestMatch+'"?'+e.printLocation(a.path,t):". Did you mean one of these: "+e.print((0,o.default)(n))+e.printLocation(r,t),console.log('%cUnknown option detected: "'+t+'"'+i,f),c=!0}},{key:"findInOptions",value:function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=1e9,a="",s=[],u=t.toLowerCase(),c=void 0;for(var d in n){var f=void 0;if(void 0!==n[d].__type__&&!0===i){var h=e.findInOptions(t,n[d],l.copyAndExtendArray(r,d));o>h.distance&&(a=h.closestMatch,s=h.path,o=h.distance,c=h.indexMatch)}else-1!==d.toLowerCase().indexOf(u)&&(c=d),o>(f=e.levenshteinDistance(t,d))&&(a=d,s=l.copyArray(r),o=f)}return{closestMatch:a,path:s,distance:o,indexMatch:c}}},{key:"printLocation",value:function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Problem value found at: \n",r="\n\n"+n+"options = {\n",i=0;i<e.length;i++){for(var o=0;o<i+1;o++)r+="  ";r+=e[i]+": {\n"}for(var a=0;a<e.length+1;a++)r+="  ";r+=t+"\n";for(var s=0;s<e.length+1;s++){for(var u=0;u<e.length-s;u++)r+="  ";r+="}\n"}return r+"\n\n"}},{key:"print",value:function(e){return(0,r.default)(e).replace(/(\")|(\[)|(\])|(,"__type__")/g,"").replace(/(\,)/g,", ")}},{key:"levenshteinDistance",value:function(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;var n,r,i=[];for(n=0;n<=t.length;n++)i[n]=[n];for(r=0;r<=e.length;r++)i[0][r]=r;for(n=1;n<=t.length;n++)for(r=1;r<=e.length;r++)i[n][r]=t.charAt(n-1)==e.charAt(r-1)?i[n-1][r-1]:Math.min(i[n-1][r-1]+1,Math.min(i[n][r-1]+1,i[n-1][r]+1));return i[t.length][e.length]}}]),e}();t.default=h,t.printStyle=f},function(e,t,n){var r=n(2);function i(e,t){this.options=null,this.props=null}i.prototype.setOptions=function(e){e&&r.extend(this.options,e)},i.prototype.redraw=function(){return!1},i.prototype.destroy=function(){},i.prototype._isResized=function(){var e=this.props._previousWidth!==this.props.width||this.props._previousHeight!==this.props.height;return this.props._previousWidth=this.props.width,this.props._previousHeight=this.props.height,e},e.exports=i},function(e,t,n){var r=n(18),i=n(7),o=n(80),a=n(26),s=n(22),u=function e(t,n,u){var l,c,d,f=t&e.F,h=t&e.G,p=t&e.S,m=t&e.P,v=t&e.B,g=t&e.W,y=h?i:i[n]||(i[n]={}),b=y.prototype,_=h?r:p?r[n]:(r[n]||{}).prototype;for(l in h&&(u=n),u)(c=!f&&_&&void 0!==_[l])&&s(y,l)||(d=c?_[l]:u[l],y[l]=h&&"function"!=typeof _[l]?u[l]:v&&c?o(d,r):g&&_[l]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[l]=d,t&e.R&&b&&!b[l]&&a(b,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){e.exports={default:n(160),__esModule:!0}},function(e,t,n){var r=n(27),i=n(81),o=n(54),a=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(29)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(6)),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t,n,r){(0,i.default)(this,e),this.body=n,this.labelModule=r,this.setOptions(t),this.top=void 0,this.left=void 0,this.height=void 0,this.width=void 0,this.radius=void 0,this.margin=void 0,this.refreshNeeded=!0,this.boundingBox={top:0,left:0,right:0,bottom:0}}return(0,o.default)(e,[{key:"setOptions",value:function(e){this.options=e}},{key:"_setMargins",value:function(e){this.margin={},this.options.margin&&("object"==(0,r.default)(this.options.margin)?(this.margin.top=this.options.margin.top,this.margin.right=this.options.margin.right,this.margin.bottom=this.options.margin.bottom,this.margin.left=this.options.margin.left):(this.margin.top=this.options.margin,this.margin.right=this.options.margin,this.margin.bottom=this.options.margin,this.margin.left=this.options.margin)),e.adjustSizes(this.margin)}},{key:"_distanceToBorder",value:function(e,t){var n=this.options.borderWidth;return this.resize(e),Math.min(Math.abs(this.width/2/Math.cos(t)),Math.abs(this.height/2/Math.sin(t)))+n}},{key:"enableShadow",value:function(e,t){t.shadow&&(e.shadowColor=t.shadowColor,e.shadowBlur=t.shadowSize,e.shadowOffsetX=t.shadowX,e.shadowOffsetY=t.shadowY)}},{key:"disableShadow",value:function(e,t){t.shadow&&(e.shadowColor="rgba(0,0,0,0)",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0)}},{key:"enableBorderDashes",value:function(e,t){if(!1!==t.borderDashes)if(void 0!==e.setLineDash){var n=t.borderDashes;!0===n&&(n=[5,15]),e.setLineDash(n)}else console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,t.borderDashes=!1}},{key:"disableBorderDashes",value:function(e,t){!1!==t.borderDashes&&(void 0!==e.setLineDash?e.setLineDash([0]):(console.warn("setLineDash is not supported in this browser. The dashed borders cannot be used."),this.options.shapeProperties.borderDashes=!1,t.borderDashes=!1))}},{key:"needsRefresh",value:function(e,t){return!0===this.refreshNeeded?(this.refreshNeeded=!1,!0):void 0===this.width||this.labelModule.differentState(e,t)}},{key:"initContextForDraw",value:function(e,t){e.lineWidth=Math.min(this.width,t.borderWidth/this.body.view.scale),e.strokeStyle=t.borderColor,e.fillStyle=t.color}},{key:"performStroke",value:function(e,t){var n=t.borderWidth/this.body.view.scale;e.save(),n>0&&(this.enableBorderDashes(e,t),e.stroke(),this.disableBorderDashes(e,t)),e.restore()}},{key:"performFill",value:function(e,t){this.enableShadow(e,t),e.fill(),this.disableShadow(e,t),this.performStroke(e,t)}},{key:"_addBoundingBoxMargin",value:function(e){this.boundingBox.left-=e,this.boundingBox.top-=e,this.boundingBox.bottom+=e,this.boundingBox.right+=e}},{key:"_updateBoundingBox",value:function(e,t,n,r,i){void 0!==n&&this.resize(n,r,i),this.left=e-this.width/2,this.top=t-this.height/2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=this.top+this.height,this.boundingBox.right=this.left+this.width}},{key:"updateBoundingBox",value:function(e,t,n,r,i){this._updateBoundingBox(e,t,n,r,i)}},{key:"getDimensionsFromLabel",value:function(e,t,n){this.textSize=this.labelModule.getTextSize(e,t,n);var r=this.textSize.width,i=this.textSize.height;return 0===r&&(r=14,i=14),{width:r,height:i}}}]),e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{size:this.options.size};if(this.needsRefresh(t,n)){this.labelModule.getTextSize(e,t,n);var i=2*r.size;this.width=i,this.height=i,this.radius=.5*this.width}}},{key:"_drawShape",value:function(e,t,n,r,i,o,a,s){this.resize(e,o,a,s),this.left=r-this.width/2,this.top=i-this.height/2,this.initContextForDraw(e,s),e[t](r,i,s.size),this.performFill(e,s),void 0!==this.options.icon&&void 0!==this.options.icon.code&&(e.font=(o?"bold ":"")+this.height/2+"px "+(this.options.icon.face||"FontAwesome"),e.fillStyle=this.options.icon.color||"black",e.textAlign="center",e.textBaseline="middle",e.fillText(this.options.icon.code,r,i)),void 0!==this.options.label&&(this.labelModule.calculateLabelSize(e,o,a,r,i,"hanging"),this.labelModule.draw(e,r,i+.5*this.height+.5*this.labelModule.size.height,o,a,"hanging")),this.updateBoundingBox(r,i)}},{key:"updateBoundingBox",value:function(e,t){this.boundingBox.top=t-this.options.size,this.boundingBox.left=e-this.options.size,this.boundingBox.right=e+this.options.size,this.boundingBox.bottom=t+this.options.size,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height))}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){var r=n(78),i=n(53);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(20),i=n(40);e.exports=n(21)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(28);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){e.exports={default:n(138),__esModule:!0}},function(e,t,n){t.__esModule=!0;var r=o(n(188)),i=o(n(50));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var s,u=(0,i.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports={}},function(e,t,n){var r=n(84),i=n(59);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){function r(e,t,n){this.x=void 0!==e?e:0,this.y=void 0!==t?t:0,this.z=void 0!==n?n:0}r.subtract=function(e,t){var n=new r;return n.x=e.x-t.x,n.y=e.y-t.y,n.z=e.z-t.z,n},r.add=function(e,t){var n=new r;return n.x=e.x+t.x,n.y=e.y+t.y,n.z=e.z+t.z,n},r.avg=function(e,t){return new r((e.x+t.x)/2,(e.y+t.y)/2,(e.z+t.z)/2)},r.crossProduct=function(e,t){var n=new r;return n.x=e.y*t.z-e.z*t.y,n.y=e.z*t.x-e.x*t.z,n.z=e.x*t.y-e.y*t.x,n},r.prototype.length=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},e.exports=r},function(e,t,n){var r,i;void 0===(i="function"==typeof(r=function(){return function(e){var t,n=e&&e.preventDefault||!1,r=e&&e.container||window,i={},o={keydown:{},keyup:{}},a={};for(t=97;t<=122;t++)a[String.fromCharCode(t)]={code:t-97+65,shift:!1};for(t=65;t<=90;t++)a[String.fromCharCode(t)]={code:t,shift:!0};for(t=0;t<=9;t++)a[""+t]={code:48+t,shift:!1};for(t=1;t<=12;t++)a["F"+t]={code:111+t,shift:!1};for(t=0;t<=9;t++)a["num"+t]={code:96+t,shift:!1};a["num*"]={code:106,shift:!1},a["num+"]={code:107,shift:!1},a["num-"]={code:109,shift:!1},a["num/"]={code:111,shift:!1},a["num."]={code:110,shift:!1},a.left={code:37,shift:!1},a.up={code:38,shift:!1},a.right={code:39,shift:!1},a.down={code:40,shift:!1},a.space={code:32,shift:!1},a.enter={code:13,shift:!1},a.shift={code:16,shift:void 0},a.esc={code:27,shift:!1},a.backspace={code:8,shift:!1},a.tab={code:9,shift:!1},a.ctrl={code:17,shift:!1},a.alt={code:18,shift:!1},a.delete={code:46,shift:!1},a.pageup={code:33,shift:!1},a.pagedown={code:34,shift:!1},a["="]={code:187,shift:!1},a["-"]={code:189,shift:!1},a["]"]={code:221,shift:!1},a["["]={code:219,shift:!1};var s=function(e){l(e,"keydown")},u=function(e){l(e,"keyup")},l=function(e,t){if(void 0!==o[t][e.keyCode]){for(var r=o[t][e.keyCode],i=0;i<r.length;i++)(void 0===r[i].shift||1==r[i].shift&&1==e.shiftKey||0==r[i].shift&&0==e.shiftKey)&&r[i].fn(e);1==n&&e.preventDefault()}};return i.bind=function(e,t,n){if(void 0===n&&(n="keydown"),void 0===a[e])throw new Error("unsupported key: "+e);void 0===o[n][a[e].code]&&(o[n][a[e].code]=[]),o[n][a[e].code].push({fn:t,shift:a[e].shift})},i.bindAll=function(e,t){for(var n in void 0===t&&(t="keydown"),a)a.hasOwnProperty(n)&&i.bind(n,e,t)},i.getKey=function(e){for(var t in a)if(a.hasOwnProperty(t)){if(1==e.shiftKey&&1==a[t].shift&&e.keyCode==a[t].code)return t;if(0==e.shiftKey&&0==a[t].shift&&e.keyCode==a[t].code)return t;if(e.keyCode==a[t].code&&"shift"==t)return t}return"unknown key, currently not supported"},i.unbind=function(e,t,n){if(void 0===n&&(n="keydown"),void 0===a[e])throw new Error("unsupported key: "+e);if(void 0!==t){var r=[],i=o[n][a[e].code];if(void 0!==i)for(var s=0;s<i.length;s++)i[s].fn==t&&i[s].shift==a[e].shift||r.push(o[n][a[e].code][s]);o[n][a[e].code]=r}else o[n][a[e].code]=[]},i.reset=function(){o={keydown:{},keyup:{}}},i.destroy=function(){o={keydown:{},keyup:{}},r.removeEventListener("keydown",s,!0),r.removeEventListener("keyup",u,!0)},r.addEventListener("keydown",s,!0),r.addEventListener("keyup",u,!0),i}})?r.apply(t,[]):r)||(e.exports=i)},function(e,t,n){t.convertHiddenOptions=function(e,n,r){if(r&&!Array.isArray(r))return t.convertHiddenOptions(e,n,[r]);if(n.hiddenDates=[],r&&1==Array.isArray(r)){for(var i=0;i<r.length;i++)if(void 0===r[i].repeat){var o={};o.start=e(r[i].start).toDate().valueOf(),o.end=e(r[i].end).toDate().valueOf(),n.hiddenDates.push(o)}n.hiddenDates.sort((function(e,t){return e.start-t.start}))}},t.updateHiddenDates=function(e,n,r){if(r&&!Array.isArray(r))return t.updateHiddenDates(e,n,[r]);if(r&&void 0!==n.domProps.centerContainer.width){t.convertHiddenOptions(e,n,r);for(var i=e(n.range.start),o=e(n.range.end),a=(n.range.end-n.range.start)/n.domProps.centerContainer.width,s=0;s<r.length;s++)if(void 0!==r[s].repeat){var u=e(r[s].start),l=e(r[s].end);if("Invalid Date"==u._d)throw new Error("Supplied start date is not valid: "+r[s].start);if("Invalid Date"==l._d)throw new Error("Supplied end date is not valid: "+r[s].end);if(l-u>=4*a){var c=0,d=o.clone();switch(r[s].repeat){case"daily":u.day()!=l.day()&&(c=1),u.dayOfYear(i.dayOfYear()),u.year(i.year()),u.subtract(7,"days"),l.dayOfYear(i.dayOfYear()),l.year(i.year()),l.subtract(7-c,"days"),d.add(1,"weeks");break;case"weekly":var f=l.diff(u,"days"),h=u.day();u.date(i.date()),u.month(i.month()),u.year(i.year()),l=u.clone(),u.day(h),l.day(h),l.add(f,"days"),u.subtract(1,"weeks"),l.subtract(1,"weeks"),d.add(1,"weeks");break;case"monthly":u.month()!=l.month()&&(c=1),u.month(i.month()),u.year(i.year()),u.subtract(1,"months"),l.month(i.month()),l.year(i.year()),l.subtract(1,"months"),l.add(c,"months"),d.add(1,"months");break;case"yearly":u.year()!=l.year()&&(c=1),u.year(i.year()),u.subtract(1,"years"),l.year(i.year()),l.subtract(1,"years"),l.add(c,"years"),d.add(1,"years");break;default:return void console.log("Wrong repeat format, allowed are: daily, weekly, monthly, yearly. Given:",r[s].repeat)}for(;u<d;)switch(n.hiddenDates.push({start:u.valueOf(),end:l.valueOf()}),r[s].repeat){case"daily":u.add(1,"days"),l.add(1,"days");break;case"weekly":u.add(1,"weeks"),l.add(1,"weeks");break;case"monthly":u.add(1,"months"),l.add(1,"months");break;case"yearly":u.add(1,"y"),l.add(1,"y");break;default:return void console.log("Wrong repeat format, allowed are: daily, weekly, monthly, yearly. Given:",r[s].repeat)}n.hiddenDates.push({start:u.valueOf(),end:l.valueOf()})}}t.removeDuplicates(n);var p=t.isHidden(n.range.start,n.hiddenDates),m=t.isHidden(n.range.end,n.hiddenDates),v=n.range.start,g=n.range.end;1==p.hidden&&(v=1==n.range.startToFront?p.startDate-1:p.endDate+1),1==m.hidden&&(g=1==n.range.endToFront?m.startDate-1:m.endDate+1),1!=p.hidden&&1!=m.hidden||n.range._applyRange(v,g)}},t.removeDuplicates=function(e){for(var t=e.hiddenDates,n=[],r=0;r<t.length;r++)for(var i=0;i<t.length;i++)r!=i&&1!=t[i].remove&&1!=t[r].remove&&(t[i].start>=t[r].start&&t[i].end<=t[r].end?t[i].remove=!0:t[i].start>=t[r].start&&t[i].start<=t[r].end?(t[r].end=t[i].end,t[i].remove=!0):t[i].end>=t[r].start&&t[i].end<=t[r].end&&(t[r].start=t[i].start,t[i].remove=!0));for(r=0;r<t.length;r++)!0!==t[r].remove&&n.push(t[r]);e.hiddenDates=n,e.hiddenDates.sort((function(e,t){return e.start-t.start}))},t.printDates=function(e){for(var t=0;t<e.length;t++)console.log(t,new Date(e[t].start),new Date(e[t].end),e[t].start,e[t].end,e[t].remove)},t.stepOverHiddenDates=function(e,t,n){for(var r=!1,i=t.current.valueOf(),o=0;o<t.hiddenDates.length;o++){var a=t.hiddenDates[o].end;if(i>=t.hiddenDates[o].start&&i<a){r=!0;break}}if(1==r&&i<t._end.valueOf()&&i!=n){var s=e(n),u=e(a);s.year()!=u.year()?t.switchedYear=!0:s.month()!=u.month()?t.switchedMonth=!0:s.dayOfYear()!=u.dayOfYear()&&(t.switchedDay=!0),t.current=u}},t.toScreen=function(e,n,r){var i;if(0==e.body.hiddenDates.length)return i=e.range.conversion(r),(n.valueOf()-i.offset)*i.scale;var o=t.isHidden(n,e.body.hiddenDates);1==o.hidden&&(n=o.startDate);var a=t.getHiddenDurationBetween(e.body.hiddenDates,e.range.start,e.range.end);if(n<e.range.start){i=e.range.conversion(r,a);var s=t.getHiddenDurationBeforeStart(e.body.hiddenDates,n,i.offset);return n=e.options.moment(n).toDate().valueOf(),-(i.offset-(n+=s).valueOf())*i.scale}return n>e.range.end?(n=t.correctTimeForHidden(e.options.moment,e.body.hiddenDates,{start:e.range.start,end:n},n),i=e.range.conversion(r,a),(n.valueOf()-i.offset)*i.scale):(n=t.correctTimeForHidden(e.options.moment,e.body.hiddenDates,e.range,n),i=e.range.conversion(r,a),(n.valueOf()-i.offset)*i.scale)},t.toTime=function(e,n,r){if(0==e.body.hiddenDates.length){var i=e.range.conversion(r);return new Date(n/i.scale+i.offset)}var o=t.getHiddenDurationBetween(e.body.hiddenDates,e.range.start,e.range.end),a=(e.range.end-e.range.start-o)*n/r,s=t.getAccumulatedHiddenDuration(e.body.hiddenDates,e.range,a);return new Date(s+a+e.range.start)},t.getHiddenDurationBetween=function(e,t,n){for(var r=0,i=0;i<e.length;i++){var o=e[i].start,a=e[i].end;o>=t&&a<n&&(r+=a-o)}return r},t.getHiddenDurationBeforeStart=function(e,t,n){for(var r=0,i=0;i<e.length;i++){var o=e[i].start,a=e[i].end;o>=t&&a<=n&&(r+=a-o)}return r},t.correctTimeForHidden=function(e,n,r,i){return(i=e(i).toDate().valueOf())-t.getHiddenDurationBefore(e,n,r,i)},t.getHiddenDurationBefore=function(e,t,n,r){var i=0;r=e(r).toDate().valueOf();for(var o=0;o<t.length;o++){var a=t[o].start,s=t[o].end;a>=n.start&&s<n.end&&r>=s&&(i+=s-a)}return i},t.getAccumulatedHiddenDuration=function(e,t,n){for(var r=0,i=0,o=t.start,a=0;a<e.length;a++){var s=e[a].start,u=e[a].end;if(s>=t.start&&u<t.end){if(i+=s-o,o=u,i>=n)break;r+=u-s}}return r},t.snapAwayFromHidden=function(e,n,r,i){var o=t.isHidden(n,e);return 1==o.hidden?r<0?1==i?o.startDate-(o.endDate-n)-1:o.startDate-1:1==i?o.endDate+(n-o.startDate)+1:o.endDate+1:n},t.isHidden=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].start,i=t[n].end;if(e>=r&&e<i)return{hidden:!0,startDate:r,endDate:i}}return{hidden:!1,startDate:r,endDate:i}}},function(e,t,n){t.onTouch=function(e,t){t.inputHandler=function(e){e.isFirst&&t(e)},e.on("hammer.input",t.inputHandler)},t.onRelease=function(e,t){return t.inputHandler=function(e){e.isFinal&&t(e)},e.on("hammer.input",t.inputHandler)},t.offTouch=function(e,t){e.off("hammer.input",t.inputHandler)},t.offRelease=t.offTouch,t.disablePreventDefaultVertically=function(e){return e.getTouchAction=function(){return["pan-y"]},e}},function(e,t,n){var r=o(n(6)),i=o(n(8));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(10),s=n(2),u=n(9);function l(e,t,n){this.id=null,this.parent=null,this.data=e,this.dom=null,this.conversion=t||{},this.options=n||{},this.selected=!1,this.displayed=!1,this.groupShowing=!0,this.dirty=!0,this.top=null,this.right=null,this.left=null,this.width=null,this.height=null,this.editable=null,this._updateEditStatus()}l.prototype.stack=!0,l.prototype.select=function(){this.selected=!0,this.dirty=!0,this.displayed&&this.redraw()},l.prototype.unselect=function(){this.selected=!1,this.dirty=!0,this.displayed&&this.redraw()},l.prototype.setData=function(e){null!=e.group&&this.data.group!=e.group&&null!=this.parent&&this.parent.itemSet._moveToGroup(this,e.group),this.parent&&(this.parent.stackDirty=!0),null!=e.subgroup&&this.data.subgroup!=e.subgroup&&null!=this.parent&&this.parent.changeSubgroup(this,this.data.subgroup,e.subgroup),this.data=e,this._updateEditStatus(),this.dirty=!0,this.displayed&&this.redraw()},l.prototype.setParent=function(e){this.displayed?(this.hide(),this.parent=e,this.parent&&this.show()):this.parent=e},l.prototype.isVisible=function(e){return!1},l.prototype.show=function(){return!1},l.prototype.hide=function(){return!1},l.prototype.redraw=function(){},l.prototype.repositionX=function(){},l.prototype.repositionY=function(){},l.prototype._repaintDragCenter=function(){if(this.selected&&this.options.editable.updateTime&&!this.dom.dragCenter){var e=this,t=document.createElement("div");t.className="vis-drag-center",t.dragCenterItem=this;var n=new a(t);n.on("tap",(function(t){e.parent.itemSet.body.emitter.emit("click",{event:t,item:e.id})})),n.on("doubletap",(function(t){t.stopPropagation(),e.parent.itemSet._onUpdateItem(e),e.parent.itemSet.body.emitter.emit("doubleClick",{event:t,item:e.id})})),this.dom.box?this.dom.dragLeft?this.dom.box.insertBefore(t,this.dom.dragLeft):this.dom.box.appendChild(t):this.dom.point&&this.dom.point.appendChild(t),this.dom.dragCenter=t}else!this.selected&&this.dom.dragCenter&&(this.dom.dragCenter.parentNode&&this.dom.dragCenter.parentNode.removeChild(this.dom.dragCenter),this.dom.dragCenter=null)},l.prototype._repaintDeleteButton=function(e){if(this.selected&&((this.options.editable.overrideItems||null==this.editable)&&this.options.editable.remove||!this.options.editable.overrideItems&&null!=this.editable&&this.editable.remove)&&!this.dom.deleteButton){var t=this,n=document.createElement("div");n.className=this.options.rtl?"vis-delete-rtl":"vis-delete",n.title="Delete this item",new a(n).on("tap",(function(e){e.stopPropagation(),t.parent.removeFromDataSet(t)})),e.appendChild(n),this.dom.deleteButton=n}else!this.selected&&this.dom.deleteButton&&(this.dom.deleteButton.parentNode&&this.dom.deleteButton.parentNode.removeChild(this.dom.deleteButton),this.dom.deleteButton=null)},l.prototype._repaintOnItemUpdateTimeTooltip=function(e){if(this.options.tooltipOnItemUpdateTime){var t;if(!this.selected||!this.options.editable.updateTime&&!0!==this.data.editable||!1===this.data.editable||this.dom.onItemUpdateTimeTooltip)!this.selected&&this.dom.onItemUpdateTimeTooltip&&(this.dom.onItemUpdateTimeTooltip.parentNode&&this.dom.onItemUpdateTimeTooltip.parentNode.removeChild(this.dom.onItemUpdateTimeTooltip),this.dom.onItemUpdateTimeTooltip=null);else{var n=document.createElement("div");n.className="vis-onUpdateTime-tooltip",e.appendChild(n),this.dom.onItemUpdateTimeTooltip=n}this.dom.onItemUpdateTimeTooltip&&(this.dom.onItemUpdateTimeTooltip.style.visibility=this.parent.itemSet.touchParams.itemIsDragging?"visible":"hidden",this.options.rtl?this.dom.onItemUpdateTimeTooltip.style.right=this.dom.content.style.right:this.dom.onItemUpdateTimeTooltip.style.left=this.dom.content.style.left,("top"==this.options.orientation.item?this.top:this.parent.height-this.top-this.height)+this.parent.top-50<-this.parent.itemSet.body.domProps.scrollTop?(this.dom.onItemUpdateTimeTooltip.style.bottom="",this.dom.onItemUpdateTimeTooltip.style.top=this.height+2+"px"):(this.dom.onItemUpdateTimeTooltip.style.top="",this.dom.onItemUpdateTimeTooltip.style.bottom=this.height+2+"px"),this.options.tooltipOnItemUpdateTime&&this.options.tooltipOnItemUpdateTime.template?t=this.options.tooltipOnItemUpdateTime.template.bind(this)(this.data):(t="start: "+u(this.data.start).format("MM/DD/YYYY hh:mm"),this.data.end&&(t+="<br> end: "+u(this.data.end).format("MM/DD/YYYY hh:mm"))),this.dom.onItemUpdateTimeTooltip.innerHTML=t)}},l.prototype._updateContents=function(e){var t,n,r,i,o=this.parent.itemSet.itemsData.get(this.id),a=this.dom.box||this.dom.point,s=a.getElementsByClassName("vis-item-visible-frame")[0];if(r=this.options.visibleFrameTemplate?(i=this.options.visibleFrameTemplate.bind(this))(o,a):"",s)if(r instanceof Object&&!(r instanceof Element))i(o,s);else if(this._contentToString(this.itemVisibleFrameContent)!==this._contentToString(r)){if(r instanceof Element)s.innerHTML="",s.appendChild(r);else if(null!=r)s.innerHTML=r;else if("background"!=this.data.type||void 0!==this.data.content)throw new Error('Property "content" missing in item '+this.id);this.itemVisibleFrameContent=r}if((t=this.options.template?(n=this.options.template.bind(this))(o,e,this.data):this.data.content)instanceof Object&&!(t instanceof Element))n(o,e);else if(this._contentToString(this.content)!==this._contentToString(t)){if(t instanceof Element)e.innerHTML="",e.appendChild(t);else if(null!=t)e.innerHTML=t;else if("background"!=this.data.type||void 0!==this.data.content)throw new Error('Property "content" missing in item '+this.id);this.content=t}},l.prototype._updateDataAttributes=function(e){if(this.options.dataAttributes&&this.options.dataAttributes.length>0){var t=[];if(Array.isArray(this.options.dataAttributes))t=this.options.dataAttributes;else{if("all"!=this.options.dataAttributes)return;t=(0,i.default)(this.data)}for(var n=0;n<t.length;n++){var r=t[n],o=this.data[r];null!=o?e.setAttribute("data-"+r,o):e.removeAttribute("data-"+r)}}},l.prototype._updateStyle=function(e){this.style&&(s.removeCssText(e,this.style),this.style=null),this.data.style&&(s.addCssText(e,this.data.style),this.style=this.data.style)},l.prototype._contentToString=function(e){return"string"==typeof e?e:e&&"outerHTML"in e?e.outerHTML:e},l.prototype._updateEditStatus=function(){this.options&&("boolean"==typeof this.options.editable?this.editable={updateTime:this.options.editable,updateGroup:this.options.editable,remove:this.options.editable}:"object"===(0,r.default)(this.options.editable)&&(this.editable={},s.selectiveExtend(["updateTime","updateGroup","remove"],this.editable,this.options.editable))),this.options&&this.options.editable&&!0===this.options.editable.overrideItems||this.data&&("boolean"==typeof this.data.editable?this.editable={updateTime:this.data.editable,updateGroup:this.data.editable,remove:this.data.editable}:"object"===(0,r.default)(this.data.editable)&&(this.editable={},s.selectiveExtend(["updateTime","updateGroup","remove"],this.editable,this.data.editable)))},l.prototype.getWidthLeft=function(){return 0},l.prototype.getWidthRight=function(){return 0},l.prototype.getTitle=function(){return this.data.title},e.exports=l},function(e,t){e.exports=!0},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(53);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){function r(e){this.delay=null,this.max=1/0,this._queue=[],this._timeout=null,this._extended=null,this.setOptions(e)}r.prototype.setOptions=function(e){e&&void 0!==e.delay&&(this.delay=e.delay),e&&void 0!==e.max&&(this.max=e.max),this._flushIfNeeded()},r.extend=function(e,t){var n=new r(t);if(void 0!==e.flush)throw new Error("Target object already has a property flush");e.flush=function(){n.flush()};var i=[{name:"flush",original:void 0}];if(t&&t.replace)for(var o=0;o<t.replace.length;o++){var a=t.replace[o];i.push({name:a,original:e[a]}),n.replace(e,a)}return n._extended={object:e,methods:i},n},r.prototype.destroy=function(){if(this.flush(),this._extended){for(var e=this._extended.object,t=this._extended.methods,n=0;n<t.length;n++){var r=t[n];r.original?e[r.name]=r.original:delete e[r.name]}this._extended=null}},r.prototype.replace=function(e,t){var n=this,r=e[t];if(!r)throw new Error("Method "+t+" undefined");e[t]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n.queue({args:e,fn:r,context:this})}},r.prototype.queue=function(e){this._queue.push("function"==typeof e?{fn:e}:e),this._flushIfNeeded()},r.prototype._flushIfNeeded=function(){if(this._queue.length>this.max&&this.flush(),clearTimeout(this._timeout),this.queue.length>0&&"number"==typeof this.delay){var e=this;this._timeout=setTimeout((function(){e.flush()}),this.delay)}},r.prototype.flush=function(){for(;this._queue.length>0;){var e=this._queue.shift();e.fn.apply(e.context||e.fn,e.args||[])}},e.exports=r},function(e,t){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[e]=this._callbacks[e]||[]).push(t),this},n.prototype.once=function(e,t){var n=this;function r(){n.off(e,r),t.apply(this,arguments)}return this._callbacks=this._callbacks||{},r.fn=t,this.on(e,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks[e];if(!r)return this;if(1==arguments.length)return delete this._callbacks[e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks[e];if(n)for(var r=0,i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=n(2),a=n(16),s=n(67),u=n(36),l=n(9);function c(e,t){this.dom={foreground:null,lines:[],majorTexts:[],minorTexts:[],redundant:{lines:[],majorTexts:[],minorTexts:[]}},this.props={range:{start:0,end:0,minimumStep:0},lineTop:0},this.defaultOptions={orientation:{axis:"bottom"},showMinorLabels:!0,showMajorLabels:!0,maxMinorChars:7,format:s.FORMAT,moment:l,timeAxis:null},this.options=o.extend({},this.defaultOptions),this.body=e,this._create(),this.setOptions(t)}(c.prototype=new a).setOptions=function(e){e&&(o.selectiveExtend(["showMinorLabels","showMajorLabels","maxMinorChars","hiddenDates","timeAxis","moment","rtl"],this.options,e),o.selectiveDeepExtend(["format"],this.options,e),"orientation"in e&&("string"==typeof e.orientation?this.options.orientation.axis=e.orientation:"object"===(0,i.default)(e.orientation)&&"axis"in e.orientation&&(this.options.orientation.axis=e.orientation.axis)),"locale"in e&&("function"==typeof l.locale?l.locale(e.locale):l.lang(e.locale)))},c.prototype._create=function(){this.dom.foreground=document.createElement("div"),this.dom.background=document.createElement("div"),this.dom.foreground.className="vis-time-axis vis-foreground",this.dom.background.className="vis-time-axis vis-background"},c.prototype.destroy=function(){this.dom.foreground.parentNode&&this.dom.foreground.parentNode.removeChild(this.dom.foreground),this.dom.background.parentNode&&this.dom.background.parentNode.removeChild(this.dom.background),this.body=null},c.prototype.redraw=function(){var e=this.props,t=this.dom.foreground,n=this.dom.background,r="top"==this.options.orientation.axis?this.body.dom.top:this.body.dom.bottom,i=t.parentNode!==r;this._calculateCharSize();var o=this.options.showMajorLabels&&"none"!==this.options.orientation.axis;e.minorLabelHeight=this.options.showMinorLabels&&"none"!==this.options.orientation.axis?e.minorCharHeight:0,e.majorLabelHeight=o?e.majorCharHeight:0,e.height=e.minorLabelHeight+e.majorLabelHeight,e.width=t.offsetWidth,e.minorLineHeight=this.body.domProps.root.height-e.majorLabelHeight-("top"==this.options.orientation.axis?this.body.domProps.bottom.height:this.body.domProps.top.height),e.minorLineWidth=1,e.majorLineHeight=e.minorLineHeight+e.majorLabelHeight,e.majorLineWidth=1;var a=t.nextSibling,s=n.nextSibling;return t.parentNode&&t.parentNode.removeChild(t),n.parentNode&&n.parentNode.removeChild(n),t.style.height=this.props.height+"px",this._repaintLabels(),a?r.insertBefore(t,a):r.appendChild(t),s?this.body.dom.backgroundVertical.insertBefore(n,s):this.body.dom.backgroundVertical.appendChild(n),this._isResized()||i},c.prototype._repaintLabels=function(){var e=this.options.orientation.axis,t=o.convert(this.body.range.start,"Number"),n=o.convert(this.body.range.end,"Number"),r=this.body.util.toTime((this.props.minorCharWidth||10)*this.options.maxMinorChars).valueOf(),i=r-u.getHiddenDurationBefore(this.options.moment,this.body.hiddenDates,this.body.range,r);i-=this.body.util.toTime(0).valueOf();var a=new s(new Date(t),new Date(n),i,this.body.hiddenDates,this.options);a.setMoment(this.options.moment),this.options.format&&a.setFormat(this.options.format),this.options.timeAxis&&a.setScale(this.options.timeAxis),this.step=a;var l,c,f,h,p,m=this.dom;m.redundant.lines=m.lines,m.redundant.majorTexts=m.majorTexts,m.redundant.minorTexts=m.minorTexts,m.lines=[],m.majorTexts=[],m.minorTexts=[];var v,g,y,b,_=0,w=void 0,E=0;for(a.start(),l=a.getCurrent(),f=this.body.util.toScreen(l);a.hasNext()&&E<1e3;){switch(E++,h=a.isMajor(),b=a.getClassName(),y=a.getLabelMinor(),c=f,a.next(),l=a.getCurrent(),a.isMajor(),v=_,_=(f=this.body.util.toScreen(l))-c,a.scale){case"week":p=!0;break;default:p=_>=.4*v}if(this.options.showMinorLabels&&p){var C=this._repaintMinorText(c,y,e,b);C.style.width=_+"px"}h&&this.options.showMajorLabels?(c>0&&(null==w&&(w=c),C=this._repaintMajorText(c,a.getLabelMajor(),e,b)),g=this._repaintMajorLine(c,_,e,b)):p?g=this._repaintMinorLine(c,_,e,b):g&&(g.style.width=parseInt(g.style.width)+_+"px")}if(1e3!==E||d||(console.warn("Something is wrong with the Timeline scale. Limited drawing of grid lines to 1000 lines."),d=!0),this.options.showMajorLabels){var A=this.body.util.toTime(0),k=a.getLabelMajor(A);(null==w||k.length*(this.props.majorCharWidth||10)+10<w)&&this._repaintMajorText(0,k,e,b)}o.forEach(this.dom.redundant,(function(e){for(;e.length;){var t=e.pop();t&&t.parentNode&&t.parentNode.removeChild(t)}}))},c.prototype._repaintMinorText=function(e,t,n,r){var i=this.dom.redundant.minorTexts.shift();if(!i){var o=document.createTextNode("");(i=document.createElement("div")).appendChild(o),this.dom.foreground.appendChild(i)}return this.dom.minorTexts.push(i),i.innerHTML=t,i.style.top="top"==n?this.props.majorLabelHeight+"px":"0",this.options.rtl?(i.style.left="",i.style.right=e+"px"):i.style.left=e+"px",i.className="vis-text vis-minor "+r,i},c.prototype._repaintMajorText=function(e,t,n,r){var i=this.dom.redundant.majorTexts.shift();if(!i){var o=document.createElement("div");(i=document.createElement("div")).appendChild(o),this.dom.foreground.appendChild(i)}return i.childNodes[0].innerHTML=t,i.className="vis-text vis-major "+r,i.style.top="top"==n?"0":this.props.minorLabelHeight+"px",this.options.rtl?(i.style.left="",i.style.right=e+"px"):i.style.left=e+"px",this.dom.majorTexts.push(i),i},c.prototype._repaintMinorLine=function(e,t,n,r){var i=this.dom.redundant.lines.shift();i||(i=document.createElement("div"),this.dom.background.appendChild(i)),this.dom.lines.push(i);var o=this.props;return i.style.top="top"==n?o.majorLabelHeight+"px":this.body.domProps.top.height+"px",i.style.height=o.minorLineHeight+"px",this.options.rtl?(i.style.left="",i.style.right=e-o.minorLineWidth/2+"px",i.className="vis-grid vis-vertical-rtl vis-minor "+r):(i.style.left=e-o.minorLineWidth/2+"px",i.className="vis-grid vis-vertical vis-minor "+r),i.style.width=t+"px",i},c.prototype._repaintMajorLine=function(e,t,n,r){var i=this.dom.redundant.lines.shift();i||(i=document.createElement("div"),this.dom.background.appendChild(i)),this.dom.lines.push(i);var o=this.props;return i.style.top="top"==n?"0":this.body.domProps.top.height+"px",this.options.rtl?(i.style.left="",i.style.right=e-o.majorLineWidth/2+"px",i.className="vis-grid vis-vertical-rtl vis-major "+r):(i.style.left=e-o.majorLineWidth/2+"px",i.className="vis-grid vis-vertical vis-major "+r),i.style.height=o.majorLineHeight+"px",i.style.width=t+"px",i},c.prototype._calculateCharSize=function(){this.dom.measureCharMinor||(this.dom.measureCharMinor=document.createElement("DIV"),this.dom.measureCharMinor.className="vis-text vis-minor vis-measure",this.dom.measureCharMinor.style.position="absolute",this.dom.measureCharMinor.appendChild(document.createTextNode("0")),this.dom.foreground.appendChild(this.dom.measureCharMinor)),this.props.minorCharHeight=this.dom.measureCharMinor.clientHeight,this.props.minorCharWidth=this.dom.measureCharMinor.clientWidth,this.dom.measureCharMajor||(this.dom.measureCharMajor=document.createElement("DIV"),this.dom.measureCharMajor.className="vis-text vis-major vis-measure",this.dom.measureCharMajor.style.position="absolute",this.dom.measureCharMajor.appendChild(document.createTextNode("0")),this.dom.foreground.appendChild(this.dom.measureCharMajor)),this.props.majorCharHeight=this.dom.measureCharMajor.clientHeight,this.props.majorCharWidth=this.dom.measureCharMajor.clientWidth};var d=!1;e.exports=c},function(e,t,n){var r=n(10),i=n(2),o=n(16),a=n(9),s=n(98);function u(e,t){this.body=e,this.defaultOptions={moment:a,locales:s,locale:"en",id:void 0,title:void 0},this.options=i.extend({},this.defaultOptions),this.customTime=t&&t.time?t.time:new Date,this.eventParams={},this.setOptions(t),this._create()}(u.prototype=new o).setOptions=function(e){e&&i.selectiveExtend(["moment","locale","locales","id"],this.options,e)},u.prototype._create=function(){var e=document.createElement("div");e["custom-time"]=this,e.className="vis-custom-time "+(this.options.id||""),e.style.position="absolute",e.style.top="0px",e.style.height="100%",this.bar=e;var t=document.createElement("div");function n(e){this.body.range._onMouseWheel(e)}t.style.position="relative",t.style.top="0px",t.style.left="-10px",t.style.height="100%",t.style.width="20px",t.addEventListener?(t.addEventListener("mousewheel",n.bind(this),!1),t.addEventListener("DOMMouseScroll",n.bind(this),!1)):t.attachEvent("onmousewheel",n.bind(this)),e.appendChild(t),this.hammer=new r(t),this.hammer.on("panstart",this._onDragStart.bind(this)),this.hammer.on("panmove",this._onDrag.bind(this)),this.hammer.on("panend",this._onDragEnd.bind(this)),this.hammer.get("pan").set({threshold:5,direction:r.DIRECTION_HORIZONTAL})},u.prototype.destroy=function(){this.hide(),this.hammer.destroy(),this.hammer=null,this.body=null},u.prototype.redraw=function(){var e=this.body.dom.backgroundVertical;this.bar.parentNode!=e&&(this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),e.appendChild(this.bar));var t=this.body.util.toScreen(this.customTime),n=this.options.locales[this.options.locale];n||(this.warned||(console.log("WARNING: options.locales['"+this.options.locale+"'] not found. See http://visjs.org/docs/timeline/#Localization"),this.warned=!0),n=this.options.locales.en);var r=this.options.title;return void 0===r?r=(r=n.time+": "+this.options.moment(this.customTime).format("dddd, MMMM Do YYYY, H:mm:ss")).charAt(0).toUpperCase()+r.substring(1):"function"==typeof r&&(r=r.call(this.customTime)),this.bar.style.left=t+"px",this.bar.title=r,!1},u.prototype.hide=function(){this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar)},u.prototype.setCustomTime=function(e){this.customTime=i.convert(e,"Date"),this.redraw()},u.prototype.getCustomTime=function(){return new Date(this.customTime.valueOf())},u.prototype.setCustomTitle=function(e){this.options.title=e},u.prototype._onDragStart=function(e){this.eventParams.dragging=!0,this.eventParams.customTime=this.customTime,e.stopPropagation()},u.prototype._onDrag=function(e){if(this.eventParams.dragging){var t=this.body.util.toScreen(this.eventParams.customTime)+e.deltaX,n=this.body.util.toTime(t);this.setCustomTime(n),this.body.emitter.emit("timechange",{id:this.options.id,time:new Date(this.customTime.valueOf()),event:e}),e.stopPropagation()}},u.prototype._onDragEnd=function(e){this.eventParams.dragging&&(this.body.emitter.emit("timechanged",{id:this.options.id,time:new Date(this.customTime.valueOf()),event:e}),e.stopPropagation())},u.customTimeFromTarget=function(e){for(var t=e.target;t;){if(t.hasOwnProperty("custom-time"))return t["custom-time"];t=t.parentNode}return null},e.exports=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=n(117).default,u=n(49).default,l=n(193).default,c=n(200).default,d=n(201).default,f=n(202).default,h=n(203).default,p=n(204).default,m=n(205).default,v=n(206).default,g=n(207).default,y=n(208).default,b=n(209).default,_=n(210).default,w=n(211).default,E=n(212).default,C=n(213).default,A=n(15).printStyle,k=function(){function e(t,n,i,o,u,l){(0,r.default)(this,e),this.options=a.bridgeObject(u),this.globalOptions=u,this.defaultOptions=l,this.body=n,this.edges=[],this.id=void 0,this.imagelist=i,this.grouplist=o,this.x=void 0,this.y=void 0,this.baseSize=this.options.size,this.baseFontSize=this.options.font.size,this.predefinedPosition=!1,this.selected=!1,this.hover=!1,this.labelModule=new s(this.body,this.options,!1),this.setOptions(t)}return(0,i.default)(e,[{key:"attachEdge",value:function(e){-1===this.edges.indexOf(e)&&this.edges.push(e)}},{key:"detachEdge",value:function(e){var t=this.edges.indexOf(e);-1!=t&&this.edges.splice(t,1)}},{key:"setOptions",value:function(t){var n=this.options.shape;if(t){if(void 0!==t.id&&(this.id=t.id),void 0===this.id)throw new Error("Node must have an id");return e.checkMass(t,this.id),void 0!==t.x&&(null===t.x?(this.x=void 0,this.predefinedPosition=!1):(this.x=parseInt(t.x),this.predefinedPosition=!0)),void 0!==t.y&&(null===t.y?(this.y=void 0,this.predefinedPosition=!1):(this.y=parseInt(t.y),this.predefinedPosition=!0)),void 0!==t.size&&(this.baseSize=t.size),void 0!==t.value&&(t.value=parseFloat(t.value)),e.parseOptions(this.options,t,!0,this.globalOptions,this.grouplist),this.chooser=u.choosify("node",[t,this.options,this.defaultOptions]),this._load_images(),this.updateLabelModule(t),this.updateShape(n),void 0!==t.hidden||void 0!==t.physics}}},{key:"_load_images",value:function(){if("circularImage"===this.options.shape||"image"===this.options.shape){if(void 0===this.options.image)throw new Error("Option image must be defined for node type '"+this.options.shape+"'");if(void 0===this.imagelist)throw new Error("Internal Error: No images provided");if("string"==typeof this.options.image)this.imageObj=this.imagelist.load(this.options.image,this.options.brokenImage,this.id);else{if(void 0===this.options.image.unselected)throw new Error("No unselected image provided");this.imageObj=this.imagelist.load(this.options.image.unselected,this.options.brokenImage,this.id),this.imageObjAlt=void 0!==this.options.image.selected?this.imagelist.load(this.options.image.selected,this.options.brokenImage,this.id):void 0}}}},{key:"getFormattingValues",value:function(){var e={color:this.options.color.background,borderWidth:this.options.borderWidth,borderColor:this.options.color.border,size:this.options.size,borderDashes:this.options.shapeProperties.borderDashes,borderRadius:this.options.shapeProperties.borderRadius,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y};return this.selected||this.hover?!0===this.chooser?this.selected?(e.borderWidth*=2,e.color=this.options.color.highlight.background,e.borderColor=this.options.color.highlight.border,e.shadow=this.options.shadow.enabled):this.hover&&(e.color=this.options.color.hover.background,e.borderColor=this.options.color.hover.border,e.shadow=this.options.shadow.enabled):"function"==typeof this.chooser&&(this.chooser(e,this.options.id,this.selected,this.hover),!1===e.shadow&&(e.shadowColor===this.options.shadow.color&&e.shadowSize===this.options.shadow.size&&e.shadowX===this.options.shadow.x&&e.shadowY===this.options.shadow.y||(e.shadow=!0))):e.shadow=this.options.shadow.enabled,e}},{key:"updateLabelModule",value:function(t){null!=this.options.label||(this.options.label=""),e.updateGroupOptions(this.options,t,this.grouplist);var n=this.grouplist.get(this.options.group,!1);this.labelModule.update(this.options,[t,this.options,n,this.globalOptions,this.defaultOptions]),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateShape",value:function(e){if(e===this.options.shape&&this.shape)this.shape.setOptions(this.options,this.imageObj,this.imageObjAlt);else switch(this.options.shape){case"box":this.shape=new l(this.options,this.body,this.labelModule);break;case"circle":this.shape=new c(this.options,this.body,this.labelModule);break;case"circularImage":this.shape=new d(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"database":this.shape=new f(this.options,this.body,this.labelModule);break;case"diamond":this.shape=new h(this.options,this.body,this.labelModule);break;case"dot":this.shape=new p(this.options,this.body,this.labelModule);break;case"ellipse":this.shape=new m(this.options,this.body,this.labelModule);break;case"icon":this.shape=new v(this.options,this.body,this.labelModule);break;case"image":this.shape=new g(this.options,this.body,this.labelModule,this.imageObj,this.imageObjAlt);break;case"square":this.shape=new y(this.options,this.body,this.labelModule);break;case"hexagon":this.shape=new b(this.options,this.body,this.labelModule);break;case"star":this.shape=new _(this.options,this.body,this.labelModule);break;case"text":this.shape=new w(this.options,this.body,this.labelModule);break;case"triangle":this.shape=new E(this.options,this.body,this.labelModule);break;case"triangleDown":this.shape=new C(this.options,this.body,this.labelModule);break;default:this.shape=new m(this.options,this.body,this.labelModule)}this.needsRefresh()}},{key:"select",value:function(){this.selected=!0,this.needsRefresh()}},{key:"unselect",value:function(){this.selected=!1,this.needsRefresh()}},{key:"needsRefresh",value:function(){this.shape.refreshNeeded=!0}},{key:"getTitle",value:function(){return this.options.title}},{key:"distanceToBorder",value:function(e,t){return this.shape.distanceToBorder(e,t)}},{key:"isFixed",value:function(){return this.options.fixed.x&&this.options.fixed.y}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"getLabelSize",value:function(){return this.labelModule.size()}},{key:"setValueRange",value:function(e,t,n){if(void 0!==this.options.value){var r=this.options.scaling.customScalingFunction(e,t,n,this.options.value),i=this.options.scaling.max-this.options.scaling.min;!0===this.options.scaling.label.enabled&&(this.options.font.size=this.options.scaling.label.min+r*(this.options.scaling.label.max-this.options.scaling.label.min)),this.options.size=this.options.scaling.min+r*i}else this.options.size=this.baseSize,this.options.font.size=this.baseFontSize;this.updateLabelModule()}},{key:"draw",value:function(e){var t=this.getFormattingValues();this.shape.draw(e,this.x,this.y,this.selected,this.hover,t)}},{key:"updateBoundingBox",value:function(e){this.shape.updateBoundingBox(this.x,this.y,e)}},{key:"resize",value:function(e){var t=this.getFormattingValues();this.shape.resize(e,this.selected,this.hover,t)}},{key:"getItemsOnPoint",value:function(e){var t=[];return this.labelModule.visible()&&u.pointInRect(this.labelModule.getSize(),e)&&t.push({nodeId:this.id,labelId:0}),u.pointInRect(this.shape.boundingBox,e)&&t.push({nodeId:this.id}),t}},{key:"isOverlappingWith",value:function(e){return this.shape.left<e.right&&this.shape.left+this.shape.width>e.left&&this.shape.top<e.bottom&&this.shape.top+this.shape.height>e.top}},{key:"isBoundingBoxOverlappingWith",value:function(e){return this.shape.boundingBox.left<e.right&&this.shape.boundingBox.right>e.left&&this.shape.boundingBox.top<e.bottom&&this.shape.boundingBox.bottom>e.top}}],[{key:"updateGroupOptions",value:function(e,t,n){if(void 0!==n){var r=e.group;if(void 0!==t&&void 0!==t.group&&r!==t.group)throw new Error("updateGroupOptions: group values in options don't match.");if("number"==typeof r||"string"==typeof r&&""!=r){var i=n.get(r);a.selectiveNotDeepExtend(["font"],e,i),e.color=a.parseColor(e.color)}}}},{key:"parseOptions",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments[4],s=["color","fixed","shadow"];if(a.selectiveNotDeepExtend(s,t,n,r),e.checkMass(n),a.mergeOptions(t,n,"shadow",i),null!=n.color){var u=a.parseColor(n.color);a.fillIfDefined(t.color,u)}else!0===r&&null===n.color&&(t.color=a.bridgeObject(i.color));null!=n.fixed&&("boolean"==typeof n.fixed?(t.fixed.x=n.fixed,t.fixed.y=n.fixed):(void 0!==n.fixed.x&&"boolean"==typeof n.fixed.x&&(t.fixed.x=n.fixed.x),void 0!==n.fixed.y&&"boolean"==typeof n.fixed.y&&(t.fixed.y=n.fixed.y))),!0===r&&null===n.font&&(t.font=a.bridgeObject(i.font)),e.updateGroupOptions(t,n,o),void 0!==n.scaling&&a.mergeOptions(t.scaling,n.scaling,"label",i.scaling)}},{key:"checkMass",value:function(e,t){if(void 0!==e.mass&&e.mass<=0){var n="";void 0!==t&&(n=" in node id: "+t),console.log("%cNegative or zero mass disallowed"+n+", setting mass to 1.",A),e.mass=1}}}]),e}();t.default=k},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(6)),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(2),u=function(){function e(){(0,i.default)(this,e)}return(0,o.default)(e,null,[{key:"choosify",value:function(e,t){var n=["node","edge","label"],i=!0,o=s.topMost(t,"chosen");if("boolean"==typeof o)i=o;else if("object"===(void 0===o?"undefined":(0,r.default)(o))){if(-1===n.indexOf(e))throw new Error("choosify: subOption '"+e+"' should be one of '"+n.join("', '")+"'");var a=s.topMost(t,["chosen",e]);"boolean"!=typeof a&&"function"!=typeof a||(i=a)}return i}},{key:"pointInRect",value:function(e,t,n){if(e.width<=0||e.height<=0)return!1;if(void 0!==n){var r={x:t.x-n.x,y:t.y-n.y};if(0!==n.angle){var i=-n.angle;t={x:Math.cos(i)*r.x-Math.sin(i)*r.y,y:Math.sin(i)*r.x+Math.cos(i)*r.y}}else t=r}return e.left<t.x&&e.x+e.width>t.x&&e.top<t.y&&e.y+e.width>t.y}},{key:"isValidLabel",value:function(e){return"string"==typeof e&&""!==e}}]),e}();t.default=u},function(e,t,n){e.exports={default:n(124),__esModule:!0}},function(e,t,n){n(125);for(var r=n(18),i=n(26),o=n(32),a=n(13)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var l=s[u],c=r[l],d=c&&c.prototype;d&&!d[a]&&i(d,a,l),o[l]=o.Array}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(28);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(27),i=n(130),o=n(59),a=n(57)("IE_PROTO"),s=function(){},u=function(){var e,t=n(82)("iframe"),r=o.length;for(t.style.display="none",n(134).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(58)("keys"),i=n(41);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(7),i=n(18),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(39)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(20).f,i=n(22),o=n(13)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(135)(!0);n(79)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){t.f=n(13)},function(e,t,n){var r=n(18),i=n(7),o=n(39),a=n(62),s=n(20).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=a(n(8)),i=a(n(19)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(2),u=n(9),l=n(16),c=n(36);function d(e,t){var n=u().hours(0).minutes(0).seconds(0).milliseconds(0),r=n.clone().add(-3,"days").valueOf(),i=n.clone().add(3,"days").valueOf();this.millisecondsPerPixelCache=void 0,void 0===t?(this.start=r,this.end=i):(this.start=t.start||r,this.end=t.end||i),this.rolling=!1,this.body=e,this.deltaDifference=0,this.scaleOffset=0,this.startToFront=!1,this.endToFront=!0,this.defaultOptions={rtl:!1,start:null,end:null,moment:u,direction:"horizontal",moveable:!0,zoomable:!0,min:null,max:null,zoomMin:10,zoomMax:31536e10,rollingMode:{follow:!1,offset:.5}},this.options=s.extend({},this.defaultOptions),this.props={touch:{}},this.animationTimer=null,this.body.emitter.on("panstart",this._onDragStart.bind(this)),this.body.emitter.on("panmove",this._onDrag.bind(this)),this.body.emitter.on("panend",this._onDragEnd.bind(this)),this.body.emitter.on("mousewheel",this._onMouseWheel.bind(this)),this.body.emitter.on("touch",this._onTouch.bind(this)),this.body.emitter.on("pinch",this._onPinch.bind(this)),this.body.dom.rollingModeBtn.addEventListener("click",this.startRolling.bind(this)),this.setOptions(t)}function f(e){if("horizontal"!=e&&"vertical"!=e)throw new TypeError('Unknown direction "'+e+'". Choose "horizontal" or "vertical".')}(d.prototype=new l).setOptions=function(e){e&&(s.selectiveExtend(["animation","direction","min","max","zoomMin","zoomMax","moveable","zoomable","moment","activate","hiddenDates","zoomKey","rtl","showCurrentTime","rollingMode","horizontalScroll"],this.options,e),e.rollingMode&&e.rollingMode.follow&&this.startRolling(),("start"in e||"end"in e)&&this.setRange(e.start,e.end))},d.prototype.startRolling=function(){var e=this;!function t(){e.stopRolling(),e.rolling=!0;var n=e.end-e.start,r=s.convert(new Date,"Date").valueOf();e.setRange(r-n*e.options.rollingMode.offset,r+n*(1-e.options.rollingMode.offset),{animation:!1}),(n=1/e.conversion(e.body.domProps.center.width).scale/10)<30&&(n=30),n>1e3&&(n=1e3),e.body.dom.rollingModeBtn.style.visibility="hidden",e.currentTimeTimer=setTimeout(t,n)}()},d.prototype.stopRolling=function(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),this.rolling=!1,this.body.dom.rollingModeBtn.style.visibility="visible")},d.prototype.setRange=function(e,t,n,a,u){n||(n={}),!0!==n.byUser&&(n.byUser=!1);var l=this,d=null!=e?s.convert(e,"Date").valueOf():null,f=null!=t?s.convert(t,"Date").valueOf():null;if(this._cancelAnimation(),this.millisecondsPerPixelCache=void 0,n.animation){var h=this.start,p=this.end,m="object"===(0,o.default)(n.animation)&&"duration"in n.animation?n.animation.duration:500,v="object"===(0,o.default)(n.animation)&&"easingFunction"in n.animation?n.animation.easingFunction:"easeInOutQuad",g=s.easingFunctions[v];if(!g)throw new Error("Unknown easing function "+(0,i.default)(v)+". Choose from: "+(0,r.default)(s.easingFunctions).join(", "));var y=(new Date).valueOf(),b=!1;return function e(){if(!l.props.touch.dragging){var t=(new Date).valueOf()-y,r=g(t/m),i=t>m;_=l._applyRange(i||null===d?d:h+(d-h)*r,i||null===f?f:p+(f-p)*r),c.updateHiddenDates(l.options.moment,l.body,l.options.hiddenDates),b=b||_;var o={start:new Date(l.start),end:new Date(l.end),byUser:n.byUser,event:n.event};if(u&&u(r,_,i),_&&l.body.emitter.emit("rangechange",o),i){if(b&&(l.body.emitter.emit("rangechanged",o),a))return a()}else l.animationTimer=setTimeout(e,20)}}()}var _=this._applyRange(d,f);if(c.updateHiddenDates(this.options.moment,this.body,this.options.hiddenDates),_){var w={start:new Date(this.start),end:new Date(this.end),byUser:n.byUser,event:n.event};if(this.body.emitter.emit("rangechange",w),clearTimeout(l.timeoutID),l.timeoutID=setTimeout((function(){l.body.emitter.emit("rangechanged",w)}),200),a)return a()}},d.prototype.getMillisecondsPerPixel=function(){return void 0===this.millisecondsPerPixelCache&&(this.millisecondsPerPixelCache=(this.end-this.start)/this.body.dom.center.clientWidth),this.millisecondsPerPixelCache},d.prototype._cancelAnimation=function(){this.animationTimer&&(clearTimeout(this.animationTimer),this.animationTimer=null)},d.prototype._applyRange=function(e,t){var n,r=null!=e?s.convert(e,"Date").valueOf():this.start,i=null!=t?s.convert(t,"Date").valueOf():this.end,o=null!=this.options.max?s.convert(this.options.max,"Date").valueOf():null,a=null!=this.options.min?s.convert(this.options.min,"Date").valueOf():null;if(isNaN(r)||null===r)throw new Error('Invalid start "'+e+'"');if(isNaN(i)||null===i)throw new Error('Invalid end "'+t+'"');if(i<r&&(i=r),null!==a&&r<a&&(r+=n=a-r,i+=n,null!=o&&i>o&&(i=o)),null!==o&&i>o&&(r-=n=i-o,i-=n,null!=a&&r<a&&(r=a)),null!==this.options.zoomMin){var u=parseFloat(this.options.zoomMin);u<0&&(u=0),i-r<u&&(this.end-this.start===u&&r>=this.start-.5&&i<=this.end?(r=this.start,i=this.end):(r-=(n=u-(i-r))/2,i+=n/2))}if(null!==this.options.zoomMax){var l=parseFloat(this.options.zoomMax);l<0&&(l=0),i-r>l&&(this.end-this.start===l&&r<this.start&&i>this.end?(r=this.start,i=this.end):(r+=(n=i-r-l)/2,i-=n/2))}var c=this.start!=r||this.end!=i;return r>=this.start&&r<=this.end||i>=this.start&&i<=this.end||this.start>=r&&this.start<=i||this.end>=r&&this.end<=i||this.body.emitter.emit("checkRangedItems"),this.start=r,this.end=i,c},d.prototype.getRange=function(){return{start:this.start,end:this.end}},d.prototype.conversion=function(e,t){return d.conversion(this.start,this.end,e,t)},d.conversion=function(e,t,n,r){return void 0===r&&(r=0),0!=n&&t-e!=0?{offset:e,scale:n/(t-e-r)}:{offset:0,scale:1}},d.prototype._onDragStart=function(e){this.deltaDifference=0,this.previousDelta=0,this.options.moveable&&this._isInsideRange(e)&&this.props.touch.allowDragging&&(this.stopRolling(),this.props.touch.start=this.start,this.props.touch.end=this.end,this.props.touch.dragging=!0,this.body.dom.root&&(this.body.dom.root.style.cursor="move"))},d.prototype._onDrag=function(e){if(e&&this.props.touch.dragging&&this.options.moveable&&this.props.touch.allowDragging){var t=this.options.direction;f(t);var n="horizontal"==t?e.deltaX:e.deltaY;n-=this.deltaDifference;var r=this.props.touch.end-this.props.touch.start;r-=c.getHiddenDurationBetween(this.body.hiddenDates,this.start,this.end);var i,o="horizontal"==t?this.body.domProps.center.width:this.body.domProps.center.height,a=this.props.touch.start+(i=this.options.rtl?n/o*r:-n/o*r),s=this.props.touch.end+i,u=c.snapAwayFromHidden(this.body.hiddenDates,a,this.previousDelta-n,!0),l=c.snapAwayFromHidden(this.body.hiddenDates,s,this.previousDelta-n,!0);if(u!=a||l!=s)return this.deltaDifference+=n,this.props.touch.start=u,this.props.touch.end=l,void this._onDrag(e);this.previousDelta=n,this._applyRange(a,s);var d=new Date(this.start),h=new Date(this.end);this.body.emitter.emit("rangechange",{start:d,end:h,byUser:!0,event:e}),this.body.emitter.emit("panmove")}},d.prototype._onDragEnd=function(e){this.props.touch.dragging&&this.options.moveable&&this.props.touch.allowDragging&&(this.props.touch.dragging=!1,this.body.dom.root&&(this.body.dom.root.style.cursor="auto"),this.body.emitter.emit("rangechanged",{start:new Date(this.start),end:new Date(this.end),byUser:!0,event:e}))},d.prototype._onMouseWheel=function(e){var t=0;if(e.wheelDelta?t=e.wheelDelta/120:e.detail&&(t=-e.detail/3),!(this.options.zoomKey&&!e[this.options.zoomKey]&&this.options.zoomable||!this.options.zoomable&&this.options.moveable)&&this.options.zoomable&&this.options.moveable&&this._isInsideRange(e)&&t){var n,r;if(n=t<0?1-t/5:1/(1+t/5),this.rolling)r=this.start+(this.end-this.start)*this.options.rollingMode.offset;else{var i=this.getPointer({x:e.clientX,y:e.clientY},this.body.dom.center);r=this._pointerToDate(i)}this.zoom(n,r,t,e),e.preventDefault()}},d.prototype._onTouch=function(e){this.props.touch.start=this.start,this.props.touch.end=this.end,this.props.touch.allowDragging=!0,this.props.touch.center=null,this.scaleOffset=0,this.deltaDifference=0,s.preventDefault(e)},d.prototype._onPinch=function(e){if(this.options.zoomable&&this.options.moveable){s.preventDefault(e),this.props.touch.allowDragging=!1,this.props.touch.center||(this.props.touch.center=this.getPointer(e.center,this.body.dom.center)),this.stopRolling();var t=1/(e.scale+this.scaleOffset),n=this._pointerToDate(this.props.touch.center),r=c.getHiddenDurationBetween(this.body.hiddenDates,this.start,this.end),i=c.getHiddenDurationBefore(this.options.moment,this.body.hiddenDates,this,n),o=r-i,a=n-i+(this.props.touch.start-(n-i))*t,u=n+o+(this.props.touch.end-(n+o))*t;this.startToFront=1-t<=0,this.endToFront=t-1<=0;var l=c.snapAwayFromHidden(this.body.hiddenDates,a,1-t,!0),d=c.snapAwayFromHidden(this.body.hiddenDates,u,t-1,!0);l==a&&d==u||(this.props.touch.start=l,this.props.touch.end=d,this.scaleOffset=1-e.scale,a=l,u=d),this.setRange(a,u,{animation:!1,byUser:!0,event:e}),this.startToFront=!1,this.endToFront=!0}},d.prototype._isInsideRange=function(e){var t,n=e.center?e.center.x:e.clientX;t=this.options.rtl?n-s.getAbsoluteLeft(this.body.dom.centerContainer):s.getAbsoluteRight(this.body.dom.centerContainer)-n;var r=this.body.util.toTime(t);return r>=this.start&&r<=this.end},d.prototype._pointerToDate=function(e){var t,n=this.options.direction;return f(n),"horizontal"==n?this.body.util.toTime(e.x).valueOf():(t=this.conversion(this.body.domProps.center.height),e.y/t.scale+t.offset)},d.prototype.getPointer=function(e,t){return this.options.rtl?{x:s.getAbsoluteRight(t)-e.x,y:e.y-s.getAbsoluteTop(t)}:{x:e.x-s.getAbsoluteLeft(t),y:e.y-s.getAbsoluteTop(t)}},d.prototype.zoom=function(e,t,n,r){null==t&&(t=(this.start+this.end)/2);var i=c.getHiddenDurationBetween(this.body.hiddenDates,this.start,this.end),o=c.getHiddenDurationBefore(this.options.moment,this.body.hiddenDates,this,t),a=i-o,s=t-o+(this.start-(t-o))*e,u=t+a+(this.end-(t+a))*e;this.startToFront=!(n>0),this.endToFront=!(-n>0);var l=c.snapAwayFromHidden(this.body.hiddenDates,s,n,!0),d=c.snapAwayFromHidden(this.body.hiddenDates,u,-n,!0);l==s&&d==u||(s=l,u=d),this.setRange(s,u,{animation:!1,byUser:!0,event:r}),this.startToFront=!1,this.endToFront=!0},d.prototype.move=function(e){var t=this.end-this.start,n=this.end+t*e;this.start=this.start+t*e,this.end=n},d.prototype.moveTo=function(e){var t=(this.start+this.end)/2-e;this.setRange(this.start-t,this.end-t,{animation:!1,byUser:!0,event:null})},e.exports=d},function(e,t,n){var r=o(n(19)),i=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(45),s=n(10),u=n(37),l=n(2),c=n(46),d=n(97),f=n(36),h=n(47);function p(){}a(p.prototype),p.prototype._create=function(e){this.dom={},this.dom.container=e,this.dom.root=document.createElement("div"),this.dom.background=document.createElement("div"),this.dom.backgroundVertical=document.createElement("div"),this.dom.backgroundHorizontal=document.createElement("div"),this.dom.centerContainer=document.createElement("div"),this.dom.leftContainer=document.createElement("div"),this.dom.rightContainer=document.createElement("div"),this.dom.center=document.createElement("div"),this.dom.left=document.createElement("div"),this.dom.right=document.createElement("div"),this.dom.top=document.createElement("div"),this.dom.bottom=document.createElement("div"),this.dom.shadowTop=document.createElement("div"),this.dom.shadowBottom=document.createElement("div"),this.dom.shadowTopLeft=document.createElement("div"),this.dom.shadowBottomLeft=document.createElement("div"),this.dom.shadowTopRight=document.createElement("div"),this.dom.shadowBottomRight=document.createElement("div"),this.dom.rollingModeBtn=document.createElement("div"),this.dom.root.className="vis-timeline",this.dom.background.className="vis-panel vis-background",this.dom.backgroundVertical.className="vis-panel vis-background vis-vertical",this.dom.backgroundHorizontal.className="vis-panel vis-background vis-horizontal",this.dom.centerContainer.className="vis-panel vis-center",this.dom.leftContainer.className="vis-panel vis-left",this.dom.rightContainer.className="vis-panel vis-right",this.dom.top.className="vis-panel vis-top",this.dom.bottom.className="vis-panel vis-bottom",this.dom.left.className="vis-content",this.dom.center.className="vis-content",this.dom.right.className="vis-content",this.dom.shadowTop.className="vis-shadow vis-top",this.dom.shadowBottom.className="vis-shadow vis-bottom",this.dom.shadowTopLeft.className="vis-shadow vis-top",this.dom.shadowBottomLeft.className="vis-shadow vis-bottom",this.dom.shadowTopRight.className="vis-shadow vis-top",this.dom.shadowBottomRight.className="vis-shadow vis-bottom",this.dom.rollingModeBtn.className="vis-rolling-mode-btn",this.dom.root.appendChild(this.dom.background),this.dom.root.appendChild(this.dom.backgroundVertical),this.dom.root.appendChild(this.dom.backgroundHorizontal),this.dom.root.appendChild(this.dom.centerContainer),this.dom.root.appendChild(this.dom.leftContainer),this.dom.root.appendChild(this.dom.rightContainer),this.dom.root.appendChild(this.dom.top),this.dom.root.appendChild(this.dom.bottom),this.dom.root.appendChild(this.dom.bottom),this.dom.root.appendChild(this.dom.rollingModeBtn),this.dom.centerContainer.appendChild(this.dom.center),this.dom.leftContainer.appendChild(this.dom.left),this.dom.rightContainer.appendChild(this.dom.right),this.dom.centerContainer.appendChild(this.dom.shadowTop),this.dom.centerContainer.appendChild(this.dom.shadowBottom),this.dom.leftContainer.appendChild(this.dom.shadowTopLeft),this.dom.leftContainer.appendChild(this.dom.shadowBottomLeft),this.dom.rightContainer.appendChild(this.dom.shadowTopRight),this.dom.rightContainer.appendChild(this.dom.shadowBottomRight),this.props={root:{},background:{},centerContainer:{},leftContainer:{},rightContainer:{},center:{},left:{},right:{},top:{},bottom:{},border:{},scrollTop:0,scrollTopMin:0},this.on("rangechange",(function(){!0===this.initialDrawDone&&this._redraw()}).bind(this)),this.on("rangechanged",(function(){this.initialRangeChangeDone||(this.initialRangeChangeDone=!0)}).bind(this)),this.on("touch",this._onTouch.bind(this)),this.on("panmove",this._onDrag.bind(this));var t=this;this._origRedraw=this._redraw.bind(this),this._redraw=l.throttle(this._origRedraw),this.on("_change",(function(e){t.itemSet&&t.itemSet.initialItemSetDrawn&&e&&1==e.queue?t._redraw():t._origRedraw()})),this.hammer=new s(this.dom.root);var n=this.hammer.get("pinch").set({enable:!0});function r(e){this.isActive()&&this.emit("mousewheel",e);var t=0,n=0;if("detail"in e&&(n=-1*e.detail),"wheelDelta"in e&&(n=e.wheelDelta),"wheelDeltaY"in e&&(n=e.wheelDeltaY),"wheelDeltaX"in e&&(t=-1*e.wheelDeltaX),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=-1*n,n=0),"deltaY"in e&&(n=-1*e.deltaY),"deltaX"in e&&(t=e.deltaX),this.options.zoomKey&&!e[this.options.zoomKey])if(e.preventDefault(),this.options.verticalScroll&&Math.abs(n)>=Math.abs(t)){var r=this.props.scrollTop+n;this.isActive()&&(this._setScrollTop(r),this._redraw(),this.emit("scroll",e))}else if(this.options.horizontalScroll){var i=(Math.abs(t)>=Math.abs(n)?t:n)/120*(this.range.end-this.range.start)/20;this.range.setRange(this.range.start+i,this.range.end+i,{animation:!1,byUser:!0,event:e})}}function i(e){t.options.verticalScroll&&(e.preventDefault(),t.isActive())&&(t._setScrollTop(-e.target.scrollTop),t._redraw(),t.emit("scrollSide",e))}u.disablePreventDefaultVertically(n),this.hammer.get("pan").set({threshold:5,direction:s.DIRECTION_HORIZONTAL}),this.listeners={},["tap","doubletap","press","pinch","pan","panstart","panmove","panend"].forEach((function(e){var n=function(n){t.isActive()&&t.emit(e,n)};t.hammer.on(e,n),t.listeners[e]=n})),u.onTouch(this.hammer,(function(e){t.emit("touch",e)}).bind(this)),u.onRelease(this.hammer,(function(e){t.emit("release",e)}).bind(this)),this.dom.centerContainer.addEventListener?(this.dom.centerContainer.addEventListener("mousewheel",r.bind(this),!1),this.dom.centerContainer.addEventListener("DOMMouseScroll",r.bind(this),!1)):this.dom.centerContainer.attachEvent("onmousewheel",r.bind(this)),this.dom.left.parentNode.addEventListener("scroll",i.bind(this)),this.dom.right.parentNode.addEventListener("scroll",i.bind(this));var o=!1;if(this.dom.center.addEventListener("dragover",(function(e){if(e.preventDefault&&e.preventDefault(),!(!e.target.className.indexOf("vis")>-1||o))return e.dataTransfer.dropEffect="move",o=!0,!1}).bind(this),!1),this.dom.center.addEventListener("drop",(function(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation();try{var n=JSON.parse(e.dataTransfer.getData("text"));if(!n||!n.content)return}catch(e){return!1}return o=!1,e.center={x:e.clientX,y:e.clientY},"item"!==n.target?t.itemSet._onAddItem(e):t.itemSet._onDropObjectOnItem(e),t.emit("drop",t.getEventProperties(e)),!1}).bind(this),!1),this.customTimes=[],this.touch={},this.redrawCount=0,this.initialDrawDone=!1,this.initialRangeChangeDone=!1,!e)throw new Error("No container provided");e.appendChild(this.dom.root)},p.prototype.setOptions=function(e){if(e){if(l.selectiveExtend(["width","height","minHeight","maxHeight","autoResize","start","end","clickToUse","dataAttributes","hiddenDates","locale","locales","moment","rtl","zoomKey","horizontalScroll","verticalScroll"],this.options,e),this.dom.rollingModeBtn.style.visibility="hidden",this.options.rtl&&(this.dom.container.style.direction="rtl",this.dom.backgroundVertical.className="vis-panel vis-background vis-vertical-rtl"),this.options.verticalScroll&&(this.options.rtl?this.dom.rightContainer.className="vis-panel vis-right vis-vertical-scroll":this.dom.leftContainer.className="vis-panel vis-left vis-vertical-scroll"),"object"!==(0,i.default)(this.options.orientation)&&(this.options.orientation={item:void 0,axis:void 0}),"orientation"in e&&("string"==typeof e.orientation?this.options.orientation={item:e.orientation,axis:e.orientation}:"object"===(0,i.default)(e.orientation)&&("item"in e.orientation&&(this.options.orientation.item=e.orientation.item),"axis"in e.orientation&&(this.options.orientation.axis=e.orientation.axis))),"both"===this.options.orientation.axis){if(!this.timeAxis2){var t=this.timeAxis2=new c(this.body);t.setOptions=function(e){var n=e?l.extend({},e):{};n.orientation="top",c.prototype.setOptions.call(t,n)},this.components.push(t)}}else if(this.timeAxis2){var n=this.components.indexOf(this.timeAxis2);-1!==n&&this.components.splice(n,1),this.timeAxis2.destroy(),this.timeAxis2=null}if("function"==typeof e.drawPoints&&(e.drawPoints={onRender:e.drawPoints}),"hiddenDates"in this.options&&f.convertHiddenOptions(this.options.moment,this.body,this.options.hiddenDates),"clickToUse"in e&&(e.clickToUse?this.activator||(this.activator=new d(this.dom.root)):this.activator&&(this.activator.destroy(),delete this.activator)),"showCustomTime"in e)throw new Error("Option `showCustomTime` is deprecated. Create a custom time bar via timeline.addCustomTime(time [, id])");this._initAutoResize()}if(this.components.forEach((function(t){return t.setOptions(e)})),"configure"in e){this.configurator||(this.configurator=this._createConfigurator()),this.configurator.setOptions(e.configure);var r=l.deepExtend({},this.options);this.components.forEach((function(e){l.deepExtend(r,e.options)})),this.configurator.setModuleOptions({global:r})}this._redraw()},p.prototype.isActive=function(){return!this.activator||this.activator.active},p.prototype.destroy=function(){for(var e in this.setItems(null),this.setGroups(null),this.off(),this._stopAutoResize(),this.dom.root.parentNode&&this.dom.root.parentNode.removeChild(this.dom.root),this.dom=null,this.activator&&(this.activator.destroy(),delete this.activator),this.listeners)this.listeners.hasOwnProperty(e)&&delete this.listeners[e];this.listeners=null,this.hammer=null,this.components.forEach((function(e){return e.destroy()})),this.body=null},p.prototype.setCustomTime=function(e,t){var n=this.customTimes.filter((function(e){return t===e.options.id}));if(0===n.length)throw new Error("No custom time bar found with id "+(0,r.default)(t));n.length>0&&n[0].setCustomTime(e)},p.prototype.getCustomTime=function(e){var t=this.customTimes.filter((function(t){return t.options.id===e}));if(0===t.length)throw new Error("No custom time bar found with id "+(0,r.default)(e));return t[0].getCustomTime()},p.prototype.setCustomTimeTitle=function(e,t){var n=this.customTimes.filter((function(e){return e.options.id===t}));if(0===n.length)throw new Error("No custom time bar found with id "+(0,r.default)(t));if(n.length>0)return n[0].setCustomTitle(e)},p.prototype.getEventProperties=function(e){return{event:e}},p.prototype.addCustomTime=function(e,t){var n=void 0!==e?l.convert(e,"Date").valueOf():new Date;if(this.customTimes.some((function(e){return e.options.id===t})))throw new Error("A custom time with id "+(0,r.default)(t)+" already exists");var i=new h(this.body,l.extend({},this.options,{time:n,id:t}));return this.customTimes.push(i),this.components.push(i),this._redraw(),t},p.prototype.removeCustomTime=function(e){var t=this.customTimes.filter((function(t){return t.options.id===e}));if(0===t.length)throw new Error("No custom time bar found with id "+(0,r.default)(e));t.forEach((function(e){this.customTimes.splice(this.customTimes.indexOf(e),1),this.components.splice(this.components.indexOf(e),1),e.destroy()}).bind(this))},p.prototype.getVisibleItems=function(){return this.itemSet&&this.itemSet.getVisibleItems()||[]},p.prototype.fit=function(e,t){var n=this.getDataRange();if(null!==n.min||null!==n.max){var r=n.max-n.min,i=new Date(n.min.valueOf()-.01*r),o=new Date(n.max.valueOf()+.01*r);this.range.setRange(i,o,{animation:!e||void 0===e.animation||e.animation},t)}},p.prototype.getDataRange=function(){throw new Error("Cannot invoke abstract method getDataRange")},p.prototype.setWindow=function(e,t,n,r){var i,o;"function"==typeof arguments[2]&&(r=arguments[2],n={}),1==arguments.length?(i=void 0===(o=arguments[0]).animation||o.animation,this.range.setRange(o.start,o.end,{animation:i})):2==arguments.length&&"function"==typeof arguments[1]?(i=void 0===(o=arguments[0]).animation||o.animation,this.range.setRange(o.start,o.end,{animation:i},r=arguments[1])):this.range.setRange(e,t,{animation:i=!n||void 0===n.animation||n.animation},r)},p.prototype.moveTo=function(e,t,n){"function"==typeof arguments[1]&&(n=arguments[1],t={});var r=this.range.end-this.range.start,i=l.convert(e,"Date").valueOf(),o=i-r/2,a=i+r/2,s=!t||void 0===t.animation||t.animation;this.range.setRange(o,a,{animation:s},n)},p.prototype.getWindow=function(){var e=this.range.getRange();return{start:new Date(e.start),end:new Date(e.end)}},p.prototype.zoomIn=function(e,t,n){if(!(!e||e<0||e>1)){"function"==typeof arguments[1]&&(n=arguments[1],t={});var r=this.getWindow(),i=r.start.valueOf(),o=r.end.valueOf(),a=o-i,s=a/(1+e),u=(a-s)/2,l=i+u,c=o-u;this.setWindow(l,c,t,n)}},p.prototype.zoomOut=function(e,t,n){if(!(!e||e<0||e>1)){"function"==typeof arguments[1]&&(n=arguments[1],t={});var r=this.getWindow(),i=r.start.valueOf(),o=r.end.valueOf(),a=o-i,s=i-a*e/2,u=o+a*e/2;this.setWindow(s,u,t,n)}},p.prototype.redraw=function(){this._redraw()},p.prototype._redraw=function(){this.redrawCount++;var e=!1,t=this.options,n=this.props,r=this.dom;if(r&&r.container&&0!=r.root.offsetWidth){f.updateHiddenDates(this.options.moment,this.body,this.options.hiddenDates),"top"==t.orientation?(l.addClassName(r.root,"vis-top"),l.removeClassName(r.root,"vis-bottom")):(l.removeClassName(r.root,"vis-top"),l.addClassName(r.root,"vis-bottom")),r.root.style.maxHeight=l.option.asSize(t.maxHeight,""),r.root.style.minHeight=l.option.asSize(t.minHeight,""),r.root.style.width=l.option.asSize(t.width,""),n.border.left=(r.centerContainer.offsetWidth-r.centerContainer.clientWidth)/2,n.border.right=n.border.left,n.border.top=(r.centerContainer.offsetHeight-r.centerContainer.clientHeight)/2,n.border.bottom=n.border.top,n.borderRootHeight=r.root.offsetHeight-r.root.clientHeight,n.borderRootWidth=r.root.offsetWidth-r.root.clientWidth,0===r.centerContainer.clientHeight&&(n.border.left=n.border.top,n.border.right=n.border.left),0===r.root.clientHeight&&(n.borderRootWidth=n.borderRootHeight),n.center.height=r.center.offsetHeight,n.left.height=r.left.offsetHeight,n.right.height=r.right.offsetHeight,n.top.height=r.top.clientHeight||-n.border.top,n.bottom.height=r.bottom.clientHeight||-n.border.bottom;var i=Math.max(n.left.height,n.center.height,n.right.height);r.root.style.height=l.option.asSize(t.height,n.top.height+i+n.bottom.height+n.borderRootHeight+n.border.top+n.border.bottom+"px"),n.root.height=r.root.offsetHeight,n.background.height=n.root.height-n.borderRootHeight;var o=n.root.height-n.top.height-n.bottom.height-n.borderRootHeight;n.centerContainer.height=o,n.leftContainer.height=o,n.rightContainer.height=n.leftContainer.height,n.root.width=r.root.offsetWidth,n.background.width=n.root.width-n.borderRootWidth,this.initialDrawDone||(n.scrollbarWidth=l.getScrollBarWidth()),t.verticalScroll?t.rtl?(n.left.width=r.leftContainer.clientWidth||-n.border.left,n.right.width=r.rightContainer.clientWidth+n.scrollbarWidth||-n.border.right):(n.left.width=r.leftContainer.clientWidth+n.scrollbarWidth||-n.border.left,n.right.width=r.rightContainer.clientWidth||-n.border.right):(n.left.width=r.leftContainer.clientWidth||-n.border.left,n.right.width=r.rightContainer.clientWidth||-n.border.right),this._setDOM();var a=this._updateScrollTop();"top"!=t.orientation.item&&(a+=Math.max(n.centerContainer.height-n.center.height-n.border.top-n.border.bottom,0)),r.center.style.top=a+"px";var u=0==n.scrollTop?"hidden":"",c=n.scrollTop==n.scrollTopMin?"hidden":"";r.shadowTop.style.visibility=u,r.shadowBottom.style.visibility=c,r.shadowTopLeft.style.visibility=u,r.shadowBottomLeft.style.visibility=c,r.shadowTopRight.style.visibility=u,r.shadowBottomRight.style.visibility=c,t.verticalScroll&&(r.rightContainer.className="vis-panel vis-right vis-vertical-scroll",r.leftContainer.className="vis-panel vis-left vis-vertical-scroll",r.shadowTopRight.style.visibility="hidden",r.shadowBottomRight.style.visibility="hidden",r.shadowTopLeft.style.visibility="hidden",r.shadowBottomLeft.style.visibility="hidden",r.left.style.top="0px",r.right.style.top="0px"),(!t.verticalScroll||n.center.height<n.centerContainer.height)&&(r.left.style.top=a+"px",r.right.style.top=a+"px",r.rightContainer.className=r.rightContainer.className.replace(new RegExp("(?:^|\\s)vis-vertical-scroll(?:\\s|$)")," "),r.leftContainer.className=r.leftContainer.className.replace(new RegExp("(?:^|\\s)vis-vertical-scroll(?:\\s|$)")," "),n.left.width=r.leftContainer.clientWidth||-n.border.left,n.right.width=r.rightContainer.clientWidth||-n.border.right,this._setDOM());var d=n.center.height>n.centerContainer.height;if(this.hammer.get("pan").set({direction:d?s.DIRECTION_ALL:s.DIRECTION_HORIZONTAL}),this.components.forEach((function(t){e=t.redraw()||e})),e){if(this.redrawCount<5)return void this.body.emitter.emit("_change");console.log("WARNING: infinite loop in redraw?")}else this.redrawCount=0;this.body.emitter.emit("changed")}},p.prototype._setDOM=function(){var e=this.props,t=this.dom;e.leftContainer.width=e.left.width,e.rightContainer.width=e.right.width;var n=e.root.width-e.left.width-e.right.width-e.borderRootWidth;e.center.width=n,e.centerContainer.width=n,e.top.width=n,e.bottom.width=n,t.background.style.height=e.background.height+"px",t.backgroundVertical.style.height=e.background.height+"px",t.backgroundHorizontal.style.height=e.centerContainer.height+"px",t.centerContainer.style.height=e.centerContainer.height+"px",t.leftContainer.style.height=e.leftContainer.height+"px",t.rightContainer.style.height=e.rightContainer.height+"px",t.background.style.width=e.background.width+"px",t.backgroundVertical.style.width=e.centerContainer.width+"px",t.backgroundHorizontal.style.width=e.background.width+"px",t.centerContainer.style.width=e.center.width+"px",t.top.style.width=e.top.width+"px",t.bottom.style.width=e.bottom.width+"px",t.background.style.left="0",t.background.style.top="0",t.backgroundVertical.style.left=e.left.width+e.border.left+"px",t.backgroundVertical.style.top="0",t.backgroundHorizontal.style.left="0",t.backgroundHorizontal.style.top=e.top.height+"px",t.centerContainer.style.left=e.left.width+"px",t.centerContainer.style.top=e.top.height+"px",t.leftContainer.style.left="0",t.leftContainer.style.top=e.top.height+"px",t.rightContainer.style.left=e.left.width+e.center.width+"px",t.rightContainer.style.top=e.top.height+"px",t.top.style.left=e.left.width+"px",t.top.style.top="0",t.bottom.style.left=e.left.width+"px",t.bottom.style.top=e.top.height+e.centerContainer.height+"px",t.center.style.left="0",t.left.style.left="0",t.right.style.left="0"},p.prototype.repaint=function(){throw new Error("Function repaint is deprecated. Use redraw instead.")},p.prototype.setCurrentTime=function(e){if(!this.currentTime)throw new Error("Option showCurrentTime must be true");this.currentTime.setCurrentTime(e)},p.prototype.getCurrentTime=function(){if(!this.currentTime)throw new Error("Option showCurrentTime must be true");return this.currentTime.getCurrentTime()},p.prototype._toTime=function(e){return f.toTime(this,e,this.props.center.width)},p.prototype._toGlobalTime=function(e){return f.toTime(this,e,this.props.root.width)},p.prototype._toScreen=function(e){return f.toScreen(this,e,this.props.center.width)},p.prototype._toGlobalScreen=function(e){return f.toScreen(this,e,this.props.root.width)},p.prototype._initAutoResize=function(){1==this.options.autoResize?this._startAutoResize():this._stopAutoResize()},p.prototype._startAutoResize=function(){var e=this;this._stopAutoResize(),this._onResize=function(){1==e.options.autoResize?e.dom.root&&(e.dom.root.offsetWidth==e.props.lastWidth&&e.dom.root.offsetHeight==e.props.lastHeight||(e.props.lastWidth=e.dom.root.offsetWidth,e.props.lastHeight=e.dom.root.offsetHeight,e.props.scrollbarWidth=l.getScrollBarWidth(),e.body.emitter.emit("_change"))):e._stopAutoResize()},l.addEventListener(window,"resize",this._onResize),e.dom.root&&(e.props.lastWidth=e.dom.root.offsetWidth,e.props.lastHeight=e.dom.root.offsetHeight),this.watchTimer=setInterval(this._onResize,1e3)},p.prototype._stopAutoResize=function(){this.watchTimer&&(clearInterval(this.watchTimer),this.watchTimer=void 0),this._onResize&&(l.removeEventListener(window,"resize",this._onResize),this._onResize=null)},p.prototype._onTouch=function(e){this.touch.allowDragging=!0,this.touch.initialScrollTop=this.props.scrollTop},p.prototype._onPinch=function(e){this.touch.allowDragging=!1},p.prototype._onDrag=function(e){if(e&&this.touch.allowDragging){var t=e.deltaY,n=this._getScrollTop(),r=this._setScrollTop(this.touch.initialScrollTop+t);this.options.verticalScroll&&(this.dom.left.parentNode.scrollTop=-this.props.scrollTop,this.dom.right.parentNode.scrollTop=-this.props.scrollTop),r!=n&&this.emit("verticalDrag")}},p.prototype._setScrollTop=function(e){return this.props.scrollTop=e,this._updateScrollTop(),this.props.scrollTop},p.prototype._updateScrollTop=function(){var e=Math.min(this.props.centerContainer.height-this.props.center.height,0);return e!=this.props.scrollTopMin&&("top"!=this.options.orientation.item&&(this.props.scrollTop+=e-this.props.scrollTopMin),this.props.scrollTopMin=e),this.props.scrollTop>0&&(this.props.scrollTop=0),this.props.scrollTop<e&&(this.props.scrollTop=e),this.options.verticalScroll&&(this.dom.left.parentNode.scrollTop=-this.props.scrollTop,this.dom.right.parentNode.scrollTop=-this.props.scrollTop),this.props.scrollTop},p.prototype._getScrollTop=function(){return this.props.scrollTop},p.prototype._createConfigurator=function(){throw new Error("Cannot invoke abstract method _createConfigurator")},e.exports=p},function(e,t,n){var r=n(9),i=n(36),o=n(2);function a(e,t,n,i,o){this.moment=r,this.current=this.moment(),this._start=this.moment(),this._end=this.moment(),this.autoScale=!0,this.scale="day",this.step=1,this.setRange(e,t,n),this.switchedDay=!1,this.switchedMonth=!1,this.switchedYear=!1,this.hiddenDates=Array.isArray(i)?i:null!=i?[i]:[],this.format=a.FORMAT,this.options=o||{}}a.FORMAT={minorLabels:{millisecond:"SSS",second:"s",minute:"HH:mm",hour:"HH:mm",weekday:"ddd D",day:"D",week:"w",month:"MMM",year:"YYYY"},majorLabels:{millisecond:"HH:mm:ss",second:"D MMMM HH:mm",minute:"ddd D MMMM",hour:"ddd D MMMM",weekday:"MMMM YYYY",day:"MMMM YYYY",week:"MMMM YYYY",month:"YYYY",year:""}},a.prototype.setMoment=function(e){this.moment=e,this.current=this.moment(this.current.valueOf()),this._start=this.moment(this._start.valueOf()),this._end=this.moment(this._end.valueOf())},a.prototype.setFormat=function(e){var t=o.deepExtend({},a.FORMAT);this.format=o.deepExtend(t,e)},a.prototype.setRange=function(e,t,n){if(!(e instanceof Date&&t instanceof Date))throw"No legal start or end date in method setRange";this._start=null!=e?this.moment(e.valueOf()):new Date,this._end=null!=t?this.moment(t.valueOf()):new Date,this.autoScale&&this.setMinimumStep(n)},a.prototype.start=function(){this.current=this._start.clone(),this.roundToMinor()},a.prototype.roundToMinor=function(){switch("week"==this.scale&&this.current.weekday(0),this.scale){case"year":this.current.year(this.step*Math.floor(this.current.year()/this.step)),this.current.month(0);case"month":this.current.date(1);case"week":case"day":case"weekday":this.current.hours(0);case"hour":this.current.minutes(0);case"minute":this.current.seconds(0);case"second":this.current.milliseconds(0)}if(1!=this.step)switch(this.scale){case"millisecond":this.current.subtract(this.current.milliseconds()%this.step,"milliseconds");break;case"second":this.current.subtract(this.current.seconds()%this.step,"seconds");break;case"minute":this.current.subtract(this.current.minutes()%this.step,"minutes");break;case"hour":this.current.subtract(this.current.hours()%this.step,"hours");break;case"weekday":case"day":this.current.subtract((this.current.date()-1)%this.step,"day");break;case"week":this.current.subtract(this.current.week()%this.step,"week");break;case"month":this.current.subtract(this.current.month()%this.step,"month");break;case"year":this.current.subtract(this.current.year()%this.step,"year")}},a.prototype.hasNext=function(){return this.current.valueOf()<=this._end.valueOf()},a.prototype.next=function(){var e=this.current.valueOf();switch(this.scale){case"millisecond":this.current.add(this.step,"millisecond");break;case"second":this.current.add(this.step,"second");break;case"minute":this.current.add(this.step,"minute");break;case"hour":this.current.add(this.step,"hour"),this.current.month()<6?this.current.subtract(this.current.hours()%this.step,"hour"):this.current.hours()%this.step!=0&&this.current.add(this.step-this.current.hours()%this.step,"hour");break;case"weekday":case"day":this.current.add(this.step,"day");break;case"week":if(0!==this.current.weekday())this.current.weekday(0),this.current.add(this.step,"week");else if(!1===this.options.showMajorLabels)this.current.add(this.step,"week");else{var t=this.current.clone();t.add(1,"week"),t.isSame(this.current,"month")?this.current.add(this.step,"week"):(this.current.add(this.step,"week"),this.current.date(1))}break;case"month":this.current.add(this.step,"month");break;case"year":this.current.add(this.step,"year")}if(1!=this.step)switch(this.scale){case"millisecond":this.current.milliseconds()>0&&this.current.milliseconds()<this.step&&this.current.milliseconds(0);break;case"second":this.current.seconds()>0&&this.current.seconds()<this.step&&this.current.seconds(0);break;case"minute":this.current.minutes()>0&&this.current.minutes()<this.step&&this.current.minutes(0);break;case"hour":this.current.hours()>0&&this.current.hours()<this.step&&this.current.hours(0);break;case"weekday":case"day":this.current.date()<this.step+1&&this.current.date(1);break;case"week":this.current.week()<this.step&&this.current.week(1);break;case"month":this.current.month()<this.step&&this.current.month(0)}this.current.valueOf()==e&&(this.current=this._end.clone()),this.switchedDay=!1,this.switchedMonth=!1,this.switchedYear=!1,i.stepOverHiddenDates(this.moment,this,e)},a.prototype.getCurrent=function(){return this.current},a.prototype.setScale=function(e){e&&"string"==typeof e.scale&&(this.scale=e.scale,this.step=e.step>0?e.step:1,this.autoScale=!1)},a.prototype.setAutoScale=function(e){this.autoScale=e},a.prototype.setMinimumStep=function(e){null!=e&&(31104e9>e&&(this.scale="year",this.step=1e3),15552e9>e&&(this.scale="year",this.step=500),31104e8>e&&(this.scale="year",this.step=100),15552e8>e&&(this.scale="year",this.step=50),31104e7>e&&(this.scale="year",this.step=10),15552e7>e&&(this.scale="year",this.step=5),31104e6>e&&(this.scale="year",this.step=1),7776e6>e&&(this.scale="month",this.step=3),2592e6>e&&(this.scale="month",this.step=1),432e6>e&&(this.scale="day",this.step=5),1728e5>e&&(this.scale="day",this.step=2),864e5>e&&(this.scale="day",this.step=1),432e5>e&&(this.scale="weekday",this.step=1),144e5>e&&(this.scale="hour",this.step=4),36e5>e&&(this.scale="hour",this.step=1),9e5>e&&(this.scale="minute",this.step=15),6e5>e&&(this.scale="minute",this.step=10),3e5>e&&(this.scale="minute",this.step=5),6e4>e&&(this.scale="minute",this.step=1),15e3>e&&(this.scale="second",this.step=15),1e4>e&&(this.scale="second",this.step=10),5e3>e&&(this.scale="second",this.step=5),1e3>e&&(this.scale="second",this.step=1),200>e&&(this.scale="millisecond",this.step=200),100>e&&(this.scale="millisecond",this.step=100),50>e&&(this.scale="millisecond",this.step=50),10>e&&(this.scale="millisecond",this.step=10),5>e&&(this.scale="millisecond",this.step=5),1>e&&(this.scale="millisecond",this.step=1))},a.snap=function(e,t,n){var i=r(e);if("year"==t){var o=i.year()+Math.round(i.month()/12);i.year(Math.round(o/n)*n),i.month(0),i.date(0),i.hours(0),i.minutes(0),i.seconds(0),i.milliseconds(0)}else if("month"==t)i.date()>15?(i.date(1),i.add(1,"month")):i.date(1),i.hours(0),i.minutes(0),i.seconds(0),i.milliseconds(0);else if("week"==t)i.weekday()>2?(i.weekday(0),i.add(1,"week")):i.weekday(0),i.hours(0),i.minutes(0),i.seconds(0),i.milliseconds(0);else if("day"==t){switch(n){case 5:case 2:i.hours(24*Math.round(i.hours()/24));break;default:i.hours(12*Math.round(i.hours()/12))}i.minutes(0),i.seconds(0),i.milliseconds(0)}else if("weekday"==t){switch(n){case 5:case 2:i.hours(12*Math.round(i.hours()/12));break;default:i.hours(6*Math.round(i.hours()/6))}i.minutes(0),i.seconds(0),i.milliseconds(0)}else if("hour"==t){switch(n){case 4:i.minutes(60*Math.round(i.minutes()/60));break;default:i.minutes(30*Math.round(i.minutes()/30))}i.seconds(0),i.milliseconds(0)}else if("minute"==t){switch(n){case 15:case 10:i.minutes(5*Math.round(i.minutes()/5)),i.seconds(0);break;case 5:i.seconds(60*Math.round(i.seconds()/60));break;default:i.seconds(30*Math.round(i.seconds()/30))}i.milliseconds(0)}else if("second"==t)switch(n){case 15:case 10:i.seconds(5*Math.round(i.seconds()/5)),i.milliseconds(0);break;case 5:i.milliseconds(1e3*Math.round(i.milliseconds()/1e3));break;default:i.milliseconds(500*Math.round(i.milliseconds()/500))}else if("millisecond"==t){var a=n>5?n/2:1;i.milliseconds(Math.round(i.milliseconds()/a)*a)}return i},a.prototype.isMajor=function(){if(1==this.switchedYear)switch(this.scale){case"year":case"month":case"week":case"weekday":case"day":case"hour":case"minute":case"second":case"millisecond":return!0;default:return!1}else if(1==this.switchedMonth)switch(this.scale){case"week":case"weekday":case"day":case"hour":case"minute":case"second":case"millisecond":return!0;default:return!1}else if(1==this.switchedDay)switch(this.scale){case"millisecond":case"second":case"minute":case"hour":return!0;default:return!1}var e=this.moment(this.current);switch(this.scale){case"millisecond":return 0==e.milliseconds();case"second":return 0==e.seconds();case"minute":return 0==e.hours()&&0==e.minutes();case"hour":return 0==e.hours();case"weekday":case"day":case"week":return 1==e.date();case"month":return 0==e.month();case"year":default:return!1}},a.prototype.getLabelMinor=function(e){if(null==e&&(e=this.current),e instanceof Date&&(e=this.moment(e)),"function"==typeof this.format.minorLabels)return this.format.minorLabels(e,this.scale,this.step);var t=this.format.minorLabels[this.scale];switch(this.scale){case"week":if(this.isMajor()&&0!==e.weekday())return"";default:return t&&t.length>0?this.moment(e).format(t):""}},a.prototype.getLabelMajor=function(e){if(null==e&&(e=this.current),e instanceof Date&&(e=this.moment(e)),"function"==typeof this.format.majorLabels)return this.format.majorLabels(e,this.scale,this.step);var t=this.format.majorLabels[this.scale];return t&&t.length>0?this.moment(e).format(t):""},a.prototype.getClassName=function(){var e=this.moment,t=this.moment(this.current),n=t.locale?t.locale("en"):t.lang("en"),r=this.step,i=[];function o(e){return e/r%2==0?" vis-even":" vis-odd"}function a(t){return t.isSame(new Date,"day")?" vis-today":t.isSame(e().add(1,"day"),"day")?" vis-tomorrow":t.isSame(e().add(-1,"day"),"day")?" vis-yesterday":""}function s(e){return e.isSame(new Date,"week")?" vis-current-week":""}function u(e){return e.isSame(new Date,"month")?" vis-current-month":""}switch(this.scale){case"millisecond":i.push(a(n)),i.push(o(n.milliseconds()));break;case"second":i.push(a(n)),i.push(o(n.seconds()));break;case"minute":i.push(a(n)),i.push(o(n.minutes()));break;case"hour":i.push("vis-h"+n.hours()+(4==this.step?"-h"+(n.hours()+4):"")),i.push(a(n)),i.push(o(n.hours()));break;case"weekday":i.push("vis-"+n.format("dddd").toLowerCase()),i.push(a(n)),i.push(s(n)),i.push(o(n.date()));break;case"day":i.push("vis-day"+n.date()),i.push("vis-"+n.format("MMMM").toLowerCase()),i.push(a(n)),i.push(u(n)),i.push(this.step<=2?a(n):""),i.push(this.step<=2?"vis-"+n.format("dddd").toLowerCase():""),i.push(o(n.date()-1));break;case"week":i.push("vis-week"+n.format("w")),i.push(s(n)),i.push(o(n.week()));break;case"month":i.push("vis-"+n.format("MMMM").toLowerCase()),i.push(u(n)),i.push(o(n.month()));break;case"year":i.push("vis-year"+n.year()),i.push(n.isSame(new Date,"year")?" vis-current-year":""),i.push(o(n.year()))}return i.filter(String).join(" ")},e.exports=a},function(e,t,n){var r=n(2),i=n(16),o=n(9),a=n(98);function s(e,t){this.body=e,this.defaultOptions={rtl:!1,showCurrentTime:!0,moment:o,locales:a,locale:"en"},this.options=r.extend({},this.defaultOptions),this.offset=0,this._create(),this.setOptions(t)}(s.prototype=new i)._create=function(){var e=document.createElement("div");e.className="vis-current-time",e.style.position="absolute",e.style.top="0px",e.style.height="100%",this.bar=e},s.prototype.destroy=function(){this.options.showCurrentTime=!1,this.redraw(),this.body=null},s.prototype.setOptions=function(e){e&&r.selectiveExtend(["rtl","showCurrentTime","moment","locale","locales"],this.options,e)},s.prototype.redraw=function(){if(this.options.showCurrentTime){var e=this.body.dom.backgroundVertical;this.bar.parentNode!=e&&(this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),e.appendChild(this.bar),this.start());var t=this.options.moment((new Date).valueOf()+this.offset),n=this.body.util.toScreen(t),r=this.options.locales[this.options.locale];r||(this.warned||(console.log("WARNING: options.locales['"+this.options.locale+"'] not found. See http://visjs.org/docs/timeline/#Localization"),this.warned=!0),r=this.options.locales.en);var i=r.current+" "+r.time+": "+t.format("dddd, MMMM Do YYYY, H:mm:ss");i=i.charAt(0).toUpperCase()+i.substring(1),this.options.rtl?this.bar.style.right=n+"px":this.bar.style.left=n+"px",this.bar.title=i}else this.bar.parentNode&&this.bar.parentNode.removeChild(this.bar),this.stop();return!1},s.prototype.start=function(){var e=this;!function t(){e.stop();var n=1/e.body.range.conversion(e.body.domProps.center.width).scale/10;n<30&&(n=30),n>1e3&&(n=1e3),e.redraw(),e.body.emitter.emit("currentTimeTick"),e.currentTimeTimer=setTimeout(t,n)}()},s.prototype.stop=function(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),delete this.currentTimeTimer)},s.prototype.setCurrentTime=function(e){var t=r.convert(e,"Date").valueOf(),n=(new Date).valueOf();this.offset=t-n,this.redraw()},s.prototype.getCurrentTime=function(){return new Date((new Date).valueOf()+this.offset)},e.exports=s},function(e,t,n){var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(2),a=n(100);function s(e,t,n){if(this.groupId=e,this.subgroups={},this.subgroupStack={},this.subgroupStackAll=!1,this.doInnerStack=!1,this.subgroupIndex=0,this.subgroupOrderer=t&&t.subgroupOrder,this.itemSet=n,this.isVisible=null,this.stackDirty=!0,t&&t.nestedGroups&&(this.nestedGroups=t.nestedGroups,this.showNested=0!=t.showNested),t&&t.subgroupStack)if("boolean"==typeof t.subgroupStack)this.doInnerStack=t.subgroupStack,this.subgroupStackAll=t.subgroupStack;else for(var r in t.subgroupStack)this.subgroupStack[r]=t.subgroupStack[r],this.doInnerStack=this.doInnerStack||t.subgroupStack[r];this.nestedInGroup=null,this.dom={},this.props={label:{width:0,height:0}},this.className=null,this.items={},this.visibleItems=[],this.itemsInRange=[],this.orderedItems={byStart:[],byEnd:[]},this.checkRangedItems=!1;var i=this;this.itemSet.body.emitter.on("checkRangedItems",(function(){i.checkRangedItems=!0})),this._create(),this.setData(t)}s.prototype._create=function(){var e=document.createElement("div");e.className=this.itemSet.options.groupEditable.order?"vis-label draggable":"vis-label",this.dom.label=e;var t=document.createElement("div");t.className="vis-inner",e.appendChild(t),this.dom.inner=t;var n=document.createElement("div");n.className="vis-group",n["timeline-group"]=this,this.dom.foreground=n,this.dom.background=document.createElement("div"),this.dom.background.className="vis-group",this.dom.axis=document.createElement("div"),this.dom.axis.className="vis-group",this.dom.marker=document.createElement("div"),this.dom.marker.style.visibility="hidden",this.dom.marker.style.position="absolute",this.dom.marker.innerHTML="",this.dom.background.appendChild(this.dom.marker)},s.prototype.setData=function(e){var t,n;if((t=this.itemSet.options&&this.itemSet.options.groupTemplate?(n=this.itemSet.options.groupTemplate.bind(this))(e,this.dom.inner):e&&e.content)instanceof Element){for(this.dom.inner.appendChild(t);this.dom.inner.firstChild;)this.dom.inner.removeChild(this.dom.inner.firstChild);this.dom.inner.appendChild(t)}else t instanceof Object?n(e,this.dom.inner):this.dom.inner.innerHTML=null!=t?t:this.groupId||"";if(this.dom.label.title=e&&e.title||"",this.dom.inner.firstChild?o.removeClassName(this.dom.inner,"vis-hidden"):o.addClassName(this.dom.inner,"vis-hidden"),e&&e.nestedGroups){this.nestedGroups&&this.nestedGroups==e.nestedGroups||(this.nestedGroups=e.nestedGroups),void 0===e.showNested&&void 0!==this.showNested||(this.showNested=0!=e.showNested),o.addClassName(this.dom.label,"vis-nesting-group");var r=this.itemSet.options.rtl?"collapsed-rtl":"collapsed";this.showNested?(o.removeClassName(this.dom.label,r),o.addClassName(this.dom.label,"expanded")):(o.removeClassName(this.dom.label,"expanded"),o.addClassName(this.dom.label,r))}else this.nestedGroups&&(this.nestedGroups=null,o.removeClassName(this.dom.label,r=this.itemSet.options.rtl?"collapsed-rtl":"collapsed"),o.removeClassName(this.dom.label,"expanded"),o.removeClassName(this.dom.label,"vis-nesting-group"));e&&e.nestedInGroup&&(o.addClassName(this.dom.label,"vis-nested-group"),this.itemSet.options&&this.itemSet.options.rtl?this.dom.inner.style.paddingRight="30px":this.dom.inner.style.paddingLeft="30px");var i=e&&e.className||null;i!=this.className&&(this.className&&(o.removeClassName(this.dom.label,this.className),o.removeClassName(this.dom.foreground,this.className),o.removeClassName(this.dom.background,this.className),o.removeClassName(this.dom.axis,this.className)),o.addClassName(this.dom.label,i),o.addClassName(this.dom.foreground,i),o.addClassName(this.dom.background,i),o.addClassName(this.dom.axis,i),this.className=i),this.style&&(o.removeCssText(this.dom.label,this.style),this.style=null),e&&e.style&&(o.addCssText(this.dom.label,e.style),this.style=e.style)},s.prototype.getLabelWidth=function(){return this.props.label.width},s.prototype._didMarkerHeightChange=function(){var e=this.dom.marker.clientHeight;if(e!=this.lastMarkerHeight){this.lastMarkerHeight=e;var t={},n=0;if(o.forEach(this.items,(function(e,r){e.dirty=!0,e.displayed&&(t[r]=e.redraw(!0),n=t[r].length)})),n>0)for(var r=0;r<n;r++)o.forEach(t,(function(e){e[r]()}));return!0}},s.prototype._calculateGroupSizeAndPosition=function(){var e=this.dom.foreground.offsetLeft,t=this.dom.foreground.offsetWidth;this.top=this.dom.foreground.offsetTop,this.right=e,this.width=t},s.prototype._redrawItems=function(e,t,n,r){if(e||this.stackDirty||this.isVisible&&!t){var i={},s=null;if("function"==typeof this.itemSet.options.order){var u=this,l={},c=0;if(o.forEach(this.items,(function(e,t){e.displayed||(l[t]=e.redraw(!0),c=l[t].length,u.visibleItems.push(e))})),c>0)for(var d=0;d<c;d++)o.forEach(l,(function(e){e[d]()}));if(o.forEach(this.items,(function(e){e.repositionX(!1)})),this.doInnerStack&&this.itemSet.options.stackSubgroups){for(s in this.subgroups)i[s]=this.subgroups[s].items.slice().sort((function(e,t){return u.itemSet.options.order(e.data,t.data)}));a.stackSubgroupsWithInnerStack(i,n,this.subgroups)}else{var f=this.orderedItems.byStart.slice().sort((function(e,t){return u.itemSet.options.order(e.data,t.data)}));a.stack(f,n,!0)}this.visibleItems=this._updateItemsInRange(this.orderedItems,this.visibleItems,r)}else if(this.visibleItems=this._updateItemsInRange(this.orderedItems,this.visibleItems,r),this.itemSet.options.stack)if(this.doInnerStack&&this.itemSet.options.stackSubgroups){for(s in this.subgroups)i[s]=this.subgroups[s].items;a.stackSubgroupsWithInnerStack(i,n,this.subgroups)}else a.stack(this.visibleItems,n,!0);else a.nostack(this.visibleItems,n,this.subgroups,this.itemSet.options.stackSubgroups);this.stackDirty=!1}},s.prototype._didResize=function(e,t){e=o.updateProperty(this,"height",t)||e;var n=this.dom.inner.clientHeight;return e=o.updateProperty(this.props.label,"width",this.dom.inner.clientWidth)||e,o.updateProperty(this.props.label,"height",n)||e},s.prototype._applyGroupHeight=function(e){this.dom.background.style.height=e+"px",this.dom.foreground.style.height=e+"px",this.dom.label.style.height=e+"px"},s.prototype._updateItemsVerticalPosition=function(e){for(var t=0,n=this.visibleItems.length;t<n;t++){var r=this.visibleItems[t];r.repositionY(e),this.isVisible||"__background__"==this.groupId||r.displayed&&r.hide()}},s.prototype.redraw=function(e,t,n,r){var i,o,a=!1,s=this.isVisible,u=[(function(){n=this._didMarkerHeightChange.bind(this)}).bind(this),this._updateSubGroupHeights.bind(this,t),this._calculateGroupSizeAndPosition.bind(this),(function(){this.isVisible=this._isGroupVisible.bind(this)(e,t)}).bind(this),(function(){this._redrawItems.bind(this)(n,s,t,e)}).bind(this),this._updateSubgroupsSizes.bind(this),(function(){i=this._calculateHeight.bind(this)(t)}).bind(this),this._calculateGroupSizeAndPosition.bind(this),(function(){a=this._didResize.bind(this)(a,i)}).bind(this),(function(){this._applyGroupHeight.bind(this)(i)}).bind(this),(function(){this._updateItemsVerticalPosition.bind(this)(t)}).bind(this),function(){return!this.isVisible&&this.height&&(a=!1),a}];return r?u:(u.forEach((function(e){o=e()})),o)},s.prototype._updateSubGroupHeights=function(e){if((0,i.default)(this.subgroups).length>0){var t=this;this.resetSubgroups(),o.forEach(this.visibleItems,(function(n){void 0!==n.data.subgroup&&(t.subgroups[n.data.subgroup].height=Math.max(t.subgroups[n.data.subgroup].height,n.height+e.item.vertical),t.subgroups[n.data.subgroup].visible=!0)}))}},s.prototype._isGroupVisible=function(e,t){return this.top<=e.body.domProps.centerContainer.height-e.body.domProps.scrollTop+t.axis&&this.top+this.height+t.axis>=-e.body.domProps.scrollTop},s.prototype._calculateHeight=function(e){var t,n=this.visibleItems;if(n.length>0){var r=n[0].top,i=n[0].top+n[0].height;if(o.forEach(n,(function(e){r=Math.min(r,e.top),i=Math.max(i,e.top+e.height)})),r>e.axis){var a=r-e.axis;i-=a,o.forEach(n,(function(e){e.top-=a}))}t=i+e.item.vertical/2}else t=0;return Math.max(t,this.props.label.height)},s.prototype.show=function(){this.dom.label.parentNode||this.itemSet.dom.labelSet.appendChild(this.dom.label),this.dom.foreground.parentNode||this.itemSet.dom.foreground.appendChild(this.dom.foreground),this.dom.background.parentNode||this.itemSet.dom.background.appendChild(this.dom.background),this.dom.axis.parentNode||this.itemSet.dom.axis.appendChild(this.dom.axis)},s.prototype.hide=function(){var e=this.dom.label;e.parentNode&&e.parentNode.removeChild(e);var t=this.dom.foreground;t.parentNode&&t.parentNode.removeChild(t);var n=this.dom.background;n.parentNode&&n.parentNode.removeChild(n);var r=this.dom.axis;r.parentNode&&r.parentNode.removeChild(r)},s.prototype.add=function(e){this.items[e.id]=e,e.setParent(this),this.stackDirty=!0,void 0!==e.data.subgroup&&(this._addToSubgroup(e),this.orderSubgroups()),-1==this.visibleItems.indexOf(e)&&this._checkIfVisible(e,this.visibleItems,this.itemSet.body.range)},s.prototype._addToSubgroup=function(e,t){null!=(t=t||e.data.subgroup)&&void 0===this.subgroups[t]&&(this.subgroups[t]={height:0,top:0,start:e.data.start,end:e.data.end||e.data.start,visible:!1,index:this.subgroupIndex,items:[],stack:this.subgroupStackAll||this.subgroupStack[t]||!1},this.subgroupIndex++),new Date(e.data.start)<new Date(this.subgroups[t].start)&&(this.subgroups[t].start=e.data.start);var n=e.data.end||e.data.start;new Date(n)>new Date(this.subgroups[t].end)&&(this.subgroups[t].end=n),this.subgroups[t].items.push(e)},s.prototype._updateSubgroupsSizes=function(){var e=this;if(e.subgroups)for(var t in e.subgroups){var n=e.subgroups[t].items[0].data.start,r=(e.subgroups[t].items[0].data.end||e.subgroups[t].items[0].data.start)-1;e.subgroups[t].items.forEach((function(e){new Date(e.data.start)<new Date(n)&&(n=e.data.start);var t=e.data.end||e.data.start;new Date(t)>new Date(r)&&(r=t)})),e.subgroups[t].start=n,e.subgroups[t].end=new Date(r-1)}},s.prototype.orderSubgroups=function(){if(void 0!==this.subgroupOrderer){var e,t=[];if("string"==typeof this.subgroupOrderer){for(e in this.subgroups)t.push({subgroup:e,sortField:this.subgroups[e].items[0].data[this.subgroupOrderer]});t.sort((function(e,t){return e.sortField-t.sortField}))}else if("function"==typeof this.subgroupOrderer){for(e in this.subgroups)t.push(this.subgroups[e].items[0].data);t.sort(this.subgroupOrderer)}if(t.length>0)for(var n=0;n<t.length;n++)this.subgroups[t[n].subgroup].index=n}},s.prototype.resetSubgroups=function(){for(var e in this.subgroups)this.subgroups.hasOwnProperty(e)&&(this.subgroups[e].visible=!1,this.subgroups[e].height=0)},s.prototype.remove=function(e){delete this.items[e.id],e.setParent(null),this.stackDirty=!0;var t=this.visibleItems.indexOf(e);-1!=t&&this.visibleItems.splice(t,1),void 0!==e.data.subgroup&&(this._removeFromSubgroup(e),this.orderSubgroups())},s.prototype._removeFromSubgroup=function(e,t){if(null!=(t=t||e.data.subgroup)){var n=this.subgroups[t];if(n){var r=n.items.indexOf(e);r>=0&&(n.items.splice(r,1),n.items.length?this._updateSubgroupsSizes():delete this.subgroups[t])}}},s.prototype.removeFromDataSet=function(e){this.itemSet.removeItem(e.id)},s.prototype.order=function(){for(var e=o.toArray(this.items),t=[],n=[],r=0;r<e.length;r++)void 0!==e[r].data.end&&n.push(e[r]),t.push(e[r]);this.orderedItems={byStart:t,byEnd:n},a.orderByStart(this.orderedItems.byStart),a.orderByEnd(this.orderedItems.byEnd)},s.prototype._updateItemsInRange=function(e,t,n){var r=[],i={},a=(n.end-n.start)/4,s=n.start-a,u=n.end+a,l=function(e){return e<s?-1:e<=u?0:1};if(t.length>0)for(var c=0;c<t.length;c++)this._checkIfVisibleWithReference(t[c],r,i,n);var d=o.binarySearchCustom(e.byStart,l,"data","start");if(this._traceVisible(d,e.byStart,r,i,(function(e){return e.data.start<s||e.data.start>u})),1==this.checkRangedItems)for(this.checkRangedItems=!1,c=0;c<e.byEnd.length;c++)this._checkIfVisibleWithReference(e.byEnd[c],r,i,n);else{var f=o.binarySearchCustom(e.byEnd,l,"data","end");this._traceVisible(f,e.byEnd,r,i,(function(e){return e.data.end<s||e.data.end>u}))}var h={},p=0;for(c=0;c<r.length;c++){var m=r[c];m.displayed||(h[c]=m.redraw(!0),p=h[c].length)}if(p>0)for(var v=0;v<p;v++)o.forEach(h,(function(e){e[v]()}));for(c=0;c<r.length;c++)r[c].repositionX();return r},s.prototype._traceVisible=function(e,t,n,r,i){if(-1!=e){var o,a;for(o=e;o>=0&&!i(a=t[o]);o--)void 0===r[a.id]&&(r[a.id]=!0,n.push(a));for(o=e+1;o<t.length&&!i(a=t[o]);o++)void 0===r[a.id]&&(r[a.id]=!0,n.push(a))}},s.prototype._checkIfVisible=function(e,t,n){e.isVisible(n)?(e.displayed||e.show(),e.repositionX(),t.push(e)):e.displayed&&e.hide()},s.prototype._checkIfVisibleWithReference=function(e,t,n,r){e.isVisible(r)?void 0===n[e.id]&&(n[e.id]=!0,t.push(e)):e.displayed&&e.hide()},s.prototype.changeSubgroup=function(e,t,n){this._removeFromSubgroup(e,t),this._addToSubgroup(e,n),this.orderSubgroups()},e.exports=s},function(e,t,n){var r,i=(r=n(30))&&r.__esModule?r:{default:r},o=n(69);function a(e,t,n){o.call(this,e,t,n),this.width=0,this.height=0,this.top=0,this.left=0}(a.prototype=(0,i.default)(o.prototype)).redraw=function(e,t,n){this.visibleItems=this._updateItemsInRange(this.orderedItems,this.visibleItems,e),this.width=this.dom.background.offsetWidth,this.dom.background.style.height="0";for(var r=0,i=this.visibleItems.length;r<i;r++)this.visibleItems[r].repositionY(t);return!1},a.prototype.show=function(){this.dom.background.parentNode||this.itemSet.dom.background.appendChild(this.dom.background)},e.exports=a},function(e,t,n){var r=n(38);function i(e,t,n){if(this.props={content:{width:0}},this.overflow=!1,this.options=n,e){if(null==e.start)throw new Error('Property "start" missing in item '+e.id);if(null==e.end)throw new Error('Property "end" missing in item '+e.id)}r.call(this,e,t,n)}(i.prototype=new r(null,null,null)).baseClassName="vis-item vis-range",i.prototype.isVisible=function(e){return this.data.start<e.end&&this.data.end>e.start},i.prototype._createDomElement=function(){this.dom||(this.dom={},this.dom.box=document.createElement("div"),this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-item-overflow",this.dom.box.appendChild(this.dom.frame),this.dom.visibleFrame=document.createElement("div"),this.dom.visibleFrame.className="vis-item-visible-frame",this.dom.box.appendChild(this.dom.visibleFrame),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.frame.appendChild(this.dom.content),this.dom.box["timeline-item"]=this,this.dirty=!0)},i.prototype._appendDomElement=function(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){var e=this.parent.dom.foreground;if(!e)throw new Error("Cannot redraw item: parent has no foreground container element");e.appendChild(this.dom.box)}this.displayed=!0},i.prototype._updateDirtyDomComponents=function(){this.dirty&&(this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.box),this._updateStyle(this.dom.box),this.dom.box.className=this.baseClassName+(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+(this.editable.updateTime||this.editable.updateGroup?" vis-editable":" vis-readonly"),this.dom.content.style.maxWidth="none")},i.prototype._getDomComponentsSizes=function(){return this.overflow="hidden"!==window.getComputedStyle(this.dom.frame).overflow,{content:{width:this.dom.content.offsetWidth},box:{height:this.dom.box.offsetHeight}}},i.prototype._updateDomComponentsSizes=function(e){this.props.content.width=e.content.width,this.height=e.box.height,this.dom.content.style.maxWidth="",this.dirty=!1},i.prototype._repaintDomAdditionals=function(){this._repaintOnItemUpdateTimeTooltip(this.dom.box),this._repaintDeleteButton(this.dom.box),this._repaintDragCenter(),this._repaintDragLeft(),this._repaintDragRight()},i.prototype.redraw=function(e){var t,n,r=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),(function(){this.dirty&&(t=this._getDomComponentsSizes.bind(this)())}).bind(this),(function(){this.dirty&&this._updateDomComponentsSizes.bind(this)(t)}).bind(this),this._repaintDomAdditionals.bind(this)];return e?r:(r.forEach((function(e){n=e()})),n)},i.prototype.show=function(){this.displayed||this.redraw()},i.prototype.hide=function(){if(this.displayed){var e=this.dom.box;e.parentNode&&e.parentNode.removeChild(e),this.displayed=!1}},i.prototype.repositionX=function(e){var t,n,r=this.parent.width,i=this.conversion.toScreen(this.data.start),o=this.conversion.toScreen(this.data.end),a=void 0===this.data.align?this.options.align:this.data.align;!1===this.data.limitSize||void 0!==e&&!0!==e||(i<-r&&(i=-r),o>2*r&&(o=2*r));var s=Math.max(o-i+.5,1);switch(this.overflow?(this.options.rtl?this.right=i:this.left=i,this.width=s+this.props.content.width,n=this.props.content.width):(this.options.rtl?this.right=i:this.left=i,this.width=s,n=Math.min(o-i,this.props.content.width)),this.options.rtl?this.dom.box.style.right=this.right+"px":this.dom.box.style.left=this.left+"px",this.dom.box.style.width=s+"px",a){case"left":this.options.rtl?this.dom.content.style.right="0":this.dom.content.style.left="0";break;case"right":this.options.rtl?this.dom.content.style.right=Math.max(s-n,0)+"px":this.dom.content.style.left=Math.max(s-n,0)+"px";break;case"center":this.options.rtl?this.dom.content.style.right=Math.max((s-n)/2,0)+"px":this.dom.content.style.left=Math.max((s-n)/2,0)+"px";break;default:t=this.overflow?o>0?Math.max(-i,0):-n:i<0?-i:0,this.options.rtl?this.dom.content.style.right=t+"px":(this.dom.content.style.left=t+"px",this.dom.content.style.width="calc(100% - "+t+"px)")}},i.prototype.repositionY=function(){this.dom.box.style.top="top"==this.options.orientation.item?this.top+"px":this.parent.height-this.top-this.height+"px"},i.prototype._repaintDragLeft=function(){if((this.selected||this.options.itemsAlwaysDraggable.range)&&this.options.editable.updateTime&&!this.dom.dragLeft){var e=document.createElement("div");e.className="vis-drag-left",e.dragLeftItem=this,this.dom.box.appendChild(e),this.dom.dragLeft=e}else this.selected||this.options.itemsAlwaysDraggable.range||!this.dom.dragLeft||(this.dom.dragLeft.parentNode&&this.dom.dragLeft.parentNode.removeChild(this.dom.dragLeft),this.dom.dragLeft=null)},i.prototype._repaintDragRight=function(){if((this.selected||this.options.itemsAlwaysDraggable.range)&&this.options.editable.updateTime&&!this.dom.dragRight){var e=document.createElement("div");e.className="vis-drag-right",e.dragRightItem=this,this.dom.box.appendChild(e),this.dom.dragRight=e}else this.selected||this.options.itemsAlwaysDraggable.range||!this.dom.dragRight||(this.dom.dragRight.parentNode&&this.dom.dragRight.parentNode.removeChild(this.dom.dragRight),this.dom.dragRight=null)},e.exports=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(19)),i=s(n(6)),o=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var u=n(2),l=n(179).default,c=function(){function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;(0,o.default)(this,e),this.parent=t,this.changedOptions=[],this.container=n,this.allowCreation=!1,this.options={},this.initialized=!1,this.popupCounter=0,this.defaultOptions={enabled:!1,filter:!0,container:void 0,showButton:!0},u.extend(this.options,this.defaultOptions),this.configureOptions=r,this.moduleOptions={},this.domElements=[],this.popupDiv={},this.popupLimit=5,this.popupHistory={},this.colorPicker=new l(i),this.wrapper=void 0}return(0,a.default)(e,[{key:"setOptions",value:function(e){if(void 0!==e){this.popupHistory={},this._removePopup();var t=!0;"string"==typeof e?this.options.filter=e:e instanceof Array?this.options.filter=e.join():"object"===(void 0===e?"undefined":(0,i.default)(e))?(void 0!==e.container&&(this.options.container=e.container),void 0!==e.filter&&(this.options.filter=e.filter),void 0!==e.showButton&&(this.options.showButton=e.showButton),void 0!==e.enabled&&(t=e.enabled)):"boolean"==typeof e?(this.options.filter=!0,t=e):"function"==typeof e&&(this.options.filter=e,t=!0),!1===this.options.filter&&(t=!1),this.options.enabled=t}this._clean()}},{key:"setModuleOptions",value:function(e){this.moduleOptions=e,!0===this.options.enabled&&(this._clean(),void 0!==this.options.container&&(this.container=this.options.container),this._create())}},{key:"_create",value:function(){var e=this;this._clean(),this.changedOptions=[];var t=this.options.filter,n=0,r=!1;for(var i in this.configureOptions)this.configureOptions.hasOwnProperty(i)&&(this.allowCreation=!1,r=!1,"function"==typeof t?r=(r=t(i,[]))||this._handleObject(this.configureOptions[i],[i],!0):!0!==t&&-1===t.indexOf(i)||(r=!0),!1!==r&&(this.allowCreation=!0,n>0&&this._makeItem([]),this._makeHeader(i),this._handleObject(this.configureOptions[i],[i])),n++);if(!0===this.options.showButton){var o=document.createElement("div");o.className="vis-configuration vis-config-button",o.innerHTML="generate options",o.onclick=function(){e._printOptions()},o.onmouseover=function(){o.className="vis-configuration vis-config-button hover"},o.onmouseout=function(){o.className="vis-configuration vis-config-button"},this.optionsContainer=document.createElement("div"),this.optionsContainer.className="vis-configuration vis-config-option-container",this.domElements.push(this.optionsContainer),this.domElements.push(o)}this._push()}},{key:"_push",value:function(){this.wrapper=document.createElement("div"),this.wrapper.className="vis-configuration-wrapper",this.container.appendChild(this.wrapper);for(var e=0;e<this.domElements.length;e++)this.wrapper.appendChild(this.domElements[e]);this._showPopupIfNeeded()}},{key:"_clean",value:function(){for(var e=0;e<this.domElements.length;e++)this.wrapper.removeChild(this.domElements[e]);void 0!==this.wrapper&&(this.container.removeChild(this.wrapper),this.wrapper=void 0),this.domElements=[],this._removePopup()}},{key:"_getValue",value:function(e){for(var t=this.moduleOptions,n=0;n<e.length;n++){if(void 0===t[e[n]]){t=void 0;break}t=t[e[n]]}return t}},{key:"_makeItem",value:function(e){if(!0===this.allowCreation){var t=document.createElement("div");t.className="vis-configuration vis-config-item vis-config-s"+e.length;for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.forEach((function(e){t.appendChild(e)})),this.domElements.push(t),this.domElements.length}return 0}},{key:"_makeHeader",value:function(e){var t=document.createElement("div");t.className="vis-configuration vis-config-header",t.innerHTML=e,this._makeItem([],t)}},{key:"_makeLabel",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=document.createElement("div");return r.className="vis-configuration vis-config-label vis-config-s"+t.length,r.innerHTML=!0===n?"<i><b>"+e+":</b></i>":e+":",r}},{key:"_makeDropdown",value:function(e,t,n){var r=document.createElement("select");r.className="vis-configuration vis-config-select";var i=0;void 0!==t&&-1!==e.indexOf(t)&&(i=e.indexOf(t));for(var o=0;o<e.length;o++){var a=document.createElement("option");a.value=e[o],o===i&&(a.selected="selected"),a.innerHTML=e[o],r.appendChild(a)}var s=this;r.onchange=function(){s._update(this.value,n)};var u=this._makeLabel(n[n.length-1],n);this._makeItem(n,u,r)}},{key:"_makeRange",value:function(e,t,n){var r=e[0],i=e[1],o=e[2],a=e[3],s=document.createElement("input");s.className="vis-configuration vis-config-range";try{s.type="range",s.min=i,s.max=o}catch(e){}s.step=a;var u="",l=0;void 0!==t?(t<0&&1.2*t<i?(s.min=Math.ceil(1.2*t),l=s.min,u="range increased"):t/1.2<i&&(s.min=Math.ceil(t/1.2),l=s.min,u="range increased"),1.2*t>o&&1!==o&&(s.max=Math.ceil(1.2*t),l=s.max,u="range increased"),s.value=t):s.value=r;var c=document.createElement("input");c.className="vis-configuration vis-config-rangeinput",c.value=s.value;var d=this;s.onchange=function(){c.value=this.value,d._update(Number(this.value),n)},s.oninput=function(){c.value=this.value};var f=this._makeLabel(n[n.length-1],n),h=this._makeItem(n,f,s,c);""!==u&&this.popupHistory[h]!==l&&(this.popupHistory[h]=l,this._setupPopup(u,h))}},{key:"_setupPopup",value:function(e,t){var n=this;if(!0===this.initialized&&!0===this.allowCreation&&this.popupCounter<this.popupLimit){var r=document.createElement("div");r.id="vis-configuration-popup",r.className="vis-configuration-popup",r.innerHTML=e,r.onclick=function(){n._removePopup()},this.popupCounter+=1,this.popupDiv={html:r,index:t}}}},{key:"_removePopup",value:function(){void 0!==this.popupDiv.html&&(this.popupDiv.html.parentNode.removeChild(this.popupDiv.html),clearTimeout(this.popupDiv.hideTimeout),clearTimeout(this.popupDiv.deleteTimeout),this.popupDiv={})}},{key:"_showPopupIfNeeded",value:function(){var e=this;if(void 0!==this.popupDiv.html){var t=this.domElements[this.popupDiv.index].getBoundingClientRect();this.popupDiv.html.style.left=t.left+"px",this.popupDiv.html.style.top=t.top-30+"px",document.body.appendChild(this.popupDiv.html),this.popupDiv.hideTimeout=setTimeout((function(){e.popupDiv.html.style.opacity=0}),1500),this.popupDiv.deleteTimeout=setTimeout((function(){e._removePopup()}),1800)}}},{key:"_makeCheckbox",value:function(e,t,n){var r=document.createElement("input");r.type="checkbox",r.className="vis-configuration vis-config-checkbox",r.checked=e,void 0!==t&&(r.checked=t,t!==e&&("object"===(void 0===e?"undefined":(0,i.default)(e))?t!==e.enabled&&this.changedOptions.push({path:n,value:t}):this.changedOptions.push({path:n,value:t})));var o=this;r.onchange=function(){o._update(this.checked,n)};var a=this._makeLabel(n[n.length-1],n);this._makeItem(n,a,r)}},{key:"_makeTextInput",value:function(e,t,n){var r=document.createElement("input");r.type="text",r.className="vis-configuration vis-config-text",r.value=t,t!==e&&this.changedOptions.push({path:n,value:t});var i=this;r.onchange=function(){i._update(this.value,n)};var o=this._makeLabel(n[n.length-1],n);this._makeItem(n,o,r)}},{key:"_makeColorField",value:function(e,t,n){var r=this,i=e[1],o=document.createElement("div");"none"!==(t=void 0===t?i:t)?(o.className="vis-configuration vis-config-colorBlock",o.style.backgroundColor=t):o.className="vis-configuration vis-config-colorBlock none",t=void 0===t?i:t,o.onclick=function(){r._showColorPicker(t,o,n)};var a=this._makeLabel(n[n.length-1],n);this._makeItem(n,a,o)}},{key:"_showColorPicker",value:function(e,t,n){var r=this;t.onclick=function(){},this.colorPicker.insertTo(t),this.colorPicker.show(),this.colorPicker.setColor(e),this.colorPicker.setUpdateCallback((function(e){var i="rgba("+e.r+","+e.g+","+e.b+","+e.a+")";t.style.backgroundColor=i,r._update(i,n)})),this.colorPicker.setCloseCallback((function(){t.onclick=function(){r._showColorPicker(e,t,n)}}))}},{key:"_handleObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,i=this.options.filter,o=!1;for(var a in e)if(e.hasOwnProperty(a)){r=!0;var s=e[a],l=u.copyAndExtendArray(t,a);if("function"==typeof i&&!1===(r=i(a,t))&&!(s instanceof Array)&&"string"!=typeof s&&"boolean"!=typeof s&&s instanceof Object&&(this.allowCreation=!1,r=this._handleObject(s,l,!0),this.allowCreation=!1===n),!1!==r){o=!0;var c=this._getValue(l);if(s instanceof Array)this._handleArray(s,c,l);else if("string"==typeof s)this._makeTextInput(s,c,l);else if("boolean"==typeof s)this._makeCheckbox(s,c,l);else if(s instanceof Object){var d=!0;if(-1!==t.indexOf("physics")&&this.moduleOptions.physics.solver!==a&&(d=!1),!0===d)if(void 0!==s.enabled){var f=u.copyAndExtendArray(l,"enabled"),h=this._getValue(f);if(!0===h){var p=this._makeLabel(a,l,!0);this._makeItem(l,p),o=this._handleObject(s,l)||o}else this._makeCheckbox(s,h,l)}else{var m=this._makeLabel(a,l,!0);this._makeItem(l,m),o=this._handleObject(s,l)||o}}else console.error("dont know how to handle",s,a,l)}}return o}},{key:"_handleArray",value:function(e,t,n){"string"==typeof e[0]&&"color"===e[0]?(this._makeColorField(e,t,n),e[1]!==t&&this.changedOptions.push({path:n,value:t})):"string"==typeof e[0]?(this._makeDropdown(e,t,n),e[0]!==t&&this.changedOptions.push({path:n,value:t})):"number"==typeof e[0]&&(this._makeRange(e,t,n),e[0]!==t&&this.changedOptions.push({path:n,value:Number(t)}))}},{key:"_update",value:function(e,t){var n=this._constructOptions(e,t);this.parent.body&&this.parent.body.emitter&&this.parent.body.emitter.emit&&this.parent.body.emitter.emit("configChange",n),this.initialized=!0,this.parent.setOptions(n)}},{key:"_constructOptions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n;e="false"!==(e="true"===e||e)&&e;for(var i=0;i<t.length;i++)"global"!==t[i]&&(void 0===r[t[i]]&&(r[t[i]]={}),i!==t.length-1?r=r[t[i]]:r[t[i]]=e);return n}},{key:"_printOptions",value:function(){var e=this.getOptions();this.optionsContainer.innerHTML="<pre>var options = "+(0,r.default)(e,null,2)+"</pre>"}},{key:"getOptions",value:function(){for(var e={},t=0;t<this.changedOptions.length;t++)this._constructOptions(this.changedOptions[t].value,this.changedOptions[t].path,e);return e}}]),e}();t.default=c},function(e,t,n){var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=n(14);function a(e,t){}function s(e,t){return{style:(t=void 0===t?{}:t).style||e.options.drawPoints.style,styles:t.styles||e.options.drawPoints.styles,size:t.size||e.options.drawPoints.size,className:t.className||e.className}}a.draw=function(e,t,n,r){r=r||0;for(var a=function(e,t){var n=void 0;return e.options&&e.options.drawPoints&&e.options.drawPoints.onRender&&"function"==typeof e.options.drawPoints.onRender&&(n=e.options.drawPoints.onRender),t.group.options&&t.group.options.drawPoints&&t.group.options.drawPoints.onRender&&"function"==typeof t.group.options.drawPoints.onRender&&(n=t.group.options.drawPoints.onRender),n}(n,t),u=0;u<e.length;u++)if(a){var l=a(e[u],t);!0!==l&&"object"!==(void 0===l?"undefined":(0,i.default)(l))||o.drawPoint(e[u].screen_x+r,e[u].screen_y,s(t,l),n.svgElements,n.svg,e[u].label)}else o.drawPoint(e[u].screen_x+r,e[u].screen_y,s(t),n.svgElements,n.svg,e[u].label)},a.drawIcon=function(e,t,n,r,i,a){var u=.5*i,l=o.getSVGElement("rect",a.svgElements,a.svg);l.setAttributeNS(null,"x",t),l.setAttributeNS(null,"y",n-u),l.setAttributeNS(null,"width",r),l.setAttributeNS(null,"height",2*u),l.setAttributeNS(null,"class","vis-outline"),o.drawPoint(t+.5*r,n,s(e),a.svgElements,a.svg)},e.exports=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){(0,i.default)(this,t);var s=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return s.labelOffset=0,s.selected=!1,s}return(0,s.default)(t,e),(0,o.default)(t,[{key:"setOptions",value:function(e,t,n){this.options=e,void 0===t&&void 0===n||this.setImages(t,n)}},{key:"setImages",value:function(e,t){t&&this.selected?(this.imageObj=t,this.imageObjAlt=e):(this.imageObj=e,this.imageObjAlt=t)}},{key:"switchImages",value:function(e){var t=e&&!this.selected||!e&&this.selected;if(this.selected=e,void 0!==this.imageObjAlt&&t){var n=this.imageObj;this.imageObj=this.imageObjAlt,this.imageObjAlt=n}}},{key:"_resizeImage",value:function(){var e,t;if(!1===this.options.shapeProperties.useImageSize){var n=1,r=1;this.imageObj.width&&this.imageObj.height&&(this.imageObj.width>this.imageObj.height?n=this.imageObj.width/this.imageObj.height:r=this.imageObj.height/this.imageObj.width),e=2*this.options.size*n,t=2*this.options.size*r}else e=this.imageObj.width,t=this.imageObj.height;this.width=e,this.height=t,this.radius=.5*this.width}},{key:"_drawRawCircle",value:function(e,t,n,r){this.initContextForDraw(e,r),e.circle(t,n,r.size),this.performFill(e,r)}},{key:"_drawImageAtPosition",value:function(e,t){if(0!=this.imageObj.width){e.globalAlpha=1,this.enableShadow(e,t);var n=1;!0===this.options.shapeProperties.interpolation&&(n=this.imageObj.width/this.width/this.body.view.scale),this.imageObj.drawImageAtPosition(e,n,this.left,this.top,this.width,this.height),this.disableShadow(e,t)}}},{key:"_drawImageLabel",value:function(e,t,n,r,i){var o,a=0;if(void 0!==this.height){a=.5*this.height;var s=this.labelModule.getTextSize(e,r,i);s.lineCount>=1&&(a+=s.height/2)}o=n+a,this.options.label&&(this.labelOffset=a),this.labelModule.draw(e,t,o,r,i,"hanging")}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(19)),i=u(n(6)),o=u(n(30)),a=u(n(0)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=n(2),c=n(117).default,d=n(49).default,f=n(215).default,h=n(217).default,p=n(218).default,m=n(219).default,v=function(){function e(t,n,r,i){if((0,a.default)(this,e),void 0===n)throw new Error("No body provided");this.options=l.bridgeObject(r),this.globalOptions=r,this.defaultOptions=i,this.body=n,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.selected=!1,this.hover=!1,this.labelDirty=!0,this.baseWidth=this.options.width,this.baseFontSize=this.options.font.size,this.from=void 0,this.to=void 0,this.edgeType=void 0,this.connected=!1,this.labelModule=new c(this.body,this.options,!0),this.setOptions(t)}return(0,s.default)(e,[{key:"setOptions",value:function(t){if(t){e.parseOptions(this.options,t,!0,this.globalOptions),void 0!==t.id&&(this.id=t.id),void 0!==t.from&&(this.fromId=t.from),void 0!==t.to&&(this.toId=t.to),void 0!==t.title&&(this.title=t.title),void 0!==t.value&&(t.value=parseFloat(t.value)),this.chooser=d.choosify("edge",[t,this.options,this.defaultOptions]),this.updateLabelModule(t);var n=this.updateEdgeType();return this._setInteractionWidths(),this.connect(),void 0===t.hidden&&void 0===t.physics||(n=!0),n}}},{key:"getFormattingValues",value:function(){var e=this.options.color.inherit,t={toArrow:!0===this.options.arrows.to||!0===this.options.arrows.to.enabled,toArrowScale:this.options.arrows.to.scaleFactor,toArrowType:this.options.arrows.to.type,middleArrow:!0===this.options.arrows.middle||!0===this.options.arrows.middle.enabled,middleArrowScale:this.options.arrows.middle.scaleFactor,middleArrowType:this.options.arrows.middle.type,fromArrow:!0===this.options.arrows.from||!0===this.options.arrows.from.enabled,fromArrowScale:this.options.arrows.from.scaleFactor,fromArrowType:this.options.arrows.from.type,arrowStrikethrough:this.options.arrowStrikethrough,color:e?void 0:this.options.color.color,inheritsColor:e,opacity:this.options.color.opacity,hidden:this.options.hidden,length:this.options.length,shadow:this.options.shadow.enabled,shadowColor:this.options.shadow.color,shadowSize:this.options.shadow.size,shadowX:this.options.shadow.x,shadowY:this.options.shadow.y,dashes:this.options.dashes,width:this.options.width};if(this.selected||this.hover)if(!0===this.chooser){if(this.selected){var n=this.options.selectionWidth;"function"==typeof n?t.width=n(t.width):"number"==typeof n&&(t.width+=n),t.width=Math.max(t.width,.3/this.body.view.scale),t.color=this.options.color.highlight,t.shadow=this.options.shadow.enabled}else if(this.hover){var r=this.options.hoverWidth;"function"==typeof r?t.width=r(t.width):"number"==typeof r&&(t.width+=r),t.width=Math.max(t.width,.3/this.body.view.scale),t.color=this.options.color.hover,t.shadow=this.options.shadow.enabled}}else"function"==typeof this.chooser&&(this.chooser(t,this.options.id,this.selected,this.hover),void 0!==t.color&&(t.inheritsColor=!1),!1===t.shadow&&(t.shadowColor===this.options.shadow.color&&t.shadowSize===this.options.shadow.size&&t.shadowX===this.options.shadow.x&&t.shadowY===this.options.shadow.y||(t.shadow=!0)));else t.shadow=this.options.shadow.enabled,t.width=Math.max(t.width,.3/this.body.view.scale);return t}},{key:"updateLabelModule",value:function(e){this.labelModule.update(this.options,[e,this.options,this.globalOptions,this.defaultOptions]),void 0!==this.labelModule.baseSize&&(this.baseFontSize=this.labelModule.baseSize)}},{key:"updateEdgeType",value:function(){var e=this.options.smooth,t=!1,n=!0;return void 0!==this.edgeType&&((this.edgeType instanceof h&&!0===e.enabled&&"dynamic"===e.type||this.edgeType instanceof f&&!0===e.enabled&&"cubicBezier"===e.type||this.edgeType instanceof p&&!0===e.enabled&&"dynamic"!==e.type&&"cubicBezier"!==e.type||this.edgeType instanceof m&&!1===e.type.enabled)&&(n=!1),!0===n&&(t=this.cleanup())),!0===n?!0===e.enabled?"dynamic"===e.type?(t=!0,this.edgeType=new h(this.options,this.body,this.labelModule)):this.edgeType="cubicBezier"===e.type?new f(this.options,this.body,this.labelModule):new p(this.options,this.body,this.labelModule):this.edgeType=new m(this.options,this.body,this.labelModule):this.edgeType.setOptions(this.options),t}},{key:"connect",value:function(){this.disconnect(),this.from=this.body.nodes[this.fromId]||void 0,this.to=this.body.nodes[this.toId]||void 0,this.connected=void 0!==this.from&&void 0!==this.to,!0===this.connected?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this)),this.edgeType.connect()}},{key:"disconnect",value:function(){this.from&&(this.from.detachEdge(this),this.from=void 0),this.to&&(this.to.detachEdge(this),this.to=void 0),this.connected=!1}},{key:"getTitle",value:function(){return this.title}},{key:"isSelected",value:function(){return this.selected}},{key:"getValue",value:function(){return this.options.value}},{key:"setValueRange",value:function(e,t,n){if(void 0!==this.options.value){var r=this.options.scaling.customScalingFunction(e,t,n,this.options.value),i=this.options.scaling.max-this.options.scaling.min;!0===this.options.scaling.label.enabled&&(this.options.font.size=this.options.scaling.label.min+r*(this.options.scaling.label.max-this.options.scaling.label.min)),this.options.width=this.options.scaling.min+r*i}else this.options.width=this.baseWidth,this.options.font.size=this.baseFontSize;this._setInteractionWidths(),this.updateLabelModule()}},{key:"_setInteractionWidths",value:function(){this.edgeType.hoverWidth="function"==typeof this.options.hoverWidth?this.options.hoverWidth(this.options.width):this.options.hoverWidth+this.options.width,this.edgeType.selectionWidth="function"==typeof this.options.selectionWidth?this.options.selectionWidth(this.options.width):this.options.selectionWidth+this.options.width}},{key:"draw",value:function(e){var t=this.getFormattingValues();if(!t.hidden){var n=this.edgeType.getViaNode(),r={};this.edgeType.fromPoint=this.edgeType.from,this.edgeType.toPoint=this.edgeType.to,t.fromArrow&&(r.from=this.edgeType.getArrowData(e,"from",n,this.selected,this.hover,t),!1===t.arrowStrikethrough&&(this.edgeType.fromPoint=r.from.core)),t.toArrow&&(r.to=this.edgeType.getArrowData(e,"to",n,this.selected,this.hover,t),!1===t.arrowStrikethrough&&(this.edgeType.toPoint=r.to.core)),t.middleArrow&&(r.middle=this.edgeType.getArrowData(e,"middle",n,this.selected,this.hover,t)),this.edgeType.drawLine(e,t,this.selected,this.hover,n),this.drawArrows(e,r,t),this.drawLabel(e,n)}}},{key:"drawArrows",value:function(e,t,n){n.fromArrow&&this.edgeType.drawArrowHead(e,n,this.selected,this.hover,t.from),n.middleArrow&&this.edgeType.drawArrowHead(e,n,this.selected,this.hover,t.middle),n.toArrow&&this.edgeType.drawArrowHead(e,n,this.selected,this.hover,t.to)}},{key:"drawLabel",value:function(e,t){if(void 0!==this.options.label){var n=this.from,r=this.to;if(this.labelModule.differentState(this.selected,this.hover)&&this.labelModule.getTextSize(e,this.selected,this.hover),n.id!=r.id){this.labelModule.pointToSelf=!1;var i=this.edgeType.getPoint(.5,t);e.save();var o=this._getRotation(e);0!=o.angle&&(e.translate(o.x,o.y),e.rotate(o.angle)),this.labelModule.draw(e,i.x,i.y,this.selected,this.hover),e.restore()}else{var a,s;this.labelModule.pointToSelf=!0;var u=this.options.selfReferenceSize;n.shape.width>n.shape.height?(a=n.x+.5*n.shape.width,s=n.y-u):(a=n.x+u,s=n.y-.5*n.shape.height),i=this._pointOnCircle(a,s,u,.125),this.labelModule.draw(e,i.x,i.y,this.selected,this.hover)}}}},{key:"getItemsOnPoint",value:function(e){var t=[];if(this.labelModule.visible()){var n=this._getRotation();d.pointInRect(this.labelModule.getSize(),e,n)&&t.push({edgeId:this.id,labelId:0})}return this.isOverlappingWith({left:e.x,top:e.y})&&t.push({edgeId:this.id}),t}},{key:"isOverlappingWith",value:function(e){return!!this.connected&&this.edgeType.getDistanceToEdge(this.from.x,this.from.y,this.to.x,this.to.y,e.left,e.top)<10}},{key:"_getRotation",value:function(e){var t=this.edgeType.getViaNode(),n=this.edgeType.getPoint(.5,t);void 0!==e&&this.labelModule.calculateLabelSize(e,this.selected,this.hover,n.x,n.y);var r={x:n.x,y:this.labelModule.size.yLine,angle:0};if(!this.labelModule.visible())return r;if("horizontal"===this.options.font.align)return r;var i=this.from.x-this.to.x,o=Math.atan2(this.from.y-this.to.y,i);return(o<-1&&i<0||o>0&&i<0)&&(o+=Math.PI),r.angle=o,r}},{key:"_pointOnCircle",value:function(e,t,n,r){var i=2*r*Math.PI;return{x:e+n*Math.cos(i),y:t-n*Math.sin(i)}}},{key:"select",value:function(){this.selected=!0}},{key:"unselect",value:function(){this.selected=!1}},{key:"cleanup",value:function(){return this.edgeType.cleanup()}},{key:"remove",value:function(){this.cleanup(),this.disconnect(),delete this.body.edges[this.id]}},{key:"endPointsValid",value:function(){return void 0!==this.body.nodes[this.fromId]&&void 0!==this.body.nodes[this.toId]}}],[{key:"parseOptions",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=["arrowStrikethrough","id","from","hidden","hoverWidth","labelHighlightBold","length","line","opacity","physics","scaling","selectionWidth","selfReferenceSize","to","title","value","width","font","chosen","widthConstraint"];if(l.selectiveDeepExtend(u,e,t,n),e.label=d.isValidLabel(t.label)?t.label:void 0,l.mergeOptions(e,t,"smooth",a),l.mergeOptions(e,t,"shadow",a),null!=t.dashes?e.dashes=t.dashes:!0===n&&null===t.dashes&&(e.dashes=(0,o.default)(a.dashes)),null!=t.scaling?(void 0!==t.scaling.min&&(e.scaling.min=t.scaling.min),void 0!==t.scaling.max&&(e.scaling.max=t.scaling.max),l.mergeOptions(e.scaling,t.scaling,"label",a.scaling)):!0===n&&null===t.scaling&&(e.scaling=(0,o.default)(a.scaling)),null!=t.arrows)if("string"==typeof t.arrows){var c=t.arrows.toLowerCase();e.arrows.to.enabled=-1!=c.indexOf("to"),e.arrows.middle.enabled=-1!=c.indexOf("middle"),e.arrows.from.enabled=-1!=c.indexOf("from")}else{if("object"!==(0,i.default)(t.arrows))throw new Error("The arrow newOptions can only be an object or a string. Refer to the documentation. You used:"+(0,r.default)(t.arrows));l.mergeOptions(e.arrows,t.arrows,"to",a.arrows),l.mergeOptions(e.arrows,t.arrows,"middle",a.arrows),l.mergeOptions(e.arrows,t.arrows,"from",a.arrows)}else!0===n&&null===t.arrows&&(e.arrows=(0,o.default)(a.arrows));if(null!=t.color){var f=t.color,h=e.color;if(s)l.deepExtend(h,a.color,!1,n);else for(var p in h)h.hasOwnProperty(p)&&delete h[p];if(l.isString(h))h.color=h,h.highlight=h,h.hover=h,h.inherit=!1,void 0===f.opacity&&(h.opacity=1);else{var m=!1;void 0!==f.color&&(h.color=f.color,m=!0),void 0!==f.highlight&&(h.highlight=f.highlight,m=!0),void 0!==f.hover&&(h.hover=f.hover,m=!0),void 0!==f.inherit&&(h.inherit=f.inherit),void 0!==f.opacity&&(h.opacity=Math.min(1,Math.max(0,f.opacity))),!0===m?h.inherit=!1:void 0===h.inherit&&(h.inherit="from")}}else!0===n&&null===t.color&&(e.color=l.bridgeObject(a.color));!0===n&&null===t.font&&(e.font=l.bridgeObject(a.font))}}]),e}();t.default=v},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_findBorderPositionBezier",value:function(e,t){var n,r,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this._getViaCoordinates(),a=10,s=0,u=0,l=1,c=.2,d=this.to,f=!1;for(e.id===this.from.id&&(d=this.from,f=!0);u<=l&&s<a;){var h=.5*(u+l);if(n=this.getPoint(h,o),r=Math.atan2(d.y-n.y,d.x-n.x),i=d.distanceToBorder(t,r)-Math.sqrt(Math.pow(n.x-d.x,2)+Math.pow(n.y-d.y,2)),Math.abs(i)<c)break;i<0?!1===f?u=h:l=h:!1===f?l=h:u=h,s++}return n.t=h,n}},{key:"_getDistanceToBezierEdge",value:function(e,t,n,r,i,o,a){var s=1e9,u=void 0,l=void 0,c=void 0,d=void 0,f=void 0,h=e,p=t;for(l=1;l<10;l++)c=.1*l,d=Math.pow(1-c,2)*e+2*c*(1-c)*a.x+Math.pow(c,2)*n,f=Math.pow(1-c,2)*t+2*c*(1-c)*a.y+Math.pow(c,2)*r,l>0&&(s=(u=this._getDistanceToLine(h,p,d,f,i,o))<s?u:s),h=d,p=f;return s}},{key:"_bezierCurve",value:function(e,t,n,r){var i=void 0!==n&&void 0!==n.x,o=void 0!==r&&void 0!==r.x;e.beginPath(),e.moveTo(this.fromPoint.x,this.fromPoint.y),i&&o?e.bezierCurveTo(n.x,n.y,r.x,r.y,this.toPoint.x,this.toPoint.y):i?e.quadraticCurveTo(n.x,n.y,this.toPoint.x,this.toPoint.y):e.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(e,t),e.stroke(),this.disableShadow(e,t)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}}]),t}(u(n(118)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=function(){function e(){(0,r.default)(this,e)}return(0,i.default)(e,null,[{key:"getRange",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=1e9,i=-1e9,o=1e9,a=-1e9;if(n.length>0)for(var s=0;s<n.length;s++)o>(t=e[n[s]]).shape.boundingBox.left&&(o=t.shape.boundingBox.left),a<t.shape.boundingBox.right&&(a=t.shape.boundingBox.right),r>t.shape.boundingBox.top&&(r=t.shape.boundingBox.top),i<t.shape.boundingBox.bottom&&(i=t.shape.boundingBox.bottom);return 1e9===o&&-1e9===a&&1e9===r&&-1e9===i&&(r=0,i=0,o=0,a=0),{minX:o,maxX:a,minY:r,maxY:i}}},{key:"getRangeCore",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=1e9,i=-1e9,o=1e9,a=-1e9;if(n.length>0)for(var s=0;s<n.length;s++)o>(t=e[n[s]]).x&&(o=t.x),a<t.x&&(a=t.x),r>t.y&&(r=t.y),i<t.y&&(i=t.y);return 1e9===o&&-1e9===a&&1e9===r&&-1e9===i&&(r=0,i=0,o=0,a=0),{minX:o,maxX:a,minY:r,maxY:i}}},{key:"findCenter",value:function(e){return{x:.5*(e.maxX+e.minX),y:.5*(e.maxY+e.minY)}}},{key:"cloneOptions",value:function(e,t){var n={};return void 0===t||"node"===t?(a.deepExtend(n,e.options,!0),n.x=e.x,n.y=e.y,n.amountOfConnections=e.edges.length):a.deepExtend(n,e.options,!0),n}}]),e}();t.default=s},function(e,t,n){var r=n(52);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(39),i=n(17),o=n(83),a=n(26),s=n(32),u=n(129),l=n(60),c=n(85),d=n(13)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,m,v,g){u(n,t,p);var y,b,_,w=function(e){if(!f&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",C="values"==m,A=!1,k=e.prototype,S=k[d]||k["@@iterator"]||m&&k[m],x=S||w(m),D=m?C?w("entries"):x:void 0,O="Array"==t&&k.entries||S;if(O&&(_=c(O.call(new e)))!==Object.prototype&&_.next&&(l(_,E,!0),r||"function"==typeof _[d]||a(_,d,h)),C&&S&&"values"!==S.name&&(A=!0,x=function(){return S.call(this)}),r&&!g||!f&&!A&&k[d]||a(k,d,x),s[t]=x,s[E]=h,m)if(y={values:C?x:w("values"),keys:v?x:w("keys"),entries:D},g)for(b in y)b in k||o(k,b,y[b]);else i(i.P+i.F*(f||A),t,y);return y}},function(e,t,n){var r=n(128);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(21)&&!n(29)((function(){return 7!=Object.defineProperty(n(82)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(28),i=n(18).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(26)},function(e,t,n){var r=n(22),i=n(25),o=n(131)(!1),a=n(57)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(22),i=n(42),o=n(57)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(52),i=n(13)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(17),i=n(7),o=n(29);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(84),i=n(59).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(43),i=n(40),o=n(25),a=n(54),s=n(22),u=n(81),l=Object.getOwnPropertyDescriptor;t.f=n(21)?l:function(e,t){if(e=o(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){e.exports={default:n(162),__esModule:!0}},function(e,t,n){e.exports=function(e,t){this.x=void 0!==e?e:0,this.y=void 0!==t?t:0}},function(e,t,n){var r=n(2);function i(e,t){if(void 0===e)throw new Error("No container element defined");if(this.container=e,this.visible=!t||null==t.visible||t.visible,this.visible){this.frame=document.createElement("DIV"),this.frame.style.width="100%",this.frame.style.position="relative",this.container.appendChild(this.frame),this.frame.prev=document.createElement("INPUT"),this.frame.prev.type="BUTTON",this.frame.prev.value="Prev",this.frame.appendChild(this.frame.prev),this.frame.play=document.createElement("INPUT"),this.frame.play.type="BUTTON",this.frame.play.value="Play",this.frame.appendChild(this.frame.play),this.frame.next=document.createElement("INPUT"),this.frame.next.type="BUTTON",this.frame.next.value="Next",this.frame.appendChild(this.frame.next),this.frame.bar=document.createElement("INPUT"),this.frame.bar.type="BUTTON",this.frame.bar.style.position="absolute",this.frame.bar.style.border="1px solid red",this.frame.bar.style.width="100px",this.frame.bar.style.height="6px",this.frame.bar.style.borderRadius="2px",this.frame.bar.style.MozBorderRadius="2px",this.frame.bar.style.border="1px solid #7F7F7F",this.frame.bar.style.backgroundColor="#E5E5E5",this.frame.appendChild(this.frame.bar),this.frame.slide=document.createElement("INPUT"),this.frame.slide.type="BUTTON",this.frame.slide.style.margin="0px",this.frame.slide.value=" ",this.frame.slide.style.position="relative",this.frame.slide.style.left="-100px",this.frame.appendChild(this.frame.slide);var n=this;this.frame.slide.onmousedown=function(e){n._onMouseDown(e)},this.frame.prev.onclick=function(e){n.prev(e)},this.frame.play.onclick=function(e){n.togglePlay(e)},this.frame.next.onclick=function(e){n.next(e)}}this.onChangeCallback=void 0,this.values=[],this.index=void 0,this.playTimeout=void 0,this.playInterval=1e3,this.playLoop=!0}i.prototype.prev=function(){var e=this.getIndex();e>0&&(e--,this.setIndex(e))},i.prototype.next=function(){var e=this.getIndex();e<this.values.length-1&&(e++,this.setIndex(e))},i.prototype.playNext=function(){var e=new Date,t=this.getIndex();t<this.values.length-1?(t++,this.setIndex(t)):this.playLoop&&this.setIndex(t=0);var n=new Date-e,r=Math.max(this.playInterval-n,0),i=this;this.playTimeout=setTimeout((function(){i.playNext()}),r)},i.prototype.togglePlay=function(){void 0===this.playTimeout?this.play():this.stop()},i.prototype.play=function(){this.playTimeout||(this.playNext(),this.frame&&(this.frame.play.value="Stop"))},i.prototype.stop=function(){clearInterval(this.playTimeout),this.playTimeout=void 0,this.frame&&(this.frame.play.value="Play")},i.prototype.setOnChangeCallback=function(e){this.onChangeCallback=e},i.prototype.setPlayInterval=function(e){this.playInterval=e},i.prototype.getPlayInterval=function(){return this.playInterval},i.prototype.setPlayLoop=function(e){this.playLoop=e},i.prototype.onChange=function(){void 0!==this.onChangeCallback&&this.onChangeCallback()},i.prototype.redraw=function(){if(this.frame){this.frame.bar.style.top=this.frame.clientHeight/2-this.frame.bar.offsetHeight/2+"px",this.frame.bar.style.width=this.frame.clientWidth-this.frame.prev.clientWidth-this.frame.play.clientWidth-this.frame.next.clientWidth-30+"px";var e=this.indexToLeft(this.index);this.frame.slide.style.left=e+"px"}},i.prototype.setValues=function(e){this.values=e,this.values.length>0?this.setIndex(0):this.index=void 0},i.prototype.setIndex=function(e){if(!(e<this.values.length))throw new Error("Index out of range");this.index=e,this.redraw(),this.onChange()},i.prototype.getIndex=function(){return this.index},i.prototype.get=function(){return this.values[this.index]},i.prototype._onMouseDown=function(e){if(e.which?1===e.which:1===e.button){this.startClientX=e.clientX,this.startSlideX=parseFloat(this.frame.slide.style.left),this.frame.style.cursor="move";var t=this;this.onmousemove=function(e){t._onMouseMove(e)},this.onmouseup=function(e){t._onMouseUp(e)},r.addEventListener(document,"mousemove",this.onmousemove),r.addEventListener(document,"mouseup",this.onmouseup),r.preventDefault(e)}},i.prototype.leftToIndex=function(e){var t=parseFloat(this.frame.bar.style.width)-this.frame.slide.clientWidth-10,n=Math.round((e-3)/t*(this.values.length-1));return n<0&&(n=0),n>this.values.length-1&&(n=this.values.length-1),n},i.prototype.indexToLeft=function(e){var t=parseFloat(this.frame.bar.style.width)-this.frame.slide.clientWidth-10;return e/(this.values.length-1)*t+3},i.prototype._onMouseMove=function(e){var t=this.leftToIndex(this.startSlideX+(e.clientX-this.startClientX));this.setIndex(t),r.preventDefault()},i.prototype._onMouseUp=function(e){this.frame.style.cursor="auto",r.removeEventListener(document,"mousemove",this.onmousemove),r.removeEventListener(document,"mouseup",this.onmouseup),r.preventDefault()},e.exports=i},function(e,t,n){function r(e,t,n,r){this._start=0,this._end=0,this._step=1,this.prettyStep=!0,this.precision=5,this._current=0,this.setRange(e,t,n,r)}r.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},r.prototype.setRange=function(e,t,n,r){if(!this.isNumeric(e))throw new Error("Parameter 'start' is not numeric; value: "+e);if(!this.isNumeric(t))throw new Error("Parameter 'end' is not numeric; value: "+e);if(!this.isNumeric(n))throw new Error("Parameter 'step' is not numeric; value: "+e);this._start=e||0,this._end=t||0,this.setStep(n,r)},r.prototype.setStep=function(e,t){void 0===e||e<=0||(void 0!==t&&(this.prettyStep=t),this._step=!0===this.prettyStep?r.calculatePrettyStep(e):e)},r.calculatePrettyStep=function(e){var t=function(e){return Math.log(e)/Math.LN10},n=Math.pow(10,Math.round(t(e))),r=2*Math.pow(10,Math.round(t(e/2))),i=5*Math.pow(10,Math.round(t(e/5))),o=n;return Math.abs(r-e)<=Math.abs(o-e)&&(o=r),Math.abs(i-e)<=Math.abs(o-e)&&(o=i),o<=0&&(o=1),o},r.prototype.getCurrent=function(){return parseFloat(this._current.toPrecision(this.precision))},r.prototype.getStep=function(){return this._step},r.prototype.start=function(e){void 0===e&&(e=!1),this._current=this._start-this._start%this._step,e&&this.getCurrent()<this._start&&this.next()},r.prototype.next=function(){this._current+=this._step},r.prototype.end=function(){return this._current>this._end},e.exports=r},function(e,t,n){var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=n(2),a=n(95),s=n(34),u={BAR:0,BARCOLOR:1,BARSIZE:2,DOT:3,DOTLINE:4,DOTCOLOR:5,DOTSIZE:6,GRID:7,LINE:8,SURFACE:9},l={dot:u.DOT,"dot-line":u.DOTLINE,"dot-color":u.DOTCOLOR,"dot-size":u.DOTSIZE,line:u.LINE,grid:u.GRID,surface:u.SURFACE,bar:u.BAR,"bar-color":u.BARCOLOR,"bar-size":u.BARSIZE},c=["width","height","filterLabel","legendLabel","xLabel","yLabel","zLabel","xValueLabel","yValueLabel","zValueLabel","showXAxis","showYAxis","showZAxis","showGrid","showPerspective","showShadow","keepAspectRatio","verticalRatio","dotSizeRatio","dotSizeMinFraction","dotSizeMaxFraction","showAnimationControls","animationInterval","animationPreload","animationAutoStart","axisColor","gridColor","xCenter","yCenter"],d=["xBarWidth","yBarWidth","valueMin","valueMax","xMin","xMax","xStep","yMin","yMax","yStep","zMin","zMax","zStep"],f=void 0;function h(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function p(e,t){return void 0===e||""===e?t:e+(void 0===(n=t)||""===n||"string"!=typeof n?n:n.charAt(0).toUpperCase()+n.slice(1));var n}function m(e,t,n,r){for(var i,o=0;o<n.length;++o)t[p(r,i=n[o])]=e[i]}function v(e,t,n,r){for(var i,o=0;o<n.length;++o)void 0!==e[i=n[o]]&&(t[p(r,i)]=e[i])}function g(e,t){void 0!==e.backgroundColor&&function(e,t){var n="white",r="gray",o=1;if("string"==typeof e)n=e,r="none",o=0;else{if("object"!==(void 0===e?"undefined":(0,i.default)(e)))throw new Error("Unsupported type of backgroundColor");void 0!==e.fill&&(n=e.fill),void 0!==e.stroke&&(r=e.stroke),void 0!==e.strokeWidth&&(o=e.strokeWidth)}t.frame.style.backgroundColor=n,t.frame.style.borderColor=r,t.frame.style.borderWidth=o+"px",t.frame.style.borderStyle="solid"}(e.backgroundColor,t),function(e,t){void 0!==e&&(void 0===t.dataColor&&(t.dataColor={}),"string"==typeof e?(t.dataColor.fill=e,t.dataColor.stroke=e):(e.fill&&(t.dataColor.fill=e.fill),e.stroke&&(t.dataColor.stroke=e.stroke),void 0!==e.strokeWidth&&(t.dataColor.strokeWidth=e.strokeWidth)))}(e.dataColor,t),function(e,t){if(void 0!==e){var n,r;if("string"==typeof e){if(-1===(n=void 0===(r=l[e])?-1:r))throw new Error("Style '"+e+"' is invalid")}else{if(!function(e){var t=!1;for(var n in u)if(u[n]===e){t=!0;break}return t}(e))throw new Error("Style '"+e+"' is invalid");n=e}t.style=n}}(e.style,t),function(e,t){void 0===e?void 0===f.showLegend&&(t.showLegend=t.style===u.DOTCOLOR||t.style===u.DOTSIZE):t.showLegend=e}(e.showLegend,t),y(e.cameraPosition,t),void 0!==e.tooltip&&(t.showTooltip=e.tooltip),null!=e.onclick&&(t.onclick_callback=e.onclick),void 0!==e.tooltipStyle&&o.selectiveDeepExtend(["tooltipStyle"],t,e)}function y(e,t){var n=e;void 0!==n&&(void 0===t.camera&&(t.camera=new a),t.camera.setArmRotation(n.horizontal,n.vertical),t.camera.setArmLength(n.distance))}e.exports.STYLE=u,e.exports.setDefaults=function(e,t){if(void 0===e||h(e))throw new Error("No DEFAULTS passed");if(void 0===t)throw new Error("No dst passed");f=e,m(e,t,c),m(e,t,d,"default"),g(e,t),t.margin=10,t.showGrayBottom=!1,t.showTooltip=!1,t.onclick_callback=null,t.eye=new s(0,0,-1)},e.exports.setOptions=function(e,t){if(void 0!==e){if(void 0===t)throw new Error("No dst passed");if(void 0===f||h(f))throw new Error("DEFAULTS not set for module Settings");v(e,t,c),v(e,t,d,"default"),g(e,t)}},e.exports.setCameraPosition=y},function(e,t,n){var r,i=(r=n(165))&&r.__esModule?r:{default:r},o=n(34);function a(){this.armLocation=new o,this.armRotation={},this.armRotation.horizontal=0,this.armRotation.vertical=0,this.armLength=1.7,this.cameraOffset=new o,this.offsetMultiplier=.6,this.cameraLocation=new o,this.cameraRotation=new o(.5*Math.PI,0,0),this.calculateCameraOrientation()}a.prototype.setOffset=function(e,t){var n=Math.abs,r=i.default,o=this.armLength*this.offsetMultiplier;n(e)>o&&(e=r(e)*o),n(t)>o&&(t=r(t)*o),this.cameraOffset.x=e,this.cameraOffset.y=t,this.calculateCameraOrientation()},a.prototype.getOffset=function(){return this.cameraOffset},a.prototype.setArmLocation=function(e,t,n){this.armLocation.x=e,this.armLocation.y=t,this.armLocation.z=n,this.calculateCameraOrientation()},a.prototype.setArmRotation=function(e,t){void 0!==e&&(this.armRotation.horizontal=e),void 0!==t&&(this.armRotation.vertical=t,this.armRotation.vertical<0&&(this.armRotation.vertical=0),this.armRotation.vertical>.5*Math.PI&&(this.armRotation.vertical=.5*Math.PI)),void 0===e&&void 0===t||this.calculateCameraOrientation()},a.prototype.getArmRotation=function(){var e={};return e.horizontal=this.armRotation.horizontal,e.vertical=this.armRotation.vertical,e},a.prototype.setArmLength=function(e){void 0!==e&&(this.armLength=e,this.armLength<.71&&(this.armLength=.71),this.armLength>5&&(this.armLength=5),this.setOffset(this.cameraOffset.x,this.cameraOffset.y),this.calculateCameraOrientation())},a.prototype.getArmLength=function(){return this.armLength},a.prototype.getCameraLocation=function(){return this.cameraLocation},a.prototype.getCameraRotation=function(){return this.cameraRotation},a.prototype.calculateCameraOrientation=function(){this.cameraLocation.x=this.armLocation.x-this.armLength*Math.sin(this.armRotation.horizontal)*Math.cos(this.armRotation.vertical),this.cameraLocation.y=this.armLocation.y-this.armLength*Math.cos(this.armRotation.horizontal)*Math.cos(this.armRotation.vertical),this.cameraLocation.z=this.armLocation.z+this.armLength*Math.sin(this.armRotation.vertical),this.cameraRotation.x=Math.PI/2-this.armRotation.vertical,this.cameraRotation.y=0,this.cameraRotation.z=-this.armRotation.horizontal;var e=this.cameraRotation.x,t=this.cameraRotation.z,n=this.cameraOffset.x,r=this.cameraOffset.y,i=Math.sin,o=Math.cos;this.cameraLocation.x=this.cameraLocation.x+n*o(t)+r*-i(t)*o(e),this.cameraLocation.y=this.cameraLocation.y+n*i(t)+r*o(t)*o(e),this.cameraLocation.z=this.cameraLocation.z+r*i(e)},e.exports=a},function(e,t,n){var r=n(12);function i(e,t,n){this.dataGroup=e,this.column=t,this.graph=n,this.index=void 0,this.value=void 0,this.values=e.getDistinctValues(this.column),this.values.length>0&&this.selectValue(0),this.dataPoints=[],this.loaded=!1,this.onLoadCallback=void 0,n.animationPreload?(this.loaded=!1,this.loadInBackground()):this.loaded=!0}i.prototype.isLoaded=function(){return this.loaded},i.prototype.getLoadedProgress=function(){for(var e=this.values.length,t=0;this.dataPoints[t];)t++;return Math.round(t/e*100)},i.prototype.getLabel=function(){return this.graph.filterLabel},i.prototype.getColumn=function(){return this.column},i.prototype.getSelectedValue=function(){if(void 0!==this.index)return this.values[this.index]},i.prototype.getValues=function(){return this.values},i.prototype.getValue=function(e){if(e>=this.values.length)throw new Error("Index out of range");return this.values[e]},i.prototype._getDataPoints=function(e){if(void 0===e&&(e=this.index),void 0===e)return[];var t;if(this.dataPoints[e])t=this.dataPoints[e];else{var n={};n.column=this.column,n.value=this.values[e];var i=new r(this.dataGroup.getDataSet(),{filter:function(e){return e[n.column]==n.value}}).get();t=this.dataGroup._getDataPoints(i),this.dataPoints[e]=t}return t},i.prototype.setOnLoadCallback=function(e){this.onLoadCallback=e},i.prototype.selectValue=function(e){if(e>=this.values.length)throw new Error("Index out of range");this.index=e,this.value=this.values[e]},i.prototype.loadInBackground=function(e){void 0===e&&(e=0);var t=this.graph.frame;if(e<this.values.length){void 0===t.progress&&(t.progress=document.createElement("DIV"),t.progress.style.position="absolute",t.progress.style.color="gray",t.appendChild(t.progress));var n=this.getLoadedProgress();t.progress.innerHTML="Loading animation... "+n+"%",t.progress.style.bottom="60px",t.progress.style.left="10px";var r=this;setTimeout((function(){r.loadInBackground(e+1)}),10),this.loaded=!1}else this.loaded=!0,void 0!==t.progress&&(t.removeChild(t.progress),t.progress=void 0),this.onLoadCallback&&this.onLoadCallback()},e.exports=i},function(e,t,n){var r=n(35),i=n(45),o=n(10),a=n(2);function s(e){this.active=!1,this.dom={container:e},this.dom.overlay=document.createElement("div"),this.dom.overlay.className="vis-overlay",this.dom.container.appendChild(this.dom.overlay),this.hammer=o(this.dom.overlay),this.hammer.on("tap",this._onTapOverlay.bind(this));var t=this;["tap","doubletap","press","pinch","pan","panstart","panmove","panend"].forEach((function(e){t.hammer.on(e,(function(e){e.stopPropagation()}))})),document&&document.body&&(this.onClick=function(n){(function(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1})(n.target,e)||t.deactivate()},document.body.addEventListener("click",this.onClick)),void 0!==this.keycharm&&this.keycharm.destroy(),this.keycharm=r(),this.escListener=this.deactivate.bind(this)}i(s.prototype),s.current=null,s.prototype.destroy=function(){this.deactivate(),this.dom.overlay.parentNode.removeChild(this.dom.overlay),this.onClick&&document.body.removeEventListener("click",this.onClick),this.hammer.destroy(),this.hammer=null},s.prototype.activate=function(){s.current&&s.current.deactivate(),s.current=this,this.active=!0,this.dom.overlay.style.display="none",a.addClassName(this.dom.container,"vis-active"),this.emit("change"),this.emit("activate"),this.keycharm.bind("esc",this.escListener)},s.prototype.deactivate=function(){this.active=!1,this.dom.overlay.style.display="",a.removeClassName(this.dom.container,"vis-active"),this.keycharm.unbind("esc",this.escListener),this.emit("change"),this.emit("deactivate")},s.prototype._onTapOverlay=function(e){this.activate(),e.stopPropagation()},e.exports=s},function(e,t,n){t.en={current:"current",time:"time"},t.en_EN=t.en,t.en_US=t.en,t.it={current:"attuale",time:"tempo"},t.it_IT=t.it,t.it_CH=t.it,t.nl={current:"huidige",time:"tijd"},t.nl_NL=t.nl,t.nl_BE=t.nl,t.de={current:"Aktuelle",time:"Zeit"},t.de_DE=t.de,t.fr={current:"actuel",time:"heure"},t.fr_FR=t.fr,t.fr_CA=t.fr,t.fr_BE=t.fr,t.es={current:"corriente",time:"hora"},t.es_ES=t.es},function(e,t,n){var r=o(n(30)),i=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(10),s=n(2),u=n(11),l=n(12),c=n(67),d=n(16),f=n(69),h=n(70),p=n(101),m=n(102),v=n(71),g=n(103),y=n(104).default,b="__ungrouped__",_="__background__";function w(e,t){this.body=e,this.defaultOptions={type:null,orientation:{item:"bottom"},align:"auto",stack:!0,stackSubgroups:!0,groupOrderSwap:function(e,t,n){var r=t.order;t.order=e.order,e.order=r},groupOrder:"order",selectable:!0,multiselect:!1,itemsAlwaysDraggable:{item:!1,range:!1},editable:{updateTime:!1,updateGroup:!1,add:!1,remove:!1,overrideItems:!1},groupEditable:{order:!1,add:!1,remove:!1},snap:c.snap,onDropObjectOnItem:function(e,t,n){n(t)},onAdd:function(e,t){t(e)},onUpdate:function(e,t){t(e)},onMove:function(e,t){t(e)},onRemove:function(e,t){t(e)},onMoving:function(e,t){t(e)},onAddGroup:function(e,t){t(e)},onMoveGroup:function(e,t){t(e)},onRemoveGroup:function(e,t){t(e)},margin:{item:{horizontal:10,vertical:10},axis:20},showTooltips:!0,tooltip:{followMouse:!1,overflowMethod:"flip"},tooltipOnItemUpdateTime:!1},this.options=s.extend({},this.defaultOptions),this.options.rtl=t.rtl,this.itemOptions={type:{start:"Date",end:"Date"}},this.conversion={toScreen:e.util.toScreen,toTime:e.util.toTime},this.dom={},this.props={},this.hammer=null;var n=this;this.itemsData=null,this.groupsData=null,this.itemListeners={add:function(e,t,r){n._onAdd(t.items)},update:function(e,t,r){n._onUpdate(t.items)},remove:function(e,t,r){n._onRemove(t.items)}},this.groupListeners={add:function(e,t,r){if(n._onAddGroups(t.items),n.groupsData&&n.groupsData.length>0){var i=n.groupsData.getDataSet();i.get().forEach((function(e){if(e.nestedGroups){0!=e.showNested&&(e.showNested=!0);var t=[];e.nestedGroups.forEach((function(n){var r=i.get(n);r&&(r.nestedInGroup=e.id,0==e.showNested&&(r.visible=!1),t=t.concat(r))})),i.update(t,r)}}))}},update:function(e,t,r){n._onUpdateGroups(t.items)},remove:function(e,t,r){n._onRemoveGroups(t.items)}},this.items={},this.groups={},this.groupIds=[],this.selection=[],this.popup=null,this.touchParams={},this.groupTouchParams={},this._create(),this.setOptions(t)}w.prototype=new d,w.types={background:g,box:p,range:v,point:m},w.prototype._create=function(){var e=document.createElement("div");e.className="vis-itemset",e["timeline-itemset"]=this,this.dom.frame=e;var t=document.createElement("div");t.className="vis-background",e.appendChild(t),this.dom.background=t;var n=document.createElement("div");n.className="vis-foreground",e.appendChild(n),this.dom.foreground=n;var r=document.createElement("div");r.className="vis-axis",this.dom.axis=r;var i=document.createElement("div");i.className="vis-labelset",this.dom.labelSet=i,this._updateUngrouped();var o=new h(_,null,this);o.show(),this.groups[_]=o,this.hammer=new a(this.body.dom.centerContainer),this.hammer.on("hammer.input",(function(e){e.isFirst&&this._onTouch(e)}).bind(this)),this.hammer.on("panstart",this._onDragStart.bind(this)),this.hammer.on("panmove",this._onDrag.bind(this)),this.hammer.on("panend",this._onDragEnd.bind(this)),this.hammer.get("pan").set({threshold:5,direction:a.DIRECTION_HORIZONTAL}),this.hammer.on("tap",this._onSelectItem.bind(this)),this.hammer.on("press",this._onMultiSelectItem.bind(this)),this.hammer.on("doubletap",this._onAddItem.bind(this)),this.groupHammer=new a(this.options.rtl?this.body.dom.rightContainer:this.body.dom.leftContainer),this.groupHammer.on("tap",this._onGroupClick.bind(this)),this.groupHammer.on("panstart",this._onGroupDragStart.bind(this)),this.groupHammer.on("panmove",this._onGroupDrag.bind(this)),this.groupHammer.on("panend",this._onGroupDragEnd.bind(this)),this.groupHammer.get("pan").set({threshold:5,direction:a.DIRECTION_VERTICAL}),this.body.dom.centerContainer.addEventListener("mouseover",this._onMouseOver.bind(this)),this.body.dom.centerContainer.addEventListener("mouseout",this._onMouseOut.bind(this)),this.body.dom.centerContainer.addEventListener("mousemove",this._onMouseMove.bind(this)),this.body.dom.centerContainer.addEventListener("contextmenu",this._onDragEnd.bind(this)),this.body.dom.centerContainer.addEventListener("mousewheel",this._onMouseWheel.bind(this)),this.show()},w.prototype.setOptions=function(e){if(e){s.selectiveExtend(["type","rtl","align","order","stack","stackSubgroups","selectable","multiselect","multiselectPerGroup","groupOrder","dataAttributes","template","groupTemplate","visibleFrameTemplate","hide","snap","groupOrderSwap","showTooltips","tooltip","tooltipOnItemUpdateTime"],this.options,e),"itemsAlwaysDraggable"in e&&("boolean"==typeof e.itemsAlwaysDraggable?(this.options.itemsAlwaysDraggable.item=e.itemsAlwaysDraggable,this.options.itemsAlwaysDraggable.range=!1):"object"===(0,i.default)(e.itemsAlwaysDraggable)&&(s.selectiveExtend(["item","range"],this.options.itemsAlwaysDraggable,e.itemsAlwaysDraggable),this.options.itemsAlwaysDraggable.item||(this.options.itemsAlwaysDraggable.range=!1))),"orientation"in e&&("string"==typeof e.orientation?this.options.orientation.item="top"===e.orientation?"top":"bottom":"object"===(0,i.default)(e.orientation)&&"item"in e.orientation&&(this.options.orientation.item=e.orientation.item)),"margin"in e&&("number"==typeof e.margin?(this.options.margin.axis=e.margin,this.options.margin.item.horizontal=e.margin,this.options.margin.item.vertical=e.margin):"object"===(0,i.default)(e.margin)&&(s.selectiveExtend(["axis"],this.options.margin,e.margin),"item"in e.margin&&("number"==typeof e.margin.item?(this.options.margin.item.horizontal=e.margin.item,this.options.margin.item.vertical=e.margin.item):"object"===(0,i.default)(e.margin.item)&&s.selectiveExtend(["horizontal","vertical"],this.options.margin.item,e.margin.item)))),"editable"in e&&("boolean"==typeof e.editable?(this.options.editable.updateTime=e.editable,this.options.editable.updateGroup=e.editable,this.options.editable.add=e.editable,this.options.editable.remove=e.editable,this.options.editable.overrideItems=!1):"object"===(0,i.default)(e.editable)&&s.selectiveExtend(["updateTime","updateGroup","add","remove","overrideItems"],this.options.editable,e.editable)),"groupEditable"in e&&("boolean"==typeof e.groupEditable?(this.options.groupEditable.order=e.groupEditable,this.options.groupEditable.add=e.groupEditable,this.options.groupEditable.remove=e.groupEditable):"object"===(0,i.default)(e.groupEditable)&&s.selectiveExtend(["order","add","remove"],this.options.groupEditable,e.groupEditable));var t=(function(t){var n=e[t];if(n){if(!(n instanceof Function))throw new Error("option "+t+" must be a function "+t+"(item, callback)");this.options[t]=n}}).bind(this);["onDropObjectOnItem","onAdd","onUpdate","onRemove","onMove","onMoving","onAddGroup","onMoveGroup","onRemoveGroup"].forEach(t),this.markDirty()}},w.prototype.markDirty=function(e){this.groupIds=[],e&&e.refreshItems&&s.forEach(this.items,(function(e){e.dirty=!0,e.displayed&&e.redraw()}))},w.prototype.destroy=function(){this.hide(),this.setItems(null),this.setGroups(null),this.hammer=null,this.body=null,this.conversion=null},w.prototype.hide=function(){this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom.axis.parentNode&&this.dom.axis.parentNode.removeChild(this.dom.axis),this.dom.labelSet.parentNode&&this.dom.labelSet.parentNode.removeChild(this.dom.labelSet)},w.prototype.show=function(){this.dom.frame.parentNode||this.body.dom.center.appendChild(this.dom.frame),this.dom.axis.parentNode||this.body.dom.backgroundVertical.appendChild(this.dom.axis),this.dom.labelSet.parentNode||(this.options.rtl?this.body.dom.right.appendChild(this.dom.labelSet):this.body.dom.left.appendChild(this.dom.labelSet))},w.prototype.setSelection=function(e){var t,n,r,i;for(null==e&&(e=[]),Array.isArray(e)||(e=[e]),t=0,n=this.selection.length;t<n;t++)(i=this.items[r=this.selection[t]])&&i.unselect();for(this.selection=[],t=0,n=e.length;t<n;t++)(i=this.items[r=e[t]])&&(this.selection.push(r),i.select())},w.prototype.getSelection=function(){return this.selection.concat([])},w.prototype.getVisibleItems=function(){var e,t,n=this.body.range.getRange();this.options.rtl?(e=this.body.util.toScreen(n.start),t=this.body.util.toScreen(n.end)):(t=this.body.util.toScreen(n.start),e=this.body.util.toScreen(n.end));var r=[];for(var i in this.groups)if(this.groups.hasOwnProperty(i))for(var o=this.groups[i],a=o.isVisible?o.visibleItems:[],s=0;s<a.length;s++){var u=a[s];this.options.rtl?u.right<t&&u.right+u.width>e&&r.push(u.id):u.left<e&&u.left+u.width>t&&r.push(u.id)}return r},w.prototype._deselect=function(e){for(var t=this.selection,n=0,r=t.length;n<r;n++)if(t[n]==e){t.splice(n,1);break}},w.prototype.redraw=function(){var e=this.options.margin,t=this.body.range,n=s.option.asSize,r=this.options,i=r.orientation.item,o=!1,a=this.dom.frame;this.props.top=this.body.domProps.top.height+this.body.domProps.border.top,this.options.rtl?this.props.right=this.body.domProps.right.width+this.body.domProps.border.right:this.props.left=this.body.domProps.left.width+this.body.domProps.border.left,a.className="vis-itemset",o=this._orderGroups()||o;var u=t.end-t.start,l=u!=this.lastVisibleInterval||this.props.width!=this.props.lastWidth||t.start!=this.lastRangeStart||r.stack!=this.lastStack||r.stackSubgroups!=this.lastStackSubgroups;this.lastVisibleInterval=u,this.lastRangeStart=t.start,this.lastStack=r.stack,this.lastStackSubgroups=r.stackSubgroups,this.props.lastWidth=this.props.width;var c=this._firstGroup(),d={item:e.item,axis:e.axis},f={item:e.item,axis:e.item.vertical/2},h=0,p=e.axis+e.item.vertical;this.groups[_].redraw(t,f,l);var m={},v=0;if(s.forEach(this.groups,(function(e,n){n!==_&&(m[n]=e.redraw(t,e==c?d:f,l,!0),v=m[n].length)})),v>0){for(var g={},y=0;y<v;y++)s.forEach(m,(function(e,t){g[t]=e[y]()}));s.forEach(this.groups,(function(e,t){t!==_&&(o=g[t]||o,h+=e.height)})),h=Math.max(h,p)}return h=Math.max(h,p),a.style.height=n(h),this.props.width=a.offsetWidth,this.props.height=h,this.dom.axis.style.top=n("top"==i?this.body.domProps.top.height+this.body.domProps.border.top:this.body.domProps.top.height+this.body.domProps.centerContainer.height),this.options.rtl?this.dom.axis.style.right="0":this.dom.axis.style.left="0",this.initialItemSetDrawn=!0,o=this._isResized()||o},w.prototype._firstGroup=function(){return this.groups[this.groupIds["top"==this.options.orientation.item?0:this.groupIds.length-1]]||this.groups[b]||null},w.prototype._updateUngrouped=function(){var e,t,n=this.groups[b];if(this.groupsData){if(n)for(t in n.hide(),delete this.groups[b],this.items)if(this.items.hasOwnProperty(t)){(e=this.items[t]).parent&&e.parent.remove(e);var r=this._getGroupId(e.data),i=this.groups[r];i&&i.add(e)||e.hide()}}else if(!n){for(t in n=new f(null,null,this),this.groups[b]=n,this.items)this.items.hasOwnProperty(t)&&n.add(e=this.items[t]);n.show()}},w.prototype.getLabelSet=function(){return this.dom.labelSet},w.prototype.setItems=function(e){var t,n=this,r=this.itemsData;if(e){if(!(e instanceof u||e instanceof l))throw new TypeError("Data must be an instance of DataSet or DataView");this.itemsData=e}else this.itemsData=null;if(r&&(s.forEach(this.itemListeners,(function(e,t){r.off(t,e)})),t=r.getIds(),this._onRemove(t)),this.itemsData){var i=this.id;s.forEach(this.itemListeners,(function(e,t){n.itemsData.on(t,e,i)})),t=this.itemsData.getIds(),this._onAdd(t),this._updateUngrouped()}this.body.emitter.emit("_change",{queue:!0})},w.prototype.getItems=function(){return this.itemsData},w.prototype.setGroups=function(e){var t,n=this;if(this.groupsData&&(s.forEach(this.groupListeners,(function(e,t){n.groupsData.off(t,e)})),t=this.groupsData.getIds(),this.groupsData=null,this._onRemoveGroups(t)),e){if(!(e instanceof u||e instanceof l))throw new TypeError("Data must be an instance of DataSet or DataView");this.groupsData=e}else this.groupsData=null;if(this.groupsData){var r=this.groupsData;this.groupsData instanceof l&&(r=this.groupsData.getDataSet()),r.get().forEach((function(e){e.nestedGroups&&e.nestedGroups.forEach((function(t){var n=r.get(t);n.nestedInGroup=e.id,0==e.showNested&&(n.visible=!1),r.update(n)}))}));var i=this.id;s.forEach(this.groupListeners,(function(e,t){n.groupsData.on(t,e,i)})),t=this.groupsData.getIds(),this._onAddGroups(t)}this._updateUngrouped(),this._order(),this.body.emitter.emit("_change",{queue:!0})},w.prototype.getGroups=function(){return this.groupsData},w.prototype.removeItem=function(e){var t=this.itemsData.get(e),n=this.itemsData.getDataSet();t&&this.options.onRemove(t,(function(t){t&&n.remove(e)}))},w.prototype._getType=function(e){return e.type||this.options.type||(e.end?"range":"box")},w.prototype._getGroupId=function(e){return"background"==this._getType(e)&&null==e.group?_:this.groupsData?e.group:b},w.prototype._onAdd=w.prototype._onUpdate=function(e){var t=this;e.forEach((function(e){var n,r=t.itemsData.get(e,t.itemOptions),i=t.items[e],o=r?t._getType(r):null,a=w.types[o];if(i&&(a&&i instanceof a?t._updateItem(i,r):(n=i.selected,t._removeItem(i),i=null)),!i&&r){if(!a)throw"rangeoverflow"==o?new TypeError('Item type "rangeoverflow" is deprecated. Use css styling instead: .vis-item.vis-range .vis-item-content {overflow: visible;}'):new TypeError('Unknown item type "'+o+'"');(i=new a(r,t.conversion,t.options)).id=e,t._addItem(i),n&&(this.selection.push(e),i.select())}}).bind(this)),this._order(),this.body.emitter.emit("_change",{queue:!0})},w.prototype._onRemove=function(e){var t=0,n=this;e.forEach((function(e){var r=n.items[e];r&&(t++,n._removeItem(r))})),t&&(this._order(),this.body.emitter.emit("_change",{queue:!0}))},w.prototype._order=function(){s.forEach(this.groups,(function(e){e.order()}))},w.prototype._onUpdateGroups=function(e){this._onAddGroups(e)},w.prototype._onAddGroups=function(e){var t=this;e.forEach((function(e){var n=t.groupsData.get(e),i=t.groups[e];if(i)i.setData(n);else{if(e==b||e==_)throw new Error("Illegal group id. "+e+" is a reserved id.");var o=(0,r.default)(t.options);for(var a in s.extend(o,{height:null}),i=new f(e,n,t),t.groups[e]=i,t.items)if(t.items.hasOwnProperty(a)){var u=t.items[a];u.data.group==e&&i.add(u)}i.order(),i.show()}})),this.body.emitter.emit("_change",{queue:!0})},w.prototype._onRemoveGroups=function(e){var t=this.groups;e.forEach((function(e){var n=t[e];n&&(n.hide(),delete t[e])})),this.markDirty(),this.body.emitter.emit("_change",{queue:!0})},w.prototype._orderGroups=function(){if(this.groupsData){var e=this.groupsData.getIds({order:this.options.groupOrder});e=this._orderNestedGroups(e);var t=!s.equalArray(e,this.groupIds);if(t){var n=this.groups;e.forEach((function(e){n[e].hide()})),e.forEach((function(e){n[e].show()})),this.groupIds=e}return t}return!1},w.prototype._orderNestedGroups=function(e){var t=[];return e.forEach((function(e){var n=this.groupsData.get(e);if(n.nestedInGroup||t.push(e),n.nestedGroups){var r=this.groupsData.get({filter:function(t){return t.nestedInGroup==e},order:this.options.groupOrder}).map((function(e){return e.id}));t=t.concat(r)}}),this),t},w.prototype._addItem=function(e){this.items[e.id]=e;var t=this._getGroupId(e.data),n=this.groups[t];n?n&&n.data&&n.data.showNested&&(e.groupShowing=!0):e.groupShowing=!1,n&&n.add(e)},w.prototype._updateItem=function(e,t){e.setData(t);var n=this._getGroupId(e.data),r=this.groups[n];r?r&&r.data&&r.data.showNested&&(e.groupShowing=!0):e.groupShowing=!1},w.prototype._removeItem=function(e){e.hide(),delete this.items[e.id];var t=this.selection.indexOf(e.id);-1!=t&&this.selection.splice(t,1),e.parent&&e.parent.remove(e)},w.prototype._constructByEndArray=function(e){for(var t=[],n=0;n<e.length;n++)e[n]instanceof v&&t.push(e[n]);return t},w.prototype._onTouch=function(e){this.touchParams.item=this.itemFromTarget(e),this.touchParams.dragLeftItem=e.target.dragLeftItem||!1,this.touchParams.dragRightItem=e.target.dragRightItem||!1,this.touchParams.itemProps=null},w.prototype._getGroupIndex=function(e){for(var t=0;t<this.groupIds.length;t++)if(e==this.groupIds[t])return t},w.prototype._onDragStart=function(e){if(!this.touchParams.itemIsDragging){var t,n=this.touchParams.item||null,r=this;if(n&&(n.selected||this.options.itemsAlwaysDraggable.item)){if(this.options.editable.overrideItems&&!this.options.editable.updateTime&&!this.options.editable.updateGroup)return;if(null!=n.editable&&!n.editable.updateTime&&!n.editable.updateGroup&&!this.options.editable.overrideItems)return;var i=this.touchParams.dragLeftItem,o=this.touchParams.dragRightItem;if(this.touchParams.itemIsDragging=!0,this.touchParams.selectedItem=n,i)t={item:i,initialX:e.center.x,dragLeft:!0,data:this._cloneItemData(n.data)},this.touchParams.itemProps=[t];else if(o)t={item:o,initialX:e.center.x,dragRight:!0,data:this._cloneItemData(n.data)},this.touchParams.itemProps=[t];else if(this.options.editable.add&&(e.srcEvent.ctrlKey||e.srcEvent.metaKey))this._onDragStartAddItem(e);else{this.groupIds.length<1&&this.redraw();var a=this._getGroupIndex(n.data.group),s=this.options.itemsAlwaysDraggable.item&&!n.selected?[n.id]:this.getSelection();this.touchParams.itemProps=s.map((function(t){var n=r.items[t],i=r._getGroupIndex(n.data.group);return{item:n,initialX:e.center.x,groupOffset:a-i,data:this._cloneItemData(n.data)}}).bind(this))}e.stopPropagation()}else this.options.editable.add&&(e.srcEvent.ctrlKey||e.srcEvent.metaKey)&&this._onDragStartAddItem(e)}},w.prototype._onDragStartAddItem=function(e){var t,n,r=this.options.snap||null;this.options.rtl?n=(t=s.getAbsoluteRight(this.dom.frame))-e.center.x+10:(t=s.getAbsoluteLeft(this.dom.frame),n=e.center.x-t-10);var i=this.body.util.toTime(n),o=this.body.util.getScale(),a=this.body.util.getStep(),u=r?r(i,o,a):i,l={type:"range",start:u,end:u,content:"new item"},c=s.randomUUID();l[this.itemsData._fieldId]=c;var d=this.groupFromTarget(e);d&&(l.group=d.groupId);var f=new v(l,this.conversion,this.options);f.id=c,f.data=this._cloneItemData(l),this._addItem(f),this.touchParams.selectedItem=f;var h={item:f,initialX:e.center.x,data:f.data};this.options.rtl?h.dragLeft=!0:h.dragRight=!0,this.touchParams.itemProps=[h],e.stopPropagation()},w.prototype._onDrag=function(e){if(this.touchParams.itemProps){e.stopPropagation();var t,n=this,r=this.options.snap||null;t=this.options.rtl?this.body.dom.root.offsetLeft+this.body.domProps.right.width:this.body.dom.root.offsetLeft+this.body.domProps.left.width;var i=this.body.util.getScale(),o=this.body.util.getStep(),a=this.touchParams.selectedItem,u=(this.options.editable.overrideItems||null==a.editable)&&this.options.editable.updateGroup||!this.options.editable.overrideItems&&null!=a.editable&&a.editable.updateGroup,l=null;if(u&&a&&null!=a.data.group){var c=n.groupFromTarget(e);c&&(l=this._getGroupIndex(c.groupId))}this.touchParams.itemProps.forEach((function(c){var d,f,h,p,m,v=n.body.util.toTime(e.center.x-t),g=n.body.util.toTime(c.initialX-t);d=this.options.rtl?-(v-g):v-g;var y=this._cloneItemData(c.item.data);if(null==c.item.editable||c.item.editable.updateTime||c.item.editable.updateGroup||n.options.editable.overrideItems){if((this.options.editable.overrideItems||null==a.editable)&&this.options.editable.updateTime||!this.options.editable.overrideItems&&null!=a.editable&&a.editable.updateTime)if(c.dragLeft)this.options.rtl?null!=y.end&&(h=s.convert(c.data.end,"Date"),m=new Date(h.valueOf()+d),y.end=r?r(m,i,o):m):null!=y.start&&(f=s.convert(c.data.start,"Date"),p=new Date(f.valueOf()+d),y.start=r?r(p,i,o):p);else if(c.dragRight)this.options.rtl?null!=y.start&&(f=s.convert(c.data.start,"Date"),p=new Date(f.valueOf()+d),y.start=r?r(p,i,o):p):null!=y.end&&(h=s.convert(c.data.end,"Date"),m=new Date(h.valueOf()+d),y.end=r?r(m,i,o):m);else if(null!=y.start)if(f=s.convert(c.data.start,"Date").valueOf(),p=new Date(f+d),null!=y.end){var b=(h=s.convert(c.data.end,"Date")).valueOf()-f.valueOf();y.start=r?r(p,i,o):p,y.end=new Date(y.start.valueOf()+b)}else y.start=r?r(p,i,o):p;if(u&&!c.dragLeft&&!c.dragRight&&null!=l&&null!=y.group){var _=l-c.groupOffset;_=Math.max(0,_),_=Math.min(n.groupIds.length-1,_),y.group=n.groupIds[_]}y=this._cloneItemData(y),n.options.onMoving(y,(function(e){e&&c.item.setData(this._cloneItemData(e,"Date"))}).bind(this))}}).bind(this)),this.body.emitter.emit("_change")}},w.prototype._moveToGroup=function(e,t){var n=this.groups[t];if(n&&n.groupId!=e.data.group){var r=e.parent;r.remove(e),r.order(),e.data.group=n.groupId,n.add(e),n.order()}},w.prototype._onDragEnd=function(e){if(this.touchParams.itemIsDragging=!1,this.touchParams.itemProps){e.stopPropagation();var t=this,n=this.itemsData.getDataSet(),r=this.touchParams.itemProps;this.touchParams.itemProps=null,r.forEach((function(e){var r=e.item.id;if(null!=t.itemsData.get(r,t.itemOptions)){var i=this._cloneItemData(e.item.data);t.options.onMove(i,(function(i){i?(i[n._fieldId]=r,n.update(i)):(e.item.setData(e.data),t.body.emitter.emit("_change"))}))}else t.options.onAdd(e.item.data,(function(n){t._removeItem(e.item),n&&t.itemsData.getDataSet().add(n),t.body.emitter.emit("_change")}))}).bind(this))}},w.prototype._onGroupClick=function(e){var t=this.groupFromTarget(e);if(t&&t.nestedGroups){var n=this.groupsData.getDataSet(),r=n.get(t.groupId);null==r.showNested&&(r.showNested=!0),r.showNested=!r.showNested;var i=n.get(t.nestedGroups).map((function(e){return e.visible=r.showNested,e}));n.update(i.concat(r)),r.showNested?(s.removeClassName(t.dom.label,"collapsed"),s.addClassName(t.dom.label,"expanded")):(s.removeClassName(t.dom.label,"expanded"),s.addClassName(t.dom.label,this.options.rtl?"collapsed-rtl":"collapsed"))}},w.prototype._onGroupDragStart=function(e){this.options.groupEditable.order&&(this.groupTouchParams.group=this.groupFromTarget(e),this.groupTouchParams.group&&(e.stopPropagation(),this.groupTouchParams.originalOrder=this.groupsData.getIds({order:this.options.groupOrder})))},w.prototype._onGroupDrag=function(e){if(this.options.groupEditable.order&&this.groupTouchParams.group){e.stopPropagation();var t=this.groupsData;this.groupsData instanceof l&&(t=this.groupsData.getDataSet());var n=this.groupFromTarget(e);if(n&&n.height!=this.groupTouchParams.group.height){var r=n.top<this.groupTouchParams.group.top,i=e.center?e.center.y:e.clientY,o=s.getAbsoluteTop(n.dom.foreground),a=this.groupTouchParams.group.height;if(r){if(o+a<i)return}else if(o+n.height-a>i)return}if(n&&n!=this.groupTouchParams.group){var u=t.get(n.groupId),c=t.get(this.groupTouchParams.group.groupId);c&&u&&(this.options.groupOrderSwap(c,u,t),t.update(c),t.update(u));var d=t.getIds({order:this.options.groupOrder});if(!s.equalArray(d,this.groupTouchParams.originalOrder))for(var f=this.groupTouchParams.originalOrder,h=this.groupTouchParams.group.groupId,p=Math.min(f.length,d.length),m=0,v=0,g=0;m<p;){for(;m+v<p&&m+g<p&&d[m+v]==f[m+g];)m++;if(m+v>=p)break;if(d[m+v]==h)v=1;else if(f[m+g]==h)g=1;else{var y=d.indexOf(f[m+g]),b=t.get(d[m+v]),_=t.get(f[m+g]);this.options.groupOrderSwap(b,_,t),t.update(b),t.update(_);var w=d[m+v];d[m+v]=f[m+g],d[y]=w,m++}}}}},w.prototype._onGroupDragEnd=function(e){if(this.options.groupEditable.order&&this.groupTouchParams.group){e.stopPropagation();var t=this,n=t.groupTouchParams.group.groupId,r=t.groupsData.getDataSet(),i=s.extend({},r.get(n));t.options.onMoveGroup(i,(function(e){if(e)e[r._fieldId]=n,r.update(e);else{var i=r.getIds({order:t.options.groupOrder});if(!s.equalArray(i,t.groupTouchParams.originalOrder))for(var o=t.groupTouchParams.originalOrder,a=Math.min(o.length,i.length),u=0;u<a;){for(;u<a&&i[u]==o[u];)u++;if(u>=a)break;var l=i.indexOf(o[u]),c=r.get(i[u]),d=r.get(o[u]);t.options.groupOrderSwap(c,d,r),r.update(c),r.update(d);var f=i[u];i[u]=o[u],i[l]=f,u++}}})),t.body.emitter.emit("groupDragged",{groupId:n})}},w.prototype._onSelectItem=function(e){if(this.options.selectable)if(e.srcEvent&&(e.srcEvent.ctrlKey||e.srcEvent.metaKey)||e.srcEvent&&e.srcEvent.shiftKey)this._onMultiSelectItem(e);else{var t=this.getSelection(),n=this.itemFromTarget(e);this.setSelection(n?[n.id]:[]);var r=this.getSelection();(r.length>0||t.length>0)&&this.body.emitter.emit("select",{items:r,event:e})}},w.prototype._onMouseOver=function(e){var t=this.itemFromTarget(e);if(t&&t!==this.itemFromRelatedTarget(e)){var n=t.getTitle();if(this.options.showTooltips&&n){null==this.popup&&(this.popup=new y(this.body.dom.root,this.options.tooltip.overflowMethod||"flip")),this.popup.setText(n);var r=this.body.dom.centerContainer;this.popup.setPosition(e.clientX-s.getAbsoluteLeft(r)+r.offsetLeft,e.clientY-s.getAbsoluteTop(r)+r.offsetTop),this.popup.show()}else null!=this.popup&&this.popup.hide();this.body.emitter.emit("itemover",{item:t.id,event:e})}},w.prototype._onMouseOut=function(e){var t=this.itemFromTarget(e);t&&t!==this.itemFromRelatedTarget(e)&&(null!=this.popup&&this.popup.hide(),this.body.emitter.emit("itemout",{item:t.id,event:e}))},w.prototype._onMouseMove=function(e){if(this.itemFromTarget(e)&&this.options.showTooltips&&this.options.tooltip.followMouse&&this.popup&&!this.popup.hidden){var t=this.body.dom.centerContainer;this.popup.setPosition(e.clientX-s.getAbsoluteLeft(t)+t.offsetLeft,e.clientY-s.getAbsoluteTop(t)+t.offsetTop),this.popup.show()}},w.prototype._onMouseWheel=function(e){this.touchParams.itemIsDragging&&this._onDragEnd(e)},w.prototype._onUpdateItem=function(e){if(this.options.selectable&&this.options.editable.add){var t=this;if(e){var n=t.itemsData.get(e.id);this.options.onUpdate(n,(function(e){e&&t.itemsData.getDataSet().update(e)}))}}},w.prototype._onDropObjectOnItem=function(e){var t=this.itemFromTarget(e),n=JSON.parse(e.dataTransfer.getData("text"));this.options.onDropObjectOnItem(n,t)},w.prototype._onAddItem=function(e){if(this.options.selectable&&this.options.editable.add){var t,n,r=this,i=this.options.snap||null;this.options.rtl?n=(t=s.getAbsoluteRight(this.dom.frame))-e.center.x:(t=s.getAbsoluteLeft(this.dom.frame),n=e.center.x-t);var o,a,u=this.body.util.toTime(n),l=this.body.util.getScale(),c=this.body.util.getStep();"drop"==e.type?((a=JSON.parse(e.dataTransfer.getData("text"))).content=a.content?a.content:"new item",a.start=a.start?a.start:i?i(u,l,c):u,a.type=a.type||"box",a[this.itemsData._fieldId]=a.id||s.randomUUID(),"range"!=a.type||a.end||(o=this.body.util.toTime(n+this.props.width/5),a.end=i?i(o,l,c):o)):((a={start:i?i(u,l,c):u,content:"new item"})[this.itemsData._fieldId]=s.randomUUID(),"range"===this.options.type&&(o=this.body.util.toTime(n+this.props.width/5),a.end=i?i(o,l,c):o));var d=this.groupFromTarget(e);d&&(a.group=d.groupId),a=this._cloneItemData(a),this.options.onAdd(a,(function(t){t&&(r.itemsData.getDataSet().add(t),"drop"==e.type&&r.setSelection([t.id]))}))}},w.prototype._onMultiSelectItem=function(e){if(this.options.selectable){var t=this.itemFromTarget(e);if(t){var n=this.options.multiselect?this.getSelection():[];if(e.srcEvent&&e.srcEvent.shiftKey&&this.options.multiselect){var r=this.itemsData.get(t.id).group,i=void 0;this.options.multiselectPerGroup&&n.length>0&&(i=this.itemsData.get(n[0]).group),this.options.multiselectPerGroup&&null!=i&&i!=r||n.push(t.id);var o=w._getItemRange(this.itemsData.get(n,this.itemOptions));if(!this.options.multiselectPerGroup||i==r)for(var a in n=[],this.items)if(this.items.hasOwnProperty(a)){var s=this.items[a],u=s.data.start;!(u>=o.min&&(void 0!==s.data.end?s.data.end:u)<=o.max)||this.options.multiselectPerGroup&&i!=this.itemsData.get(s.id).group||s instanceof g||n.push(s.id)}}else{var l=n.indexOf(t.id);-1==l?n.push(t.id):n.splice(l,1)}this.setSelection(n),this.body.emitter.emit("select",{items:this.getSelection(),event:e})}}},w._getItemRange=function(e){var t=null,n=null;return e.forEach((function(e){(null==n||e.start<n)&&(n=e.start),null!=e.end?(null==t||e.end>t)&&(t=e.end):(null==t||e.start>t)&&(t=e.start)})),{min:n,max:t}},w.prototype.itemFromElement=function(e){for(var t=e;t;){if(t.hasOwnProperty("timeline-item"))return t["timeline-item"];t=t.parentNode}return null},w.prototype.itemFromTarget=function(e){return this.itemFromElement(e.target)},w.prototype.itemFromRelatedTarget=function(e){return this.itemFromElement(e.relatedTarget)},w.prototype.groupFromTarget=function(e){var t=e.center?e.center.y:e.clientY,n=this.groupIds;n.length<=0&&this.groupsData&&(n=this.groupsData.getIds({order:this.options.groupOrder}));for(var r=0;r<n.length;r++){var i=this.groups[n[r]],o=i.dom.foreground,a=s.getAbsoluteTop(o);if(t>a&&t<a+o.offsetHeight)return i;if("top"===this.options.orientation.item){if(r===this.groupIds.length-1&&t>a)return i}else if(0===r&&t<a+o.offset)return i}return null},w.itemSetFromTarget=function(e){for(var t=e.target;t;){if(t.hasOwnProperty("timeline-itemset"))return t["timeline-itemset"];t=t.parentNode}return null},w.prototype._cloneItemData=function(e,t){var n=s.extend({},e);return t||(t=this.itemsData.getDataSet()._options.type),null!=n.start&&(n.start=s.convert(n.start,t&&t.start||"Date")),null!=n.end&&(n.end=s.convert(n.end,t&&t.end||"Date")),n},e.exports=w},function(e,t,n){t.orderByStart=function(e){e.sort((function(e,t){return e.data.start-t.data.start}))},t.orderByEnd=function(e){e.sort((function(e,t){return("end"in e.data?e.data.end:e.data.start)-("end"in t.data?t.data.end:t.data.start)}))},t.stack=function(e,n,r){if(r)for(var i=0;i<e.length;i++)e[i].top=null;for(i=0;i<e.length;i++){var o=e[i];if(o.stack&&null===o.top){o.top=n.axis;do{for(var a=null,s=0,u=e.length;s<u;s++){var l=e[s];if(null!==l.top&&l!==o&&l.stack&&t.collision(o,l,n.item,l.options.rtl)){a=l;break}}null!=a&&(o.top=a.top+a.height+n.item.vertical)}while(a)}}},t.substack=function(e,n,r){for(var i=0;i<e.length;i++)e[i].top=null;var o=r.height;for(i=0;i<e.length;i++){var a=e[i];if(a.stack&&null===a.top){a.top=a.baseTop;do{for(var s=null,u=0,l=e.length;u<l;u++){var c=e[u];if(null!==c.top&&c!==a&&t.collision(a,c,n.item,c.options.rtl)){s=c;break}}null!=s&&(a.top=s.top+s.height+n.item.vertical),a.top+a.height>o&&(o=a.top+a.height)}while(s)}}r.height=o-r.top+.5*n.item.vertical},t.nostack=function(e,n,r,i){for(var o=0;o<e.length;o++)if(null==e[o].data.subgroup)e[o].top=n.item.vertical;else if(void 0!==e[o].data.subgroup&&i){var a=0;for(var s in r)r.hasOwnProperty(s)&&1==r[s].visible&&r[s].index<r[e[o].data.subgroup].index&&(r[e[o].data.subgroup].top=a+=r[s].height);e[o].top=a+.5*n.item.vertical}i||t.stackSubgroups(e,n,r)},t.stackSubgroups=function(e,n,r){for(var i in r)if(r.hasOwnProperty(i)){r[i].top=0;do{var o=null;for(var a in r)if(null!==r[a].top&&a!==i&&r[i].index>r[a].index&&t.collisionByTimes(r[i],r[a])){o=r[a];break}null!=o&&(r[i].top=o.top+o.height)}while(o)}for(var s=0;s<e.length;s++)void 0!==e[s].data.subgroup&&(e[s].top=r[e[s].data.subgroup].top+.5*n.item.vertical)},t.stackSubgroupsWithInnerStack=function(e,n,r){var i=!1,o=[];for(var a in r)r[a].hasOwnProperty("index")?o[r[a].index]=a:o.push(a);for(var s=0;s<o.length;s++)if(r.hasOwnProperty(a=o[s])){for(var u in i=i||r[a].stack,r[a].top=0,r)r[u].visible&&r[a].index>r[u].index&&(r[a].top+=r[u].height);for(var l=e[a],c=0;c<l.length;c++)void 0!==l[c].data.subgroup&&(l[c].top=r[l[c].data.subgroup].top+.5*n.item.vertical,r[a].stack&&(l[c].baseTop=l[c].top));i&&r[a].stack&&t.substack(e[a],n,r[a])}},t.collision=function(e,t,n,r){return r?e.right-n.horizontal+.001<t.right+t.width&&e.right+e.width+n.horizontal-.001>t.right&&e.top-n.vertical+.001<t.top+t.height&&e.top+e.height+n.vertical-.001>t.top:e.left-n.horizontal+.001<t.left+t.width&&e.left+e.width+n.horizontal-.001>t.left&&e.top-n.vertical+.001<t.top+t.height&&e.top+e.height+n.vertical-.001>t.top},t.collisionByTimes=function(e,t){return e.start<=t.start&&e.end>=t.start&&e.top<t.top+t.height&&e.top+e.height>t.top||t.start<=e.start&&t.end>=e.start&&t.top<e.top+e.height&&t.top+t.height>e.top}},function(e,t,n){var r=n(38);function i(e,t,n){if(this.props={dot:{width:0,height:0},line:{width:0,height:0}},this.options=n,e&&null==e.start)throw new Error('Property "start" missing in item '+e);r.call(this,e,t,n)}(i.prototype=new r(null,null,null)).isVisible=function(e){var t=this.options.align,n=this.width*e.getMillisecondsPerPixel();return"right"==t?this.data.start.getTime()>e.start&&this.data.start.getTime()-n<e.end:"left"==t?this.data.start.getTime()+n>e.start&&this.data.start.getTime()<e.end:this.data.start.getTime()+n/2>e.start&&this.data.start.getTime()-n/2<e.end},i.prototype._createDomElement=function(){this.dom||(this.dom={},this.dom.box=document.createElement("DIV"),this.dom.content=document.createElement("DIV"),this.dom.content.className="vis-item-content",this.dom.box.appendChild(this.dom.content),this.dom.line=document.createElement("DIV"),this.dom.line.className="vis-line",this.dom.dot=document.createElement("DIV"),this.dom.dot.className="vis-dot",this.dom.box["timeline-item"]=this,this.dirty=!0)},i.prototype._appendDomElement=function(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){var e=this.parent.dom.foreground;if(!e)throw new Error("Cannot redraw item: parent has no foreground container element");e.appendChild(this.dom.box)}if(!this.dom.line.parentNode){var t=this.parent.dom.background;if(!t)throw new Error("Cannot redraw item: parent has no background container element");t.appendChild(this.dom.line)}if(!this.dom.dot.parentNode){var n=this.parent.dom.axis;if(!t)throw new Error("Cannot redraw item: parent has no axis container element");n.appendChild(this.dom.dot)}this.displayed=!0},i.prototype._updateDirtyDomComponents=function(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.box),this._updateStyle(this.dom.box);var e=(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+(this.editable.updateTime||this.editable.updateGroup?" vis-editable":" vis-readonly");this.dom.box.className="vis-item vis-box"+e,this.dom.line.className="vis-item vis-line"+e,this.dom.dot.className="vis-item vis-dot"+e}},i.prototype._getDomComponentsSizes=function(){return{previous:{right:this.dom.box.style.right,left:this.dom.box.style.left},dot:{height:this.dom.dot.offsetHeight,width:this.dom.dot.offsetWidth},line:{width:this.dom.line.offsetWidth},box:{width:this.dom.box.offsetWidth,height:this.dom.box.offsetHeight}}},i.prototype._updateDomComponentsSizes=function(e){this.options.rtl?this.dom.box.style.right="0px":this.dom.box.style.left="0px",this.props.dot.height=e.dot.height,this.props.dot.width=e.dot.width,this.props.line.width=e.line.width,this.width=e.box.width,this.height=e.box.height,this.options.rtl?this.dom.box.style.right=e.previous.right:this.dom.box.style.left=e.previous.left,this.dirty=!1},i.prototype._repaintDomAdditionals=function(){this._repaintOnItemUpdateTimeTooltip(this.dom.box),this._repaintDragCenter(),this._repaintDeleteButton(this.dom.box)},i.prototype.redraw=function(e){var t,n,r=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),(function(){this.dirty&&(t=this._getDomComponentsSizes())}).bind(this),(function(){this.dirty&&this._updateDomComponentsSizes.bind(this)(t)}).bind(this),this._repaintDomAdditionals.bind(this)];return e?r:(r.forEach((function(e){n=e()})),n)},i.prototype.show=function(){this.displayed||this.redraw()},i.prototype.hide=function(){if(this.displayed){var e=this.dom;e.box.parentNode&&e.box.parentNode.removeChild(e.box),e.line.parentNode&&e.line.parentNode.removeChild(e.line),e.dot.parentNode&&e.dot.parentNode.removeChild(e.dot),this.displayed=!1}},i.prototype.repositionX=function(){var e=this.conversion.toScreen(this.data.start),t=this.options.align;"right"==t?this.options.rtl?(this.right=e-this.width,this.dom.box.style.right=this.right+"px",this.dom.line.style.right=e-this.props.line.width+"px",this.dom.dot.style.right=e-this.props.line.width/2-this.props.dot.width/2+"px"):(this.left=e-this.width,this.dom.box.style.left=this.left+"px",this.dom.line.style.left=e-this.props.line.width+"px",this.dom.dot.style.left=e-this.props.line.width/2-this.props.dot.width/2+"px"):"left"==t?this.options.rtl?(this.right=e,this.dom.box.style.right=this.right+"px",this.dom.line.style.right=e+"px",this.dom.dot.style.right=e+this.props.line.width/2-this.props.dot.width/2+"px"):(this.left=e,this.dom.box.style.left=this.left+"px",this.dom.line.style.left=e+"px",this.dom.dot.style.left=e+this.props.line.width/2-this.props.dot.width/2+"px"):this.options.rtl?(this.right=e-this.width/2,this.dom.box.style.right=this.right+"px",this.dom.line.style.right=e-this.props.line.width+"px",this.dom.dot.style.right=e-this.props.dot.width/2+"px"):(this.left=e-this.width/2,this.dom.box.style.left=this.left+"px",this.dom.line.style.left=e-this.props.line.width/2+"px",this.dom.dot.style.left=e-this.props.dot.width/2+"px")},i.prototype.repositionY=function(){var e=this.dom.box,t=this.dom.line,n=this.dom.dot;if("top"==this.options.orientation.item)e.style.top=(this.top||0)+"px",t.style.top="0",t.style.height=this.parent.top+this.top+1+"px",t.style.bottom="";else{var r=this.parent.itemSet.props.height,i=r-this.parent.top-this.parent.height+this.top;e.style.top=(this.parent.height-this.top-this.height||0)+"px",t.style.top=r-i+"px",t.style.bottom="0"}n.style.top=-this.props.dot.height/2+"px"},i.prototype.getWidthLeft=function(){return this.width/2},i.prototype.getWidthRight=function(){return this.width/2},e.exports=i},function(e,t,n){var r=n(38);function i(e,t,n){if(this.props={dot:{top:0,width:0,height:0},content:{height:0,marginLeft:0,marginRight:0}},this.options=n,e&&null==e.start)throw new Error('Property "start" missing in item '+e);r.call(this,e,t,n)}(i.prototype=new r(null,null,null)).isVisible=function(e){var t=this.width*e.getMillisecondsPerPixel();return this.data.start.getTime()+t>e.start&&this.data.start<e.end},i.prototype._createDomElement=function(){this.dom||(this.dom={},this.dom.point=document.createElement("div"),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.point.appendChild(this.dom.content),this.dom.dot=document.createElement("div"),this.dom.point.appendChild(this.dom.dot),this.dom.point["timeline-item"]=this,this.dirty=!0)},i.prototype._appendDomElement=function(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.point.parentNode){var e=this.parent.dom.foreground;if(!e)throw new Error("Cannot redraw item: parent has no foreground container element");e.appendChild(this.dom.point)}this.displayed=!0},i.prototype._updateDirtyDomComponents=function(){if(this.dirty){this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.point),this._updateStyle(this.dom.point);var e=(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":"")+(this.editable.updateTime||this.editable.updateGroup?" vis-editable":" vis-readonly");this.dom.point.className="vis-item vis-point"+e,this.dom.dot.className="vis-item vis-dot"+e}},i.prototype._getDomComponentsSizes=function(){return{dot:{width:this.dom.dot.offsetWidth,height:this.dom.dot.offsetHeight},content:{width:this.dom.content.offsetWidth,height:this.dom.content.offsetHeight},point:{width:this.dom.point.offsetWidth,height:this.dom.point.offsetHeight}}},i.prototype._updateDomComponentsSizes=function(e){this.props.dot.width=e.dot.width,this.props.dot.height=e.dot.height,this.props.content.height=e.content.height,this.options.rtl?this.dom.content.style.marginRight=2*this.props.dot.width+"px":this.dom.content.style.marginLeft=2*this.props.dot.width+"px",this.width=e.point.width,this.height=e.point.height,this.dom.dot.style.top=(this.height-this.props.dot.height)/2+"px",this.options.rtl?this.dom.dot.style.right=this.props.dot.width/2+"px":this.dom.dot.style.left=this.props.dot.width/2+"px",this.dirty=!1},i.prototype._repaintDomAdditionals=function(){this._repaintOnItemUpdateTimeTooltip(this.dom.point),this._repaintDragCenter(),this._repaintDeleteButton(this.dom.point)},i.prototype.redraw=function(e){var t,n,r=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),(function(){this.dirty&&(t=this._getDomComponentsSizes())}).bind(this),(function(){this.dirty&&this._updateDomComponentsSizes.bind(this)(t)}).bind(this),this._repaintDomAdditionals.bind(this)];return e?r:(r.forEach((function(e){n=e()})),n)},i.prototype.show=function(){this.displayed||this.redraw()},i.prototype.hide=function(){this.displayed&&(this.dom.point.parentNode&&this.dom.point.parentNode.removeChild(this.dom.point),this.displayed=!1)},i.prototype.repositionX=function(){var e=this.conversion.toScreen(this.data.start);this.options.rtl?(this.right=e-this.props.dot.width,this.dom.point.style.right=this.right+"px"):(this.left=e-this.props.dot.width,this.dom.point.style.left=this.left+"px")},i.prototype.repositionY=function(){this.dom.point.style.top="top"==this.options.orientation.item?this.top+"px":this.parent.height-this.top-this.height+"px"},i.prototype.getWidthLeft=function(){return this.props.dot.width},i.prototype.getWidthRight=function(){return this.props.dot.width},e.exports=i},function(e,t,n){var r=n(38),i=n(70),o=n(71);function a(e,t,n){if(this.props={content:{width:0}},this.overflow=!1,e){if(null==e.start)throw new Error('Property "start" missing in item '+e.id);if(null==e.end)throw new Error('Property "end" missing in item '+e.id)}r.call(this,e,t,n)}(a.prototype=new r(null,null,null)).baseClassName="vis-item vis-background",a.prototype.stack=!1,a.prototype.isVisible=function(e){return this.data.start<e.end&&this.data.end>e.start},a.prototype._createDomElement=function(){this.dom||(this.dom={},this.dom.box=document.createElement("div"),this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-item-overflow",this.dom.box.appendChild(this.dom.frame),this.dom.content=document.createElement("div"),this.dom.content.className="vis-item-content",this.dom.frame.appendChild(this.dom.content),this.dirty=!0)},a.prototype._appendDomElement=function(){if(!this.parent)throw new Error("Cannot redraw item: no parent attached");if(!this.dom.box.parentNode){var e=this.parent.dom.background;if(!e)throw new Error("Cannot redraw item: parent has no background container element");e.appendChild(this.dom.box)}this.displayed=!0},a.prototype._updateDirtyDomComponents=function(){this.dirty&&(this._updateContents(this.dom.content),this._updateDataAttributes(this.dom.content),this._updateStyle(this.dom.box),this.dom.box.className=this.baseClassName+(this.data.className?" "+this.data.className:"")+(this.selected?" vis-selected":""))},a.prototype._getDomComponentsSizes=function(){return this.overflow="hidden"!==window.getComputedStyle(this.dom.content).overflow,{content:{width:this.dom.content.offsetWidth}}},a.prototype._updateDomComponentsSizes=function(e){this.props.content.width=e.content.width,this.height=0,this.dirty=!1},a.prototype._repaintDomAdditionals=function(){},a.prototype.redraw=function(e){var t,n,r=[this._createDomElement.bind(this),this._appendDomElement.bind(this),this._updateDirtyDomComponents.bind(this),(function(){this.dirty&&(t=this._getDomComponentsSizes.bind(this)())}).bind(this),(function(){this.dirty&&this._updateDomComponentsSizes.bind(this)(t)}).bind(this),this._repaintDomAdditionals.bind(this)];return e?r:(r.forEach((function(e){n=e()})),n)},a.prototype.show=o.prototype.show,a.prototype.hide=o.prototype.hide,a.prototype.repositionX=o.prototype.repositionX,a.prototype.repositionY=function(e){var t,n=this.options.orientation.item;if(void 0!==this.data.subgroup){var r=this.data.subgroup;this.dom.box.style.height=this.parent.subgroups[r].height+"px",this.dom.box.style.top="top"==n?this.parent.top+this.parent.subgroups[r].top+"px":this.parent.top+this.parent.height-this.parent.subgroups[r].top-this.parent.subgroups[r].height+"px",this.dom.box.style.bottom=""}else this.parent instanceof i?(t=Math.max(this.parent.height,this.parent.itemSet.body.domProps.center.height,this.parent.itemSet.body.domProps.centerContainer.height),this.dom.box.style.bottom="bottom"==n?"0":"",this.dom.box.style.top="top"==n?"0":""):(t=this.parent.height,this.dom.box.style.top=this.parent.top+"px",this.dom.box.style.bottom="");this.dom.box.style.height=t+"px"},e.exports=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n){(0,r.default)(this,e),this.container=t,this.overflowMethod=n||"cap",this.x=0,this.y=0,this.padding=5,this.hidden=!1,this.frame=document.createElement("div"),this.frame.className="vis-tooltip",this.container.appendChild(this.frame)}return(0,i.default)(e,[{key:"setPosition",value:function(e,t){this.x=parseInt(e),this.y=parseInt(t)}},{key:"setText",value:function(e){e instanceof Element?(this.frame.innerHTML="",this.frame.appendChild(e)):this.frame.innerHTML=e}},{key:"show",value:function(e){if(void 0===e&&(e=!0),!0===e){var t=this.frame.clientHeight,n=this.frame.clientWidth,r=this.frame.parentNode.clientHeight,i=this.frame.parentNode.clientWidth,o=0,a=0;if("flip"==this.overflowMethod){var s=!1,u=!0;this.y-t<this.padding&&(u=!1),this.x+n>i-this.padding&&(s=!0),o=s?this.x-n:this.x,a=u?this.y-t:this.y}else(a=this.y-t)+t+this.padding>r&&(a=r-t-this.padding),a<this.padding&&(a=this.padding),(o=this.x)+n+this.padding>i&&(o=i-n-this.padding),o<this.padding&&(o=this.padding);this.frame.style.left=o+"px",this.frame.style.top=a+"px",this.frame.style.visibility="visible",this.hidden=!1}else this.hide()}},{key:"hide",value:function(){this.hidden=!0,this.frame.style.left="0",this.frame.style.top="0",this.frame.style.visibility="hidden"}},{key:"destroy",value:function(){this.frame.parentNode.removeChild(this.frame)}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="string",i="boolean",o="number",a="object";t.allOptions={configure:{enabled:{boolean:i},filter:{boolean:i,function:"function"},container:{dom:"dom"},__type__:{object:a,boolean:i,function:"function"}},align:{string:r},rtl:{boolean:i,undefined:"undefined"},rollingMode:{follow:{boolean:i},offset:{number:o,undefined:"undefined"},__type__:{object:a}},verticalScroll:{boolean:i,undefined:"undefined"},horizontalScroll:{boolean:i,undefined:"undefined"},autoResize:{boolean:i},throttleRedraw:{number:o},clickToUse:{boolean:i},dataAttributes:{string:r,array:"array"},editable:{add:{boolean:i,undefined:"undefined"},remove:{boolean:i,undefined:"undefined"},updateGroup:{boolean:i,undefined:"undefined"},updateTime:{boolean:i,undefined:"undefined"},overrideItems:{boolean:i,undefined:"undefined"},__type__:{boolean:i,object:a}},end:{number:o,date:"date",string:r,moment:"moment"},format:{minorLabels:{millisecond:{string:r,undefined:"undefined"},second:{string:r,undefined:"undefined"},minute:{string:r,undefined:"undefined"},hour:{string:r,undefined:"undefined"},weekday:{string:r,undefined:"undefined"},day:{string:r,undefined:"undefined"},week:{string:r,undefined:"undefined"},month:{string:r,undefined:"undefined"},year:{string:r,undefined:"undefined"},__type__:{object:a,function:"function"}},majorLabels:{millisecond:{string:r,undefined:"undefined"},second:{string:r,undefined:"undefined"},minute:{string:r,undefined:"undefined"},hour:{string:r,undefined:"undefined"},weekday:{string:r,undefined:"undefined"},day:{string:r,undefined:"undefined"},week:{string:r,undefined:"undefined"},month:{string:r,undefined:"undefined"},year:{string:r,undefined:"undefined"},__type__:{object:a,function:"function"}},__type__:{object:a}},moment:{function:"function"},groupOrder:{string:r,function:"function"},groupEditable:{add:{boolean:i,undefined:"undefined"},remove:{boolean:i,undefined:"undefined"},order:{boolean:i,undefined:"undefined"},__type__:{boolean:i,object:a}},groupOrderSwap:{function:"function"},height:{string:r,number:o},hiddenDates:{start:{date:"date",number:o,string:r,moment:"moment"},end:{date:"date",number:o,string:r,moment:"moment"},repeat:{string:r},__type__:{object:a,array:"array"}},itemsAlwaysDraggable:{item:{boolean:i,undefined:"undefined"},range:{boolean:i,undefined:"undefined"},__type__:{boolean:i,object:a}},limitSize:{boolean:i},locale:{string:r},locales:{__any__:{any:"any"},__type__:{object:a}},margin:{axis:{number:o},item:{horizontal:{number:o,undefined:"undefined"},vertical:{number:o,undefined:"undefined"},__type__:{object:a,number:o}},__type__:{object:a,number:o}},max:{date:"date",number:o,string:r,moment:"moment"},maxHeight:{number:o,string:r},maxMinorChars:{number:o},min:{date:"date",number:o,string:r,moment:"moment"},minHeight:{number:o,string:r},moveable:{boolean:i},multiselect:{boolean:i},multiselectPerGroup:{boolean:i},onAdd:{function:"function"},onDropObjectOnItem:{function:"function"},onUpdate:{function:"function"},onMove:{function:"function"},onMoving:{function:"function"},onRemove:{function:"function"},onAddGroup:{function:"function"},onMoveGroup:{function:"function"},onRemoveGroup:{function:"function"},onInitialDrawComplete:{function:"function"},order:{function:"function"},orientation:{axis:{string:r,undefined:"undefined"},item:{string:r,undefined:"undefined"},__type__:{string:r,object:a}},selectable:{boolean:i},showCurrentTime:{boolean:i},showMajorLabels:{boolean:i},showMinorLabels:{boolean:i},stack:{boolean:i},stackSubgroups:{boolean:i},snap:{function:"function",null:"null"},start:{date:"date",number:o,string:r,moment:"moment"},template:{function:"function"},groupTemplate:{function:"function"},visibleFrameTemplate:{string:r,function:"function"},showTooltips:{boolean:i},tooltip:{followMouse:{boolean:i},overflowMethod:{string:["cap","flip"]},__type__:{object:a}},tooltipOnItemUpdateTime:{template:{function:"function"},__type__:{boolean:i,object:a}},timeAxis:{scale:{string:r,undefined:"undefined"},step:{number:o,undefined:"undefined"},__type__:{object:a}},type:{string:r},width:{string:r,number:o},zoomable:{boolean:i},zoomKey:{string:["ctrlKey","altKey","metaKey",""]},zoomMax:{number:o},zoomMin:{number:o},__type__:{object:a}},t.configureOptions={global:{align:["center","left","right"],direction:!1,autoResize:!0,clickToUse:!1,editable:{add:!1,remove:!1,updateGroup:!1,updateTime:!1},end:"",format:{minorLabels:{millisecond:"SSS",second:"s",minute:"HH:mm",hour:"HH:mm",weekday:"ddd D",day:"D",week:"w",month:"MMM",year:"YYYY"},majorLabels:{millisecond:"HH:mm:ss",second:"D MMMM HH:mm",minute:"ddd D MMMM",hour:"ddd D MMMM",weekday:"MMMM YYYY",day:"MMMM YYYY",week:"MMMM YYYY",month:"YYYY",year:""}},groupsDraggable:!1,height:"",locale:"",margin:{axis:[20,0,100,1],item:{horizontal:[10,0,100,1],vertical:[10,0,100,1]}},max:"",maxHeight:"",maxMinorChars:[7,0,20,1],min:"",minHeight:"",moveable:!1,multiselect:!1,multiselectPerGroup:!1,orientation:{axis:["both","bottom","top"],item:["bottom","top"]},selectable:!0,showCurrentTime:!1,showMajorLabels:!0,showMinorLabels:!0,stack:!0,stackSubgroups:!0,start:"",showTooltips:!0,tooltip:{followMouse:!1,overflowMethod:"flip"},tooltipOnItemUpdateTime:!1,type:["box","point","range","background"],width:"100%",zoomable:!0,zoomKey:["ctrlKey","altKey","metaKey",""],zoomMax:[31536e10,10,31536e10,1],zoomMin:[10,10,31536e10,1]}}},function(e,t,n){var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=n(2),a=n(14),s=n(11),u=n(12),l=n(16),c=n(107),d=n(109),f=n(112),h=n(110),p=n(111),m=n(73);function v(e,t){this.id=o.randomUUID(),this.body=e,this.defaultOptions={yAxisOrientation:"left",defaultGroup:"default",sort:!0,sampling:!0,stack:!1,graphHeight:"400px",shaded:{enabled:!1,orientation:"bottom"},style:"line",barChart:{width:50,sideBySide:!1,align:"center"},interpolation:{enabled:!0,parametrization:"centripetal",alpha:.5},drawPoints:{enabled:!0,size:6,style:"square"},dataAxis:{},legend:{},groups:{visibility:{}}},this.options=o.extend({},this.defaultOptions),this.dom={},this.props={},this.hammer=null,this.groups={},this.abortedGraphUpdate=!1,this.updateSVGheight=!1,this.updateSVGheightOnResize=!1,this.forceGraphUpdate=!0;var n=this;this.itemsData=null,this.groupsData=null,this.itemListeners={add:function(e,t,r){n._onAdd(t.items)},update:function(e,t,r){n._onUpdate(t.items)},remove:function(e,t,r){n._onRemove(t.items)}},this.groupListeners={add:function(e,t,r){n._onAddGroups(t.items)},update:function(e,t,r){n._onUpdateGroups(t.items)},remove:function(e,t,r){n._onRemoveGroups(t.items)}},this.items={},this.selection=[],this.lastStart=this.body.range.start,this.touchParams={},this.svgElements={},this.setOptions(t),this.groupsUsingDefaultStyles=[0],this.body.emitter.on("rangechanged",(function(){n.lastStart=n.body.range.start,n.svg.style.left=o.option.asSize(-n.props.width),n.forceGraphUpdate=!0,n.redraw.call(n)})),this._create(),this.framework={svg:this.svg,svgElements:this.svgElements,options:this.options,groups:this.groups}}(v.prototype=new l)._create=function(){var e=document.createElement("div");e.className="vis-line-graph",this.dom.frame=e,this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.style.position="relative",this.svg.style.height=(""+this.options.graphHeight).replace("px","")+"px",this.svg.style.display="block",e.appendChild(this.svg),this.options.dataAxis.orientation="left",this.yAxisLeft=new c(this.body,this.options.dataAxis,this.svg,this.options.groups),this.options.dataAxis.orientation="right",this.yAxisRight=new c(this.body,this.options.dataAxis,this.svg,this.options.groups),delete this.options.dataAxis.orientation,this.legendLeft=new f(this.body,this.options.legend,"left",this.options.groups),this.legendRight=new f(this.body,this.options.legend,"right",this.options.groups),this.show()},v.prototype.setOptions=function(e){e&&(void 0===e.graphHeight&&void 0!==e.height?(this.updateSVGheight=!0,this.updateSVGheightOnResize=!0):void 0!==this.body.domProps.centerContainer.height&&void 0!==e.graphHeight&&parseInt((e.graphHeight+"").replace("px",""))<this.body.domProps.centerContainer.height&&(this.updateSVGheight=!0),o.selectiveDeepExtend(["sampling","defaultGroup","stack","height","graphHeight","yAxisOrientation","style","barChart","dataAxis","sort","groups"],this.options,e),o.mergeOptions(this.options,e,"interpolation"),o.mergeOptions(this.options,e,"drawPoints"),o.mergeOptions(this.options,e,"shaded"),o.mergeOptions(this.options,e,"legend"),e.interpolation&&"object"==(0,i.default)(e.interpolation)&&e.interpolation.parametrization&&("uniform"==e.interpolation.parametrization?this.options.interpolation.alpha=0:"chordal"==e.interpolation.parametrization?this.options.interpolation.alpha=1:(this.options.interpolation.parametrization="centripetal",this.options.interpolation.alpha=.5)),this.yAxisLeft&&void 0!==e.dataAxis&&(this.yAxisLeft.setOptions(this.options.dataAxis),this.yAxisRight.setOptions(this.options.dataAxis)),this.legendLeft&&void 0!==e.legend&&(this.legendLeft.setOptions(this.options.legend),this.legendRight.setOptions(this.options.legend)),this.groups.hasOwnProperty("__ungrouped__")&&this.groups.__ungrouped__.setOptions(e)),this.dom.frame&&(this.forceGraphUpdate=!0,this.body.emitter.emit("_change",{queue:!0}))},v.prototype.hide=function(){this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame)},v.prototype.show=function(){this.dom.frame.parentNode||this.body.dom.center.appendChild(this.dom.frame)},v.prototype.setItems=function(e){var t,n=this,r=this.itemsData;if(e){if(!(e instanceof s||e instanceof u))throw new TypeError("Data must be an instance of DataSet or DataView");this.itemsData=e}else this.itemsData=null;if(r&&(o.forEach(this.itemListeners,(function(e,t){r.off(t,e)})),t=r.getIds(),this._onRemove(t)),this.itemsData){var i=this.id;o.forEach(this.itemListeners,(function(e,t){n.itemsData.on(t,e,i)})),t=this.itemsData.getIds(),this._onAdd(t)}},v.prototype.setGroups=function(e){var t,n=this;if(this.groupsData){o.forEach(this.groupListeners,(function(e,t){n.groupsData.off(t,e)})),t=this.groupsData.getIds(),this.groupsData=null;for(var r=0;r<t.length;r++)this._removeGroup(t[r])}if(e){if(!(e instanceof s||e instanceof u))throw new TypeError("Data must be an instance of DataSet or DataView");this.groupsData=e}else this.groupsData=null;if(this.groupsData){var i=this.id;o.forEach(this.groupListeners,(function(e,t){n.groupsData.on(t,e,i)})),t=this.groupsData.getIds(),this._onAddGroups(t)}},v.prototype._onUpdate=function(e){this._updateAllGroupData(e)},v.prototype._onAdd=function(e){this._onUpdate(e)},v.prototype._onRemove=function(e){this._onUpdate(e)},v.prototype._onUpdateGroups=function(e){this._updateAllGroupData(null,e)},v.prototype._onAddGroups=function(e){this._onUpdateGroups(e)},v.prototype._onRemoveGroups=function(e){for(var t=0;t<e.length;t++)this._removeGroup(e[t]);this.forceGraphUpdate=!0,this.body.emitter.emit("_change",{queue:!0})},v.prototype._removeGroup=function(e){this.groups.hasOwnProperty(e)&&("right"==this.groups[e].options.yAxisOrientation?(this.yAxisRight.removeGroup(e),this.legendRight.removeGroup(e),this.legendRight.redraw()):(this.yAxisLeft.removeGroup(e),this.legendLeft.removeGroup(e),this.legendLeft.redraw()),delete this.groups[e])},v.prototype._updateGroup=function(e,t){this.groups.hasOwnProperty(t)?(this.groups[t].update(e),"right"==this.groups[t].options.yAxisOrientation?(this.yAxisRight.updateGroup(t,this.groups[t]),this.legendRight.updateGroup(t,this.groups[t]),this.yAxisLeft.removeGroup(t),this.legendLeft.removeGroup(t)):(this.yAxisLeft.updateGroup(t,this.groups[t]),this.legendLeft.updateGroup(t,this.groups[t]),this.yAxisRight.removeGroup(t),this.legendRight.removeGroup(t))):(this.groups[t]=new d(e,t,this.options,this.groupsUsingDefaultStyles),"right"==this.groups[t].options.yAxisOrientation?(this.yAxisRight.addGroup(t,this.groups[t]),this.legendRight.addGroup(t,this.groups[t])):(this.yAxisLeft.addGroup(t,this.groups[t]),this.legendLeft.addGroup(t,this.groups[t]))),this.legendLeft.redraw(),this.legendRight.redraw()},v.prototype._updateAllGroupData=function(e,t){if(null!=this.itemsData){var n={},r=this.itemsData.get(),i=this.itemsData._fieldId,a={};e&&e.map((function(e){a[e]=e}));for(var s={},u=0;u<r.length;u++){var l=r[u],c=l.group;null==c&&(c="__ungrouped__"),s.hasOwnProperty(c)?s[c]++:s[c]=1}var d={};if(!t&&e)for(c in this.groups)if(this.groups.hasOwnProperty(c)){var f=(v=this.groups[c]).getItems();n[c]=f.filter((function(e){return d[e[i]]=e[i],e[i]!==a[e[i]]}));var h=s[c];s[c]-=n[c].length,n[c].length<h&&(n[c][h-1]={})}for(u=0;u<r.length;u++)if(null==(c=(l=r[u]).group)&&(c="__ungrouped__"),t||!e||l[i]===a[l[i]]||!d.hasOwnProperty(l[i])){n.hasOwnProperty(c)||(n[c]=new Array(s[c]));var p=o.bridgeObject(l);p.x=o.convert(l.x,"Date"),p.end=o.convert(l.end,"Date"),p.orginalY=l.y,p.y=Number(l.y),p[i]=l[i];var m=n[c].length-s[c]--;n[c][m]=p}for(c in this.groups)this.groups.hasOwnProperty(c)&&(n.hasOwnProperty(c)||(n[c]=new Array(0)));for(c in n)if(n.hasOwnProperty(c))if(0==n[c].length)this.groups.hasOwnProperty(c)&&this._removeGroup(c);else{var v=void 0;null!=this.groupsData&&(v=this.groupsData.get(c)),null==v&&(v={id:c,content:this.options.defaultGroup+c}),this._updateGroup(v,c),this.groups[c].setItems(n[c])}this.forceGraphUpdate=!0,this.body.emitter.emit("_change",{queue:!0})}},v.prototype.redraw=function(){var e=!1;this.props.width=this.dom.frame.offsetWidth,this.props.height=this.body.domProps.centerContainer.height-this.body.domProps.border.top-this.body.domProps.border.bottom,e=this._isResized()||e;var t=this.body.range.end-this.body.range.start,n=t!=this.lastVisibleInterval;return this.lastVisibleInterval=t,1==e&&(this.svg.style.width=o.option.asSize(3*this.props.width),this.svg.style.left=o.option.asSize(-this.props.width),-1==(this.options.height+"").indexOf("%")&&1!=this.updateSVGheightOnResize||(this.updateSVGheight=!0)),1==this.updateSVGheight?(this.options.graphHeight!=this.props.height+"px"&&(this.options.graphHeight=this.props.height+"px",this.svg.style.height=this.props.height+"px"),this.updateSVGheight=!1):this.svg.style.height=(""+this.options.graphHeight).replace("px","")+"px",1==e||1==n||1==this.abortedGraphUpdate||1==this.forceGraphUpdate?(e=this._updateGraph()||e,this.forceGraphUpdate=!1):0!=this.lastStart&&0!=this.props.width&&(this.svg.style.left=-this.props.width-this.props.width/(this.body.range.end-this.body.range.start)*(this.body.range.start-this.lastStart)+"px"),this.legendLeft.redraw(),this.legendRight.redraw(),e},v.prototype._getSortedGroupIds=function(){var e=[];for(var t in this.groups)if(this.groups.hasOwnProperty(t)){var n=this.groups[t];1!=n.visible||void 0!==this.options.groups.visibility[t]&&1!=this.options.groups.visibility[t]||e.push({id:t,zIndex:n.options.zIndex})}o.insertSort(e,(function(e,t){var n=e.zIndex,r=t.zIndex;return void 0===n&&(n=0),void 0===r&&(r=0),n==r?0:n<r?-1:1}));for(var r=new Array(e.length),i=0;i<e.length;i++)r[i]=e[i].id;return r},v.prototype._updateGraph=function(){if(a.prepareElements(this.svgElements),0!=this.props.width&&null!=this.itemsData){var e,t,n={},r=this.body.util.toGlobalTime(-this.body.domProps.root.width),i=this.body.util.toGlobalTime(2*this.body.domProps.root.width),o=this._getSortedGroupIds();if(o.length>0){var s={};for(this._getRelevantData(o,s,r,i),this._applySampling(o,s),t=0;t<o.length;t++)this._convertXcoordinates(s[o[t]]);if(this._getYRanges(o,s,n),1==this._updateYAxis(o,n))return a.cleanupElements(this.svgElements),this.abortedGraphUpdate=!0,!0;this.abortedGraphUpdate=!1;var u=void 0;for(t=0;t<o.length;t++)e=this.groups[o[t]],!0===this.options.stack&&"line"===this.options.style&&(null!=e.options.excludeFromStacking&&e.options.excludeFromStacking||(null!=u&&(this._stack(s[e.id],s[u.id]),1==e.options.shaded.enabled&&"group"!==e.options.shaded.orientation&&("top"==e.options.shaded.orientation&&"group"!==u.options.shaded.orientation?(u.options.shaded.orientation="group",u.options.shaded.groupId=e.id):(e.options.shaded.orientation="group",e.options.shaded.groupId=u.id))),u=e)),this._convertYcoordinates(s[o[t]],e);var l={};for(t=0;t<o.length;t++)if("line"===(e=this.groups[o[t]]).options.style&&1==e.options.shaded.enabled){var c=s[o[t]];if(null==c||0==c.length)continue;if(l.hasOwnProperty(o[t])||(l[o[t]]=p.calcPath(c,e)),"group"===e.options.shaded.orientation){var d=e.options.shaded.groupId;if(-1===o.indexOf(d)){console.log(e.id+": Unknown shading group target given:"+d);continue}l.hasOwnProperty(d)||(l[d]=p.calcPath(s[d],this.groups[d])),p.drawShading(l[o[t]],e,l[d],this.framework)}else p.drawShading(l[o[t]],e,void 0,this.framework)}for(h.draw(o,s,this.framework),t=0;t<o.length;t++)if(e=this.groups[o[t]],s[o[t]].length>0)switch(e.options.style){case"line":l.hasOwnProperty(o[t])||(l[o[t]]=p.calcPath(s[o[t]],e)),p.draw(l[o[t]],e,this.framework);case"point":case"points":"point"!=e.options.style&&"points"!=e.options.style&&1!=e.options.drawPoints.enabled||m.draw(s[o[t]],e,this.framework)}}}return a.cleanupElements(this.svgElements),!1},v.prototype._stack=function(e,t){var n,r,i,o;n=0;for(var a=0;a<e.length;a++){i=void 0,o=void 0;for(var s=n;s<t.length;s++){if(t[s].x===e[a].x){i=t[s],o=t[s],n=s;break}if(t[s].x>e[a].x){o=t[s],i=0==s?o:t[s-1],n=s;break}}void 0===o&&(i=t[t.length-1],o=t[t.length-1]),e[a].y=0==(r=o.x-i.x)?e[a].orginalY+o.y:e[a].orginalY+(o.y-i.y)/r*(e[a].x-i.x)+i.y}},v.prototype._getRelevantData=function(e,t,n,r){var i,a,s;if(e.length>0)for(a=0;a<e.length;a++){var u=(i=this.groups[e[a]]).getItems();if(1==i.options.sort){var l=function(e,t){return e.getTime()==t.getTime()?0:e<t?-1:1},c=Math.max(0,o.binarySearchValue(u,n,"x","before",l)),d=Math.min(u.length,o.binarySearchValue(u,r,"x","after",l)+1);d<=0&&(d=u.length);var f=new Array(d-c);for(s=c;s<d;s++)f[s-c]=i.itemsData[s];t[e[a]]=f}else t[e[a]]=i.itemsData}},v.prototype._applySampling=function(e,t){if(e.length>0)for(var n=0;n<e.length;n++)if(1==this.groups[e[n]].options.sampling){var r=t[e[n]];if(r.length>0){var i,o=r.length,a=o/(this.body.util.toGlobalScreen(r[r.length-1].x)-this.body.util.toGlobalScreen(r[0].x));i=Math.min(Math.ceil(.2*o),Math.max(1,Math.round(a)));for(var s=new Array(o),u=0;u<o;u+=i)s[Math.round(u/i)]=r[u];t[e[n]]=s.splice(0,Math.round(o/i))}}},v.prototype._getYRanges=function(e,t,n){var r,i,o,a,s=[],u=[];if(e.length>0){for(o=0;o<e.length;o++)a=this.groups[e[o]].options,(r=t[e[o]]).length>0&&(i=this.groups[e[o]],!0===a.stack&&"bar"===a.style?"left"===a.yAxisOrientation?s=s.concat(r):u=u.concat(r):n[e[o]]=i.getYRange(r,e[o]));h.getStackedYRange(s,n,e,"__barStackLeft","left"),h.getStackedYRange(u,n,e,"__barStackRight","right")}},v.prototype._updateYAxis=function(e,t){var n,r,i=!1,o=!1,a=!1,s=1e9,u=1e9,l=-1e9,c=-1e9;if(e.length>0){for(var d=0;d<e.length;d++){var f=this.groups[e[d]];f&&"right"!=f.options.yAxisOrientation?(o=!0,s=1e9,l=-1e9):f&&f.options.yAxisOrientation&&(a=!0,u=1e9,c=-1e9)}for(d=0;d<e.length;d++)t.hasOwnProperty(e[d])&&!0!==t[e[d]].ignore&&(n=t[e[d]].min,r=t[e[d]].max,"right"!=t[e[d]].yAxisOrientation?(o=!0,s=s>n?n:s,l=l<r?r:l):(a=!0,u=u>n?n:u,c=c<r?r:c));1==o&&this.yAxisLeft.setRange(s,l),1==a&&this.yAxisRight.setRange(u,c)}i=this._toggleAxisVisiblity(o,this.yAxisLeft)||i,i=this._toggleAxisVisiblity(a,this.yAxisRight)||i,1==a&&1==o?(this.yAxisLeft.drawIcons=!0,this.yAxisRight.drawIcons=!0):(this.yAxisLeft.drawIcons=!1,this.yAxisRight.drawIcons=!1),this.yAxisRight.master=!o,this.yAxisRight.masterAxis=this.yAxisLeft,0==this.yAxisRight.master?(this.yAxisLeft.lineOffset=1==a?this.yAxisRight.width:0,i=this.yAxisLeft.redraw()||i,i=this.yAxisRight.redraw()||i):i=this.yAxisRight.redraw()||i;var h=["__barStackLeft","__barStackRight","__lineStackLeft","__lineStackRight"];for(d=0;d<h.length;d++)-1!=e.indexOf(h[d])&&e.splice(e.indexOf(h[d]),1);return i},v.prototype._toggleAxisVisiblity=function(e,t){var n=!1;return 0==e?t.dom.frame.parentNode&&0==t.hidden&&(t.hide(),n=!0):t.dom.frame.parentNode||1!=t.hidden||(t.show(),n=!0),n},v.prototype._convertXcoordinates=function(e){for(var t=this.body.util.toScreen,n=0;n<e.length;n++)e[n].screen_x=t(e[n].x)+this.props.width,e[n].screen_y=e[n].y,e[n].screen_end=null!=e[n].end?t(e[n].end)+this.props.width:void 0},v.prototype._convertYcoordinates=function(e,t){var n=this.yAxisLeft,r=Number(this.svg.style.height.replace("px",""));"right"==t.options.yAxisOrientation&&(n=this.yAxisRight);for(var i=0;i<e.length;i++)e[i].screen_y=Math.round(n.convertValue(e[i].y));t.setZeroPosition(Math.min(r,n.convertValue(0)))},e.exports=v},function(e,t,n){var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(2),a=n(14),s=n(16),u=n(108);function l(e,t,n,r){this.id=o.randomUUID(),this.body=e,this.defaultOptions={orientation:"left",showMinorLabels:!0,showMajorLabels:!0,icons:!1,majorLinesOffset:7,minorLinesOffset:4,labelOffsetX:10,labelOffsetY:2,iconWidth:20,width:"40px",visible:!0,alignZeros:!0,left:{range:{min:void 0,max:void 0},format:function(e){return""+parseFloat(e.toPrecision(3))},title:{text:void 0,style:void 0}},right:{range:{min:void 0,max:void 0},format:function(e){return""+parseFloat(e.toPrecision(3))},title:{text:void 0,style:void 0}}},this.linegraphOptions=r,this.linegraphSVG=n,this.props={},this.DOMelements={lines:{},labels:{},title:{}},this.dom={},this.scale=void 0,this.range={start:0,end:0},this.options=o.extend({},this.defaultOptions),this.conversionFactor=1,this.setOptions(t),this.width=Number((""+this.options.width).replace("px","")),this.minWidth=this.width,this.height=this.linegraphSVG.getBoundingClientRect().height,this.hidden=!1,this.stepPixels=25,this.zeroCrossing=-1,this.amountOfSteps=-1,this.lineOffset=0,this.master=!0,this.masterAxis=null,this.svgElements={},this.iconsRemoved=!1,this.groups={},this.amountOfGroups=0,this._create(),this.framework={svg:this.svg,svgElements:this.svgElements,options:this.options,groups:this.groups};var i=this;this.body.emitter.on("verticalDrag",(function(){i.dom.lineContainer.style.top=i.body.domProps.scrollTop+"px"}))}(l.prototype=new s).addGroup=function(e,t){this.groups.hasOwnProperty(e)||(this.groups[e]=t),this.amountOfGroups+=1},l.prototype.updateGroup=function(e,t){this.groups.hasOwnProperty(e)||(this.amountOfGroups+=1),this.groups[e]=t},l.prototype.removeGroup=function(e){this.groups.hasOwnProperty(e)&&(delete this.groups[e],this.amountOfGroups-=1)},l.prototype.setOptions=function(e){if(e){var t=!1;this.options.orientation!=e.orientation&&void 0!==e.orientation&&(t=!0),o.selectiveDeepExtend(["orientation","showMinorLabels","showMajorLabels","icons","majorLinesOffset","minorLinesOffset","labelOffsetX","labelOffsetY","iconWidth","width","visible","left","right","alignZeros"],this.options,e),this.minWidth=Number((""+this.options.width).replace("px","")),!0===t&&this.dom.frame&&(this.hide(),this.show())}},l.prototype._create=function(){this.dom.frame=document.createElement("div"),this.dom.frame.style.width=this.options.width,this.dom.frame.style.height=this.height,this.dom.lineContainer=document.createElement("div"),this.dom.lineContainer.style.width="100%",this.dom.lineContainer.style.height=this.height,this.dom.lineContainer.style.position="relative",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.style.position="absolute",this.svg.style.top="0px",this.svg.style.height="100%",this.svg.style.width="100%",this.svg.style.display="block",this.dom.frame.appendChild(this.svg)},l.prototype._redrawGroupIcons=function(){var e;a.prepareElements(this.svgElements);var t=this.options.iconWidth,n=11.5;e="left"===this.options.orientation?4:this.width-t-4;var r=(0,i.default)(this.groups);r.sort((function(e,t){return e<t?-1:1}));for(var o=0;o<r.length;o++){var s=r[o];!0!==this.groups[s].visible||void 0!==this.linegraphOptions.visibility[s]&&!0!==this.linegraphOptions.visibility[s]||(this.groups[s].getLegend(t,15,this.framework,e,n),n+=19)}a.cleanupElements(this.svgElements),this.iconsRemoved=!1},l.prototype._cleanupIcons=function(){!1===this.iconsRemoved&&(a.prepareElements(this.svgElements),a.cleanupElements(this.svgElements),this.iconsRemoved=!0)},l.prototype.show=function(){this.hidden=!1,this.dom.frame.parentNode||("left"===this.options.orientation?this.body.dom.left.appendChild(this.dom.frame):this.body.dom.right.appendChild(this.dom.frame)),this.dom.lineContainer.parentNode||this.body.dom.backgroundHorizontal.appendChild(this.dom.lineContainer)},l.prototype.hide=function(){this.hidden=!0,this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame),this.dom.lineContainer.parentNode&&this.dom.lineContainer.parentNode.removeChild(this.dom.lineContainer)},l.prototype.setRange=function(e,t){this.range.start=e,this.range.end=t},l.prototype.redraw=function(){var e=!1,t=0;for(var n in this.dom.lineContainer.style.top=this.body.domProps.scrollTop+"px",this.groups)this.groups.hasOwnProperty(n)&&(!0!==this.groups[n].visible||void 0!==this.linegraphOptions.visibility[n]&&!0!==this.linegraphOptions.visibility[n]||t++);if(0===this.amountOfGroups||0===t)this.hide();else{this.show(),this.height=Number(this.linegraphSVG.style.height.replace("px","")),this.dom.lineContainer.style.height=this.height+"px",this.width=!0===this.options.visible?Number((""+this.options.width).replace("px","")):0;var r=this.props,i=this.dom.frame;i.className="vis-data-axis",this._calculateCharSize();var o=this.options.orientation,a=this.options.showMajorLabels;r.minorLabelHeight=this.options.showMinorLabels?r.minorCharHeight:0,r.majorLabelHeight=a?r.majorCharHeight:0,r.minorLineWidth=this.body.dom.backgroundHorizontal.offsetWidth-this.lineOffset-this.width+2*this.options.minorLinesOffset,r.minorLineHeight=1,r.majorLineWidth=this.body.dom.backgroundHorizontal.offsetWidth-this.lineOffset-this.width+2*this.options.majorLinesOffset,r.majorLineHeight=1,"left"===o?(i.style.top="0",i.style.left="0",i.style.bottom="",i.style.width=this.width+"px",i.style.height=this.height+"px",this.props.width=this.body.domProps.left.width,this.props.height=this.body.domProps.left.height):(i.style.top="",i.style.bottom="0",i.style.left="0",i.style.width=this.width+"px",i.style.height=this.height+"px",this.props.width=this.body.domProps.right.width,this.props.height=this.body.domProps.right.height),e=this._redrawLabels(),e=this._isResized()||e,!0===this.options.icons?this._redrawGroupIcons():this._cleanupIcons(),this._redrawTitle(o)}return e},l.prototype._redrawLabels=function(){var e=this,t=!1;a.prepareElements(this.DOMelements.lines),a.prepareElements(this.DOMelements.labels);var n=this.options.orientation,r=null!=this.options[n].range?this.options[n].range:{},i=!0;null!=r.max&&(this.range.end=r.max,i=!1);var o=!0;null!=r.min&&(this.range.start=r.min,o=!1),this.scale=new u(this.range.start,this.range.end,o,i,this.dom.frame.offsetHeight,this.props.majorCharHeight,this.options.alignZeros,this.options[n].format),!1===this.master&&null!=this.masterAxis&&this.scale.followScale(this.masterAxis.scale),this.maxLabelSize=0,this.scale.getLines().forEach((function(t){var r=t.y,i=t.major;e.options.showMinorLabels&&!1===i&&e._redrawLabel(r-2,t.val,n,"vis-y-axis vis-minor",e.props.minorCharHeight),i&&r>=0&&e._redrawLabel(r-2,t.val,n,"vis-y-axis vis-major",e.props.majorCharHeight),!0===e.master&&(i?e._redrawLine(r,n,"vis-grid vis-horizontal vis-major",e.options.majorLinesOffset,e.props.majorLineWidth):e._redrawLine(r,n,"vis-grid vis-horizontal vis-minor",e.options.minorLinesOffset,e.props.minorLineWidth))}));var s=0;void 0!==this.options[n].title&&void 0!==this.options[n].title.text&&(s=this.props.titleCharHeight);var l=!0===this.options.icons?Math.max(this.options.iconWidth,s)+this.options.labelOffsetX+15:s+this.options.labelOffsetX+15;return this.maxLabelSize>this.width-l&&!0===this.options.visible?(this.width=this.maxLabelSize+l,this.options.width=this.width+"px",a.cleanupElements(this.DOMelements.lines),a.cleanupElements(this.DOMelements.labels),this.redraw(),t=!0):this.maxLabelSize<this.width-l&&!0===this.options.visible&&this.width>this.minWidth?(this.width=Math.max(this.minWidth,this.maxLabelSize+l),this.options.width=this.width+"px",a.cleanupElements(this.DOMelements.lines),a.cleanupElements(this.DOMelements.labels),this.redraw(),t=!0):(a.cleanupElements(this.DOMelements.lines),a.cleanupElements(this.DOMelements.labels),t=!1),t},l.prototype.convertValue=function(e){return this.scale.convertValue(e)},l.prototype.screenToValue=function(e){return this.scale.screenToValue(e)},l.prototype._redrawLabel=function(e,t,n,r,i){var o=a.getDOMElement("div",this.DOMelements.labels,this.dom.frame);o.className=r,o.innerHTML=t,"left"===n?(o.style.left="-"+this.options.labelOffsetX+"px",o.style.textAlign="right"):(o.style.right="-"+this.options.labelOffsetX+"px",o.style.textAlign="left"),o.style.top=e-.5*i+this.options.labelOffsetY+"px",t+="";var s=Math.max(this.props.majorCharWidth,this.props.minorCharWidth);this.maxLabelSize<t.length*s&&(this.maxLabelSize=t.length*s)},l.prototype._redrawLine=function(e,t,n,r,i){if(!0===this.master){var o=a.getDOMElement("div",this.DOMelements.lines,this.dom.lineContainer);o.className=n,o.innerHTML="","left"===t?o.style.left=this.width-r+"px":o.style.right=this.width-r+"px",o.style.width=i+"px",o.style.top=e+"px"}},l.prototype._redrawTitle=function(e){if(a.prepareElements(this.DOMelements.title),void 0!==this.options[e].title&&void 0!==this.options[e].title.text){var t=a.getDOMElement("div",this.DOMelements.title,this.dom.frame);t.className="vis-y-axis vis-title vis-"+e,t.innerHTML=this.options[e].title.text,void 0!==this.options[e].title.style&&o.addCssText(t,this.options[e].title.style),"left"===e?t.style.left=this.props.titleCharHeight+"px":t.style.right=this.props.titleCharHeight+"px",t.style.width=this.height+"px"}a.cleanupElements(this.DOMelements.title)},l.prototype._calculateCharSize=function(){if(!("minorCharHeight"in this.props)){var e=document.createTextNode("0"),t=document.createElement("div");t.className="vis-y-axis vis-minor vis-measure",t.appendChild(e),this.dom.frame.appendChild(t),this.props.minorCharHeight=t.clientHeight,this.props.minorCharWidth=t.clientWidth,this.dom.frame.removeChild(t)}if(!("majorCharHeight"in this.props)){var n=document.createTextNode("0"),r=document.createElement("div");r.className="vis-y-axis vis-major vis-measure",r.appendChild(n),this.dom.frame.appendChild(r),this.props.majorCharHeight=r.clientHeight,this.props.majorCharWidth=r.clientWidth,this.dom.frame.removeChild(r)}if(!("titleCharHeight"in this.props)){var i=document.createTextNode("0"),o=document.createElement("div");o.className="vis-y-axis vis-title vis-measure",o.appendChild(i),this.dom.frame.appendChild(o),this.props.titleCharHeight=o.clientHeight,this.props.titleCharWidth=o.clientWidth,this.dom.frame.removeChild(o)}},e.exports=l},function(e,t,n){function r(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];if(this.majorSteps=[1,2,5,10],this.minorSteps=[.25,.5,1,2],this.customLines=null,this.containerHeight=i,this.majorCharHeight=o,this._start=e,this._end=t,this.scale=1,this.minorStepIdx=-1,this.magnitudefactor=1,this.determineScale(),this.zeroAlign=a,this.autoScaleStart=n,this.autoScaleEnd=r,this.formattingFunction=s,n||r){var u=this,l=function(e){var t=e-e%(u.magnitudefactor*u.minorSteps[u.minorStepIdx]);return e%(u.magnitudefactor*u.minorSteps[u.minorStepIdx])>u.magnitudefactor*u.minorSteps[u.minorStepIdx]*.5?t+u.magnitudefactor*u.minorSteps[u.minorStepIdx]:t};n&&(this._start-=2*this.magnitudefactor*this.minorSteps[this.minorStepIdx],this._start=l(this._start)),r&&(this._end+=this.magnitudefactor*this.minorSteps[this.minorStepIdx],this._end=l(this._end)),this.determineScale()}}r.prototype.setCharHeight=function(e){this.majorCharHeight=e},r.prototype.setHeight=function(e){this.containerHeight=e},r.prototype.determineScale=function(){var e=this._end-this._start;this.scale=this.containerHeight/e;var t=this.majorCharHeight/this.scale,n=e>0?Math.round(Math.log(e)/Math.LN10):0;this.minorStepIdx=-1,this.magnitudefactor=Math.pow(10,n);var r=0;n<0&&(r=n);for(var i=!1,o=r;Math.abs(o)<=Math.abs(n);o++){this.magnitudefactor=Math.pow(10,o);for(var a=0;a<this.minorSteps.length;a++)if(this.magnitudefactor*this.minorSteps[a]>=t){i=!0,this.minorStepIdx=a;break}if(!0===i)break}},r.prototype.is_major=function(e){return e%(this.magnitudefactor*this.majorSteps[this.minorStepIdx])==0},r.prototype.getStep=function(){return this.magnitudefactor*this.minorSteps[this.minorStepIdx]},r.prototype.getFirstMajor=function(){var e=this.magnitudefactor*this.majorSteps[this.minorStepIdx];return this.convertValue(this._start+(e-this._start%e)%e)},r.prototype.formatValue=function(e){var t=e.toPrecision(5);return"function"==typeof this.formattingFunction&&(t=this.formattingFunction(e)),"number"==typeof t?""+t:"string"==typeof t?t:e.toPrecision(5)},r.prototype.getLines=function(){for(var e=[],t=this.getStep(),n=this._start+(t-this._start%t)%t;this._end-n>1e-5;n+=t)n!=this._start&&e.push({major:this.is_major(n),y:this.convertValue(n),val:this.formatValue(n)});return e},r.prototype.followScale=function(e){var t=this.minorStepIdx,n=this._start,r=this._end,i=this,o=function(){i.magnitudefactor*=2},a=function(){i.magnitudefactor/=2};e.minorStepIdx<=1&&this.minorStepIdx<=1||e.minorStepIdx>1&&this.minorStepIdx>1||(e.minorStepIdx<this.minorStepIdx?(this.minorStepIdx=1,2==t||o(),o()):(this.minorStepIdx=2,1==t||a(),a()));for(var s=e.convertValue(0),u=e.getStep()*e.scale,l=!1,c=0;!l&&c++<5;){this.scale=u/(this.minorSteps[this.minorStepIdx]*this.magnitudefactor);var d=this.containerHeight/this.scale;this._start=n,this._end=this._start+d;var f=this._end*this.scale,h=this.magnitudefactor*this.majorSteps[this.minorStepIdx],p=this.getFirstMajor()-e.getFirstMajor();if(this.zeroAlign?(this._end+=(s-f)/this.scale,this._start=this._end-d):this.autoScaleStart?(this._start-=p/this.scale,this._end=this._start+d):(this._start+=h-p/this.scale,this._end=this._start+d),!this.autoScaleEnd&&this._end>r+1e-5)a(),l=!1;else{if(!this.autoScaleStart&&this._start<n-1e-5){if(!(this.zeroAlign&&n>=0)){a(),l=!1;continue}console.warn("Can't adhere to given 'min' range, due to zeroalign")}this.autoScaleStart&&this.autoScaleEnd&&d<r-n?(o(),l=!1):l=!0}}},r.prototype.convertValue=function(e){return this.containerHeight-(e-this._start)*this.scale},r.prototype.screenToValue=function(e){return(this.containerHeight-e)/this.scale+this._start},e.exports=r},function(e,t,n){var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=n(2),a=n(110),s=n(111),u=n(73);function l(e,t,n,r){this.id=t,this.options=o.selectiveBridgeObject(["sampling","style","sort","yAxisOrientation","barChart","drawPoints","shaded","interpolation","zIndex","excludeFromStacking","excludeFromLegend"],n),this.usingDefaultStyle=void 0===e.className,this.groupsUsingDefaultStyles=r,this.zeroPosition=0,this.update(e),1==this.usingDefaultStyle&&(this.groupsUsingDefaultStyles[0]+=1),this.itemsData=[],this.visible=void 0===e.visible||e.visible}l.prototype.setItems=function(e){null!=e?(this.itemsData=e,1==this.options.sort&&o.insertSort(this.itemsData,(function(e,t){return e.x>t.x?1:-1}))):this.itemsData=[]},l.prototype.getItems=function(){return this.itemsData},l.prototype.setZeroPosition=function(e){this.zeroPosition=e},l.prototype.setOptions=function(e){void 0!==e&&(o.selectiveDeepExtend(["sampling","style","sort","yAxisOrientation","barChart","zIndex","excludeFromStacking","excludeFromLegend"],this.options,e),"function"==typeof e.drawPoints&&(e.drawPoints={onRender:e.drawPoints}),o.mergeOptions(this.options,e,"interpolation"),o.mergeOptions(this.options,e,"drawPoints"),o.mergeOptions(this.options,e,"shaded"),e.interpolation&&"object"==(0,i.default)(e.interpolation)&&e.interpolation.parametrization&&("uniform"==e.interpolation.parametrization?this.options.interpolation.alpha=0:"chordal"==e.interpolation.parametrization?this.options.interpolation.alpha=1:(this.options.interpolation.parametrization="centripetal",this.options.interpolation.alpha=.5)))},l.prototype.update=function(e){this.group=e,this.content=e.content||"graph",this.className=e.className||this.className||"vis-graph-group"+this.groupsUsingDefaultStyles[0]%10,this.visible=void 0===e.visible||e.visible,this.style=e.style,this.setOptions(e.options)},l.prototype.getLegend=function(e,t,n,r,i){switch(null!=n&&null!=n||(n={svg:document.createElementNS("http://www.w3.org/2000/svg","svg"),svgElements:{},options:this.options,groups:[this]}),null!=r&&null!=r||(r=0),null!=i&&null!=i||(i=.5*t),this.options.style){case"line":s.drawIcon(this,r,i,e,t,n);break;case"points":case"point":u.drawIcon(this,r,i,e,t,n);break;case"bar":a.drawIcon(this,r,i,e,t,n)}return{icon:n.svg,label:this.content,orientation:this.options.yAxisOrientation}},l.prototype.getYRange=function(e){for(var t=e[0].y,n=e[0].y,r=0;r<e.length;r++)t=t>e[r].y?e[r].y:t,n=n<e[r].y?e[r].y:n;return{min:t,max:n,yAxisOrientation:this.options.yAxisOrientation}},e.exports=l},function(e,t,n){var r=n(14),i=n(73);function o(e,t){}o.drawIcon=function(e,t,n,i,o,a){var s=.5*o,u=r.getSVGElement("rect",a.svgElements,a.svg);u.setAttributeNS(null,"x",t),u.setAttributeNS(null,"y",n-s),u.setAttributeNS(null,"width",i),u.setAttributeNS(null,"height",2*s),u.setAttributeNS(null,"class","vis-outline");var l=Math.round(.3*i),c=e.options.barChart.width/l,d=Math.round(.4*o),f=Math.round(.75*o),h=Math.round((i-2*l)/3);if(r.drawBar(t+.5*l+h,n+s-d-1,l,d,e.className+" vis-bar",a.svgElements,a.svg,e.style),r.drawBar(t+1.5*l+h+2,n+s-f-1,l,f,e.className+" vis-bar",a.svgElements,a.svg,e.style),1==e.options.drawPoints.enabled){var p={style:e.options.drawPoints.style,styles:e.options.drawPoints.styles,size:e.options.drawPoints.size/c,className:e.className};r.drawPoint(t+.5*l+h,n+s-d-1,p,a.svgElements,a.svg),r.drawPoint(t+1.5*l+h+2,n+s-f-1,p,a.svgElements,a.svg)}},o.draw=function(e,t,n){var a,s,u,l,c,d,f=[],h={},p=0;for(c=0;c<e.length;c++)if("bar"===(l=n.groups[e[c]]).options.style&&!0===l.visible&&(void 0===n.options.groups.visibility[e[c]]||!0===n.options.groups.visibility[e[c]]))for(d=0;d<t[e[c]].length;d++)f.push({screen_x:t[e[c]][d].screen_x,screen_end:t[e[c]][d].screen_end,screen_y:t[e[c]][d].screen_y,x:t[e[c]][d].x,end:t[e[c]][d].end,y:t[e[c]][d].y,groupId:e[c],label:t[e[c]][d].label}),p+=1;if(0!==p)for(f.sort((function(e,t){return e.screen_x===t.screen_x?e.groupId<t.groupId?-1:1:e.screen_x-t.screen_x})),o._getDataIntersections(h,f),c=0;c<f.length;c++){var m=null!=(l=n.groups[f[c].groupId]).options.barChart.minWidth?l.options.barChart.minWidth:.1*l.options.barChart.width,v=0;if(void 0===h[s=f[c].screen_x])c+1<f.length&&(a=Math.abs(f[c+1].screen_x-s)),u=o._getSafeDrawData(a,l,m);else{var g=c+(h[s].amount-h[s].resolved);g<f.length&&(a=Math.abs(f[g].screen_x-s)),u=o._getSafeDrawData(a,l,m),h[s].resolved+=1,!0===l.options.stack&&!0!==l.options.excludeFromStacking?f[c].screen_y<l.zeroPosition?(v=h[s].accumulatedNegative,h[s].accumulatedNegative+=l.zeroPosition-f[c].screen_y):(v=h[s].accumulatedPositive,h[s].accumulatedPositive+=l.zeroPosition-f[c].screen_y):!0===l.options.barChart.sideBySide&&(u.width=u.width/h[s].amount,u.offset+=h[s].resolved*u.width-.5*u.width*(h[s].amount+1))}var y=u.width,b=f[c].screen_x;b+=null!=f[c].screen_end?.5*(y=f[c].screen_end-f[c].screen_x):u.offset,r.drawBar(b,f[c].screen_y-v,y,l.zeroPosition-f[c].screen_y,l.className+" vis-bar",n.svgElements,n.svg,l.style),!0===l.options.drawPoints.enabled&&i.draw([{screen_x:f[c].screen_x,screen_y:f[c].screen_y-v,x:f[c].x,y:f[c].y,groupId:f[c].groupId,label:f[c].label}],l,n,u.offset)}},o._getDataIntersections=function(e,t){for(var n,r=0;r<t.length;r++)r+1<t.length&&(n=Math.abs(t[r+1].screen_x-t[r].screen_x)),r>0&&(n=Math.min(n,Math.abs(t[r-1].screen_x-t[r].screen_x))),0===n&&(void 0===e[t[r].screen_x]&&(e[t[r].screen_x]={amount:0,resolved:0,accumulatedPositive:0,accumulatedNegative:0}),e[t[r].screen_x].amount+=1)},o._getSafeDrawData=function(e,t,n){var r,i;return e<t.options.barChart.width&&e>0?(r=e<n?n:e,i=0,"left"===t.options.barChart.align?i-=.5*e:"right"===t.options.barChart.align&&(i+=.5*e)):(r=t.options.barChart.width,i=0,"left"===t.options.barChart.align?i-=.5*t.options.barChart.width:"right"===t.options.barChart.align&&(i+=.5*t.options.barChart.width)),{width:r,offset:i}},o.getStackedYRange=function(e,t,n,r,i){if(e.length>0){e.sort((function(e,t){return e.screen_x===t.screen_x?e.groupId<t.groupId?-1:1:e.screen_x-t.screen_x}));var a={};o._getDataIntersections(a,e),t[r]=o._getStackedYRange(a,e),t[r].yAxisOrientation=i,n.push(r)}},o._getStackedYRange=function(e,t){for(var n,r=t[0].screen_y,i=t[0].screen_y,o=0;o<t.length;o++)void 0===e[n=t[o].screen_x]?(r=r>t[o].screen_y?t[o].screen_y:r,i=i<t[o].screen_y?t[o].screen_y:i):t[o].screen_y<0?e[n].accumulatedNegative+=t[o].screen_y:e[n].accumulatedPositive+=t[o].screen_y;for(var a in e)e.hasOwnProperty(a)&&(r=(r=r>e[a].accumulatedNegative?e[a].accumulatedNegative:r)>e[a].accumulatedPositive?e[a].accumulatedPositive:r,i=(i=i<e[a].accumulatedNegative?e[a].accumulatedNegative:i)<e[a].accumulatedPositive?e[a].accumulatedPositive:i);return{min:r,max:i}},e.exports=o},function(e,t,n){var r=n(14);function i(e,t){}i.calcPath=function(e,t){if(null!=e&&e.length>0)return 1==t.options.interpolation.enabled?i._catmullRom(e,t):i._linear(e)},i.drawIcon=function(e,t,n,i,o,a){var s,u,l=.5*o,c=r.getSVGElement("rect",a.svgElements,a.svg);c.setAttributeNS(null,"x",t),c.setAttributeNS(null,"y",n-l),c.setAttributeNS(null,"width",i),c.setAttributeNS(null,"height",2*l),c.setAttributeNS(null,"class","vis-outline"),(s=r.getSVGElement("path",a.svgElements,a.svg)).setAttributeNS(null,"class",e.className),void 0!==e.style&&s.setAttributeNS(null,"style",e.style),s.setAttributeNS(null,"d","M"+t+","+n+" L"+(t+i)+","+n),1==e.options.shaded.enabled&&((u=r.getSVGElement("path",a.svgElements,a.svg)).setAttributeNS(null,"d","top"==e.options.shaded.orientation?"M"+t+", "+(n-l)+"L"+t+","+n+" L"+(t+i)+","+n+" L"+(t+i)+","+(n-l):"M"+t+","+n+" L"+t+","+(n+l)+" L"+(t+i)+","+(n+l)+"L"+(t+i)+","+n),u.setAttributeNS(null,"class",e.className+" vis-icon-fill"),void 0!==e.options.shaded.style&&""!==e.options.shaded.style&&u.setAttributeNS(null,"style",e.options.shaded.style)),1==e.options.drawPoints.enabled&&r.drawPoint(t+.5*i,n,{style:e.options.drawPoints.style,styles:e.options.drawPoints.styles,size:e.options.drawPoints.size,className:e.className},a.svgElements,a.svg)},i.drawShading=function(e,t,n,i){if(1==t.options.shaded.enabled){var o,a,s=Number(i.svg.style.height.replace("px","")),u=r.getSVGElement("path",i.svgElements,i.svg),l="L";1==t.options.interpolation.enabled&&(l="C"),a="top"==t.options.shaded.orientation?0:"bottom"==t.options.shaded.orientation?s:Math.min(Math.max(0,t.zeroPosition),s),o="group"==t.options.shaded.orientation&&null!=n&&null!=n?"M"+e[0][0]+","+e[0][1]+" "+this.serializePath(e,l,!1)+" L"+n[n.length-1][0]+","+n[n.length-1][1]+" "+this.serializePath(n,l,!0)+n[0][0]+","+n[0][1]+" Z":"M"+e[0][0]+","+e[0][1]+" "+this.serializePath(e,l,!1)+" V"+a+" H"+e[0][0]+" Z",u.setAttributeNS(null,"class",t.className+" vis-fill"),void 0!==t.options.shaded.style&&u.setAttributeNS(null,"style",t.options.shaded.style),u.setAttributeNS(null,"d",o)}},i.draw=function(e,t,n){if(null!=e&&null!=e){var i=r.getSVGElement("path",n.svgElements,n.svg);i.setAttributeNS(null,"class",t.className),void 0!==t.style&&i.setAttributeNS(null,"style",t.style);var o="L";1==t.options.interpolation.enabled&&(o="C"),i.setAttributeNS(null,"d","M"+e[0][0]+","+e[0][1]+" "+this.serializePath(e,o,!1))}},i.serializePath=function(e,t,n){if(e.length<2)return"";var r,i=t;if(n)for(r=e.length-2;r>0;r--)i+=e[r][0]+","+e[r][1]+" ";else for(r=1;r<e.length;r++)i+=e[r][0]+","+e[r][1]+" ";return i},i._catmullRomUniform=function(e){var t,n,r,i,o,a,s=[];s.push([Math.round(e[0].screen_x),Math.round(e[0].screen_y)]);for(var u=e.length,l=0;l<u-1;l++)a={screen_x:1/6*((n=e[l]).screen_x+6*(r=e[l+1]).screen_x-(i=l+2<u?e[l+2]:r).screen_x),screen_y:1/6*(n.screen_y+6*r.screen_y-i.screen_y)},s.push([(o={screen_x:(6*n.screen_x-(t=0==l?e[0]:e[l-1]).screen_x+r.screen_x)*(1/6),screen_y:(6*n.screen_y-t.screen_y+r.screen_y)*(1/6)}).screen_x,o.screen_y]),s.push([a.screen_x,a.screen_y]),s.push([r.screen_x,r.screen_y]);return s},i._catmullRom=function(e,t){var n=t.options.interpolation.alpha;if(0==n||void 0===n)return this._catmullRomUniform(e);var r,i,o,a,s,u,l,c,d,f,h,p,m,v,g,y,b,_,w,E=[];E.push([Math.round(e[0].screen_x),Math.round(e[0].screen_y)]);for(var C=e.length,A=0;A<C-1;A++)r=0==A?e[0]:e[A-1],i=e[A],o=e[A+1],a=A+2<C?e[A+2]:o,l=Math.sqrt(Math.pow(r.screen_x-i.screen_x,2)+Math.pow(r.screen_y-i.screen_y,2)),c=Math.sqrt(Math.pow(i.screen_x-o.screen_x,2)+Math.pow(i.screen_y-o.screen_y,2)),d=Math.sqrt(Math.pow(o.screen_x-a.screen_x,2)+Math.pow(o.screen_y-a.screen_y,2)),v=Math.pow(d,n),y=Math.pow(d,2*n),g=Math.pow(c,n),b=Math.pow(c,2*n),w=Math.pow(l,n),f=2*(_=Math.pow(l,2*n))+3*w*g+b,(p=3*w*(w+g))>0&&(p=1/p),(m=3*v*(v+g))>0&&(m=1/m),0==(s={screen_x:(-b*r.screen_x+f*i.screen_x+_*o.screen_x)*p,screen_y:(-b*r.screen_y+f*i.screen_y+_*o.screen_y)*p}).screen_x&&0==s.screen_y&&(s=i),0==(u={screen_x:(y*i.screen_x+(h=2*y+3*v*g+b)*o.screen_x-b*a.screen_x)*m,screen_y:(y*i.screen_y+h*o.screen_y-b*a.screen_y)*m}).screen_x&&0==u.screen_y&&(u=o),E.push([s.screen_x,s.screen_y]),E.push([u.screen_x,u.screen_y]),E.push([o.screen_x,o.screen_y]);return E},i._linear=function(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n].screen_x,e[n].screen_y]);return t},e.exports=i},function(e,t,n){var r,i=(r=n(8))&&r.__esModule?r:{default:r},o=n(2),a=n(14),s=n(16);function u(e,t,n,r){this.body=e,this.defaultOptions={enabled:!1,icons:!0,iconSize:20,iconSpacing:6,left:{visible:!0,position:"top-left"},right:{visible:!0,position:"top-right"}},this.side=n,this.options=o.extend({},this.defaultOptions),this.linegraphOptions=r,this.svgElements={},this.dom={},this.groups={},this.amountOfGroups=0,this._create(),this.framework={svg:this.svg,svgElements:this.svgElements,options:this.options,groups:this.groups},this.setOptions(t)}(u.prototype=new s).clear=function(){this.groups={},this.amountOfGroups=0},u.prototype.addGroup=function(e,t){1!=t.options.excludeFromLegend&&(this.groups.hasOwnProperty(e)||(this.groups[e]=t),this.amountOfGroups+=1)},u.prototype.updateGroup=function(e,t){this.groups[e]=t},u.prototype.removeGroup=function(e){this.groups.hasOwnProperty(e)&&(delete this.groups[e],this.amountOfGroups-=1)},u.prototype._create=function(){this.dom.frame=document.createElement("div"),this.dom.frame.className="vis-legend",this.dom.frame.style.position="absolute",this.dom.frame.style.top="10px",this.dom.frame.style.display="block",this.dom.textArea=document.createElement("div"),this.dom.textArea.className="vis-legend-text",this.dom.textArea.style.position="relative",this.dom.textArea.style.top="0px",this.svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.svg.style.position="absolute",this.svg.style.top="0px",this.svg.style.width=this.options.iconSize+5+"px",this.svg.style.height="100%",this.dom.frame.appendChild(this.svg),this.dom.frame.appendChild(this.dom.textArea)},u.prototype.hide=function(){this.dom.frame.parentNode&&this.dom.frame.parentNode.removeChild(this.dom.frame)},u.prototype.show=function(){this.dom.frame.parentNode||this.body.dom.center.appendChild(this.dom.frame)},u.prototype.setOptions=function(e){o.selectiveDeepExtend(["enabled","orientation","icons","left","right"],this.options,e)},u.prototype.redraw=function(){var e=0,t=(0,i.default)(this.groups);t.sort((function(e,t){return e<t?-1:1}));for(var n=0;n<t.length;n++){var r=t[n];1!=this.groups[r].visible||void 0!==this.linegraphOptions.visibility[r]&&1!=this.linegraphOptions.visibility[r]||e++}if(0==this.options[this.side].visible||0==this.amountOfGroups||0==this.options.enabled||0==e)this.hide();else{this.show(),"top-left"==this.options[this.side].position||"bottom-left"==this.options[this.side].position?(this.dom.frame.style.left="4px",this.dom.frame.style.textAlign="left",this.dom.textArea.style.textAlign="left",this.dom.textArea.style.left=this.options.iconSize+15+"px",this.dom.textArea.style.right="",this.svg.style.left="0px",this.svg.style.right=""):(this.dom.frame.style.right="4px",this.dom.frame.style.textAlign="right",this.dom.textArea.style.textAlign="right",this.dom.textArea.style.right=this.options.iconSize+15+"px",this.dom.textArea.style.left="",this.svg.style.right="0px",this.svg.style.left=""),"top-left"==this.options[this.side].position||"top-right"==this.options[this.side].position?(this.dom.frame.style.top=4-Number(this.body.dom.center.style.top.replace("px",""))+"px",this.dom.frame.style.bottom=""):(this.dom.frame.style.bottom=this.body.domProps.center.height-this.body.domProps.centerContainer.height+4+Number(this.body.dom.center.style.top.replace("px",""))+"px",this.dom.frame.style.top=""),0==this.options.icons?(this.dom.frame.style.width=this.dom.textArea.offsetWidth+10+"px",this.dom.textArea.style.right="",this.dom.textArea.style.left="",this.svg.style.width="0px"):(this.dom.frame.style.width=this.options.iconSize+15+this.dom.textArea.offsetWidth+10+"px",this.drawLegendIcons());var o="";for(n=0;n<t.length;n++)1!=this.groups[r=t[n]].visible||void 0!==this.linegraphOptions.visibility[r]&&1!=this.linegraphOptions.visibility[r]||(o+=this.groups[r].content+"<br />");this.dom.textArea.innerHTML=o,this.dom.textArea.style.lineHeight=.75*this.options.iconSize+this.options.iconSpacing+"px"}},u.prototype.drawLegendIcons=function(){if(this.dom.frame.parentNode){var e=(0,i.default)(this.groups);e.sort((function(e,t){return e<t?-1:1})),a.resetElements(this.svgElements);var t=window.getComputedStyle(this.dom.frame).paddingTop,n=Number(t.replace("px","")),r=n,o=this.options.iconSize,s=.75*this.options.iconSize,u=n+.5*s+3;this.svg.style.width=o+5+n+"px";for(var l=0;l<e.length;l++){var c=e[l];1!=this.groups[c].visible||void 0!==this.linegraphOptions.visibility[c]&&1!=this.linegraphOptions.visibility[c]||(this.groups[c].getLegend(o,s,this.framework,r,u),u+=s+this.options.iconSpacing)}}},e.exports=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="string",i="boolean",o="number",a="object";t.allOptions={configure:{enabled:{boolean:i},filter:{boolean:i,function:"function"},container:{dom:"dom"},__type__:{object:a,boolean:i,function:"function"}},yAxisOrientation:{string:["left","right"]},defaultGroup:{string:r},sort:{boolean:i},sampling:{boolean:i},stack:{boolean:i},graphHeight:{string:r,number:o},shaded:{enabled:{boolean:i},orientation:{string:["bottom","top","zero","group"]},groupId:{object:a},__type__:{boolean:i,object:a}},style:{string:["line","bar","points"]},barChart:{width:{number:o},minWidth:{number:o},sideBySide:{boolean:i},align:{string:["left","center","right"]},__type__:{object:a}},interpolation:{enabled:{boolean:i},parametrization:{string:["centripetal","chordal","uniform"]},alpha:{number:o},__type__:{object:a,boolean:i}},drawPoints:{enabled:{boolean:i},onRender:{function:"function"},size:{number:o},style:{string:["square","circle"]},__type__:{object:a,boolean:i,function:"function"}},dataAxis:{showMinorLabels:{boolean:i},showMajorLabels:{boolean:i},icons:{boolean:i},width:{string:r,number:o},visible:{boolean:i},alignZeros:{boolean:i},left:{range:{min:{number:o,undefined:"undefined"},max:{number:o,undefined:"undefined"},__type__:{object:a}},format:{function:"function"},title:{text:{string:r,number:o,undefined:"undefined"},style:{string:r,undefined:"undefined"},__type__:{object:a}},__type__:{object:a}},right:{range:{min:{number:o,undefined:"undefined"},max:{number:o,undefined:"undefined"},__type__:{object:a}},format:{function:"function"},title:{text:{string:r,number:o,undefined:"undefined"},style:{string:r,undefined:"undefined"},__type__:{object:a}},__type__:{object:a}},__type__:{object:a}},legend:{enabled:{boolean:i},icons:{boolean:i},left:{visible:{boolean:i},position:{string:["top-right","bottom-right","top-left","bottom-left"]},__type__:{object:a}},right:{visible:{boolean:i},position:{string:["top-right","bottom-right","top-left","bottom-left"]},__type__:{object:a}},__type__:{object:a,boolean:i}},groups:{visibility:{any:"any"},__type__:{object:a}},autoResize:{boolean:i},throttleRedraw:{number:o},clickToUse:{boolean:i},end:{number:o,date:"date",string:r,moment:"moment"},format:{minorLabels:{millisecond:{string:r,undefined:"undefined"},second:{string:r,undefined:"undefined"},minute:{string:r,undefined:"undefined"},hour:{string:r,undefined:"undefined"},weekday:{string:r,undefined:"undefined"},day:{string:r,undefined:"undefined"},month:{string:r,undefined:"undefined"},year:{string:r,undefined:"undefined"},__type__:{object:a}},majorLabels:{millisecond:{string:r,undefined:"undefined"},second:{string:r,undefined:"undefined"},minute:{string:r,undefined:"undefined"},hour:{string:r,undefined:"undefined"},weekday:{string:r,undefined:"undefined"},day:{string:r,undefined:"undefined"},month:{string:r,undefined:"undefined"},year:{string:r,undefined:"undefined"},__type__:{object:a}},__type__:{object:a}},moment:{function:"function"},height:{string:r,number:o},hiddenDates:{start:{date:"date",number:o,string:r,moment:"moment"},end:{date:"date",number:o,string:r,moment:"moment"},repeat:{string:r},__type__:{object:a,array:"array"}},locale:{string:r},locales:{__any__:{any:"any"},__type__:{object:a}},max:{date:"date",number:o,string:r,moment:"moment"},maxHeight:{number:o,string:r},maxMinorChars:{number:o},min:{date:"date",number:o,string:r,moment:"moment"},minHeight:{number:o,string:r},moveable:{boolean:i},multiselect:{boolean:i},orientation:{string:r},showCurrentTime:{boolean:i},showMajorLabels:{boolean:i},showMinorLabels:{boolean:i},start:{date:"date",number:o,string:r,moment:"moment"},timeAxis:{scale:{string:r,undefined:"undefined"},step:{number:o,undefined:"undefined"},__type__:{object:a}},width:{string:r,number:o},zoomable:{boolean:i},zoomKey:{string:["ctrlKey","altKey","metaKey",""]},zoomMax:{number:o},zoomMin:{number:o},zIndex:{number:o},__type__:{object:a}},t.configureOptions={global:{sort:!0,sampling:!0,stack:!1,shaded:{enabled:!1,orientation:["zero","top","bottom","group"]},style:["line","bar","points"],barChart:{width:[50,5,100,5],minWidth:[50,5,100,5],sideBySide:!1,align:["left","center","right"]},interpolation:{enabled:!0,parametrization:["centripetal","chordal","uniform"]},drawPoints:{enabled:!0,size:[6,2,30,1],style:["square","circle"]},dataAxis:{showMinorLabels:!0,showMajorLabels:!0,icons:!1,width:[40,0,200,1],visible:!0,alignZeros:!0,left:{title:{text:"",style:""}},right:{title:{text:"",style:""}}},legend:{enabled:!1,icons:!0,left:{visible:!0,position:["top-right","bottom-right","top-left","bottom-left"]},right:{visible:!0,position:["top-right","bottom-right","top-left","bottom-left"]}},autoResize:!0,clickToUse:!1,end:"",format:{minorLabels:{millisecond:"SSS",second:"s",minute:"HH:mm",hour:"HH:mm",weekday:"ddd D",day:"D",month:"MMM",year:"YYYY"},majorLabels:{millisecond:"HH:mm:ss",second:"D MMMM HH:mm",minute:"ddd D MMMM",hour:"ddd D MMMM",weekday:"MMMM YYYY",day:"MMMM YYYY",month:"YYYY",year:""}},height:"",locale:"",max:"",maxHeight:"",maxMinorChars:[7,0,20,1],min:"",minHeight:"",moveable:!0,orientation:["both","bottom","top"],showCurrentTime:!1,showMajorLabels:!0,showMinorLabels:!0,start:"",width:"100%",zoomable:!0,zoomKey:["ctrlKey","altKey","metaKey",""],zoomMax:[31536e10,10,31536e10,1],zoomMin:[10,10,31536e10,1],zIndex:0}}},function(e,t,n){var r,i=(r=n(30))&&r.__esModule?r:{default:r};function o(e){return c=e,function(){var e={};if(d=0,f=c.charAt(0),A(),"strict"===h&&(e.strict=!0,A()),"graph"!==h&&"digraph"!==h||(e.type=h,A()),p===u&&(e.id=h,A()),"{"!=h)throw T("Angle bracket { expected");if(A(),k(e),"}"!=h)throw T("Angle bracket } expected");if(A(),""!==h)throw T("End of file expected");return A(),delete e.node,delete e.edge,delete e.graph,e}()}var a={fontsize:"font.size",fontcolor:"font.color",labelfontcolor:"font.color",fontname:"font.face",color:["color.border","color.background"],fillcolor:"color.background",tooltip:"title",labeltooltip:"title"},s=(0,i.default)(a);s.color="color.color",s.style="dashes";var u=2,l={"{":!0,"}":!0,"[":!0,"]":!0,";":!0,"=":!0,",":!0,"->":!0,"--":!0},c="",d=0,f="",h="",p=0;function m(){d++,f=c.charAt(d)}function v(){return c.charAt(d+1)}var g=/[a-zA-Z_0-9.:#]/;function y(e){return g.test(e)}function b(e,t){if(e||(e={}),t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function _(e,t,n){for(var r=t.split("."),i=e;r.length;){var o=r.shift();r.length?(i[o]||(i[o]={}),i=i[o]):i[o]=n}}function w(e,t){for(var n,r,i=null,o=[e],a=e;a.parent;)o.push(a.parent),a=a.parent;if(a.nodes)for(n=0,r=a.nodes.length;n<r;n++)if(t.id===a.nodes[n].id){i=a.nodes[n];break}for(i||(i={id:t.id},e.node&&(i.attr=b(i.attr,e.node))),n=o.length-1;n>=0;n--){var s=o[n];s.nodes||(s.nodes=[]),-1===s.nodes.indexOf(i)&&s.nodes.push(i)}t.attr&&(i.attr=b(i.attr,t.attr))}function E(e,t){if(e.edges||(e.edges=[]),e.edges.push(t),e.edge){var n=b({},e.edge);t.attr=b(n,t.attr)}}function C(e,t,n,r,i){var o={from:t,to:n,type:r};return e.edge&&(o.attr=b({},e.edge)),o.attr=b(o.attr||{},i),o}function A(){for(p=0,h="";" "===f||"\t"===f||"\n"===f||"\r"===f;)m();do{var e=!1;if("#"===f){for(var t=d-1;" "===c.charAt(t)||"\t"===c.charAt(t);)t--;if("\n"===c.charAt(t)||""===c.charAt(t)){for(;""!=f&&"\n"!=f;)m();e=!0}}if("/"===f&&"/"===v()){for(;""!=f&&"\n"!=f;)m();e=!0}if("/"===f&&"*"===v()){for(;""!=f;){if("*"===f&&"/"===v()){m(),m();break}m()}e=!0}for(;" "===f||"\t"===f||"\n"===f||"\r"===f;)m()}while(e);if(""!==f){var n=f+v();if(l[n])return p=1,h=n,m(),void m();if(l[f])return p=1,h=f,void m();if(y(f)||"-"===f){for(h+=f,m();y(f);)h+=f,m();return"false"===h?h=!1:"true"===h?h=!0:isNaN(Number(h))||(h=Number(h)),void(p=u)}if('"'===f){for(m();""!=f&&('"'!=f||'"'===f&&'"'===v());)'"'===f?(h+=f,m()):"\\"===f&&"n"===v()?(h+="\n",m()):h+=f,m();if('"'!=f)throw T('End of string " expected');return m(),void(p=u)}for(p=3;""!=f;)h+=f,m();throw new SyntaxError('Syntax error in part "'+F(h,30)+'"')}p=1}function k(e){for(;""!==h&&"}"!=h;)S(e),";"===h&&A()}function S(e){var t=x(e);if(t)D(e,t);else if(!function(e){return"node"===h?(A(),e.node=O(),"node"):"edge"===h?(A(),e.edge=O(),"edge"):"graph"===h?(A(),e.graph=O(),"graph"):null}(e)){if(p!=u)throw T("Identifier expected");var n=h;if(A(),"="===h){if(A(),p!=u)throw T("Identifier expected");e[n]=h,A()}else!function(e,t){var n={id:t},r=O();r&&(n.attr=r),w(e,n),D(e,t)}(e,n)}}function x(e){var t=null;if("subgraph"===h&&((t={}).type="subgraph",A(),p===u&&(t.id=h,A())),"{"===h){if(A(),t||(t={}),t.parent=e,t.node=e.node,t.edge=e.edge,t.graph=e.graph,k(t),"}"!=h)throw T("Angle bracket } expected");A(),delete t.node,delete t.edge,delete t.graph,delete t.parent,e.subgraphs||(e.subgraphs=[]),e.subgraphs.push(t)}return t}function D(e,t){for(;"->"===h||"--"===h;){var n,r=h;A();var i=x(e);if(i)n=i;else{if(p!=u)throw T("Identifier or subgraph expected");w(e,{id:n=h}),A()}E(e,C(e,t,n,r,O())),t=n}}function O(){for(var e=null,t={dashed:!0,solid:!1,dotted:[1,5]};"["===h;){for(A(),e={};""!==h&&"]"!=h;){if(p!=u)throw T("Attribute name expected");var n=h;if(A(),"="!=h)throw T("Equal sign = expected");if(A(),p!=u)throw T("Attribute value expected");var r=h;"style"===n&&(r=t[r]),_(e,n,r),A(),","==h&&A()}if("]"!=h)throw T("Bracket ] expected");A()}return e}function T(e){return new SyntaxError(e+', got "'+F(h,30)+'" (char '+d+")")}function F(e,t){return e.length<=t?e:e.substr(0,27)+"..."}function M(e,t,n){for(var r=t.split("."),i=r.pop(),o=e,a=0;a<r.length;a++){var s=r[a];s in o||(o[s]={}),o=o[s]}return o[i]=n,e}function P(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=t[r];Array.isArray(i)?i.forEach((function(t){M(n,t,e[r])})):M(n,"string"==typeof i?i:r,e[r])}return n}t.parseDOT=o,t.DOTToGraph=function(e){var t=o(e),n={nodes:[],edges:[],options:{}};if(t.nodes&&t.nodes.forEach((function(e){var t={id:e.id,label:String(e.label||e.id)};b(t,P(e.attr,a)),t.image&&(t.shape="image"),n.nodes.push(t)})),t.edges){var r=function(e){var t={from:e.from,to:e.to};return b(t,P(e.attr,s)),t.arrows="->"===e.type?"to":void 0,t};t.edges.forEach((function(e){var t,i,o,a,s;t=e.from instanceof Object?e.from.nodes:{id:e.from},i=e.to instanceof Object?e.to.nodes:{id:e.to},e.from instanceof Object&&e.from.edges&&e.from.edges.forEach((function(e){var t=r(e);n.edges.push(t)})),o=t,a=i,s=function(t,i){var o=C(n,t.id,i.id,e.type,e.attr),a=r(o);n.edges.push(a)},Array.isArray(o)?o.forEach((function(e){Array.isArray(a)?a.forEach((function(t){s(e,t)})):s(e,a)})):Array.isArray(a)?a.forEach((function(e){s(o,e)})):s(o,a),e.to instanceof Object&&e.to.edges&&e.to.edges.forEach((function(e){var t=r(e);n.edges.push(t)}))}))}return t.attr&&(n.options=t.attr),n}},function(e,t,n){t.parseGephi=function(e,t){var n=[],r=[],i={edges:{inheritColor:!1},nodes:{fixed:!1,parseColor:!1}};void 0!==t&&(void 0!==t.fixed&&(i.nodes.fixed=t.fixed),void 0!==t.parseColor&&(i.nodes.parseColor=t.parseColor),void 0!==t.inheritColor&&(i.edges.inheritColor=t.inheritColor));for(var o=e.edges,a=e.nodes,s=0;s<o.length;s++){var u={},l=o[s];u.id=l.id,u.from=l.source,u.to=l.target,u.attributes=l.attributes,u.label=l.label,u.title=void 0!==l.attributes?l.attributes.title:void 0,"Directed"===l.type&&(u.arrows="to"),l.color&&!1===i.inheritColor&&(u.color=l.color),n.push(u)}for(var c=0;c<a.length;c++){var d={},f=a[c];d.id=f.id,d.attributes=f.attributes,d.x=f.x,d.y=f.y,d.label=f.label,d.title=void 0!==f.attributes?f.attributes.title:f.title,d.color=!0===i.nodes.parseColor?f.color:void 0!==f.color?{background:f.color,border:f.color,highlight:{background:f.color,border:f.color},hover:{background:f.color,border:f.color}}:void 0,d.size=f.size,d.fixed=i.nodes.fixed&&void 0!==f.x&&void 0!==f.y,r.push(d)}return{nodes:r,edges:n}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(0)),i=a(n(1)),o=a(n(185));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){(0,r.default)(this,e),this.images={},this.imageBroken={},this.callback=t}return(0,i.default)(e,[{key:"_tryloadBrokenUrl",value:function(e,t,n){void 0!==e&&void 0!==n&&(void 0!==t?(n.onerror=function(){console.error("Could not load brokenImage:",t)},n.image.src=t):console.warn("No broken url image defined"))}},{key:"_redrawWithImage",value:function(e){this.callback&&this.callback(e)}},{key:"load",value:function(e,t){var n=this,r=this.images[e];if(r)return r;var i=new o.default;return this.images[e]=i,i.image.onload=function(){n._fixImageCoordinates(i.image),i.init(),n._redrawWithImage(i)},i.image.onerror=function(){console.error("Could not load image:",e),n._tryloadBrokenUrl(e,t,i)},i.image.src=e,i}},{key:"_fixImageCoordinates",value:function(e){0===e.width&&(document.body.appendChild(e),e.width=e.offsetWidth,e.height=e.offsetHeight,document.body.removeChild(e))}}]),e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(31)),i=s(n(6)),o=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var u=n(2),l=n(49).default,c=n(191).default,d=["bold","ital","boldital","mono"],f=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,o.default)(this,e),this.body=t,this.pointToSelf=!1,this.baseSize=void 0,this.fontOptions={},this.setOptions(n),this.size={top:0,left:0,width:0,height:0,yLine:0},this.isEdgeLabel=r}return(0,a.default)(e,[{key:"setOptions",value:function(e){if(this.elementOptions=e,this.initFontOptions(e.font),l.isValidLabel(e.label)?this.labelDirty=!0:e.label="",null!=e.font)if("string"==typeof e.font)this.baseSize=this.fontOptions.size;else if("object"===(0,i.default)(e.font)){var t=e.font.size;void 0!==t&&(this.baseSize=t)}}},{key:"initFontOptions",value:function(t){var n=this;u.forEach(d,(function(e){n.fontOptions[e]={}})),e.parseFontString(this.fontOptions,t)?this.fontOptions.vadjust=0:u.forEach(t,(function(e,t){null!=e&&"object"!==(void 0===e?"undefined":(0,i.default)(e))&&(n.fontOptions[t]=e)}))}},{key:"constrain",value:function(e){var t={constrainWidth:!1,maxWdt:-1,minWdt:-1,constrainHeight:!1,minHgt:-1,valign:"middle"},n=u.topMost(e,"widthConstraint");if("number"==typeof n)t.maxWdt=Number(n),t.minWdt=Number(n);else if("object"===(void 0===n?"undefined":(0,i.default)(n))){var r=u.topMost(e,["widthConstraint","maximum"]);"number"==typeof r&&(t.maxWdt=Number(r));var o=u.topMost(e,["widthConstraint","minimum"]);"number"==typeof o&&(t.minWdt=Number(o))}var a=u.topMost(e,"heightConstraint");if("number"==typeof a)t.minHgt=Number(a);else if("object"===(void 0===a?"undefined":(0,i.default)(a))){var s=u.topMost(e,["heightConstraint","minimum"]);"number"==typeof s&&(t.minHgt=Number(s));var l=u.topMost(e,["heightConstraint","valign"]);"string"==typeof l&&("top"!==l&&"bottom"!==l||(t.valign=l))}return t}},{key:"update",value:function(e,t){this.setOptions(e,!0),this.propagateFonts(t),u.deepExtend(this.fontOptions,this.constrain(t)),this.fontOptions.chooser=l.choosify("label",t)}},{key:"adjustSizes",value:function(e){var t=e?e.right+e.left:0;this.fontOptions.constrainWidth&&(this.fontOptions.maxWdt-=t,this.fontOptions.minWdt-=t),this.fontOptions.constrainHeight&&(this.fontOptions.minHgt-=e?e.top+e.bottom:0)}},{key:"addFontOptionsToPile",value:function(e,t){for(var n=0;n<t.length;++n)this.addFontToPile(e,t[n])}},{key:"addFontToPile",value:function(e,t){void 0!==t&&null!=t.font&&e.push(t.font)}},{key:"getBasicOptions",value:function(t){for(var n={},r=0;r<t.length;++r){var i=t[r],o={};e.parseFontString(o,i)&&(i=o),u.forEach(i,(function(e,t){void 0!==e&&(n.hasOwnProperty(t)||(n[t]=-1!==d.indexOf(t)?{}:e))}))}return n}},{key:"getFontOption",value:function(t,n,r){for(var i=void 0,o=0;o<t.length;++o){var a=t[o];if(a.hasOwnProperty(n)){if(null==(i=a[n]))continue;var s={};if(e.parseFontString(s,i)&&(i=s),i.hasOwnProperty(r))return i[r]}}if(this.fontOptions.hasOwnProperty(r))return this.fontOptions[r];throw new Error("Did not find value for multi-font for property: '"+r+"'")}},{key:"getFontOptions",value:function(e,t){for(var n={},r=["color","size","face","mod","vadjust"],i=0;i<r.length;++i){var o=r[i];n[o]=this.getFontOption(e,t,o)}return n}},{key:"propagateFonts",value:function(e){var t=this,n=[];this.addFontOptionsToPile(n,e),this.fontOptions=this.getBasicOptions(n);for(var r=function(e){var r=d[e],i=t.fontOptions[r],o=t.getFontOptions(n,r);u.forEach(o,(function(e,t){i[t]=e})),i.size=Number(i.size),i.vadjust=Number(i.vadjust)},i=0;i<d.length;++i)r(i)}},{key:"draw",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";if(void 0!==this.elementOptions.label){var a=this.fontOptions.size*this.body.view.scale;this.elementOptions.label&&a<this.elementOptions.scaling.label.drawThreshold-1||(a>=this.elementOptions.scaling.label.maxVisible&&(a=Number(this.elementOptions.scaling.label.maxVisible)/this.body.view.scale),this.calculateLabelSize(e,r,i,t,n,o),this._drawBackground(e),this._drawText(e,t,this.size.yLine,o,a))}}},{key:"_drawBackground",value:function(e){if(void 0!==this.fontOptions.background&&"none"!==this.fontOptions.background){e.fillStyle=this.fontOptions.background;var t=this.getSize();e.fillRect(t.left,t.top,t.width,t.height)}}},{key:"_drawText",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"middle",o=arguments[4],a=this._setAlignment(e,t,n,i),s=(0,r.default)(a,2);t=s[0],n=s[1],e.textAlign="left",t-=this.size.width/2,this.fontOptions.valign&&this.size.height>this.size.labelHeight&&("top"===this.fontOptions.valign&&(n-=(this.size.height-this.size.labelHeight)/2),"bottom"===this.fontOptions.valign&&(n+=(this.size.height-this.size.labelHeight)/2));for(var u=0;u<this.lineCount;u++){var l=this.lines[u];if(l&&l.blocks){var c=0;this.isEdgeLabel||"center"===this.fontOptions.align?c+=(this.size.width-l.width)/2:"right"===this.fontOptions.align&&(c+=this.size.width-l.width);for(var d=0;d<l.blocks.length;d++){var f=l.blocks[d];e.font=f.font;var h=this._getColor(f.color,o,f.strokeColor),p=(0,r.default)(h,2),m=p[0],v=p[1];f.strokeWidth>0&&(e.lineWidth=f.strokeWidth,e.strokeStyle=v,e.lineJoin="round"),e.fillStyle=m,f.strokeWidth>0&&e.strokeText(f.text,t+c,n+f.vadjust),e.fillText(f.text,t+c,n+f.vadjust),c+=f.width}n+=l.height}}}},{key:"_setAlignment",value:function(e,t,n,r){return this.isEdgeLabel&&"horizontal"!==this.fontOptions.align&&!1===this.pointToSelf?(t=0,n=0,"top"===this.fontOptions.align?(e.textBaseline="alphabetic",n-=4):"bottom"===this.fontOptions.align?(e.textBaseline="hanging",n+=4):e.textBaseline="middle"):e.textBaseline=r,[t,n]}},{key:"_getColor",value:function(e,t,n){var r=e||"#000000",i=n||"#ffffff";if(t<=this.elementOptions.scaling.label.drawThreshold){var o=Math.max(0,Math.min(1,1-(this.elementOptions.scaling.label.drawThreshold-t)));r=u.overrideOpacity(r,o),i=u.overrideOpacity(i,o)}return[r,i]}},{key:"getTextSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._processLabel(e,t,n),{width:this.size.width,height:this.size.height,lineCount:this.lineCount}}},{key:"getSize",value:function(){var e=this.size.left,t=this.size.top-1;if(this.isEdgeLabel){var n=.5*-this.size.width;switch(this.fontOptions.align){case"middle":e=n,t=.5*-this.size.height;break;case"top":e=n,t=-(this.size.height+2);break;case"bottom":e=n,t=2}}return{left:e,top:t,width:this.size.width,height:this.size.height}}},{key:"calculateLabelSize",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"middle";this._processLabel(e,t,n),this.size.left=r-.5*this.size.width,this.size.top=i-.5*this.size.height,this.size.yLine=i+.5*(1-this.lineCount)*this.fontOptions.size,"hanging"===o&&(this.size.top+=.5*this.fontOptions.size,this.size.top+=4,this.size.yLine+=4)}},{key:"getFormattingValues",value:function(e,t,n,r){var i=function(e,t,n){return"normal"===t?"mod"===n?"":e[n]:void 0!==e[t][n]?e[t][n]:e[n]},o={color:i(this.fontOptions,r,"color"),size:i(this.fontOptions,r,"size"),face:i(this.fontOptions,r,"face"),mod:i(this.fontOptions,r,"mod"),vadjust:i(this.fontOptions,r,"vadjust"),strokeWidth:this.fontOptions.strokeWidth,strokeColor:this.fontOptions.strokeColor};(t||n)&&("normal"===r&&!0===this.fontOptions.chooser&&this.elementOptions.labelHighlightBold?o.mod="bold":"function"==typeof this.fontOptions.chooser&&this.fontOptions.chooser(o,this.elementOptions.id,t,n));var a="";return void 0!==o.mod&&""!==o.mod&&(a+=o.mod+" "),e.font=(a+=o.size+"px "+o.face).replace(/"/g,""),o.font=e.font,o.height=o.size,o}},{key:"differentState",value:function(e,t){return e!==this.selectedState||t!==this.hoverState}},{key:"_processLabelText",value:function(e,t,n,r){return new c(e,this,t,n).process(r)}},{key:"_processLabel",value:function(e,t,n){if(!1!==this.labelDirty||this.differentState(t,n)){var r=this._processLabelText(e,t,n,this.elementOptions.label);this.fontOptions.minWdt>0&&r.width<this.fontOptions.minWdt&&(r.width=this.fontOptions.minWdt),this.size.labelHeight=r.height,this.fontOptions.minHgt>0&&r.height<this.fontOptions.minHgt&&(r.height=this.fontOptions.minHgt),this.lines=r.lines,this.lineCount=r.lines.length,this.size.width=r.width,this.size.height=r.height,this.selectedState=t,this.hoverState=n,this.labelDirty=!1}}},{key:"visible",value:function(){return 0!==this.size.width&&0!==this.size.height&&void 0!==this.elementOptions.label&&!(this.fontOptions.size*this.body.view.scale<this.elementOptions.scaling.label.drawThreshold-1)}}],[{key:"parseFontString",value:function(e,t){if(!t||"string"!=typeof t)return!1;var n=t.split(" ");return e.size=n[0].replace("px",""),e.face=n[1],e.color=n[2],!0}}]),e}();t.default=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(31)),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(2),u=n(119).default,l=function(){function e(t,n,r){(0,i.default)(this,e),this.body=n,this.labelModule=r,this.options={},this.setOptions(t),this.colorDirty=!0,this.color={},this.selectionWidth=2,this.hoverWidth=1.5,this.fromPoint=this.from,this.toPoint=this.to}return(0,o.default)(e,[{key:"connect",value:function(){this.from=this.body.nodes[this.options.from],this.to=this.body.nodes[this.options.to]}},{key:"cleanup",value:function(){return!1}},{key:"setOptions",value:function(e){this.options=e,this.from=this.body.nodes[this.options.from],this.to=this.body.nodes[this.options.to],this.id=this.options.id}},{key:"drawLine",value:function(e,t,n,r,i){e.strokeStyle=this.getColor(e,t,n,r),e.lineWidth=t.width,!1!==t.dashes?this._drawDashedLine(e,t,i):this._drawLine(e,t,i)}},{key:"_drawLine",value:function(e,t,n,i,o){if(this.from!=this.to)this._line(e,t,n,i,o);else{var a=this._getCircleData(e),s=(0,r.default)(a,3);this._circle(e,t,s[0],s[1],s[2])}}},{key:"_drawDashedLine",value:function(e,t,n,i,o){e.lineCap="round";var a=[5,5];if(!0===Array.isArray(t.dashes)&&(a=t.dashes),void 0!==e.setLineDash){if(e.save(),e.setLineDash(a),e.lineDashOffset=0,this.from!=this.to)this._line(e,t,n);else{var s=this._getCircleData(e),u=(0,r.default)(s,3);this._circle(e,t,u[0],u[1],u[2])}e.setLineDash([0]),e.lineDashOffset=0,e.restore()}else{if(this.from!=this.to)e.dashedLine(this.from.x,this.from.y,this.to.x,this.to.y,a);else{var l=this._getCircleData(e),c=(0,r.default)(l,3);this._circle(e,t,c[0],c[1],c[2])}this.enableShadow(e,t),e.stroke(),this.disableShadow(e,t)}}},{key:"findBorderPosition",value:function(e,t,n){return this.from!=this.to?this._findBorderPosition(e,t,n):this._findBorderPositionCircle(e,t,n)}},{key:"findBorderPositions",value:function(e){var t={},n={};if(this.from!=this.to)t=this._findBorderPosition(this.from,e),n=this._findBorderPosition(this.to,e);else{var i=this._getCircleData(e).slice(0,2),o=(0,r.default)(i,2),a=o[0],s=o[1];t=this._findBorderPositionCircle(this.from,e,{x:a,y:s,low:.25,high:.6,direction:-1}),n=this._findBorderPositionCircle(this.from,e,{x:a,y:s,low:.6,high:.8,direction:1})}return{from:t,to:n}}},{key:"_getCircleData",value:function(e){var t=void 0,n=void 0,r=this.from,i=this.options.selfReferenceSize;return void 0!==e&&void 0===r.shape.width&&r.shape.resize(e),r.shape.width>r.shape.height?(t=r.x+.5*r.shape.width,n=r.y-i):(t=r.x+i,n=r.y-.5*r.shape.height),[t,n,i]}},{key:"_pointOnCircle",value:function(e,t,n,r){var i=2*r*Math.PI;return{x:e+n*Math.cos(i),y:t-n*Math.sin(i)}}},{key:"_findBorderPositionCircle",value:function(e,t,n){for(var r=n.x,i=n.y,o=n.low,a=n.high,s=n.direction,u=0,l=this.options.selfReferenceSize,c=void 0,d=void 0,f=void 0,h=.5*(o+a);o<=a&&u<10&&(c=this._pointOnCircle(r,i,l,h=.5*(o+a)),d=Math.atan2(e.y-c.y,e.x-c.x),f=e.distanceToBorder(t,d)-Math.sqrt(Math.pow(c.x-e.x,2)+Math.pow(c.y-e.y,2)),!(Math.abs(f)<.05));)f>0?s>0?o=h:a=h:s>0?a=h:o=h,u++;return c.t=h,c}},{key:"getLineWidth",value:function(e,t){return!0===e?Math.max(this.selectionWidth,.3/this.body.view.scale):!0===t?Math.max(this.hoverWidth,.3/this.body.view.scale):Math.max(this.options.width,.3/this.body.view.scale)}},{key:"getColor",value:function(e,t,n,r){if(!1!==t.inheritsColor){if("both"===t.inheritsColor&&this.from.id!==this.to.id){var i=e.createLinearGradient(this.from.x,this.from.y,this.to.x,this.to.y),o=void 0,a=void 0;return o=this.from.options.color.highlight.border,a=this.to.options.color.highlight.border,!1===this.from.selected&&!1===this.to.selected?(o=s.overrideOpacity(this.from.options.color.border,t.opacity),a=s.overrideOpacity(this.to.options.color.border,t.opacity)):!0===this.from.selected&&!1===this.to.selected?a=this.to.options.color.border:!1===this.from.selected&&!0===this.to.selected&&(o=this.from.options.color.border),i.addColorStop(0,o),i.addColorStop(1,a),i}return s.overrideOpacity("to"===t.inheritsColor?this.to.options.color.border:this.from.options.color.border,t.opacity)}return s.overrideOpacity(t.color,t.opacity)}},{key:"_circle",value:function(e,t,n,r,i){this.enableShadow(e,t),e.beginPath(),e.arc(n,r,i,0,2*Math.PI,!1),e.stroke(),this.disableShadow(e,t)}},{key:"getDistanceToEdge",value:function(e,t,n,i,o,a,s,u){var l=0;if(this.from!=this.to)l=this._getDistanceToEdge(e,t,n,i,o,a,s);else{var c=this._getCircleData(void 0),d=(0,r.default)(c,3),f=d[2],h=d[0]-o,p=d[1]-a;l=Math.abs(Math.sqrt(h*h+p*p)-f)}return l}},{key:"_getDistanceToLine",value:function(e,t,n,r,i,o){var a=n-e,s=r-t,u=((i-e)*a+(o-t)*s)/(a*a+s*s);u>1?u=1:u<0&&(u=0);var l=e+u*a-i,c=t+u*s-o;return Math.sqrt(l*l+c*c)}},{key:"getArrowData",value:function(e,t,n,i,o,a){var s=void 0,u=void 0,l=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=a.width;if("from"===t?(l=this.from,c=this.to,d=.1,f=a.fromArrowScale,h=a.fromArrowType):"to"===t?(l=this.to,c=this.from,d=-.1,f=a.toArrowScale,h=a.toArrowType):(l=this.to,c=this.from,f=a.middleArrowScale,h=a.middleArrowType),l!=c)if("middle"!==t)if(!0===this.options.smooth.enabled){u=this.findBorderPosition(l,e,{via:n});var m=this.getPoint(Math.max(0,Math.min(1,u.t+d)),n);s=Math.atan2(u.y-m.y,u.x-m.x)}else s=Math.atan2(l.y-c.y,l.x-c.x),u=this.findBorderPosition(l,e);else s=Math.atan2(l.y-c.y,l.x-c.x),u=this.getPoint(.5,n);else{var v=this._getCircleData(e),g=(0,r.default)(v,3),y=g[0],b=g[1],_=g[2];"from"===t?s=-2*(u=this.findBorderPosition(this.from,e,{x:y,y:b,low:.25,high:.6,direction:-1})).t*Math.PI+1.5*Math.PI+.1*Math.PI:"to"===t?s=-2*(u=this.findBorderPosition(this.from,e,{x:y,y:b,low:.6,high:1,direction:1})).t*Math.PI+1.5*Math.PI-1.1*Math.PI:(u=this._pointOnCircle(y,b,_,.175),s=3.9269908169872414)}"middle"===t&&f<0&&(p*=-1);var w=15*f+3*p;return{point:u,core:{x:u.x-.9*w*Math.cos(s),y:u.y-.9*w*Math.sin(s)},angle:s,length:w,type:h}}},{key:"drawArrowHead",value:function(e,t,n,r,i){e.strokeStyle=this.getColor(e,t,n,r),e.fillStyle=e.strokeStyle,e.lineWidth=t.width,u.draw(e,i),this.enableShadow(e,t),e.fill(),this.disableShadow(e,t)}},{key:"enableShadow",value:function(e,t){!0===t.shadow&&(e.shadowColor=t.shadowColor,e.shadowBlur=t.shadowSize,e.shadowOffsetX=t.shadowX,e.shadowOffsetY=t.shadowY)}},{key:"disableShadow",value:function(e,t){!0===t.shadow&&(e.shadowColor="rgba(0,0,0,0)",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0)}}]),e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(4)),o=u(n(5)),a=u(n(0)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,a.default)(this,e)}return(0,s.default)(e,null,[{key:"transform",value:function(e,t){e instanceof Array||(e=[e]);for(var n=t.point.x,r=t.point.y,i=t.angle,o=t.length,a=0;a<e.length;++a){var s=e[a],u=s.x*Math.cos(i)-s.y*Math.sin(i),l=s.x*Math.sin(i)+s.y*Math.cos(i);s.x=n+o*u,s.y=r+o*l}}},{key:"drawPath",value:function(e,t){e.beginPath(),e.moveTo(t[0].x,t[0].y);for(var n=1;n<t.length;++n)e.lineTo(t[n].x,t[n].y);e.closePath()}}]),e}(),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(t.__proto__||(0,r.default)(t)).apply(this,arguments))}return(0,o.default)(t,e),(0,s.default)(t,null,[{key:"draw",value:function(e,t){var n=[{x:0,y:0},{x:-1,y:.3},{x:-.9,y:0},{x:-1,y:-.3}];l.transform(n,t),l.drawPath(e,n)}}]),t}(l),d=function(){function e(){(0,a.default)(this,e)}return(0,s.default)(e,null,[{key:"draw",value:function(e,t){var n={x:-.4,y:0};l.transform(n,t),e.circle(n.x,n.y,.4*t.length)}}]),e}(),f=function(){function e(){(0,a.default)(this,e)}return(0,s.default)(e,null,[{key:"draw",value:function(e,t){var n=[{x:0,y:.5},{x:0,y:-.5},{x:-.15,y:-.5},{x:-.15,y:.5}];l.transform(n,t),l.drawPath(e,n)}}]),e}(),h=function(){function e(){(0,a.default)(this,e)}return(0,s.default)(e,null,[{key:"draw",value:function(e,t){var n;switch(t.type&&(n=t.type.toLowerCase()),n){case"circle":d.draw(e,t);break;case"bar":f.draw(e,t);break;case"arrow":default:c.draw(e,t)}}}]),e}();t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.physicsBody=n,this.setOptions(i),this.randomSeed=5}return(0,i.default)(e,[{key:"setOptions",value:function(e){this.options=e,this.thetaInversed=1/this.options.theta,this.overlapAvoidanceFactor=1-Math.max(0,Math.min(1,this.options.avoidOverlap))}},{key:"seededRandom",value:function(){var e=1e4*Math.sin(this.randomSeed++);return e-Math.floor(e)}},{key:"solve",value:function(){if(0!==this.options.gravitationalConstant&&this.physicsBody.physicsNodeIndices.length>0){var e=void 0,t=this.body.nodes,n=this.physicsBody.physicsNodeIndices,r=n.length,i=this._formBarnesHutTree(t,n);this.barnesHutTree=i;for(var o=0;o<r;o++)(e=t[n[o]]).options.mass>0&&this._getForceContributions(i.root,e)}}},{key:"_getForceContributions",value:function(e,t){this._getForceContribution(e.children.NW,t),this._getForceContribution(e.children.NE,t),this._getForceContribution(e.children.SW,t),this._getForceContribution(e.children.SE,t)}},{key:"_getForceContribution",value:function(e,t){var n,r,i;e.childrenCount>0&&(n=e.centerOfMass.x-t.x,r=e.centerOfMass.y-t.y,(i=Math.sqrt(n*n+r*r))*e.calcSize>this.thetaInversed?this._calculateForces(i,n,r,t,e):4===e.childrenCount?this._getForceContributions(e,t):e.children.data.id!=t.id&&this._calculateForces(i,n,r,t,e))}},{key:"_calculateForces",value:function(e,t,n,r,i){0===e&&(t=e=.1),this.overlapAvoidanceFactor<1&&r.shape.radius&&(e=Math.max(.1+this.overlapAvoidanceFactor*r.shape.radius,e-r.shape.radius));var o=this.options.gravitationalConstant*i.mass*r.options.mass/Math.pow(e,3),a=n*o;this.physicsBody.forces[r.id].x+=t*o,this.physicsBody.forces[r.id].y+=a}},{key:"_formBarnesHutTree",value:function(e,t){for(var n=void 0,r=t.length,i=e[t[0]].x,o=e[t[0]].y,a=e[t[0]].x,s=e[t[0]].y,u=1;u<r;u++){var l=e[t[u]],c=l.x,d=l.y;l.options.mass>0&&(c<i&&(i=c),c>a&&(a=c),d<o&&(o=d),d>s&&(s=d))}var f=Math.abs(a-i)-Math.abs(s-o);f>0?(o-=.5*f,s+=.5*f):(i+=.5*f,a-=.5*f);var h=Math.max(1e-5,Math.abs(a-i)),p=.5*h,m=.5*(i+a),v=.5*(o+s),g={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:m-p,maxX:m+p,minY:v-p,maxY:v+p},size:h,calcSize:1/h,children:{data:null},maxWidth:0,level:0,childrenCount:4}};this._splitBranch(g.root);for(var y=0;y<r;y++)(n=e[t[y]]).options.mass>0&&this._placeInTree(g.root,n);return g}},{key:"_updateBranchMass",value:function(e,t){var n=e.centerOfMass,r=e.mass+t.options.mass,i=1/r;n.x=n.x*e.mass+t.x*t.options.mass,n.x*=i,n.y=n.y*e.mass+t.y*t.options.mass,n.y*=i,e.mass=r;var o=Math.max(Math.max(t.height,t.radius),t.width);e.maxWidth=e.maxWidth<o?o:e.maxWidth}},{key:"_placeInTree",value:function(e,t,n){1==n&&void 0!==n||this._updateBranchMass(e,t);var r=e.children.NW.range;this._placeInRegion(e,t,r.maxX>t.x?r.maxY>t.y?"NW":"SW":r.maxY>t.y?"NE":"SE")}},{key:"_placeInRegion",value:function(e,t,n){var r=e.children[n];switch(r.childrenCount){case 0:r.children.data=t,r.childrenCount=1,this._updateBranchMass(r,t);break;case 1:r.children.data.x===t.x&&r.children.data.y===t.y?(t.x+=this.seededRandom(),t.y+=this.seededRandom()):(this._splitBranch(r),this._placeInTree(r,t));break;case 4:this._placeInTree(r,t)}}},{key:"_splitBranch",value:function(e){var t=null;1===e.childrenCount&&(t=e.children.data,e.mass=0,e.centerOfMass.x=0,e.centerOfMass.y=0),e.childrenCount=4,e.children.data=null,this._insertRegion(e,"NW"),this._insertRegion(e,"NE"),this._insertRegion(e,"SW"),this._insertRegion(e,"SE"),null!=t&&this._placeInTree(e,t)}},{key:"_insertRegion",value:function(e,t){var n=void 0,r=void 0,i=void 0,o=void 0,a=.5*e.size;switch(t){case"NW":n=e.range.minX,r=e.range.minX+a,i=e.range.minY,o=e.range.minY+a;break;case"NE":n=e.range.minX+a,r=e.range.maxX,i=e.range.minY,o=e.range.minY+a;break;case"SW":n=e.range.minX,r=e.range.minX+a,i=e.range.minY+a,o=e.range.maxY;break;case"SE":n=e.range.minX+a,r=e.range.maxX,i=e.range.minY+a,o=e.range.maxY}e.children[t]={centerOfMass:{x:0,y:0},mass:0,range:{minX:n,maxX:r,minY:i,maxY:o},size:.5*e.size,calcSize:2*e.calcSize,children:{data:null},maxWidth:0,level:e.level+1,childrenCount:0}}},{key:"_debug",value:function(e,t){void 0!==this.barnesHutTree&&(e.lineWidth=1,this._drawBranch(this.barnesHutTree.root,e,t))}},{key:"_drawBranch",value:function(e,t,n){void 0===n&&(n="#FF0000"),4===e.childrenCount&&(this._drawBranch(e.children.NW,t),this._drawBranch(e.children.NE,t),this._drawBranch(e.children.SE,t),this._drawBranch(e.children.SW,t)),t.strokeStyle=n,t.beginPath(),t.moveTo(e.range.minX,e.range.minY),t.lineTo(e.range.maxX,e.range.minY),t.stroke(),t.beginPath(),t.moveTo(e.range.maxX,e.range.minY),t.lineTo(e.range.maxX,e.range.maxY),t.stroke(),t.beginPath(),t.moveTo(e.range.maxX,e.range.maxY),t.lineTo(e.range.minX,e.range.maxY),t.stroke(),t.beginPath(),t.moveTo(e.range.minX,e.range.maxY),t.lineTo(e.range.minX,e.range.minY),t.stroke()}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.physicsBody=n,this.setOptions(i)}return(0,i.default)(e,[{key:"setOptions",value:function(e){this.options=e}},{key:"solve",value:function(){for(var e=void 0,t=void 0,n=void 0,r=void 0,i=this.body.nodes,o=this.physicsBody.physicsNodeIndices,a=this.physicsBody.forces,s=0;s<o.length;s++)e=-(r=i[o[s]]).x,t=-r.y,n=Math.sqrt(e*e+t*t),this._calculateForces(n,e,t,a,r)}},{key:"_calculateForces",value:function(e,t,n,r,i){var o=0===e?0:this.options.centralGravity/e;r[i.id].x=t*o,r[i.id].y=n*o}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="string",i="boolean",o="number",a="object",s=["arrow","circle","bar"],u={configure:{enabled:{boolean:i},filter:{boolean:i,string:r,array:"array",function:"function"},container:{dom:"dom"},showButton:{boolean:i},__type__:{object:a,boolean:i,string:r,array:"array",function:"function"}},edges:{arrows:{to:{enabled:{boolean:i},scaleFactor:{number:o},type:{string:s},__type__:{object:a,boolean:i}},middle:{enabled:{boolean:i},scaleFactor:{number:o},type:{string:s},__type__:{object:a,boolean:i}},from:{enabled:{boolean:i},scaleFactor:{number:o},type:{string:s},__type__:{object:a,boolean:i}},__type__:{string:["from","to","middle"],object:a}},arrowStrikethrough:{boolean:i},chosen:{label:{boolean:i,function:"function"},edge:{boolean:i,function:"function"},__type__:{object:a,boolean:i}},color:{color:{string:r},highlight:{string:r},hover:{string:r},inherit:{string:["from","to","both"],boolean:i},opacity:{number:o},__type__:{object:a,string:r}},dashes:{boolean:i,array:"array"},font:{color:{string:r},size:{number:o},face:{string:r},background:{string:r},strokeWidth:{number:o},strokeColor:{string:r},align:{string:["horizontal","top","middle","bottom"]},vadjust:{number:o},multi:{boolean:i,string:r},bold:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},boldital:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},ital:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},mono:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},__type__:{object:a,string:r}},hidden:{boolean:i},hoverWidth:{function:"function",number:o},label:{string:r,undefined:"undefined"},labelHighlightBold:{boolean:i},length:{number:o,undefined:"undefined"},physics:{boolean:i},scaling:{min:{number:o},max:{number:o},label:{enabled:{boolean:i},min:{number:o},max:{number:o},maxVisible:{number:o},drawThreshold:{number:o},__type__:{object:a,boolean:i}},customScalingFunction:{function:"function"},__type__:{object:a}},selectionWidth:{function:"function",number:o},selfReferenceSize:{number:o},shadow:{enabled:{boolean:i},color:{string:r},size:{number:o},x:{number:o},y:{number:o},__type__:{object:a,boolean:i}},smooth:{enabled:{boolean:i},type:{string:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"]},roundness:{number:o},forceDirection:{string:["horizontal","vertical","none"],boolean:i},__type__:{object:a,boolean:i}},title:{string:r,undefined:"undefined"},width:{number:o},widthConstraint:{maximum:{number:o},__type__:{object:a,boolean:i,number:o}},value:{number:o,undefined:"undefined"},__type__:{object:a}},groups:{useDefaultGroups:{boolean:i},__any__:"get from nodes, will be overwritten below",__type__:{object:a}},interaction:{dragNodes:{boolean:i},dragView:{boolean:i},hideEdgesOnDrag:{boolean:i},hideNodesOnDrag:{boolean:i},hover:{boolean:i},keyboard:{enabled:{boolean:i},speed:{x:{number:o},y:{number:o},zoom:{number:o},__type__:{object:a}},bindToWindow:{boolean:i},__type__:{object:a,boolean:i}},multiselect:{boolean:i},navigationButtons:{boolean:i},selectable:{boolean:i},selectConnectedEdges:{boolean:i},hoverConnectedEdges:{boolean:i},tooltipDelay:{number:o},zoomView:{boolean:i},__type__:{object:a}},layout:{randomSeed:{undefined:"undefined",number:o},improvedLayout:{boolean:i},hierarchical:{enabled:{boolean:i},levelSeparation:{number:o},nodeSpacing:{number:o},treeSpacing:{number:o},blockShifting:{boolean:i},edgeMinimization:{boolean:i},parentCentralization:{boolean:i},direction:{string:["UD","DU","LR","RL"]},sortMethod:{string:["hubsize","directed"]},__type__:{object:a,boolean:i}},__type__:{object:a}},manipulation:{enabled:{boolean:i},initiallyActive:{boolean:i},addNode:{boolean:i,function:"function"},addEdge:{boolean:i,function:"function"},editNode:{function:"function"},editEdge:{editWithoutDrag:{function:"function"},__type__:{object:a,boolean:i,function:"function"}},deleteNode:{boolean:i,function:"function"},deleteEdge:{boolean:i,function:"function"},controlNodeStyle:"get from nodes, will be overwritten below",__type__:{object:a,boolean:i}},nodes:{borderWidth:{number:o},borderWidthSelected:{number:o,undefined:"undefined"},brokenImage:{string:r,undefined:"undefined"},chosen:{label:{boolean:i,function:"function"},node:{boolean:i,function:"function"},__type__:{object:a,boolean:i}},color:{border:{string:r},background:{string:r},highlight:{border:{string:r},background:{string:r},__type__:{object:a,string:r}},hover:{border:{string:r},background:{string:r},__type__:{object:a,string:r}},__type__:{object:a,string:r}},fixed:{x:{boolean:i},y:{boolean:i},__type__:{object:a,boolean:i}},font:{align:{string:r},color:{string:r},size:{number:o},face:{string:r},background:{string:r},strokeWidth:{number:o},strokeColor:{string:r},vadjust:{number:o},multi:{boolean:i,string:r},bold:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},boldital:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},ital:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},mono:{color:{string:r},size:{number:o},face:{string:r},mod:{string:r},vadjust:{number:o},__type__:{object:a,string:r}},__type__:{object:a,string:r}},group:{string:r,number:o,undefined:"undefined"},heightConstraint:{minimum:{number:o},valign:{string:r},__type__:{object:a,boolean:i,number:o}},hidden:{boolean:i},icon:{face:{string:r},code:{string:r},size:{number:o},color:{string:r},__type__:{object:a}},id:{string:r,number:o},image:{selected:{string:r,undefined:"undefined"},unselected:{string:r,undefined:"undefined"},__type__:{object:a,string:r}},label:{string:r,undefined:"undefined"},labelHighlightBold:{boolean:i},level:{number:o,undefined:"undefined"},margin:{top:{number:o},right:{number:o},bottom:{number:o},left:{number:o},__type__:{object:a,number:o}},mass:{number:o},physics:{boolean:i},scaling:{min:{number:o},max:{number:o},label:{enabled:{boolean:i},min:{number:o},max:{number:o},maxVisible:{number:o},drawThreshold:{number:o},__type__:{object:a,boolean:i}},customScalingFunction:{function:"function"},__type__:{object:a}},shadow:{enabled:{boolean:i},color:{string:r},size:{number:o},x:{number:o},y:{number:o},__type__:{object:a,boolean:i}},shape:{string:["ellipse","circle","database","box","text","image","circularImage","diamond","dot","star","triangle","triangleDown","square","icon","hexagon"]},shapeProperties:{borderDashes:{boolean:i,array:"array"},borderRadius:{number:o},interpolation:{boolean:i},useImageSize:{boolean:i},useBorderWithImage:{boolean:i},__type__:{object:a}},size:{number:o},title:{string:r,dom:"dom",undefined:"undefined"},value:{number:o,undefined:"undefined"},widthConstraint:{minimum:{number:o},maximum:{number:o},__type__:{object:a,boolean:i,number:o}},x:{number:o},y:{number:o},__type__:{object:a}},physics:{enabled:{boolean:i},barnesHut:{gravitationalConstant:{number:o},centralGravity:{number:o},springLength:{number:o},springConstant:{number:o},damping:{number:o},avoidOverlap:{number:o},__type__:{object:a}},forceAtlas2Based:{gravitationalConstant:{number:o},centralGravity:{number:o},springLength:{number:o},springConstant:{number:o},damping:{number:o},avoidOverlap:{number:o},__type__:{object:a}},repulsion:{centralGravity:{number:o},springLength:{number:o},springConstant:{number:o},nodeDistance:{number:o},damping:{number:o},__type__:{object:a}},hierarchicalRepulsion:{centralGravity:{number:o},springLength:{number:o},springConstant:{number:o},nodeDistance:{number:o},damping:{number:o},__type__:{object:a}},maxVelocity:{number:o},minVelocity:{number:o},solver:{string:["barnesHut","repulsion","hierarchicalRepulsion","forceAtlas2Based"]},stabilization:{enabled:{boolean:i},iterations:{number:o},updateInterval:{number:o},onlyDynamicEdges:{boolean:i},fit:{boolean:i},__type__:{object:a,boolean:i}},timestep:{number:o},adaptiveTimestep:{boolean:i},__type__:{object:a,boolean:i}},autoResize:{boolean:i},clickToUse:{boolean:i},locale:{string:r},locales:{__any__:{any:"any"},__type__:{object:a}},height:{string:r},width:{string:r},__type__:{object:a}};u.groups.__any__=u.nodes,u.manipulation.controlNodeStyle=u.nodes,t.allOptions=u,t.configureOptions={nodes:{borderWidth:[1,0,10,1],borderWidthSelected:[2,0,10,1],color:{border:["color","#2B7CE9"],background:["color","#97C2FC"],highlight:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]},hover:{border:["color","#2B7CE9"],background:["color","#D2E5FF"]}},fixed:{x:!1,y:!1},font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[0,0,50,1],strokeColor:["color","#ffffff"]},hidden:!1,labelHighlightBold:!0,physics:!0,scaling:{min:[10,0,200,1],max:[30,0,200,1],label:{enabled:!1,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},shape:["ellipse","box","circle","database","diamond","dot","square","star","text","triangle","triangleDown","hexagon"],shapeProperties:{borderDashes:!1,borderRadius:[6,0,20,1],interpolation:!0,useImageSize:!1},size:[25,0,200,1]},edges:{arrows:{to:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},middle:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"},from:{enabled:!1,scaleFactor:[1,0,3,.05],type:"arrow"}},arrowStrikethrough:!0,color:{color:["color","#848484"],highlight:["color","#848484"],hover:["color","#848484"],inherit:["from","to","both",!0,!1],opacity:[1,0,1,.05]},dashes:!1,font:{color:["color","#343434"],size:[14,0,100,1],face:["arial","verdana","tahoma"],background:["color","none"],strokeWidth:[2,0,50,1],strokeColor:["color","#ffffff"],align:["horizontal","top","middle","bottom"]},hidden:!1,hoverWidth:[1.5,0,5,.1],labelHighlightBold:!0,physics:!0,scaling:{min:[1,0,100,1],max:[15,0,100,1],label:{enabled:!0,min:[14,0,200,1],max:[30,0,200,1],maxVisible:[30,0,200,1],drawThreshold:[5,0,20,1]}},selectionWidth:[1.5,0,5,.1],selfReferenceSize:[20,0,200,1],shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:[10,0,20,1],x:[5,-30,30,1],y:[5,-30,30,1]},smooth:{enabled:!0,type:["dynamic","continuous","discrete","diagonalCross","straightCross","horizontal","vertical","curvedCW","curvedCCW","cubicBezier"],forceDirection:["horizontal","vertical","none"],roundness:[.5,0,1,.05]},width:[1,0,30,1]},layout:{hierarchical:{enabled:!1,levelSeparation:[150,20,500,5],nodeSpacing:[100,20,500,5],treeSpacing:[200,20,500,5],blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:["UD","DU","LR","RL"],sortMethod:["hubsize","directed"]}},interaction:{dragNodes:!0,dragView:!0,hideEdgesOnDrag:!1,hideNodesOnDrag:!1,hover:!1,keyboard:{enabled:!1,speed:{x:[10,0,40,1],y:[10,0,40,1],zoom:[.02,0,.1,.005]},bindToWindow:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0,tooltipDelay:[300,0,1e3,25],zoomView:!0},manipulation:{enabled:!1,initiallyActive:!1},physics:{enabled:!0,barnesHut:{gravitationalConstant:[-2e3,-3e4,0,50],centralGravity:[.3,0,10,.05],springLength:[95,0,500,5],springConstant:[.04,0,1.2,.005],damping:[.09,0,1,.01],avoidOverlap:[0,0,1,.01]},forceAtlas2Based:{gravitationalConstant:[-50,-500,0,1],centralGravity:[.01,0,1,.005],springLength:[95,0,500,5],springConstant:[.08,0,1.2,.005],damping:[.4,0,1,.01],avoidOverlap:[0,0,1,.01]},repulsion:{centralGravity:[.2,0,10,.05],springLength:[200,0,500,5],springConstant:[.05,0,1.2,.005],nodeDistance:[100,0,500,5],damping:[.09,0,1,.01]},hierarchicalRepulsion:{centralGravity:[.2,0,10,.05],springLength:[100,0,500,5],springConstant:[.01,0,1.2,.005],nodeDistance:[120,0,500,5],damping:[.09,0,1,.01]},maxVelocity:[50,0,150,1],minVelocity:[.1,.01,.5,.01],solver:["barnesHut","forceAtlas2Based","repulsion","hierarchicalRepulsion"],timestep:[.5,.01,1,.01]}}},function(e,t,n){var r=n(2);r.extend(t,n(159)),r.extend(t,n(177)),r.extend(t,n(181))},function(e,t,n){n(51),n(61),e.exports=n(136)},function(e,t,n){var r=n(126),i=n(127),o=n(32),a=n(25);e.exports=n(79)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(55),i=n(40),o=n(60),a={};n(26)(a,n(13)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(20),i=n(27),o=n(33);e.exports=n(21)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(25),i=n(132),o=n(133);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(56),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(56),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(18).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(56),i=n(53);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){var r=n(27),i=n(137);e.exports=n(7).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){var r=n(86),i=n(13)("iterator"),o=n(32);e.exports=n(7).getIteratorMethod=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){n(139);var r=n(7).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(17);r(r.S,"Object",{create:n(55)})},function(e,t,n){n(141),e.exports=n(7).Object.keys},function(e,t,n){var r=n(42),i=n(33);n(87)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){e.exports={default:n(143),__esModule:!0}},function(e,t,n){n(61),n(51),e.exports=n(62).f("iterator")},function(e,t,n){e.exports={default:n(145),__esModule:!0}},function(e,t,n){n(146),n(151),n(152),n(153),e.exports=n(7).Symbol},function(e,t,n){var r=n(18),i=n(22),o=n(21),a=n(17),s=n(83),u=n(147).KEY,l=n(29),c=n(58),d=n(60),f=n(41),h=n(13),p=n(62),m=n(63),v=n(148),g=n(149),y=n(27),b=n(28),_=n(25),w=n(54),E=n(40),C=n(55),A=n(150),k=n(89),S=n(20),x=n(33),D=k.f,O=S.f,T=A.f,F=r.Symbol,M=r.JSON,P=M&&M.stringify,L=h("_hidden"),R=h("toPrimitive"),B={}.propertyIsEnumerable,j=c("symbol-registry"),I=c("symbols"),N=c("op-symbols"),H=Object.prototype,z="function"==typeof F,Y=r.QObject,U=!Y||!Y.prototype||!Y.prototype.findChild,V=o&&l((function(){return 7!=C(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(H,t);r&&delete H[t],O(e,t,n),r&&e!==H&&O(H,t,r)}:O,$=function(e){var t=I[e]=C(F.prototype);return t._k=e,t},W=z&&"symbol"==typeof F.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof F},G=function e(t,n,r){return t===H&&e(N,n,r),y(t),n=w(n,!0),y(r),i(I,n)?(r.enumerable?(i(t,L)&&t[L][n]&&(t[L][n]=!1),r=C(r,{enumerable:E(0,!1)})):(i(t,L)||O(t,L,E(1,{})),t[L][n]=!0),V(t,n,r)):O(t,n,r)},q=function(e,t){y(e);for(var n,r=v(t=_(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},K=function(e){var t=B.call(this,e=w(e,!0));return!(this===H&&i(I,e)&&!i(N,e))&&(!(t||!i(this,e)||!i(I,e)||i(this,L)&&this[L][e])||t)},X=function(e,t){if(e=_(e),t=w(t,!0),e!==H||!i(I,t)||i(N,t)){var n=D(e,t);return!n||!i(I,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=T(_(e)),r=[],o=0;n.length>o;)i(I,t=n[o++])||t==L||t==u||r.push(t);return r},J=function(e){for(var t,n=e===H,r=T(n?N:_(e)),o=[],a=0;r.length>a;)!i(I,t=r[a++])||n&&!i(H,t)||o.push(I[t]);return o};z||(s((F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function t(n){this===H&&t.call(N,n),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),V(this,e,E(1,n))};return o&&U&&V(H,e,{configurable:!0,set:t}),$(e)}).prototype,"toString",(function(){return this._k})),k.f=X,S.f=G,n(88).f=A.f=Z,n(43).f=K,n(64).f=J,o&&!n(39)&&s(H,"propertyIsEnumerable",K,!0),p.f=function(e){return $(h(e))}),a(a.G+a.W+a.F*!z,{Symbol:F});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)h(Q[ee++]);for(var te=x(h.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return i(j,e+="")?j[e]:j[e]=F(e)},keyFor:function(e){if(!W(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?C(e):q(C(e),t)},defineProperty:G,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:J}),M&&a(a.S+a.F*(!z||l((function(){var e=F();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!W(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!W(t))return t}),r[1]=t,P.apply(M,r)}}),F.prototype[R]||n(26)(F.prototype,R,F.prototype.valueOf),d(F,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(41)("meta"),i=n(28),o=n(22),a=n(20).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(29)((function(){return u(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&d.NEED&&u(e)&&!o(e,r)&&c(e),e}}},function(e,t,n){var r=n(33),i=n(64),o=n(43);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(52);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(25),i=n(88).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t){},function(e,t,n){n(63)("asyncIterator")},function(e,t,n){n(63)("observable")},function(e,t,n){(function(e){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ct(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=h(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function m(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var v=r.momentProperties=[];function g(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)a(i=t[r=v[n]])||(e[r]=i);return e}var y=!1;function b(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function _(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function E(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&E(e[r])!==E(t[r]))&&a++;return a+o}function A(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){for(var s in i+="\n["+a+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}A(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,x={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),x[e]||(A(t),x[e]=!0)}function O(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(r[n]=d({},r[n]));return r}function F(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var M={};function P(e,t){var n=e.toLowerCase();M[n]=M[n+"s"]=M[t]=e}function L(e){return"string"==typeof e?M[e]||M[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)c(e,n)&&(t=L(n))&&(r[t]=e[n]);return r}var B={};function j(e,t){B[e]=t}function I(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},Y={};function U(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Y[e]=i),t&&(Y[t[0]]=function(){return I(i.apply(this,arguments),t[1],t[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function V(e,t){return e.isValid()?(t=$(t,e.localeData()),z[t]=z[t]||function(e){var t,n,r,i=e.match(N);for(t=0,n=i.length;t<n;t++)i[t]=Y[i[t]]?Y[i[t]]:(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=O(i[r])?i[r].call(t,e):i[r];return o}}(t),z[t](e)):e.localeData().invalidDate()}function $(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var W=/\d/,G=/\d\d/,q=/\d{3}/,K=/\d{4}/,X=/[+-]?\d{6}/,Z=/\d\d?/,J=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,ie=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ue={};function le(e,t,n){ue[e]=O(t)?t:function(e,r){return e&&n?n:t}}function ce(e,t){return c(ue,e)?ue[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=E(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function pe(e,t){he(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function me(e,t,n){null!=t&&c(fe,e)&&fe[e](t,n._a,n,e)}function ve(e){return ge(e)?366:365}function ge(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),P("year","y"),j("year",1),le("Y",ie),le("YY",Z,G),le("YYYY",te,K),le("YYYYY",ne,X),le("YYYYYY",ne,X),he(["YYYYY","YYYYYY"],0),he("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):E(e)})),he("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return E(e)+(E(e)>68?1900:2e3)};var ye,be=_e("FullYear",!0);function _e(e,t){return function(n){return null!=n?(Ee(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ee(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?ge(e)?29:28:31-n%7%2}ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),P("month","M"),j("month",8),le("M",Z),le("MM",Z,G),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[1]=E(e)-1})),he(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:h(n).invalidMonth=e}));var Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ke="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Se="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function xe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ye.call(this._shortMonthsParse,a))?i:null:-1!==(i=ye.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=ye.call(this._shortMonthsParse,a))||-1!==(i=ye.call(this._longMonthsParse,a))?i:null:-1!==(i=ye.call(this._longMonthsParse,a))||-1!==(i=ye.call(this._shortMonthsParse,a))?i:null}function De(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=E(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Oe(e){return null!=e?(De(this,e),r.updateOffset(this,!0),this):we(this,"Month")}var Te=se,Fe=se;function Me(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=de(r[t]),i[t]=de(i[t]);for(t=0;t<24;t++)o[t]=de(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Pe(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function Le(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Re(e,t,n){var r=7+t-n;return-(7+Le(e,0,r).getUTCDay()-t)%7+r-1}function Be(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Re(e,r,i);return s<=0?a=ve(o=e-1)+s:s>ve(e)?(o=e+1,a=s-ve(e)):(o=e,a=s),{year:o,dayOfYear:a}}function je(e,t,n){var r,i,o=Re(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Ie(i=e.year()-1,t,n):a>Ie(e.year(),t,n)?(r=a-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ie(e,t,n){var r=Re(e,t,n),i=Re(e+1,t,n);return(ve(e)-r+i)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),j("week",5),j("isoWeek",5),le("w",Z),le("ww",Z,G),le("W",Z),le("WW",Z,G),pe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=E(e)})),U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,r){t[r]=E(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ue(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,a))||-1!==(i=ye.call(this._shortWeekdaysParse,a))||-1!==(i=ye.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,a))||-1!==(i=ye.call(this._weekdaysParse,a))||-1!==(i=ye.call(this._minWeekdaysParse,a))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,a))||-1!==(i=ye.call(this._weekdaysParse,a))||-1!==(i=ye.call(this._shortWeekdaysParse,a))?i:null}var Ve=se,$e=se,We=se;function Ge(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=de(s[t]),u[t]=de(u[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ke(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,qe),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+qe.apply(this)+I(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+qe.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),P("hour","h"),j("hour",13),le("a",Xe),le("A",Xe),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,G),le("hh",Z,G),le("kk",Z,G),le("hmm",J),le("hmmss",Q),le("Hmm",J),le("Hmmss",Q),he(["H","HH"],3),he(["k","kk"],(function(e,t,n){var r=E(e);t[3]=24===r?0:r})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[3]=E(e),h(n).bigHour=!0})),he("hmm",(function(e,t,n){var r=e.length-2;t[3]=E(e.substr(0,r)),t[4]=E(e.substr(r)),h(n).bigHour=!0})),he("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=E(e.substr(0,r)),t[4]=E(e.substr(r,2)),t[5]=E(e.substr(i)),h(n).bigHour=!0})),he("Hmm",(function(e,t,n){var r=e.length-2;t[3]=E(e.substr(0,r)),t[4]=E(e.substr(r))})),he("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=E(e.substr(0,r)),t[4]=E(e.substr(r,2)),t[5]=E(e.substr(i))}));var Ze,Je=_e("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ke,monthsShort:Se,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ye,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{n=Ze._abbr,function(){var e=new Error('Cannot find module "./locale"');throw e.code="MODULE_NOT_FOUND",e}(),it(n)}catch(e){}return et[t]}function it(e,t){var n;return e&&((n=a(t)?at(e):ot(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function ot(e,t){if(null!==t){var n,r=Qe;if(t.abbr=e,null!=et[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new F(T(r,t)),tt[e]&&tt[e].forEach((function(e){ot(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!i(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=nt(e[o]).split("-")).length,n=(n=nt(e[o+1]))?n.split("-"):null;t>0;){if(r=rt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}o++}return Ze}(e)}function st(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ce(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t,n,i,o,a,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[0],je(At(),1,4).year),r=ut(t.W,1),((i=ut(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=je(At(),o,a);n=ut(t.gg,e._a[0],l.year),r=ut(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Ie(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=Be(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ut(e._a[0],i[0]),(e._dayOfYear>ve(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Le(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Le:Pe).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}var ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((\-?\d+)/i;function vt(e){var t,n,r,i,o,a,s=e._i,u=ct.exec(s)||dt.exec(s);if(u){for(h(e).iso=!0,t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(u[1])){i=ht[t][0],r=!1!==ht[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(u[3])){o=(u[2]||" ")+pt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ft.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),wt(e)}else e._isValid=!1}var gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _t(e){var t,n,r,i,o,a,s=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(s){var u=(t=s[3],n=s[2],r=s[5],i=s[6],o=s[7],a=[yt(s[4]),Se.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)],o&&a.push(parseInt(o,10)),a);if(!function(e,t,n){return!e||ze.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(s[1],u,e))return;e._a=u,e._tzm=function(e,t,n){if(e)return bt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(s[8],s[9],s[10]),e._d=Le.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function wt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,i,o,a,s=""+e._i,u=s.length,l=0;for(i=$(e._f,e._locale).match(N)||[],t=0;t<i.length;t++)(n=(s.match(ce(o=i[t],e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),Y[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),me(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),lt(e),st(e)}else _t(e);else vt(e)}function Et(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new b(st(t)):(u(t)?e._d=t:i(n)?function(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],wt(t),p(t)&&(o+=h(t).charsLeftOver,o+=10*h(t).unusedTokens.length,h(t).score=o,(null==r||o<r)&&(r=o,n=t));d(e,n||t)}(e):n?wt(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(vt(e),!1===e._isValid&&(delete e._isValid,_t(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),lt(e)):o(t)?function(e){if(!e._d){var t=R(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),lt(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Ct(e,t,n,r,a){var s,u={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=r,(s=new b(st(Et(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function At(e,t,n,r){return Ct(e,t,n,r,!1)}r.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var kt=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:m()})),St=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:m()}));function xt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ot(e){var t=R(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ye.call(Dt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Dt.length;++r)if(e[Dt[r]]){if(n)return!1;parseFloat(e[Dt[r]])!==E(e[Dt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Tt(e){return e instanceof Ot}function Ft(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Mt(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)}))}Mt("Z",":"),Mt("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Lt(ae,e)}));var Pt=/([\+\-]|\d\d)/gi;function Lt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Pt)||["-",0,0],i=60*r[1]+E(r[2]);return 0===i?0:"+"===r[0]?i:-i}function Rt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(_(e)||u(e)?e.valueOf():At(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):At(e).local()}function Bt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var It=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Nt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,r,i,o,a,u,l=e,d=null;return Tt(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(l={},t?l[t]=e:l.milliseconds=e):(d=It.exec(e))?(n="-"===d[1]?-1:1,l={y:0,d:E(d[2])*n,h:E(d[3])*n,m:E(d[4])*n,s:E(d[5])*n,ms:E(Ft(1e3*d[6]))*n}):(d=Nt.exec(e))?l={y:zt(d[2],n="-"===d[1]?-1:1),M:zt(d[3],n),w:zt(d[4],n),d:zt(d[5],n),h:zt(d[6],n),m:zt(d[7],n),s:zt(d[8],n)}:null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(o=At(l.from),a=At(l.to),i=o.isValid()&&a.isValid()?(a=Rt(a,o),o.isBefore(a)?u=Yt(o,a):((u=Yt(a,o)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(l={}).ms=i.milliseconds,l.M=i.months),r=new Ot(l),Tt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Vt(this,Ht(n="string"==typeof n?+n:n,r),e),this}}function Vt(e,t,n,i){var o=t._milliseconds,a=Ft(t._days),s=Ft(t._months);e.isValid()&&(i=null==i||i,s&&De(e,we(e,"Month")+s*n),a&&Ee(e,"Date",we(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,a||s))}Ht.fn=Ot.prototype,Ht.invalid=function(){return Ht(NaN)};var $t=Ut(1,"add"),Wt=Ut(-1,"subtract");function Gt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Kt=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Xt(){return this._locale}function Zt(e,t){return(e%t+t)%t}function Jt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Qt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){U(0,[e,e.length],0,t)}function tn(e,t,n,r,i){var o;return null==e?je(this,r,i).year:(t>(o=Ie(e,r,i))&&(t=o),nn.call(this,e,t,n,r,i))}function nn(e,t,n,r,i){var o=Be(e,t,n,r,i),a=Le(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",Z,G),le("gg",Z,G),le("GGGG",te,K),le("gggg",te,K),le("GGGGG",ne,X),le("ggggg",ne,X),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=E(e)})),pe(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),P("quarter","Q"),j("quarter",7),le("Q",W),he("Q",(function(e,t){t[1]=3*(E(e)-1)})),U("D",["DD",2],"Do","date"),P("date","D"),j("date",9),le("D",Z),le("DD",Z,G),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],2),he("Do",(function(e,t){t[2]=E(e.match(Z)[0])}));var rn=_e("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),j("dayOfYear",4),le("DDD",ee),le("DDDD",q),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=E(e)})),U("m",["mm",2],0,"minute"),P("minute","m"),j("minute",14),le("m",Z),le("mm",Z,G),he(["m","mm"],4);var on=_e("Minutes",!1);U("s",["ss",2],0,"second"),P("second","s"),j("second",15),le("s",Z),le("ss",Z,G),he(["s","ss"],5);var an,sn=_e("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),j("millisecond",16),le("S",ee,W),le("SS",ee,G),le("SSS",ee,q),an="SSSS";an.length<=9;an+="S")le(an,re);function un(e,t){t[6]=E(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")he(an,un);var ln=_e("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var cn=b.prototype;function dn(e){return e}cn.add=$t,cn.calendar=function(e,t){var n=e||At(),i=Rt(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",a=t&&(O(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,At(n)))},cn.clone=function(){return new b(this)},cn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=L(t)){case"year":o=Gt(this,r)/12;break;case"month":o=Gt(this,r);break;case"quarter":o=Gt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:w(o)},cn.endOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Qt:Jt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Zt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Zt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},cn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},cn.from=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||At(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},cn.fromNow=function(e){return this.from(At(),e)},cn.to=function(e,t){return this.isValid()&&(_(e)&&e.isValid()||At(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},cn.toNow=function(e){return this.to(At(),e)},cn.get=function(e){return O(this[e=L(e)])?this[e]():this},cn.invalidAt=function(){return h(this).overflow},cn.isAfter=function(e,t){var n=_(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},cn.isBefore=function(e,t){var n=_(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},cn.isBetween=function(e,t,n,r){var i=_(e)?e:At(e),o=_(t)?t:At(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},cn.isSame=function(e,t){var n,r=_(e)?e:At(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=L(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},cn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},cn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},cn.isValid=function(){return p(this)},cn.lang=Kt,cn.locale=qt,cn.localeData=Xt,cn.max=St,cn.min=kt,cn.parsingFlags=function(){return d({},h(this))},cn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:B[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=R(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(O(this[e=L(e)]))return this[e](t);return this},cn.startOf=function(e){var t;if(void 0===(e=L(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Qt:Jt;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Zt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Zt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Zt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},cn.subtract=Wt,cn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},cn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},cn.toDate=function(){return new Date(this.valueOf())},cn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},cn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},cn.toJSON=function(){return this.isValid()?this.toISOString():null},cn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},cn.unix=function(){return Math.floor(this.valueOf()/1e3)},cn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},cn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},cn.year=be,cn.isLeapYear=function(){return ge(this.year())},cn.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},cn.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},cn.quarter=cn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},cn.month=Oe,cn.daysInMonth=function(){return Ce(this.year(),this.month())},cn.week=cn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},cn.isoWeek=cn.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},cn.weeksInYear=function(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)},cn.isoWeeksInYear=function(){return Ie(this.year(),1,4)},cn.date=rn,cn.day=cn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},cn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},cn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},cn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},cn.hour=cn.hours=Je,cn.minute=cn.minutes=on,cn.second=cn.seconds=sn,cn.millisecond=cn.milliseconds=ln,cn.utcOffset=function(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Lt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Bt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Vt(this,Ht(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Bt(this)},cn.utc=function(e){return this.utcOffset(0,e)},cn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bt(this),"m")),this},cn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Lt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},cn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?At(e).utcOffset():0,(this.utcOffset()-e)%60==0)},cn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},cn.isLocal=function(){return!!this.isValid()&&!this._isUTC},cn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},cn.isUtc=jt,cn.isUTC=jt,cn.zoneAbbr=function(){return this._isUTC?"UTC":""},cn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},cn.dates=k("dates accessor is deprecated. Use date instead.",rn),cn.months=k("months accessor is deprecated. Use month instead",Oe),cn.years=k("years accessor is deprecated. Use year instead",be),cn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),cn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=Et(e))._a){var t=e._isUTC?f(e._a):At(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=F.prototype;function hn(e,t,n,r){var i=at(),o=f().set(r,t);return i[n](o,e)}function pn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=hn(e,r,n,"month");return i}function mn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i,o=at(),a=e?o._week.dow:0;if(null!=n)return hn(t,(n+a)%7,r,"day");var u=[];for(i=0;i<7;i++)u[i]=hn(t,(i+a)%7,r,"day");return u}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=dn,fn.postformat=dn,fn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return O(i)?i(e,t,n,r):i.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)O(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ae.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return xe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Me.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Fe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Me.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Te),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return je(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===E(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=k("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",at);var vn=Math.abs;function gn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function _n(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var En=wn("ms"),Cn=wn("s"),An=wn("m"),kn=wn("h"),Sn=wn("d"),xn=wn("w"),Dn=wn("M"),On=wn("Q"),Tn=wn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Mn=Fn("milliseconds"),Pn=Fn("seconds"),Ln=Fn("minutes"),Rn=Fn("hours"),Bn=Fn("days"),jn=Fn("months"),In=Fn("years"),Nn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function zn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Yn=Math.abs;function Un(e){return(e>0)-(e<0)||+e}function Vn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Yn(this._milliseconds)/1e3,r=Yn(this._days),i=Yn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var o=w(i/12),a=i%=12,s=r,u=t,l=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Un(this._months)!==Un(d)?"-":"",p=Un(this._days)!==Un(d)?"-":"",m=Un(this._milliseconds)!==Un(d)?"-":"";return f+"P"+(o?h+o+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(u||l||c?"T":"")+(u?m+u+"H":"")+(l?m+l+"M":"")+(c?m+c+"S":"")}var $n=Ot.prototype;return $n.isValid=function(){return this._isValid},$n.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},$n.add=function(e,t){return gn(this,e,t,1)},$n.subtract=function(e,t){return gn(this,e,t,-1)},$n.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=L(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(_n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},$n.asMilliseconds=En,$n.asSeconds=Cn,$n.asMinutes=An,$n.asHours=kn,$n.asDays=Sn,$n.asWeeks=xn,$n.asMonths=Dn,$n.asQuarters=On,$n.asYears=Tn,$n.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*E(this._months/12):NaN},$n._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*yn(_n(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=w(o/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,a+=w(n/24),s+=i=w(bn(a)),a-=yn(_n(i)),r=w(s/12),s%=12,u.days=a,u.months=s,u.years=r,this},$n.clone=function(){return Ht(this)},$n.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},$n.milliseconds=Mn,$n.seconds=Pn,$n.minutes=Ln,$n.hours=Rn,$n.days=Bn,$n.weeks=function(){return w(this.days()/7)},$n.months=jn,$n.years=In,$n.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Ht(e).abs(),i=Nn(r.as("s")),o=Nn(r.as("m")),a=Nn(r.as("h")),s=Nn(r.as("d")),u=Nn(r.as("M")),l=Nn(r.as("y")),c=i<=Hn.ss&&["s",i]||i<Hn.s&&["ss",i]||o<=1&&["m"]||o<Hn.m&&["mm",o]||a<=1&&["h"]||a<Hn.h&&["hh",a]||s<=1&&["d"]||s<Hn.d&&["dd",s]||u<=1&&["M"]||u<Hn.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,zn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},$n.toISOString=Vn,$n.toString=Vn,$n.toJSON=Vn,$n.locale=qt,$n.localeData=Xt,$n.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Vn),$n.lang=Kt,U("X",0,0,"unix"),U("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),he("x",(function(e,t,n){n._d=new Date(E(e))})),r.version="2.24.0",t=At,r.fn=cn,r.min=function(){var e=[].slice.call(arguments,0);return xt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return xt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return At(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=u,r.locale=it,r.invalid=m,r.duration=Ht,r.isMoment=_,r.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},r.parseZone=function(){return At.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=Tt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},r.defineLocale=ot,r.updateLocale=function(e,t){if(null!=t){var n,r,i=Qe;null!=(r=rt(e))&&(i=r._config),(n=new F(t=T(i,t))).parentLocale=et[e],et[e]=n,it(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return S(et)},r.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},r.normalizeUnits=L,r.relativeTimeRounding=function(e){return void 0===e?Nn:"function"==typeof e&&(Nn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=cn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(t,n(155)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){function n(e){throw new Error("Cannot find module '"+e+"'.")}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=156},function(e,t,n){(function(t){var n,r="undefined"!=typeof window?window:void 0!==t?t:null;if(r&&r.crypto&&crypto.getRandomValues){var i=new Uint8Array(16);n=function(){return crypto.getRandomValues(i),i}}if(!n){var o=new Array(16);n=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}for(var a=[],s={},u=0;u<256;u++)a[u]=(u+256).toString(16).substr(1),s[a[u]]=u;function l(e,t){var n=t||0;return a[e[n++]]+a[e[n++]]+a[e[n++]]+a[e[n++]]+"-"+a[e[n++]]+a[e[n++]]+"-"+a[e[n++]]+a[e[n++]]+"-"+a[e[n++]]+a[e[n++]]+"-"+a[e[n++]]+a[e[n++]]+a[e[n++]]+a[e[n++]]+a[e[n++]]+a[e[n++]]}var c=n(),d=[1|c[0],c[1],c[2],c[3],c[4],c[5]],f=16383&(c[6]<<8|c[7]),h=0,p=0;function m(e,t,r){var i=t&&r||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var a=0;a<16;a++)t[i+a]=o[a];return t||l(o)}var v=m;v.v1=function(e,t,n){var r=t&&n||0,i=t||[],o=void 0!==(e=e||{}).clockseq?e.clockseq:f,a=void 0!==e.msecs?e.msecs:(new Date).getTime(),s=void 0!==e.nsecs?e.nsecs:p+1,u=a-h+(s-p)/1e4;if(u<0&&void 0===e.clockseq&&(o=o+1&16383),(u<0||a>h)&&void 0===e.nsecs&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=a,p=s,f=o;var c=(1e4*(268435455&(a+=122192928e5))+s)%4294967296;i[r++]=c>>>24&255,i[r++]=c>>>16&255,i[r++]=c>>>8&255,i[r++]=255&c;var m=a/4294967296*1e4&268435455;i[r++]=m>>>8&255,i[r++]=255&m,i[r++]=m>>>24&15|16,i[r++]=m>>>16&255,i[r++]=o>>>8|128,i[r++]=255&o;for(var v=e.node||d,g=0;g<6;g++)i[r+g]=v[g];return t||l(i)},v.v4=m,v.parse=function(e,t,n){var r=t&&n||0,i=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){i<16&&(t[r+i++]=s[e])}));i<16;)t[r+i++]=0;return t},v.unparse=l,e.exports=v}).call(t,n(158))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){t.util=n(2),t.DOMutil=n(14),t.DataSet=n(11),t.DataView=n(12),t.Queue=n(44),t.Graph3d=n(161),t.graph3d={Camera:n(95),Filter:n(96),Point2d:n(91),Point3d:n(34),Slider:n(92),StepNumber:n(93)},t.moment=n(9),t.Hammer=n(10),t.keycharm=n(35)},function(e,t,n){var r=n(7),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){var r,i=(r=n(90))&&r.__esModule?r:{default:r},o=n(45),a=n(2),s=n(34),u=n(91),l=n(92),c=n(93),d=n(94),f=n(15).default,h=n(15).printStyle,p=n(172).allOptions,m=n(173);function v(e,t,n){if(!(this instanceof v))throw new SyntaxError("Constructor must be called with the new operator");this.containerElement=e,this.dataGroup=new m,this.dataPoints=null,this.create(),d.setDefaults(v.DEFAULTS,this),this.colX=void 0,this.colY=void 0,this.colZ=void 0,this.colValue=void 0,this.setOptions(n),this.setData(t)}function g(e){return"clientX"in e?e.clientX:e.targetTouches[0]&&e.targetTouches[0].clientX||0}function y(e){return"clientY"in e?e.clientY:e.targetTouches[0]&&e.targetTouches[0].clientY||0}v.DEFAULTS={width:"400px",height:"400px",filterLabel:"time",legendLabel:"value",xLabel:"x",yLabel:"y",zLabel:"z",xValueLabel:function(e){return e},yValueLabel:function(e){return e},zValueLabel:function(e){return e},showXAxis:!0,showYAxis:!0,showZAxis:!0,showGrid:!0,showPerspective:!0,showShadow:!1,keepAspectRatio:!0,verticalRatio:.5,dotSizeRatio:.02,dotSizeMinFraction:.5,dotSizeMaxFraction:2.5,showAnimationControls:void 0,animationInterval:1e3,animationPreload:!1,animationAutoStart:void 0,axisColor:"#4D4D4D",gridColor:"#D3D3D3",xCenter:"55%",yCenter:"50%",style:(v.STYLE=d.STYLE).DOT,tooltip:!1,tooltipStyle:{content:{padding:"10px",border:"1px solid #4d4d4d",color:"#1a1a1a",background:"rgba(255,255,255,0.7)",borderRadius:"2px",boxShadow:"5px 5px 10px rgba(128,128,128,0.5)"},line:{height:"40px",width:"0",borderLeft:"1px solid #4d4d4d"},dot:{height:"0",width:"0",border:"5px solid #4d4d4d",borderRadius:"5px"}},dataColor:{fill:"#7DC1FF",stroke:"#3267D2",strokeWidth:1},cameraPosition:{horizontal:1,vertical:.5,distance:1.7},showLegend:void 0,backgroundColor:void 0,xBarWidth:void 0,yBarWidth:void 0,valueMin:void 0,valueMax:void 0,xMin:void 0,xMax:void 0,xStep:void 0,yMin:void 0,yMax:void 0,yStep:void 0,zMin:void 0,zMax:void 0,zStep:void 0},o(v.prototype),v.prototype._setScale=function(){this.scale=new s(1/this.xRange.range(),1/this.yRange.range(),1/this.zRange.range()),this.keepAspectRatio&&(this.scale.x<this.scale.y?this.scale.y=this.scale.x:this.scale.x=this.scale.y),this.scale.z*=this.verticalRatio,void 0!==this.valueRange&&(this.scale.value=1/this.valueRange.range());var e=this.xRange.center()*this.scale.x,t=this.yRange.center()*this.scale.y,n=this.zRange.center()*this.scale.z;this.camera.setArmLocation(e,t,n)},v.prototype._convert3Dto2D=function(e){var t=this._convertPointToTranslation(e);return this._convertTranslationToScreen(t)},v.prototype._convertPointToTranslation=function(e){var t=this.camera.getCameraLocation(),n=this.camera.getCameraRotation(),r=e.x*this.scale.x,i=e.y*this.scale.y,o=e.z*this.scale.z,a=t.x,u=t.y,l=t.z,c=Math.sin(n.x),d=Math.cos(n.x),f=Math.sin(n.y),h=Math.cos(n.y),p=Math.sin(n.z),m=Math.cos(n.z);return new s(h*(p*(i-u)+m*(r-a))-f*(o-l),c*(h*(o-l)+f*(p*(i-u)+m*(r-a)))+d*(m*(i-u)-p*(r-a)),d*(h*(o-l)+f*(p*(i-u)+m*(r-a)))-c*(m*(i-u)-p*(r-a)))},v.prototype._convertTranslationToScreen=function(e){var t,n,r=this.eye.z,i=e.x,o=e.y,a=e.z;return this.showPerspective?(t=r/a*(i-this.eye.x),n=r/a*(o-this.eye.y)):(t=i*(-r/this.camera.getArmLength()),n=o*(-r/this.camera.getArmLength())),new u(this.currentXCenter+t*this.frame.canvas.clientWidth,this.currentYCenter-n*this.frame.canvas.clientWidth)},v.prototype._calcTranslations=function(e){for(var t=0;t<e.length;t++){var n=e[t];n.trans=this._convertPointToTranslation(n.point),n.screen=this._convertTranslationToScreen(n.trans);var r=this._convertPointToTranslation(n.bottom);n.dist=this.showPerspective?r.length():-r.z}e.sort((function(e,t){return t.dist-e.dist}))},v.prototype._initializeRanges=function(){var e=this.dataGroup;this.xRange=e.xRange,this.yRange=e.yRange,this.zRange=e.zRange,this.valueRange=e.valueRange,this.xStep=e.xStep,this.yStep=e.yStep,this.zStep=e.zStep,this.xBarWidth=e.xBarWidth,this.yBarWidth=e.yBarWidth,this.colX=e.colX,this.colY=e.colY,this.colZ=e.colZ,this.colValue=e.colValue,this._setScale()},v.prototype.getDataPoints=function(e){for(var t=[],n=0;n<e.length;n++){var r=new s;r.x=e[n][this.colX]||0,r.y=e[n][this.colY]||0,r.z=e[n][this.colZ]||0,r.data=e[n],void 0!==this.colValue&&(r.value=e[n][this.colValue]||0);var i={};i.point=r,i.bottom=new s(r.x,r.y,this.zRange.min),i.trans=void 0,i.screen=void 0,t.push(i)}return t},v.prototype._getDataPoints=function(e){var t,n,r,i,o=[];if(this.style===v.STYLE.GRID||this.style===v.STYLE.SURFACE){var a=this.dataGroup.getDistinctValues(this.colX,e),s=this.dataGroup.getDistinctValues(this.colY,e);o=this.getDataPoints(e);var u=[];for(r=0;r<o.length;r++){var l=a.indexOf((i=o[r]).point.x),c=s.indexOf(i.point.y);void 0===u[l]&&(u[l]=[]),u[l][c]=i}for(t=0;t<u.length;t++)for(n=0;n<u[t].length;n++)u[t][n]&&(u[t][n].pointRight=t<u.length-1?u[t+1][n]:void 0,u[t][n].pointTop=n<u[t].length-1?u[t][n+1]:void 0,u[t][n].pointCross=t<u.length-1&&n<u[t].length-1?u[t+1][n+1]:void 0)}else if(this._checkValueField(e),o=this.getDataPoints(e),this.style===v.STYLE.LINE)for(r=0;r<o.length;r++)r>0&&(o[r-1].pointNext=o[r]);return o},v.prototype.create=function(){for(;this.containerElement.hasChildNodes();)this.containerElement.removeChild(this.containerElement.firstChild);this.frame=document.createElement("div"),this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas);var e=document.createElement("DIV");e.style.color="red",e.style.fontWeight="bold",e.style.padding="10px",e.innerHTML="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(e),this.frame.filter=document.createElement("div"),this.frame.filter.style.position="absolute",this.frame.filter.style.bottom="0px",this.frame.filter.style.left="0px",this.frame.filter.style.width="100%",this.frame.appendChild(this.frame.filter);var t=this;a.addEventListener(this.frame.canvas,"mousedown",(function(e){t._onMouseDown(e)})),a.addEventListener(this.frame.canvas,"touchstart",(function(e){t._onTouchStart(e)})),a.addEventListener(this.frame.canvas,"mousewheel",(function(e){t._onWheel(e)})),a.addEventListener(this.frame.canvas,"mousemove",(function(e){t._onTooltip(e)})),a.addEventListener(this.frame.canvas,"click",(function(e){t._onClick(e)})),this.containerElement.appendChild(this.frame)},v.prototype._setSize=function(e,t){this.frame.style.width=e,this.frame.style.height=t,this._resizeCanvas()},v.prototype._resizeCanvas=function(){this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=this.frame.canvas.clientWidth,this.frame.canvas.height=this.frame.canvas.clientHeight,this.frame.filter.style.width=this.frame.canvas.clientWidth-20+"px"},v.prototype.animationStart=function(){if(this.animationAutoStart&&this.dataGroup.dataFilter){if(!this.frame.filter||!this.frame.filter.slider)throw new Error("No animation available");this.frame.filter.slider.play()}},v.prototype.animationStop=function(){this.frame.filter&&this.frame.filter.slider&&this.frame.filter.slider.stop()},v.prototype._resizeCenter=function(){this.currentXCenter="%"===this.xCenter.charAt(this.xCenter.length-1)?parseFloat(this.xCenter)/100*this.frame.canvas.clientWidth:parseFloat(this.xCenter),this.currentYCenter="%"===this.yCenter.charAt(this.yCenter.length-1)?parseFloat(this.yCenter)/100*(this.frame.canvas.clientHeight-this.frame.filter.clientHeight):parseFloat(this.yCenter)},v.prototype.getCameraPosition=function(){var e=this.camera.getArmRotation();return e.distance=this.camera.getArmLength(),e},v.prototype._readData=function(e){this.dataPoints=this.dataGroup.initializeData(this,e,this.style),this._initializeRanges(),this._redrawFilter()},v.prototype.setData=function(e){null!=e&&(this._readData(e),this.redraw(),this.animationStart())},v.prototype.setOptions=function(e){void 0!==e&&(!0===f.validate(e,p)&&console.log("%cErrors have been found in the supplied options object.",h),this.animationStop(),d.setOptions(e,this),this.setPointDrawingMethod(),this._setSize(this.width,this.height),this.setData(this.dataGroup.getDataTable()),this.animationStart())},v.prototype.setPointDrawingMethod=function(){var e=void 0;switch(this.style){case v.STYLE.BAR:e=v.prototype._redrawBarGraphPoint;break;case v.STYLE.BARCOLOR:e=v.prototype._redrawBarColorGraphPoint;break;case v.STYLE.BARSIZE:e=v.prototype._redrawBarSizeGraphPoint;break;case v.STYLE.DOT:e=v.prototype._redrawDotGraphPoint;break;case v.STYLE.DOTLINE:e=v.prototype._redrawDotLineGraphPoint;break;case v.STYLE.DOTCOLOR:e=v.prototype._redrawDotColorGraphPoint;break;case v.STYLE.DOTSIZE:e=v.prototype._redrawDotSizeGraphPoint;break;case v.STYLE.SURFACE:e=v.prototype._redrawSurfaceGraphPoint;break;case v.STYLE.GRID:e=v.prototype._redrawGridGraphPoint;break;case v.STYLE.LINE:e=v.prototype._redrawLineGraphPoint;break;default:throw new Error("Can not determine point drawing method for graph style '"+this.style+"'")}this._pointDrawingMethod=e},v.prototype.redraw=function(){if(void 0===this.dataPoints)throw new Error("Graph data not initialized");this._resizeCanvas(),this._resizeCenter(),this._redrawSlider(),this._redrawClear(),this._redrawAxis(),this._redrawDataGraph(),this._redrawInfo(),this._redrawLegend()},v.prototype._getContext=function(){var e=this.frame.canvas.getContext("2d");return e.lineJoin="round",e.lineCap="round",e},v.prototype._redrawClear=function(){var e=this.frame.canvas;e.getContext("2d").clearRect(0,0,e.width,e.height)},v.prototype._dotSize=function(){return this.frame.clientWidth*this.dotSizeRatio},v.prototype._getLegendWidth=function(){return this.style===v.STYLE.DOTSIZE?this._dotSize()*this.dotSizeMaxFraction:this.style===v.STYLE.BARSIZE?this.xBarWidth:20},v.prototype._redrawLegend=function(){if(!0===this.showLegend&&this.style!==v.STYLE.LINE&&this.style!==v.STYLE.BARSIZE){var e=this.style===v.STYLE.BARSIZE||this.style===v.STYLE.DOTSIZE,t=this.style===v.STYLE.DOTSIZE||this.style===v.STYLE.DOTCOLOR||this.style===v.STYLE.BARCOLOR,n=Math.max(.25*this.frame.clientHeight,100),r=this.margin,i=this._getLegendWidth(),o=this.frame.clientWidth-this.margin,a=o-i,s=r+n,l=this._getContext();if(l.lineWidth=1,l.font="14px arial",!1===e){var d,f=n;for(d=0;d<f;d++){var h=this._hsv2rgb((d-0)/(f-0)*240,1,1);l.strokeStyle=h,l.beginPath(),l.moveTo(a,r+d),l.lineTo(o,r+d),l.stroke()}l.strokeStyle=this.axisColor,l.strokeRect(a,r,i,n)}else{var p;this.style===v.STYLE.DOTSIZE&&(p=i*(this.dotSizeMinFraction/this.dotSizeMaxFraction)),l.strokeStyle=this.axisColor,l.fillStyle=this.dataColor.fill,l.beginPath(),l.moveTo(a,r),l.lineTo(o,r),l.lineTo(a+p,s),l.lineTo(a,s),l.closePath(),l.fill(),l.stroke()}var m,g,y=t?this.valueRange.min:this.zRange.min,b=t?this.valueRange.max:this.zRange.max,_=new c(y,b,(b-y)/5,!0);for(_.start(!0);!_.end();)d=s-(_.getCurrent()-y)/(b-y)*n,m=new u(a-5,d),g=new u(a,d),this._line(l,m,g),l.textAlign="right",l.textBaseline="middle",l.fillStyle=this.axisColor,l.fillText(_.getCurrent(),a-10,d),_.next();l.textAlign="right",l.textBaseline="top",l.fillText(this.legendLabel,o,s+this.margin)}},v.prototype._redrawFilter=function(){var e=this.dataGroup.dataFilter,t=this.frame.filter;if(t.innerHTML="",e){var n=new l(t,{visible:this.showAnimationControls});t.slider=n,t.style.padding="10px",n.setValues(e.values),n.setPlayInterval(this.animationInterval);var r=this;n.setOnChangeCallback((function(){var e=r.dataGroup.dataFilter,t=n.getIndex();e.selectValue(t),r.dataPoints=e._getDataPoints(),r.redraw()}))}else t.slider=void 0},v.prototype._redrawSlider=function(){void 0!==this.frame.filter.slider&&this.frame.filter.slider.redraw()},v.prototype._redrawInfo=function(){var e=this.dataGroup.getInfo();if(void 0!==e){var t=this._getContext();t.font="14px arial",t.lineStyle="gray",t.fillStyle="gray",t.textAlign="left",t.textBaseline="top",t.fillText(e,this.margin,this.margin)}},v.prototype._line=function(e,t,n,r){void 0!==r&&(e.strokeStyle=r),e.beginPath(),e.moveTo(t.x,t.y),e.lineTo(n.x,n.y),e.stroke()},v.prototype.drawAxisLabelX=function(e,t,n,r,i){void 0===i&&(i=0);var o=this._convert3Dto2D(t);Math.cos(2*r)>0?(e.textAlign="center",e.textBaseline="top",o.y+=i):Math.sin(2*r)<0?(e.textAlign="right",e.textBaseline="middle"):(e.textAlign="left",e.textBaseline="middle"),e.fillStyle=this.axisColor,e.fillText(n,o.x,o.y)},v.prototype.drawAxisLabelY=function(e,t,n,r,i){void 0===i&&(i=0);var o=this._convert3Dto2D(t);Math.cos(2*r)<0?(e.textAlign="center",e.textBaseline="top",o.y+=i):Math.sin(2*r)>0?(e.textAlign="right",e.textBaseline="middle"):(e.textAlign="left",e.textBaseline="middle"),e.fillStyle=this.axisColor,e.fillText(n,o.x,o.y)},v.prototype.drawAxisLabelZ=function(e,t,n,r){void 0===r&&(r=0);var i=this._convert3Dto2D(t);e.textAlign="right",e.textBaseline="middle",e.fillStyle=this.axisColor,e.fillText(n,i.x-r,i.y)},v.prototype._line3d=function(e,t,n,r){var i=this._convert3Dto2D(t),o=this._convert3Dto2D(n);this._line(e,i,o,r)},v.prototype._redrawAxis=function(){var e,t,n,r,i,o,a,l,d=this._getContext();d.font=24/this.camera.getArmLength()+"px arial";var f,h,p,m=.025/this.scale.x,v=.025/this.scale.y,g=5/this.camera.getArmLength(),y=this.camera.getArmRotation().horizontal,b=new u(Math.cos(y),Math.sin(y)),_=this.xRange,w=this.yRange,E=this.zRange;for(d.lineWidth=1,(n=new c(_.min,_.max,this.xStep,void 0===this.defaultXStep)).start(!0);!n.end();){var C=n.getCurrent();if(this.showGrid?(e=new s(C,w.min,E.min),t=new s(C,w.max,E.min),this._line3d(d,e,t,this.gridColor)):this.showXAxis&&(e=new s(C,w.min,E.min),t=new s(C,w.min+m,E.min),this._line3d(d,e,t,this.axisColor),e=new s(C,w.max,E.min),t=new s(C,w.max-m,E.min),this._line3d(d,e,t,this.axisColor)),this.showXAxis){f=new s(C,o=b.x>0?w.min:w.max,E.min);var A="  "+this.xValueLabel(C)+"  ";this.drawAxisLabelX(d,f,A,y,g)}n.next()}for(d.lineWidth=1,(n=new c(w.min,w.max,this.yStep,void 0===this.defaultYStep)).start(!0);!n.end();){var k=n.getCurrent();if(this.showGrid?(e=new s(_.min,k,E.min),t=new s(_.max,k,E.min),this._line3d(d,e,t,this.gridColor)):this.showYAxis&&(e=new s(_.min,k,E.min),t=new s(_.min+v,k,E.min),this._line3d(d,e,t,this.axisColor),e=new s(_.max,k,E.min),t=new s(_.max-v,k,E.min),this._line3d(d,e,t,this.axisColor)),this.showYAxis){f=new s(i=b.y>0?_.min:_.max,k,E.min);var S="  "+this.yValueLabel(k)+"  ";this.drawAxisLabelY(d,f,S,y,g)}n.next()}if(this.showZAxis){for(d.lineWidth=1,(n=new c(E.min,E.max,this.zStep,void 0===this.defaultZStep)).start(!0),i=b.x>0?_.min:_.max,o=b.y<0?w.min:w.max;!n.end();){var x=n.getCurrent(),D=new s(i,o,x),O=this._convert3Dto2D(D);t=new u(O.x-g,O.y),this._line(d,O,t,this.axisColor);var T=this.zValueLabel(x)+" ";this.drawAxisLabelZ(d,D,T,5),n.next()}d.lineWidth=1,e=new s(i,o,E.min),t=new s(i,o,E.max),this._line3d(d,e,t,this.axisColor)}this.showXAxis&&(d.lineWidth=1,h=new s(_.min,w.min,E.min),p=new s(_.max,w.min,E.min),this._line3d(d,h,p,this.axisColor),h=new s(_.min,w.max,E.min),p=new s(_.max,w.max,E.min),this._line3d(d,h,p,this.axisColor)),this.showYAxis&&(d.lineWidth=1,e=new s(_.min,w.min,E.min),t=new s(_.min,w.max,E.min),this._line3d(d,e,t,this.axisColor),e=new s(_.max,w.min,E.min),t=new s(_.max,w.max,E.min),this._line3d(d,e,t,this.axisColor));var F=this.xLabel;F.length>0&&this.showXAxis&&(l=.1/this.scale.y,r=new s(i=(_.max+3*_.min)/4,o=b.x>0?w.min-l:w.max+l,E.min),this.drawAxisLabelX(d,r,F,y));var M=this.yLabel;M.length>0&&this.showYAxis&&(a=.1/this.scale.x,r=new s(i=b.y>0?_.min-a:_.max+a,o=(w.max+3*w.min)/4,E.min),this.drawAxisLabelY(d,r,M,y));var P=this.zLabel;P.length>0&&this.showZAxis&&(r=new s(i=b.x>0?_.min:_.max,o=b.y<0?w.min:w.max,(E.max+3*E.min)/4),this.drawAxisLabelZ(d,r,P,30))},v.prototype._hsv2rgb=function(e,t,n){var r,i,o,a,s,u;switch(a=n*t,s=Math.floor(e/60),u=a*(1-Math.abs(e/60%2-1)),s){case 0:r=a,i=u,o=0;break;case 1:r=u,i=a,o=0;break;case 2:r=0,i=a,o=u;break;case 3:r=0,i=u,o=a;break;case 4:r=u,i=0,o=a;break;case 5:r=a,i=0,o=u;break;default:r=0,i=0,o=0}return"RGB("+parseInt(255*r)+","+parseInt(255*i)+","+parseInt(255*o)+")"},v.prototype._getStrokeWidth=function(e){return void 0!==e?this.showPerspective?1/-e.trans.z*this.dataColor.strokeWidth:-this.eye.z/this.camera.getArmLength()*this.dataColor.strokeWidth:this.dataColor.strokeWidth},v.prototype._redrawBar=function(e,t,n,r,i,o){var a,u=this,l=t.point,c=this.zRange.min,d=[{point:new s(l.x-n,l.y-r,l.z)},{point:new s(l.x+n,l.y-r,l.z)},{point:new s(l.x+n,l.y+r,l.z)},{point:new s(l.x-n,l.y+r,l.z)}],f=[{point:new s(l.x-n,l.y-r,c)},{point:new s(l.x+n,l.y-r,c)},{point:new s(l.x+n,l.y+r,c)},{point:new s(l.x-n,l.y+r,c)}];d.forEach((function(e){e.screen=u._convert3Dto2D(e.point)})),f.forEach((function(e){e.screen=u._convert3Dto2D(e.point)}));var h=[{corners:d,center:s.avg(f[0].point,f[2].point)},{corners:[d[0],d[1],f[1],f[0]],center:s.avg(f[1].point,f[0].point)},{corners:[d[1],d[2],f[2],f[1]],center:s.avg(f[2].point,f[1].point)},{corners:[d[2],d[3],f[3],f[2]],center:s.avg(f[3].point,f[2].point)},{corners:[d[3],d[0],f[0],f[3]],center:s.avg(f[0].point,f[3].point)}];t.surfaces=h;for(var p=0;p<h.length;p++){var m=this._convertPointToTranslation((a=h[p]).center);a.dist=this.showPerspective?m.length():-m.z}h.sort((function(e,t){return t.dist-e.dist||(e.corners===d?1:t.corners===d?-1:0)})),e.lineWidth=this._getStrokeWidth(t),e.strokeStyle=o,e.fillStyle=i;for(var v=2;v<h.length;v++)this._polygon(e,(a=h[v]).corners)},v.prototype._polygon=function(e,t,n,r){if(!(t.length<2)){void 0!==n&&(e.fillStyle=n),void 0!==r&&(e.strokeStyle=r),e.beginPath(),e.moveTo(t[0].screen.x,t[0].screen.y);for(var i=1;i<t.length;++i){var o=t[i];e.lineTo(o.screen.x,o.screen.y)}e.closePath(),e.fill(),e.stroke()}},v.prototype._drawCircle=function(e,t,n,r,i){var o=this._calcRadius(t,i);e.lineWidth=this._getStrokeWidth(t),e.strokeStyle=r,e.fillStyle=n,e.beginPath(),e.arc(t.screen.x,t.screen.y,o,0,2*Math.PI,!0),e.fill(),e.stroke()},v.prototype._getColorsRegular=function(e){var t=240*(1-(e.point.z-this.zRange.min)*this.scale.z/this.verticalRatio);return{fill:this._hsv2rgb(t,1,1),border:this._hsv2rgb(t,1,.8)}},v.prototype._getColorsColor=function(e){var t,n;if("string"==typeof e.point.value)t=e.point.value,n=e.point.value;else{var r=240*(1-(e.point.value-this.valueRange.min)*this.scale.value);t=this._hsv2rgb(r,1,1),n=this._hsv2rgb(r,1,.8)}return{fill:t,border:n}},v.prototype._getColorsSize=function(){return{fill:this.dataColor.fill,border:this.dataColor.stroke}},v.prototype._calcRadius=function(e,t){var n;return void 0===t&&(t=this._dotSize()),(n=this.showPerspective?t/-e.trans.z:t*(-this.eye.z/this.camera.getArmLength()))<0&&(n=0),n},v.prototype._redrawBarGraphPoint=function(e,t){var n=this.xBarWidth/2,r=this.yBarWidth/2,i=this._getColorsRegular(t);this._redrawBar(e,t,n,r,i.fill,i.border)},v.prototype._redrawBarColorGraphPoint=function(e,t){var n=this.xBarWidth/2,r=this.yBarWidth/2,i=this._getColorsColor(t);this._redrawBar(e,t,n,r,i.fill,i.border)},v.prototype._redrawBarSizeGraphPoint=function(e,t){var n=(t.point.value-this.valueRange.min)/this.valueRange.range(),r=this.xBarWidth/2*(.8*n+.2),i=this.yBarWidth/2*(.8*n+.2),o=this._getColorsSize();this._redrawBar(e,t,r,i,o.fill,o.border)},v.prototype._redrawDotGraphPoint=function(e,t){var n=this._getColorsRegular(t);this._drawCircle(e,t,n.fill,n.border)},v.prototype._redrawDotLineGraphPoint=function(e,t){var n=this._convert3Dto2D(t.bottom);e.lineWidth=1,this._line(e,n,t.screen,this.gridColor),this._redrawDotGraphPoint(e,t)},v.prototype._redrawDotColorGraphPoint=function(e,t){var n=this._getColorsColor(t);this._drawCircle(e,t,n.fill,n.border)},v.prototype._redrawDotSizeGraphPoint=function(e,t){var n=this._dotSize(),r=(t.point.value-this.valueRange.min)/this.valueRange.range(),i=n*this.dotSizeMinFraction,o=i+(n*this.dotSizeMaxFraction-i)*r,a=this._getColorsSize();this._drawCircle(e,t,a.fill,a.border,o)},v.prototype._redrawSurfaceGraphPoint=function(e,t){var n=t.pointRight,r=t.pointTop,i=t.pointCross;if(void 0!==t&&void 0!==n&&void 0!==r&&void 0!==i){var o,a,u=!0;if(this.showGrayBottom||this.showShadow){var l=s.subtract(i.trans,t.trans),c=s.subtract(r.trans,n.trans),d=s.crossProduct(l,c),f=d.length();u=d.z>0}if(u){var h,p=240*(1-((t.point.z+n.point.z+r.point.z+i.point.z)/4-this.zRange.min)*this.scale.z/this.verticalRatio);this.showShadow?(h=Math.min(1+d.x/f/2,1),a=o=this._hsv2rgb(p,1,h)):(o=this._hsv2rgb(p,1,h=1),a=this.axisColor)}else o="gray",a=this.axisColor;e.lineWidth=this._getStrokeWidth(t),this._polygon(e,[t,n,i,r],o,a)}},v.prototype._drawGridLine=function(e,t,n){if(void 0!==t&&void 0!==n){var r=240*(1-((t.point.z+n.point.z)/2-this.zRange.min)*this.scale.z/this.verticalRatio);e.lineWidth=2*this._getStrokeWidth(t),e.strokeStyle=this._hsv2rgb(r,1,1),this._line(e,t.screen,n.screen)}},v.prototype._redrawGridGraphPoint=function(e,t){this._drawGridLine(e,t,t.pointRight),this._drawGridLine(e,t,t.pointTop)},v.prototype._redrawLineGraphPoint=function(e,t){void 0!==t.pointNext&&(e.lineWidth=this._getStrokeWidth(t),e.strokeStyle=this.dataColor.stroke,this._line(e,t.screen,t.pointNext.screen))},v.prototype._redrawDataGraph=function(){var e,t=this._getContext();if(!(void 0===this.dataPoints||this.dataPoints.length<=0))for(this._calcTranslations(this.dataPoints),e=0;e<this.dataPoints.length;e++)this._pointDrawingMethod.call(this,t,this.dataPoints[e])},v.prototype._storeMousePosition=function(e){this.startMouseX=g(e),this.startMouseY=y(e),this._startCameraOffset=this.camera.getOffset()},v.prototype._onMouseDown=function(e){if(e=e||window.event,this.leftButtonDown&&this._onMouseUp(e),this.leftButtonDown=e.which?1===e.which:1===e.button,this.leftButtonDown||this.touchDown){this._storeMousePosition(e),this.startStart=new Date(this.start),this.startEnd=new Date(this.end),this.startArmRotation=this.camera.getArmRotation(),this.frame.style.cursor="move";var t=this;this.onmousemove=function(e){t._onMouseMove(e)},this.onmouseup=function(e){t._onMouseUp(e)},a.addEventListener(document,"mousemove",t.onmousemove),a.addEventListener(document,"mouseup",t.onmouseup),a.preventDefault(e)}},v.prototype._onMouseMove=function(e){this.moving=!0,e=e||window.event;var t=parseFloat(g(e))-this.startMouseX,n=parseFloat(y(e))-this.startMouseY;if(e&&!0===e.ctrlKey)this.camera.setOffset((this._startCameraOffset.x||0)-t/(.5*this.frame.clientWidth)*this.camera.armLength*.8,(this._startCameraOffset.y||0)+n/(.5*this.frame.clientHeight)*this.camera.armLength*.8),this._storeMousePosition(e);else{var r=this.startArmRotation.horizontal+t/200,i=this.startArmRotation.vertical+n/200,o=Math.sin(4/360*2*Math.PI);Math.abs(Math.sin(r))<o&&(r=Math.round(r/Math.PI)*Math.PI-.001),Math.abs(Math.cos(r))<o&&(r=(Math.round(r/Math.PI-.5)+.5)*Math.PI-.001),Math.abs(Math.sin(i))<o&&(i=Math.round(i/Math.PI)*Math.PI),Math.abs(Math.cos(i))<o&&(i=(Math.round(i/Math.PI-.5)+.5)*Math.PI),this.camera.setArmRotation(r,i)}this.redraw();var s=this.getCameraPosition();this.emit("cameraPositionChange",s),a.preventDefault(e)},v.prototype._onMouseUp=function(e){this.frame.style.cursor="auto",this.leftButtonDown=!1,a.removeEventListener(document,"mousemove",this.onmousemove),a.removeEventListener(document,"mouseup",this.onmouseup),a.preventDefault(e)},v.prototype._onClick=function(e){if(this.onclick_callback){if(this.moving)this.moving=!1;else{var t=this.frame.getBoundingClientRect(),n=g(e)-t.left,r=y(e)-t.top,i=this._dataPointFromXY(n,r);i&&this.onclick_callback(i.point.data)}a.preventDefault(e)}},v.prototype._onTooltip=function(e){var t=this.frame.getBoundingClientRect(),n=g(e)-t.left,r=y(e)-t.top;if(this.showTooltip)if(this.tooltipTimeout&&clearTimeout(this.tooltipTimeout),this.leftButtonDown)this._hideTooltip();else if(this.tooltip&&this.tooltip.dataPoint){var i=this._dataPointFromXY(n,r);i!==this.tooltip.dataPoint&&(i?this._showTooltip(i):this._hideTooltip())}else{var o=this;this.tooltipTimeout=setTimeout((function(){o.tooltipTimeout=null;var e=o._dataPointFromXY(n,r);e&&o._showTooltip(e)}),300)}},v.prototype._onTouchStart=function(e){this.touchDown=!0;var t=this;this.ontouchmove=function(e){t._onTouchMove(e)},this.ontouchend=function(e){t._onTouchEnd(e)},a.addEventListener(document,"touchmove",t.ontouchmove),a.addEventListener(document,"touchend",t.ontouchend),this._onMouseDown(e)},v.prototype._onTouchMove=function(e){this._onMouseMove(e)},v.prototype._onTouchEnd=function(e){this.touchDown=!1,a.removeEventListener(document,"touchmove",this.ontouchmove),a.removeEventListener(document,"touchend",this.ontouchend),this._onMouseUp(e)},v.prototype._onWheel=function(e){e||(e=window.event);var t=0;if(e.wheelDelta?t=e.wheelDelta/120:e.detail&&(t=-e.detail/3),t){var n=this.camera.getArmLength()*(1-t/10);this.camera.setArmLength(n),this.redraw(),this._hideTooltip()}var r=this.getCameraPosition();this.emit("cameraPositionChange",r),a.preventDefault(e)},v.prototype._insideTriangle=function(e,t){var n=t[0],r=t[1],i=t[2];function o(e){return e>0?1:e<0?-1:0}var a=o((r.x-n.x)*(e.y-n.y)-(r.y-n.y)*(e.x-n.x)),s=o((i.x-r.x)*(e.y-r.y)-(i.y-r.y)*(e.x-r.x)),u=o((n.x-i.x)*(e.y-i.y)-(n.y-i.y)*(e.x-i.x));return!(0!=a&&0!=s&&a!=s||0!=s&&0!=u&&s!=u||0!=a&&0!=u&&a!=u)},v.prototype._dataPointFromXY=function(e,t){var n,r=null,i=null,o=null,a=new u(e,t);if(this.style===v.STYLE.BAR||this.style===v.STYLE.BARCOLOR||this.style===v.STYLE.BARSIZE)for(n=this.dataPoints.length-1;n>=0;n--){var s=(r=this.dataPoints[n]).surfaces;if(s)for(var l=s.length-1;l>=0;l--){var c=s[l].corners,d=[c[2].screen,c[3].screen,c[0].screen];if(this._insideTriangle(a,[c[0].screen,c[1].screen,c[2].screen])||this._insideTriangle(a,d))return r}}else for(n=0;n<this.dataPoints.length;n++){var f=(r=this.dataPoints[n]).screen;if(f){var h=Math.abs(e-f.x),p=Math.abs(t-f.y),m=Math.sqrt(h*h+p*p);(null===o||m<o)&&m<100&&(o=m,i=r)}}return i},v.prototype.hasBars=function(e){return e==v.STYLE.BAR||e==v.STYLE.BARCOLOR||e==v.STYLE.BARSIZE},v.prototype._showTooltip=function(e){var t,n,r;this.tooltip?(t=this.tooltip.dom.content,n=this.tooltip.dom.line,r=this.tooltip.dom.dot):(t=document.createElement("div"),(0,i.default)(t.style,{},this.tooltipStyle.content),t.style.position="absolute",n=document.createElement("div"),(0,i.default)(n.style,{},this.tooltipStyle.line),n.style.position="absolute",r=document.createElement("div"),(0,i.default)(r.style,{},this.tooltipStyle.dot),r.style.position="absolute",this.tooltip={dataPoint:null,dom:{content:t,line:n,dot:r}}),this._hideTooltip(),this.tooltip.dataPoint=e,t.innerHTML="function"==typeof this.showTooltip?this.showTooltip(e.point):"<table><tr><td>"+this.xLabel+":</td><td>"+e.point.x+"</td></tr><tr><td>"+this.yLabel+":</td><td>"+e.point.y+"</td></tr><tr><td>"+this.zLabel+":</td><td>"+e.point.z+"</td></tr></table>",t.style.left="0",t.style.top="0",this.frame.appendChild(t),this.frame.appendChild(n),this.frame.appendChild(r);var o=t.offsetWidth,a=t.offsetHeight,s=n.offsetHeight,u=r.offsetWidth,l=r.offsetHeight,c=e.screen.x-o/2;c=Math.min(Math.max(c,10),this.frame.clientWidth-10-o),n.style.left=e.screen.x+"px",n.style.top=e.screen.y-s+"px",t.style.left=c+"px",t.style.top=e.screen.y-s-a+"px",r.style.left=e.screen.x-u/2+"px",r.style.top=e.screen.y-l/2+"px"},v.prototype._hideTooltip=function(){if(this.tooltip)for(var e in this.tooltip.dataPoint=null,this.tooltip.dom)if(this.tooltip.dom.hasOwnProperty(e)){var t=this.tooltip.dom[e];t&&t.parentNode&&t.parentNode.removeChild(t)}},v.prototype.setCameraPosition=function(e){d.setCameraPosition(e,this),this.redraw()},v.prototype.setSize=function(e,t){this._setSize(e,t),this.redraw()},e.exports=v},function(e,t,n){n(163),e.exports=n(7).Object.assign},function(e,t,n){var r=n(17);r(r.S+r.F,"Object",{assign:n(164)})},function(e,t,n){var r=n(33),i=n(64),o=n(43),a=n(42),s=n(78),u=Object.assign;e.exports=!u||n(29)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){for(var n=a(e),u=arguments.length,l=1,c=i.f,d=o.f;u>l;)for(var f,h=s(arguments[l++]),p=c?r(h).concat(c(h)):r(h),m=p.length,v=0;m>v;)d.call(h,f=p[v++])&&(n[f]=h[f]);return n}:u},function(e,t,n){e.exports={default:n(166),__esModule:!0}},function(e,t,n){n(167),e.exports=n(7).Math.sign},function(e,t,n){var r=n(17);r(r.S,"Math",{sign:n(168)})},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){e.exports={default:n(170),__esModule:!0}},function(e,t,n){n(171);var r=n(7).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(17);r(r.S+r.F*!n(21),"Object",{defineProperty:n(20).f})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="string",i="boolean",o="number",a={fill:{string:r},stroke:{string:r},strokeWidth:{number:o},__type__:{string:r,object:"object",undefined:"undefined"}};t.allOptions={animationAutoStart:{boolean:i,undefined:"undefined"},animationInterval:{number:o},animationPreload:{boolean:i},axisColor:{string:r},backgroundColor:a,xBarWidth:{number:o,undefined:"undefined"},yBarWidth:{number:o,undefined:"undefined"},cameraPosition:{distance:{number:o},horizontal:{number:o},vertical:{number:o},__type__:{object:"object"}},xCenter:{string:r},yCenter:{string:r},dataColor:a,dotSizeMinFraction:{number:o},dotSizeMaxFraction:{number:o},dotSizeRatio:{number:o},filterLabel:{string:r},gridColor:{string:r},onclick:{function:"function"},keepAspectRatio:{boolean:i},xLabel:{string:r},yLabel:{string:r},zLabel:{string:r},legendLabel:{string:r},xMin:{number:o,undefined:"undefined"},yMin:{number:o,undefined:"undefined"},zMin:{number:o,undefined:"undefined"},xMax:{number:o,undefined:"undefined"},yMax:{number:o,undefined:"undefined"},zMax:{number:o,undefined:"undefined"},showAnimationControls:{boolean:i,undefined:"undefined"},showGrid:{boolean:i},showLegend:{boolean:i,undefined:"undefined"},showPerspective:{boolean:i},showShadow:{boolean:i},showXAxis:{boolean:i},showYAxis:{boolean:i},showZAxis:{boolean:i},xStep:{number:o,undefined:"undefined"},yStep:{number:o,undefined:"undefined"},zStep:{number:o,undefined:"undefined"},style:{number:o,string:["bar","bar-color","bar-size","dot","dot-line","dot-color","dot-size","line","grid","surface"]},tooltip:{boolean:i,function:"function"},tooltipStyle:{content:{color:{string:r},background:{string:r},border:{string:r},borderRadius:{string:r},boxShadow:{string:r},padding:{string:r},__type__:{object:"object"}},line:{borderLeft:{string:r},height:{string:r},width:{string:r},__type__:{object:"object"}},dot:{border:{string:r},borderRadius:{string:r},height:{string:r},width:{string:r},__type__:{object:"object"}},__type__:{object:"object"}},xValueLabel:{function:"function"},yValueLabel:{function:"function"},zValueLabel:{function:"function"},valueMax:{number:o,undefined:"undefined"},valueMin:{number:o,undefined:"undefined"},verticalRatio:{number:o},height:{string:r},width:{string:r},__type__:{object:"object"}}},function(e,t,n){var r=n(11),i=n(12),o=n(174),a=n(96),s=n(94),u=n(34);function l(){this.dataTable=null}l.prototype.initializeData=function(e,t,n){if(void 0!==t){var o;if(Array.isArray(t)&&(t=new r(t)),!(t instanceof r||t instanceof i))throw new Error("Array, DataSet, or DataView expected");if(0!=(o=t.get()).length){this.style=n,this.dataSet&&this.dataSet.off("*",this._onChange),this.dataSet=t,this.dataTable=o;var s=this;this._onChange=function(){e.setData(s.dataSet)},this.dataSet.on("*",this._onChange),this.colX="x",this.colY="y",this.colZ="z";var u=e.hasBars(n);if(u&&(this.xBarWidth=void 0!==e.defaultXBarWidth?e.defaultXBarWidth:this.getSmallestDifference(o,this.colX)||1,this.yBarWidth=void 0!==e.defaultYBarWidth?e.defaultYBarWidth:this.getSmallestDifference(o,this.colY)||1),this._initializeRange(o,this.colX,e,u),this._initializeRange(o,this.colY,e,u),this._initializeRange(o,this.colZ,e,!1),o[0].hasOwnProperty("style")){this.colValue="style";var l=this.getColumnRange(o,this.colValue);this._setRangeDefaults(l,e.defaultValueMin,e.defaultValueMax),this.valueRange=l}return this.getDataTable()[0].hasOwnProperty("filter")&&void 0===this.dataFilter&&(this.dataFilter=new a(this,"filter",e),this.dataFilter.setOnLoadCallback((function(){e.redraw()}))),this.dataFilter?this.dataFilter._getDataPoints():this._getDataPoints(this.getDataTable())}}},l.prototype._collectRangeSettings=function(e,t){if(-1==["x","y","z"].indexOf(e))throw new Error("Column '"+e+"' invalid");var n=e.toUpperCase();return{barWidth:this[e+"BarWidth"],min:t["default"+n+"Min"],max:t["default"+n+"Max"],step:t["default"+n+"Step"],range_label:e+"Range",step_label:e+"Step"}},l.prototype._initializeRange=function(e,t,n,r){var i=this._collectRangeSettings(t,n),o=this.getColumnRange(e,t);r&&"z"!=t&&o.expand(i.barWidth/2),this._setRangeDefaults(o,i.min,i.max),this[i.range_label]=o,this[i.step_label]=void 0!==i.step?i.step:o.range()/5},l.prototype.getDistinctValues=function(e,t){void 0===t&&(t=this.dataTable);for(var n=[],r=0;r<t.length;r++){var i=t[r][e]||0;-1===n.indexOf(i)&&n.push(i)}return n.sort((function(e,t){return e-t}))},l.prototype.getSmallestDifference=function(e,t){for(var n=this.getDistinctValues(e,t),r=null,i=1;i<n.length;i++){var o=n[i]-n[i-1];(null==r||r>o)&&(r=o)}return r},l.prototype.getColumnRange=function(e,t){for(var n=new o,r=0;r<e.length;r++)n.adjust(e[r][t]);return n},l.prototype.getNumberOfRows=function(){return this.dataTable.length},l.prototype._setRangeDefaults=function(e,t,n){void 0!==t&&(e.min=t),void 0!==n&&(e.max=n),e.max<=e.min&&(e.max=e.min+1)},l.prototype.getDataTable=function(){return this.dataTable},l.prototype.getDataSet=function(){return this.dataSet},l.prototype.getDataPoints=function(e){for(var t=[],n=0;n<e.length;n++){var r=new u;r.x=e[n][this.colX]||0,r.y=e[n][this.colY]||0,r.z=e[n][this.colZ]||0,r.data=e[n],void 0!==this.colValue&&(r.value=e[n][this.colValue]||0);var i={};i.point=r,i.bottom=new u(r.x,r.y,this.zRange.min),i.trans=void 0,i.screen=void 0,t.push(i)}return t},l.prototype.initDataAsMatrix=function(e){var t,n,r,i,o=this.getDistinctValues(this.colX,e),a=this.getDistinctValues(this.colY,e),s=this.getDataPoints(e),u=[];for(r=0;r<s.length;r++){var l=o.indexOf((i=s[r]).point.x),c=a.indexOf(i.point.y);void 0===u[l]&&(u[l]=[]),u[l][c]=i}for(t=0;t<u.length;t++)for(n=0;n<u[t].length;n++)u[t][n]&&(u[t][n].pointRight=t<u.length-1?u[t+1][n]:void 0,u[t][n].pointTop=n<u[t].length-1?u[t][n+1]:void 0,u[t][n].pointCross=t<u.length-1&&n<u[t].length-1?u[t+1][n+1]:void 0);return s},l.prototype.getInfo=function(){var e=this.dataFilter;if(e)return e.getLabel()+": "+e.getSelectedValue()},l.prototype.reload=function(){this.dataTable&&this.setData(this.dataTable)},l.prototype._getDataPoints=function(e){var t=[];if(this.style===s.STYLE.GRID||this.style===s.STYLE.SURFACE)t=this.initDataAsMatrix(e);else if(this._checkValueField(e),t=this.getDataPoints(e),this.style===s.STYLE.LINE)for(var n=0;n<t.length;n++)n>0&&(t[n-1].pointNext=t[n]);return t},l.prototype._checkValueField=function(e){if(this.style===s.STYLE.BARCOLOR||this.style===s.STYLE.BARSIZE||this.style===s.STYLE.DOTCOLOR||this.style===s.STYLE.DOTSIZE){if(void 0===this.colValue)throw new Error("Expected data to have  field 'style'  for graph style '"+this.style+"'");if(void 0===e[0][this.colValue])throw new Error("Expected data to have  field '"+this.colValue+"'  for graph style '"+this.style+"'")}},e.exports=l},function(e,t,n){function r(){this.min=void 0,this.max=void 0}r.prototype.adjust=function(e){void 0!==e&&((void 0===this.min||this.min>e)&&(this.min=e),(void 0===this.max||this.max<e)&&(this.max=e))},r.prototype.combine=function(e){this.add(e.min),this.add(e.max)},r.prototype.expand=function(e){if(void 0!==e){var t=this.min-e,n=this.max+e;if(t>n)throw new Error("Passed expansion value makes range invalid");this.min=t,this.max=n}},r.prototype.range=function(){return this.max-this.min},r.prototype.center=function(){return(this.min+this.max)/2},e.exports=r},function(e,t,n){var r,i;void 0===(i="function"==typeof(r=function(){var e=null;return function t(n,r){var i=r||{preventDefault:!1};if(n.Manager){var o=n,a=function(e,n){var r=Object.create(i);return n&&o.assign(r,n),t(new o(e,r),r)};return o.assign(a,o),a.Manager=function(e,n){var r=Object.create(i);return n&&o.assign(r,n),t(new o.Manager(e,r),r)},a}var s=Object.create(n),u=n.element;function l(e){return e.match(/[^ ]+/g)}function c(t){if("hammer.input"!==t.type){if(t.srcEvent._handled||(t.srcEvent._handled={}),t.srcEvent._handled[t.type])return;t.srcEvent._handled[t.type]=!0}var n=!1;t.stopPropagation=function(){n=!0};var r=t.srcEvent.stopPropagation.bind(t.srcEvent);"function"==typeof r&&(t.srcEvent.stopPropagation=function(){r(),t.stopPropagation()}),t.firstTarget=e;for(var i=e;i&&!n;){var o=i.hammer;if(o)for(var a,s=0;s<o.length;s++)if(a=o[s]._handlers[t.type])for(var u=0;u<a.length&&!n;u++)a[u](t);i=i.parentNode}}return u.hammer||(u.hammer=[]),u.hammer.push(s),n.on("hammer.input",(function(t){!0!==i.preventDefault&&i.preventDefault!==t.pointerType||t.preventDefault(),t.isFirst&&(e=t.target)})),s._handlers={},s.on=function(e,t){return l(e).forEach((function(e){var r=s._handlers[e];r||(s._handlers[e]=r=[],n.on(e,c)),r.push(t)})),s},s.off=function(e,t){return l(e).forEach((function(e){var r=s._handlers[e];r&&((r=t?r.filter((function(e){return e!==t})):[]).length>0?s._handlers[e]=r:(n.off(e,c),delete s._handlers[e]))})),s},s.emit=function(t,r){e=r.target,n.emit(t,r)},s.destroy=function(){var e=n.element.hammer,t=e.indexOf(s);-1!==t&&e.splice(t,1),e.length||delete n.element.hammer,s._handlers={},n.destroy()},s}})?r.apply(t,[]):r)||(e.exports=i)},function(e,t,n){var r;!function(i,o,a,s){var u,l=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d=Math.round,f=Math.abs,h=Date.now;function p(e,t,n){return setTimeout(w(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function g(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),e.apply(this,arguments)}}u="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t}:Object.assign;var y=g((function(e,t,n){for(var r=Object.keys(t),i=0;i<r.length;)(!n||n&&void 0===e[r[i]])&&(e[r[i]]=t[r[i]]),i++;return e}),"extend","Use `assign`."),b=g((function(e,t){return y(e,t,!0)}),"merge","Use `assign`.");function _(e,t,n){var r,i=t.prototype;(r=e.prototype=Object.create(i)).constructor=e,r._super=i,n&&u(r,n)}function w(e,t){return function(){return e.apply(t,arguments)}}function E(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function C(e,t){return void 0===e?t:e}function A(e,t,n){v(D(t),(function(t){e.addEventListener(t,n,!1)}))}function k(e,t,n){v(D(t),(function(t){e.removeEventListener(t,n,!1)}))}function S(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function x(e,t){return e.indexOf(t)>-1}function D(e){return e.trim().split(/\s+/g)}function O(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function T(e){return Array.prototype.slice.call(e,0)}function F(e,t,n){for(var r=[],i=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];O(i,a)<0&&r.push(e[o]),i[o]=a,o++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function M(e,t){for(var n,r,i=t[0].toUpperCase()+t.slice(1),o=0;o<l.length;){if((r=(n=l[o])?n+i:t)in e)return r;o++}}var P=1;function L(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||i}var R="ontouchstart"in i,B=void 0!==M(i,"PointerEvent"),j=R&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),I=["x","y"],N=["clientX","clientY"];function H(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){E(e.options.enable,[e])&&n.handler(t)},this.init()}function z(e,t,n){var r=n.pointers.length,i=n.changedPointers.length,o=1&t&&r-i==0,a=12&t&&r-i==0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,i=r.length;n.firstInput||(n.firstInput=Y(t)),i>1&&!n.firstMultiple?n.firstMultiple=Y(t):1===i&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,u=t.center=U(r);t.timeStamp=h(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=G(s,u),t.distance=W(s,u),function(e,t){var n=t.center,r=e.offsetDelta||{},i=e.prevDelta||{},o=e.prevInput||{};1!==t.eventType&&4!==o.eventType||(i=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=i.x+(n.x-r.x),t.deltaY=i.y+(n.y-r.y)}(n,t),t.offsetDirection=$(t.deltaX,t.deltaY);var l,c,d=V(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=d.x,t.overallVelocityY=d.y,t.overallVelocity=f(d.x)>f(d.y)?d.x:d.y,t.scale=a?(l=a.pointers,W((c=r)[0],c[1],N)/W(l[0],l[1],N)):1,t.rotation=a?function(e,t){return G(t[1],t[0],N)+G(e[1],e[0],N)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,i,o,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(s>25||void 0===a.velocity)){var u=t.deltaX-a.deltaX,l=t.deltaY-a.deltaY,c=V(s,u,l);r=c.x,i=c.y,n=f(c.x)>f(c.y)?c.x:c.y,o=$(u,l),e.lastInterval=t}else n=a.velocity,r=a.velocityX,i=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=i,t.direction=o}(n,t);var p=e.element;S(t.srcEvent.target,p)&&(p=t.srcEvent.target),t.target=p}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function Y(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:d(e.pointers[n].clientX),clientY:d(e.pointers[n].clientY)},n++;return{timeStamp:h(),pointers:t,center:U(t),deltaX:e.deltaX,deltaY:e.deltaY}}function U(e){var t=e.length;if(1===t)return{x:d(e[0].clientX),y:d(e[0].clientY)};for(var n=0,r=0,i=0;i<t;)n+=e[i].clientX,r+=e[i].clientY,i++;return{x:d(n/t),y:d(r/t)}}function V(e,t,n){return{x:t/e||0,y:n/e||0}}function $(e,t){return e===t?1:f(e)>=f(t)?e<0?2:4:t<0?8:16}function W(e,t,n){n||(n=I);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return Math.sqrt(r*r+i*i)}function G(e,t,n){return n||(n=I),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}H.prototype={handler:function(){},init:function(){this.evEl&&A(this.element,this.evEl,this.domHandler),this.evTarget&&A(this.target,this.evTarget,this.domHandler),this.evWin&&A(L(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(L(this.element),this.evWin,this.domHandler)}};var q={mousedown:1,mousemove:2,mouseup:4};function K(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,H.apply(this,arguments)}_(K,H,{handler:function(e){var t=q[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var X={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Z={2:"touch",3:"pen",4:"mouse",5:"kinect"},J="pointerdown",Q="pointermove pointerup pointercancel";function ee(){this.evEl=J,this.evWin=Q,H.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(J="MSPointerDown",Q="MSPointerMove MSPointerUp MSPointerCancel"),_(ee,H,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),i=X[r],o=Z[e.pointerType]||e.pointerType,a="touch"==o,s=O(t,e.pointerId,"pointerId");1&i&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&i&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,i,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,H.apply(this,arguments)}function re(e,t){var n=T(e.touches),r=T(e.changedTouches);return 12&t&&(n=F(n.concat(r),"identifier",!0)),[n,r]}_(ne,H,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=re.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var ie={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function oe(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},H.apply(this,arguments)}function ae(e,t){var n=T(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,a=T(e.changedTouches),s=[],u=this.target;if(o=n.filter((function(e){return S(e.target,u)})),1===t)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<a.length;)r[a[i].identifier]&&s.push(a[i]),12&t&&delete r[a[i].identifier],i++;return s.length?[F(o.concat(s),"identifier",!0),s]:void 0}function se(){H.apply(this,arguments);var e=w(this.handler,this);this.touch=new oe(this.manager,e),this.mouse=new K(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ue(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,le.call(this,t)):12&e&&le.call(this,t)}function le(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function ce(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(t-i.x),a=Math.abs(n-i.y);if(o<=25&&a<=25)return!0}return!1}_(oe,H,{handler:function(e){var t=ie[e.type],n=ae.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}),_(se,H,{handler:function(e,t,n){var r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)ue.call(this,t,n);else if(r&&ce.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var de=M(c.style,"touchAction"),fe=void 0!==de,he=function(){if(!fe)return!1;var e={},t=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||i.CSS.supports("touch-action",n)})),e}();function pe(e,t){this.manager=e,this.set(t)}function me(e){this.options=u({},this.defaults,e||{}),this.id=P++,this.manager=null,this.options.enable=C(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function ve(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function ge(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function ye(e,t){var n=t.manager;return n?n.get(e):e}function be(){me.apply(this,arguments)}function _e(){be.apply(this,arguments),this.pX=null,this.pY=null}function we(){be.apply(this,arguments)}function Ee(){me.apply(this,arguments),this._timer=null,this._input=null}function Ce(){be.apply(this,arguments)}function Ae(){be.apply(this,arguments)}function ke(){me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Se(e,t){return(t=t||{}).recognizers=C(t.recognizers,Se.defaults.preset),new xe(e,t)}function xe(e,t){var n;this.options=u({},Se.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(B?ee:j?oe:R?se:K))(n,z),this.touchAction=new pe(this,this.options.touchAction),De(this,!0),v(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function De(e,t){var n,r=e.element;r.style&&(v(e.options.cssProps,(function(i,o){n=M(r.style,o),t?(e.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}pe.prototype={set:function(e){"compute"==e&&(e=this.compute()),fe&&this.manager.element.style&&he[e]&&(this.manager.element.style[de]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return v(this.manager.recognizers,(function(t){E(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(x(e,"none"))return"none";var t=x(e,"pan-x"),n=x(e,"pan-y");return t&&n?"none":t||n?t?"pan-x":"pan-y":x(e,"manipulation")?"manipulation":"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,i=x(r,"none")&&!he.none,o=x(r,"pan-y")&&!he["pan-y"],a=x(r,"pan-x")&&!he["pan-x"];if(i&&1===e.pointers.length&&e.distance<2&&e.deltaTime<250)return;if(!a||!o)return i||o&&6&n||a&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}},me.prototype={defaults:{},set:function(e){return u(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=ye(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=ye(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===O(t,e=ye(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=ye(e,this);var t=O(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+ve(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+ve(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=u({},e);if(!E(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},_(be,me,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,i=this.attrTest(e);return r&&(8&n||!i)?16|t:r||i?4&n?8|t:2&t?4|t:2:32}}),_(_e,be,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push("pan-y"),24&e&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,i=e.direction,o=e.deltaX,a=e.deltaY;return i&t.direction||(6&t.direction?(i=0===o?1:o<0?2:4,n=o!=this.pX,r=Math.abs(e.deltaX)):(i=0===a?1:a<0?8:16,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=i,n&&r>t.threshold&&i&t.direction},attrTest:function(e){return be.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ge(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),_(we,be,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),_(Ee,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!i)this.reset();else if(1&e.eventType)this.reset(),this._timer=p((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),_(Ce,be,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),_(Ae,be,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return _e.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&f(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ge(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),_(ke,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&i&&n){if(4!=e.eventType)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||W(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=p((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=p((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Se.VERSION="2.0.7",Se.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Ce,{enable:!1}],[we,{enable:!1},["rotate"]],[Ae,{direction:6}],[_e,{direction:6},["swipe"]],[ke],[ke,{event:"doubletap",taps:2},["tap"]],[Ee]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},xe.prototype={set:function(e){return u(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,i=t.curRecognizer;(!i||i&&8&i.state)&&(i=t.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===t.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(e),!i&&14&n.state&&(i=t.curRecognizer=n),o++}},get:function(e){if(e instanceof me)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=O(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(void 0!==e&&void 0!==t){var n=this.handlers;return v(D(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(void 0!==e){var n=this.handlers;return v(D(e),(function(e){t?n[e]&&n[e].splice(O(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&De(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(Se,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:xe,Input:H,TouchAction:pe,TouchInput:oe,MouseInput:K,PointerEventInput:ee,TouchMouseInput:se,SingleTouchInput:ne,Recognizer:me,AttrRecognizer:be,Tap:ke,Pan:_e,Swipe:Ae,Pinch:we,Rotate:Ce,Press:Ee,on:A,off:k,each:v,merge:b,extend:y,assign:u,inherit:_,bindFn:w,prefixed:M}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=Se,void 0===(r=(function(){return Se}).call(t,n,t,e))||(e.exports=r)}(window,document)},function(e,t,n){t.util=n(2),t.DOMutil=n(14),t.DataSet=n(11),t.DataView=n(12),t.Queue=n(44),t.Timeline=n(178),t.Graph2d=n(180),t.timeline={Core:n(66),DateUtil:n(36),Range:n(65),stack:n(100),TimeStep:n(67),components:{items:{Item:n(38),BackgroundItem:n(103),BoxItem:n(101),PointItem:n(102),RangeItem:n(71)},BackgroundGroup:n(70),Component:n(16),CurrentTime:n(68),CustomTime:n(47),DataAxis:n(107),DataScale:n(108),GraphGroup:n(109),Group:n(69),ItemSet:n(99),Legend:n(112),LineGraph:n(106),TimeAxis:n(46)}},t.moment=n(9),t.Hammer=n(10),t.keycharm=n(35)},function(e,t,n){var r=n(9),i=n(2),o=n(11),a=n(12),s=n(65),u=n(66),l=n(46),c=n(68),d=n(47),f=n(99),h=n(15).printStyle,p=n(105).allOptions,m=n(105).configureOptions,v=n(72).default,g=n(15).default;function y(e,t,n,u){if(!(this instanceof y))throw new SyntaxError("Constructor must be called with the new operator");if(!(Array.isArray(n)||n instanceof o||n instanceof a)&&n instanceof Object){var d=u;u=n,n=d}u&&u.throttleRedraw&&console.warn('Timeline option "throttleRedraw" is DEPRICATED and no longer supported. It will be removed in the next MAJOR release.');var h=this;if(this.defaultOptions={start:null,end:null,autoResize:!0,orientation:{axis:"bottom",item:"bottom"},moment:r,width:null,height:null,maxHeight:null,minHeight:null},this.options=i.deepExtend({},this.defaultOptions),this._create(e),!u||u&&void 0===u.rtl){this.dom.root.style.visibility="hidden";for(var p,m=this.dom.root;!p&&m;)p=window.getComputedStyle(m,null).direction,m=m.parentElement;this.options.rtl=p&&"rtl"==p.toLowerCase()}else this.options.rtl=u.rtl;this.options.rollingMode=u&&u.rollingMode,this.options.onInitialDrawComplete=u&&u.onInitialDrawComplete,this.components=[],this.body={dom:this.dom,domProps:this.props,emitter:{on:this.on.bind(this),off:this.off.bind(this),emit:this.emit.bind(this)},hiddenDates:[],util:{getScale:function(){return h.timeAxis.step.scale},getStep:function(){return h.timeAxis.step.step},toScreen:h._toScreen.bind(h),toGlobalScreen:h._toGlobalScreen.bind(h),toTime:h._toTime.bind(h),toGlobalTime:h._toGlobalTime.bind(h)}},this.range=new s(this.body,this.options),this.components.push(this.range),this.body.range=this.range,this.timeAxis=new l(this.body,this.options),this.timeAxis2=null,this.components.push(this.timeAxis),this.currentTime=new c(this.body,this.options),this.components.push(this.currentTime),this.itemSet=new f(this.body,this.options),this.components.push(this.itemSet),this.itemsData=null,this.groupsData=null,this.dom.root.onclick=function(e){h.emit("click",h.getEventProperties(e))},this.dom.root.ondblclick=function(e){h.emit("doubleClick",h.getEventProperties(e))},this.dom.root.oncontextmenu=function(e){h.emit("contextmenu",h.getEventProperties(e))},this.dom.root.onmouseover=function(e){h.emit("mouseOver",h.getEventProperties(e))},window.PointerEvent?(this.dom.root.onpointerdown=function(e){h.emit("mouseDown",h.getEventProperties(e))},this.dom.root.onpointermove=function(e){h.emit("mouseMove",h.getEventProperties(e))},this.dom.root.onpointerup=function(e){h.emit("mouseUp",h.getEventProperties(e))}):(this.dom.root.onmousemove=function(e){h.emit("mouseMove",h.getEventProperties(e))},this.dom.root.onmousedown=function(e){h.emit("mouseDown",h.getEventProperties(e))},this.dom.root.onmouseup=function(e){h.emit("mouseUp",h.getEventProperties(e))}),this.initialFitDone=!1,this.on("changed",(function(){if(null!=this.itemsData&&!this.options.rollingMode){if(!h.initialFitDone)if(h.initialFitDone=!0,null!=h.options.start||null!=h.options.end){if(null==h.options.start||null==h.options.end)var e=h.getItemRange();h.setWindow(null!=h.options.start?h.options.start:e.min,null!=h.options.end?h.options.end:e.max,{animation:!1})}else h.fit({animation:!1});!h.initialDrawDone&&h.initialRangeChangeDone&&(h.initialDrawDone=!0,h.dom.root.style.visibility="visible",h.options.onInitialDrawComplete&&setTimeout((function(){return h.options.onInitialDrawComplete()}),0))}})),u&&this.setOptions(u),n&&this.setGroups(n),t&&this.setItems(t),this._redraw()}function b(e){return i.convert(e.data.start,"Date").valueOf()}function _(e){return i.convert(null!=e.data.end?e.data.end:e.data.start,"Date").valueOf()}function w(e,t){var n=e.props.leftContainer.height,r=e.props.left.height,i=t.parent,o=i.top,a=!0,s=e.timeAxis.options.orientation.axis,u=function(){return"bottom"==s?i.height-t.top-t.height:t.top},l=-1*e._getScrollTop(),c=o+u(),d=t.height;return c<l?o+n<=o+u()+d&&(o+=u()-e.itemSet.options.margin.item.vertical):c+d>l+n?o+=u()+d-n+e.itemSet.options.margin.item.vertical:a=!1,{shouldScroll:a,scrollOffset:o=Math.min(o,r-n),itemTop:c}}(y.prototype=new u)._createConfigurator=function(){return new v(this,this.dom.container,m)},y.prototype.redraw=function(){this.itemSet&&this.itemSet.markDirty({refreshItems:!0}),this._redraw()},y.prototype.setOptions=function(e){if(!0===g.validate(e,p)&&console.log("%cErrors have been found in the supplied options object.",h),u.prototype.setOptions.call(this,e),"type"in e&&e.type!==this.options.type){this.options.type=e.type;var t=this.itemsData;if(t){var n=this.getSelection();this.setItems(null),this.setItems(t),this.setSelection(n)}}},y.prototype.setItems=function(e){var t;t=e?e instanceof o||e instanceof a?e:new o(e,{type:{start:"Date",end:"Date"}}):null,this.itemsData=t,this.itemSet&&this.itemSet.setItems(t)},y.prototype.setGroups=function(e){var t;if(e){var n=function(e){return!1!==e.visible};t=e instanceof o||e instanceof a?new a(e,{filter:n}):new o(e.filter(n))}else t=null;this.groupsData=t,this.itemSet.setGroups(t)},y.prototype.setData=function(e){e&&e.groups&&this.setGroups(e.groups),e&&e.items&&this.setItems(e.items)},y.prototype.setSelection=function(e,t){this.itemSet&&this.itemSet.setSelection(e),t&&t.focus&&this.focus(e,t)},y.prototype.getSelection=function(){return this.itemSet&&this.itemSet.getSelection()||[]},y.prototype.focus=function(e,t){if(this.itemsData&&null!=e){var n=Array.isArray(e)?e:[e],r=this.itemsData.getDataSet().get(n,{type:{start:"Date",end:"Date"}}),i=null,o=null;if(r.forEach((function(e){var t=e.start.valueOf(),n="end"in e?e.end.valueOf():e.start.valueOf();(null===i||t<i)&&(i=t),(null===o||n>o)&&(o=n)})),null!==i&&null!==o){var a=this,s=this.itemSet.items[n[0]],u=-1*this._getScrollTop(),l=null,c=function(){var e=w(a,s);e.shouldScroll&&e.itemTop!=l.itemTop&&(a._setScrollTop(-e.scrollOffset),a._redraw())},d=(i+o)/2,f=Math.max(this.range.end-this.range.start,1.1*(o-i)),h=!t||void 0===t.animation||t.animation;h||(l={shouldScroll:!1,scrollOffset:-1,itemTop:-1}),this.range.setRange(d-f/2,d+f/2,{animation:h},(function(){c(),setTimeout(c,100)}),(function(e,t,n){var r=w(a,s);if(l||(l=r),l.itemTop!=r.itemTop||l.shouldScroll){l.itemTop!=r.itemTop&&r.shouldScroll&&(l=r,u=-1*a._getScrollTop());var i=l.scrollOffset;a._setScrollTop(-(n?i:u+(i-u)*e)),t||a._redraw()}}))}}},y.prototype.fit=function(e,t){var n,r=!e||void 0===e.animation||e.animation,i=this.itemsData&&this.itemsData.getDataSet();1===i.length&&void 0===i.get()[0].end?(n=this.getDataRange(),this.moveTo(n.min.valueOf(),{animation:r},t)):(n=this.getItemRange(),this.range.setRange(n.min,n.max,{animation:r},t))},y.prototype.getItemRange=function(){var e=this.getDataRange(),t=null!==e.min?e.min.valueOf():null,n=null!==e.max?e.max.valueOf():null,r=null,o=null;if(null!=t&&null!=n){var a=n-t;a<=0&&(a=10);var s=a/this.props.center.width,u={},l=0;if(i.forEach(this.itemSet.items,(function(e,t){e.groupShowing&&(u[t]=e.redraw(!0),l=u[t].length)})),l>0)for(var c=0;c<l;c++)i.forEach(u,(function(e){e[c]()}));if(i.forEach(this.itemSet.items,(function(e){var i,a,u=b(e),l=_(e);this.options.rtl?(i=u-(e.getWidthRight()+10)*s,a=l+(e.getWidthLeft()+10)*s):(i=u-(e.getWidthLeft()+10)*s,a=l+(e.getWidthRight()+10)*s),i<t&&(t=i,r=e),a>n&&(n=a,o=e)}).bind(this)),r&&o){var d=r.getWidthLeft()+10,f=o.getWidthRight()+10,h=this.props.center.width-d-f;h>0&&(this.options.rtl?(t=b(r)-f*a/h,n=_(o)+d*a/h):(t=b(r)-d*a/h,n=_(o)+f*a/h))}}return{min:null!=t?new Date(t):null,max:null!=n?new Date(n):null}},y.prototype.getDataRange=function(){var e=null,t=null,n=this.itemsData&&this.itemsData.getDataSet();return n&&n.forEach((function(n){var r=i.convert(n.start,"Date").valueOf(),o=i.convert(null!=n.end?n.end:n.start,"Date").valueOf();(null===e||r<e)&&(e=r),(null===t||o>t)&&(t=o)})),{min:null!=e?new Date(e):null,max:null!=t?new Date(t):null}},y.prototype.getEventProperties=function(e){var t,n=e.center?e.center.x:e.clientX,r=e.center?e.center.y:e.clientY;t=this.options.rtl?i.getAbsoluteRight(this.dom.centerContainer)-n:n-i.getAbsoluteLeft(this.dom.centerContainer);var o=r-i.getAbsoluteTop(this.dom.centerContainer),a=this.itemSet.itemFromTarget(e),s=this.itemSet.groupFromTarget(e),u=d.customTimeFromTarget(e),l=this.itemSet.options.snap||null,c=this.body.util.getScale(),f=this.body.util.getStep(),h=this._toTime(t),p=l?l(h,c,f):h,m=i.getTarget(e),v=null;return null!=a?v="item":null!=u?v="custom-time":i.hasParent(m,this.timeAxis.dom.foreground)||this.timeAxis2&&i.hasParent(m,this.timeAxis2.dom.foreground)?v="axis":i.hasParent(m,this.itemSet.dom.labelSet)?v="group-label":i.hasParent(m,this.currentTime.bar)?v="current-time":i.hasParent(m,this.dom.center)&&(v="background"),{event:e,item:a?a.id:null,group:s?s.groupId:null,what:v,pageX:e.srcEvent?e.srcEvent.pageX:e.pageX,pageY:e.srcEvent?e.srcEvent.pageY:e.pageY,x:t,y:o,time:h,snappedTime:p}},y.prototype.toggleRollingMode=function(){this.range.rolling?this.range.stopRolling():(null==this.options.rollingMode&&this.setOptions(this.options),this.range.startRolling())},e.exports=y},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(19)),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(10),u=n(37),l=n(2),c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;(0,i.default)(this,e),this.pixelRatio=t,this.generated=!1,this.centerCoordinates={x:144.5,y:144.5},this.r=289*.49,this.color={r:255,g:255,b:255,a:1},this.hueCircle=void 0,this.initialColor={r:255,g:255,b:255,a:1},this.previousColor=void 0,this.applied=!1,this.updateCallback=function(){},this.closeCallback=function(){},this._create()}return(0,o.default)(e,[{key:"insertTo",value:function(e){void 0!==this.hammer&&(this.hammer.destroy(),this.hammer=void 0),this.container=e,this.container.appendChild(this.frame),this._bindHammer(),this._setSize()}},{key:"setUpdateCallback",value:function(e){if("function"!=typeof e)throw new Error("Function attempted to set as colorPicker update callback is not a function.");this.updateCallback=e}},{key:"setCloseCallback",value:function(e){if("function"!=typeof e)throw new Error("Function attempted to set as colorPicker closing callback is not a function.");this.closeCallback=e}},{key:"_isColorString",value:function(e){if("string"==typeof e)return{black:"#000000",navy:"#000080",darkblue:"#00008B",mediumblue:"#0000CD",blue:"#0000FF",darkgreen:"#006400",green:"#008000",teal:"#008080",darkcyan:"#008B8B",deepskyblue:"#00BFFF",darkturquoise:"#00CED1",mediumspringgreen:"#00FA9A",lime:"#00FF00",springgreen:"#00FF7F",aqua:"#00FFFF",cyan:"#00FFFF",midnightblue:"#191970",dodgerblue:"#1E90FF",lightseagreen:"#20B2AA",forestgreen:"#228B22",seagreen:"#2E8B57",darkslategray:"#2F4F4F",limegreen:"#32CD32",mediumseagreen:"#3CB371",turquoise:"#40E0D0",royalblue:"#4169E1",steelblue:"#4682B4",darkslateblue:"#483D8B",mediumturquoise:"#48D1CC",indigo:"#4B0082",darkolivegreen:"#556B2F",cadetblue:"#5F9EA0",cornflowerblue:"#6495ED",mediumaquamarine:"#66CDAA",dimgray:"#696969",slateblue:"#6A5ACD",olivedrab:"#6B8E23",slategray:"#708090",lightslategray:"#778899",mediumslateblue:"#7B68EE",lawngreen:"#7CFC00",chartreuse:"#7FFF00",aquamarine:"#7FFFD4",maroon:"#800000",purple:"#800080",olive:"#808000",gray:"#808080",skyblue:"#87CEEB",lightskyblue:"#87CEFA",blueviolet:"#8A2BE2",darkred:"#8B0000",darkmagenta:"#8B008B",saddlebrown:"#8B4513",darkseagreen:"#8FBC8F",lightgreen:"#90EE90",mediumpurple:"#9370D8",darkviolet:"#9400D3",palegreen:"#98FB98",darkorchid:"#9932CC",yellowgreen:"#9ACD32",sienna:"#A0522D",brown:"#A52A2A",darkgray:"#A9A9A9",lightblue:"#ADD8E6",greenyellow:"#ADFF2F",paleturquoise:"#AFEEEE",lightsteelblue:"#B0C4DE",powderblue:"#B0E0E6",firebrick:"#B22222",darkgoldenrod:"#B8860B",mediumorchid:"#BA55D3",rosybrown:"#BC8F8F",darkkhaki:"#BDB76B",silver:"#C0C0C0",mediumvioletred:"#C71585",indianred:"#CD5C5C",peru:"#CD853F",chocolate:"#D2691E",tan:"#D2B48C",lightgrey:"#D3D3D3",palevioletred:"#D87093",thistle:"#D8BFD8",orchid:"#DA70D6",goldenrod:"#DAA520",crimson:"#DC143C",gainsboro:"#DCDCDC",plum:"#DDA0DD",burlywood:"#DEB887",lightcyan:"#E0FFFF",lavender:"#E6E6FA",darksalmon:"#E9967A",violet:"#EE82EE",palegoldenrod:"#EEE8AA",lightcoral:"#F08080",khaki:"#F0E68C",aliceblue:"#F0F8FF",honeydew:"#F0FFF0",azure:"#F0FFFF",sandybrown:"#F4A460",wheat:"#F5DEB3",beige:"#F5F5DC",whitesmoke:"#F5F5F5",mintcream:"#F5FFFA",ghostwhite:"#F8F8FF",salmon:"#FA8072",antiquewhite:"#FAEBD7",linen:"#FAF0E6",lightgoldenrodyellow:"#FAFAD2",oldlace:"#FDF5E6",red:"#FF0000",fuchsia:"#FF00FF",magenta:"#FF00FF",deeppink:"#FF1493",orangered:"#FF4500",tomato:"#FF6347",hotpink:"#FF69B4",coral:"#FF7F50",darkorange:"#FF8C00",lightsalmon:"#FFA07A",orange:"#FFA500",lightpink:"#FFB6C1",pink:"#FFC0CB",gold:"#FFD700",peachpuff:"#FFDAB9",navajowhite:"#FFDEAD",moccasin:"#FFE4B5",bisque:"#FFE4C4",mistyrose:"#FFE4E1",blanchedalmond:"#FFEBCD",papayawhip:"#FFEFD5",lavenderblush:"#FFF0F5",seashell:"#FFF5EE",cornsilk:"#FFF8DC",lemonchiffon:"#FFFACD",floralwhite:"#FFFAF0",snow:"#FFFAFA",yellow:"#FFFF00",lightyellow:"#FFFFE0",ivory:"#FFFFF0",white:"#FFFFFF"}[e]}},{key:"setColor",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("none"!==e){var n=void 0,i=this._isColorString(e);if(void 0!==i&&(e=i),!0===l.isString(e)){if(!0===l.isValidRGB(e)){var o=e.substr(4).substr(0,e.length-5).split(",");n={r:o[0],g:o[1],b:o[2],a:1}}else if(!0===l.isValidRGBA(e)){var a=e.substr(5).substr(0,e.length-6).split(",");n={r:a[0],g:a[1],b:a[2],a:a[3]}}else if(!0===l.isValidHex(e)){var s=l.hexToRGB(e);n={r:s.r,g:s.g,b:s.b,a:1}}}else if(e instanceof Object&&void 0!==e.r&&void 0!==e.g&&void 0!==e.b){var u=void 0!==e.a?e.a:"1.0";n={r:e.r,g:e.g,b:e.b,a:u}}if(void 0===n)throw new Error("Unknown color passed to the colorPicker. Supported are strings: rgb, hex, rgba. Object: rgb ({r:r,g:g,b:b,[a:a]}). Supplied: "+(0,r.default)(e));this._setColor(n,t)}}},{key:"show",value:function(){void 0!==this.closeCallback&&(this.closeCallback(),this.closeCallback=void 0),this.applied=!1,this.frame.style.display="block",this._generateHueCircle()}},{key:"_hide",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];!0===t&&(this.previousColor=l.extend({},this.color)),!0===this.applied&&this.updateCallback(this.initialColor),this.frame.style.display="none",setTimeout((function(){void 0!==e.closeCallback&&(e.closeCallback(),e.closeCallback=void 0)}),0)}},{key:"_save",value:function(){this.updateCallback(this.color),this.applied=!1,this._hide()}},{key:"_apply",value:function(){this.applied=!0,this.updateCallback(this.color),this._updatePicker(this.color)}},{key:"_loadLast",value:function(){void 0!==this.previousColor?this.setColor(this.previousColor,!1):alert("There is no last color to load...")}},{key:"_setColor",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];!0===t&&(this.initialColor=l.extend({},e)),this.color=e;var n=l.RGBToHSV(e.r,e.g,e.b),r=2*Math.PI,i=this.r*n.s,o=this.centerCoordinates.x+i*Math.sin(r*n.h),a=this.centerCoordinates.y+i*Math.cos(r*n.h);this.colorPickerSelector.style.left=o-.5*this.colorPickerSelector.clientWidth+"px",this.colorPickerSelector.style.top=a-.5*this.colorPickerSelector.clientHeight+"px",this._updatePicker(e)}},{key:"_setOpacity",value:function(e){this.color.a=e/100,this._updatePicker(this.color)}},{key:"_setBrightness",value:function(e){var t=l.RGBToHSV(this.color.r,this.color.g,this.color.b);t.v=e/100;var n=l.HSVToRGB(t.h,t.s,t.v);n.a=this.color.a,this.color=n,this._updatePicker()}},{key:"_updatePicker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.color,t=l.RGBToHSV(e.r,e.g,e.b),n=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(n.webkitBackingStorePixelRatio||n.mozBackingStorePixelRatio||n.msBackingStorePixelRatio||n.oBackingStorePixelRatio||n.backingStorePixelRatio||1)),n.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var r=this.colorPickerCanvas.clientWidth,i=this.colorPickerCanvas.clientHeight;n.clearRect(0,0,r,i),n.putImageData(this.hueCircle,0,0),n.fillStyle="rgba(0,0,0,"+(1-t.v)+")",n.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),n.fill(),this.brightnessRange.value=100*t.v,this.opacityRange.value=100*e.a,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}},{key:"_setSize",value:function(){this.colorPickerCanvas.style.width="100%",this.colorPickerCanvas.style.height="100%",this.colorPickerCanvas.width=289*this.pixelRatio,this.colorPickerCanvas.height=289*this.pixelRatio}},{key:"_create",value:function(){if(this.frame=document.createElement("div"),this.frame.className="vis-color-picker",this.colorPickerDiv=document.createElement("div"),this.colorPickerSelector=document.createElement("div"),this.colorPickerSelector.className="vis-selector",this.colorPickerDiv.appendChild(this.colorPickerSelector),this.colorPickerCanvas=document.createElement("canvas"),this.colorPickerDiv.appendChild(this.colorPickerCanvas),this.colorPickerCanvas.getContext){var e=this.colorPickerCanvas.getContext("2d");this.pixelRatio=(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1),this.colorPickerCanvas.getContext("2d").setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}else{var t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.colorPickerCanvas.appendChild(t)}this.colorPickerDiv.className="vis-color",this.opacityDiv=document.createElement("div"),this.opacityDiv.className="vis-opacity",this.brightnessDiv=document.createElement("div"),this.brightnessDiv.className="vis-brightness",this.arrowDiv=document.createElement("div"),this.arrowDiv.className="vis-arrow",this.opacityRange=document.createElement("input");try{this.opacityRange.type="range",this.opacityRange.min="0",this.opacityRange.max="100"}catch(e){}this.opacityRange.value="100",this.opacityRange.className="vis-range",this.brightnessRange=document.createElement("input");try{this.brightnessRange.type="range",this.brightnessRange.min="0",this.brightnessRange.max="100"}catch(e){}this.brightnessRange.value="100",this.brightnessRange.className="vis-range",this.opacityDiv.appendChild(this.opacityRange),this.brightnessDiv.appendChild(this.brightnessRange);var n=this;this.opacityRange.onchange=function(){n._setOpacity(this.value)},this.opacityRange.oninput=function(){n._setOpacity(this.value)},this.brightnessRange.onchange=function(){n._setBrightness(this.value)},this.brightnessRange.oninput=function(){n._setBrightness(this.value)},this.brightnessLabel=document.createElement("div"),this.brightnessLabel.className="vis-label vis-brightness",this.brightnessLabel.innerHTML="brightness:",this.opacityLabel=document.createElement("div"),this.opacityLabel.className="vis-label vis-opacity",this.opacityLabel.innerHTML="opacity:",this.newColorDiv=document.createElement("div"),this.newColorDiv.className="vis-new-color",this.newColorDiv.innerHTML="new",this.initialColorDiv=document.createElement("div"),this.initialColorDiv.className="vis-initial-color",this.initialColorDiv.innerHTML="initial",this.cancelButton=document.createElement("div"),this.cancelButton.className="vis-button vis-cancel",this.cancelButton.innerHTML="cancel",this.cancelButton.onclick=this._hide.bind(this,!1),this.applyButton=document.createElement("div"),this.applyButton.className="vis-button vis-apply",this.applyButton.innerHTML="apply",this.applyButton.onclick=this._apply.bind(this),this.saveButton=document.createElement("div"),this.saveButton.className="vis-button vis-save",this.saveButton.innerHTML="save",this.saveButton.onclick=this._save.bind(this),this.loadButton=document.createElement("div"),this.loadButton.className="vis-button vis-load",this.loadButton.innerHTML="load last",this.loadButton.onclick=this._loadLast.bind(this),this.frame.appendChild(this.colorPickerDiv),this.frame.appendChild(this.arrowDiv),this.frame.appendChild(this.brightnessLabel),this.frame.appendChild(this.brightnessDiv),this.frame.appendChild(this.opacityLabel),this.frame.appendChild(this.opacityDiv),this.frame.appendChild(this.newColorDiv),this.frame.appendChild(this.initialColorDiv),this.frame.appendChild(this.cancelButton),this.frame.appendChild(this.applyButton),this.frame.appendChild(this.saveButton),this.frame.appendChild(this.loadButton)}},{key:"_bindHammer",value:function(){var e=this;this.drag={},this.pinch={},this.hammer=new s(this.colorPickerCanvas),this.hammer.get("pinch").set({enable:!0}),u.onTouch(this.hammer,(function(t){e._moveSelector(t)})),this.hammer.on("tap",(function(t){e._moveSelector(t)})),this.hammer.on("panstart",(function(t){e._moveSelector(t)})),this.hammer.on("panmove",(function(t){e._moveSelector(t)})),this.hammer.on("panend",(function(t){e._moveSelector(t)}))}},{key:"_generateHueCircle",value:function(){if(!1===this.generated){var e=this.colorPickerCanvas.getContext("2d");void 0===this.pixelRation&&(this.pixelRatio=(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)),e.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0);var t=this.colorPickerCanvas.clientWidth,n=this.colorPickerCanvas.clientHeight;e.clearRect(0,0,t,n);var r=void 0,i=void 0,o=void 0,a=void 0;this.centerCoordinates={x:.5*t,y:.5*n},this.r=.49*t;var s=2*Math.PI/360,u=1/this.r,c=void 0;for(o=0;o<360;o++)for(a=0;a<this.r;a++)r=this.centerCoordinates.x+a*Math.sin(s*o),i=this.centerCoordinates.y+a*Math.cos(s*o),c=l.HSVToRGB(o*(1/360),a*u,1),e.fillStyle="rgb("+c.r+","+c.g+","+c.b+")",e.fillRect(r-.5,i-.5,2,2);e.strokeStyle="rgba(0,0,0,1)",e.circle(this.centerCoordinates.x,this.centerCoordinates.y,this.r),e.stroke(),this.hueCircle=e.getImageData(0,0,t,n)}this.generated=!0}},{key:"_moveSelector",value:function(e){var t=this.colorPickerDiv.getBoundingClientRect(),n=.5*this.colorPickerDiv.clientHeight,r=.5*this.colorPickerDiv.clientWidth,i=e.center.x-t.left-r,o=e.center.y-t.top-n,a=Math.atan2(i,o),s=.98*Math.min(Math.sqrt(i*i+o*o),r),u=Math.cos(a)*s+n,c=Math.sin(a)*s+r;this.colorPickerSelector.style.top=u-.5*this.colorPickerSelector.clientHeight+"px",this.colorPickerSelector.style.left=c-.5*this.colorPickerSelector.clientWidth+"px";var d=a/(2*Math.PI);d=d<0?d+1:d;var f=s/this.r,h=l.RGBToHSV(this.color.r,this.color.g,this.color.b);h.h=d,h.s=f;var p=l.HSVToRGB(h.h,h.s,h.v);p.a=this.color.a,this.color=p,this.initialColorDiv.style.backgroundColor="rgba("+this.initialColor.r+","+this.initialColor.g+","+this.initialColor.b+","+this.initialColor.a+")",this.newColorDiv.style.backgroundColor="rgba("+this.color.r+","+this.color.g+","+this.color.b+","+this.color.a+")"}}]),e}();t.default=c},function(e,t,n){var r=n(9),i=n(2),o=n(11),a=n(12),s=n(65),u=n(66),l=n(46),c=n(68),d=n(47),f=n(106),h=n(15).printStyle,p=n(113).allOptions,m=n(113).configureOptions,v=n(72).default,g=n(15).default;function y(e,t,n,u){if(!(Array.isArray(n)||n instanceof o||n instanceof a)&&n instanceof Object){var d=u;u=n,n=d}u&&u.throttleRedraw&&console.warn('Graph2d option "throttleRedraw" is DEPRICATED and no longer supported. It will be removed in the next MAJOR release.');var h=this;this.defaultOptions={start:null,end:null,autoResize:!0,orientation:{axis:"bottom",item:"bottom"},moment:r,width:null,height:null,maxHeight:null,minHeight:null},this.options=i.deepExtend({},this.defaultOptions),this._create(e),this.components=[],this.body={dom:this.dom,domProps:this.props,emitter:{on:this.on.bind(this),off:this.off.bind(this),emit:this.emit.bind(this)},hiddenDates:[],util:{toScreen:h._toScreen.bind(h),toGlobalScreen:h._toGlobalScreen.bind(h),toTime:h._toTime.bind(h),toGlobalTime:h._toGlobalTime.bind(h)}},this.range=new s(this.body),this.components.push(this.range),this.body.range=this.range,this.timeAxis=new l(this.body),this.components.push(this.timeAxis),this.currentTime=new c(this.body),this.components.push(this.currentTime),this.linegraph=new f(this.body),this.components.push(this.linegraph),this.itemsData=null,this.groupsData=null,this.on("tap",(function(e){h.emit("click",h.getEventProperties(e))})),this.on("doubletap",(function(e){h.emit("doubleClick",h.getEventProperties(e))})),this.dom.root.oncontextmenu=function(e){h.emit("contextmenu",h.getEventProperties(e))},u&&this.setOptions(u),n&&this.setGroups(n),t&&this.setItems(t),this._redraw()}(y.prototype=new u).setOptions=function(e){!0===g.validate(e,p)&&console.log("%cErrors have been found in the supplied options object.",h),u.prototype.setOptions.call(this,e)},y.prototype.setItems=function(e){var t,n=null==this.itemsData;t=e?e instanceof o||e instanceof a?e:new o(e,{type:{start:"Date",end:"Date"}}):null,this.itemsData=t,this.linegraph&&this.linegraph.setItems(t),n&&(null!=this.options.start||null!=this.options.end?this.setWindow(null!=this.options.start?this.options.start:null,null!=this.options.end?this.options.end:null,{animation:!1}):this.fit({animation:!1}))},y.prototype.setGroups=function(e){var t;t=e?e instanceof o||e instanceof a?e:new o(e):null,this.groupsData=t,this.linegraph.setGroups(t)},y.prototype.getLegend=function(e,t,n){return void 0===t&&(t=15),void 0===n&&(n=15),void 0!==this.linegraph.groups[e]?this.linegraph.groups[e].getLegend(t,n):"cannot find group:'"+e+"'"},y.prototype.isGroupVisible=function(e){return void 0!==this.linegraph.groups[e]&&this.linegraph.groups[e].visible&&(void 0===this.linegraph.options.groups.visibility[e]||1==this.linegraph.options.groups.visibility[e])},y.prototype.getDataRange=function(){var e=null,t=null;for(var n in this.linegraph.groups)if(this.linegraph.groups.hasOwnProperty(n)&&1==this.linegraph.groups[n].visible)for(var r=0;r<this.linegraph.groups[n].itemsData.length;r++){var o=i.convert(this.linegraph.groups[n].itemsData[r].x,"Date").valueOf();e=null==e||e>o?o:e,t=null==t||t<o?o:t}return{min:null!=e?new Date(e):null,max:null!=t?new Date(t):null}},y.prototype.getEventProperties=function(e){var t=e.center?e.center.y:e.clientY,n=(e.center?e.center.x:e.clientX)-i.getAbsoluteLeft(this.dom.centerContainer),r=t-i.getAbsoluteTop(this.dom.centerContainer),o=this._toTime(n),a=d.customTimeFromTarget(e),s=i.getTarget(e),u=null;i.hasParent(s,this.timeAxis.dom.foreground)||this.timeAxis2&&i.hasParent(s,this.timeAxis2.dom.foreground)?u="axis":i.hasParent(s,this.linegraph.yAxisLeft.dom.frame)||i.hasParent(s,this.linegraph.yAxisRight.dom.frame)?u="data-axis":i.hasParent(s,this.linegraph.legendLeft.dom.frame)||i.hasParent(s,this.linegraph.legendRight.dom.frame)?u="legend":null!=a?u="custom-time":i.hasParent(s,this.currentTime.bar)?u="current-time":i.hasParent(s,this.dom.center)&&(u="background");var l=[],c=this.linegraph.yAxisLeft,f=this.linegraph.yAxisRight;return!c.hidden&&this.itemsData.length>0&&l.push(c.screenToValue(r)),!f.hidden&&this.itemsData.length>0&&l.push(f.screenToValue(r)),{event:e,what:u,pageX:e.srcEvent?e.srcEvent.pageX:e.pageX,pageY:e.srcEvent?e.srcEvent.pageY:e.pageY,x:n,y:r,time:o,value:l}},y.prototype._createConfigurator=function(){return new v(this,this.dom.container,m)},e.exports=y},function(e,t,n){t.util=n(2),t.DOMutil=n(14),t.DataSet=n(11),t.DataView=n(12),t.Queue=n(44),t.Network=n(182),t.network={Images:n(116),dotparser:n(114),gephiParser:n(115),allOptions:n(122)},t.network.convertDot=function(e){return t.network.dotparser.DOTToGraph(e)},t.network.convertGephi=function(e,n){return t.network.gephiParser.parseGephi(e,n)},t.moment=n(9),t.Hammer=n(10),t.keycharm=n(35)},function(e,t,n){n(183);var r=n(45),i=n(2),o=n(114),a=n(115),s=n(97),u=n(184),l=n(116).default,c=n(186).default,d=n(187).default,f=n(214).default,h=n(220).default,p=n(227).default,m=n(229).default,v=n(230).default,g=n(231).default,y=n(232).default,b=n(234).default,_=n(235).default,w=n(237).default,E=n(72).default,C=n(15).default,A=n(15).printStyle,k=n(122),S=k.allOptions,x=k.configureOptions,D=n(238).default;function O(e,t,n){var r=this;if(!(this instanceof O))throw new SyntaxError("Constructor must be called with the new operator");this.options={},this.defaultOptions={locale:"en",locales:u,clickToUse:!1},i.extend(this.options,this.defaultOptions),this.body={container:e,nodes:{},nodeIndices:[],edges:{},edgeIndices:[],emitter:{on:this.on.bind(this),off:this.off.bind(this),emit:this.emit.bind(this),once:this.once.bind(this)},eventListeners:{onTap:function(){},onTouch:function(){},onDoubleTap:function(){},onHold:function(){},onDragStart:function(){},onDrag:function(){},onDragEnd:function(){},onMouseWheel:function(){},onPinch:function(){},onMouseMove:function(){},onRelease:function(){},onContext:function(){}},data:{nodes:null,edges:null},functions:{createNode:function(){},createEdge:function(){},getPointer:function(){}},modules:{},view:{scale:1,translation:{x:0,y:0}}},this.bindEventListeners(),this.images=new l((function(){return r.body.emitter.emit("_requestRedraw")})),this.groups=new c,this.canvas=new v(this.body),this.selectionHandler=new b(this.body,this.canvas),this.interactionHandler=new y(this.body,this.canvas,this.selectionHandler),this.view=new g(this.body,this.canvas),this.renderer=new m(this.body,this.canvas),this.physics=new h(this.body),this.layoutEngine=new _(this.body),this.clustering=new p(this.body),this.manipulation=new w(this.body,this.canvas,this.selectionHandler),this.nodesHandler=new d(this.body,this.images,this.groups,this.layoutEngine),this.edgesHandler=new f(this.body,this.images,this.groups),this.body.modules.kamadaKawai=new D(this.body,150,.05),this.body.modules.clustering=this.clustering,this.canvas._create(),this.setOptions(n),this.setData(t)}r(O.prototype),O.prototype.setOptions=function(e){var t=this;if(void 0!==e){if(!0===C.validate(e,S)&&console.log("%cErrors have been found in the supplied options object.",A),i.selectiveDeepExtend(["locale","locales","clickToUse"],this.options,e),e=this.layoutEngine.setOptions(e.layout,e),this.canvas.setOptions(e),this.groups.setOptions(e.groups),this.nodesHandler.setOptions(e.nodes),this.edgesHandler.setOptions(e.edges),this.physics.setOptions(e.physics),this.manipulation.setOptions(e.manipulation,e,this.options),this.interactionHandler.setOptions(e.interaction),this.renderer.setOptions(e.interaction),this.selectionHandler.setOptions(e.interaction),void 0!==e.groups&&this.body.emitter.emit("refreshNodes"),"configure"in e&&(this.configurator||(this.configurator=new E(this,this.body.container,x,this.canvas.pixelRatio)),this.configurator.setOptions(e.configure)),this.configurator&&!0===this.configurator.options.enabled){var n={nodes:{},edges:{},layout:{},interaction:{},manipulation:{},physics:{},global:{}};i.deepExtend(n.nodes,this.nodesHandler.options),i.deepExtend(n.edges,this.edgesHandler.options),i.deepExtend(n.layout,this.layoutEngine.options),i.deepExtend(n.interaction,this.selectionHandler.options),i.deepExtend(n.interaction,this.renderer.options),i.deepExtend(n.interaction,this.interactionHandler.options),i.deepExtend(n.manipulation,this.manipulation.options),i.deepExtend(n.physics,this.physics.options),i.deepExtend(n.global,this.canvas.options),i.deepExtend(n.global,this.options),this.configurator.setModuleOptions(n)}void 0!==e.clickToUse?!0===e.clickToUse?void 0===this.activator&&(this.activator=new s(this.canvas.frame),this.activator.on("change",(function(){t.body.emitter.emit("activate")}))):(void 0!==this.activator&&(this.activator.destroy(),delete this.activator),this.body.emitter.emit("activate")):this.body.emitter.emit("activate"),this.canvas.setSize(),this.body.emitter.emit("startSimulation")}},O.prototype._updateVisibleIndices=function(){var e=this.body.nodes,t=this.body.edges;for(var n in this.body.nodeIndices=[],this.body.edgeIndices=[],e)e.hasOwnProperty(n)&&(this.clustering._isClusteredNode(n)||!1!==e[n].options.hidden||this.body.nodeIndices.push(e[n].id));for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=e[i.fromId],a=e[i.toId],s=void 0!==o&&void 0!==a;!this.clustering._isClusteredEdge(r)&&!1===i.options.hidden&&s&&!1===o.options.hidden&&!1===a.options.hidden&&this.body.edgeIndices.push(i.id)}},O.prototype.bindEventListeners=function(){var e=this;this.body.emitter.on("_dataChanged",(function(){e.edgesHandler._updateState(),e.body.emitter.emit("_dataUpdated")})),this.body.emitter.on("_dataUpdated",(function(){e.clustering._updateState(),e._updateVisibleIndices(),e._updateValueRange(e.body.nodes),e._updateValueRange(e.body.edges),e.body.emitter.emit("startSimulation"),e.body.emitter.emit("_requestRedraw")}))},O.prototype.setData=function(e){if(this.body.emitter.emit("resetPhysics"),this.body.emitter.emit("_resetData"),this.selectionHandler.unselectAll(),e&&e.dot&&(e.nodes||e.edges))throw new SyntaxError('Data must contain either parameter "dot" or  parameter pair "nodes" and "edges", but not both.');if(this.setOptions(e&&e.options),e&&e.dot){console.log("The dot property has been deprecated. Please use the static convertDot method to convert DOT into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertDot(dotString);");var t=o.DOTToGraph(e.dot);this.setData(t)}else if(e&&e.gephi){console.log("The gephi property has been deprecated. Please use the static convertGephi method to convert gephi into vis.network format and use the normal data format with nodes and edges. This converter is used like this: var data = vis.network.convertGephi(gephiJson);");var n=a.parseGephi(e.gephi);this.setData(n)}else this.nodesHandler.setData(e&&e.nodes,!0),this.edgesHandler.setData(e&&e.edges,!0),this.body.emitter.emit("_dataChanged"),this.body.emitter.emit("_dataLoaded"),this.body.emitter.emit("initPhysics")},O.prototype.destroy=function(){for(var e in this.body.emitter.emit("destroy"),this.body.emitter.off(),this.off(),delete this.groups,delete this.canvas,delete this.selectionHandler,delete this.interactionHandler,delete this.view,delete this.renderer,delete this.physics,delete this.layoutEngine,delete this.clustering,delete this.manipulation,delete this.nodesHandler,delete this.edgesHandler,delete this.configurator,delete this.images,this.body.nodes)this.body.nodes.hasOwnProperty(e)&&delete this.body.nodes[e];for(var t in this.body.edges)this.body.edges.hasOwnProperty(t)&&delete this.body.edges[t];i.recursiveDOMDelete(this.body.container)},O.prototype._updateValueRange=function(e){var t,n=void 0,r=void 0,i=0;for(t in e)if(e.hasOwnProperty(t)){var o=e[t].getValue();void 0!==o&&(n=void 0===n?o:Math.min(o,n),r=void 0===r?o:Math.max(o,r),i+=o)}if(void 0!==n&&void 0!==r)for(t in e)e.hasOwnProperty(t)&&e[t].setValueRange(n,r,i)},O.prototype.isActive=function(){return!this.activator||this.activator.active},O.prototype.setSize=function(){return this.canvas.setSize.apply(this.canvas,arguments)},O.prototype.canvasToDOM=function(){return this.canvas.canvasToDOM.apply(this.canvas,arguments)},O.prototype.DOMtoCanvas=function(){return this.canvas.DOMtoCanvas.apply(this.canvas,arguments)},O.prototype.findNode=function(){return this.clustering.findNode.apply(this.clustering,arguments)},O.prototype.isCluster=function(){return this.clustering.isCluster.apply(this.clustering,arguments)},O.prototype.openCluster=function(){return this.clustering.openCluster.apply(this.clustering,arguments)},O.prototype.cluster=function(){return this.clustering.cluster.apply(this.clustering,arguments)},O.prototype.getNodesInCluster=function(){return this.clustering.getNodesInCluster.apply(this.clustering,arguments)},O.prototype.clusterByConnection=function(){return this.clustering.clusterByConnection.apply(this.clustering,arguments)},O.prototype.clusterByHubsize=function(){return this.clustering.clusterByHubsize.apply(this.clustering,arguments)},O.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments)},O.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments)},O.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments)},O.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments)},O.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments)},O.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments)},O.prototype.editNodeMode=function(){return console.log("Deprecated: Please use editNode instead of editNodeMode."),this.manipulation.editNode.apply(this.manipulation,arguments)},O.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments)},O.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments)},O.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments)},O.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments)},O.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments)},O.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments)},O.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments)},O.prototype.getConnectedNodes=function(e){return void 0!==this.body.nodes[e]?this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments):this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments)},O.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments)},O.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments)},O.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments)},O.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments)},O.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments)},O.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments)},O.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodes.apply(this.selectionHandler,arguments)},O.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdges.apply(this.selectionHandler,arguments)},O.prototype.getNodeAt=function(){var e=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);return void 0!==e&&void 0!==e.id?e.id:e},O.prototype.getEdgeAt=function(){var e=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);return void 0!==e&&void 0!==e.id?e.id:e},O.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments)},O.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments)},O.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments),this.redraw()},O.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments)},O.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments)},O.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments)},O.prototype.fit=function(){return this.view.fit.apply(this.view,arguments)},O.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments)},O.prototype.focus=function(){return this.view.focus.apply(this.view,arguments)},O.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments)},O.prototype.getOptionsFromConfigurator=function(){var e={};return this.configurator&&(e=this.configurator.getOptions.apply(this.configurator)),e},e.exports=O},function(e,t,n){"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.circle=function(e,t,n){this.beginPath(),this.arc(e,t,n,0,2*Math.PI,!1),this.closePath()},CanvasRenderingContext2D.prototype.square=function(e,t,n){this.beginPath(),this.rect(e-n,t-n,2*n,2*n),this.closePath()},CanvasRenderingContext2D.prototype.triangle=function(e,t,n){this.beginPath(),t+=.275*(n*=1.15);var r=2*n,i=r/2,o=Math.sqrt(3)/6*r,a=Math.sqrt(r*r-i*i);this.moveTo(e,t-(a-o)),this.lineTo(e+i,t+o),this.lineTo(e-i,t+o),this.lineTo(e,t-(a-o)),this.closePath()},CanvasRenderingContext2D.prototype.triangleDown=function(e,t,n){this.beginPath(),t-=.275*(n*=1.15);var r=2*n,i=r/2,o=Math.sqrt(3)/6*r,a=Math.sqrt(r*r-i*i);this.moveTo(e,t+(a-o)),this.lineTo(e+i,t-o),this.lineTo(e-i,t-o),this.lineTo(e,t+(a-o)),this.closePath()},CanvasRenderingContext2D.prototype.star=function(e,t,n){this.beginPath(),t+=.1*(n*=.82);for(var r=0;r<10;r++){var i=r%2==0?1.3*n:.5*n;this.lineTo(e+i*Math.sin(2*r*Math.PI/10),t-i*Math.cos(2*r*Math.PI/10))}this.closePath()},CanvasRenderingContext2D.prototype.diamond=function(e,t,n){this.beginPath(),this.lineTo(e,t+n),this.lineTo(e+n,t),this.lineTo(e,t-n),this.lineTo(e-n,t),this.closePath()},CanvasRenderingContext2D.prototype.roundRect=function(e,t,n,r,i){var o=Math.PI/180;n-2*i<0&&(i=n/2),r-2*i<0&&(i=r/2),this.beginPath(),this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.arc(e+n-i,t+i,i,270*o,360*o,!1),this.lineTo(e+n,t+r-i),this.arc(e+n-i,t+r-i,i,0,90*o,!1),this.lineTo(e+i,t+r),this.arc(e+i,t+r-i,i,90*o,180*o,!1),this.lineTo(e,t+i),this.arc(e+i,t+i,i,180*o,270*o,!1),this.closePath()},CanvasRenderingContext2D.prototype.ellipse_vis=function(e,t,n,r){var i=n/2*.5522848,o=r/2*.5522848,a=e+n,s=t+r,u=e+n/2,l=t+r/2;this.beginPath(),this.moveTo(e,l),this.bezierCurveTo(e,l-o,u-i,t,u,t),this.bezierCurveTo(u+i,t,a,l-o,a,l),this.bezierCurveTo(a,l+o,u+i,s,u,s),this.bezierCurveTo(u-i,s,e,l+o,e,l),this.closePath()},CanvasRenderingContext2D.prototype.database=function(e,t,n,r){var i=r*(1/3),o=n/2*.5522848,a=i/2*.5522848,s=e+n,u=t+i,l=e+n/2,c=t+i/2,d=t+(r-i/2),f=t+r;this.beginPath(),this.moveTo(s,c),this.bezierCurveTo(s,c+a,l+o,u,l,u),this.bezierCurveTo(l-o,u,e,c+a,e,c),this.bezierCurveTo(e,c-a,l-o,t,l,t),this.bezierCurveTo(l+o,t,s,c-a,s,c),this.lineTo(s,d),this.bezierCurveTo(s,d+a,l+o,f,l,f),this.bezierCurveTo(l-o,f,e,d+a,e,d),this.lineTo(e,c)},CanvasRenderingContext2D.prototype.dashedLine=function(e,t,n,r,i){this.beginPath(),this.moveTo(e,t);for(var o=i.length,a=n-e,s=r-t,u=s/a,l=Math.sqrt(a*a+s*s),c=0,d=!0,f=0,h=i[0];l>=.1;)(h=i[c++%o])>l&&(h=l),f=Math.sqrt(h*h/(1+u*u)),e+=f=a<0?-f:f,t+=u*f,!0===d?this.lineTo(e,t):this.moveTo(e,t),l-=h,d=!d},CanvasRenderingContext2D.prototype.hexagon=function(e,t,n){this.beginPath();var r=2*Math.PI/6;this.moveTo(e+n,t);for(var i=1;i<6;i++)this.lineTo(e+n*Math.cos(r*i),t+n*Math.sin(r*i));this.closePath()})},function(e,t,n){t.en={edit:"Edit",del:"Delete selected",back:"Back",addNode:"Add Node",addEdge:"Add Edge",editNode:"Edit Node",editEdge:"Edit Edge",addDescription:"Click in an empty space to place a new node.",edgeDescription:"Click on a node and drag the edge to another node to connect them.",editEdgeDescription:"Click on the control points and drag them to a node to connect to it.",createEdgeError:"Cannot link edges to a cluster.",deleteClusterError:"Clusters cannot be deleted.",editClusterError:"Clusters cannot be edited."},t.en_EN=t.en,t.en_US=t.en,t.de={edit:"Editieren",del:"L\xf6sche Auswahl",back:"Zur\xfcck",addNode:"Knoten hinzuf\xfcgen",addEdge:"Kante hinzuf\xfcgen",editNode:"Knoten editieren",editEdge:"Kante editieren",addDescription:"Klicke auf eine freie Stelle, um einen neuen Knoten zu plazieren.",edgeDescription:"Klicke auf einen Knoten und ziehe die Kante zu einem anderen Knoten, um diese zu verbinden.",editEdgeDescription:"Klicke auf die Verbindungspunkte und ziehe diese auf einen Knoten, um sie zu verbinden.",createEdgeError:"Es ist nicht m\xf6glich, Kanten mit Clustern zu verbinden.",deleteClusterError:"Cluster k\xf6nnen nicht gel\xf6scht werden.",editClusterError:"Cluster k\xf6nnen nicht editiert werden."},t.de_DE=t.de,t.es={edit:"Editar",del:"Eliminar selecci\xf3n",back:"\xc1tras",addNode:"A\xf1adir nodo",addEdge:"A\xf1adir arista",editNode:"Editar nodo",editEdge:"Editar arista",addDescription:"Haga clic en un lugar vac\xedo para colocar un nuevo nodo.",edgeDescription:"Haga clic en un nodo y arrastre la arista hacia otro nodo para conectarlos.",editEdgeDescription:"Haga clic en un punto de control y arrastrelo a un nodo para conectarlo.",createEdgeError:"No se puede conectar una arista a un grupo.",deleteClusterError:"No es posible eliminar grupos.",editClusterError:"No es posible editar grupos."},t.es_ES=t.es,t.it={edit:"Modifica",del:"Cancella la selezione",back:"Indietro",addNode:"Aggiungi un nodo",addEdge:"Aggiungi un vertice",editNode:"Modifica il nodo",editEdge:"Modifica il vertice",addDescription:"Clicca per aggiungere un nuovo nodo",edgeDescription:"Clicca su un nodo e trascinalo ad un altro nodo per connetterli.",editEdgeDescription:"Clicca sui Punti di controllo e trascinali ad un nodo per connetterli.",createEdgeError:"Non si possono collegare vertici ad un cluster",deleteClusterError:"I cluster non possono essere cancellati",editClusterError:"I clusters non possono essere modificati."},t.it_IT=t.it,t.nl={edit:"Wijzigen",del:"Selectie verwijderen",back:"Terug",addNode:"Node toevoegen",addEdge:"Link toevoegen",editNode:"Node wijzigen",editEdge:"Link wijzigen",addDescription:"Klik op een leeg gebied om een nieuwe node te maken.",edgeDescription:"Klik op een node en sleep de link naar een andere node om ze te verbinden.",editEdgeDescription:"Klik op de verbindingspunten en sleep ze naar een node om daarmee te verbinden.",createEdgeError:"Kan geen link maken naar een cluster.",deleteClusterError:"Clusters kunnen niet worden verwijderd.",editClusterError:"Clusters kunnen niet worden aangepast."},t.nl_NL=t.nl,t.nl_BE=t.nl,t["pt-br"]={edit:"Editar",del:"Remover selecionado",back:"Voltar",addNode:"Adicionar n\xf3",addEdge:"Adicionar aresta",editNode:"Editar n\xf3",editEdge:"Editar aresta",addDescription:"Clique em um espa\xe7o em branco para adicionar um novo n\xf3",edgeDescription:"Clique em um n\xf3 e arraste a aresta at\xe9 outro n\xf3 para conect\xe1-los",editEdgeDescription:"Clique nos pontos de controle e os arraste para um n\xf3 para conect\xe1-los",createEdgeError:"N\xe3o foi poss\xedvel linkar arestas a um cluster.",deleteClusterError:"Clusters n\xe3o puderam ser removidos.",editClusterError:"Clusters n\xe3o puderam ser editados."},t["pt-BR"]=t["pt-br"],t.pt_BR=t["pt-br"],t.pt_br=t["pt-br"],t.ru={edit:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",del:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0435",back:"\u041d\u0430\u0437\u0430\u0434",addNode:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0443\u0437\u0435\u043b",addEdge:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0440\u0435\u0431\u0440\u043e",editNode:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0443\u0437\u0435\u043b",editEdge:"\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0431\u0440\u043e",addDescription:"\u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u0432 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0443\u0437\u0435\u043b.",edgeDescription:"\u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043d\u0430 \u0443\u0437\u0435\u043b \u0438 \u043f\u0440\u043e\u0442\u044f\u043d\u0438\u0442\u0435 \u0440\u0435\u0431\u0440\u043e \u043a \u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0443\u0437\u043b\u0443, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0438\u0445.",editEdgeDescription:"\u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0442\u043e\u0447\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0443\u0437\u0435\u043b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u043c\u0443.",createEdgeError:"\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u0440\u0435\u0431\u0440\u0430 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440.",deleteClusterError:"\u041a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u044b",editClusterError:"\u041a\u043b\u0430\u0441\u0442\u0435\u0440\u044b \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f."},t.ru_RU=t.ru,t.cn={edit:"\u7f16\u8f91",del:"\u5220\u9664\u9009\u5b9a",back:"\u8fd4\u56de",addNode:"\u6dfb\u52a0\u8282\u70b9",addEdge:"\u6dfb\u52a0\u8fde\u63a5\u7ebf",editNode:"\u7f16\u8f91\u8282\u70b9",editEdge:"\u7f16\u8f91\u8fde\u63a5\u7ebf",addDescription:"\u5355\u51fb\u7a7a\u767d\u5904\u653e\u7f6e\u65b0\u8282\u70b9\u3002",edgeDescription:"\u5355\u51fb\u67d0\u4e2a\u8282\u70b9\u5e76\u5c06\u8be5\u8fde\u63a5\u7ebf\u62d6\u52a8\u5230\u53e6\u4e00\u4e2a\u8282\u70b9\u4ee5\u8fde\u63a5\u5b83\u4eec\u3002",editEdgeDescription:"\u5355\u51fb\u63a7\u5236\u8282\u70b9\u5e76\u5c06\u5b83\u4eec\u62d6\u5230\u8282\u70b9\u4e0a\u8fde\u63a5\u3002",createEdgeError:"\u65e0\u6cd5\u5c06\u8fde\u63a5\u7ebf\u8fde\u63a5\u5230\u7fa4\u96c6\u3002",deleteClusterError:"\u65e0\u6cd5\u5220\u9664\u7fa4\u96c6\u3002",editClusterError:"\u65e0\u6cd5\u7f16\u8f91\u7fa4\u96c6\u3002"},t.zh_CN=t.cn},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){(0,r.default)(this,e),this.NUM_ITERATIONS=4,this.image=new Image,this.canvas=document.createElement("canvas")}return(0,i.default)(e,[{key:"init",value:function(){if(!this.initialized()){this.src=this.image.src;var e=this.image.width,t=this.image.height;this.width=e,this.height=t;var n=Math.floor(t/2),r=Math.floor(t/4),i=Math.floor(t/8),o=Math.floor(t/16),a=Math.floor(e/2),s=Math.floor(e/4),u=Math.floor(e/8),l=Math.floor(e/16);this.canvas.width=3*s,this.canvas.height=n,this.coordinates=[[0,0,a,n],[a,0,s,r],[a,r,u,i],[5*u,r,l,o]],this._fillMipMap()}}},{key:"initialized",value:function(){return void 0!==this.coordinates}},{key:"_fillMipMap",value:function(){var e=this.canvas.getContext("2d"),t=this.coordinates[0];e.drawImage(this.image,t[0],t[1],t[2],t[3]);for(var n=1;n<this.NUM_ITERATIONS;n++){var r=this.coordinates[n-1],i=this.coordinates[n];e.drawImage(this.canvas,r[0],r[1],r[2],r[3],i[0],i[1],i[2],i[3])}}},{key:"drawImageAtPosition",value:function(e,t,n,r,i,o){if(this.initialized())if(t>2){t*=.5;for(var a=0;t>2&&a<this.NUM_ITERATIONS;)t*=.5,a+=1;a>=this.NUM_ITERATIONS&&(a=this.NUM_ITERATIONS-1);var s=this.coordinates[a];e.drawImage(this.canvas,s[0],s[1],s[2],s[3],n,r,i,o)}else e.drawImage(this.image,n,r,i,o)}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=function(){function e(){(0,r.default)(this,e),this.clear(),this.defaultIndex=0,this.groupsArray=[],this.groupIndex=0,this.defaultGroups=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"},hover:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"},hover:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"},hover:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"},hover:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"},hover:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"},hover:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"},hover:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"},hover:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"},hover:{border:"#4AD63A",background:"#E6FFE3"}},{border:"#990000",background:"#EE0000",highlight:{border:"#BB0000",background:"#FF3333"},hover:{border:"#BB0000",background:"#FF3333"}},{border:"#FF6000",background:"#FF6000",highlight:{border:"#FF6000",background:"#FF6000"},hover:{border:"#FF6000",background:"#FF6000"}},{border:"#97C2FC",background:"#2B7CE9",highlight:{border:"#D2E5FF",background:"#2B7CE9"},hover:{border:"#D2E5FF",background:"#2B7CE9"}},{border:"#399605",background:"#255C03",highlight:{border:"#399605",background:"#255C03"},hover:{border:"#399605",background:"#255C03"}},{border:"#B70054",background:"#FF007E",highlight:{border:"#B70054",background:"#FF007E"},hover:{border:"#B70054",background:"#FF007E"}},{border:"#AD85E4",background:"#7C29F0",highlight:{border:"#D3BDF0",background:"#7C29F0"},hover:{border:"#D3BDF0",background:"#7C29F0"}},{border:"#4557FA",background:"#000EA1",highlight:{border:"#6E6EFD",background:"#000EA1"},hover:{border:"#6E6EFD",background:"#000EA1"}},{border:"#FFC0CB",background:"#FD5A77",highlight:{border:"#FFD1D9",background:"#FD5A77"},hover:{border:"#FFD1D9",background:"#FD5A77"}},{border:"#C2FABC",background:"#74D66A",highlight:{border:"#E6FFE3",background:"#74D66A"},hover:{border:"#E6FFE3",background:"#74D66A"}},{border:"#EE0000",background:"#990000",highlight:{border:"#FF3333",background:"#BB0000"},hover:{border:"#FF3333",background:"#BB0000"}}],this.options={},this.defaultOptions={useDefaultGroups:!0},a.extend(this.options,this.defaultOptions)}return(0,i.default)(e,[{key:"setOptions",value:function(e){var t=["useDefaultGroups"];if(void 0!==e)for(var n in e)e.hasOwnProperty(n)&&-1===t.indexOf(n)&&this.add(n,e[n])}},{key:"clear",value:function(){this.groups={},this.groupsArray=[]}},{key:"get",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.groups[e];if(void 0===n&&t)if(!1===this.options.useDefaultGroups&&this.groupsArray.length>0){var r=this.groupIndex%this.groupsArray.length;this.groupIndex++,(n={}).color=this.groups[this.groupsArray[r]],this.groups[e]=n}else{var i=this.defaultIndex%this.defaultGroups.length;this.defaultIndex++,(n={}).color=this.defaultGroups[i],this.groups[e]=n}return n}},{key:"add",value:function(e,t){return this.groups[e]=t,this.groupsArray.push(e),t}}]),e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=n(11),u=n(12),l=n(48).default,c=function(){function e(t,n,i,o){var s=this;if((0,r.default)(this,e),this.body=t,this.images=n,this.groups=i,this.layoutEngine=o,this.body.functions.createNode=this.create.bind(this),this.nodesListeners={add:function(e,t){s.add(t.items)},update:function(e,t){s.update(t.items,t.data,t.oldData)},remove:function(e,t){s.remove(t.items)}},this.defaultOptions={borderWidth:1,borderWidthSelected:2,brokenImage:void 0,color:{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"},hover:{border:"#2B7CE9",background:"#D2E5FF"}},fixed:{x:!1,y:!1},font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:0,strokeColor:"#ffffff",align:"center",vadjust:0,multi:!1,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"monospace",vadjust:2}},group:void 0,hidden:!1,icon:{face:"FontAwesome",code:void 0,size:50,color:"#2B7CE9"},image:void 0,label:void 0,labelHighlightBold:!0,level:void 0,margin:{top:5,right:5,bottom:5,left:5},mass:1,physics:!0,scaling:{min:10,max:30,label:{enabled:!1,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(e,t,n,r){return t===e?.5:Math.max(0,1/(t-e)*(r-e))}},shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},shape:"ellipse",shapeProperties:{borderDashes:!1,borderRadius:6,interpolation:!0,useImageSize:!1,useBorderWithImage:!1},size:25,title:void 0,value:void 0,x:void 0,y:void 0},this.defaultOptions.mass<=0)throw"Internal error: mass in defaultOptions of NodesHandler may not be zero or negative";this.options=a.bridgeObject(this.defaultOptions),this.bindEventListeners()}return(0,i.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("refreshNodes",this.refresh.bind(this)),this.body.emitter.on("refresh",this.refresh.bind(this)),this.body.emitter.on("destroy",(function(){a.forEach(e.nodesListeners,(function(t,n){e.body.data.nodes&&e.body.data.nodes.off(n,t)})),delete e.body.functions.createNode,delete e.nodesListeners.add,delete e.nodesListeners.update,delete e.nodesListeners.remove,delete e.nodesListeners}))}},{key:"setOptions",value:function(e){if(void 0!==e){if(l.parseOptions(this.options,e),void 0!==e.shape)for(var t in this.body.nodes)this.body.nodes.hasOwnProperty(t)&&this.body.nodes[t].updateShape();if(void 0!==e.font)for(var n in this.body.nodes)this.body.nodes.hasOwnProperty(n)&&(this.body.nodes[n].updateLabelModule(),this.body.nodes[n].needsRefresh());if(void 0!==e.size)for(var r in this.body.nodes)this.body.nodes.hasOwnProperty(r)&&this.body.nodes[r].needsRefresh();void 0===e.hidden&&void 0===e.physics||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.body.data.nodes;if(e instanceof s||e instanceof u)this.body.data.nodes=e;else if(Array.isArray(e))this.body.data.nodes=new s,this.body.data.nodes.add(e);else{if(e)throw new TypeError("Array or DataSet expected");this.body.data.nodes=new s}if(n&&a.forEach(this.nodesListeners,(function(e,t){n.off(t,e)})),this.body.nodes={},this.body.data.nodes){var r=this;a.forEach(this.nodesListeners,(function(e,t){r.body.data.nodes.on(t,e)}));var i=this.body.data.nodes.getIds();this.add(i,!0)}!1===t&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=void 0,r=[],i=0;i<e.length;i++){var o=this.body.data.nodes.get(n=e[i]),a=this.create(o);r.push(a),this.body.nodes[n]=a}this.layoutEngine.positionInitially(r),!1===t&&this.body.emitter.emit("_dataChanged")}},{key:"update",value:function(e,t,n){for(var r=this.body.nodes,i=!1,o=0;o<e.length;o++){var a=e[o],s=r[a],u=t[o];void 0!==s?s.setOptions(u)&&(i=!0):(i=!0,s=this.create(u),r[a]=s)}i||void 0===n||(i=t.some((function(e,t){var r=n[t];return r&&r.level!==e.level}))),this.body.emitter.emit(!0===i?"_dataChanged":"_dataUpdated")}},{key:"remove",value:function(e){for(var t=this.body.nodes,n=0;n<e.length;n++)delete t[e[n]];this.body.emitter.emit("_dataChanged")}},{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return new t(e,this.body,this.images,this.groups,this.options,this.defaultOptions)}},{key:"refresh",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];a.forEach(this.body.nodes,(function(n,r){var i=e.body.data.nodes.get(r);void 0!==i&&(!0===t&&n.setOptions({x:null,y:null}),n.setOptions({fixed:!1}),n.setOptions(i))}))}},{key:"getPositions",value:function(e){var t={};if(void 0!==e){if(!0===Array.isArray(e)){for(var n=0;n<e.length;n++)if(void 0!==this.body.nodes[e[n]]){var r=this.body.nodes[e[n]];t[e[n]]={x:Math.round(r.x),y:Math.round(r.y)}}}else if(void 0!==this.body.nodes[e]){var i=this.body.nodes[e];t[e]={x:Math.round(i.x),y:Math.round(i.y)}}}else for(var o=0;o<this.body.nodeIndices.length;o++){var a=this.body.nodes[this.body.nodeIndices[o]];t[this.body.nodeIndices[o]]={x:Math.round(a.x),y:Math.round(a.y)}}return t}},{key:"storePositions",value:function(){var e=[],t=this.body.data.nodes.getDataSet();for(var n in t._data)if(t._data.hasOwnProperty(n)){var r=this.body.nodes[n];t._data[n].x==Math.round(r.x)&&t._data[n].y==Math.round(r.y)||e.push({id:r.id,x:Math.round(r.x),y:Math.round(r.y)})}t.update(e)}},{key:"getBoundingBox",value:function(e){if(void 0!==this.body.nodes[e])return this.body.nodes[e].shape.boundingBox}},{key:"getConnectedNodes",value:function(e,t){var n=[];if(void 0!==this.body.nodes[e])for(var r=this.body.nodes[e],i={},o=0;o<r.edges.length;o++){var a=r.edges[o];"to"!==t&&a.toId==r.id?void 0===i[a.fromId]&&(n.push(a.fromId),i[a.fromId]=!0):"from"!==t&&a.fromId==r.id&&void 0===i[a.toId]&&(n.push(a.toId),i[a.toId]=!0)}return n}},{key:"getConnectedEdges",value:function(e){var t=[];if(void 0!==this.body.nodes[e])for(var n=this.body.nodes[e],r=0;r<n.edges.length;r++)t.push(n.edges[r].id);else console.log("NodeId provided for getConnectedEdges does not exist. Provided: ",e);return t}},{key:"moveNode",value:function(e,t,n){var r=this;void 0!==this.body.nodes[e]?(this.body.nodes[e].x=Number(t),this.body.nodes[e].y=Number(n),setTimeout((function(){r.body.emitter.emit("startSimulation")}),0)):console.log("Node id supplied to moveNode does not exist. Provided: ",e)}}]),e}();t.default=c},function(e,t,n){e.exports={default:n(189),__esModule:!0}},function(e,t,n){n(51),n(61),e.exports=n(190)},function(e,t,n){var r=n(86),i=n(13)("iterator"),o=n(32);e.exports=n(7).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(192).default,s=n(49).default,u=function(){function e(t,n,i,o){var s=this;(0,r.default)(this,e),this.ctx=t,this.parent=n,this.lines=new a((function(e,n){if(void 0===e)return 0;var r=s.parent.getFormattingValues(t,i,o,n),a=0;return""!==e&&(a=s.ctx.measureText(e).width),{width:a,values:r}}))}return(0,i.default)(e,[{key:"process",value:function(e){if(!s.isValidLabel(e))return this.lines.finalize();var t=this.parent.fontOptions;e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n");var n=String(e).split("\n"),r=n.length;if(t.multi)for(var i=0;i<r;i++){var o=this.splitBlocks(n[i],t.multi);if(void 0!==o)if(0!==o.length){if(t.maxWdt>0)for(var a=0;a<o.length;a++)this.splitStringIntoLines(o[a].text,o[a].mod,!0);else for(var u=0;u<o.length;u++)this.lines.append(o[u].text,o[u].mod);this.lines.newLine()}else this.lines.newLine("")}else if(t.maxWdt>0)for(var l=0;l<r;l++)this.splitStringIntoLines(n[l]);else for(var c=0;c<r;c++)this.lines.newLine(n[c]);return this.lines.finalize()}},{key:"decodeMarkupSystem",value:function(e){var t="none";return"markdown"===e||"md"===e?t="markdown":!0!==e&&"html"!==e||(t="html"),t}},{key:"splitHtmlBlocks",value:function(e){for(var t=[],n={bold:!1,ital:!1,mono:!1,spacing:!1,position:0,buffer:"",modStack:[],mod:function(){return 0===this.modStack.length?"normal":this.modStack[0]},modName:function(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":n.bold&&n.ital?"boldital":n.bold?"bold":n.ital?"ital":void 0},emitBlock:function(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(t.push({text:this.buffer,mod:this.modName()}),this.buffer="")},add:function(e){" "===e&&(n.spacing=!0),n.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=e&&(this.buffer+=e)}};n.position<e.length;){var r=e.charAt(n.position);/[ \t]/.test(r)?n.mono?n.add(r):n.spacing=!0:/</.test(r)?n.mono||n.bold||!/<b>/.test(e.substr(n.position,3))?n.mono||n.ital||!/<i>/.test(e.substr(n.position,3))?!n.mono&&/<code>/.test(e.substr(n.position,6))?(n.emitBlock(),n.mono=!0,n.modStack.unshift("mono"),n.position+=5):!n.mono&&"bold"===n.mod()&&/<\/b>/.test(e.substr(n.position,4))?(n.emitBlock(),n.bold=!1,n.modStack.shift(),n.position+=3):!n.mono&&"ital"===n.mod()&&/<\/i>/.test(e.substr(n.position,4))?(n.emitBlock(),n.ital=!1,n.modStack.shift(),n.position+=3):"mono"===n.mod()&&/<\/code>/.test(e.substr(n.position,7))?(n.emitBlock(),n.mono=!1,n.modStack.shift(),n.position+=6):n.add(r):(n.emitBlock(),n.ital=!0,n.modStack.unshift("ital"),n.position+=2):(n.emitBlock(),n.bold=!0,n.modStack.unshift("bold"),n.position+=2):/&/.test(r)?/&lt;/.test(e.substr(n.position,4))?(n.add("<"),n.position+=3):/&amp;/.test(e.substr(n.position,5))?(n.add("&"),n.position+=4):n.add("&"):n.add(r),n.position++}return n.emitBlock(),t}},{key:"splitMarkdownBlocks",value:function(e){for(var t=[],n={bold:!1,ital:!1,mono:!1,beginable:!0,spacing:!1,position:0,buffer:"",modStack:[],mod:function(){return 0===this.modStack.length?"normal":this.modStack[0]},modName:function(){return 0===this.modStack.length?"normal":"mono"===this.modStack[0]?"mono":n.bold&&n.ital?"boldital":n.bold?"bold":n.ital?"ital":void 0},emitBlock:function(){this.spacing&&(this.add(" "),this.spacing=!1),this.buffer.length>0&&(t.push({text:this.buffer,mod:this.modName()}),this.buffer="")},add:function(e){" "===e&&(n.spacing=!0),n.spacing&&(this.buffer+=" ",this.spacing=!1)," "!=e&&(this.buffer+=e)}};n.position<e.length;){var r=e.charAt(n.position);/[ \t]/.test(r)?(n.mono?n.add(r):n.spacing=!0,n.beginable=!0):/\\/.test(r)?n.position<e.length+1&&(n.position++,r=e.charAt(n.position),/ \t/.test(r)?n.spacing=!0:(n.add(r),n.beginable=!1)):n.mono||n.bold||!n.beginable&&!n.spacing||!/\*/.test(r)?n.mono||n.ital||!n.beginable&&!n.spacing||!/\_/.test(r)?!n.mono&&(n.beginable||n.spacing)&&/`/.test(r)?(n.emitBlock(),n.mono=!0,n.modStack.unshift("mono")):!n.mono&&"bold"===n.mod()&&/\*/.test(r)?n.position===e.length-1||/[.,_` \t\n]/.test(e.charAt(n.position+1))?(n.emitBlock(),n.bold=!1,n.modStack.shift()):n.add(r):!n.mono&&"ital"===n.mod()&&/\_/.test(r)?n.position===e.length-1||/[.,*` \t\n]/.test(e.charAt(n.position+1))?(n.emitBlock(),n.ital=!1,n.modStack.shift()):n.add(r):n.mono&&"mono"===n.mod()&&/`/.test(r)?n.position===e.length-1||/[.,*_ \t\n]/.test(e.charAt(n.position+1))?(n.emitBlock(),n.mono=!1,n.modStack.shift()):n.add(r):(n.add(r),n.beginable=!1):(n.emitBlock(),n.ital=!0,n.modStack.unshift("ital")):(n.emitBlock(),n.bold=!0,n.modStack.unshift("bold")),n.position++}return n.emitBlock(),t}},{key:"splitBlocks",value:function(e,t){var n=this.decodeMarkupSystem(t);return"none"===n?[{text:e,mod:"normal"}]:"markdown"===n?this.splitMarkdownBlocks(e):"html"===n?this.splitHtmlBlocks(e):void 0}},{key:"overMaxWidth",value:function(e){var t=this.ctx.measureText(e).width;return this.lines.curWidth()+t>this.parent.fontOptions.maxWdt}},{key:"getLongestFit",value:function(e){for(var t="",n=0;n<e.length;){var r=t+(""===t?"":" ")+e[n];if(this.overMaxWidth(r))break;t=r,n++}return n}},{key:"getLongestFitWord",value:function(e){for(var t=0;t<e.length&&!this.overMaxWidth(e.slice(0,t));)t++;return t}},{key:"splitStringIntoLines",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=(e=(e=e.replace(/^( +)/g,"$1\r")).replace(/([^\r][^ ]*)( +)/g,"$1\r$2\r")).split("\r");r.length>0;){var i=this.getLongestFit(r);if(0===i){var o=r[0],a=this.getLongestFitWord(o);this.lines.newLine(o.slice(0,a),t),r[0]=o.slice(a)}else{var s=i;" "===r[i-1]?i--:" "===r[s]&&s++;var u=r.slice(0,i).join("");i==r.length&&n?this.lines.append(u,t):this.lines.newLine(u,t),r=r.slice(s)}}}}]),e}();t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(90)),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){(0,i.default)(this,e),this.measureText=t,this.current=0,this.width=0,this.height=0,this.lines=[]}return(0,o.default)(e,[{key:"_add",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal";void 0===this.lines[e]&&(this.lines[e]={width:0,height:0,blocks:[]});var i=t;void 0!==t&&""!==t||(i=" ");var o=this.measureText(i,n),a=(0,r.default)({},o.values);a.text=t,a.width=o.width,a.mod=n,void 0!==t&&""!==t||(a.width=0),this.lines[e].blocks.push(a),this.lines[e].width+=a.width}},{key:"curWidth",value:function(){var e=this.lines[this.current];return void 0===e?0:e.width}},{key:"append",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,e,t)}},{key:"newLine",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal";this._add(this.current,e,t),this.current++}},{key:"determineLineHeights",value:function(){for(var e=0;e<this.lines.length;e++){var t=this.lines[e],n=0;if(void 0!==t.blocks)for(var r=0;r<t.blocks.length;r++){var i=t.blocks[r];n<i.height&&(n=i.height)}t.height=n}}},{key:"determineLabelSize",value:function(){for(var e=0,t=0,n=0;n<this.lines.length;n++){var r=this.lines[n];r.width>e&&(e=r.width),t+=r.height}this.width=e,this.height=t}},{key:"removeEmptyBlocks",value:function(){for(var e=[],t=0;t<this.lines.length;t++){var n=this.lines[t];if(0!==n.blocks.length&&(t!==this.lines.length-1||0!==n.width)){var i={};(0,r.default)(i,n),i.blocks=[];for(var o=void 0,a=[],s=0;s<n.blocks.length;s++){var u=n.blocks[s];0!==u.width?a.push(u):void 0===o&&(o=u)}0===a.length&&void 0!==o&&a.push(o),i.blocks=a,e.push(i)}}return e}},{key:"finalize",value:function(){this.determineLineHeights(),this.determineLabelSize();var e=this.removeEmptyBlocks();return{width:this.width,height:this.height,lines:e}}}]),e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){(0,i.default)(this,t);var s=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return s._setMargins(o),s}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(t,n)){var r=this.getDimensionsFromLabel(e,t,n);this.width=r.width+this.margin.right+this.margin.left,this.height=r.height+this.margin.top+this.margin.bottom,this.radius=this.width/2}}},{key:"draw",value:function(e,t,n,r,i,o){this.resize(e,r,i),this.left=t-this.width/2,this.top=n-this.height/2,this.initContextForDraw(e,o),e.roundRect(this.left,this.top,this.width,this.height,o.borderRadius),this.performFill(e,o),this.updateBoundingBox(t,n,e,r,i),this.labelModule.draw(e,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,r,i)}},{key:"updateBoundingBox",value:function(e,t,n,r,i){this._updateBoundingBox(e,t,n,r,i),this._addBoundingBoxMargin(this.options.shapeProperties.borderRadius)}},{key:"distanceToBorder",value:function(e,t){this.resize(e);var n=this.options.borderWidth;return Math.min(Math.abs(this.width/2/Math.cos(t)),Math.abs(this.height/2/Math.sin(t)))+n}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){n(195),e.exports=n(7).Object.getPrototypeOf},function(e,t,n){var r=n(42),i=n(85);n(87)("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},function(e,t,n){e.exports={default:n(197),__esModule:!0}},function(e,t,n){n(198),e.exports=n(7).Object.setPrototypeOf},function(e,t,n){var r=n(17);r(r.S,"Object",{setPrototypeOf:n(199).set})},function(e,t,n){var r=n(28),i=n(27),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(80)(Function.call,n(89).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){(0,i.default)(this,t);var s=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return s._setMargins(o),s}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(t,n)){var r=this.getDimensionsFromLabel(e,t,n),i=Math.max(r.width+this.margin.right+this.margin.left,r.height+this.margin.top+this.margin.bottom);this.options.size=i/2,this.width=i,this.height=i,this.radius=this.width/2}}},{key:"draw",value:function(e,t,n,r,i,o){this.resize(e,r,i),this.left=t-this.width/2,this.top=n-this.height/2,this._drawRawCircle(e,t,n,o),this.updateBoundingBox(t,n),this.labelModule.draw(e,this.left+this.textSize.width/2+this.margin.left,n,r,i)}},{key:"updateBoundingBox",value:function(e,t){this.boundingBox.top=t-this.options.size,this.boundingBox.left=e-this.options.size,this.boundingBox.right=e+this.options.size,this.boundingBox.bottom=t+this.options.size}},{key:"distanceToBorder",value:function(e,t){return this.resize(e),.5*this.width}}]),t}(u(n(74)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o,s,u){(0,i.default)(this,t);var l=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return l.setImages(s,u),l}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,r=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(r){var i=2*this.options.size;return this.width=i,this.height=i,void(this.radius=.5*this.width)}this.needsRefresh(t,n)&&this._resizeImage()}},{key:"draw",value:function(e,t,n,r,i,o){this.switchImages(r),this.resize(),this.left=t-this.width/2,this.top=n-this.height/2,this._drawRawCircle(e,t,n,o),e.save(),e.clip(),this._drawImageAtPosition(e,o),e.restore(),this._drawImageLabel(e,t,n,r,i),this.updateBoundingBox(t,n)}},{key:"updateBoundingBox",value:function(e,t){this.boundingBox.top=t-this.options.size,this.boundingBox.left=e-this.options.size,this.boundingBox.right=e+this.options.size,this.boundingBox.bottom=t+this.options.size,this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset)}},{key:"distanceToBorder",value:function(e,t){return this.resize(e),.5*this.width}}]),t}(u(n(74)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){(0,i.default)(this,t);var s=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return s._setMargins(o),s}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e,t,n){if(this.needsRefresh(t,n)){var r=this.getDimensionsFromLabel(e,t,n).width+this.margin.right+this.margin.left;this.width=r,this.height=r,this.radius=this.width/2}}},{key:"draw",value:function(e,t,n,r,i,o){this.resize(e,r,i),this.left=t-this.width/2,this.top=n-this.height/2,this.initContextForDraw(e,o),e.database(t-this.width/2,n-this.height/2,this.width,this.height),this.performFill(e,o),this.updateBoundingBox(t,n,e,r,i),this.labelModule.draw(e,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,r,i)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"diamond",4,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"circle",2,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this.resize(e),this.options.size}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover;if(this.needsRefresh(t,n)){var r=this.getDimensionsFromLabel(e,t,n);this.height=2*r.height,this.width=r.width+r.height,this.radius=.5*this.width}}},{key:"draw",value:function(e,t,n,r,i,o){this.resize(e,r,i),this.left=t-.5*this.width,this.top=n-.5*this.height,this.initContextForDraw(e,o),e.ellipse_vis(this.left,this.top,this.width,this.height),this.performFill(e,o),this.updateBoundingBox(t,n,e,r,i),this.labelModule.draw(e,t,n,r,i)}},{key:"distanceToBorder",value:function(e,t){this.resize(e);var n=.5*this.width,r=.5*this.height,i=Math.sin(t)*n,o=Math.cos(t)*r;return n*r/Math.sqrt(i*i+o*o)}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){(0,i.default)(this,t);var s=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return s._setMargins(o),s}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e,t,n){this.needsRefresh(t,n)&&(this.iconSize={width:Number(this.options.icon.size),height:Number(this.options.icon.size)},this.width=this.iconSize.width+this.margin.right+this.margin.left,this.height=this.iconSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(e,t,n,r,i,o){this.resize(e,r,i),this.options.icon.size=this.options.icon.size||50,this.left=t-this.width/2,this.top=n-this.height/2,this._icon(e,t,n,r,i,o),void 0!==this.options.label&&this.labelModule.draw(e,this.left+this.iconSize.width/2+this.margin.left,n+this.height/2+5,r),this.updateBoundingBox(t,n)}},{key:"updateBoundingBox",value:function(e,t){this.boundingBox.top=t-.5*this.options.icon.size,this.boundingBox.left=e-.5*this.options.icon.size,this.boundingBox.right=e+.5*this.options.icon.size,this.boundingBox.bottom=t+.5*this.options.icon.size,void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelModule.size.height+5))}},{key:"_icon",value:function(e,t,n,r,i,o){var a=Number(this.options.icon.size);void 0!==this.options.icon.code?(e.font=(r?"bold ":"")+a+"px "+this.options.icon.face,e.fillStyle=this.options.icon.color||"black",e.textAlign="center",e.textBaseline="middle",this.enableShadow(e,o),e.fillText(this.options.icon.code,t,n),this.disableShadow(e,o)):console.error("When using the icon shape, you need to define the code in the icon options object. This can be done per node or globally.")}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o,s,u){(0,i.default)(this,t);var l=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return l.setImages(s,u),l}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selected,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hover,r=void 0===this.imageObj.src||void 0===this.imageObj.width||void 0===this.imageObj.height;if(r){var i=2*this.options.size;return this.width=i,void(this.height=i)}this.needsRefresh(t,n)&&this._resizeImage()}},{key:"draw",value:function(e,t,n,r,i,o){this.switchImages(r||i),this.resize(),this.left=t-this.width/2,this.top=n-this.height/2,!0===this.options.shapeProperties.useBorderWithImage&&(e.lineWidth=Math.min(this.width,(r?this.options.borderWidthSelected||2*this.options.borderWidth:this.options.borderWidth)/this.body.view.scale),e.beginPath(),e.strokeStyle=r?this.options.color.highlight.border:i?this.options.color.hover.border:this.options.color.border,e.fillStyle=r?this.options.color.highlight.background:i?this.options.color.hover.background:this.options.color.background,e.rect(this.left-.5*e.lineWidth,this.top-.5*e.lineWidth,this.width+e.lineWidth,this.height+e.lineWidth),e.fill(),this.performStroke(e,o),e.closePath()),this._drawImageAtPosition(e,o),this._drawImageLabel(e,t,n,r,i),this.updateBoundingBox(t,n)}},{key:"updateBoundingBox",value:function(e,t){this.resize(),this._updateBoundingBox(e,t),void 0!==this.options.label&&this.labelModule.size.width>0&&(this.boundingBox.left=Math.min(this.boundingBox.left,this.labelModule.size.left),this.boundingBox.right=Math.max(this.boundingBox.right,this.labelModule.size.left+this.labelModule.size.width),this.boundingBox.bottom=Math.max(this.boundingBox.bottom,this.boundingBox.bottom+this.labelOffset))}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(74)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"square",2,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"hexagon",4,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"star",4,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){(0,i.default)(this,t);var s=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o));return s._setMargins(o),s}return(0,s.default)(t,e),(0,o.default)(t,[{key:"resize",value:function(e,t,n){this.needsRefresh(t,n)&&(this.textSize=this.labelModule.getTextSize(e,t,n),this.width=this.textSize.width+this.margin.right+this.margin.left,this.height=this.textSize.height+this.margin.top+this.margin.bottom,this.radius=.5*this.width)}},{key:"draw",value:function(e,t,n,r,i,o){this.resize(e,r,i),this.left=t-this.width/2,this.top=n-this.height/2,this.enableShadow(e,o),this.labelModule.draw(e,this.left+this.textSize.width/2+this.margin.left,this.top+this.textSize.height/2+this.margin.top,r,i),this.disableShadow(e,o),this.updateBoundingBox(t,n,e,r,i)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(23)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"triangle",3,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"draw",value:function(e,t,n,r,i,o){this._drawShape(e,"triangleDown",3,t,n,r,i,o)}},{key:"distanceToBorder",value:function(e,t){return this._distanceToBorder(e,t)}}]),t}(u(n(24)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=n(11),u=n(12),l=n(75).default,c=function(){function e(t,n,i){var o=this;(0,r.default)(this,e),this.body=t,this.images=n,this.groups=i,this.body.functions.createEdge=this.create.bind(this),this.edgesListeners={add:function(e,t){o.add(t.items)},update:function(e,t){o.update(t.items)},remove:function(e,t){o.remove(t.items)}},this.options={},this.defaultOptions={arrows:{to:{enabled:!1,scaleFactor:1,type:"arrow"},middle:{enabled:!1,scaleFactor:1,type:"arrow"},from:{enabled:!1,scaleFactor:1,type:"arrow"}},arrowStrikethrough:!0,color:{color:"#848484",highlight:"#848484",hover:"#848484",inherit:"from",opacity:1},dashes:!1,font:{color:"#343434",size:14,face:"arial",background:"none",strokeWidth:2,strokeColor:"#ffffff",align:"horizontal",multi:!1,vadjust:0,bold:{mod:"bold"},boldital:{mod:"bold italic"},ital:{mod:"italic"},mono:{mod:"",size:15,face:"courier new",vadjust:2}},hidden:!1,hoverWidth:1.5,label:void 0,labelHighlightBold:!0,length:void 0,physics:!0,scaling:{min:1,max:15,label:{enabled:!0,min:14,max:30,maxVisible:30,drawThreshold:5},customScalingFunction:function(e,t,n,r){return t===e?.5:Math.max(0,1/(t-e)*(r-e))}},selectionWidth:1.5,selfReferenceSize:20,shadow:{enabled:!1,color:"rgba(0,0,0,0.5)",size:10,x:5,y:5},smooth:{enabled:!0,type:"dynamic",forceDirection:"none",roundness:.5},title:void 0,width:1,value:void 0},a.deepExtend(this.options,this.defaultOptions),this.bindEventListeners()}return(0,i.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("_forceDisableDynamicCurves",(function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"dynamic"===t&&(t="continuous");var r=!1;for(var i in e.body.edges)if(e.body.edges.hasOwnProperty(i)){var o=e.body.edges[i],a=e.body.data.edges._data[i];if(void 0!==a){var s=a.smooth;void 0!==s&&!0===s.enabled&&"dynamic"===s.type&&(o.setOptions(void 0===t?{smooth:!1}:{smooth:{type:t}}),r=!0)}}!0===n&&!0===r&&e.body.emitter.emit("_dataChanged")})),this.body.emitter.on("_dataUpdated",(function(){e.reconnectEdges()})),this.body.emitter.on("refreshEdges",this.refresh.bind(this)),this.body.emitter.on("refresh",this.refresh.bind(this)),this.body.emitter.on("destroy",(function(){a.forEach(e.edgesListeners,(function(t,n){e.body.data.edges&&e.body.data.edges.off(n,t)})),delete e.body.functions.createEdge,delete e.edgesListeners.add,delete e.edgesListeners.update,delete e.edgesListeners.remove,delete e.edgesListeners}))}},{key:"setOptions",value:function(e){if(void 0!==e){l.parseOptions(this.options,e,!0,this.defaultOptions,!0);var t=!1;if(void 0!==e.smooth)for(var n in this.body.edges)this.body.edges.hasOwnProperty(n)&&(t=this.body.edges[n].updateEdgeType()||t);if(void 0!==e.font)for(var r in this.body.edges)this.body.edges.hasOwnProperty(r)&&this.body.edges[r].updateLabelModule();void 0===e.hidden&&void 0===e.physics&&!0!==t||this.body.emitter.emit("_dataChanged")}}},{key:"setData",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.body.data.edges;if(e instanceof s||e instanceof u)this.body.data.edges=e;else if(Array.isArray(e))this.body.data.edges=new s,this.body.data.edges.add(e);else{if(e)throw new TypeError("Array or DataSet expected");this.body.data.edges=new s}if(r&&a.forEach(this.edgesListeners,(function(e,t){r.off(t,e)})),this.body.edges={},this.body.data.edges){a.forEach(this.edgesListeners,(function(e,n){t.body.data.edges.on(n,e)}));var i=this.body.data.edges.getIds();this.add(i,!0)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===n&&this.body.emitter.emit("_dataChanged")}},{key:"add",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.body.edges,r=this.body.data.edges,i=0;i<e.length;i++){var o=e[i],a=n[o];a&&a.disconnect();var s=r.get(o,{showInternalIds:!0});n[o]=this.create(s)}this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),!1===t&&this.body.emitter.emit("_dataChanged")}},{key:"update",value:function(e){for(var t=this.body.edges,n=this.body.data.edges,r=!1,i=0;i<e.length;i++){var o=e[i],a=n.get(o),s=t[o];void 0!==s?(s.disconnect(),r=s.setOptions(a)||r,s.connect()):(this.body.edges[o]=this.create(a),r=!0)}!0===r?(this.body.emitter.emit("_adjustEdgesForHierarchicalLayout"),this.body.emitter.emit("_dataChanged")):this.body.emitter.emit("_dataUpdated")}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(0!==e.length){var n=this.body.edges;a.forEach(e,(function(e){var t=n[e];void 0!==t&&t.remove()})),t&&this.body.emitter.emit("_dataChanged")}}},{key:"refresh",value:function(){var e=this;a.forEach(this.body.edges,(function(t,n){var r=e.body.data.edges._data[n];void 0!==r&&t.setOptions(r)}))}},{key:"create",value:function(e){return new l(e,this.body,this.options,this.defaultOptions)}},{key:"reconnectEdges",value:function(){var e,t=this.body.nodes,n=this.body.edges;for(e in t)t.hasOwnProperty(e)&&(t[e].edges=[]);for(e in n)if(n.hasOwnProperty(e)){var r=n[e];r.from=null,r.to=null,r.connect()}}},{key:"getConnectedNodes",value:function(e){var t=[];if(void 0!==this.body.edges[e]){var n=this.body.edges[e];void 0!==n.fromId&&t.push(n.fromId),void 0!==n.toId&&t.push(n.toId)}return t}},{key:"_updateState",value:function(){this._addMissingEdges(),this._removeInvalidEdges()}},{key:"_removeInvalidEdges",value:function(){var e=this,t=[];a.forEach(this.body.edges,(function(n,r){var i=e.body.nodes[n.toId],o=e.body.nodes[n.fromId];void 0!==i&&!0===i.isCluster||void 0!==o&&!0===o.isCluster||void 0!==i&&void 0!==o||t.push(r)})),this.remove(t,!1)}},{key:"_addMissingEdges",value:function(){var e=this.body.edges,t=[];this.body.data.edges.forEach((function(n,r){void 0===e[r]&&t.push(r)})),this.add(t,!0)}}]),e}();t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(31)),i=l(n(3)),o=l(n(0)),a=l(n(1)),s=l(n(4)),u=l(n(5));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n,r){return(0,o.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e,n,r))}return(0,u.default)(t,e),(0,a.default)(t,[{key:"_line",value:function(e,t,n){this._bezierCurve(e,t,n[0],n[1])}},{key:"_getViaCoordinates",value:function(){var e=this.from.x-this.to.x,t=this.from.y-this.to.y,n=void 0,r=void 0,i=void 0,o=void 0,a=this.options.smooth.roundness;return(Math.abs(e)>Math.abs(t)||!0===this.options.smooth.forceDirection||"horizontal"===this.options.smooth.forceDirection)&&"vertical"!==this.options.smooth.forceDirection?(r=this.from.y,o=this.to.y,n=this.from.x-a*e,i=this.to.x+a*e):(r=this.from.y-a*t,o=this.to.y+a*t,n=this.from.x,i=this.to.x),[{x:n,y:r},{x:i,y:o}]}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_findBorderPosition",value:function(e,t){return this._findBorderPositionBezier(e,t)}},{key:"_getDistanceToEdge",value:function(e,t,n,i,o,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates(),u=(0,r.default)(s,2),l=u[0],c=u[1];return this._getDistanceToBezierEdge(e,t,n,i,o,a,l,c)}},{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),n=(0,r.default)(t,2),i=n[0],o=n[1],a=e,s=[];s[0]=Math.pow(1-a,3),s[1]=3*a*Math.pow(1-a,2),s[2]=3*Math.pow(a,2)*(1-a),s[3]=Math.pow(a,3);var u=s[0]*this.fromPoint.x+s[1]*i.x+s[2]*o.x+s[3]*this.toPoint.x,l=s[0]*this.fromPoint.y+s[1]*i.y+s[2]*o.y+s[3]*this.toPoint.y;return{x:u,y:l}}}]),t}(l(n(216)).default);t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_getDistanceToBezierEdge",value:function(e,t,n,r,i,o,a,s){var u=1e9,l=void 0,c=void 0,d=void 0,f=void 0,h=void 0,p=e,m=t,v=[0,0,0,0];for(c=1;c<10;c++)d=.1*c,v[0]=Math.pow(1-d,3),v[1]=3*d*Math.pow(1-d,2),v[2]=3*Math.pow(d,2)*(1-d),v[3]=Math.pow(d,3),f=v[0]*e+v[1]*a.x+v[2]*s.x+v[3]*n,h=v[0]*t+v[1]*a.y+v[2]*s.y+v[3]*r,c>0&&(u=(l=this._getDistanceToLine(p,m,f,h,i,o))<u?l:u),p=f,m=h;return u}}]),t}(u(n(76)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(31)),i=l(n(3)),o=l(n(0)),a=l(n(1)),s=l(n(4)),u=l(n(5));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n,r){(0,o.default)(this,t);var a=(0,s.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e,n,r));return a._boundFunction=function(){a.positionBezierNode()},a.body.emitter.on("_repositionBezierNodes",a._boundFunction),a}return(0,u.default)(t,e),(0,a.default)(t,[{key:"setOptions",value:function(e){var t=!1;this.options.physics!==e.physics&&(t=!0),this.options=e,this.id=this.options.id,this.from=this.body.nodes[this.options.from],this.to=this.body.nodes[this.options.to],this.setupSupportNode(),this.connect(),!0===t&&(this.via.setOptions({physics:this.options.physics}),this.positionBezierNode())}},{key:"connect",value:function(){this.from=this.body.nodes[this.options.from],this.to=this.body.nodes[this.options.to],this.via.setOptions(void 0===this.from||void 0===this.to||!1===this.options.physics||this.from.id===this.to.id?{physics:!1}:{physics:!0})}},{key:"cleanup",value:function(){return this.body.emitter.off("_repositionBezierNodes",this._boundFunction),void 0!==this.via&&(delete this.body.nodes[this.via.id],this.via=void 0,!0)}},{key:"setupSupportNode",value:function(){if(void 0===this.via){var e="edgeId:"+this.id,t=this.body.functions.createNode({id:e,shape:"circle",physics:!0,hidden:!0});this.body.nodes[e]=t,this.via=t,this.via.parentEdgeId=this.id,this.positionBezierNode()}}},{key:"positionBezierNode",value:function(){void 0!==this.via&&void 0!==this.from&&void 0!==this.to?(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y)):void 0!==this.via&&(this.via.x=0,this.via.y=0)}},{key:"_line",value:function(e,t,n){this._bezierCurve(e,t,n)}},{key:"getViaNode",value:function(){return this.via}},{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.via,n=e,i=void 0,o=void 0;if(this.from===this.to){var a=this._getCircleData(this.from),s=(0,r.default)(a,3),u=s[0],l=s[1],c=s[2],d=2*Math.PI*(1-n);i=u+c*Math.sin(d),o=l+c-c*(1-Math.cos(d))}else i=Math.pow(1-n,2)*this.fromPoint.x+2*n*(1-n)*t.x+Math.pow(n,2)*this.toPoint.x,o=Math.pow(1-n,2)*this.fromPoint.y+2*n*(1-n)*t.y+Math.pow(n,2)*this.toPoint.y;return{x:i,y:o}}},{key:"_findBorderPosition",value:function(e,t){return this._findBorderPositionBezier(e,t,this.via)}},{key:"_getDistanceToEdge",value:function(e,t,n,r,i,o){return this._getDistanceToBezierEdge(e,t,n,r,i,o,this.via)}}]),t}(l(n(76)).default);t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_line",value:function(e,t,n){this._bezierCurve(e,t,n)}},{key:"getViaNode",value:function(){return this._getViaCoordinates()}},{key:"_getViaCoordinates",value:function(){var e=void 0,t=void 0,n=this.options.smooth.roundness,r=this.options.smooth.type,i=Math.abs(this.from.x-this.to.x),o=Math.abs(this.from.y-this.to.y);if("discrete"===r||"diagonalCross"===r){var a=void 0,s=void 0;a=s=i<=o?n*o:n*i,this.from.x>this.to.x&&(a=-a),this.from.y>=this.to.y&&(s=-s),e=this.from.x+a,t=this.from.y+s,"discrete"===r&&(i<=o?e=i<n*o?this.from.x:e:t=o<n*i?this.from.y:t)}else if("straightCross"===r){var u=(1-n)*i,l=(1-n)*o;i<=o?(u=0,this.from.y<this.to.y&&(l=-l)):(this.from.x<this.to.x&&(u=-u),l=0),e=this.to.x+u,t=this.to.y+l}else if("horizontal"===r){var c=(1-n)*i;this.from.x<this.to.x&&(c=-c),e=this.to.x+c,t=this.from.y}else if("vertical"===r){var d=(1-n)*o;this.from.y<this.to.y&&(d=-d),e=this.from.x,t=this.to.y+d}else if("curvedCW"===r){i=this.to.x-this.from.x,o=this.from.y-this.to.y;var f=Math.sqrt(i*i+o*o),h=Math.PI,p=(Math.atan2(o,i)+(.5*n+.5)*h)%(2*h);e=this.from.x+(.5*n+.5)*f*Math.sin(p),t=this.from.y+(.5*n+.5)*f*Math.cos(p)}else if("curvedCCW"===r){i=this.to.x-this.from.x,o=this.from.y-this.to.y;var m=Math.sqrt(i*i+o*o),v=Math.PI,g=(Math.atan2(o,i)+(.5*-n+.5)*v)%(2*v);e=this.from.x+(.5*n+.5)*m*Math.sin(g),t=this.from.y+(.5*n+.5)*m*Math.cos(g)}else{var y=void 0,b=void 0;y=b=i<=o?n*o:n*i,this.from.x>this.to.x&&(y=-y),this.from.y>=this.to.y&&(b=-b),e=this.from.x+y,t=this.from.y+b,i<=o?e=this.from.x<=this.to.x?this.to.x<e?this.to.x:e:this.to.x>e?this.to.x:e:t=this.from.y>=this.to.y?this.to.y>t?this.to.y:t:this.to.y<t?this.to.y:t}return{x:e,y:t}}},{key:"_findBorderPosition",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._findBorderPositionBezier(e,t,n.via)}},{key:"_getDistanceToEdge",value:function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:this._getViaCoordinates();return this._getDistanceToBezierEdge(e,t,n,r,i,o,a)}},{key:"getPoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getViaCoordinates(),n=e,r=Math.pow(1-n,2)*this.fromPoint.x+2*n*(1-n)*t.x+Math.pow(n,2)*this.toPoint.x,i=Math.pow(1-n,2)*this.fromPoint.y+2*n*(1-n)*t.y+Math.pow(n,2)*this.toPoint.y;return{x:r,y:i}}}]),t}(u(n(76)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_line",value:function(e,t){e.beginPath(),e.moveTo(this.fromPoint.x,this.fromPoint.y),e.lineTo(this.toPoint.x,this.toPoint.y),this.enableShadow(e,t),e.stroke(),this.disableShadow(e,t)}},{key:"getViaNode",value:function(){}},{key:"getPoint",value:function(e){return{x:(1-e)*this.fromPoint.x+e*this.toPoint.x,y:(1-e)*this.fromPoint.y+e*this.toPoint.y}}},{key:"_findBorderPosition",value:function(e,t){var n=this.to,r=this.from;e.id===this.from.id&&(n=this.from,r=this.to);var i=Math.atan2(n.y-r.y,n.x-r.x),o=n.x-r.x,a=n.y-r.y,s=Math.sqrt(o*o+a*a),u=(s-e.distanceToBorder(t,i))/s,l={};return l.x=(1-u)*r.x+u*n.x,l.y=(1-u)*r.y+u*n.y,l}},{key:"_getDistanceToEdge",value:function(e,t,n,r,i,o){return this._getDistanceToLine(e,t,n,r,i,o)}}]),t}(u(n(118)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(8)),i=a(n(0)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(120).default,u=n(221).default,l=n(222).default,c=n(223).default,d=n(224).default,f=n(121).default,h=n(225).default,p=n(226).default,m=n(2),v=n(119).default,g=function(){function e(t){(0,i.default)(this,e),this.body=t,this.physicsBody={physicsNodeIndices:[],physicsEdgeIndices:[],forces:{},velocities:{}},this.physicsEnabled=!0,this.simulationInterval=1e3/60,this.requiresTimeout=!0,this.previousStates={},this.referenceState={},this.freezeCache={},this.renderTimer=void 0,this.adaptiveTimestep=!1,this.adaptiveTimestepEnabled=!1,this.adaptiveCounter=0,this.adaptiveInterval=3,this.stabilized=!1,this.startedStabilization=!1,this.stabilizationIterations=0,this.ready=!1,this.options={},this.defaultOptions={enabled:!0,barnesHut:{theta:.5,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09,avoidOverlap:0},forceAtlas2Based:{theta:.5,gravitationalConstant:-50,centralGravity:.01,springConstant:.08,springLength:100,damping:.4,avoidOverlap:0},repulsion:{centralGravity:.2,springLength:200,springConstant:.05,nodeDistance:100,damping:.09,avoidOverlap:0},hierarchicalRepulsion:{centralGravity:0,springLength:100,springConstant:.01,nodeDistance:120,damping:.09},maxVelocity:50,minVelocity:.75,solver:"barnesHut",stabilization:{enabled:!0,iterations:1e3,updateInterval:50,onlyDynamicEdges:!1,fit:!0},timestep:.5,adaptiveTimestep:!0},m.extend(this.options,this.defaultOptions),this.timestep=.5,this.layoutFailed=!1,this.bindEventListeners()}return(0,o.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("initPhysics",(function(){e.initPhysics()})),this.body.emitter.on("_layoutFailed",(function(){e.layoutFailed=!0})),this.body.emitter.on("resetPhysics",(function(){e.stopSimulation(),e.ready=!1})),this.body.emitter.on("disablePhysics",(function(){e.physicsEnabled=!1,e.stopSimulation()})),this.body.emitter.on("restorePhysics",(function(){e.setOptions(e.options),!0===e.ready&&e.startSimulation()})),this.body.emitter.on("startSimulation",(function(){!0===e.ready&&e.startSimulation()})),this.body.emitter.on("stopSimulation",(function(){e.stopSimulation()})),this.body.emitter.on("destroy",(function(){e.stopSimulation(!1),e.body.emitter.off()})),this.body.emitter.on("_dataChanged",(function(){e.updatePhysicsData()}))}},{key:"setOptions",value:function(e){void 0!==e&&(!1===e?(this.options.enabled=!1,this.physicsEnabled=!1,this.stopSimulation()):!0===e?(this.options.enabled=!0,this.physicsEnabled=!0,this.startSimulation()):(this.physicsEnabled=!0,m.selectiveNotDeepExtend(["stabilization"],this.options,e),m.mergeOptions(this.options,e,"stabilization"),void 0===e.enabled&&(this.options.enabled=!0),!1===this.options.enabled&&(this.physicsEnabled=!1,this.stopSimulation()),this.timestep=this.options.timestep)),this.init()}},{key:"init",value:function(){var e;"forceAtlas2Based"===this.options.solver?(this.nodesSolver=new h(this.body,this.physicsBody,e=this.options.forceAtlas2Based),this.edgesSolver=new c(this.body,this.physicsBody,e),this.gravitySolver=new p(this.body,this.physicsBody,e)):"repulsion"===this.options.solver?(this.nodesSolver=new u(this.body,this.physicsBody,e=this.options.repulsion),this.edgesSolver=new c(this.body,this.physicsBody,e),this.gravitySolver=new f(this.body,this.physicsBody,e)):"hierarchicalRepulsion"===this.options.solver?(this.nodesSolver=new l(this.body,this.physicsBody,e=this.options.hierarchicalRepulsion),this.edgesSolver=new d(this.body,this.physicsBody,e),this.gravitySolver=new f(this.body,this.physicsBody,e)):(this.nodesSolver=new s(this.body,this.physicsBody,e=this.options.barnesHut),this.edgesSolver=new c(this.body,this.physicsBody,e),this.gravitySolver=new f(this.body,this.physicsBody,e)),this.modelOptions=e}},{key:"initPhysics",value:function(){!0===this.physicsEnabled&&!0===this.options.enabled?!0===this.options.stabilization.enabled?this.stabilize():(this.stabilized=!1,this.ready=!0,this.body.emitter.emit("fit",{},this.layoutFailed),this.startSimulation()):(this.ready=!0,this.body.emitter.emit("fit"))}},{key:"startSimulation",value:function(){!0===this.physicsEnabled&&!0===this.options.enabled?(this.stabilized=!1,this.adaptiveTimestep=!1,this.body.emitter.emit("_resizeNodes"),void 0===this.viewFunction&&(this.viewFunction=this.simulationStep.bind(this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))):this.body.emitter.emit("_redraw")}},{key:"stopSimulation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.stabilized=!0,!0===e&&this._emitStabilized(),void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.viewFunction=void 0,!0===e&&this.body.emitter.emit("_stopRendering"))}},{key:"simulationStep",value:function(){var e=Date.now();this.physicsTick(),(Date.now()-e<.4*this.simulationInterval||!0===this.runDoubleSpeed)&&!1===this.stabilized&&(this.physicsTick(),this.runDoubleSpeed=!0),!0===this.stabilized&&this.stopSimulation()}},{key:"_emitStabilized",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.stabilizationIterations;(this.stabilizationIterations>1||!0===this.startedStabilization)&&setTimeout((function(){e.body.emitter.emit("stabilized",{iterations:t}),e.startedStabilization=!1,e.stabilizationIterations=0}),0)}},{key:"physicsStep",value:function(){this.gravitySolver.solve(),this.nodesSolver.solve(),this.edgesSolver.solve(),this.moveNodes()}},{key:"adjustTimeStep",value:function(){!0===this._evaluateStepQuality()?this.timestep=1.2*this.timestep:this.timestep/1.2<this.options.timestep?this.timestep=this.options.timestep:(this.adaptiveCounter=-1,this.timestep=Math.max(this.options.timestep,this.timestep/1.2))}},{key:"physicsTick",value:function(){this._startStabilizing(),!0!==this.stabilized&&(!0===this.adaptiveTimestep&&!0===this.adaptiveTimestepEnabled?(this.adaptiveCounter%this.adaptiveInterval==0?(this.timestep=2*this.timestep,this.physicsStep(),this.revert(),this.timestep=.5*this.timestep,this.physicsStep(),this.physicsStep(),this.adjustTimeStep()):this.physicsStep(),this.adaptiveCounter+=1):(this.timestep=this.options.timestep,this.physicsStep()),!0===this.stabilized&&this.revert(),this.stabilizationIterations++)}},{key:"updatePhysicsData",value:function(){this.physicsBody.forces={},this.physicsBody.physicsNodeIndices=[],this.physicsBody.physicsEdgeIndices=[];var e=this.body.nodes,t=this.body.edges;for(var n in e)e.hasOwnProperty(n)&&!0===e[n].options.physics&&this.physicsBody.physicsNodeIndices.push(e[n].id);for(var r in t)t.hasOwnProperty(r)&&!0===t[r].options.physics&&this.physicsBody.physicsEdgeIndices.push(t[r].id);for(var i=0;i<this.physicsBody.physicsNodeIndices.length;i++){var o=this.physicsBody.physicsNodeIndices[i];this.physicsBody.forces[o]={x:0,y:0},void 0===this.physicsBody.velocities[o]&&(this.physicsBody.velocities[o]={x:0,y:0})}for(var a in this.physicsBody.velocities)void 0===e[a]&&delete this.physicsBody.velocities[a]}},{key:"revert",value:function(){var e=(0,r.default)(this.previousStates),t=this.body.nodes,n=this.physicsBody.velocities;this.referenceState={};for(var i=0;i<e.length;i++){var o=e[i];void 0!==t[o]?!0===t[o].options.physics&&(this.referenceState[o]={positions:{x:t[o].x,y:t[o].y}},n[o].x=this.previousStates[o].vx,n[o].y=this.previousStates[o].vy,t[o].x=this.previousStates[o].x,t[o].y=this.previousStates[o].y):delete this.previousStates[o]}}},{key:"_evaluateStepQuality",value:function(){var e=void 0,t=this.body.nodes,n=this.referenceState;for(var r in this.referenceState)if(this.referenceState.hasOwnProperty(r)&&void 0!==t[r]&&(e=t[r].y-n[r].positions.y,Math.sqrt(Math.pow(t[r].x-n[r].positions.x,2)+Math.pow(e,2))>.3))return!1;return!0}},{key:"moveNodes",value:function(){for(var e=this.physicsBody.physicsNodeIndices,t=0,n=0,r=0;r<e.length;r++){var i=this._performStep(e[r]);t=Math.max(t,i),n+=i}this.adaptiveTimestepEnabled=n/e.length<5,this.stabilized=t<this.options.minVelocity}},{key:"calculateComponentVelocity",value:function(e,t,n){e+=(t-this.modelOptions.damping*e)/n*this.timestep;var r=this.options.maxVelocity||1e9;return Math.abs(e)>r&&(e=e>0?r:-r),e}},{key:"_performStep",value:function(e){var t=this.body.nodes[e],n=this.physicsBody.forces[e],r=this.physicsBody.velocities[e];return this.previousStates[e]={x:t.x,y:t.y,vx:r.x,vy:r.y},!1===t.options.fixed.x?(r.x=this.calculateComponentVelocity(r.x,n.x,t.options.mass),t.x+=r.x*this.timestep):(n.x=0,r.x=0),!1===t.options.fixed.y?(r.y=this.calculateComponentVelocity(r.y,n.y,t.options.mass),t.y+=r.y*this.timestep):(n.y=0,r.y=0),Math.sqrt(Math.pow(r.x,2)+Math.pow(r.y,2))}},{key:"_freezeNodes",value:function(){var e=this.body.nodes;for(var t in e)if(e.hasOwnProperty(t)&&e[t].x&&e[t].y){var n=e[t].options.fixed;this.freezeCache[t]={x:n.x,y:n.y},n.x=!0,n.y=!0}}},{key:"_restoreFrozenNodes",value:function(){var e=this.body.nodes;for(var t in e)e.hasOwnProperty(t)&&void 0!==this.freezeCache[t]&&(e[t].options.fixed.x=this.freezeCache[t].x,e[t].options.fixed.y=this.freezeCache[t].y);this.freezeCache={}}},{key:"stabilize",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.stabilization.iterations;"number"!=typeof t&&(t=this.options.stabilization.iterations,console.log("The stabilize method needs a numeric amount of iterations. Switching to default: ",t)),0!==this.physicsBody.physicsNodeIndices.length?(this.adaptiveTimestep=this.options.adaptiveTimestep,this.body.emitter.emit("_resizeNodes"),this.stopSimulation(),this.stabilized=!1,this.body.emitter.emit("_blockRedraw"),this.targetIterations=t,!0===this.options.stabilization.onlyDynamicEdges&&this._freezeNodes(),this.stabilizationIterations=0,setTimeout((function(){return e._stabilizationBatch()}),0)):this.ready=!0}},{key:"_startStabilizing",value:function(){return!0!==this.startedStabilization&&(this.body.emitter.emit("startStabilizing"),this.startedStabilization=!0,!0)}},{key:"_stabilizationBatch",value:function(){var e=this,t=function(){return!1===e.stabilized&&e.stabilizationIterations<e.targetIterations},n=function(){e.body.emitter.emit("stabilizationProgress",{iterations:e.stabilizationIterations,total:e.targetIterations})};this._startStabilizing()&&n();for(var r=0;t()&&r<this.options.stabilization.updateInterval;)this.physicsTick(),r++;n(),t()?setTimeout(this._stabilizationBatch.bind(this),0):this._finalizeStabilization()}},{key:"_finalizeStabilization",value:function(){this.body.emitter.emit("_allowRedraw"),!0===this.options.stabilization.fit&&this.body.emitter.emit("fit"),!0===this.options.stabilization.onlyDynamicEdges&&this._restoreFrozenNodes(),this.body.emitter.emit("stabilizationIterationsDone"),this.body.emitter.emit("_requestRedraw"),!0===this.stabilized?this._emitStabilized():this.startSimulation(),this.ready=!0}},{key:"_drawForces",value:function(e){for(var t=0;t<this.physicsBody.physicsNodeIndices.length;t++){var n=this.physicsBody.physicsNodeIndices[t],r=this.body.nodes[n],i=this.physicsBody.forces[n],o=Math.sqrt(Math.pow(i.x,2)+Math.pow(i.x,2)),a=Math.min(Math.max(5,o),15),s=3*a,u=m.HSVToHex((180-180*Math.min(1,Math.max(0,.03*o)))/360,1,1),l={x:r.x+20*i.x,y:r.y+20*i.y};e.lineWidth=a,e.strokeStyle=u,e.beginPath(),e.moveTo(r.x,r.y),e.lineTo(l.x,l.y),e.stroke();var c=Math.atan2(i.y,i.x);e.fillStyle=u,v.draw(e,{type:"arrow",point:l,angle:c,length:s}),e.fill()}}}]),e}();t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.physicsBody=n,this.setOptions(i)}return(0,i.default)(e,[{key:"setOptions",value:function(e){this.options=e}},{key:"solve",value:function(){for(var e,t,n,r,i,o,a,s,u=this.body.nodes,l=this.physicsBody.physicsNodeIndices,c=this.physicsBody.forces,d=this.options.nodeDistance,f=-2/3/d,h=0;h<l.length-1;h++){a=u[l[h]];for(var p=h+1;p<l.length;p++)e=(s=u[l[p]]).x-a.x,t=s.y-a.y,0===(n=Math.sqrt(e*e+t*t))&&(e=n=.1*Math.random()),n<2*d&&(o=n<.5*d?1:f*n+4/3,r=e*(o/=n),i=t*o,c[a.id].x-=r,c[a.id].y-=i,c[s.id].x+=r,c[s.id].y+=i)}}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.physicsBody=n,this.setOptions(i)}return(0,i.default)(e,[{key:"setOptions",value:function(e){this.options=e}},{key:"solve",value:function(){var e,t,n,r,i,o,a,s,u,l,c=this.body.nodes,d=this.physicsBody.physicsNodeIndices,f=this.physicsBody.forces,h=this.options.nodeDistance;for(u=0;u<d.length-1;u++)for(a=c[d[u]],l=u+1;l<d.length;l++)a.level===(s=c[d[l]]).level&&(e=s.x-a.x,t=s.y-a.y,o=(n=Math.sqrt(e*e+t*t))<h?-Math.pow(.05*n,2)+Math.pow(.05*h,2):0,0===n?n=.01:o/=n,i=t*o,f[a.id].x-=r=e*o,f[a.id].y-=i,f[s.id].x+=r,f[s.id].y+=i)}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.physicsBody=n,this.setOptions(i)}return(0,i.default)(e,[{key:"setOptions",value:function(e){this.options=e}},{key:"solve",value:function(){for(var e=void 0,t=void 0,n=this.physicsBody.physicsEdgeIndices,r=this.body.edges,i=void 0,o=void 0,a=0;a<n.length;a++)!0===(t=r[n[a]]).connected&&t.toId!==t.fromId&&void 0!==this.body.nodes[t.toId]&&void 0!==this.body.nodes[t.fromId]&&(void 0!==t.edgeType.via?(o=t.from,this._calculateSpringForce(t.to,i=t.edgeType.via,.5*(e=void 0===t.options.length?this.options.springLength:t.options.length)),this._calculateSpringForce(i,o,.5*e)):this._calculateSpringForce(t.from,t.to,e=void 0===t.options.length?1.5*this.options.springLength:t.options.length))}},{key:"_calculateSpringForce",value:function(e,t,n){var r=e.x-t.x,i=e.y-t.y,o=Math.max(Math.sqrt(r*r+i*i),.01),a=this.options.springConstant*(n-o)/o,s=r*a,u=i*a;void 0!==this.physicsBody.forces[e.id]&&(this.physicsBody.forces[e.id].x+=s,this.physicsBody.forces[e.id].y+=u),void 0!==this.physicsBody.forces[t.id]&&(this.physicsBody.forces[t.id].x-=s,this.physicsBody.forces[t.id].y-=u)}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.physicsBody=n,this.setOptions(i)}return(0,i.default)(e,[{key:"setOptions",value:function(e){this.options=e}},{key:"solve",value:function(){for(var e,t,n,r,i,o,a,s,u,l,c=this.body.edges,d=this.physicsBody.physicsEdgeIndices,f=this.physicsBody.physicsNodeIndices,h=this.physicsBody.forces,p=0;p<f.length;p++){var m=f[p];h[m].springFx=0,h[m].springFy=0}for(var v=0;v<d.length;v++)!0===(t=c[d[v]]).connected&&(e=void 0===t.options.length?this.options.springLength:t.options.length,n=t.from.x-t.to.x,r=t.from.y-t.to.y,s=0===(s=Math.sqrt(n*n+r*r))?.01:s,i=n*(a=this.options.springConstant*(e-s)/s),o=r*a,t.to.level!=t.from.level?(void 0!==h[t.toId]&&(h[t.toId].springFx-=i,h[t.toId].springFy-=o),void 0!==h[t.fromId]&&(h[t.fromId].springFx+=i,h[t.fromId].springFy+=o)):(void 0!==h[t.toId]&&(h[t.toId].x-=.5*i,h[t.toId].y-=.5*o),void 0!==h[t.fromId]&&(h[t.fromId].x+=.5*i,h[t.fromId].y+=.5*o)));a=1;for(var g=0;g<f.length;g++){var y=f[g];u=Math.min(a,Math.max(-a,h[y].springFx)),l=Math.min(a,Math.max(-a,h[y].springFy)),h[y].x+=u,h[y].y+=l}for(var b=0,_=0,w=0;w<f.length;w++){var E=f[w];b+=h[E].x,_+=h[E].y}for(var C=b/f.length,A=_/f.length,k=0;k<f.length;k++){var S=f[k];h[S].x-=C,h[S].y-=A}}}]),e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_calculateForces",value:function(e,t,n,r,i){0===e&&(t=e=.1*Math.random()),this.overlapAvoidanceFactor<1&&r.shape.radius&&(e=Math.max(.1+this.overlapAvoidanceFactor*r.shape.radius,e-r.shape.radius));var o=this.options.gravitationalConstant*i.mass*r.options.mass*(r.edges.length+1)/Math.pow(e,2),a=n*o;this.physicsBody.forces[r.id].x+=t*o,this.physicsBody.forces[r.id].y+=a}}]),t}(u(n(120)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n,o){return(0,i.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_calculateForces",value:function(e,t,n,r,i){if(e>0){var o=this.options.centralGravity*(i.edges.length+1)*i.options.mass;r[i.id].x=t*o,r[i.id].y=n*o}}}]),t}(u(n(121)).default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(8)),i=s(n(6)),o=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var u=n(2),l=n(77).default,c=n(228).default,d=n(75).default,f=n(48).default,h=function(){function e(t){var n=this;(0,o.default)(this,e),this.body=t,this.clusteredNodes={},this.clusteredEdges={},this.options={},this.defaultOptions={},u.extend(this.options,this.defaultOptions),this.body.emitter.on("_resetData",(function(){n.clusteredNodes={},n.clusteredEdges={}}))}return(0,a.default)(e,[{key:"clusterByHubsize",value:function(e,t){void 0===e?e=this._getHubSize():"object"===(void 0===e?"undefined":(0,i.default)(e))&&(t=this._checkOptions(e),e=this._getHubSize());for(var n=[],r=0;r<this.body.nodeIndices.length;r++){var o=this.body.nodes[this.body.nodeIndices[r]];o.edges.length>=e&&n.push(o.id)}for(var a=0;a<n.length;a++)this.clusterByConnection(n[a],t,!0);this.body.emitter.emit("_dataChanged")}},{key:"cluster",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0===t.joinCondition)throw new Error("Cannot call clusterByNodeData without a joinCondition function in the options.");t=this._checkOptions(t);var r={},i={};u.forEach(this.body.nodes,(function(n,o){var a=l.cloneOptions(n);!0===t.joinCondition(a)&&(r[o]=n,u.forEach(n.edges,(function(t){void 0===e.clusteredEdges[t.id]&&(i[t.id]=t)})))})),this._cluster(r,i,t,n)}},{key:"clusterByEdgeCount",value:function(e,t){var n=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t=this._checkOptions(t);for(var o=[],a={},s=void 0,u=void 0,c=void 0,d=function(i){var d={},f={},m=n.body.nodeIndices[i],v=n.body.nodes[m];if(void 0===a[m]){c=0,u=[];for(var g=0;g<v.edges.length;g++)void 0===n.clusteredEdges[(s=v.edges[g]).id]&&(s.toId!==s.fromId&&c++,u.push(s));if(c===e){h=function(e){if(null==t.joinCondition)return!0;var n=l.cloneOptions(e);return t.joinCondition(n)};for(var y=!0,b=0;b<u.length;b++){var _=n._getConnectedId(s=u[b],m);if(!h(v)){y=!1;break}f[s.id]=s,d[m]=v,d[_]=n.body.nodes[_],a[m]=!0}if((0,r.default)(d).length>0&&(0,r.default)(f).length>0&&!0===y)if(void 0!==(p=function(){for(var e=0;e<o.length;++e)for(var t in d)if(void 0!==o[e].nodes[t])return o[e]}())){for(var w in d)void 0===p.nodes[w]&&(p.nodes[w]=d[w]);for(var E in f)void 0===p.edges[E]&&(p.edges[E]=f[E])}else o.push({nodes:d,edges:f})}}},f=0;f<this.body.nodeIndices.length;f++){var h,p;d(f)}for(f=0;f<o.length;f++)this._cluster(o[f].nodes,o[f].edges,t,!1);!0===i&&this.body.emitter.emit("_dataChanged")}},{key:"clusterOutliers",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(1,e,t)}},{key:"clusterBridges",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.clusterByEdgeCount(2,e,t)}},{key:"clusterByConnection",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===e)throw new Error("No nodeId supplied to clusterByConnection!");if(void 0===this.body.nodes[e])throw new Error("The nodeId given to clusterByConnection does not exist!");var i=this.body.nodes[e];void 0===(t=this._checkOptions(t,i)).clusterNodeProperties.x&&(t.clusterNodeProperties.x=i.x),void 0===t.clusterNodeProperties.y&&(t.clusterNodeProperties.y=i.y),void 0===t.clusterNodeProperties.fixed&&(t.clusterNodeProperties.fixed={},t.clusterNodeProperties.fixed.x=i.options.fixed.x,t.clusterNodeProperties.fixed.y=i.options.fixed.y);var o={},a={},s=i.id,u=l.cloneOptions(i);o[s]=i;for(var c=0;c<i.edges.length;c++){var d=i.edges[c];if(void 0===this.clusteredEdges[d.id]){var f=this._getConnectedId(d,s);if(void 0===this.clusteredNodes[f])if(f!==s)if(void 0===t.joinCondition)a[d.id]=d,o[f]=this.body.nodes[f];else{var h=l.cloneOptions(this.body.nodes[f]);!0===t.joinCondition(u,h)&&(a[d.id]=d,o[f]=this.body.nodes[f])}else a[d.id]=d}}var p=(0,r.default)(o).map((function(e){return o[e].id}));for(m in o)if(o.hasOwnProperty(m))for(var m=o[m],v=0;v<m.edges.length;v++){var g=m.edges[v];p.indexOf(this._getConnectedId(g,m.id))>-1&&(a[g.id]=g)}this._cluster(o,a,t,n)}},{key:"_createClusterEdges",value:function(e,t,n,i){for(var o=void 0,a=void 0,s=void 0,u=void 0,l=void 0,c=void 0,d=(0,r.default)(e),f=[],h=0;h<d.length;h++){s=e[a=d[h]];for(var p=0;p<s.edges.length;p++)void 0===this.clusteredEdges[(o=s.edges[p]).id]&&(o.toId==o.fromId?t[o.id]=o:o.toId==a?(u=n.id,c=l=o.fromId):(l=n.id,c=u=o.toId),void 0===e[c]&&f.push({edge:o,fromId:l,toId:u}))}for(var m=[],v=function(e){for(var t=0;t<m.length;t++){var n=m[t];if(e.fromId===n.fromId&&e.toId===n.toId||e.fromId===n.toId&&e.toId===n.fromId)return n}return null},g=0;g<f.length;g++){var y=f[g],b=y.edge,_=v(y);null===_?(_=this._createClusteredEdge(y.fromId,y.toId,b,i),m.push(_)):_.clusteringEdgeReplacingIds.push(b.id),this.body.edges[b.id].edgeReplacedById=_.id,this._backupEdgeOptions(b),b.setOptions({physics:!1})}}},{key:"_checkOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return void 0===e.clusterEdgeProperties&&(e.clusterEdgeProperties={}),void 0===e.clusterNodeProperties&&(e.clusterNodeProperties={}),e}},{key:"_cluster",value:function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=[];for(var a in e)e.hasOwnProperty(a)&&void 0!==this.clusteredNodes[a]&&o.push(a);for(var s=0;s<o.length;++s)delete e[o[s]];if(0!=(0,r.default)(e).length&&(1!=(0,r.default)(e).length||1==n.clusterNodeProperties.allowSingleNodeCluster)){var d=u.deepExtend({},n.clusterNodeProperties);if(void 0!==n.processProperties){var f=[];for(var h in e)if(e.hasOwnProperty(h)){var p=l.cloneOptions(e[h]);f.push(p)}var m=[];for(var v in t)if(t.hasOwnProperty(v)&&"clusterEdge:"!==v.substr(0,12)){var g=l.cloneOptions(t[v],"edge");m.push(g)}if(!(d=n.processProperties(d,f,m)))throw new Error("The processProperties function does not return properties!")}void 0===d.id&&(d.id="cluster:"+u.randomUUID());var y=d.id;void 0===d.label&&(d.label="cluster");var b=void 0;void 0===d.x&&(b=this._getClusterPosition(e),d.x=b.x),void 0===d.y&&(void 0===b&&(b=this._getClusterPosition(e)),d.y=b.y),d.id=y;var _=this.body.functions.createNode(d,c);_.containedNodes=e,_.containedEdges=t,_.clusterEdgeProperties=n.clusterEdgeProperties,this.body.nodes[d.id]=_,this._clusterEdges(e,t,d,n.clusterEdgeProperties),d.id=void 0,!0===i&&this.body.emitter.emit("_dataChanged")}}},{key:"_backupEdgeOptions",value:function(e){void 0===this.clusteredEdges[e.id]&&(this.clusteredEdges[e.id]={physics:e.options.physics})}},{key:"_restoreEdge",value:function(e){var t=this.clusteredEdges[e.id];void 0!==t&&(e.setOptions({physics:t.physics}),delete this.clusteredEdges[e.id])}},{key:"isCluster",value:function(e){return void 0!==this.body.nodes[e]?!0===this.body.nodes[e].isCluster:(console.log("Node does not exist."),!1)}},{key:"_getClusterPosition",value:function(e){for(var t=(0,r.default)(e),n=e[t[0]].x,i=e[t[0]].x,o=e[t[0]].y,a=e[t[0]].y,s=void 0,u=1;u<t.length;u++)n=(s=e[t[u]]).x<n?s.x:n,i=s.x>i?s.x:i,o=s.y<o?s.y:o,a=s.y>a?s.y:a;return{x:.5*(n+i),y:.5*(o+a)}}},{key:"openCluster",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0===e)throw new Error("No clusterNodeId supplied to openCluster.");var r=this.body.nodes[e];if(void 0===r)throw new Error("The clusterNodeId supplied to openCluster does not exist.");if(!0!==r.isCluster||void 0===r.containedNodes||void 0===r.containedEdges)throw new Error("The node:"+e+" is not a valid cluster.");var i=this.findNode(e),o=i.indexOf(e)-1;if(o>=0){var a=i[o],s=this.body.nodes[a];return s._openChildCluster(e),delete this.body.nodes[e],void(!0===n&&this.body.emitter.emit("_dataChanged"))}var l=r.containedNodes,c=r.containedEdges;if(void 0!==t&&void 0!==t.releaseFunction&&"function"==typeof t.releaseFunction){var d={},f={x:r.x,y:r.y};for(var h in l)if(l.hasOwnProperty(h)){var p=this.body.nodes[h];d[h]={x:p.x,y:p.y}}var m=t.releaseFunction(f,d);for(var v in l)if(l.hasOwnProperty(v)){var g=this.body.nodes[v];void 0!==m[v]&&(g.x=void 0===m[v].x?r.x:m[v].x,g.y=void 0===m[v].y?r.y:m[v].y)}}else u.forEach(l,(function(e){!1===e.options.fixed.x&&(e.x=r.x),!1===e.options.fixed.y&&(e.y=r.y)}));for(var y in l)if(l.hasOwnProperty(y)){var b=this.body.nodes[y];b.vx=r.vx,b.vy=r.vy,b.setOptions({physics:!0}),delete this.clusteredNodes[y]}for(var _=[],w=0;w<r.edges.length;w++)_.push(r.edges[w]);for(var E=0;E<_.length;E++){for(var C=_[E],A=this._getConnectedId(C,e),k=this.clusteredNodes[A],S=0;S<C.clusteringEdgeReplacingIds.length;S++){var x=C.clusteringEdgeReplacingIds[S],D=this.body.edges[x];if(void 0!==D)if(void 0!==k){var O=this.body.nodes[k.clusterId];O.containedEdges[D.id]=D,delete c[D.id];var T=D.fromId,F=D.toId;D.toId==A?F=k.clusterId:T=k.clusterId,this._createClusteredEdge(T,F,D,O.clusterEdgeProperties,{hidden:!1,physics:!0})}else this._restoreEdge(D)}C.remove()}for(var M in c)c.hasOwnProperty(M)&&this._restoreEdge(c[M]);delete this.body.nodes[e],!0===n&&this.body.emitter.emit("_dataChanged")}},{key:"getNodesInCluster",value:function(e){var t=[];if(!0===this.isCluster(e)){var n=this.body.nodes[e].containedNodes;for(var r in n)n.hasOwnProperty(r)&&t.push(this.body.nodes[r].id)}return t}},{key:"findNode",value:function(e){for(var t=[],n=0,r=void 0;void 0!==this.clusteredNodes[e]&&n<100;){if(void 0===(r=this.body.nodes[e]))return[];t.push(r.id),e=this.clusteredNodes[e].clusterId,n++}return void 0===(r=this.body.nodes[e])?[]:(t.push(r.id),t.reverse(),t)}},{key:"updateClusteredNode",value:function(e,t){if(void 0===e)throw new Error("No clusteredNodeId supplied to updateClusteredNode.");if(void 0===t)throw new Error("No newOptions supplied to updateClusteredNode.");if(void 0===this.body.nodes[e])throw new Error("The clusteredNodeId supplied to updateClusteredNode does not exist.");this.body.nodes[e].setOptions(t),this.body.emitter.emit("_dataChanged")}},{key:"updateEdge",value:function(e,t){if(void 0===e)throw new Error("No startEdgeId supplied to updateEdge.");if(void 0===t)throw new Error("No newOptions supplied to updateEdge.");if(void 0===this.body.edges[e])throw new Error("The startEdgeId supplied to updateEdge does not exist.");for(var n=this.getClusteredEdges(e),r=0;r<n.length;r++)this.body.edges[n[r]].setOptions(t);this.body.emitter.emit("_dataChanged")}},{key:"getClusteredEdges",value:function(e){for(var t=[],n=0;void 0!==e&&void 0!==this.body.edges[e]&&n<100;)t.push(this.body.edges[e].id),e=this.body.edges[e].edgeReplacedById,n++;return t.reverse(),t}},{key:"getBaseEdge",value:function(e){return this.getBaseEdges(e)[0]}},{key:"getBaseEdges",value:function(e){for(var t=[e],n=[],r=[],i=0;t.length>0&&i<100;){var o=t.pop();if(void 0!==o){var a=this.body.edges[o];if(void 0!==a){i++;var s=a.clusteringEdgeReplacingIds;if(void 0===s)r.push(o);else for(var u=0;u<s.length;++u){var l=s[u];-1===t.indexOf(s)&&-1===n.indexOf(s)&&t.push(l)}n.push(o)}}}return r}},{key:"_getConnectedId",value:function(e,t){return e.toId!=t?e.toId:e.fromId}},{key:"_getHubSize",value:function(){for(var e=0,t=0,n=0,r=0,i=0;i<this.body.nodeIndices.length;i++){var o=this.body.nodes[this.body.nodeIndices[i]];o.edges.length>r&&(r=o.edges.length),e+=o.edges.length,t+=Math.pow(o.edges.length,2),n+=1}e/=n;var a=(t/=n)-Math.pow(e,2),s=Math.sqrt(a),u=Math.floor(e+2*s);return u>r&&(u=r),u}},{key:"_createClusteredEdge",value:function(e,t,n,r,i){var o=l.cloneOptions(n,"edge");u.deepExtend(o,r),o.from=e,o.to=t,o.id="clusterEdge:"+u.randomUUID(),void 0!==i&&u.deepExtend(o,i);var a=this.body.functions.createEdge(o);return a.clusteringEdgeReplacingIds=[n.id],a.connect(),this.body.edges[a.id]=a,a}},{key:"_clusterEdges",value:function(e,t,n,r){if(t instanceof d){var i={};i[t.id]=t,t=i}if(e instanceof f){var o={};o[e.id]=e,e=o}if(null==n)throw new Error("_clusterEdges: parameter clusterNode required");for(var a in void 0===r&&(r=n.clusterEdgeProperties),this._createClusterEdges(e,t,n,r),t)if(t.hasOwnProperty(a)&&void 0!==this.body.edges[a]){var s=this.body.edges[a];this._backupEdgeOptions(s),s.setOptions({physics:!1})}for(var u in e)e.hasOwnProperty(u)&&(this.clusteredNodes[u]={clusterId:n.id,node:this.body.nodes[u]},this.body.nodes[u].setOptions({physics:!1}))}},{key:"_getClusterNodeForNode",value:function(e){if(void 0!==e){var t=this.clusteredNodes[e];if(void 0!==t){var n=t.clusterId;if(void 0!==n)return this.body.nodes[n]}}}},{key:"_filter",value:function(e,t){var n=[];return u.forEach(e,(function(e){t(e)&&n.push(e)})),n}},{key:"_updateState",value:function(){var e=this,t=void 0,n=[],i=[],o=function(t){u.forEach(e.body.nodes,(function(e){!0===e.isCluster&&t(e)}))};for(t in this.clusteredNodes)this.clusteredNodes.hasOwnProperty(t)&&void 0===this.body.nodes[t]&&n.push(t);o((function(e){for(var t=0;t<n.length;t++)delete e.containedNodes[n[t]]}));for(var a=0;a<n.length;a++)delete this.clusteredNodes[n[a]];u.forEach(this.clusteredEdges,(function(t){var n=e.body.edges[t];void 0!==n&&n.endPointsValid()||i.push(t)})),o((function(e){u.forEach(e.containedEdges,(function(e,t){e.endPointsValid()||-1!==i.indexOf(t)||i.push(t)}))})),u.forEach(this.body.edges,(function(t,n){var r=!0,o=t.clusteringEdgeReplacingIds;if(void 0!==o){var a=0;u.forEach(o,(function(t){var n=e.body.edges[t];void 0!==n&&n.endPointsValid()&&(a+=1)})),r=a>0}t.endPointsValid()&&r||i.push(n)})),o((function(t){u.forEach(i,(function(n){delete t.containedEdges[n],u.forEach(t.edges,(function(r,o){r.id!==n?r.clusteringEdgeReplacingIds=e._filter(r.clusteringEdgeReplacingIds,(function(e){return-1===i.indexOf(e)})):t.edges[o]=null})),t.edges=e._filter(t.edges,(function(e){return null!==e}))}))})),u.forEach(i,(function(t){delete e.clusteredEdges[t]})),u.forEach(i,(function(t){delete e.body.edges[t]}));var s=(0,r.default)(this.body.edges);u.forEach(s,(function(t){var n=e.body.edges[t],r=e._isClusteredNode(n.fromId)||e._isClusteredNode(n.toId);if(r!==e._isClusteredEdge(n.id)){if(!r)throw new Error("remove edge from clustering not implemented!");var i=e._getClusterNodeForNode(n.fromId);void 0!==i&&e._clusterEdges(e.body.nodes[n.fromId],n,i);var o=e._getClusterNodeForNode(n.toId);void 0!==o&&e._clusterEdges(e.body.nodes[n.toId],n,o)}}));for(var l=!1,c=!0,d=function(){var t=[];o((function(e){var n=(0,r.default)(e.containedNodes).length,i=!0===e.options.allowSingleNodeCluster;(i&&n<1||!i&&n<2)&&t.push(e.id)}));for(var n=0;n<t.length;++n)e.openCluster(t[n],{},!1);c=t.length>0,l=l||c};c;)d();l&&this._updateState()}},{key:"_isClusteredNode",value:function(e){return void 0!==this.clusteredNodes[e]}},{key:"_isClusteredEdge",value:function(e){return void 0!==this.clusteredEdges[e]}}]),e}();t.default=h},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(3)),i=u(n(0)),o=u(n(1)),a=u(n(4)),s=u(n(5));function u(e){return e&&e.__esModule?e:{default:e}}var l=n(2),c=function(e){function t(e,n,o,s,u,l){(0,i.default)(this,t);var c=(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,n,o,s,u,l));return c.isCluster=!0,c.containedNodes={},c.containedEdges={},c}return(0,s.default)(t,e),(0,o.default)(t,[{key:"_openChildCluster",value:function(e){var t=this,n=this.body.nodes[e];if(void 0===this.containedNodes[e])throw new Error("node with id: "+e+" not in current cluster");if(!n.isCluster)throw new Error("node with id: "+e+" is not a cluster");delete this.containedNodes[e],l.forEach(n.edges,(function(e){delete t.containedEdges[e.id]})),l.forEach(n.containedNodes,(function(e,n){t.containedNodes[n]=e})),n.containedNodes={},l.forEach(n.containedEdges,(function(e,n){t.containedEdges[n]=e})),n.containedEdges={},l.forEach(n.edges,(function(e){l.forEach(t.edges,(function(n){var r=n.clusteringEdgeReplacingIds.indexOf(e.id);-1!==r&&(l.forEach(e.clusteringEdgeReplacingIds,(function(e){n.clusteringEdgeReplacingIds.push(e),t.body.edges[e].edgeReplacedById=n.id})),n.clusteringEdgeReplacingIds.splice(r,1))}))})),n.edges=[]}}]),t}(n(48).default);t.default=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(50)),i=s(n(8)),o=s(n(0)),a=s(n(1));function s(e){return e&&e.__esModule?e:{default:e}}var u=n(2),l=function(){function e(t,n){var r;(0,o.default)(this,e),void 0!==window&&(r=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),window.requestAnimationFrame=void 0===r?function(e){e()}:r,this.body=t,this.canvas=n,this.redrawRequested=!1,this.renderTimer=void 0,this.requiresTimeout=!0,this.renderingActive=!1,this.renderRequests=0,this.allowRedraw=!0,this.dragging=!1,this.options={},this.defaultOptions={hideEdgesOnDrag:!1,hideNodesOnDrag:!1},u.extend(this.options,this.defaultOptions),this._determineBrowserMethod(),this.bindEventListeners()}return(0,a.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("dragStart",(function(){e.dragging=!0})),this.body.emitter.on("dragEnd",(function(){e.dragging=!1})),this.body.emitter.on("_resizeNodes",(function(){e._resizeNodes()})),this.body.emitter.on("_redraw",(function(){!1===e.renderingActive&&e._redraw()})),this.body.emitter.on("_blockRedraw",(function(){e.allowRedraw=!1})),this.body.emitter.on("_allowRedraw",(function(){e.allowRedraw=!0,e.redrawRequested=!1})),this.body.emitter.on("_requestRedraw",this._requestRedraw.bind(this)),this.body.emitter.on("_startRendering",(function(){e.renderRequests+=1,e.renderingActive=!0,e._startRendering()})),this.body.emitter.on("_stopRendering",(function(){e.renderRequests-=1,e.renderingActive=e.renderRequests>0,e.renderTimer=void 0})),this.body.emitter.on("destroy",(function(){e.renderRequests=0,e.allowRedraw=!1,e.renderingActive=!1,!0===e.requiresTimeout?clearTimeout(e.renderTimer):window.cancelAnimationFrame(e.renderTimer),e.body.emitter.off()}))}},{key:"setOptions",value:function(e){void 0!==e&&u.selectiveDeepExtend(["hideEdgesOnDrag","hideNodesOnDrag"],this.options,e)}},{key:"_requestNextFrame",value:function(e,t){if("undefined"!=typeof window){var n=void 0,r=window;return!0===this.requiresTimeout?n=r.setTimeout(e,t):r.requestAnimationFrame&&(n=r.requestAnimationFrame(e)),n}}},{key:"_startRendering",value:function(){!0===this.renderingActive&&void 0===this.renderTimer&&(this.renderTimer=this._requestNextFrame(this._renderStep.bind(this),this.simulationInterval))}},{key:"_renderStep",value:function(){!0===this.renderingActive&&(this.renderTimer=void 0,!0===this.requiresTimeout&&this._startRendering(),this._redraw(),!1===this.requiresTimeout&&this._startRendering())}},{key:"redraw",value:function(){this.body.emitter.emit("setSize"),this._redraw()}},{key:"_requestRedraw",value:function(){var e=this;!0!==this.redrawRequested&&!1===this.renderingActive&&!0===this.allowRedraw&&(this.redrawRequested=!0,this._requestNextFrame((function(){e._redraw(!1)}),0))}},{key:"_redraw",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!0===this.allowRedraw){this.body.emitter.emit("initRedraw"),this.redrawRequested=!1,0!==this.canvas.frame.canvas.width&&0!==this.canvas.frame.canvas.height||this.canvas.setSize(),this.canvas.setTransform();var t=this.canvas.getContext(),n=this.canvas.frame.canvas.clientWidth,r=this.canvas.frame.canvas.clientHeight;if(t.clearRect(0,0,n,r),0===this.canvas.frame.clientWidth)return;t.save(),t.translate(this.body.view.translation.x,this.body.view.translation.y),t.scale(this.body.view.scale,this.body.view.scale),t.beginPath(),this.body.emitter.emit("beforeDrawing",t),t.closePath(),!1===e&&(!1===this.dragging||!0===this.dragging&&!1===this.options.hideEdgesOnDrag)&&this._drawEdges(t),(!1===this.dragging||!0===this.dragging&&!1===this.options.hideNodesOnDrag)&&this._drawNodes(t,e),t.beginPath(),this.body.emitter.emit("afterDrawing",t),t.closePath(),t.restore(),!0===e&&t.clearRect(0,0,n,r)}}},{key:"_resizeNodes",value:function(){this.canvas.setTransform();var e=this.canvas.getContext();e.save(),e.translate(this.body.view.translation.x,this.body.view.translation.y),e.scale(this.body.view.scale,this.body.view.scale);var t=this.body.nodes,n=void 0;for(var r in t)t.hasOwnProperty(r)&&((n=t[r]).resize(e),n.updateBoundingBox(e,n.selected));e.restore()}},{key:"_drawNodes",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.body.nodes,o=this.body.nodeIndices,a=void 0,s=[],u={},l=20,c=this.canvas.DOMtoCanvas({x:-l,y:-l}),d=this.canvas.DOMtoCanvas({x:this.canvas.frame.canvas.clientWidth+l,y:this.canvas.frame.canvas.clientHeight+l}),f={top:c.y,left:c.x,bottom:d.y,right:d.x},h=0;h<o.length;h++)(a=n[o[h]]).options.zIndex&&(u[a.options.zIndex]=u[a.options.zIndex]||[],u[a.options.zIndex].push(o[h]));var p=(0,i.default)(u).sort(),m=!0,v=!1,g=void 0;try{for(var y,b=(0,r.default)(p);!(m=(y=b.next()).done);m=!0){var _=y.value;if(!(_>0)){var w=!0,E=!1,C=void 0;try{for(var A,k=(0,r.default)(u[_]);!(w=(A=k.next()).done);w=!0){var S=A.value,x=n[S];x.draw(e)}}catch(e){E=!0,C=e}finally{try{!w&&k.return&&k.return()}finally{if(E)throw C}}}}}catch(e){v=!0,g=e}finally{try{!m&&b.return&&b.return()}finally{if(v)throw g}}for(var D=0;D<o.length;D++)(a=n[o[D]]).isSelected()?s.push(o[D]):!0===t||!0===a.isBoundingBoxOverlappingWith(f)?a.draw(e):a.updateBoundingBox(e,a.selected);for(var O=0;O<s.length;O++)(a=n[s[O]]).draw(e);var T=!0,F=!1,M=void 0;try{for(var P,L=(0,r.default)(p);!(T=(P=L.next()).done);T=!0){var R=P.value;if(!(R<=0)){var B=!0,j=!1,I=void 0;try{for(var N,H=(0,r.default)(u[R]);!(B=(N=H.next()).done);B=!0){var z=N.value,Y=n[z];Y.draw(e)}}catch(e){j=!0,I=e}finally{try{!B&&H.return&&H.return()}finally{if(j)throw I}}}}}catch(e){F=!0,M=e}finally{try{!T&&L.return&&L.return()}finally{if(F)throw M}}}},{key:"_drawEdges",value:function(e){for(var t=this.body.edges,n=this.body.edgeIndices,r=void 0,i=0;i<n.length;i++)!0===(r=t[n[i]]).connected&&r.draw(e)}},{key:"_determineBrowserMethod",value:function(){if("undefined"!=typeof window){var e=navigator.userAgent.toLowerCase();this.requiresTimeout=!1,(-1!=e.indexOf("msie 9.0")||-1!=e.indexOf("safari")&&e.indexOf("chrome")<=-1)&&(this.requiresTimeout=!0)}else this.requiresTimeout=!0}}]),e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(10),s=n(37),u=n(2),l=function(){function e(t){(0,r.default)(this,e),this.body=t,this.pixelRatio=1,this.resizeTimer=void 0,this.resizeFunction=this._onResize.bind(this),this.cameraState={},this.initialized=!1,this.canvasViewCenter={},this.options={},this.defaultOptions={autoResize:!0,height:"100%",width:"100%"},u.extend(this.options,this.defaultOptions),this.bindEventListeners()}return(0,i.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.once("resize",(function(t){0!==t.width&&(e.body.view.translation.x=.5*t.width),0!==t.height&&(e.body.view.translation.y=.5*t.height)})),this.body.emitter.on("setSize",this.setSize.bind(this)),this.body.emitter.on("destroy",(function(){e.hammerFrame.destroy(),e.hammer.destroy(),e._cleanUp()}))}},{key:"setOptions",value:function(e){var t=this;void 0!==e&&u.selectiveDeepExtend(["width","height","autoResize"],this.options,e),!0===this.options.autoResize&&(this._cleanUp(),this.resizeTimer=setInterval((function(){!0===t.setSize()&&t.body.emitter.emit("_requestRedraw")}),1e3),this.resizeFunction=this._onResize.bind(this),u.addEventListener(window,"resize",this.resizeFunction))}},{key:"_cleanUp",value:function(){void 0!==this.resizeTimer&&clearInterval(this.resizeTimer),u.removeEventListener(window,"resize",this.resizeFunction),this.resizeFunction=void 0}},{key:"_onResize",value:function(){this.setSize(),this.body.emitter.emit("_redraw")}},{key:"_getCameraState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pixelRatio;!0===this.initialized&&(this.cameraState.previousWidth=this.frame.canvas.width/e,this.cameraState.previousHeight=this.frame.canvas.height/e,this.cameraState.scale=this.body.view.scale,this.cameraState.position=this.DOMtoCanvas({x:.5*this.frame.canvas.width/e,y:.5*this.frame.canvas.height/e}))}},{key:"_setCameraState",value:function(){if(void 0!==this.cameraState.scale&&0!==this.frame.canvas.clientWidth&&0!==this.frame.canvas.clientHeight&&0!==this.pixelRatio&&this.cameraState.previousWidth>0){var e=this.frame.canvas.width/this.pixelRatio/this.cameraState.previousWidth,t=this.frame.canvas.height/this.pixelRatio/this.cameraState.previousHeight,n=this.cameraState.scale;1!=e&&1!=t?n=.5*this.cameraState.scale*(e+t):1!=e?n=this.cameraState.scale*e:1!=t&&(n=this.cameraState.scale*t),this.body.view.scale=n;var r=this.DOMtoCanvas({x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight}),i={x:r.x-this.cameraState.position.x,y:r.y-this.cameraState.position.y};this.body.view.translation.x+=i.x*this.body.view.scale,this.body.view.translation.y+=i.y*this.body.view.scale}}},{key:"_prepareValue",value:function(e){if("number"==typeof e)return e+"px";if("string"==typeof e){if(-1!==e.indexOf("%")||-1!==e.indexOf("px"))return e;if(-1===e.indexOf("%"))return e+"px"}throw new Error("Could not use the value supplied for width or height:"+e)}},{key:"_create",value:function(){for(;this.body.container.hasChildNodes();)this.body.container.removeChild(this.body.container.firstChild);if(this.frame=document.createElement("div"),this.frame.className="vis-network",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.tabIndex=900,this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),this.frame.canvas.getContext)this._setPixelRatio(),this.setTransform();else{var e=document.createElement("DIV");e.style.color="red",e.style.fontWeight="bold",e.style.padding="10px",e.innerHTML="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(e)}this.body.container.appendChild(this.frame),this.body.view.scale=1,this.body.view.translation={x:.5*this.frame.canvas.clientWidth,y:.5*this.frame.canvas.clientHeight},this._bindHammer()}},{key:"_bindHammer",value:function(){var e=this;void 0!==this.hammer&&this.hammer.destroy(),this.drag={},this.pinch={},this.hammer=new a(this.frame.canvas),this.hammer.get("pinch").set({enable:!0}),this.hammer.get("pan").set({threshold:5,direction:a.DIRECTION_ALL}),s.onTouch(this.hammer,(function(t){e.body.eventListeners.onTouch(t)})),this.hammer.on("tap",(function(t){e.body.eventListeners.onTap(t)})),this.hammer.on("doubletap",(function(t){e.body.eventListeners.onDoubleTap(t)})),this.hammer.on("press",(function(t){e.body.eventListeners.onHold(t)})),this.hammer.on("panstart",(function(t){e.body.eventListeners.onDragStart(t)})),this.hammer.on("panmove",(function(t){e.body.eventListeners.onDrag(t)})),this.hammer.on("panend",(function(t){e.body.eventListeners.onDragEnd(t)})),this.hammer.on("pinch",(function(t){e.body.eventListeners.onPinch(t)})),this.frame.canvas.addEventListener("mousewheel",(function(t){e.body.eventListeners.onMouseWheel(t)})),this.frame.canvas.addEventListener("DOMMouseScroll",(function(t){e.body.eventListeners.onMouseWheel(t)})),this.frame.canvas.addEventListener("mousemove",(function(t){e.body.eventListeners.onMouseMove(t)})),this.frame.canvas.addEventListener("contextmenu",(function(t){e.body.eventListeners.onContext(t)})),this.hammerFrame=new a(this.frame),s.onRelease(this.hammerFrame,(function(t){e.body.eventListeners.onRelease(t)}))}},{key:"setSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.width,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.height;e=this._prepareValue(e),t=this._prepareValue(t);var n=!1,r=this.frame.canvas.width,i=this.frame.canvas.height,o=this.pixelRatio;if(this._setPixelRatio(),e!=this.options.width||t!=this.options.height||this.frame.style.width!=e||this.frame.style.height!=t)this._getCameraState(o),this.frame.style.width=e,this.frame.style.height=t,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),this.frame.canvas.height=Math.round(this.frame.canvas.clientHeight*this.pixelRatio),this.options.width=e,this.options.height=t,this.canvasViewCenter={x:.5*this.frame.clientWidth,y:.5*this.frame.clientHeight},n=!0;else{var a=Math.round(this.frame.canvas.clientWidth*this.pixelRatio),s=Math.round(this.frame.canvas.clientHeight*this.pixelRatio);this.frame.canvas.width===a&&this.frame.canvas.height===s||this._getCameraState(o),this.frame.canvas.width!==a&&(this.frame.canvas.width=a,n=!0),this.frame.canvas.height!==s&&(this.frame.canvas.height=s,n=!0)}return!0===n&&(this.body.emitter.emit("resize",{width:Math.round(this.frame.canvas.width/this.pixelRatio),height:Math.round(this.frame.canvas.height/this.pixelRatio),oldWidth:Math.round(r/this.pixelRatio),oldHeight:Math.round(i/this.pixelRatio)}),this._setCameraState()),this.initialized=!0,n}},{key:"getContext",value:function(){return this.frame.canvas.getContext("2d")}},{key:"_determinePixelRatio",value:function(){var e=this.getContext();if(void 0===e)throw new Error("Could not get canvax context");var t=1;return"undefined"!=typeof window&&(t=window.devicePixelRatio||1),t/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}},{key:"_setPixelRatio",value:function(){this.pixelRatio=this._determinePixelRatio()}},{key:"setTransform",value:function(){var e=this.getContext();if(void 0===e)throw new Error("Could not get canvax context");e.setTransform(this.pixelRatio,0,0,this.pixelRatio,0,0)}},{key:"_XconvertDOMtoCanvas",value:function(e){return(e-this.body.view.translation.x)/this.body.view.scale}},{key:"_XconvertCanvasToDOM",value:function(e){return e*this.body.view.scale+this.body.view.translation.x}},{key:"_YconvertDOMtoCanvas",value:function(e){return(e-this.body.view.translation.y)/this.body.view.scale}},{key:"_YconvertCanvasToDOM",value:function(e){return e*this.body.view.scale+this.body.view.translation.y}},{key:"canvasToDOM",value:function(e){return{x:this._XconvertCanvasToDOM(e.x),y:this._YconvertCanvasToDOM(e.y)}}},{key:"DOMtoCanvas",value:function(e){return{x:this._XconvertDOMtoCanvas(e.x),y:this._YconvertDOMtoCanvas(e.y)}}}]),e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=n(77).default,u=function(){function e(t,n){var i=this;(0,r.default)(this,e),this.body=t,this.canvas=n,this.animationSpeed=1/this.renderRefreshRate,this.animationEasingFunction="easeInOutQuint",this.easingTime=0,this.sourceScale=0,this.targetScale=0,this.sourceTranslation=0,this.targetTranslation=0,this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0,this.touchTime=0,this.viewFunction=void 0,this.body.emitter.on("fit",this.fit.bind(this)),this.body.emitter.on("animationFinished",(function(){i.body.emitter.emit("_stopRendering")})),this.body.emitter.on("unlockNode",this.releaseNode.bind(this))}return(0,i.default)(e,[{key:"setOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=e}},{key:"fit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{nodes:[]},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=void 0,r=void 0;if(void 0!==e.nodes&&0!==e.nodes.length||(e.nodes=this.body.nodeIndices),!0===t){var i=0;for(var o in this.body.nodes)if(this.body.nodes.hasOwnProperty(o)){var a=this.body.nodes[o];!0===a.predefinedPosition&&(i+=1)}if(i>.5*this.body.nodeIndices.length)return void this.fit(e,!1);n=s.getRange(this.body.nodes,e.nodes);var u=this.body.nodeIndices.length;r=12.662/(u+7.4147)+.0964822;var l=Math.min(this.canvas.frame.canvas.clientWidth/600,this.canvas.frame.canvas.clientHeight/600);r*=l}else{this.body.emitter.emit("_resizeNodes"),n=s.getRange(this.body.nodes,e.nodes);var c=1.1*Math.abs(n.maxX-n.minX),d=1.1*Math.abs(n.maxY-n.minY),f=this.canvas.frame.canvas.clientWidth/c,h=this.canvas.frame.canvas.clientHeight/d;r=f<=h?f:h}(r>1||0===r)&&(r=1);var p=s.findCenter(n),m={position:p,scale:r,animation:e.animation};this.moveTo(m)}},{key:"focus",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0!==this.body.nodes[e]){var n={x:this.body.nodes[e].x,y:this.body.nodes[e].y};t.position=n,t.lockedOnNode=e,this.moveTo(t)}else console.log("Node: "+e+" cannot be found.")}},{key:"moveTo",value:function(e){void 0!==e?(void 0===e.offset&&(e.offset={x:0,y:0}),void 0===e.offset.x&&(e.offset.x=0),void 0===e.offset.y&&(e.offset.y=0),void 0===e.scale&&(e.scale=this.body.view.scale),void 0===e.position&&(e.position=this.getViewPosition()),void 0===e.animation&&(e.animation={duration:0}),!1===e.animation&&(e.animation={duration:0}),!0===e.animation&&(e.animation={}),void 0===e.animation.duration&&(e.animation.duration=1e3),void 0===e.animation.easingFunction&&(e.animation.easingFunction="easeInOutQuad"),this.animateView(e)):e={}}},{key:"animateView",value:function(e){if(void 0!==e){this.animationEasingFunction=e.animation.easingFunction,this.releaseNode(),!0===e.locked&&(this.lockedOnNodeId=e.lockedOnNode,this.lockedOnNodeOffset=e.offset),0!=this.easingTime&&this._transitionRedraw(!0),this.sourceScale=this.body.view.scale,this.sourceTranslation=this.body.view.translation,this.targetScale=e.scale,this.body.view.scale=this.targetScale;var t=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight});this.targetTranslation={x:this.sourceTranslation.x+(t.x-e.position.x)*this.targetScale+e.offset.x,y:this.sourceTranslation.y+(t.y-e.position.y)*this.targetScale+e.offset.y},0===e.animation.duration?null!=this.lockedOnNodeId?(this.viewFunction=this._lockedRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction)):(this.body.view.scale=this.targetScale,this.body.view.translation=this.targetTranslation,this.body.emitter.emit("_requestRedraw")):(this.animationSpeed=1/(60*e.animation.duration*.001)||1/60,this.animationEasingFunction=e.animation.easingFunction,this.viewFunction=this._transitionRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction),this.body.emitter.emit("_startRendering"))}}},{key:"_lockedRedraw",value:function(){var e=this.body.nodes[this.lockedOnNodeId].x,t=this.body.nodes[this.lockedOnNodeId].y,n=this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight}),r=this.body.view.translation;this.body.view.translation={x:r.x+(n.x-e)*this.body.view.scale+this.lockedOnNodeOffset.x,y:r.y+(n.y-t)*this.body.view.scale+this.lockedOnNodeOffset.y}}},{key:"releaseNode",value:function(){void 0!==this.lockedOnNodeId&&void 0!==this.viewFunction&&(this.body.emitter.off("initRedraw",this.viewFunction),this.lockedOnNodeId=void 0,this.lockedOnNodeOffset=void 0)}},{key:"_transitionRedraw",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.easingTime+=this.animationSpeed,this.easingTime=!0===e?1:this.easingTime;var t=a.easingFunctions[this.animationEasingFunction](this.easingTime);this.body.view.scale=this.sourceScale+(this.targetScale-this.sourceScale)*t,this.body.view.translation={x:this.sourceTranslation.x+(this.targetTranslation.x-this.sourceTranslation.x)*t,y:this.sourceTranslation.y+(this.targetTranslation.y-this.sourceTranslation.y)*t},this.easingTime>=1&&(this.body.emitter.off("initRedraw",this.viewFunction),this.easingTime=0,null!=this.lockedOnNodeId&&(this.viewFunction=this._lockedRedraw.bind(this),this.body.emitter.on("initRedraw",this.viewFunction)),this.body.emitter.emit("animationFinished"))}},{key:"getScale",value:function(){return this.body.view.scale}},{key:"getViewPosition",value:function(){return this.canvas.DOMtoCanvas({x:.5*this.canvas.frame.canvas.clientWidth,y:.5*this.canvas.frame.canvas.clientHeight})}}]),e}();t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(2),s=n(233).default,u=n(104).default,l=function(){function e(t,n,i){(0,r.default)(this,e),this.body=t,this.canvas=n,this.selectionHandler=i,this.navigationHandler=new s(t,n),this.body.eventListeners.onTap=this.onTap.bind(this),this.body.eventListeners.onTouch=this.onTouch.bind(this),this.body.eventListeners.onDoubleTap=this.onDoubleTap.bind(this),this.body.eventListeners.onHold=this.onHold.bind(this),this.body.eventListeners.onDragStart=this.onDragStart.bind(this),this.body.eventListeners.onDrag=this.onDrag.bind(this),this.body.eventListeners.onDragEnd=this.onDragEnd.bind(this),this.body.eventListeners.onMouseWheel=this.onMouseWheel.bind(this),this.body.eventListeners.onPinch=this.onPinch.bind(this),this.body.eventListeners.onMouseMove=this.onMouseMove.bind(this),this.body.eventListeners.onRelease=this.onRelease.bind(this),this.body.eventListeners.onContext=this.onContext.bind(this),this.touchTime=0,this.drag={},this.pinch={},this.popup=void 0,this.popupObj=void 0,this.popupTimer=void 0,this.body.functions.getPointer=this.getPointer.bind(this),this.options={},this.defaultOptions={dragNodes:!0,dragView:!0,hover:!1,keyboard:{enabled:!1,speed:{x:10,y:10,zoom:.02},bindToWindow:!0},navigationButtons:!1,tooltipDelay:300,zoomView:!0},a.extend(this.options,this.defaultOptions),this.bindEventListeners()}return(0,i.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("destroy",(function(){clearTimeout(e.popupTimer),delete e.body.functions.getPointer}))}},{key:"setOptions",value:function(e){void 0!==e&&(a.selectiveNotDeepExtend(["hideEdgesOnDrag","hideNodesOnDrag","keyboard","multiselect","selectable","selectConnectedEdges"],this.options,e),a.mergeOptions(this.options,e,"keyboard"),e.tooltip&&(a.extend(this.options.tooltip,e.tooltip),e.tooltip.color&&(this.options.tooltip.color=a.parseColor(e.tooltip.color)))),this.navigationHandler.setOptions(this.options)}},{key:"getPointer",value:function(e){return{x:e.x-a.getAbsoluteLeft(this.canvas.frame.canvas),y:e.y-a.getAbsoluteTop(this.canvas.frame.canvas)}}},{key:"onTouch",value:function(e){(new Date).valueOf()-this.touchTime>50&&(this.drag.pointer=this.getPointer(e.center),this.drag.pinched=!1,this.pinch.scale=this.body.view.scale,this.touchTime=(new Date).valueOf())}},{key:"onTap",value:function(e){var t=this.getPointer(e.center);this.checkSelectionChanges(t,e,this.selectionHandler.options.multiselect&&(e.changedPointers[0].ctrlKey||e.changedPointers[0].metaKey)),this.selectionHandler._generateClickEvent("click",e,t)}},{key:"onDoubleTap",value:function(e){var t=this.getPointer(e.center);this.selectionHandler._generateClickEvent("doubleClick",e,t)}},{key:"onHold",value:function(e){var t=this.getPointer(e.center);this.checkSelectionChanges(t,e,this.selectionHandler.options.multiselect),this.selectionHandler._generateClickEvent("click",e,t),this.selectionHandler._generateClickEvent("hold",e,t)}},{key:"onRelease",value:function(e){if((new Date).valueOf()-this.touchTime>10){var t=this.getPointer(e.center);this.selectionHandler._generateClickEvent("release",e,t),this.touchTime=(new Date).valueOf()}}},{key:"onContext",value:function(e){var t=this.getPointer({x:e.clientX,y:e.clientY});this.selectionHandler._generateClickEvent("oncontext",e,t)}},{key:"checkSelectionChanges",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.selectionHandler.getSelection(),i=!1;i=!0===n?this.selectionHandler.selectAdditionalOnPoint(e):this.selectionHandler.selectOnPoint(e);var o=this.selectionHandler.getSelection(),a=this._determineDifference(r,o),s=this._determineDifference(o,r);a.edges.length>0&&(this.selectionHandler._generateClickEvent("deselectEdge",t,e,r),i=!0),a.nodes.length>0&&(this.selectionHandler._generateClickEvent("deselectNode",t,e,r),i=!0),s.nodes.length>0&&(this.selectionHandler._generateClickEvent("selectNode",t,e),i=!0),s.edges.length>0&&(this.selectionHandler._generateClickEvent("selectEdge",t,e),i=!0),!0===i&&this.selectionHandler._generateClickEvent("select",t,e)}},{key:"_determineDifference",value:function(e,t){var n=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];-1===t.indexOf(i)&&n.push(i)}return n};return{nodes:n(e.nodes,t.nodes),edges:n(e.edges,t.edges)}}},{key:"onDragStart",value:function(e){void 0===this.drag.pointer&&this.onTouch(e);var t=this.selectionHandler.getNodeAt(this.drag.pointer);if(this.drag.dragging=!0,this.drag.selection=[],this.drag.translation=a.extend({},this.body.view.translation),this.drag.nodeId=void 0,void 0!==t&&!0===this.options.dragNodes){this.drag.nodeId=t.id,!1===t.isSelected()&&(this.selectionHandler.unselectAll(),this.selectionHandler.selectObject(t)),this.selectionHandler._generateClickEvent("dragStart",e,this.drag.pointer);var n=this.selectionHandler.selectionObj.nodes;for(var r in n)if(n.hasOwnProperty(r)){var i=n[r],o={id:i.id,node:i,x:i.x,y:i.y,xFixed:i.options.fixed.x,yFixed:i.options.fixed.y};i.options.fixed.x=!0,i.options.fixed.y=!0,this.drag.selection.push(o)}}else this.selectionHandler._generateClickEvent("dragStart",e,this.drag.pointer,void 0,!0)}},{key:"onDrag",value:function(e){var t=this;if(!0!==this.drag.pinched){this.body.emitter.emit("unlockNode");var n=this.getPointer(e.center),r=this.drag.selection;if(r&&r.length&&!0===this.options.dragNodes){this.selectionHandler._generateClickEvent("dragging",e,n);var i=n.x-this.drag.pointer.x,o=n.y-this.drag.pointer.y;r.forEach((function(e){var n=e.node;!1===e.xFixed&&(n.x=t.canvas._XconvertDOMtoCanvas(t.canvas._XconvertCanvasToDOM(e.x)+i)),!1===e.yFixed&&(n.y=t.canvas._YconvertDOMtoCanvas(t.canvas._YconvertCanvasToDOM(e.y)+o))})),this.body.emitter.emit("startSimulation")}else if(!0===this.options.dragView){if(this.selectionHandler._generateClickEvent("dragging",e,n,void 0,!0),void 0===this.drag.pointer)return void this.onDragStart(e);this.body.view.translation={x:this.drag.translation.x+(n.x-this.drag.pointer.x),y:this.drag.translation.y+(n.y-this.drag.pointer.y)},this.body.emitter.emit("_requestRedraw")}}}},{key:"onDragEnd",value:function(e){this.drag.dragging=!1;var t=this.drag.selection;t&&t.length?(t.forEach((function(e){e.node.options.fixed.x=e.xFixed,e.node.options.fixed.y=e.yFixed})),this.selectionHandler._generateClickEvent("dragEnd",e,this.getPointer(e.center)),this.body.emitter.emit("startSimulation")):(this.selectionHandler._generateClickEvent("dragEnd",e,this.getPointer(e.center),void 0,!0),this.body.emitter.emit("_requestRedraw"))}},{key:"onPinch",value:function(e){var t=this.getPointer(e.center);this.drag.pinched=!0,void 0===this.pinch.scale&&(this.pinch.scale=1),this.zoom(this.pinch.scale*e.scale,t)}},{key:"zoom",value:function(e,t){if(!0===this.options.zoomView){var n=this.body.view.scale;e<1e-5&&(e=1e-5),e>10&&(e=10);var r=void 0;void 0!==this.drag&&!0===this.drag.dragging&&(r=this.canvas.DOMtoCanvas(this.drag.pointer));var i=this.body.view.translation,o=e/n,a=(1-o)*t.x+i.x*o,s=(1-o)*t.y+i.y*o;if(this.body.view.scale=e,this.body.view.translation={x:a,y:s},null!=r){var u=this.canvas.canvasToDOM(r);this.drag.pointer.x=u.x,this.drag.pointer.y=u.y}this.body.emitter.emit("_requestRedraw"),this.body.emitter.emit("zoom",n<e?{direction:"+",scale:this.body.view.scale,pointer:t}:{direction:"-",scale:this.body.view.scale,pointer:t})}}},{key:"onMouseWheel",value:function(e){if(!0===this.options.zoomView){var t=0;if(e.wheelDelta?t=e.wheelDelta/120:e.detail&&(t=-e.detail/3),0!==t){var n=this.body.view.scale,r=t/10;t<0&&(r/=1-r),n*=1+r;var i=this.getPointer({x:e.clientX,y:e.clientY});this.zoom(n,i)}e.preventDefault()}}},{key:"onMouseMove",value:function(e){var t=this,n=this.getPointer({x:e.clientX,y:e.clientY}),r=!1;void 0!==this.popup&&(!1===this.popup.hidden&&this._checkHidePopup(n),!1===this.popup.hidden&&(r=!0,this.popup.setPosition(n.x+3,n.y-5),this.popup.show())),!1===this.options.keyboard.bindToWindow&&!0===this.options.keyboard.enabled&&this.canvas.frame.focus(),!1===r&&(void 0!==this.popupTimer&&(clearInterval(this.popupTimer),this.popupTimer=void 0),this.drag.dragging||(this.popupTimer=setTimeout((function(){return t._checkShowPopup(n)}),this.options.tooltipDelay))),!0===this.options.hover&&this.selectionHandler.hoverObject(e,n)}},{key:"_checkShowPopup",value:function(e){var t=this.canvas._XconvertDOMtoCanvas(e.x),n=this.canvas._YconvertDOMtoCanvas(e.y),r={left:t,top:n,right:t,bottom:n},i=void 0===this.popupObj?void 0:this.popupObj.id,o=!1,a="node";if(void 0===this.popupObj){for(var s=this.body.nodeIndices,l=this.body.nodes,c=void 0,d=[],f=0;f<s.length;f++)!0===(c=l[s[f]]).isOverlappingWith(r)&&void 0!==c.getTitle()&&d.push(s[f]);d.length>0&&(this.popupObj=l[d[d.length-1]],o=!0)}if(void 0===this.popupObj&&!1===o){for(var h=this.body.edgeIndices,p=this.body.edges,m=void 0,v=[],g=0;g<h.length;g++)!0===(m=p[h[g]]).isOverlappingWith(r)&&!0===m.connected&&void 0!==m.getTitle()&&v.push(h[g]);v.length>0&&(this.popupObj=p[v[v.length-1]],a="edge")}void 0!==this.popupObj?this.popupObj.id!==i&&(void 0===this.popup&&(this.popup=new u(this.canvas.frame)),this.popup.popupTargetType=a,this.popup.popupTargetId=this.popupObj.id,this.popup.setPosition(e.x+3,e.y-5),this.popup.setText(this.popupObj.getTitle()),this.popup.show(),this.body.emitter.emit("showPopup",this.popupObj.id)):void 0!==this.popup&&(this.popup.hide(),this.body.emitter.emit("hidePopup"))}},{key:"_checkHidePopup",value:function(e){var t=this.selectionHandler._pointerToPositionObject(e),n=!1;if("node"===this.popup.popupTargetType){if(void 0!==this.body.nodes[this.popup.popupTargetId]&&!0===(n=this.body.nodes[this.popup.popupTargetId].isOverlappingWith(t))){var r=this.selectionHandler.getNodeAt(e);n=void 0!==r&&r.id===this.popup.popupTargetId}}else void 0===this.selectionHandler.getNodeAt(e)&&void 0!==this.body.edges[this.popup.popupTargetId]&&(n=this.body.edges[this.popup.popupTargetId].isOverlappingWith(t));!1===n&&(this.popupObj=void 0,this.popup.hide(),this.body.emitter.emit("hidePopup"))}}]),e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(10),s=n(37),u=n(35),l=function(){function e(t,n){var i=this;(0,r.default)(this,e),this.body=t,this.canvas=n,this.iconsCreated=!1,this.navigationHammers=[],this.boundFunctions={},this.touchTime=0,this.activated=!1,this.body.emitter.on("activate",(function(){i.activated=!0,i.configureKeyboardBindings()})),this.body.emitter.on("deactivate",(function(){i.activated=!1,i.configureKeyboardBindings()})),this.body.emitter.on("destroy",(function(){void 0!==i.keycharm&&i.keycharm.destroy()})),this.options={}}return(0,i.default)(e,[{key:"setOptions",value:function(e){void 0!==e&&(this.options=e,this.create())}},{key:"create",value:function(){!0===this.options.navigationButtons?!1===this.iconsCreated&&this.loadNavigationElements():!0===this.iconsCreated&&this.cleanNavigation(),this.configureKeyboardBindings()}},{key:"cleanNavigation",value:function(){if(0!=this.navigationHammers.length){for(var e=0;e<this.navigationHammers.length;e++)this.navigationHammers[e].destroy();this.navigationHammers=[]}this.navigationDOM&&this.navigationDOM.wrapper&&this.navigationDOM.wrapper.parentNode&&this.navigationDOM.wrapper.parentNode.removeChild(this.navigationDOM.wrapper),this.iconsCreated=!1}},{key:"loadNavigationElements",value:function(){var e=this;this.cleanNavigation(),this.navigationDOM={};var t=["up","down","left","right","zoomIn","zoomOut","zoomExtends"],n=["_moveUp","_moveDown","_moveLeft","_moveRight","_zoomIn","_zoomOut","_fit"];this.navigationDOM.wrapper=document.createElement("div"),this.navigationDOM.wrapper.className="vis-navigation",this.canvas.frame.appendChild(this.navigationDOM.wrapper);for(var r=0;r<t.length;r++){this.navigationDOM[t[r]]=document.createElement("div"),this.navigationDOM[t[r]].className="vis-button vis-"+t[r],this.navigationDOM.wrapper.appendChild(this.navigationDOM[t[r]]);var i=new a(this.navigationDOM[t[r]]);s.onTouch(i,"_fit"===n[r]?this._fit.bind(this):this.bindToRedraw.bind(this,n[r])),this.navigationHammers.push(i)}var o=new a(this.canvas.frame);s.onRelease(o,(function(){e._stopMovement()})),this.navigationHammers.push(o),this.iconsCreated=!0}},{key:"bindToRedraw",value:function(e){void 0===this.boundFunctions[e]&&(this.boundFunctions[e]=this[e].bind(this),this.body.emitter.on("initRedraw",this.boundFunctions[e]),this.body.emitter.emit("_startRendering"))}},{key:"unbindFromRedraw",value:function(e){void 0!==this.boundFunctions[e]&&(this.body.emitter.off("initRedraw",this.boundFunctions[e]),this.body.emitter.emit("_stopRendering"),delete this.boundFunctions[e])}},{key:"_fit",value:function(){(new Date).valueOf()-this.touchTime>700&&(this.body.emitter.emit("fit",{duration:700}),this.touchTime=(new Date).valueOf())}},{key:"_stopMovement",value:function(){for(var e in this.boundFunctions)this.boundFunctions.hasOwnProperty(e)&&(this.body.emitter.off("initRedraw",this.boundFunctions[e]),this.body.emitter.emit("_stopRendering"));this.boundFunctions={}}},{key:"_moveUp",value:function(){this.body.view.translation.y+=this.options.keyboard.speed.y}},{key:"_moveDown",value:function(){this.body.view.translation.y-=this.options.keyboard.speed.y}},{key:"_moveLeft",value:function(){this.body.view.translation.x+=this.options.keyboard.speed.x}},{key:"_moveRight",value:function(){this.body.view.translation.x-=this.options.keyboard.speed.x}},{key:"_zoomIn",value:function(){var e=this.body.view.scale*(1+this.options.keyboard.speed.zoom),t=this.body.view.translation,n=e/this.body.view.scale,r=(1-n)*this.canvas.canvasViewCenter.x+t.x*n,i=(1-n)*this.canvas.canvasViewCenter.y+t.y*n;this.body.view.scale=e,this.body.view.translation={x:r,y:i},this.body.emitter.emit("zoom",{direction:"+",scale:this.body.view.scale,pointer:null})}},{key:"_zoomOut",value:function(){var e=this.body.view.scale/(1+this.options.keyboard.speed.zoom),t=this.body.view.translation,n=e/this.body.view.scale,r=(1-n)*this.canvas.canvasViewCenter.x+t.x*n,i=(1-n)*this.canvas.canvasViewCenter.y+t.y*n;this.body.view.scale=e,this.body.view.translation={x:r,y:i},this.body.emitter.emit("zoom",{direction:"-",scale:this.body.view.scale,pointer:null})}},{key:"configureKeyboardBindings",value:function(){var e=this;void 0!==this.keycharm&&this.keycharm.destroy(),!0===this.options.keyboard.enabled&&(this.keycharm=u(!0===this.options.keyboard.bindToWindow?{container:window,preventDefault:!0}:{container:this.canvas.frame,preventDefault:!0}),this.keycharm.reset(),!0===this.activated&&(this.keycharm.bind("up",(function(){e.bindToRedraw("_moveUp")}),"keydown"),this.keycharm.bind("down",(function(){e.bindToRedraw("_moveDown")}),"keydown"),this.keycharm.bind("left",(function(){e.bindToRedraw("_moveLeft")}),"keydown"),this.keycharm.bind("right",(function(){e.bindToRedraw("_moveRight")}),"keydown"),this.keycharm.bind("=",(function(){e.bindToRedraw("_zoomIn")}),"keydown"),this.keycharm.bind("num+",(function(){e.bindToRedraw("_zoomIn")}),"keydown"),this.keycharm.bind("num-",(function(){e.bindToRedraw("_zoomOut")}),"keydown"),this.keycharm.bind("-",(function(){e.bindToRedraw("_zoomOut")}),"keydown"),this.keycharm.bind("[",(function(){e.bindToRedraw("_zoomOut")}),"keydown"),this.keycharm.bind("]",(function(){e.bindToRedraw("_zoomIn")}),"keydown"),this.keycharm.bind("pageup",(function(){e.bindToRedraw("_zoomIn")}),"keydown"),this.keycharm.bind("pagedown",(function(){e.bindToRedraw("_zoomOut")}),"keydown"),this.keycharm.bind("up",(function(){e.unbindFromRedraw("_moveUp")}),"keyup"),this.keycharm.bind("down",(function(){e.unbindFromRedraw("_moveDown")}),"keyup"),this.keycharm.bind("left",(function(){e.unbindFromRedraw("_moveLeft")}),"keyup"),this.keycharm.bind("right",(function(){e.unbindFromRedraw("_moveRight")}),"keyup"),this.keycharm.bind("=",(function(){e.unbindFromRedraw("_zoomIn")}),"keyup"),this.keycharm.bind("num+",(function(){e.unbindFromRedraw("_zoomIn")}),"keyup"),this.keycharm.bind("num-",(function(){e.unbindFromRedraw("_zoomOut")}),"keyup"),this.keycharm.bind("-",(function(){e.unbindFromRedraw("_zoomOut")}),"keyup"),this.keycharm.bind("[",(function(){e.unbindFromRedraw("_zoomOut")}),"keyup"),this.keycharm.bind("]",(function(){e.unbindFromRedraw("_zoomIn")}),"keyup"),this.keycharm.bind("pageup",(function(){e.unbindFromRedraw("_zoomIn")}),"keyup"),this.keycharm.bind("pagedown",(function(){e.unbindFromRedraw("_zoomOut")}),"keyup")))}}]),e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=n(48).default,s=n(75).default,u=n(2),l=function(){function e(t,n){var i=this;(0,r.default)(this,e),this.body=t,this.canvas=n,this.selectionObj={nodes:[],edges:[]},this.hoverObj={nodes:{},edges:{}},this.options={},this.defaultOptions={multiselect:!1,selectable:!0,selectConnectedEdges:!0,hoverConnectedEdges:!0},u.extend(this.options,this.defaultOptions),this.body.emitter.on("_dataChanged",(function(){i.updateSelection()}))}return(0,i.default)(e,[{key:"setOptions",value:function(e){void 0!==e&&u.selectiveDeepExtend(["multiselect","hoverConnectedEdges","selectable","selectConnectedEdges"],this.options,e)}},{key:"selectOnPoint",value:function(e){var t=!1;if(!0===this.options.selectable){var n=this.getNodeAt(e)||this.getEdgeAt(e);this.unselectAll(),void 0!==n&&(t=this.selectObject(n)),this.body.emitter.emit("_requestRedraw")}return t}},{key:"selectAdditionalOnPoint",value:function(e){var t=!1;if(!0===this.options.selectable){var n=this.getNodeAt(e)||this.getEdgeAt(e);void 0!==n&&(t=!0,!0===n.isSelected()?this.deselectObject(n):this.selectObject(n),this.body.emitter.emit("_requestRedraw"))}return t}},{key:"_initBaseEvent",value:function(e,t){var n={};return n.pointer={DOM:{x:t.x,y:t.y},canvas:this.canvas.DOMtoCanvas(t)},n.event=e,n}},{key:"_generateClickEvent",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this._initBaseEvent(t,n);if(!0===i)o.nodes=[],o.edges=[];else{var a=this.getSelection();o.nodes=a.nodes,o.edges=a.edges}void 0!==r&&(o.previousSelection=r),"click"==e&&(o.items=this.getClickedItems(n)),this.body.emitter.emit(e,o)}},{key:"selectObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.selectConnectedEdges;return void 0!==e&&(e instanceof a&&!0===t&&this._selectConnectedEdges(e),e.select(),this._addToSelection(e),!0)}},{key:"deselectObject",value:function(e){!0===e.isSelected()&&(e.selected=!1,this._removeFromSelection(e))}},{key:"_getAllNodesOverlappingWith",value:function(e){for(var t=[],n=this.body.nodes,r=0;r<this.body.nodeIndices.length;r++){var i=this.body.nodeIndices[r];n[i].isOverlappingWith(e)&&t.push(n[i])}return t.sort((function(e,t){return(e.options.zIndex||0)<=(t.options.zIndex||0)?-1:1})),t.map((function(e){return e.id}))}},{key:"_pointerToPositionObject",value:function(e){var t=this.canvas.DOMtoCanvas(e);return{left:t.x-1,top:t.y+1,right:t.x+1,bottom:t.y-1}}},{key:"getNodeAt",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this._pointerToPositionObject(e),r=this._getAllNodesOverlappingWith(n);return r.length>0?!0===t?this.body.nodes[r[r.length-1]]:r[r.length-1]:void 0}},{key:"_getEdgesOverlappingWith",value:function(e,t){for(var n=this.body.edges,r=0;r<this.body.edgeIndices.length;r++){var i=this.body.edgeIndices[r];n[i].isOverlappingWith(e)&&t.push(i)}}},{key:"_getAllEdgesOverlappingWith",value:function(e){var t=[];return this._getEdgesOverlappingWith(e,t),t}},{key:"getEdgeAt",value:function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.canvas.DOMtoCanvas(e),r=10,i=null,o=this.body.edges,a=0;a<this.body.edgeIndices.length;a++){var s=this.body.edgeIndices[a],u=o[s];if(u.connected){var l=u.from.x,c=u.from.y,d=u.to.x,f=u.to.y,h=u.edgeType.getDistanceToEdge(l,c,d,f,n.x,n.y);h<r&&(i=s,r=h)}}return null!==i?!0===t?this.body.edges[i]:i:void 0}},{key:"_addToSelection",value:function(e){e instanceof a?this.selectionObj.nodes[e.id]=e:this.selectionObj.edges[e.id]=e}},{key:"_addToHover",value:function(e){e instanceof a?this.hoverObj.nodes[e.id]=e:this.hoverObj.edges[e.id]=e}},{key:"_removeFromSelection",value:function(e){e instanceof a?(delete this.selectionObj.nodes[e.id],this._unselectConnectedEdges(e)):delete this.selectionObj.edges[e.id]}},{key:"unselectAll",value:function(){for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&this.selectionObj.nodes[e].unselect();for(var t in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(t)&&this.selectionObj.edges[t].unselect();this.selectionObj={nodes:{},edges:{}}}},{key:"_getSelectedNodeCount",value:function(){var e=0;for(var t in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(t)&&(e+=1);return e}},{key:"_getSelectedNode",value:function(){for(var e in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(e))return this.selectionObj.nodes[e]}},{key:"_getSelectedEdge",value:function(){for(var e in this.selectionObj.edges)if(this.selectionObj.edges.hasOwnProperty(e))return this.selectionObj.edges[e]}},{key:"_getSelectedEdgeCount",value:function(){var e=0;for(var t in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(t)&&(e+=1);return e}},{key:"_getSelectedObjectCount",value:function(){var e=0;for(var t in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(t)&&(e+=1);for(var n in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(n)&&(e+=1);return e}},{key:"_selectionIsEmpty",value:function(){for(var e in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(e))return!1;for(var t in this.selectionObj.edges)if(this.selectionObj.edges.hasOwnProperty(t))return!1;return!0}},{key:"_clusterInSelection",value:function(){for(var e in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(e)&&this.selectionObj.nodes[e].clusterSize>1)return!0;return!1}},{key:"_selectConnectedEdges",value:function(e){for(var t=0;t<e.edges.length;t++){var n=e.edges[t];n.select(),this._addToSelection(n)}}},{key:"_hoverConnectedEdges",value:function(e){for(var t=0;t<e.edges.length;t++){var n=e.edges[t];n.hover=!0,this._addToHover(n)}}},{key:"_unselectConnectedEdges",value:function(e){for(var t=0;t<e.edges.length;t++){var n=e.edges[t];n.unselect(),this._removeFromSelection(n)}}},{key:"emitBlurEvent",value:function(e,t,n){var r=this._initBaseEvent(e,t);!0===n.hover&&(n.hover=!1,n instanceof a?(r.node=n.id,this.body.emitter.emit("blurNode",r)):(r.edge=n.id,this.body.emitter.emit("blurEdge",r)))}},{key:"emitHoverEvent",value:function(e,t,n){var r=this._initBaseEvent(e,t),i=!1;return!1===n.hover&&(n.hover=!0,this._addToHover(n),i=!0,n instanceof a?(r.node=n.id,this.body.emitter.emit("hoverNode",r)):(r.edge=n.id,this.body.emitter.emit("hoverEdge",r))),i}},{key:"hoverObject",value:function(e,t){var n=this.getNodeAt(t);void 0===n&&(n=this.getEdgeAt(t));var r=!1;for(var i in this.hoverObj.nodes)this.hoverObj.nodes.hasOwnProperty(i)&&(void 0===n||n instanceof a&&n.id!=i||n instanceof s)&&(this.emitBlurEvent(e,t,this.hoverObj.nodes[i]),delete this.hoverObj.nodes[i],r=!0);for(var o in this.hoverObj.edges)this.hoverObj.edges.hasOwnProperty(o)&&(!0===r?(this.hoverObj.edges[o].hover=!1,delete this.hoverObj.edges[o]):(void 0===n||n instanceof s&&n.id!=o||n instanceof a&&!n.hover)&&(this.emitBlurEvent(e,t,this.hoverObj.edges[o]),delete this.hoverObj.edges[o],r=!0));void 0!==n&&(r=r||this.emitHoverEvent(e,t,n),n instanceof a&&!0===this.options.hoverConnectedEdges&&this._hoverConnectedEdges(n)),!0===r&&this.body.emitter.emit("_requestRedraw")}},{key:"getSelection",value:function(){return{nodes:this.getSelectedNodes(),edges:this.getSelectedEdges()}}},{key:"getSelectedNodes",value:function(){var e=[];if(!0===this.options.selectable)for(var t in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(t)&&e.push(this.selectionObj.nodes[t].id);return e}},{key:"getSelectedEdges",value:function(){var e=[];if(!0===this.options.selectable)for(var t in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(t)&&e.push(this.selectionObj.edges[t].id);return e}},{key:"setSelection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0,r=void 0;if(!e||!e.nodes&&!e.edges)throw"Selection must be an object with nodes and/or edges properties";if((t.unselectAll||void 0===t.unselectAll)&&this.unselectAll(),e.nodes)for(n=0;n<e.nodes.length;n++){var i=this.body.nodes[r=e.nodes[n]];if(!i)throw new RangeError('Node with id "'+r+'" not found');this.selectObject(i,t.highlightEdges)}if(e.edges)for(n=0;n<e.edges.length;n++){var o=this.body.edges[r=e.edges[n]];if(!o)throw new RangeError('Edge with id "'+r+'" not found');this.selectObject(o)}this.body.emitter.emit("_requestRedraw")}},{key:"selectNodes",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e||void 0===e.length)throw"Selection must be an array with ids";this.setSelection({nodes:e},{highlightEdges:t})}},{key:"selectEdges",value:function(e){if(!e||void 0===e.length)throw"Selection must be an array with ids";this.setSelection({edges:e})}},{key:"updateSelection",value:function(){for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&(this.body.nodes.hasOwnProperty(e)||delete this.selectionObj.nodes[e]);for(var t in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(t)&&(this.body.edges.hasOwnProperty(t)||delete this.selectionObj.edges[t])}},{key:"getClickedItems",value:function(e){for(var t=this.canvas.DOMtoCanvas(e),n=[],r=this.body.nodeIndices,i=this.body.nodes,o=r.length-1;o>=0;o--){var a=i[r[o]].getItemsOnPoint(t);n.push.apply(n,a)}for(var s=this.body.edgeIndices,u=this.body.edges,l=s.length-1;l>=0;l--){var c=u[s[l]].getItemsOnPoint(t);n.push.apply(n,c)}return n}}]),e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(31)),i=u(n(6)),o=u(n(8)),a=u(n(0)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=n(2),c=n(77).default,d=n(236),f=d.HorizontalStrategy,h=d.VerticalStrategy,p=function(){function e(){(0,a.default)(this,e),this.childrenReference={},this.parentReference={},this.trees={},this.distributionOrdering={},this.levels={},this.distributionIndex={},this.isTree=!1,this.treeIndex=-1}return(0,s.default)(e,[{key:"addRelation",value:function(e,t){void 0===this.childrenReference[e]&&(this.childrenReference[e]=[]),this.childrenReference[e].push(t),void 0===this.parentReference[t]&&(this.parentReference[t]=[]),this.parentReference[t].push(e)}},{key:"checkIfTree",value:function(){for(var e in this.parentReference)if(this.parentReference[e].length>1)return void(this.isTree=!1);this.isTree=!0}},{key:"numTrees",value:function(){return this.treeIndex+1}},{key:"setTreeIndex",value:function(e,t){void 0!==t&&void 0===this.trees[e.id]&&(this.trees[e.id]=t,this.treeIndex=Math.max(t,this.treeIndex))}},{key:"ensureLevel",value:function(e){void 0===this.levels[e]&&(this.levels[e]=0)}},{key:"getMaxLevel",value:function(e){var t=this,n={};return function e(r){if(void 0!==n[r])return n[r];var i=t.levels[r];if(t.childrenReference[r]){var o=t.childrenReference[r];if(o.length>0)for(var a=0;a<o.length;a++)i=Math.max(i,e(o[a]))}return n[r]=i,i}(e)}},{key:"levelDownstream",value:function(e,t){void 0===this.levels[t.id]&&(void 0===this.levels[e.id]&&(this.levels[e.id]=0),this.levels[t.id]=this.levels[e.id]+1)}},{key:"setMinLevelToZero",value:function(e){var t=1e9;for(var n in e)e.hasOwnProperty(n)&&void 0!==this.levels[n]&&(t=Math.min(this.levels[n],t));for(var r in e)e.hasOwnProperty(r)&&void 0!==this.levels[r]&&(this.levels[r]-=t)}},{key:"getTreeSize",value:function(e,t){var n=1e9,r=-1e9,i=1e9,o=-1e9;for(var a in this.trees)if(this.trees.hasOwnProperty(a)&&this.trees[a]===t){var s=e[a];n=Math.min(s.x,n),r=Math.max(s.x,r),i=Math.min(s.y,i),o=Math.max(s.y,o)}return{min_x:n,max_x:r,min_y:i,max_y:o}}},{key:"hasSameParent",value:function(e,t){var n=this.parentReference[e.id],r=this.parentReference[t.id];if(void 0===n||void 0===r)return!1;for(var i=0;i<n.length;i++)for(var o=0;o<r.length;o++)if(n[i]==r[o])return!0;return!1}},{key:"inSameSubNetwork",value:function(e,t){return this.trees[e.id]===this.trees[t.id]}},{key:"getLevels",value:function(){return(0,o.default)(this.distributionOrdering)}},{key:"addToOrdering",value:function(e,t){void 0===this.distributionOrdering[t]&&(this.distributionOrdering[t]=[]);var n=!1,r=this.distributionOrdering[t];for(var i in r)if(r[i]===e){n=!0;break}n||(this.distributionOrdering[t].push(e),this.distributionIndex[e.id]=this.distributionOrdering[t].length-1)}}]),e}(),m=function(){function e(t){(0,a.default)(this,e),this.body=t,this.initialRandomSeed=Math.round(1e6*Math.random()),this.randomSeed=this.initialRandomSeed,this.setPhysics=!1,this.options={},this.optionsBackup={physics:{}},this.defaultOptions={randomSeed:void 0,improvedLayout:!0,hierarchical:{enabled:!1,levelSeparation:150,nodeSpacing:100,treeSpacing:200,blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:"UD",sortMethod:"hubsize"}},l.extend(this.options,this.defaultOptions),this.bindEventListeners()}return(0,s.default)(e,[{key:"bindEventListeners",value:function(){var e=this;this.body.emitter.on("_dataChanged",(function(){e.setupHierarchicalLayout()})),this.body.emitter.on("_dataLoaded",(function(){e.layoutNetwork()})),this.body.emitter.on("_resetHierarchicalLayout",(function(){e.setupHierarchicalLayout()})),this.body.emitter.on("_adjustEdgesForHierarchicalLayout",(function(){if(!0===e.options.hierarchical.enabled){var t=e.direction.curveType();e.body.emitter.emit("_forceDisableDynamicCurves",t,!1)}}))}},{key:"setOptions",value:function(e,t){if(void 0!==e){var n=this.options.hierarchical,r=n.enabled;if(l.selectiveDeepExtend(["randomSeed","improvedLayout"],this.options,e),l.mergeOptions(this.options,e,"hierarchical"),void 0!==e.randomSeed&&(this.initialRandomSeed=e.randomSeed),!0===n.enabled)return!0===r&&this.body.emitter.emit("refresh",!0),"RL"===n.direction||"DU"===n.direction?n.levelSeparation>0&&(n.levelSeparation*=-1):n.levelSeparation<0&&(n.levelSeparation*=-1),this.setDirectionStrategy(),this.body.emitter.emit("_resetHierarchicalLayout"),this.adaptAllOptionsForHierarchicalLayout(t);if(!0===r)return this.body.emitter.emit("refresh"),l.deepExtend(t,this.optionsBackup)}return t}},{key:"adaptAllOptionsForHierarchicalLayout",value:function(e){if(!0===this.options.hierarchical.enabled){var t=this.optionsBackup.physics;void 0===e.physics||!0===e.physics?(e.physics={enabled:void 0===t.enabled||t.enabled,solver:"hierarchicalRepulsion"},t.enabled=void 0===t.enabled||t.enabled,t.solver=t.solver||"barnesHut"):"object"===(0,i.default)(e.physics)?(t.enabled=void 0===e.physics.enabled||e.physics.enabled,t.solver=e.physics.solver||"barnesHut",e.physics.solver="hierarchicalRepulsion"):!1!==e.physics&&(t.solver="barnesHut",e.physics={solver:"hierarchicalRepulsion"});var n=this.direction.curveType();if(void 0===e.edges)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},e.edges={smooth:!1};else if(void 0===e.edges.smooth)this.optionsBackup.edges={smooth:{enabled:!0,type:"dynamic"}},e.edges.smooth=!1;else if("boolean"==typeof e.edges.smooth)this.optionsBackup.edges={smooth:e.edges.smooth},e.edges.smooth={enabled:e.edges.smooth,type:n};else{var r=e.edges.smooth;void 0!==r.type&&"dynamic"!==r.type&&(n=r.type),this.optionsBackup.edges={smooth:void 0===r.enabled||r.enabled,type:void 0===r.type?"dynamic":r.type,roundness:void 0===r.roundness?.5:r.roundness,forceDirection:void 0!==r.forceDirection&&r.forceDirection},e.edges.smooth={enabled:void 0===r.enabled||r.enabled,type:n,roundness:void 0===r.roundness?.5:r.roundness,forceDirection:void 0!==r.forceDirection&&r.forceDirection}}this.body.emitter.emit("_forceDisableDynamicCurves",n)}return e}},{key:"seededRandom",value:function(){var e=1e4*Math.sin(this.randomSeed++);return e-Math.floor(e)}},{key:"positionInitially",value:function(e){if(!0!==this.options.hierarchical.enabled){this.randomSeed=this.initialRandomSeed;for(var t=e.length+50,n=0;n<e.length;n++){var r=e[n],i=2*Math.PI*this.seededRandom();void 0===r.x&&(r.x=t*Math.cos(i)),void 0===r.y&&(r.y=t*Math.sin(i))}}}},{key:"layoutNetwork",value:function(){if(!0!==this.options.hierarchical.enabled&&!0===this.options.improvedLayout){for(var e=this.body.nodeIndices,t=0,n=0;n<e.length;n++)!0===this.body.nodes[e[n]].predefinedPosition&&(t+=1);if(t<.5*e.length){var r=0,i={clusterNodeProperties:{shape:"ellipse",label:"",group:"",font:{multi:!1}},clusterEdgeProperties:{label:"",font:{multi:!1},smooth:{enabled:!1}}};if(e.length>150){for(var o=e.length;e.length>150&&r<=10;){var a=e.length;if((r+=1)%3==0?this.body.modules.clustering.clusterBridges(i):this.body.modules.clustering.clusterOutliers(i),a==e.length&&r%3!=0)return this._declusterAll(),this.body.emitter.emit("_layoutFailed"),void console.info("This network could not be positioned by this version of the improved layout algorithm. Please disable improvedLayout for better performance.")}this.body.modules.kamadaKawai.setOptions({springLength:Math.max(150,2*o)})}r>10&&console.info("The clustering didn't succeed within the amount of interations allowed, progressing with partial result."),this.body.modules.kamadaKawai.solve(e,this.body.edgeIndices,!0),this._shiftToCenter();for(var s=0;s<e.length;s++){var u=this.body.nodes[e[s]];!1===u.predefinedPosition&&(u.x+=70*(.5-this.seededRandom()),u.y+=70*(.5-this.seededRandom()))}this._declusterAll(),this.body.emitter.emit("_repositionBezierNodes")}}}},{key:"_shiftToCenter",value:function(){for(var e=c.getRangeCore(this.body.nodes,this.body.nodeIndices),t=c.findCenter(e),n=0;n<this.body.nodeIndices.length;n++){var r=this.body.nodes[this.body.nodeIndices[n]];r.x-=t.x,r.y-=t.y}}},{key:"_declusterAll",value:function(){for(var e=!0;!0===e;){e=!1;for(var t=0;t<this.body.nodeIndices.length;t++)!0===this.body.nodes[this.body.nodeIndices[t]].isCluster&&(e=!0,this.body.modules.clustering.openCluster(this.body.nodeIndices[t],{},!1));!0===e&&this.body.emitter.emit("_dataChanged")}}},{key:"getSeed",value:function(){return this.initialRandomSeed}},{key:"setupHierarchicalLayout",value:function(){if(!0===this.options.hierarchical.enabled&&this.body.nodeIndices.length>0){var e=void 0,t=void 0,n=!1,r=!1;for(t in this.lastNodeOnLevel={},this.hierarchical=new p,this.body.nodes)this.body.nodes.hasOwnProperty(t)&&(void 0!==(e=this.body.nodes[t]).options.level?(n=!0,this.hierarchical.levels[t]=e.options.level):r=!0);if(!0===r&&!0===n)throw new Error("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes.");if(!0===r){var i=this.options.hierarchical.sortMethod;"hubsize"===i?this._determineLevelsByHubsize():"directed"===i?this._determineLevelsDirected():"custom"===i&&this._determineLevelsCustomCallback()}for(var o in this.body.nodes)this.body.nodes.hasOwnProperty(o)&&this.hierarchical.ensureLevel(o);var a=this._getDistribution();this._generateMap(),this._placeNodesByHierarchy(a),this._condenseHierarchy(),this._shiftToCenter()}}},{key:"_condenseHierarchy",value:function(){var e=this,t=!1,n={},i=function(t,n){var r=e.hierarchical.trees;for(var i in r)r.hasOwnProperty(i)&&r[i]===t&&e.direction.shift(i,n)},o=function t(n,r){if(!r[n.id]&&(r[n.id]=!0,e.hierarchical.childrenReference[n.id])){var i=e.hierarchical.childrenReference[n.id];if(i.length>0)for(var o=0;o<i.length;o++)t(e.body.nodes[i[o]],r)}},a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e9,i=1e9,o=1e9,a=1e9,s=-1e9;for(var u in t)if(t.hasOwnProperty(u)){var l=e.body.nodes[u],c=e.hierarchical.levels[l.id],d=e.direction.getPosition(l),f=e._getSpaceAroundNode(l,t),h=(0,r.default)(f,2),p=h[0],m=h[1];i=Math.min(p,i),o=Math.min(m,o),c<=n&&(a=Math.min(d,a),s=Math.max(d,s))}return[a,s,i,o]},s=function(t,n){var r=e.hierarchical.getMaxLevel(t.id),i=e.hierarchical.getMaxLevel(n.id);return Math.min(r,i)},u=function(t,n,r){for(var i=e.hierarchical,o=0;o<n.length;o++){var a=i.distributionOrdering[n[o]];if(a.length>1)for(var s=0;s<a.length-1;s++){var u=a[s],l=a[s+1];i.hasSameParent(u,l)&&i.inSameSubNetwork(u,l)&&t(u,l,r)}}},l=function(n,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=e.direction.getPosition(n),l=e.direction.getPosition(r),c=Math.abs(l-u),d=e.options.hierarchical.nodeSpacing;if(c>d){var f={},h={};o(n,f),o(r,h);var p=s(n,r),m=a(f,p),v=a(h,p),g=m[1],y=v[0],b=v[2],_=Math.abs(g-y);if(_>d){var w=g-y+d;w<-b+d&&(w=-b+d),w<0&&(e._shiftBlock(r.id,w),t=!0,!0===i&&e._centerParent(r))}}},c=function(i,s){for(var u=s.id,l=s.edges,c=e.hierarchical.levels[s.id],d=e.options.hierarchical.levelSeparation*e.options.hierarchical.levelSeparation,f={},h=[],p=0;p<l.length;p++){var m=l[p];if(m.toId!=m.fromId){var v=m.toId==u?m.from:m.to;f[l[p].id]=v,e.hierarchical.levels[v.id]<c&&h.push(m)}}var g=function(t,n){for(var r=0,i=0;i<n.length;i++)if(void 0!==f[n[i].id]){var o=e.direction.getPosition(f[n[i].id])-t;r+=o/Math.sqrt(o*o+d)}return r},y=function(t,n){for(var r=0,i=0;i<n.length;i++)if(void 0!==f[n[i].id]){var o=e.direction.getPosition(f[n[i].id])-t;r-=d*Math.pow(o*o+d,-1.5)}return r},b=function(t,n){for(var r=e.direction.getPosition(s),i={},o=0;o<t;o++){var a=g(r,n),u=y(r,n);if(void 0!==i[r-=Math.max(-40,Math.min(40,Math.round(a/u)))])break;i[r]=o}return r},_=b(i,h);!function(r){var i=e.direction.getPosition(s);if(void 0===n[s.id]){var u={};o(s,u),n[s.id]=u}var l=a(n[s.id]),c=l[2],d=r-i,f=0;d>0?f=Math.min(d,l[3]-e.options.hierarchical.nodeSpacing):d<0&&(f=-Math.min(-d,c-e.options.hierarchical.nodeSpacing)),0!=f&&(e._shiftBlock(s.id,f),t=!0)}(_),function(n){var i=e.direction.getPosition(s),o=e._getSpaceAroundNode(s),a=(0,r.default)(o,2),u=a[0],l=n-i,c=i;l>0?c=Math.min(i+(a[1]-e.options.hierarchical.nodeSpacing),n):l<0&&(c=Math.max(i-(u-e.options.hierarchical.nodeSpacing),n)),c!==i&&(e.direction.setPosition(s,c),t=!0)}(_=b(i,l))};!0===this.options.hierarchical.blockShifting&&(function(n){var r=e.hierarchical.getLevels();r=r.reverse();for(var i=0;i<5&&(t=!1,u(l,r,!0),!0===t);i++);}(),function(){for(var t in e.body.nodes)e.body.nodes.hasOwnProperty(t)&&e._centerParent(e.body.nodes[t])}()),!0===this.options.hierarchical.edgeMinimization&&function(n){var r=e.hierarchical.getLevels();r=r.reverse();for(var i=0;i<20;i++){t=!1;for(var o=0;o<r.length;o++)for(var a=e.hierarchical.distributionOrdering[r[o]],s=0;s<a.length;s++)c(1e3,a[s]);if(!0!==t)break}}(),!0===this.options.hierarchical.parentCentralization&&function(){var t=e.hierarchical.getLevels();t=t.reverse();for(var n=0;n<t.length;n++)for(var r=e.hierarchical.distributionOrdering[t[n]],i=0;i<r.length;i++)e._centerParent(r[i])}(),function(){for(var t=function(){for(var t=[],n=0;n<e.hierarchical.numTrees();n++)t.push(e.direction.getTreeSize(n));return t}(),n=0,r=0;r<t.length-1;r++)i(r+1,n+=t[r].max-t[r+1].min+e.options.hierarchical.treeSpacing)}()}},{key:"_getSpaceAroundNode",value:function(e,t){var n=!0;void 0===t&&(n=!1);var r=this.hierarchical.levels[e.id];if(void 0!==r){var i=this.hierarchical.distributionIndex[e.id],o=this.direction.getPosition(e),a=this.hierarchical.distributionOrdering[r],s=1e9,u=1e9;if(0!==i){var l=a[i-1];(!0===n&&void 0===t[l.id]||!1===n)&&(s=o-this.direction.getPosition(l))}if(i!=a.length-1){var c=a[i+1];if(!0===n&&void 0===t[c.id]||!1===n){var d=this.direction.getPosition(c);u=Math.min(u,d-o)}}return[s,u]}return[0,0]}},{key:"_centerParent",value:function(e){if(this.hierarchical.parentReference[e.id])for(var t=this.hierarchical.parentReference[e.id],n=0;n<t.length;n++){var i=t[n],o=this.body.nodes[i],a=this.hierarchical.childrenReference[i];if(void 0!==a){var s=this._getCenterPosition(a),u=this.direction.getPosition(o),l=this._getSpaceAroundNode(o),c=(0,r.default)(l,2),d=c[0],f=c[1],h=u-s;(h<0&&Math.abs(h)<f-this.options.hierarchical.nodeSpacing||h>0&&Math.abs(h)<d-this.options.hierarchical.nodeSpacing)&&this.direction.setPosition(o,s)}}}},{key:"_placeNodesByHierarchy",value:function(e){for(var t in this.positionedNodes={},e)if(e.hasOwnProperty(t)){var n=(0,o.default)(e[t]);n=this._indexArrayToNodes(n),this.direction.sort(n);for(var r=0,i=0;i<n.length;i++){var a=n[i];if(void 0===this.positionedNodes[a.id]){var s=this.options.hierarchical.nodeSpacing,u=s*r;r>0&&(u=this.direction.getPosition(n[i-1])+s),this.direction.setPosition(a,u,t),this._validatePositionAndContinue(a,t,u),r++}}}}},{key:"_placeBranchNodes",value:function(e,t){var n=this.hierarchical.childrenReference[e];if(void 0!==n){for(var r=[],i=0;i<n.length;i++)r.push(this.body.nodes[n[i]]);this.direction.sort(r);for(var o=0;o<r.length;o++){var a=r[o],s=this.hierarchical.levels[a.id];if(!(s>t&&void 0===this.positionedNodes[a.id]))return;var u,l=this.options.hierarchical.nodeSpacing;u=0===o?this.direction.getPosition(this.body.nodes[e]):this.direction.getPosition(r[o-1])+l,this.direction.setPosition(a,u,s),this._validatePositionAndContinue(a,s,u)}var c=this._getCenterPosition(r);this.direction.setPosition(this.body.nodes[e],c,t)}}},{key:"_validatePositionAndContinue",value:function(e,t,n){if(this.hierarchical.isTree){if(void 0!==this.lastNodeOnLevel[t]){var r=this.direction.getPosition(this.body.nodes[this.lastNodeOnLevel[t]]);if(n-r<this.options.hierarchical.nodeSpacing){var i=r+this.options.hierarchical.nodeSpacing-n,o=this._findCommonParent(this.lastNodeOnLevel[t],e.id);this._shiftBlock(o.withChild,i)}}this.lastNodeOnLevel[t]=e.id,this.positionedNodes[e.id]=!0,this._placeBranchNodes(e.id,t)}}},{key:"_indexArrayToNodes",value:function(e){for(var t=[],n=0;n<e.length;n++)t.push(this.body.nodes[e[n]]);return t}},{key:"_getDistribution",value:function(){var e={},t=void 0,n=void 0;for(t in this.body.nodes)if(this.body.nodes.hasOwnProperty(t)){var r=void 0===this.hierarchical.levels[t]?0:this.hierarchical.levels[t];this.direction.fix(n=this.body.nodes[t],r),void 0===e[r]&&(e[r]={}),e[r][t]=n}return e}},{key:"_getActiveEdges",value:function(e){var t=this,n=[];return l.forEach(e.edges,(function(e){-1!==t.body.edgeIndices.indexOf(e.id)&&n.push(e)})),n}},{key:"_getHubSizes",value:function(){var e=this,t={};l.forEach(this.body.nodeIndices,(function(n){var r=e._getActiveEdges(e.body.nodes[n]).length;t[r]=!0}));var n=[];return l.forEach(t,(function(e){n.push(Number(e))})),n.sort((function(e,t){return t-e})),n}},{key:"_determineLevelsByHubsize",value:function(){for(var e=this,t=function(t,n){e.hierarchical.levelDownstream(t,n)},n=this._getHubSizes(),r=function(r){var i=n[r];if(0===i)return"break";l.forEach(e.body.nodeIndices,(function(n){i===e._getActiveEdges(e.body.nodes[n]).length&&e._crawlNetwork(t,n)}))},i=0;i<n.length&&"break"!==r(i);++i);}},{key:"_determineLevelsCustomCallback",value:function(){var e=this;this._crawlNetwork((function(t,n,r){var i=e.hierarchical.levels[t.id];void 0===i&&(i=e.hierarchical.levels[t.id]=1e5);var o=(c.cloneOptions(t,"node"),c.cloneOptions(n,"node"),void c.cloneOptions(r,"edge"));e.hierarchical.levels[n.id]=i+o})),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_determineLevelsDirected",value:function(){var e=this;this._crawlNetwork((function(t,n,r){var i=e.hierarchical.levels[t.id],o=e.hierarchical.levels[n.id];(function(t){return l.forEach(e.body.edges,(function(e){if(e.toId===t.fromId&&e.fromId===t.toId)return!0})),!1})(r)&&void 0!==i&&void 0!==o||(void 0===i&&(i=e.hierarchical.levels[t.id]=1e4),e.hierarchical.levels[n.id]=r.toId==n.id?i+1:i-1)})),this.hierarchical.setMinLevelToZero(this.body.nodes)}},{key:"_generateMap",value:function(){var e=this;this._crawlNetwork((function(t,n){e.hierarchical.levels[n.id]>e.hierarchical.levels[t.id]&&e.hierarchical.addRelation(t.id,n.id)})),this.hierarchical.checkIfTree()}},{key:"_crawlNetwork",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},n=arguments[1],r={},i=function n(i,o){if(void 0===r[i.id]){e.hierarchical.setTreeIndex(i,o),r[i.id]=!0;for(var a=void 0,s=e._getActiveEdges(i),u=0;u<s.length;u++){var l=s[u];!0===l.connected&&i.id!=(a=l.toId==i.id?l.from:l.to).id&&(t(i,a,l),n(a,o))}}};if(void 0===n)for(var o=0,a=0;a<this.body.nodeIndices.length;a++){var s=this.body.nodeIndices[a];if(void 0===r[s]){var u=this.body.nodes[s];i(u,o),o+=1}}else{var l=this.body.nodes[n];if(void 0===l)return void console.error("Node not found:",n);i(l)}}},{key:"_shiftBlock",value:function(e,t){var n=this,r={};!function e(i){if(!r[i]){r[i]=!0,n.direction.shift(i,t);var o=n.hierarchical.childrenReference[i];if(void 0!==o)for(var a=0;a<o.length;a++)e(o[a])}}(e)}},{key:"_findCommonParent",value:function(e,t){var n=this,r={};return function e(t,r){var i=n.hierarchical.parentReference[r];if(void 0!==i)for(var o=0;o<i.length;o++){var a=i[o];t[a]=!0,e(t,a)}}(r,e),function e(t,r){var i=n.hierarchical.parentReference[r];if(void 0!==i)for(var o=0;o<i.length;o++){var a=i[o];if(void 0!==t[a])return{foundParent:a,withChild:r};var s=e(t,a);if(null!==s.foundParent)return s}return{foundParent:null,withChild:r}}(r,t)}},{key:"setDirectionStrategy",value:function(){this.direction="UD"===this.options.hierarchical.direction||"DU"===this.options.hierarchical.direction?new h(this):new f(this)}},{key:"_getCenterPosition",value:function(e){for(var t=1e9,n=-1e9,r=0;r<e.length;r++){var i=this.direction.getPosition(void 0!==e[r].id?e[r]:this.body.nodes[e[r]]);t=Math.min(t,i),n=Math.max(n,i)}return.5*(t+n)}}]),e}();t.default=m},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.VerticalStrategy=t.HorizontalStrategy=void 0;var r=u(n(3)),i=u(n(4)),o=u(n(5)),a=u(n(0)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,a.default)(this,e)}return(0,s.default)(e,[{key:"abstract",value:function(){throw new Error("Can't instantiate abstract class!")}},{key:"fake_use",value:function(){}},{key:"curveType",value:function(){return this.abstract()}},{key:"getPosition",value:function(e){return this.fake_use(e),this.abstract()}},{key:"setPosition",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;this.fake_use(e,t,n),this.abstract()}},{key:"getTreeSize",value:function(e){return this.fake_use(e),this.abstract()}},{key:"sort",value:function(e){this.fake_use(e),this.abstract()}},{key:"fix",value:function(e,t){this.fake_use(e,t),this.abstract()}},{key:"shift",value:function(e,t){this.fake_use(e,t),this.abstract()}}]),e}(),c=function(e){function t(e){(0,a.default)(this,t);var n=(0,i.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return n.layout=e,n}return(0,o.default)(t,e),(0,s.default)(t,[{key:"curveType",value:function(){return"horizontal"}},{key:"getPosition",value:function(e){return e.x}},{key:"setPosition",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==n&&this.layout.hierarchical.addToOrdering(e,n),e.x=t}},{key:"getTreeSize",value:function(e){var t=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,e);return{min:t.min_x,max:t.max_x}}},{key:"sort",value:function(e){e.sort((function(e,t){return void 0===e.x||void 0===t.x?0:e.x-t.x}))}},{key:"fix",value:function(e,t){e.y=this.layout.options.hierarchical.levelSeparation*t,e.options.fixed.y=!0}},{key:"shift",value:function(e,t){this.layout.body.nodes[e].x+=t}}]),t}(l),d=function(e){function t(e){(0,a.default)(this,t);var n=(0,i.default)(this,(t.__proto__||(0,r.default)(t)).call(this));return n.layout=e,n}return(0,o.default)(t,e),(0,s.default)(t,[{key:"curveType",value:function(){return"vertical"}},{key:"getPosition",value:function(e){return e.y}},{key:"setPosition",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;void 0!==n&&this.layout.hierarchical.addToOrdering(e,n),e.y=t}},{key:"getTreeSize",value:function(e){var t=this.layout.hierarchical.getTreeSize(this.layout.body.nodes,e);return{min:t.min_y,max:t.max_y}}},{key:"sort",value:function(e){e.sort((function(e,t){return void 0===e.y||void 0===t.y?0:e.y-t.y}))}},{key:"fix",value:function(e,t){e.x=this.layout.options.hierarchical.levelSeparation*t,e.options.fixed.x=!0}},{key:"shift",value:function(e,t){this.layout.body.nodes[e].y+=t}}]),t}(l);t.HorizontalStrategy=d,t.VerticalStrategy=c},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(8)),i=u(n(19)),o=u(n(6)),a=u(n(0)),s=u(n(1));function u(e){return e&&e.__esModule?e:{default:e}}var l=n(2),c=n(10),d=n(37),f=function(){function e(t,n,r){var i=this;(0,a.default)(this,e),this.body=t,this.canvas=n,this.selectionHandler=r,this.editMode=!1,this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0,this.manipulationHammers=[],this.temporaryUIFunctions={},this.temporaryEventFunctions=[],this.touchTime=0,this.temporaryIds={nodes:[],edges:[]},this.guiEnabled=!1,this.inMode=!1,this.selectedControlNode=void 0,this.options={},this.defaultOptions={enabled:!1,initiallyActive:!1,addNode:!0,addEdge:!0,editNode:void 0,editEdge:!0,deleteNode:!0,deleteEdge:!0,controlNodeStyle:{shape:"dot",size:6,color:{background:"#ff0000",border:"#3c3c3c",highlight:{background:"#07f968",border:"#3c3c3c"}},borderWidth:2,borderWidthSelected:2}},l.extend(this.options,this.defaultOptions),this.body.emitter.on("destroy",(function(){i._clean()})),this.body.emitter.on("_dataChanged",this._restore.bind(this)),this.body.emitter.on("_resetData",this._restore.bind(this))}return(0,s.default)(e,[{key:"_restore",value:function(){!1!==this.inMode&&(!0===this.options.initiallyActive?this.enableEditMode():this.disableEditMode())}},{key:"setOptions",value:function(e,t,n){void 0!==t&&(this.options.locale=void 0!==t.locale?t.locale:n.locale,this.options.locales=void 0!==t.locales?t.locales:n.locales),void 0!==e&&("boolean"==typeof e?this.options.enabled=e:(this.options.enabled=!0,l.deepExtend(this.options,e)),!0===this.options.initiallyActive&&(this.editMode=!0),this._setup())}},{key:"toggleEditMode",value:function(){!0===this.editMode?this.disableEditMode():this.enableEditMode()}},{key:"enableEditMode",value:function(){this.editMode=!0,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="block",this.closeDiv.style.display="block",this.editModeDiv.style.display="none",this.showManipulatorToolbar())}},{key:"disableEditMode",value:function(){this.editMode=!1,this._clean(),!0===this.guiEnabled&&(this.manipulationDiv.style.display="none",this.closeDiv.style.display="none",this.editModeDiv.style.display="block",this._createEditButton())}},{key:"showManipulatorToolbar",value:function(){if(this._clean(),this.manipulationDOM={},!0===this.guiEnabled){this.editMode=!0,this.manipulationDiv.style.display="block",this.closeDiv.style.display="block";var e=this.selectionHandler._getSelectedNodeCount(),t=this.selectionHandler._getSelectedEdgeCount(),n=e+t,r=this.options.locales[this.options.locale],i=!1;!1!==this.options.addNode&&(this._createAddNodeButton(r),i=!0),!1!==this.options.addEdge&&(!0===i?this._createSeperator(1):i=!0,this._createAddEdgeButton(r)),1===e&&"function"==typeof this.options.editNode?(!0===i?this._createSeperator(2):i=!0,this._createEditNodeButton(r)):1===t&&0===e&&!1!==this.options.editEdge&&(!0===i?this._createSeperator(3):i=!0,this._createEditEdgeButton(r)),0!==n&&(e>0&&!1!==this.options.deleteNode||0===e&&!1!==this.options.deleteEdge)&&(!0===i&&this._createSeperator(4),this._createDeleteButton(r)),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this)),this._temporaryBindEvent("select",this.showManipulatorToolbar.bind(this))}this.body.emitter.emit("_redraw")}},{key:"addNodeMode",value:function(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addNode",!0===this.guiEnabled){var e=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(e),this._createSeperator(),this._createDescription(e.addDescription||this.options.locales.en.addDescription),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}this._temporaryBindEvent("click",this._performAddNode.bind(this))}},{key:"editNode",value:function(){var e=this;!0!==this.editMode&&this.enableEditMode(),this._clean();var t=this.selectionHandler._getSelectedNode();if(void 0!==t){if(this.inMode="editNode","function"!=typeof this.options.editNode)throw new Error("No function has been configured to handle the editing of nodes.");if(!0!==t.isCluster){var n=l.deepExtend({},t.options,!1);if(n.x=t.x,n.y=t.y,2!==this.options.editNode.length)throw new Error("The function for edit does not support two arguments (data, callback)");this.options.editNode(n,(function(t){null!=t&&"editNode"===e.inMode&&e.body.data.nodes.getDataSet().update(t),e.showManipulatorToolbar()}))}else alert(this.options.locales[this.options.locale].editClusterError||this.options.locales.en.editClusterError)}else this.showManipulatorToolbar()}},{key:"addEdgeMode",value:function(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="addEdge",!0===this.guiEnabled){var e=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(e),this._createSeperator(),this._createDescription(e.edgeDescription||this.options.locales.en.edgeDescription),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}this._temporaryBindUI("onTouch",this._handleConnect.bind(this)),this._temporaryBindUI("onDragEnd",this._finishConnect.bind(this)),this._temporaryBindUI("onDrag",this._dragControlNode.bind(this)),this._temporaryBindUI("onRelease",this._finishConnect.bind(this)),this._temporaryBindUI("onDragStart",this._dragStartEdge.bind(this)),this._temporaryBindUI("onHold",(function(){}))}},{key:"editEdgeMode",value:function(){if(!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="editEdge","object"!==(0,o.default)(this.options.editEdge)||"function"!=typeof this.options.editEdge.editWithoutDrag||(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0===this.edgeBeingEditedId)){if(!0===this.guiEnabled){var e=this.options.locales[this.options.locale];this.manipulationDOM={},this._createBackButton(e),this._createSeperator(),this._createDescription(e.editEdgeDescription||this.options.locales.en.editEdgeDescription),this._bindHammerToDiv(this.closeDiv,this.toggleEditMode.bind(this))}if(this.edgeBeingEditedId=this.selectionHandler.getSelectedEdges()[0],void 0!==this.edgeBeingEditedId){var t=this.body.edges[this.edgeBeingEditedId],n=this._getNewTargetNode(t.from.x,t.from.y),r=this._getNewTargetNode(t.to.x,t.to.y);this.temporaryIds.nodes.push(n.id),this.temporaryIds.nodes.push(r.id),this.body.nodes[n.id]=n,this.body.nodeIndices.push(n.id),this.body.nodes[r.id]=r,this.body.nodeIndices.push(r.id),this._temporaryBindUI("onTouch",this._controlNodeTouch.bind(this)),this._temporaryBindUI("onTap",(function(){})),this._temporaryBindUI("onHold",(function(){})),this._temporaryBindUI("onDragStart",this._controlNodeDragStart.bind(this)),this._temporaryBindUI("onDrag",this._controlNodeDrag.bind(this)),this._temporaryBindUI("onDragEnd",this._controlNodeDragEnd.bind(this)),this._temporaryBindUI("onMouseMove",(function(){})),this._temporaryBindEvent("beforeDrawing",(function(e){var i=t.edgeType.findBorderPositions(e);!1===n.selected&&(n.x=i.from.x,n.y=i.from.y),!1===r.selected&&(r.x=i.to.x,r.y=i.to.y)})),this.body.emitter.emit("_redraw")}else this.showManipulatorToolbar()}else{var i=this.body.edges[this.edgeBeingEditedId];this._performEditEdge(i.from,i.to)}}},{key:"deleteSelected",value:function(){var e=this;!0!==this.editMode&&this.enableEditMode(),this._clean(),this.inMode="delete";var t=this.selectionHandler.getSelectedNodes(),n=this.selectionHandler.getSelectedEdges(),r=void 0;if(t.length>0){for(var i=0;i<t.length;i++)if(!0===this.body.nodes[t[i]].isCluster)return void alert(this.options.locales[this.options.locale].deleteClusterError||this.options.locales.en.deleteClusterError);"function"==typeof this.options.deleteNode&&(r=this.options.deleteNode)}else n.length>0&&"function"==typeof this.options.deleteEdge&&(r=this.options.deleteEdge);if("function"==typeof r){var o={nodes:t,edges:n};if(2!==r.length)throw new Error("The function for delete does not support two arguments (data, callback)");r(o,(function(t){null!=t&&"delete"===e.inMode?(e.body.data.edges.getDataSet().remove(t.edges),e.body.data.nodes.getDataSet().remove(t.nodes),e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar()):(e.body.emitter.emit("startSimulation"),e.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().remove(n),this.body.data.nodes.getDataSet().remove(t),this.body.emitter.emit("startSimulation"),this.showManipulatorToolbar()}},{key:"_setup",value:function(){!0===this.options.enabled?(this.guiEnabled=!0,this._createWrappers(),!1===this.editMode?this._createEditButton():this.showManipulatorToolbar()):(this._removeManipulationDOM(),this.guiEnabled=!1)}},{key:"_createWrappers",value:function(){void 0===this.manipulationDiv&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="vis-manipulation",this.manipulationDiv.style.display=!0===this.editMode?"block":"none",this.canvas.frame.appendChild(this.manipulationDiv)),void 0===this.editModeDiv&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="vis-edit-mode",this.editModeDiv.style.display=!0===this.editMode?"none":"block",this.canvas.frame.appendChild(this.editModeDiv)),void 0===this.closeDiv&&(this.closeDiv=document.createElement("div"),this.closeDiv.className="vis-close",this.closeDiv.style.display=this.manipulationDiv.style.display,this.canvas.frame.appendChild(this.closeDiv))}},{key:"_getNewTargetNode",value:function(e,t){var n=l.deepExtend({},this.options.controlNodeStyle);n.id="targetNode"+l.randomUUID(),n.hidden=!1,n.physics=!1,n.x=e,n.y=t;var r=this.body.functions.createNode(n);return r.shape.boundingBox={left:e,right:e,top:t,bottom:t},r}},{key:"_createEditButton",value:function(){this._clean(),this.manipulationDOM={},l.recursiveDOMDelete(this.editModeDiv);var e=this._createButton("editMode","vis-button vis-edit vis-edit-mode",this.options.locales[this.options.locale].edit||this.options.locales.en.edit);this.editModeDiv.appendChild(e),this._bindHammerToDiv(e,this.toggleEditMode.bind(this))}},{key:"_clean",value:function(){this.inMode=!1,!0===this.guiEnabled&&(l.recursiveDOMDelete(this.editModeDiv),l.recursiveDOMDelete(this.manipulationDiv),this._cleanManipulatorHammers()),this._cleanupTemporaryNodesAndEdges(),this._unbindTemporaryUIs(),this._unbindTemporaryEvents(),this.body.emitter.emit("restorePhysics")}},{key:"_cleanManipulatorHammers",value:function(){if(0!=this.manipulationHammers.length){for(var e=0;e<this.manipulationHammers.length;e++)this.manipulationHammers[e].destroy();this.manipulationHammers=[]}}},{key:"_removeManipulationDOM",value:function(){this._clean(),l.recursiveDOMDelete(this.manipulationDiv),l.recursiveDOMDelete(this.editModeDiv),l.recursiveDOMDelete(this.closeDiv),this.manipulationDiv&&this.canvas.frame.removeChild(this.manipulationDiv),this.editModeDiv&&this.canvas.frame.removeChild(this.editModeDiv),this.closeDiv&&this.canvas.frame.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0}},{key:"_createSeperator",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.manipulationDOM["seperatorLineDiv"+e]=document.createElement("div"),this.manipulationDOM["seperatorLineDiv"+e].className="vis-separator-line",this.manipulationDiv.appendChild(this.manipulationDOM["seperatorLineDiv"+e])}},{key:"_createAddNodeButton",value:function(e){var t=this._createButton("addNode","vis-button vis-add",e.addNode||this.options.locales.en.addNode);this.manipulationDiv.appendChild(t),this._bindHammerToDiv(t,this.addNodeMode.bind(this))}},{key:"_createAddEdgeButton",value:function(e){var t=this._createButton("addEdge","vis-button vis-connect",e.addEdge||this.options.locales.en.addEdge);this.manipulationDiv.appendChild(t),this._bindHammerToDiv(t,this.addEdgeMode.bind(this))}},{key:"_createEditNodeButton",value:function(e){var t=this._createButton("editNode","vis-button vis-edit",e.editNode||this.options.locales.en.editNode);this.manipulationDiv.appendChild(t),this._bindHammerToDiv(t,this.editNode.bind(this))}},{key:"_createEditEdgeButton",value:function(e){var t=this._createButton("editEdge","vis-button vis-edit",e.editEdge||this.options.locales.en.editEdge);this.manipulationDiv.appendChild(t),this._bindHammerToDiv(t,this.editEdgeMode.bind(this))}},{key:"_createDeleteButton",value:function(e){var t=this._createButton("delete",this.options.rtl?"vis-button vis-delete-rtl":"vis-button vis-delete",e.del||this.options.locales.en.del);this.manipulationDiv.appendChild(t),this._bindHammerToDiv(t,this.deleteSelected.bind(this))}},{key:"_createBackButton",value:function(e){var t=this._createButton("back","vis-button vis-back",e.back||this.options.locales.en.back);this.manipulationDiv.appendChild(t),this._bindHammerToDiv(t,this.showManipulatorToolbar.bind(this))}},{key:"_createButton",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"vis-label";return this.manipulationDOM[e+"Div"]=document.createElement("div"),this.manipulationDOM[e+"Div"].className=t,this.manipulationDOM[e+"Label"]=document.createElement("div"),this.manipulationDOM[e+"Label"].className=r,this.manipulationDOM[e+"Label"].innerHTML=n,this.manipulationDOM[e+"Div"].appendChild(this.manipulationDOM[e+"Label"]),this.manipulationDOM[e+"Div"]}},{key:"_createDescription",value:function(e){this.manipulationDiv.appendChild(this._createButton("description","vis-button vis-none",e))}},{key:"_temporaryBindEvent",value:function(e,t){this.temporaryEventFunctions.push({event:e,boundFunction:t}),this.body.emitter.on(e,t)}},{key:"_temporaryBindUI",value:function(e,t){if(void 0===this.body.eventListeners[e])throw new Error("This UI function does not exist. Typo? You tried: "+e+" possible are: "+(0,i.default)((0,r.default)(this.body.eventListeners)));this.temporaryUIFunctions[e]=this.body.eventListeners[e],this.body.eventListeners[e]=t}},{key:"_unbindTemporaryUIs",value:function(){for(var e in this.temporaryUIFunctions)this.temporaryUIFunctions.hasOwnProperty(e)&&(this.body.eventListeners[e]=this.temporaryUIFunctions[e],delete this.temporaryUIFunctions[e]);this.temporaryUIFunctions={}}},{key:"_unbindTemporaryEvents",value:function(){for(var e=0;e<this.temporaryEventFunctions.length;e++)this.body.emitter.off(this.temporaryEventFunctions[e].event,this.temporaryEventFunctions[e].boundFunction);this.temporaryEventFunctions=[]}},{key:"_bindHammerToDiv",value:function(e,t){var n=new c(e,{});d.onTouch(n,t),this.manipulationHammers.push(n)}},{key:"_cleanupTemporaryNodesAndEdges",value:function(){for(var e=0;e<this.temporaryIds.edges.length;e++){this.body.edges[this.temporaryIds.edges[e]].disconnect(),delete this.body.edges[this.temporaryIds.edges[e]];var t=this.body.edgeIndices.indexOf(this.temporaryIds.edges[e]);-1!==t&&this.body.edgeIndices.splice(t,1)}for(var n=0;n<this.temporaryIds.nodes.length;n++){delete this.body.nodes[this.temporaryIds.nodes[n]];var r=this.body.nodeIndices.indexOf(this.temporaryIds.nodes[n]);-1!==r&&this.body.nodeIndices.splice(r,1)}this.temporaryIds={nodes:[],edges:[]}}},{key:"_controlNodeTouch",value:function(e){this.selectionHandler.unselectAll(),this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=l.extend({},this.body.view.translation)}},{key:"_controlNodeDragStart",value:function(e){var t=this.selectionHandler._pointerToPositionObject(this.lastTouch),n=this.body.nodes[this.temporaryIds.nodes[0]],r=this.body.nodes[this.temporaryIds.nodes[1]],i=this.body.edges[this.edgeBeingEditedId];this.selectedControlNode=void 0;var o=n.isOverlappingWith(t),a=r.isOverlappingWith(t);!0===o?(this.selectedControlNode=n,i.edgeType.from=n):!0===a&&(this.selectedControlNode=r,i.edgeType.to=r),void 0!==this.selectedControlNode&&this.selectionHandler.selectObject(this.selectedControlNode),this.body.emitter.emit("_redraw")}},{key:"_controlNodeDrag",value:function(e){this.body.emitter.emit("disablePhysics");var t=this.body.functions.getPointer(e.center),n=this.canvas.DOMtoCanvas(t);void 0!==this.selectedControlNode?(this.selectedControlNode.x=n.x,this.selectedControlNode.y=n.y):this.body.view.translation={x:this.lastTouch.translation.x+(t.x-this.lastTouch.x),y:this.lastTouch.translation.y+(t.y-this.lastTouch.y)},this.body.emitter.emit("_redraw")}},{key:"_controlNodeDragEnd",value:function(e){var t=this.body.functions.getPointer(e.center),n=this.selectionHandler._pointerToPositionObject(t),r=this.body.edges[this.edgeBeingEditedId];if(void 0!==this.selectedControlNode){this.selectionHandler.unselectAll();for(var i=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=i.length-1;a>=0;a--)if(i[a]!==this.selectedControlNode.id){o=this.body.nodes[i[a]];break}void 0!==o&&void 0!==this.selectedControlNode?!0===o.isCluster?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):this.selectedControlNode.id===this.body.nodes[this.temporaryIds.nodes[0]].id?this._performEditEdge(o.id,r.to.id):this._performEditEdge(r.from.id,o.id):(r.updateEdgeType(),this.body.emitter.emit("restorePhysics")),this.body.emitter.emit("_redraw")}}},{key:"_handleConnect",value:function(e){if((new Date).valueOf()-this.touchTime>100){this.lastTouch=this.body.functions.getPointer(e.center),this.lastTouch.translation=l.extend({},this.body.view.translation);var t=this.selectionHandler.getNodeAt(this.lastTouch);if(void 0!==t)if(!0===t.isCluster)alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError);else{var n=this._getNewTargetNode(t.x,t.y);this.body.nodes[n.id]=n,this.body.nodeIndices.push(n.id);var r=this.body.functions.createEdge({id:"connectionEdge"+l.randomUUID(),from:t.id,to:n.id,physics:!1,smooth:{enabled:!0,type:"continuous",roundness:.5}});this.body.edges[r.id]=r,this.body.edgeIndices.push(r.id),this.temporaryIds.nodes.push(n.id),this.temporaryIds.edges.push(r.id)}this.touchTime=(new Date).valueOf()}}},{key:"_dragControlNode",value:function(e){var t=this.body.functions.getPointer(e.center);if(void 0!==this.temporaryIds.nodes[0]){var n=this.body.nodes[this.temporaryIds.nodes[0]];n.x=this.canvas._XconvertDOMtoCanvas(t.x),n.y=this.canvas._YconvertDOMtoCanvas(t.y),this.body.emitter.emit("_redraw")}else this.body.view.translation={x:this.lastTouch.translation.x+(t.x-this.lastTouch.x),y:this.lastTouch.translation.y+(t.y-this.lastTouch.y)}}},{key:"_finishConnect",value:function(e){var t=this.body.functions.getPointer(e.center),n=this.selectionHandler._pointerToPositionObject(t),r=void 0;void 0!==this.temporaryIds.edges[0]&&(r=this.body.edges[this.temporaryIds.edges[0]].fromId);for(var i=this.selectionHandler._getAllNodesOverlappingWith(n),o=void 0,a=i.length-1;a>=0;a--)if(-1===this.temporaryIds.nodes.indexOf(i[a])){o=this.body.nodes[i[a]];break}this._cleanupTemporaryNodesAndEdges(),void 0!==o&&(!0===o.isCluster?alert(this.options.locales[this.options.locale].createEdgeError||this.options.locales.en.createEdgeError):void 0!==this.body.nodes[r]&&void 0!==this.body.nodes[o.id]&&this._performAddEdge(r,o.id)),this.body.emitter.emit("_redraw")}},{key:"_dragStartEdge",value:function(e){this.selectionHandler._generateClickEvent("dragStart",e,this.lastTouch,void 0,!0)}},{key:"_performAddNode",value:function(e){var t=this,n={id:l.randomUUID(),x:e.pointer.canvas.x,y:e.pointer.canvas.y,label:"new"};if("function"==typeof this.options.addNode){if(2!==this.options.addNode.length)throw this.showManipulatorToolbar(),new Error("The function for add does not support two arguments (data,callback)");this.options.addNode(n,(function(e){null!=e&&"addNode"===t.inMode&&(t.body.data.nodes.getDataSet().add(e),t.showManipulatorToolbar())}))}else this.body.data.nodes.getDataSet().add(n),this.showManipulatorToolbar()}},{key:"_performAddEdge",value:function(e,t){var n=this,r={from:e,to:t};if("function"==typeof this.options.addEdge){if(2!==this.options.addEdge.length)throw new Error("The function for connect does not support two arguments (data,callback)");this.options.addEdge(r,(function(e){null!=e&&"addEdge"===n.inMode&&(n.body.data.edges.getDataSet().add(e),n.selectionHandler.unselectAll(),n.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().add(r),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}},{key:"_performEditEdge",value:function(e,t){var n=this,r={id:this.edgeBeingEditedId,from:e,to:t,label:this.body.data.edges._data[this.edgeBeingEditedId].label},i=this.options.editEdge;if("object"===(void 0===i?"undefined":(0,o.default)(i))&&(i=i.editWithoutDrag),"function"==typeof i){if(2!==i.length)throw new Error("The function for edit does not support two arguments (data, callback)");i(r,(function(e){null==e||"editEdge"!==n.inMode?(n.body.edges[r.id].updateEdgeType(),n.body.emitter.emit("_redraw"),n.showManipulatorToolbar()):(n.body.data.edges.getDataSet().update(e),n.selectionHandler.unselectAll(),n.showManipulatorToolbar())}))}else this.body.data.edges.getDataSet().update(r),this.selectionHandler.unselectAll(),this.showManipulatorToolbar()}}]),e}();t.default=f},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(31)),i=s(n(0)),o=s(n(1)),a=s(n(239));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n,r){(0,i.default)(this,e),this.body=t,this.springLength=n,this.springConstant=r,this.distanceSolver=new a.default}return(0,o.default)(e,[{key:"setOptions",value:function(e){e&&(e.springLength&&(this.springLength=e.springLength),e.springConstant&&(this.springConstant=e.springConstant))}},{key:"solve",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.distanceSolver.getDistances(this.body,e,t);this._createL_matrix(i),this._createK_matrix(i),this._createE_matrix();for(var o=.01,a=1,s=0,u=Math.max(1e3,Math.min(10*this.body.nodeIndices.length,6e3)),l=5,c=1e9,d=0,f=0,h=0,p=0,m=0;c>o&&s<u;){s+=1;var v=this._getHighestEnergyNode(n),g=(0,r.default)(v,4);for(d=g[0],f=g[2],h=g[3],p=c=g[1],m=0;p>a&&m<l;){m+=1,this._moveNode(d,f,h);var y=this._getEnergy(d),b=(0,r.default)(y,3);p=b[0],f=b[1],h=b[2]}}}},{key:"_getHighestEnergyNode",value:function(e){for(var t=this.body.nodeIndices,n=this.body.nodes,i=0,o=t[0],a=0,s=0,u=0;u<t.length;u++){var l=t[u];if(!1===n[l].predefinedPosition||!0===n[l].isCluster&&!0===e||!0===n[l].options.fixed.x||!0===n[l].options.fixed.y){var c=this._getEnergy(l),d=(0,r.default)(c,3),f=d[0];i<f&&(i=f,o=l,a=d[1],s=d[2])}}return[o,i,a,s]}},{key:"_getEnergy",value:function(e){var t=(0,r.default)(this.E_sums[e],2),n=t[0],i=t[1];return[Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),n,i]}},{key:"_moveNode",value:function(e,t,n){for(var r=this.body.nodeIndices,i=this.body.nodes,o=0,a=0,s=0,u=i[e].x,l=i[e].y,c=this.K_matrix[e],d=this.L_matrix[e],f=0;f<r.length;f++){var h=r[f];if(h!==e){var p=i[h].x,m=i[h].y,v=c[h],g=d[h],y=1/Math.pow(Math.pow(u-p,2)+Math.pow(l-m,2),1.5);o+=v*(1-g*Math.pow(l-m,2)*y),a+=v*(g*(u-p)*(l-m)*y),s+=v*(1-g*Math.pow(u-p,2)*y)}}var b=(t/o+n/a)/(a/o-s/a);i[e].x+=-(a*b+t)/o,i[e].y+=b,this._updateE_matrix(e)}},{key:"_createL_matrix",value:function(e){var t=this.body.nodeIndices,n=this.springLength;this.L_matrix=[];for(var r=0;r<t.length;r++){this.L_matrix[t[r]]={};for(var i=0;i<t.length;i++)this.L_matrix[t[r]][t[i]]=n*e[t[r]][t[i]]}}},{key:"_createK_matrix",value:function(e){var t=this.body.nodeIndices,n=this.springConstant;this.K_matrix=[];for(var r=0;r<t.length;r++){this.K_matrix[t[r]]={};for(var i=0;i<t.length;i++)this.K_matrix[t[r]][t[i]]=n*Math.pow(e[t[r]][t[i]],-2)}}},{key:"_createE_matrix",value:function(){var e=this.body.nodeIndices,t=this.body.nodes;this.E_matrix={},this.E_sums={};for(var n=0;n<e.length;n++)this.E_matrix[e[n]]=[];for(var r=0;r<e.length;r++){for(var i=e[r],o=t[i].x,a=t[i].y,s=0,u=0,l=r;l<e.length;l++){var c=e[l];if(c!==i){var d=t[c].x,f=t[c].y,h=1/Math.sqrt(Math.pow(o-d,2)+Math.pow(a-f,2));this.E_matrix[i][l]=[this.K_matrix[i][c]*(o-d-this.L_matrix[i][c]*(o-d)*h),this.K_matrix[i][c]*(a-f-this.L_matrix[i][c]*(a-f)*h)],this.E_matrix[c][r]=this.E_matrix[i][l],s+=this.E_matrix[i][l][0],u+=this.E_matrix[i][l][1]}}this.E_sums[i]=[s,u]}}},{key:"_updateE_matrix",value:function(e){for(var t=this.body.nodeIndices,n=this.body.nodes,r=this.E_matrix[e],i=this.K_matrix[e],o=this.L_matrix[e],a=n[e].x,s=n[e].y,u=0,l=0,c=0;c<t.length;c++){var d=t[c];if(d!==e){var f=r[c],h=f[0],p=f[1],m=n[d].x,v=n[d].y,g=1/Math.sqrt(Math.pow(a-m,2)+Math.pow(s-v,2)),y=i[d]*(a-m-o[d]*(a-m)*g),b=i[d]*(s-v-o[d]*(s-v)*g);r[c]=[y,b],u+=y,l+=b;var _=this.E_sums[d];_[0]+=y-h,_[1]+=b-p}}this.E_sums[e]=[u,l]}}]),e}();t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){(0,r.default)(this,e)}return(0,i.default)(e,[{key:"getDistances",value:function(e,t,n){for(var r={},i=e.edges,o=0;o<t.length;o++){var a={};r[t[o]]=a;for(var s=0;s<t.length;s++)a[t[s]]=o==s?0:1e9}for(var u=0;u<n.length;u++){var l=i[n[u]];!0===l.connected&&void 0!==r[l.fromId]&&void 0!==r[l.toId]&&(r[l.fromId][l.toId]=1,r[l.toId][l.fromId]=1)}for(var c=t.length,d=0;d<c;d++)for(var f=t[d],h=r[f],p=0;p<c-1;p++)for(var m=t[p],v=r[m],g=p+1;g<c;g++){var y=t[g],b=r[y],_=Math.min(v[y],v[f]+h[y]);v[y]=_,b[m]=_}return r}}]),e}();t.default=a}])},e.exports=r()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,i.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));for(var n=e.split("."),o=0;o<n.length;o++)if(n[o].length>63)return!1;if(t.require_tld){var s=n.pop();if(!n.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(s))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(s))return!1}for(var u,l=0;l<n.length;l++){if(u=n[l],t.allow_underscores&&(u=u.replace(/_/g,"")),!/^[a-z\u00a1-\uffff0-9-]+$/i.test(u))return!1;if(/[\uff01-\uff5e]/.test(u))return!1;if("-"===u[0]||"-"===u[u.length-1])return!1}return!0};var r=o(n(13)),i=o(n(47));function o(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e,t){return e.some((function(e){return t===e}))},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.columnSortReverse=t.sortList=t.compare=void 0;var i=r(n(56)),o=r(n(14)),a=n(20),s=n(44);t.compare=function(e,t,n){var r,o,s,u,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.getComparableValue;if(e=c(null===(r=e)||void 0===r||null===(o=r.attributes)||void 0===o?void 0:o[n],e,l[e.id]),t=c(null===(s=t)||void 0===s||null===(u=s.attributes)||void 0===u?void 0:u[n],t,l[t.id]),!e&&!e==!t||e===t)return 0;if(e&&!t)return 1;if(t&&!e)return-1;if((0,i.default)(e)!==(0,i.default)(t)){if("number"==typeof e)return-1;if("number"==typeof t)return 1}return e>t?1:-1},t.sortList=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return o.default.clone(e).sort((function(e,u){for(var l=function(i){var l=n[i],c=l.column,d=l.asc,f=o.default.findWhere(r,{name:c})||{},h=(0,s.isDateTypeColumn)(f)?function(e,n){var r;return t.columnSortReverse(null==n||null===(r=n.attributes)||void 0===r?void 0:r[f.name+"-ts"])}:f.getComparableValue,p=t.compare(e,u,c,a,h);if(p)return{v:p*(d?1:-1)}},c=0;c<n.length;c++){var d=l(c);if("object"===(0,i.default)(d))return d.v}return 0}))},t.columnSortReverse=function(e){return e?-e:Number.MAX_VALUE}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ShowSelectedFlag=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(27)),p=r(n(12)),m=n(80),v=n(48),g=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleRowClick",(function(t){(!e.flagComment||h.default.findDOMNode(e.flagComment).contains(t.target))&&e.props.flagDescription||!e.trashIcon||h.default.findDOMNode(e.trashIcon).contains(t.target)||e.props.onToggle()})),(0,c.default)((0,a.default)(e),"_getContent",(function(){return f.default.createElement("div",{className:"flag-popover-content"},e.props.flagDescription)})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this;return f.default.createElement("div",{onClick:this._handleRowClick,className:(0,p.default)("show-flag",this.props.className)},f.default.createElement(m.FlagIcon,{color:this.props.flagTypeColor}),f.default.createElement("div",{className:"show-flag-text"},this.props.flagTypeName),this.props.flagDescription&&f.default.createElement(v.Tooltip,{pointTo:"left",arrowDirection:"up",containTo:function(){return h.default.findDOMNode(e)},getContent:this._getContent},f.default.createElement("i",{className:"fa fa-comment tooltip-icon",ref:function(t){return e.flagComment=t}})),this.props.onDelete&&f.default.createElement("i",{className:"fa fa-trash qa-fa-trash delete",ref:function(t){return e.trashIcon=t},onClick:this.props.onDelete}))}}]),n}(f.default.Component);t.ShowSelectedFlag=g,(0,c.default)(g,"displayName","ShowSelectedFlag"),(0,c.default)(g,"propTypes",{onToggle:d.default.func,onDelete:d.default.func,flagTypeName:d.default.string,flagTypeColor:d.default.string,flagDescription:d.default.string,className:d.default.string})},function(e,t,n){var r=n(45);e.exports=function(e,t){return null==e?"":(e=String(e),r(e.charAt(0),t)+e.substr(1))}},function(e,t,n){!function(t){var n,r={},i={16:!1,18:!1,17:!1,91:!1},o="all",a={"\u21e7":16,shift:16,"\u2325":18,alt:18,option:18,"\u2303":17,ctrl:17,control:17,"\u2318":91,command:91},s={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},u=function(e){return s[e]||e.toUpperCase().charCodeAt(0)},l=[];for(n=1;n<20;n++)s["f"+n]=111+n;function c(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function d(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var f={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};function h(e){for(n in i)i[n]=e[f[n]]}function p(e,t,n){var i,o;i=v(e),void 0===n&&(n=t,t="all");for(var a=0;a<i.length;a++)o=[],(e=i[a].split("+")).length>1&&(o=g(e),e=[e[e.length-1]]),(e=u(e=e[0]))in r||(r[e]=[]),r[e].push({shortcut:i[a],scope:t,method:n,key:i[a],mods:o})}for(n in a)p[n]=!1;function m(){return o||"all"}function v(e){var t;return""==(t=(e=e.replace(/\s/g,"")).split(","))[t.length-1]&&(t[t.length-2]+=","),t}function g(e){for(var t=e.slice(0,e.length-1),n=0;n<t.length;n++)t[n]=a[t[n]];return t}function y(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,(function(){n(window.event)}))}y(document,"keydown",(function(e){!function(e){var t,n,o,s,u,d;if(-1==c(l,t=e.keyCode)&&l.push(t),93!=t&&224!=t||(t=91),t in i)for(o in i[t]=!0,a)a[o]==t&&(p[o]=!0);else if(h(e),p.filter.call(this,e)&&t in r)for(d=m(),s=0;s<r[t].length;s++)if((n=r[t][s]).scope==d||"all"==n.scope){for(o in u=n.mods.length>0,i)(!i[o]&&c(n.mods,+o)>-1||i[o]&&-1==c(n.mods,+o))&&(u=!1);(0!=n.mods.length||i[16]||i[18]||i[17]||i[91])&&!u||!1===n.method(e,n)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}(e)})),y(document,"keyup",(function(e){var t,n=e.keyCode,r=c(l,n);if(r>=0&&l.splice(r,1),93!=n&&224!=n||(n=91),n in i)for(t in i[n]=!1,a)a[t]==n&&(p[t]=!1)})),y(window,"focus",(function(){for(n in i)i[n]=!1;for(n in a)p[n]=!1}));var b=t.key;t.key=p,t.key.setScope=function(e){o=e||"all"},t.key.getScope=m,t.key.deleteScope=function(e){var t,n,i;for(t in r)for(n=r[t],i=0;i<n.length;)n[i].scope===e?n.splice(i,1):i++},t.key.filter=function(e){var t=(e.target||e.srcElement).tagName;return!("INPUT"==t||"SELECT"==t||"TEXTAREA"==t)},t.key.isPressed=function(e){return"string"==typeof e&&(e=u(e)),-1!=c(l,e)},t.key.getPressedKeyCodes=function(){return l.slice(0)},t.key.noConflict=function(){var e=t.key;return t.key=b,e},t.key.unbind=function(e,t){var n,i,o,a,s,l=[];for(n=v(e),a=0;a<n.length;a++){if((i=n[a].split("+")).length>1&&(l=g(i),e=i[i.length-1]),e=u(e),void 0===t&&(t=m()),!r[e])return;for(o=0;o<r[e].length;o++)(s=r[e][o]).scope===t&&d(s.mods,l)&&(r[e][o]={})}},e.exports=p}(this)},function(e,t){e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t){var n={SINGLE_CURLY:{regex:/(\{[^}]*\})/,isKey:function(e){return"{"===e[0]&&"}"===e[e.length-1]},getKey:function(e){return e.substring(1,e.length-1)}},DOUBLE_CURLY:{regex:/(\{\{[^}]*\}\})/,isKey:function(e){return"{"===e[0]&&"{"===e[1]&&"}"===e[e.length-2]&&"}"===e[e.length-1]},getKey:function(e){return e.substring(2,e.length-2)}},COLON:{regex:/(:[^ :]*\b)/,isKey:function(e){return":"===e[0]&&" "!==e[1]},getKey:function(e){return e.slice(1)}}};function r(e,t,n){(arguments.length>3||"object"!=typeof n)&&(n=Array.prototype.splice.call(arguments,2));for(var r=t.split(e.regex),i=0;i<r.length;i++)if(e.isKey(r[i])){var o=n[e.getKey(r[i])];void 0!==o&&(r[i]="function"==typeof o?o():o)}return r}function i(e,t){for(var n=[e],i=0;i<t.length;i++)n.push(t[i]);return r.apply(null,n).join("")}var o=function(){return i(n.SINGLE_CURLY,arguments)};o.interpolate=r,o.Matchers=n,o.singleCurly=function(){return i(n.SINGLE_CURLY,arguments)},o.doubleCurly=function(){return i(n.DOUBLE_CURLY,arguments)},o.colon=function(){return i(n.COLON,arguments)},e.exports=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalListener=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(40)),p=r(n(12)),m=function(e){return e[0].toUpperCase()+e.substring(1)},v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_registerListeners",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.props;t.types.split(",").forEach((function(n){return t.listenOn.addEventListener(n.toLowerCase(),e["_handle"+m(n)]||t["on"+m(n)],t.useCapture)}))})),(0,c.default)((0,a.default)(e),"_unregisterListeners",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.props;t.types.split(",").forEach((function(n){return t.listenOn.removeEventListener(n.toLowerCase(),e["_handle"+m(n)]||t["on"+m(n)],t.useCapture)}))})),(0,c.default)((0,a.default)(e),"_handleClick",(function(t){e.props.onClick&&e.props.onClick(t),e.props.onClickOutside&&!e.container.contains(t.target)&&e.props.onClickOutside(t)})),(0,c.default)((0,a.default)(e),"_handleKeydown",(function(t){switch(t.keyCode){case h.default.ESC:e.props.onEsc&&e.props.onEsc(t);break;case h.default.UP:e.props.onArrowUp&&e.props.onArrowUp(t);break;case h.default.DOWN:e.props.onArrowDown&&e.props.onArrowDown(t);break;case h.default.LEFT:e.props.onArrowLeft&&e.props.onArrowLeft(t);break;case h.default.RIGHT:e.props.onArrowRight&&e.props.onArrowRight(t);break;case h.default.ENTER:e.props.onEnter&&e.props.onEnter(t)}e.props.keydownPreventDefault&&e.props.keydownPreventDefault(t)&&t.preventDefault()})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this.props.disabled||this._registerListeners()}},{key:"componentWillUnmount",value:function(){this.props.disabled||this._unregisterListeners()}},{key:"componentDidUpdate",value:function(e){e.listenOn!==this.props.listenOn?(this._unregisterListeners(e),this.props.disabled||this._registerListeners(this.props)):(!e.disabled&&this.props.disabled&&this._unregisterListeners(),e.disabled&&!this.props.disabled&&this._registerListeners())}},{key:"render",value:function(){var e=this;return this.props.children?f.default.createElement(this.props.tag,{ref:function(t){return e.container=t},className:(0,p.default)("global-event-listener",this.props.className)},this.props.children):null}}]),n}(f.default.Component);t.GlobalListener=v,(0,c.default)(v,"propTypes",{disabled:d.default.bool,types:d.default.string,onEsc:d.default.func,onEnter:d.default.func,onArrowUp:d.default.func,onArrowDown:d.default.func,onArrowLeft:d.default.func,onArrowRight:d.default.func,onKeyDown:d.default.func,keydownPreventDefault:d.default.func,onClick:d.default.func,onClickOutside:d.default.func}),(0,c.default)(v,"defaultProps",{types:"keydown,click",tag:"div",useCapture:!1,disabled:!1,listenOn:document})},function(e,t,n){var r,i,o,a,s,u,l;e.exports=(i=(r=l=n(21)).lib,o=i.WordArray,s=[],u=r.algo.SHA1=(a=i.Hasher).extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var c=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=c<<1|c>>>31}var d=(r<<5|r>>>27)+u+s[l];d+=l<20?1518500249+(i&o|~i&a):l<40?1859775393+(i^o^a):l<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,u=a,a=o,o=i<<30|i>>>2,i=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u),l.SHA1)},function(e,t,n){var r,i,o;e.exports=(i=(r=n(21)).lib.Base,o=r.enc.Utf8,void(r.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,u=a.words,l=0;l<n;l++)s[l]^=1549556828,u[l]^=909522486;i.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var i,o,a;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):v(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=v(u,l);for(n=0;n<l;++n)o(c[n],this,t)}return!0},s.prototype.on=s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.prependListener=function(e,t){return d(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,h(this,e,t)),this},s.prototype.off=s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){(t=e.exports=n(276)).Stream=t,t.Readable=t,t.Writable=n(109),t.Duplex=n(52),t.Transform=n(280),t.PassThrough=n(580)},function(e,t,n){var r=n(62),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";(function(t,r,i){var o=n(87);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(void 0),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=y;var s,u=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o.nextTick;y.WritableState=g;var l=Object.create(n(69));l.inherits=n(63);var c,d={deprecate:n(578)},f=n(277),h=n(108).Buffer,p=i.Uint8Array||function(){},m=n(278);function v(){}function g(e,t){s=s||n(52);var r=t instanceof s;this.objectMode=!!(e=e||{}).objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,l=e.writableHighWaterMark;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(A,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),A(e,t))}(e,n,r,t,i);else{var a=E(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(e,n),r?u(_,e,n,a,i):_(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(s=s||n(52),!(c.call(y,this)||this instanceof s))return new y(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),f.call(this)}function b(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function _(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),A(e,t)}function w(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=new Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=n;for(var o=0,s=!0;n;)r[o]=n,n.isBuf||(s=!1),n=n.next,o+=1;r.allBuffers=s,b(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var u=n.chunk;if(b(e,t,!1,t.objectMode?1:u.length,u,n.encoding,n.callback),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function C(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),A(e,t)}))}function A(e,t){var n=E(t);return n&&(function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(C,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(y,f),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:d.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===y&&e&&e._writableState instanceof g}})):c=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(h.isBuffer(r=e)||r instanceof p);return s&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=v),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,n)),t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;if(u||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else b(e,t,!1,s,r,i,o);return u}(this,i,s,e,t,n)),a},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||w(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,A(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(43),n(274).setImmediate,n(23))},function(e,t,n){"use strict";t.userHistory="user-history-",t.STORAGE_KEY="vault cache key"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Typeahead",{enumerable:!0,get:function(){return r.TypeaheadStateless}});var r=n(282),i=n(587);r.TypeaheadStateless.Stateful=i.TypeaheadStateful},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShowPassword",{enumerable:!0,get:function(){return r.ShowPassword}}),Object.defineProperty(t,"EnterPassword",{enumerable:!0,get:function(){return i.EnterPassword}}),Object.defineProperty(t,"ShowTOTP",{enumerable:!0,get:function(){return o.ShowTOTP}}),Object.defineProperty(t,"withGetPasswordValueAndOTP",{enumerable:!0,get:function(){return a.withGetPasswordValueAndOTP}});var r=n(285),i=n(286),o=n(593),a=n(597)},function(e,t,n){var r=n(598),i=n(599),o=n(600);e.exports=function(e,t){return r(e)||i(e,t)||o()}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.PropsToUrlWatcher=void 0;var i=r(n(113)),o=r(n(56)),a=r(n(3)),s=r(n(4)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(14));function m(e){return/^base64/.test(e)?atob(e.substring(7)):e}function v(e){return/[&,\[\]]|^base64:/.test(e)?"base64:"+btoa(e):e}var g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){return(0,a.default)(this,n),t.apply(this,arguments)}return(0,s.default)(n,[{key:"shouldComponentUpdate",value:function(){return!1}},{key:"UNSAFE_componentWillMount",value:function(){this._replaceUrl=p.default.throttle(this._replaceUrl,this.props.throttle)}},{key:"componentDidMount",value:function(){this._parseHash()}},{key:"_parseHash",value:function(){this.keys=n.parseHash(),this.props.onSet(["query"],this.keys)}},{key:"_serialize",value:function(){return encodeURI(Object.keys(this.keys).map((function(e){return"".concat(e,"=").concat(this.keys[e])}).bind(this)).join("&"))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t;if(!p.default.isEqual(this.props.watch,e.watch)||e.ignoreFalse!==this.props.ignoreFalse){for(var n in e.watch)switch((0,o.default)(t=e.watch[n])){case"object":if(p.default.isNull(t)){delete this.keys[n];continue}if(p.default.isArray(t)&&!t.reduce((function(e,t){return"object"===(0,o.default)(t)&&null!==t}),!1)){this.keys[n]="["+t.map(v).join(",")+"]";break}this.keys[n]=btoa(JSON.stringify(t));break;case"undefined":delete this.keys[n];break;case"boolean":!t&&e.ignoreFalse||(this.keys[n]=t);break;default:this.keys[n]=v(t.toString())}this._replaceUrl(document.location.pathname+(this.props.q?"?":"#")+this._serialize(),e.watch)}}},{key:"_replaceUrl",value:function(e,t){this.props.replaceUrl(e),this.props.onReplaceUrl&&this.props.onReplaceUrl(t)}},{key:"render",value:function(){return h.default.createElement("div",{style:{display:"none"}})}}]),n}(h.default.Component);t.PropsToUrlWatcher=g,(0,d.default)(g,"propTypes",{onReplaceUrl:f.default.func,q:f.default.bool,watch:f.default.object.isRequired,replaceUrl:f.default.func,throttle:f.default.number}),(0,d.default)(g,"defaultProps",{throttle:0,replaceUrl:function(e){return history.replaceState({},null,e)}}),g.parseHash=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hash,t=e.indexOf("#"),n={};return unescape(e).substr(t+1).split("&").forEach((function(e){if(e){var t=e.split(/=(.+)/),r=(0,i.default)(t,2),o=r[0],a=r[1];a&&(a="["===a[0]?"]"===a[1]?[]:a.substr(1).slice(0,-1).split(",").map(m):m(a),n[o]=a)}})),n},g.getNum=function(e,t){return parseFloat(e.query[t])},g.getArray=function(e,t){var n=e.query[t];return n?n.split(","):[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Column",{enumerable:!0,get:function(){return r.Column}}),Object.defineProperty(t,"Notes",{enumerable:!0,get:function(){return i.Notes}}),Object.defineProperty(t,"URLRow",{enumerable:!0,get:function(){return o.URLRow}}),Object.defineProperty(t,"EmbeddedAsset",{enumerable:!0,get:function(){return a.EmbeddedAsset}});var r=n(70),i=n(88),o=n(603),a=n(604)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceLink=a;var i=r(n(1)),o=r(n(2));function a(e){var t,n,r=e.resource,o=null==r||null===(t=r.attributes)||void 0===t?void 0:t["resource-url"],a=null==r||null===(n=r.attributes)||void 0===n?void 0:n.name;return o&&a?i.default.createElement("a",{href:o,target:e.newTab&&"_blank"},a):a?i.default.createElement("span",null,a):null}a.displayName="ResourceLink",a.propTypes={resource:o.default.basicApiResource}},function(e,t,n){"use strict";var r={PDF:"PDF",WORD:"Word",TEXT:"Text",IMAGE:"Image",EXCEL:"Excel",POWERPOINT:"PowerPoint",VISIO:"Visio",SHELL:"Shell",POWERSHELL:"Powershell",MISC:"Misc"};t.getFileType=function(e,t){return function(e){return e?e.match("pdf")?r.PDF:e.match("application/msword")||e.match("application/vnd.openxmlformats-officedocument.wordprocessingml.document")?r.WORD:e.match("text/plain")?r.TEXT:e.match("image")?r.IMAGE:e.match("application/vnd.ms-excel")||e.match("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")?r.EXCEL:e.match("application/vnd.ms-powerpoint")||e.match("application/vnd.openxmlformats-officedocument.presentationml.presentation")?r.POWERPOINT:e.match("application/vnd.visio")?r.VISIO:e.match("application/x-sh")||e.match("text/x-sh")?r.SHELL:void 0:null}(e)||function(e){var t=(e||"").match(/\.[^.]*$/);switch(t&&t[0].substring(1).toLowerCase()){case"pdf":return r.PDF;case"docx":case"doc":return r.WORD;case"txt":case"text":return r.TEXT;case"jpg":case"jpeg":case"bmp":case"png":case"gif":case"tiff":return r.IMAGE;case"xls":case"xlsx":return r.EXCEL;case"ppt":case"pptx":return r.POWERPOINT;case"vdx":case"vsdx":case"vsd":return r.VISIO;case"sh":return r.SHELL;case"ps1":return r.POWERSHELL}}(t)||r.MISC},t.getFileIcon=function(e,n){if(!e)return"fa-file-text-o";switch(t.getFileType(e,n)){case r.PDF:return"fa-file-pdf-o";case r.WORD:return"fa-file-word-o";case r.TEXT:return"file-icon-txt";case r.IMAGE:return"fa-file-image-o";case r.EXCEL:return"fa-file-excel-o";case r.POWERPOINT:return"fa-file-powerpoint-o";case r.VISIO:return"file-icon-visio";case r.SHELL:return"file-icon-sh";case r.POWERSHELL:return"file-icon-ps1"}return"fa-file-o"},t.Types=r},function(e,t,n){"use strict";t.Scopes={ORGANIZATION:"organization",GLOBAL:"global",GLUE_CONNECT:"glue_connect"}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CreateVaultPassword=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(1)),p=r(n(2)),m=n(73),v=n(302),g=n(14),y=n(120),b=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"displayName","CreateVaultPassword"),(0,f.default)((0,u.default)(e),"submit",(0,o.default)(i.default.mark((function t(){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",null===(n=e.form)||void 0===n?void 0:n.submit());case 1:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"_create",function(){var t=(0,o.default)(i.default.mark((function t(n){var r,o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.vaultBrowserSupport.check()){t.next=2;break}return t.abrupt("return");case 2:return e.props.onCreateStart(),t.next=5,m.VaultService.createUserKeySet(n,e.props.isOwner);case 5:return o=t.sent,t.next=8,e.props.createVaultPassword(o,null===(r=e.props.vault)||void 0===r?void 0:r.id);case 8:return(a=t.sent).error?e.props.onError(a.error):e.props.onSuccessCreateVaultPassword(),e.props.onCreateEnd(),t.abrupt("return",a);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return(0,s.default)(n,[{key:"render",value:function(){var e=this;return h.default.createElement("div",{className:"create-vault-password-form"},h.default.createElement(v.VaultPasswordEditForm,{ref:function(t){return e.form=t},hideButtons:this.props.hideButtons,onSave:this._create}),h.default.createElement(y.VaultBrowserSupport,{ref:function(t){return e.vaultBrowserSupport=t},onCancel:this.props.onCancel}))}}]),n}(h.default.Component);t.CreateVaultPassword=b,(0,f.default)(b,"propTypes",{createVaultPassword:p.default.func.isRequired,vault:p.default.basicApiResource,isOwner:p.default.bool.isRequired,onSuccessCreateVaultPassword:p.default.func,onError:p.default.func,showInPreview:p.default.bool}),(0,f.default)(b,"defaultProps",{onSuccessCreateVaultPassword:g.noop,onCreateStart:g.noop,onCreateEnd:g.noop,onError:g.noop})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.VaultBrowserSupport=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(11)),m=n(73),v=n(304),g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"check",(function(){return!!(0,m.isSupported)()||(e._showUnsupportedMessage(),!1)})),(0,d.default)((0,s.default)(e),"_showUnsupportedMessage",(function(){return e.confirmMessage.show({title:p.default.title("vault.not-supported"),body:(0,p.default)("vault.not-supported-details")})})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this;return h.default.createElement(v.ConfirmMessage,(0,i.default)({ref:function(t){return e.confirmMessage=t}},this.props))}}]),n}(h.default.Component);t.VaultBrowserSupport=g,(0,d.default)(g,"displayName","VaultBrowserSupport"),(0,d.default)(g,"propTypes",{onCancel:f.default.func,showInPreview:f.default.bool}),(0,d.default)(g,"defaultProps",{onCancel:function(){}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AssociatedTickets=void 0;var i=r(n(2)),o=r(n(1)),a=r(n(11)),s=n(25),u=function(e){var t=e.asset,n=e.mainUrl,r=e.parentAssetUrl;return(null==t?void 0:t.items)&&0!==t.items.length?o.default.createElement("div",{className:"preview__related-tickets"},o.default.createElement("span",null,(0,a.default)("tickets.recent-tickets")),o.default.createElement(l,{items:t.items,maxCount:5,mainUrl:n}),o.default.createElement(d,{url:r,totalItemCount:t.totalItems,max:5})):null};t.AssociatedTickets=u;var l=function(e){var t,n=e.items,r=e.mainUrl;return"psa-tickets"===(n=n.slice(0,e.maxCount))[0].type&&(t=n.map((function(e,t){var n=(0,s.addMainUrlToPath)("/".concat(e.attributes["organization-id"],"/tickets/").concat(e.id),r);return o.default.createElement(c,{key:t,name:"#".concat(e.attributes.psa.ticketNumber),value:e.attributes.psa.title,url:n})}))),o.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},t)},c=function(e){return e.value?o.default.createElement("div",{className:"dl-inner-container"},o.default.createElement("dt",null,e.name),e.url?o.default.createElement("dd",{className:"associated-item__link-ellipsis"},o.default.createElement("a",{target:"_blank",href:e.url},e.value)):o.default.createElement("dd",null,e.value)):null},d=function(e){var t=e.url;return!t||e.totalItemCount<=e.max?null:o.default.createElement("a",{className:"see-more-link",target:"_blank",href:t},(0,a.default)("see-more"))};u.propTypes={mainUrl:i.default.string,parentAssetUrl:i.default.string,asset:i.default.shape({type:i.default.string,items:i.default.basicApiResources})}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TextSection=void 0;var i=r(n(1)),o=r(n(663));t.TextSection=function(e){return i.default.createElement("div",{className:"text-section margin-large-vertical"},i.default.createElement("div",{dangerouslySetInnerHTML:{__html:(0,o.default)(e.content||"")}}))}},function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n(315),i=n(91),o=(0,r.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,i.inherits)(o,(0,r.createTokenClass)(),t)}o.prototype={toString:function(){return this.v+""}};var s=a(),u=a("@"),l=a(":"),c=a("."),d=a(),f=a(),h=a("\n"),p=a(),m=a("+"),v=a("#"),g=a(),y=a("mailto:"),b=a("?"),_=a("/"),w=a("_"),E=a(),C=a(),A=a(),k=a("{"),S=a("["),x=a("<"),D=a("("),O=a("}"),T=a("]"),F=a(">"),M=a(")"),P=a("&");t.Base=o,t.DOMAIN=s,t.AT=u,t.COLON=l,t.DOT=c,t.PUNCTUATION=d,t.LOCALHOST=f,t.NL=h,t.NUM=p,t.PLUS=m,t.POUND=v,t.QUERY=b,t.PROTOCOL=g,t.MAILTO=y,t.SLASH=_,t.UNDERSCORE=w,t.SYM=E,t.TLD=C,t.WS=A,t.OPENBRACE=k,t.OPENBRACKET=S,t.OPENANGLEBRACKET=x,t.OPENPAREN=D,t.CLOSEBRACE=O,t.CLOSEBRACKET=T,t.CLOSEANGLEBRACKET=F,t.CLOSEPAREN=M,t.AMPERSAND=P},function(e,t,n){"use strict";var r=n(678);e.exports=function(e){var t,n={};for(t in e instanceof Object&&!Array.isArray(e)||r(!1),e)e.hasOwnProperty(t)&&(n[t]=t);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_HORIZ_SCROLL_COL_WIDTH=t.DEFAULT_COL_MIN_WIDTH=void 0,t.DEFAULT_COL_MIN_WIDTH=100,t.DEFAULT_HORIZ_SCROLL_COL_WIDTH=200},function(e,t,n){"use strict";t.Resources=Object.freeze({CONFIGURATIONS:"configurations",CONFIGURATION_OVERLAY_DATA:"overlay_data",NETWORK_CONNECTIONS:"connections",NETWORK_DEVICES:"network_devices",NETWORKS:"networks",ORGANIZATIONS:"organizations",SNAPSHOTS:"snapshots",VAULTS:"vaults",VAULT_USER_KEY_SETS:"vault_user_key_sets",VAULT_ACCESS_KEYS:"vault_access_keys"})},function(e,t,n){"use strict";(function(e){var r=n(34).triggerEvent;t.setActionCreator=function(e){return function(t,n,r){return 2===arguments.length&&(r=arguments[1],n=null),{type:e,path:t,value:r,dirty:n}}},t.unsetActionCreator=function(e){return function(t,n){return{type:e,path:t,dirty:n}}},t.decrementActionCreator=function(e){return function(t,n){return{type:e,path:t,dirty:n}}},t.incrementActionCreator=function(e){return function(t,n){return{type:e,path:t,dirty:n}}},t.appendActionCreator=function(e){return function(t,n){return{type:e,path:t,value:n}}},t.toggleActionCreator=function(e){return function(t,n){return{type:e,path:t,dirty:n}}},t.setValidationError=function(e,t){return function(n,r){return r?e(["validationErrors",n],r):t(["validationErrors",n])}},t.setError=function(e,t){return function(n){return n?e(["error"],n):t(["error"])}},t.pushUrl=function(t){return function(){e.history.pushState(null,null,t),r(window,"pushstate",{url:t})}}}).call(this,n(23))},function(e,t,n){"use strict";var r=n(334),i=n.n(r)()((function(e){return e[1]}));i.push([e.i,".Context-Menu{position:fixed;top:0px;left:0px;background-color:white;z-index:1;box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);border-radius:4px;width:165px}.Context-Menu .Context-Menu-Item{cursor:pointer;height:39px;line-height:39px;padding:0 16px;text-align:left;color:#3e3e3e}.Context-Menu .Context-Menu-Item:hover{background-color:lightgrey}\n",""]),t.a=i},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredLabel=void 0;var i=r(n(2)),o=r(n(1)),a=function(e){return e.value?o.default.createElement("div",null,o.default.createElement("span",null,e.value),e.isRequired&&o.default.createElement("span",{className:"required-mark"},"*")):null};t.RequiredLabel=a,a.propTypes={value:i.default.oneOfType([i.default.string,i.default.element]),isRequired:i.default.bool}},function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},o=function(e){return function(t,n,o,a){var s=r(t),u=i[e][r(t)];return 2===s&&(u=u[n?0:1]),u.replace(/%d/i,t)}},a=["\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u064a\u0646\u0627\u064a\u0631","\u0634\u0628\u0627\u0637 \u0641\u0628\u0631\u0627\u064a\u0631","\u0622\u0630\u0627\u0631 \u0645\u0627\u0631\u0633","\u0646\u064a\u0633\u0627\u0646 \u0623\u0628\u0631\u064a\u0644","\u0623\u064a\u0627\u0631 \u0645\u0627\u064a\u0648","\u062d\u0632\u064a\u0631\u0627\u0646 \u064a\u0648\u0646\u064a\u0648","\u062a\u0645\u0648\u0632 \u064a\u0648\u0644\u064a\u0648","\u0622\u0628 \u0623\u063a\u0633\u0637\u0633","\u0623\u064a\u0644\u0648\u0644 \u0633\u0628\u062a\u0645\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u0623\u0648\u0644 \u0623\u0643\u062a\u0648\u0628\u0631","\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a \u0646\u0648\u0641\u0645\u0628\u0631","\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644 \u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(t,i,o,a){var s=n(t),u=r[e][n(t)];return 2===s&&(u=u[i?0:1]),u.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniyy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},ordinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(r=+e,i={mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},ordinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},ordinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},ordinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function r(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?o+(r(e)?"minuty":"minut"):o+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hodin"):o+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?o+(r(e)?"dny":"dn\xed"):o+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?o+(r(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):o+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?o+(r(e)?"roky":"let"):o+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(t,n),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(n),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(t),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},ordinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I g\xe5r kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},ordinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"Diman\u0109o_Lundo_Mardo_Merkredo_\u0134a\u016ddo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_\u0134a\u016d_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_\u0134a_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"anta\u016d %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f\u06cc\u0646 \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},ordinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,o){var a="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=o?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(r||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" h\xf3nap":" h\xf3napja");case"MM":return i+(r||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(r||t?" \xe9v":" \xe9ve");case"yy":return i+(r||t?" \xe9v":" \xe9ve")}return""}function r(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},ordinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?o+(n||i?"m\xedn\xfatur":"m\xedn\xfatum"):n?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"d\xf6gum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?o+"m\xe1nu\xf0ir":o+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?o+"m\xe1nu\xf0ur":o+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||i?"\xe1r":"\xe1ri";case"yy":return t(e)?o+(n||i?"\xe1r":"\xe1rum"):o+(n||i?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Luned\xec_Marted\xec_Mercoled\xec_Gioved\xec_Venerd\xec_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"Ah\u6642m\u5206",LTS:"Ah\u6642m\u5206s\u79d2",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u6642m\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5Ah\u6642m\u5206 dddd"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:"[\u6765\u9031]dddd LT",lastDay:"[\u6628\u65e5] LT",lastWeek:"[\u524d\u9031]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(e)?e.replace(/\u10d8$/,"\u10e8\u10d8"):e+"\u10e8\u10d8"},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},ordinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},ordinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysMin:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h\uc2dc m\ubd84",LTS:"A h\uc2dc m\ubd84 s\ucd08",L:"YYYY.MM.DD",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h\uc2dc m\ubd84",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h\uc2dc m\ubd84"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"\uc77c\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},ordinalParse:/\d{1,2}\uc77c/,ordinal:"%d\uc77c",meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},ordinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},ordinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,r){return t?"kelios sekund\u0117s":r?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},ordinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},ordinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t?e>=10?e:e+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u094d\u0930\u0940":e<10?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var i=e+" ";switch(n){case"m":return t?"minuta":"minut\u0119";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return i+(r(e)?"godziny":"godzin");case"MM":return i+(r(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return""===r?"("+n[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(r)?n[e.month()]:t[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:i,mm:i,h:i,hh:i,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:i,y:"rok",yy:i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Ter\xe7a-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Dom_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1b".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Mar\xe7o_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Dom_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1b".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atr\xe1s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(r=+e,i={mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},ordinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},ordinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"m":return t?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return t||i?o+(r(e)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return t||i?"de\u0148":"d\u0148om";case"dd":return t||i?o+(r(e)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami");case"d":return t||r?"en dan":"enim dnem";case"dd":return i+(1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi");case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci");case"y":return t||r?"eno leto":"enim letom";case"yy":return i+(1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={words:{m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"e":1===t||2===t?"a":"e")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},ordinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},ordinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}(e);switch(r){case"mm":return o+" tup";case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinalParse:/\d{1,2}'(inci|nci|\xfcnc\xfc|nc\u0131|uncu|\u0131nc\u0131)/,ordinal:function(e){if(0===e)return e+"'\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n(9))},function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(r=+e,i={mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){return{nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")}[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},ordinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},ordinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"Ah\u70b9mm\u5206",LTS:"Ah\u70b9m\u5206s\u79d2",L:"YYYY-MM-DD",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74MMMD\u65e5ddddAh\u70b9mm\u5206",l:"YYYY-MM-DD",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5Ah\u70b9mm\u5206",llll:"YYYY\u5e74MMMD\u65e5ddddAh\u70b9mm\u5206"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:function(){return 0===this.minutes()?"[\u4eca\u5929]Ah[\u70b9\u6574]":"[\u4eca\u5929]LT"},nextDay:function(){return 0===this.minutes()?"[\u660e\u5929]Ah[\u70b9\u6574]":"[\u660e\u5929]LT"},lastDay:function(){return 0===this.minutes()?"[\u6628\u5929]Ah[\u70b9\u6574]":"[\u6628\u5929]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[\u4e0b]":"[\u672c]",0===this.minutes()?n+"dddAh\u70b9\u6574":n+"dddAh\u70b9mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()<t.unix()?"[\u4e0a]":"[\u672c]",0===this.minutes()?n+"dddAh\u70b9\u6574":n+"dddAh\u70b9mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"Ah\u9edemm\u5206",LTS:"Ah\u9edem\u5206s\u79d2",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5Ah\u9edemm\u5206",LLLL:"YYYY\u5e74MMMD\u65e5ddddAh\u9edemm\u5206",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5Ah\u9edemm\u5206",llll:"YYYY\u5e74MMMD\u65e5ddddAh\u9edemm\u5206"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n(9))},function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"Ah\u9edemm\u5206",LTS:"Ah\u9edem\u5206s\u79d2",L:"YYYY\u5e74MMMD\u65e5",LL:"YYYY\u5e74MMMD\u65e5",LLL:"YYYY\u5e74MMMD\u65e5Ah\u9edemm\u5206",LLLL:"YYYY\u5e74MMMD\u65e5ddddAh\u9edemm\u5206",l:"YYYY\u5e74MMMD\u65e5",ll:"YYYY\u5e74MMMD\u65e5",lll:"YYYY\u5e74MMMD\u65e5Ah\u9edemm\u5206",llll:"YYYY\u5e74MMMD\u65e5ddddAh\u9edemm\u5206"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n(9))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=je(n(94)),o=je(n(239)),a=je(n(350)),s=je(n(351)),u=je(n(352)),l=je(n(353)),c=je(n(354)),d=je(n(355)),f=je(n(356)),h=je(n(357)),p=je(n(79)),m=je(n(358)),v=je(n(95)),g=je(n(359)),y=je(n(360)),b=Be(n(361)),_=Be(n(362)),w=je(n(363)),E=je(n(364)),C=je(n(365)),A=je(n(366)),k=je(n(367)),S=je(n(368)),x=je(n(244)),D=je(n(245)),O=je(n(369)),T=je(n(370)),F=je(n(371)),M=je(n(373)),P=je(n(243)),L=Be(n(240)),R=je(n(374)),B=je(n(246)),j=je(n(375)),I=je(n(376)),N=je(n(377)),H=je(n(378)),z=je(n(379)),Y=je(n(380)),U=je(n(381)),V=je(n(382)),$=je(n(383)),W=je(n(384)),G=je(n(385)),q=je(n(386)),K=je(n(387)),X=je(n(388)),Z=je(n(242)),J=je(n(389)),Q=je(n(390)),ee=je(n(391)),te=je(n(392)),ne=je(n(393)),re=je(n(394)),ie=je(n(395)),oe=je(n(396)),ae=je(n(397)),se=je(n(398)),ue=je(n(399)),le=Be(n(400)),ce=je(n(401)),de=je(n(402)),fe=je(n(403)),he=je(n(404)),pe=je(n(405)),me=je(n(406)),ve=je(n(407)),ge=je(n(408)),ye=je(n(409)),be=je(n(410)),_e=je(n(411)),we=je(n(412)),Ee=je(n(413)),Ce=Be(n(414)),Ae=je(n(247)),ke=je(n(248)),Se=je(n(415)),xe=je(n(416)),De=je(n(417)),Oe=je(n(418)),Te=je(n(419)),Fe=je(n(249)),Me=je(n(420)),Pe=je(n(421)),Le=je(n(422));function Re(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Re=function(){return e},e}function Be(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=Re();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}function je(e){return e&&e.__esModule?e:{default:e}}var Ie={version:"13.0.0",toDate:i.default,toFloat:o.default,toInt:a.default,toBoolean:s.default,equals:u.default,contains:l.default,matches:c.default,isEmail:d.default,isURL:f.default,isMACAddress:h.default,isIP:p.default,isIPRange:m.default,isFQDN:v.default,isBoolean:g.default,isIBAN:U.default,isBIC:V.default,isAlpha:b.default,isAlphaLocales:b.locales,isAlphanumeric:_.default,isAlphanumericLocales:_.locales,isNumeric:w.default,isPassportNumber:E.default,isPort:C.default,isLowercase:A.default,isUppercase:k.default,isAscii:S.default,isFullWidth:x.default,isHalfWidth:D.default,isVariableWidth:O.default,isMultibyte:T.default,isSemVer:F.default,isSurrogatePair:M.default,isInt:P.default,isFloat:L.default,isFloatLocales:L.locales,isDecimal:R.default,isHexadecimal:B.default,isOctal:j.default,isDivisibleBy:I.default,isHexColor:N.default,isRgbColor:H.default,isHSL:z.default,isISRC:Y.default,isMD5:$.default,isHash:W.default,isJWT:G.default,isJSON:q.default,isEmpty:K.default,isLength:X.default,isLocale:y.default,isByteLength:Z.default,isUUID:J.default,isMongoId:Q.default,isAfter:ee.default,isBefore:te.default,isIn:ne.default,isCreditCard:re.default,isIdentityCard:ie.default,isEAN:oe.default,isISIN:ae.default,isISBN:se.default,isISSN:ue.default,isMobilePhone:le.default,isMobilePhoneLocales:le.locales,isPostalCode:Ce.default,isPostalCodeLocales:Ce.locales,isEthereumAddress:ce.default,isCurrency:de.default,isBtcAddress:fe.default,isISO8601:he.default,isRFC3339:pe.default,isISO31661Alpha2:me.default,isISO31661Alpha3:ve.default,isBase32:ge.default,isBase64:ye.default,isDataURI:be.default,isMagnetURI:_e.default,isMimeType:we.default,isLatLong:Ee.default,ltrim:Ae.default,rtrim:ke.default,trim:Se.default,escape:xe.default,unescape:De.default,stripLow:Oe.default,whitelist:Te.default,blacklist:Fe.default,isWhitelisted:Me.default,normalizeEmail:Pe.default,toString:toString,isSlug:Le.default};t.default=Ie,e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)?parseFloat(e):NaN};var r,i=(r=n(240))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e),t=t||{};var n=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?o.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var r=parseFloat(e.replace(",","."));return n.test(e)&&(!t.hasOwnProperty("min")||r>=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||r<t.lt)&&(!t.hasOwnProperty("gt")||r>t.gt)},t.locales=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=n(78),a=Object.keys(o.decimal);t.locales=a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"===r(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e=""),String(e)},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,i.default)(e),"object"===o(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===r||a<=r)};var r,i=(r=n(13))&&r.__esModule?r:{default:r};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var n=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?o:a,r=!t.hasOwnProperty("min")||e>=t.min,s=!t.hasOwnProperty("max")||e<=t.max,u=!t.hasOwnProperty("lt")||e<t.lt,l=!t.hasOwnProperty("gt")||e>t.gt;return n.test(e)&&r&&s&&u&&l};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)},t.fullWidth=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)},t.halfWidth=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var n=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(n,"")};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var n=t?new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"):/\s+$/g;return e.replace(n,"")};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";var r=n(14);e.exports=function(e,t){if(!t||!e)return null;if(0===t.length)return e;for(var n=0;t&&e&&n<t.length-1;n+=1)if(!(e=e[t[n]]))return null;var i=t[t.length-1];return r.isObject(e)&&i in e?e[i]:null}},function(e,t,n){"use strict";e.exports={lng:"en",joinArrays:"\n",resources:{en:{translation:{components:{ItemSearchList:{placeholder:"Search"}},account:n(427),"account-settings":n(428),"asset-flags":n(429),"asset-types":n(430),bext:n(431),"bulk-security":n(432),checklists:n(433),configurations:n(434),contacts:n(435),"comp-scheduler":n(436),"doc-editor":n(437),dropzone:n(438),"glue-x":n(439),"it-complete":n(440),locations:n(441),mobile:n(442),"network-glue":n(443),notifications:n(444),organizations:n(445),passwords:n(446),previews:n(447),promos:n(448),runbooks:n(449),"self-signup":n(450),sidebar:n(451),tables:n(452),tickets:n(453),"ticket-rules":n(454),sync:n(455),vault:n(456),region:{europe:"Europe","north-america":"North America"},"unit-tests":{"starts-with-cap":"I am a string for testing...","all-lower":"i am a string","all-numbers":"234 2342 2342"},"doc-list-app":{"move-docs-title":"Move Items","copy-docs-title":"Copy Items","select-diff-org":"Select a different organization"},"document-titles":{"account-settings":"Account Settings","asset-flag-types":"Flag Types","new-flag-type":"New Flag Type","edit-flag-type":"Edit Flag Type",checklists:"Checklists",configurations:"Configurations",contacts:"Contacts",documents:"Documents",domains:"Domains",locations:"Locations","my-tasks":"My Tasks",notifications:"Workflows",organizations:"Organizations",passwords:"Passwords",sslcerts:"SSL Certificates",runbooks:"Runbooks",checklist_templates:"Checklist Templates","edit-passwords":"Edit Password","create-password":"Create Password",tickets:"Tickets"},"keyboard-hints":{cancel:"cancel",navigate:"navigate",select:"select"},"quick-search":{alt:"alt",option:"option",shortcuts:"Shortcuts",search:"Search ...",title:"Search","search-context":"Search {{context}}","search-context-in-org":"Search {{context}} in {{orgName}}","search-in-org":"Search in {{orgName}}","search-in-organization":"Search within Organization","next-search-scope":"Next Asset Type","prev-search-scope":"Previous Asset Type","open-in-new-tab":"Open New Tab","toggle-global-scope":"Global Search Toggle","global-search":"Global Search","glue-connect-search":"GlueConnect Search","org-or-global-search":"Organization or Global Search","suggested-items":"Suggested items"},statuses:{cancelled:"Cancelled",complete:"Complete",completed_with_failures:"Partial",created:"Created",failed:"Failed","in-progress":"In Progress",pending:"Pending",xOutOfYFailed:"{{x}}/{{y}} Failed",xPercentComplete:"{{x}}% Complete"},action:"action","ad-domain":"active directory domain",adapters:{"kaseya-bms":"BMS","pulseway-psa":"Pulseway",vorex:"Vorex"},"add-all":"Add All","add-description":"Add Description","add-flag":"Add Flag","add-folder":"add new folder","add-password":"add password","add-resource":"add {{resource}}","add-subdoc":"add sub-doc","all-items":"all items","apps-and-services":"apps & services",archive:"archive",archived:"archived",asset:"Asset",asset_plural:"assets","asset-tag":"asset tag","asset-type":"Asset Type",assignee:"assignee",attachment:"attachment",attachments:"attachments",automatic:"automatic",cancel:"cancel",category:"Category",checklist:"checklist",checklist_plural:"checklists","choose-resource":"Choose {{resource}}","clear-all":"Clear all","click-to-edit":"Click to edit",configuration:"configuration",configuration_plural:"configurations","configuration-interfaces":"configuration interfaces",confirm:"Confirm",contact:"contact",contact_plural:"contacts",continue:"continue","copied-to-clipboard":"Copied!","copy-to-clipboard":"Copy to clipboard","copy-to-clipboard-failed":"Copy to clipboard failed, please try again","copy-to-clipboard-unsupported":"Copy to clipboard unavailable. Please try again in Chrome.","copy-to-clipboard-unsupported-otp":"Please click Show button first.","core-assets":"core assets","count-items":"{{count}} {{items}}",cpu:"CPU",create:"Create",created:"created","created-by":"created by","current-organization":"Current Organization","current-organization-colon":"Current Organization:","custom-dns-entries":"Custom DNS Entries","date-added":"Date added",days:"days","default-gateway":"default gateway",delete:"delete",description:"Description","device-contact":"device contact","device-description":"device description","device-type":"device type",disks:"disks",document:"document","document-has-no-content":"This document has no content or has not been published yet.","document-title":"{{title}} \u2014 {{app}}",document_plural:"documents",domain:"domain",domain_plural:"domains",domains:"domain tracker","dont-warn-again":"Don't warn again",download:"download",draft:"draft",duration:"duration",edit:"edit","edit-asset":"edit {{resourceType}}","create-asset":"create {{resourceType}}","edit-with-v1":"Edit in classic mode",email:"email","embedded-password":"Embedded Password","embedded-passwords":"Embedded Passwords","embedded-passwords-permission-cannot-be-changed":"Permissions cannot be changed for Embedded Passwords.","embedded-passwords-permission-can-only-changed-from-parent":"To change the permissions for this Password, you must do so through its parent record.","error-saving-failed":"An error occurred while saving",example:"example",expiration:"expiration","expired-on":"{{name}} expired on {{dateAt}}",expires:"expires","expires-in":"Expires in {{ttl}}","export-all-columns":"Export all columns","export-visible-columns":"Export visible columns","file-upload":"file upload",filter:"filter","filter-no-matching-results":"No matching results.","filter-placeholder":"Filter columns or Search keywords...","filter-with-ellipsis":"Filter...",filtering:"filtering",filters:"filters",finish:"finish",folder:"folder",generate:"Generate",global:"global",hostname:"hostname",icon:"icon",icon_plural:"icons",info:"info",image:"image","include-archive":"Include archive",insert:"Insert {{item}}",installed:"installed","installed-by":"installed by","ip-address":"IP Address","issued-by":"issued by","it-glue":"IT Glue",item:"item","item-added":"Item Added",item_plural:"items",key:"key","last-login-by":"last login by","last-login-user":"last login user","last-published":"published: ","last-reboot":"last reboot","last-saved":"last saved: ","last-seen-online":"last seen online","last-updated":"last updated","learn-more":"Learn more","see-more":"See more","live-version":"Published version","load-newer":"load newer",loading:"Loading...",location:"location",location_plural:"locations","mac-address":"MAC Address","physical-position":"physical position","primary-mac-address":"Primary MAC Address",manual:"manual",manufacturer:"manufacturer","manufacturer-name":"manufacturer name",memory:"memory",minute:"{{count}} minute",minute_plural:"{{count}} minutes",model:"model","more-details":"more details","bulk-confirm-dialog":{"archive-that":"Archive {{that}}","archive-that_plural":"Archive {{that}}s","cannot-archive":"{{item}} is already archived.","cannot-archive_plural":"{{item}}s are already archived.","cannot-delete-primary-org":"You cannot delete a primary Organization.","cannot-delete-folder":"Folder cannot be deleted because it has dependent folders or {{resourcePlural}}. You must delete everything inside the folder first.","cannot-delete-folder_plural":"Folders could not be deleted because they have dependent folders or {{resourcePlural}}. You must delete everything inside the folders first.","cannot-delete-embedded-passwords":"Embedded Password cannot be deleted","cannot-delete-embedded-passwords_plural":"Embedded Passwords cannot be deleted","cannot-delete-itglue-assets":"As a MyGlue user, you cannot delete a {{type}} that belongs to an IT Glue account.","cannot-delete-itglue-assets_plural":"As a MyGlue user, you cannot delete {{type}}s that belong to an IT Glue account.","cannot-delete-myglue-assets":"As an IT Glue user, you cannot delete a {{type}} that belongs to a MyGlue account.","cannot-delete-myglue-assets_plural":"As an IT Glue user, you cannot delete {{type}}s that belong to a MyGlue account.","cannot-delete-synced-assets":"{{type}} which is synced with your PSA or RMM cannot be deleted.","cannot-delete-synced-assets_plural":"{{type}}s that are synced with your PSA or RMM cannot be deleted.","cannot-move-embedded-passwords":"Embedded Password cannot be moved to a different organization.","cannot-move-embedded-passwords_plural":"Embedded Passwords cannot be moved to a different organization.","cannot-move-folder":"Folder (along with {{resourcePlural}} within) cannot be moved to a different organization.","cannot-move-folder_plural":"Folders (along with {{resourcePlural}} within) cannot be moved to a different organization.","cannot-move-itglue-assets":"As a MyGlue user, you cannot move a {{type}} that belongs to an IT Glue account to a different organization.","cannot-move-itglue-assets_plural":"As a MyGlue user, you cannot move {{type}}s that belong to an IT Glue account to a different organization.","cannot-move-myglue-assets":"As an IT Glue user, you cannot move a {{type}} that belongs to a MyGlue account to a different organization.","cannot-move-myglue-assets_plural":"As an IT Glue user, you cannot move {{type}}s that belong to a MyGlue account to a different organization.","cannot-move-synced-assets":"{{type}} which is synced with your PSA or RMM cannot be moved.","cannot-move-synced-assets_plural":"{{type}}s that are synced with your PSA or RMM cannot be moved.",confirmation:"Bulk {{action}} confirmed. This action may take a few minutes to complete depending on the number of assets being actioned.","delete-that":"Delete {{that}}","delete-that_plural":"Delete {{that}}s","move-that":"Move {{that}}","move-that_plural":"Move {{that}}s","req-time-alert":"Your request is being processed and may take some time to complete.","select-org-to-move":"Select organization to move {{that}} to:","select-org-to-move_plural":"Select organization to move {{that}}s to:","will-be-archive":"Will be archived.","will-be-delete":"Will be deleted.","will-be-move":"Will be moved to a different organization.","unable-to-move":"Unable to Move","unable-to-delete":"Unable to Delete","copy-that":"Copy {{that}}","select-org-to-copy":"Select a different organization","copy-note":"Attachments, embedded passwords, and related items are not copied over into the new record.","password-copy-note":"Attachments and related items are not copied over into the new record."},"ms-office-version":"MS office version","my-glue":"MyGlue","myglue-pricing":{"contact-account-manager":"Please contact your account manager in order to purchase additional MyGlue seats.","cost-per-seat":"Cost Per Seat","cost-per-seat-amount":"{{symbol}}{{costPerSeat}}","current-cost":"{{symbol}}{{costPerMonth}}/month, {{symbol}}{{costPerSeat}}/user","current-seats":"Current Seats",free:"FREE","new-monthly-cost":"{{symbol}}{{costPerMonth}}",purchase:"Purchase","purchase-seats":"Purchase MyGlue?","total-seats":"Total Seats: {{seats}}","use-slider-description":"Use the slider below to select seats.",unlimited:"Unlimited","new-total":"MyGlue Monthly Total",seats:"seats",upgrade:"upgrade","unlimited-message":'Purchasing "Unlimited MyGlue" will allow you to manage a maximum of 20,000 MyGlue Editors and Creators. \n                    If you need more than 20,0000, please email your Account Manager at accounts@itglue.com'},name:"Name","network-device-name":"network device name","network-request-failed":"Operation failed.  Please try again","new-password":"new password",next:"next","next-step":"Next Step",no:"no","no-results":"No matching results","no-selection":"No selection",notes:"notes","num-days":"{{count}} day","num-days_plural":"{{count}} days","num-selected":"{{count}} Selected",ok:"OK","one-time-password":"One-time Password","otp-field-placeholder":"Enter text-based secret key",error:"Error","open-in-new-tab":"Open in new tab","operating-system":"operating system",or:"or",organization:"Organization",organization_plural:"Organizations",organization_with_count:"{{count}} Organization",organization_with_count_plural:"{{count}} Organizations",os:"OS","os-notes":"OS notes",owner:"owner","parent-doc":"parent doc",password:"password","password-changed":"password changed",password_plural:"passwords","patches-applied":"patches applied","patches-total":"patches total",percentage:"{{percentage}}%",pdf:"PDF","pdf-download-disabled-tooltip":"Publish your document prior to exporting to PDF",position:"position","postal-code":"postal code",preview:"preview",previous:"previous",primary:"primary","primary-ip":"primary IP",public:"public",publish:"publish","published-alert":"Document has been published.","published-by":"published by",purchased:"purchased","purchased-by":"purchased by",ram:"RAM","ram-in-MB":"{{size}} MB","read-less":"Read less","read-more":"Read more",recents:"Recents",recipients:"Recipients",reference:"reference","region-name":"State/Province","related-add":"Add Related Item","related-item":"related item","related-items":"related items","related-items-search":"Search...","remove-all":"Remove All","replace-document":{"are-you-sure":"Are you sure you want to replace the live version with this version now?","replace-live-version":"Replace live version with this version now","view-doc-version-from":"You are are viewing the document version from {{timeString}}."},"reset-count":"reset step number","resource-name":"$t({{resource}}) name","resume-editing":"resume editing","resume-publishing":"continue publishing",revisions:"revisions","rmm-field":"RMM - {{field}}",save:"Save","save-changes":"save changes","search-org":"Search in {{- orgName}}","search-and-select":"search and make selection",section:"section",security:"security","security-all":"All {{platform}} users with access to {{- orgName}} can access this {{resourceType}}","security-settings":"Security","security-specify":"Specific groups and/or users can access this {{resourceType}}","security-specify-placeholder":"Search or make selection","select-all":"Select all","select-folder":"Select Folder","serial-no":"serial no.","serial-number":"serial number",setting_plural:"settings","setup-trigger-options-heading":"Setup Trigger Options","short-name":"short name","show-all":"View All","show-otp":"Show OTP",sslCert:"SSL Certificate",sslCert_plural:"SSL Certificates",ssl_certificate:"SSL Certificate",ssl_certificate_plural:"SSL Certificates",ssl_certificates:"SSL Tracker",status:"status","stop-sync-to-delete":"You must stop syncing this {{resourceName}} in order to delete it",subdoc:"sub-doc",subdocs:"sub-docs","sync-status":"sync status",tag:"tag",task:"task",task_plural:"tasks",test:"test","test-resource":"test {{resource}}",testing:"testing","total-duration":"total duration: ","total-available-memory":"{{availableStorage}} of {{totalStorage}} free","total-memory":"total memory",trigger:"trigger",type:"type",type_plural:"types",unsubscribed:"Unsubscribed",updated:"updated","updated-at":"Last updated:","updated-by":"updated by",used:"used","user-count":"{{count}} user","user-count_plural":"{{count}} users","user-not-found":"User Not Found","vendor-notes":"vendor notes",version:"version {{n}}","will-expire":"{{name}} will expire {{dateAt}}","window-title":"{{windowTitle}} \u2014 IT Glue",yes:"yes",small:"small",medium:"medium",large:"large","align-center":"align center","align-left":"align left","align-right":"align right",annotate:"annotate",bold:"bold","bullet-list":"bullet list","indent-less":"indent less","indent-more":"indent more","insert-table":"insert table",italic:"italic","numbered-list":"numbered List",quote:"quote",redo:"redo",removeformat:"removeformat","edit-source":"edit source","sort-by":"sort by",strikethrough:"strikethrough",underline:"underline",undo:"undo",url:"URL",value:"value","validation-error-base32":"Value must have a valid Base32 format","validation-error-email":'"{{- value}}" is not a valid email address',"validation-error-min-value":"Value must be greater than or equal to {{minValue}}","validation-error-max-value":"Value must be less than or equal to {{maxValue}}","validation-error-min-length":"Minimum input size for this field is {{minLength}} characters","validation-error-max-length":"Maximum input size for this field is {{maxLength}} characters","validation-error-numeric":"{{name}} must be a number","validation-error-required":"{{name}} cannot be empty","validation-error-url":'"{{- value}}" is not a valid url',"validation-error-ip-range":'"{{- value}}" is not a valid IP range',"validation-secure-url-required":'"{{- value}}" is not a secure url (HTTPS is required)',"validation-valid-fqdn-required":"Value must be a valid FQDN. (e.g. docs.yourcompany.com)","validation-valid-fqdn-or-ip":"Enter a valid DNS name or IP address","validation-fill-out-required":"Please fill out required fields","validation-edit-name-min-length":"Name is too short (minimum is {{minLength}} characters)","validation-edit-field-required":"Can't be blank","archive-confirm":"Are you sure you want to archive this {{item}}?","archive-confirm_plural":"Are you sure you want to archive these {{item}}s?","cancel-wizard-confirm":"Are you sure you want to cancel? Unsaved changes will be lost.","delete-confirm":"Are you sure you want to delete this {{item}}?","delete-confirm_plural":"Are you sure you want to delete these {{item}}s?","copy-confirm":"Are you sure you wish to copy this {{item}}?","folder-permissions-inherit":"Use the options below to apply folder security restrictions. Note that any changes will cascade down to all subfolders and documents that you have access to. ","make-doc-public":"public","doc-editor-mobile-warning-title":"Preview Only","doc-editor-mobile-warning-content":"To edit please open on desktop","never-published":"Not published.","password-will-hide":"Password will automatically hide 30 seconds after it's revealed. Press Esc to hide immediately.","who-has-resource-access":"Show who has access to this {{resourceName}}","paste-from-word-warning":"Copying and pasting images and text or multiple images together from some desktop apps is not supported. You may need to copy images individually or try the Import Data feature instead.","warning-cannot-undone":"Warning: This action cannot be undone.","revisions-history":"See full access history","section-gallery":"gallery","section-heading":"heading","section-step":"step","section-text":"text","attachment-fail":"Saving attachment failed.","attachment-too-big":"Saving attachment failed.  Max files size is {{maxFilesize}}MB",publish_collision:"A version of this document has been edited at {{updatedAt}}.  Do you want to {{load-newer}} or {{resume-publishing}}?",save_collision:"A version of this document has been edited at {{updatedAt}} by {{updatedBy}}.  Do you want to {{load-newer}} or {{resume-editing}}?","error-asset-not-found":"The {{asset}} could not be found. It may have been removed or you do not have permission to view it","error-record-not-found":"The record could not be found. It may have been removed or you do not have permission to view it","error-update-folder-permissions":"Updating security settings failed. ","error-unknown":"Unexpected Error: {{message}}","error-and-try-again":"Something went wrong. Please try again.","save-changes-question":"Are you sure you want to save changes?","archive-banner":"You are viewing an archived asset.","archive-banner-link":"Unarchive now."}}}}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ShowFlag=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=n(80),h=n(98),p=r(n(37)),m=r(n(11)),v=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return this.props.selectedFlagType?d.default.createElement(h.ShowSelectedFlag,{onToggle:this.props.onToggle,flagTypeName:this.props.selectedFlagType.name,flagTypeColor:this.props.selectedFlagType.color,flagDescription:this.props.description,onDelete:this.props.onDelete}):d.default.createElement("div",{className:"show-flag",onClick:this.props.onToggle},d.default.createElement(f.FlagIcon,null),d.default.createElement("div",{className:"show-flag-text no-wrap"},p.default.titleCase((0,m.default)("asset-flags.add-flag"))))}}]),n}(d.default.Component);t.ShowFlag=v,(0,l.default)(v,"displayName","ShowFlag"),(0,l.default)(v,"propTypes",{selectedFlagType:c.default.flagType,onToggle:c.default.func,description:c.default.string,className:c.default.string})},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t,n){var r=n(45),i=n(81);e.exports=function(e,t,n){var o=i(e,t);return n||(o=o.replace(/ (?=\d)/g,"_")),o.replace(/ (.)/g,(function(e,n){return r(n,t)}))}},function(e,t,n){var r=n(475);e.exports=function(e,t){return r(e,t,"_")}},function(e,t,n){"use strict";var r,i=(r=n(257))&&r.__esModule?r:{default:r};e.exports=function(e,t,n,r){var o=this;return r.ignoreAccents&&(t=(0,i.default)(t)),r.ignoreCase&&(t=t.toLowerCase()),n&&(n=n.map((function(e){return e[r.valueKey]}))),e.filter((function(e){if(n&&n.indexOf(e[r.valueKey])>-1)return!1;if(r.filterOption)return r.filterOption.call(o,e,t);if(!t)return!0;var a=String(e[r.valueKey]),s=String(e[r.labelKey]);return r.ignoreAccents&&("label"!==r.matchProp&&(a=(0,i.default)(a)),"value"!==r.matchProp&&(s=(0,i.default)(s))),r.ignoreCase&&("label"!==r.matchProp&&(a=a.toLowerCase()),"value"!==r.matchProp&&(s=s.toLowerCase())),"start"===r.matchPos?"label"!==r.matchProp&&a.substr(0,t.length)===t||"value"!==r.matchProp&&s.substr(0,t.length)===t:"label"!==r.matchProp&&a.indexOf(t)>=0||"value"!==r.matchProp&&s.indexOf(t)>=0}))}},function(e,t,n){"use strict";var r=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];e.exports=function(e){for(var t=0;t<r.length;t++)e=e.replace(r[t].letters,r[t].base);return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(42)),o=r(n(16));e.exports=function(e){var t=e.focusedOption,n=e.instancePrefix,r=e.onFocus,a=e.onSelect,s=e.optionClassName,u=e.optionRenderer,l=e.valueArray,c=e.valueKey,d=e.onOptionRef,f=e.optionComponent;return e.options.map((function(e,h){var p=l&&l.indexOf(e)>-1,m=e===t,v=(0,i.default)(s,{"Select-option":!0,"is-selected":p,"is-focused":m,"is-disabled":e.disabled});return o.default.createElement(f,{className:v,instancePrefix:n,isDisabled:e.disabled,isFocused:m,isSelected:p,key:"option-"+h+"-"+e[c],onFocus:r,onSelect:a,option:e,optionIndex:h,ref:function(e){d(e,m)}},u(e,h))}))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Toggleable=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{open:e.props.initiallyOpen||!1}),(0,c.default)((0,a.default)(e),"_handleWindowClick",(function(t){e.refs.container&&!e.refs.container.contains(t.path&&t.path[0]||t.target)&&e.setState({open:!1})})),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.props.disabled||(e.state.open?e.props.listenOn.removeEventListener("click",e._handleWindowClick):e.props.listenOn.addEventListener("click",e._handleWindowClick),e.props.onToggle&&e.props.onToggle(!e.state.open),e.setState({open:!e.state.open}))})),(0,c.default)((0,a.default)(e),"_renderTrigger",(function(){return d.default.cloneElement(e.props.trigger,{ref:"trigger",onClick:e._handleClick})})),(0,c.default)((0,a.default)(e),"_renderContent",(function(){return e.state.open?e.props.children||e.props.getContent():null})),(0,c.default)((0,a.default)(e),"close",(function(){e.setState({open:!1})})),e}return(0,o.default)(n,[{key:"componentWillUnmount",value:function(){this.state.open&&this.props.listenOn.removeEventListener("click",this._handleWindowClick)}},{key:"render",value:function(){return d.default.createElement("div",{ref:"container",className:(0,h.default)(this.props.className,this.state.open&&"open")},this.props.beforeTrigger,this._renderTrigger(),this._renderContent())}}]),n}(d.default.Component);t.Toggleable=p,(0,c.default)(p,"displayName","Toggleable"),(0,c.default)(p,"propTypes",{beforeTrigger:f.default.template,children:f.default.node,className:f.default.string,disabled:f.default.bool,getContent:f.default.func,onToggle:f.default.func,trigger:f.default.node,listenOn:f.default.object}),(0,c.default)(p,"defaultProps",{listenOn:window})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyResultRow=void 0;var i=r(n(11)),o=Object.freeze({hint:(0,i.default)("no-results"),destinationType:"Empty"});t.EmptyResultRow=o},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=r(n(12)),h=n(22),p={info:"info-circle",success:"check-circle",warning:"warning",error:"exclamation"},m=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){var e=p[this.props.type||"info"];return this.props.visible?d.default.createElement("div",{className:(0,f.default)("banner","s-alert-box","qa-s-alert-box","s-alert-show","s-alert-".concat(this.props.type),this.props.className)},d.default.createElement("div",{className:"s-alert-box-inner"},d.default.createElement(h.Icon,{name:e,className:"s-alert-box__icon qa-s-alert-box-icon"}),this.props.children),this.props.onDismiss&&d.default.createElement("span",{className:"s-alert-close qa-s-alert-close",onClick:this.props.onDismiss})):null}}]),n}(d.default.Component);t.Banner=m,(0,l.default)(m,"displayName","Banner"),(0,l.default)(m,"propTypes",{children:c.default.node.affectsRendering,className:c.default.string.affectsRendering,onDismiss:c.default.func,type:c.default.oneOf(["error","info","warning","success"]).affectsRendering,visible:c.default.bool.affectsRendering}),(0,l.default)(m,"defaultProps",{visible:!1,type:"error"}),(0,l.default)(m,"ICONS",p)},function(e,t,n){"use strict";t.messageTypes={error:"error",info:"info",success:"success"}},function(e,t,n){"use strict";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CollapsibleBox=void 0;var i=r(n(10)),o=r(n(19)),a=r(n(3)),s=r(n(4)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(12)),m=n(34);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var g=function(e){(0,u.default)(n,e);var t=v(n);function n(){return(0,a.default)(this,n),t.apply(this,arguments)}return(0,s.default)(n,[{key:"render",value:function(){return this.props.controlled?h.default.createElement(y,(0,o.default)({ref:"stateless"},this.props)):h.default.createElement(b,(0,o.default)({ref:"stateful"},this.props))}}]),n}(h.default.Component);t.CollapsibleBox=g,(0,d.default)(g,"displayName","CollapsibleBox"),(0,d.default)(g,"defaultProps",{controlled:!1});var y=function(t){(0,u.default)(r,t);var n=v(r);function r(){var t;(0,a.default)(this,r);for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];return t=n.call.apply(n,[this].concat(s)),(0,d.default)((0,i.default)(t),"state",{style:{maxHeight:t.props.open?"":0},className:t.props.open?"":"clip"}),(0,d.default)((0,i.default)(t),"ANIMATION_DURATION_MS",500),(0,d.default)((0,i.default)(t),"_handleHeaderClick",(function(e){t.props.onHeaderClick&&t.props.onHeaderClick(e)})),(0,d.default)((0,i.default)(t),"_handleOpenChange",(function(e){e.open?t._scheduleUnclip():t.setState({className:"clip",style:{maxHeight:0}})})),(0,d.default)((0,i.default)(t),"_getHeight",(function(){return t.refs.body.scrollHeight})),(0,d.default)((0,i.default)(t),"_scheduleUnclip",(function(){e.setTimeout((function(){return t.setState({className:"",style:{maxHeight:""}})}),t.ANIMATION_DURATION_MS)})),t}return(0,s.default)(r,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){this.props.open!==t.open&&this.setState({style:{maxHeight:this._getHeight()}},(function(){e.setTimeout(this._handleOpenChange.bind(this,t),0)}))}},{key:"render",value:function(){var e=(0,p.default)("collapsible-box",this.props.className,this.state.className,this.props.open&&"open");return h.default.createElement("div",{ref:"container",className:e},h.default.createElement("div",{className:"collapsible-box-header",onClick:this._handleHeaderClick},this.props.header),h.default.createElement("div",{className:"collapsible-box-body",style:this.state.style,ref:"body"},this.props.children),h.default.createElement("div",{className:"collapsible-box-footer"},this.props.footer))}}]),r}(h.default.Component);(0,d.default)(y,"propTypes",{children:f.default.node,className:f.default.string,controlled:f.default.bool,footer:f.default.node,header:f.default.node,open:f.default.bool,onHeaderClick:f.default.func});var b=function(t){(0,u.default)(r,t);var n=v(r);function r(){var t;(0,a.default)(this,r);for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];return t=n.call.apply(n,[this].concat(s)),(0,d.default)((0,i.default)(t),"_getInitialOpenState",(function(){var n=t.props.initiallyOpen;if(t.props.persistKey)try{n=JSON.parse(e.localStorage.getItem(t.props.persistKey)).open}catch(e){}return n})),(0,d.default)((0,i.default)(t),"_toggle",(function(n){if(!(0,m.isToggleSuppressed)(n)){var r=!t.state.open;t.props.persistKey&&e.localStorage.setItem(t.props.persistKey,JSON.stringify({open:r})),t.setState({open:r})}})),(0,d.default)((0,i.default)(t),"state",{open:t._getInitialOpenState()}),t}return(0,s.default)(r,[{key:"render",value:function(){return h.default.createElement(y,(0,o.default)({},this.props,{ref:"stateless",open:this.state.open,onHeaderClick:this._toggle}))}}]),r}(h.default.Component);(0,d.default)(b,"propTypes",{initiallyOpen:f.default.bool,persistKey:f.default.string})}).call(this,n(23))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Confirm=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(50),p=r(n(12)),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{visible:!1}),(0,c.default)((0,a.default)(e),"_handleCancel",(function(){e.setState({visible:!1}),e.state.onCancel&&e.state.onCancel()})),(0,c.default)((0,a.default)(e),"_handleConfirm",(function(){e.setState({visible:!1}),e.state.onConfirm()})),e}return(0,o.default)(n,[{key:"show",value:function(e){this.setState({visible:!0,title:e.title,body:e.body,className:e.className,onConfirm:e.onConfirm,onCancel:e.onCancel,labelOk:e.labelOk,style:e.style,hideCancelButton:!0===e.hideCancelButton,hideCloseButton:e.hideCloseButton,applying:e.applying,disableOkButton:e.disableOkButton})}},{key:"render",value:function(){return f.default.createElement(h.Dialog,{ref:"dialog",attachToBody:!0,className:(0,p.default)("confirm",this.state.className,this.state.style),labelApply:this.state.labelOk||this.props.labelOk,labelCancel:this.state.labelCancel||this.props.labelCancel,applying:this.state.applying,visible:this.state.visible,title:this.state.title,onCancel:this._handleCancel,onApply:this._handleConfirm,hideCancelButton:this.state.hideCancelButton,hideCloseButton:this.state.hideCloseButton,disableApplyButton:this.state.disableOkButton||this.props.disableOkButton},this.state.body)}}]),n}(f.default.Component);t.Confirm=m,(0,c.default)(m,"displayName","Confirm"),(0,c.default)(m,"propTypes",{labelApply:d.default.string,labelCancel:d.default.string,disableOkButton:d.default.bool})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DragDropManager=t.AUTO_SCROLL_THRESHOLD_PIXELS=t.AUTO_SCROLL_BY_PIXELS=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(34),p=r(n(14));t.AUTO_SCROLL_BY_PIXELS=50,t.AUTO_SCROLL_THRESHOLD_PIXELS=200;var m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"scrollToDrop",(function(){e._droppedAtCoords&&(e._scrollBy(e.draggedItem.refs.outerWrapper.getBoundingClientRect().top-e._droppedAtCoords.y+35),e._droppedAtCoords=null)})),(0,c.default)((0,a.default)(e),"_scrollBy",(function(e){var t=(0,h.getScrollNode)();return e?(t.scrollTop+=e,t.scrollTop<0?0:t.scrollTop):t.scrollTop})),(0,c.default)((0,a.default)(e),"_handleSectionDragOver",(function(t,n){e.draggedItem&&(e.dragTarget&&e.dragTarget.unshiftForDrag(),t&&(t.shiftForDrag(n),e.dragTarget=t),"function"==typeof e.props.onDragStart&&e.props.onDragStart())})),(0,c.default)((0,a.default)(e),"_handleSectionDragStart",(function(t){e.draggedItem=t,e.dragTarget=null})),(0,c.default)((0,a.default)(e),"_handleDragEnd",(function(){e.dragTarget&&e.dragTarget.unshiftForDrag(),"function"==typeof e.props.onDragEnd&&e.props.onDragEnd(),e.dragTarget=null,e.draggedItem=null})),(0,c.default)((0,a.default)(e),"_getMouseY",(function(t){return t.pageY-e._scrollBy()})),(0,c.default)((0,a.default)(e),"_getContainerRect",(function(){return e.refs.container.getBoundingClientRect()})),(0,c.default)((0,a.default)(e),"_handleBodyDrop",(function(t){if(e.draggedItem){var n,r=e._getContainerRect(),i=e._getMouseY(t),o=e.draggedItem.props.id,a=e.dragTarget&&e.dragTarget.props.id;e._droppedAtCoords={y:i},i>=r.bottom?(a=e.refs["section"+(e.props.children.length-1)].props.id,n={dropAfter:!0}):i<r.top&&(a=e.refs.section0.props.id),void 0!==o&void 0!==a&&null!==a&&o!==a&&e.props.onReorder(o,a,n),e._handleDragEnd(),e.draggedItem=null,t.preventDefault()}})),(0,c.default)((0,a.default)(e),"_handleBodyDragOver",(function(t){if(e.draggedItem){var n=e._getContainerRect(),r=e._getMouseY(t);if(t.preventDefault(),r>n.bottom||r<n.top){var i=e.refs["section"+(r>n.bottom?e.props.children.length-1:0)].getContainer();e.dragTarget&&e.dragTarget.unshiftForDrag(),i.shiftForDrag(r>n.bottom),e.dragTarget=i}else e._handleAutoScroll(r)}})),(0,c.default)((0,a.default)(e),"_handleAutoScroll",(function(t){t<=200?e._scrollBy(-50):t>=document.body.clientHeight-200&&e._scrollBy(50)})),(0,c.default)((0,a.default)(e),"getChild",(function(t){return e.refs["section"+t]})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this.draggedItem=null,this.dragTarget=null,this._handleAutoScroll=p.default.throttle(this._handleAutoScroll,200),document.body.ondragover=this._handleBodyDragOver,document.body.ondrop=this._handleBodyDrop}},{key:"componentWillUnmount",value:function(){document.body.ondragover=null,document.body.ondrop=null}},{key:"render",value:function(){return f.default.createElement("div",{ref:"container"},f.default.Children.map(this.props.children,(function(e,t){return f.default.cloneElement(e,{onDragStart:this._handleSectionDragStart,onDragEnd:this._handleDragEnd,onDragOver:this._handleSectionDragOver,ref:"section"+t})}).bind(this)))}}]),n}(f.default.Component);t.DragDropManager=m,(0,c.default)(m,"displayName","DragDropManager"),(0,c.default)(m,"propTypes",{children:d.default.node,onDragStart:d.default.func,onDragEnd:d.default.func,onReorder:d.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableContainer=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{dragging:!1,zoom:!1,target:void 0}),(0,c.default)((0,a.default)(e),"getContainer",(function(){return(0,a.default)(e)})),(0,c.default)((0,a.default)(e),"shiftForDrag",(function(t){e.refs.outerWrapper.style["margin"+(t?"Bottom":"Top")]=e.props.shiftMargin||"100px"})),(0,c.default)((0,a.default)(e),"unshiftForDrag",(function(){e.refs.outerWrapper&&(e.refs.outerWrapper.style.marginTop=0,e.refs.outerWrapper.style.marginBottom=0)})),(0,c.default)((0,a.default)(e),"_handleDragStart",(function(t){e._handle&&e._handle.contains(e.state.target)||!e._handle&&e.state.target===e.refs.container?(t.dataTransfer.setData("text/plain",""),e.setState({zoom:!1,dragging:!0})):t.preventDefault(),"function"==typeof e.props.onDragStart&&e.props.onDragStart((0,a.default)(e))})),(0,c.default)((0,a.default)(e),"_handleDragEnd",(function(){e.setState({zoom:!1,dragging:!1,target:void 0}),"function"==typeof e.props.onDragEnd&&e.props.onDragEnd()})),(0,c.default)((0,a.default)(e),"_handleDrop",(function(){})),(0,c.default)((0,a.default)(e),"_handleDragEnter",(function(){"function"==typeof e.props.onDragOver&&e.props.onDragOver((0,a.default)(e))})),(0,c.default)((0,a.default)(e),"_handleMouseup",(function(){e.state.zoom&&e.setState({zoom:!1,dragging:!1})})),(0,c.default)((0,a.default)(e),"_handleMousedown",(function(t){e._handle&&e._handle.contains(t.target)?e.setState({dragging:!0,zoom:!0,target:e._handle}):e._handle||t.target!==e.refs.container||e.setState({dragging:!0,zoom:!0,target:e.refs.container})})),(0,c.default)((0,a.default)(e),"_handleDragOver",(function(e){e.preventDefault()})),(0,c.default)((0,a.default)(e),"_setHandle",(function(t){e._handle=t})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this,t=(0,h.default)("draggable-container",this.props.className,{draggable:!this._handle,dragging:this.state.dragging,zoom:this.state.zoom,"float-to-front":this.props.floatToFront});return d.default.createElement("div",{ref:"outerWrapper",className:"draggable-outer",onMouseDown:this._handleMousedown,onMouseUp:this._handleMouseup},d.default.createElement("div",{ref:"container",draggable:!(this.props.disabled||!this.state.dragging),className:t,onDrop:this._handleDrop,onDragEnter:this._handleDragEnter,onDragStart:this._handleDragStart,onDragEnd:this._handleDragEnd,onDragOver:this._handleDragOver},d.default.Children.toArray(this.props.children).map((function(t){return d.default.cloneElement(t,{handle:e._setHandle})}))))}}]),n}(d.default.Component);t.DraggableContainer=p,(0,c.default)(p,"displayName","DraggableContainer"),(0,c.default)(p,"propTypes",{className:f.default.string,draggable:f.default.bool,floatToFront:f.default.bool,onDragStart:f.default.func,onDragEnd:f.default.func,onDragOver:f.default.func,shiftMargin:f.default.stringOrNumber})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownButton=f;var i=r(n(1)),o=r(n(2)),a=n(66),s=n(39),u=n(22),l=r(n(12)),c=function(e){var t=e.label;return i.default.createElement("span",{title:t},t)},d=i.default.createElement(u.Icon,{solid:!0,name:"caret-down",className:"react-dropdown-button__caret-icon"});function f(e){var t=e.template,n=e.label,r=e.className,o=e.items,u=e.onItemSelected,f=e.onClose,h=e.optionButtonRef;return i.default.createElement(a.OptionButton,{arrowPosition:"right",arrowSize:0,className:(0,l.default)("react-button react-dropdown-button pad7-12 font-style-none",void 0===r?"default":r),closeOnClickInside:!0,edgeOffset:0,label:i.default.createElement("span",null,n,d),onClose:f,pointTo:"right",popoverClassName:"borderless",ref:h,spaceToTarget:2},i.default.createElement(s.SelectableList,{template:t||c,items:o,onItemSelected:u,enableKeyboardNavigation:!0}))}f.displayName="DropdownButton",f.propTypes={template:o.default.template,label:o.default.node,className:o.default.string,items:o.default.array,onItemSelected:o.default.func,onClose:o.default.func}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Duration=a;var i=r(n(1)),o=r(n(11));function a(e){return!!e.duration&&i.default.createElement("div",{className:"margin-xsmall-vertical color-muted text-italic"},"(",(0,o.default)("minute",{count:e.duration}),")")}a.displayName="Duration"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FormStep=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return d.default.createElement("div",{className:"form-step-content"},this.props.children)}}]),n}(d.default.Component);t.FormStep=f,(0,l.default)(f,"displayName","FormStep"),(0,l.default)(f,"propTypes",{children:c.default.element.isRequired.affectsRendering,closedOnInit:c.default.bool,isValid:c.default.func,next:c.default.shape({isDisabled:c.default.func,label:c.default.string,loading:c.default.bool,onClick:c.default.func}),shouldRender:c.default.bool,summary:c.default.element.isRequired.affectsRendering,title:c.default.string.isRequired.affectsRendering})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ImageLightboxGallery=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(100)),p=n(84),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{index:e.props.initialIndex}),(0,c.default)((0,a.default)(e),"_next",(function(){e.setState(e.state.index===e.props.images.length-1?{index:0}:{index:Math.min(e.props.images.length-1,e.state.index+1)})})),(0,c.default)((0,a.default)(e),"_prev",(function(){e.setState(0===e.state.index?{index:e.props.images.length-1}:{index:Math.max(0,e.state.index-1)})})),(0,c.default)((0,a.default)(e),"_close",(function(){e.props.onClose&&e.props.onClose(),h.default.deleteScope(e.scope)})),(0,c.default)((0,a.default)(e),"_handleKeydown",(function(t){switch(t.code){case"ArrowLeft":e._prev();break;case"ArrowRight":e._next();break;case"Escape":e._close();break;case"Enter":e._close()}})),e}return(0,o.default)(n,[{key:"componentWillUnmount",value:function(){this._close()}},{key:"componentDidMount",value:function(){this.scope=Date.now().toString(),(0,h.default)("left, right, esc, enter",this.scope,this._handleKeydown),h.default.setScope(this.scope)}},{key:"render",value:function(){var e,t,n,r=null===(e=this.props)||void 0===e||null===(t=e.images)||void 0===t||null===(n=t[this.state.index])||void 0===n?void 0:n[this.props.srcKey];return f.default.createElement(p.Lightbox,{onClick:this._close,ref:"lightbox",visible:!0,attachToBody:!0},f.default.createElement("img",{className:"lightbox-gallery-image position-relative-center",src:r}),this.props.images.length>1&&f.default.createElement("div",{ref:"prev",className:"prev-image",onClick:this._prev}),this.props.images.length>1&&f.default.createElement("div",{ref:"next",className:"next-image",onClick:this._next}))}}]),n}(f.default.Component);t.ImageLightboxGallery=m,(0,c.default)(m,"propTypes",{initialIndex:d.default.number.affectsRendering,images:d.default.arrayOf(d.default.image).isRequired.affectsRendering,srcKey:d.default.string.affectsRendering,onClick:d.default.func,onClose:d.default.func}),(0,c.default)(m,"defaultProps",{srcKey:"src",initialIndex:0})},function(e,t,n){var r;e.exports=(r=n(21),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),u[i]=n(e.pow(r,1/3)),i++),r++}();var l=[],c=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],d=n[6],f=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var p=l[h-15],m=l[h-2];l[h]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+l[h-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+l[h-16]}var v=r&i^r&o^i&o,g=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&d)+u[h]+l[h];f=d,d=c,c=s,s=a+g|0,a=o,o=i,i=r,r=g+(((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(c),t.HmacSHA256=o._createHmacHelper(c)}(Math),r.SHA256)},function(e,t,n){var r;e.exports=(r=n(21),n(86),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,o=n.WordArray,a=e.algo;function s(){return i.create.apply(i,arguments)}var u=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var c=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],d=n[6],f=n[7],h=r.high,p=r.low,m=i.high,v=i.low,g=o.high,y=o.low,b=a.high,_=a.low,w=s.high,E=s.low,C=c.high,A=c.low,k=d.high,S=d.low,x=f.high,D=f.low,O=h,T=p,F=m,M=v,P=g,L=y,R=b,B=_,j=w,I=E,N=C,H=A,z=k,Y=S,U=x,V=D,$=0;$<80;$++){var W=l[$];if($<16)var G=W.high=0|e[t+2*$],q=W.low=0|e[t+2*$+1];else{var K=l[$-15],X=K.high,Z=K.low,J=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),Q=l[$-2],ee=Q.high,te=Q.low,ne=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),re=l[$-7],ie=l[$-16],oe=ie.low;G=(G=(G=((X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7)+re.high+((q=J+re.low)>>>0<J>>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((q+=ne)>>>0<ne>>>0?1:0))+ie.high+((q+=oe)>>>0<oe>>>0?1:0),W.high=G,W.low=q}var ae,se=j&N^~j&z,ue=I&H^~I&Y,le=O&F^O&P^F&P,ce=(T>>>28|O<<4)^(T<<30|O>>>2)^(T<<25|O>>>7),de=u[$],fe=de.low,he=U+((j>>>14|I<<18)^(j>>>18|I<<14)^(j<<23|I>>>9))+((ae=V+((I>>>14|j<<18)^(I>>>18|j<<14)^(I<<23|j>>>9)))>>>0<V>>>0?1:0),pe=ce+(T&M^T&L^M&L);U=z,V=Y,z=N,Y=H,N=j,H=I,j=R+(he=(he=(he=he+se+((ae+=ue)>>>0<ue>>>0?1:0))+de.high+((ae+=fe)>>>0<fe>>>0?1:0))+G+((ae+=q)>>>0<q>>>0?1:0))+((I=B+ae|0)>>>0<B>>>0?1:0)|0,R=P,B=L,P=F,L=M,F=O,M=T,O=he+(((O>>>28|T<<4)^(O<<30|T>>>2)^(O<<25|T>>>7))+le+(pe>>>0<ce>>>0?1:0))+((T=ae+pe|0)>>>0<ae>>>0?1:0)|0}p=r.low=p+T,r.high=h+O+(p>>>0<T>>>0?1:0),v=i.low=v+M,i.high=m+F+(v>>>0<M>>>0?1:0),y=o.low=y+L,o.high=g+P+(y>>>0<L>>>0?1:0),_=a.low=_+B,a.high=b+R+(_>>>0<B>>>0?1:0),E=s.low=E+I,s.high=w+j+(E>>>0<I>>>0?1:0),A=c.low=A+H,c.high=C+N+(A>>>0<H>>>0?1:0),S=d.low=S+Y,d.high=k+z+(S>>>0<Y>>>0?1:0),D=f.low=D+V,f.high=x+U+(D>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(c),e.HmacSHA512=t._createHmacHelper(c)}(),r.SHA512)},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(574),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(23))},function(e,t,n){e.exports=i;var r=n(106).EventEmitter;function i(){r.call(this)}n(63)(i,r),i.Readable=n(107),i.Writable=n(581),i.Duplex=n(582),i.Transform=n(583),i.PassThrough=n(584),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},function(e,t,n){"use strict";(function(t,r){var i=n(87);e.exports=b;var o,a=n(273);b.ReadableState=y,n(106);var s=function(e,t){return e.listeners(t).length},u=n(277),l=n(108).Buffer,c=t.Uint8Array||function(){},d=Object.create(n(69));d.inherits=n(63);var f=n(575),h=void 0;h=f&&f.debuglog?f.debuglog("stream"):function(){};var p,m=n(576),v=n(278);d.inherits(b,u);var g=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};var r=t instanceof(o=o||n(52));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(279).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function b(e){if(o=o||n(52),!(this instanceof b))return new b(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function _(e,t,n,r,i){var o,a=e._readableState;return null===t?(a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,C(e)}}(e,a)):(i||(o=function(e,t){var n,r;return l.isBuffer(r=t)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?w(e,a,t,!1):k(e,a)):w(e,a,t,!1))):r||(a.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function w(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&C(e)),k(e,t)}function E(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(A,e):A(e))}function A(e){h("emit readable"),e.emit("readable"),O(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(S,e,t))}function S(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function x(e){h("readable nexttick read 0"),e.read(0)}function D(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),O(e),t.flowing&&!t.reading&&e.read(0)}function O(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function T(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(i+=a===o.length?o:o.slice(0,e),0==(e-=a)){a===o.length?(++r,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0==(e-=a)){a===o.length?(++i,t.head=r.next?r.next:t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function F(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),b.prototype.destroy=v.destroy,b.prototype._undestroy=v.undestroy,b.prototype._destroy=function(e,t){this.push(null),t(e)},b.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),_(this,e,t,!1,n)},b.prototype.unshift=function(e){return _(this,e,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(e){return p||(p=n(279).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this},b.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?F(this):C(this),null;if(0===(e=E(e,t))&&t.ended)return 0===t.length&&F(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=E(n,t))),null===(r=e>0?T(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&F(this)),null!==r&&this.emit("data",r),r},b.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var u=t&&!1===t.end||e===r.stdout||e===r.stderr?y:l;function l(){h("onend"),e.end()}o.endEmitted?i.nextTick(u):n.once("end",u),e.on("unpipe",(function t(r,i){h("onunpipe"),r===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,h("cleanup"),e.removeListener("close",v),e.removeListener("finish",g),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",t),n.removeListener("end",l),n.removeListener("end",y),n.removeListener("data",p),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}));var c=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,O(e))}}(n);e.on("drain",c);var d=!1,f=!1;function p(t){h("ondata"),f=!1,!1!==e.write(t)||f||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==P(o.pipes,e))&&!d&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,f=!0),n.pause())}function m(t){h("onerror",t),y(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",g),y()}function g(){h("onfinish"),e.removeListener("close",v),y()}function y(){h("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",v),e.once("finish",g),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},b.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=P(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},b.prototype.addListener=b.prototype.on=function(e,t){var n=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&C(this):i.nextTick(x,this))}return n},b.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(D,e,t))}(this,e)),this},b.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<g.length;o++)e.on(g[o],this.emit.bind(this,g[o]));return this._read=function(t){h("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=T}).call(this,n(23),n(43))},function(e,t,n){e.exports=n(106).EventEmitter},function(e,t,n){"use strict";var r=n(87);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";var r=n(579).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=f,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"\ufffd":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=a(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";e.exports=a;var r=n(52),i=Object.create(n(69));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){u(e,t,n)})):u(this,null,null)}function u(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n(63),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AccountProductStatus=t.AccountProducts=void 0;var i=r(n(8)),o=r(n(9));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=Object.freeze({NetworkGlue:"AccountProducts::NetworkGlue"});t.AccountProducts=u;var l={PURCHASED:"purchased",TRIAL:"trial",PURCHASED_CANCELED:"purchased_canceled",TRIAL_CANCELED:"trial_canceled"},c=Object.freeze(s(s({},l),{},{isPurchased:function(e){return l.PURCHASED===e},isTrial:function(e){return l.TRIAL===e},isActiveTrial:function(e,t){return this.isTrial(e)&&(!t||(0,o.default)(t).isAfter((0,o.default)()))},isEnabled:function(e,t){return this.isPurchased(e)||this.isActiveTrial(e,t)}}));t.AccountProductStatus=c},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TypeaheadStateless=void 0;var o=i(n(46)),a=i(n(3)),s=i(n(4)),u=i(n(10)),l=i(n(5)),c=i(n(6)),d=i(n(7)),f=i(n(8)),h=i(n(2)),p=r(n(14)),m=i(n(1)),v=i(n(34)),g=n(39),y=n(283),b=n(35),_=i(n(40)),w=i(n(12)),E=n(64),C=n(22),A=n(34),k=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return e=t.call.apply(t,[this].concat(i)),(0,f.default)((0,u.default)(e),"state",{eventOutside:!1,open:!1,itemSelected:!1,selectedItems:[]}),(0,f.default)((0,u.default)(e),"WAIT_ATLEAST_MS",200),(0,f.default)((0,u.default)(e),"_shouldOpen",(function(t){return e.props.openOnFocus?v.default.isFocusedNode(e.refs.input):(0,p.isArray)(t.suggestions)&&t.suggestions.length||t.suggestions&&!(0,p.isArray)(t.suggestions)})),(0,f.default)((0,u.default)(e),"_resetSelectedItems",(function(){e.setState({selectedItems:[]})})),(0,f.default)((0,u.default)(e),"_exec",(function(t){e.props.disabled||(e.props.onQuery(t),e._lastSentValue=t,e._sendAt=null,e.setState({selectedItemIndex:-1}))})),(0,f.default)((0,u.default)(e),"_handleChange",(function(t){t&&e.setState({itemSelected:!1}),e.props.onChange(t)})),(0,f.default)((0,u.default)(e),"_handleFocus",(function(){e._shouldOpen(e.props)&&e.setState({open:!0,eventOutside:!1}),e.props.onFocus&&e.props.onFocus(),e._isBluring=!1})),(0,f.default)((0,u.default)(e),"_onClick",(function(){e.setState({open:!0})})),(0,f.default)((0,u.default)(e),"_confirmMultiSelect",(function(){e._confirmingMultiSelect=!0,e.props.onItemsSelected(e.state.selectedItems),e._resetSelectedItems()})),(0,f.default)((0,u.default)(e),"_handleGlobalClick",(function(t){if(e._isMounted){var n=e.state.open;n&&(0,A.suppressToggle)(t),n&&t.target!==e.refs.input&&v.default.eventOutsideOf(t,e.refs.container)&&(e.setState({open:!1}),e.props.onItemsSelected&&n&&e.state.selectedItems.length&&e._confirmMultiSelect())}})),(0,f.default)((0,u.default)(e),"_onMouseDown",(function(t){if(e._isMounted){var n=!e.refs.container.contains(t.path&&t.path[0]||t.target);e.state.eventOutside!==n&&e.setState({eventOutside:n})}})),(0,f.default)((0,u.default)(e),"close",(function(){e.state.open&&e.setState({open:!1})})),(0,f.default)((0,u.default)(e),"renderStatus",(function(){return m.default.createElement("div",{className:"status position-absolute-vertical-middle"},e._renderStatusOrClearButton())})),(0,f.default)((0,u.default)(e),"_renderStatusOrClearButton",(function(){return e.props.isSpinning?m.default.createElement(E.Spinner,null):e.props.value&&e.props.onClear?m.default.createElement("i",{className:"fal fa-times clear-button typeahead__clear-button qa-typeahead-clear-button",onClick:e.props.onClear}):null})),(0,f.default)((0,u.default)(e),"_findListRef",(function(){return e.props.keyboardHints?e.refs.wrapper&&e.refs.wrapper.refs.list:e.refs.list})),(0,f.default)((0,u.default)(e),"_handleKeyDown",(function(t){switch(t.keyCode){case _.default.UP:e.state.open?e._findListRef().prev():e._shouldOpen(e.props)&&e.setState({open:!0}),t.preventDefault();break;case _.default.DOWN:e.state.open?e._findListRef().next():e._shouldOpen(e.props)&&e.setState({open:!0}),t.preventDefault();break;case _.default.ENTER:var n=e._findListRef();if(n&&n.enter(t),_.default.isMetaOrCtrlPressed(t)||e.props.onItemsSelected||e.props.keepMenuOpenOnSelect)break;e.close(),t.preventDefault();break;case _.default.TAB:e.setState({blurByTab:e.refs.container.contains(t.path&&t.path[0]||t.target)});break;case _.default.ESC:e.close(),t.preventDefault()}})),(0,f.default)((0,u.default)(e),"_handleBlur",(function(){e.props.onBlur&&(e.state.eventOutside||e.state.blurByTab)&&e.props.onBlur(),e.props.keepOpenOnBlur||e.props.onItemsSelected||(e._isBluring=!0,setTimeout((function(){e._isMounted&&e.setState({open:!1},(function(){return e._isBluring=!1}))}),400))})),(0,f.default)((0,u.default)(e),"_handleItemSelected",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_.default.isMetaOrCtrlPressed(n)||e.props.keepMenuOpenOnSelect||e.setState({open:!1}),e.setState({itemSelected:!0}),e.props.onItemSelected(t,n)})),(0,f.default)((0,u.default)(e),"_handleItemToggle",(function(t){var n=new Set(e.state.selectedItems);n.has(t)?n.delete(t):n.add(t),e.setState({selectedItems:(0,o.default)(n)})})),(0,f.default)((0,u.default)(e),"focus",(function(){e.refs.input.focus()})),(0,f.default)((0,u.default)(e),"validate",(function(){return e.refs.input.validate()})),e}return(0,s.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this._isBluring||p.default.isMatch(this.props.suggestions,e.suggestions)||(this._shouldOpen(e)&&!this._confirmingMultiSelect?this.setState({open:!0}):this.setState({open:!1}),this._confirmingMultiSelect=!1,this._resetSelectedItems())}},{key:"UNSAFE_componentWillMount",value:function(){window.addEventListener("click",this._handleGlobalClick,!this.props.doNotCapture),window.addEventListener("mousedown",this._onMouseDown),this.props.debounceTime&&(this._exec=(0,p.debounce)(this._exec,this.props.debounceTime))}},{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("click",this._handleGlobalClick,!this.props.doNotCapture),window.removeEventListener("mousedown",this._onMouseDown)}},{key:"componentDidUpdate",value:function(e){this.state.itemSelected||e.pending&&this.props.pending||this.props.value===this._lastSentValue||this._exec(this.props.value)}},{key:"render",value:function(){var e=(0,w.default)("typeahead",this.props.className,this.props.pending&&"pending",this.props.showDropDownButton&&"typeahead--with-dropdown");return m.default.createElement("div",{className:e,ref:"container",onKeyDown:this._handleKeyDown},this.props.showDropDownButton&&m.default.createElement("button",{type:"button",className:"react-typeahead-button",onClick:this._onClick},m.default.createElement(C.Icon,{name:"caret-down"})),m.default.createElement("div",{className:"typeahead__input-wrapper qa-typeahead__input-wrapper"},m.default.createElement(b.FormTextField,{ref:"input",disabled:this.props.disabled,autoFocus:this.props.autoFocus,onFocus:this._handleFocus,onBlur:this._handleBlur,placeholder:this.props.placeholder,className:this.props.showSearchIcon&&"searchable",onChange:this._handleChange,value:this.props.value,errorMessage:this.props.errorMessage,requiredErrorMsg:this.props.requiredErrorMsg,validations:this.props.validations,validationLabel:this.props.validationLabel,validationKey:this.props.validationKey},this.props.showSearchIcon&&m.default.createElement(C.Icon,{name:"search",className:"react-typeahead-search-icon"}),m.default.createElement("span",null,this.renderStatus(),this.props.accessories))),this.props.children,this.state.open&&(this.props.keyboardHints?m.default.createElement(y.SelectableListWithKeyboardHints,{startIndex:this.props.startIndex,selectItemIndex:this.props.selectItemIndex,ref:"wrapper",className:"tt-suggestions",shortCutTemplate:this.props.shortCutTemplate,template:this.props.suggestionsTemplate,onChange:this.props.onSelectionChange,onItemSelected:this._handleItemSelected,items:this.props.suggestions}):m.default.createElement(g.SelectableList,{ref:"list",className:"tt-suggestions",template:this.props.suggestionsTemplate,onChange:this.props.onSelectionChange,onItemSelected:this._handleItemSelected,onItemToggle:this.props.onItemsSelected?this._handleItemToggle:null,selectedItems:this.state.selectedItems,items:this.props.suggestions})))}}]),n}(m.default.Component);t.TypeaheadStateless=k,(0,f.default)(k,"displayName","TypeaheadStateless"),(0,f.default)(k,"propTypes",{pending:h.default.bool.affectsRendering,suggestions:h.default.oneOfType([h.default.object,h.default.array]).affectsRendering,keepOpenOnBlur:h.default.bool,keepMenuOpenOnSelect:h.default.bool,keyboardHints:h.default.bool,placeholder:h.default.string.affectsRendering,value:h.default.string.affectsRendering,onChange:h.default.func.isRequired.affectsRendering,onClear:h.default.func,onFocus:h.default.func,onItemSelected:h.default.func,onItemsSelected:h.default.func,onQuery:h.default.func,onSelectionChange:h.default.func,className:h.default.string,debounceTime:h.default.number,disabled:h.default.bool,errorMessage:h.default.string.affectsRendering,requiredErrorMsg:h.default.string.affectsRendering,showDropDownButton:h.default.bool,showSearchIcon:h.default.bool,doNotCapture:h.default.bool})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SelectableListWithKeyboardHints=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(11)),m=n(39),v=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_renderKeyboardHints",(function(){return e.props.items&&e.props.items.length?h.default.createElement("div",{className:"keyboard-hints",tabIndex:0},e.props.shortCutTemplate?e.props.shortCutTemplate:null,h.default.createElement("div",{className:"navigate"},h.default.createElement("i",{className:"fa fa-arrow-up"}),h.default.createElement("i",{className:"fa fa-arrow-down"}),h.default.createElement("span",{className:"icon-label"},(0,p.default)("keyboard-hints.navigate"))),h.default.createElement("div",{className:"select"},h.default.createElement("i",{className:"fa fa-level-down level-down-icon"}),h.default.createElement("span",{className:"icon-label"},(0,p.default)("keyboard-hints.select"))),h.default.createElement("div",{className:"cancel"},h.default.createElement("span",{className:"iconish-text"},"esc"),h.default.createElement("span",{className:"icon-label"},(0,p.default)("keyboard-hints.cancel")))):null})),e}return(0,a.default)(n,[{key:"render",value:function(){return h.default.createElement("div",{className:"react-selectable-list-container"},this.props.topMessage&&h.default.createElement("div",{className:"top-message"},this.props.topMessage),h.default.createElement(m.SelectableList,(0,i.default)({ref:"list"},this.props)),this._renderKeyboardHints())}}]),n}(h.default.Component);t.SelectableListWithKeyboardHints=v,(0,d.default)(v,"propTypes",{items:f.default.oneOfType([f.default.array,f.default.object]),shortCutTemplate:f.default.any,topMessage:f.default.string})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.LoaderButtonWithTooltip=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=n(30),m=n(48),v=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_getTooltipText",(function(){return e.props.buttonProps.disabled?e.props.tooltipText.disabled||e.props.tooltipText.default||null:e.props.tooltipText.default||null})),(0,d.default)((0,s.default)(e),"_renderButton",(function(){return h.default.createElement(p.LoaderButton,e.props.buttonProps,e.props.children)})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this._getTooltipText();if(e){var t=h.default.createElement("span",null,e);return h.default.createElement(m.Tooltip,(0,i.default)({},this.props.tooltipProps,{content:t}),this._renderButton())}return this._renderButton()}}]),n}(h.default.Component);t.LoaderButtonWithTooltip=v,(0,d.default)(v,"displayName","LoaderButtonWithTooltip"),(0,d.default)(v,"propTypes",{buttonProps:f.default.object,chidlren:f.default.node,tooltipProps:f.default.object,tooltipText:f.default.shape({default:f.default.string,disabled:f.default.string})})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ShowPassword=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=r(n(11)),v=n(590),g=n(85),y=n(103),b=n(64),_=m.default.title,w=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"state",{}),(0,f.default)((0,u.default)(e),"clearPassword",(function(){e.setState({passwordValue:null})})),(0,f.default)((0,u.default)(e),"_handleReveal",(0,o.default)(i.default.mark((function t(){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.loadPasswordAsync(e.props.id);case 2:(n=t.sent)&&(e.setState({passwordValue:n}),e._hideTimer=setTimeout(e._hidePassword,3e4));case 4:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"_hidePassword",(function(){e._hideTimer&&(clearTimeout(e._hideTimer),e._hideTimer=null),e.clearPassword()})),e}return(0,s.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.id!==e.id&&this._hidePassword()}},{key:"componentWillUnmount",value:function(){this._hidePassword()}},{key:"render",value:function(){var e=this;return p.default.createElement("div",{className:"show-password-row qa-show-password-row dl-inner-container"},this.state.passwordValue&&p.default.createElement(y.GlobalListener,{types:"keydown",onEsc:this._hidePassword}),p.default.createElement("dt",null,this.props.title?this.props.title:_("password")),this.props.isFromConnectedAccount&&this.props.isInVault?p.default.createElement("dd",null,(0,m.default)("vault.not-supported-for-glue-connect",{connectedAccountName:this.props.accountName})):p.default.createElement("dd",null,this.state.passwordValue?p.default.createElement(v.PasswordRevealed,{showHelperText:this.props.showHelperText,password:this.state.passwordValue}):p.default.createElement("div",null,p.default.createElement("div",{className:"btn react-button small btn-default show-password qa-show-password",onClick:this._handleReveal},this.props.isLoading?p.default.createElement(b.Spinner,{size:12}):p.default.createElement("i",{className:"fa fa-fw fa-eye"}),p.default.createElement("span",{className:"margin-xsmall-horizontal"},(0,m.default)("previews.show-password")))),p.default.createElement(g.CopyButton,{requiresAsyncCopy:this.props.isInVault,className:"copy-password-button qa-copy-password-button margin-xsmall-horizontal",loadSync:function(){return e.props.loadPasswordSync(e.props.id)},loadAsync:function(){return e.props.loadPasswordAsync(e.props.id)},onCopySuccess:this.props.onCopySuccess})))}}]),n}(p.default.Component);t.ShowPassword=w,(0,f.default)(w,"displayName","ShowPassword"),(0,f.default)(w,"propTypes",{id:h.default.stringOrNumber,loadPasswordAsync:h.default.func,loadPasswordSync:h.default.func,isLoading:h.default.bool,showDefaultCopyTooltip:h.default.bool,onCopySuccess:h.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EnterPassword=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=n(22),v=r(n(11)),g=n(591),y=n(592),b=p.default.createElement("span",{className:"passphrase-field-label"},p.default.createElement(m.Icon,{solid:!0,fw:!0,name:"shield-check"}),v.default.title("vault.passphrase")),_=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"state",{isApplying:!1,visible:!1,password:""}),(0,f.default)((0,u.default)(e),"show",(function(){return e.setState({visible:!0})})),(0,f.default)((0,u.default)(e),"hide",(function(){e.setState({password:"",visible:!1,error:"",isApplying:!1})})),(0,f.default)((0,u.default)(e),"_handleChange",(function(t){return e.setState({password:t,error:""})})),(0,f.default)((0,u.default)(e),"_isEmpty",(function(){return!e.state.password})),(0,f.default)((0,u.default)(e),"_handleApply",(0,o.default)(i.default.mark((function t(){var n,r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e._isEmpty()){t.next=2;break}return t.abrupt("return");case 2:return e.setState({isApplying:!0}),t.next=5,e.props.onApply(e.state.password);case 5:(null==(n=t.sent)?void 0:n.error)?e.setState({isApplying:!1,error:(null===(r=n.error)||void 0===r?void 0:r.message)||String(n.error)}):e.hide();case 7:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"_handleCancel",(function(){e.props.onCancel(),e.hide()})),e}return(0,s.default)(n,[{key:"render",value:function(){return this.props.showInPreview&&this.state.visible?p.default.createElement(g.EnterPasswordInPreview,{error:this.state.error,password:this.state.password,onChange:this._handleChange,onApply:this._handleApply,onCancel:this._handleCancel,isApplying:this.state.isApplying,isEmpty:this._isEmpty(),label:b}):p.default.createElement(y.EnterPasswordDialog,(e={attachToBody:this.props.attachDialogToBody,isApplying:this.state.isApplying,visible:this.state.visible,onCancel:this._handleCancel,onApply:this._handleApply,disableApplyButton:this._isEmpty(),error:this.state.error,label:b,password:this.state.password,onChange:this._handleChange},(0,f.default)(e,"onApply",this._handleApply),(0,f.default)(e,"onCancel",this._handleCancel),e));var e}}]),n}(p.default.Component);t.EnterPassword=_,(0,f.default)(_,"displayName","EnterPassword"),(0,f.default)(_,"propTypes",{onApply:h.default.func.isRequired,onCancel:h.default.func.isRequired,showInPreview:h.default.bool,attachDialogToBody:h.default.bool}),(0,f.default)(_,"defaultProps",{onCancel:function(){}})},function(e,t,n){"use strict";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.STEP=t.TOTPService=void 0;var i=r(n(3)),o=r(n(8));t.STEP=30,t.TOTPService=function t(){var r=this;if((0,i.default)(this,t),(0,o.default)(this,"subscribe",(function(e,t){if(e&&t)return r.onGenerate=t,r._onSecretChange(e),r.reset})),(0,o.default)(this,"unsubscribe",(function(){return r.reset()})),(0,o.default)(this,"reset",(function(){r.interval&&clearInterval(r.interval),r.currentTOTP="",r.remaining=void 0})),(0,o.default)(this,"_onSecretChange",(function(e){r.reset(),r._generate(e),r.interval=setInterval((function(){r._generate(e)}),1e3)})),(0,o.default)(this,"_generate",(function(e){if(r.onGenerate){var t=r.authenticator.generate(e),n=r.authenticator.timeRemaining();r.remaining=n,r.currentTOTP=t,r.onGenerate({totp:r.currentTOTP,remaining:r.remaining})}else r.reset()})),!e.buffer){var a=n(595).Buffer;e.buffer=a}var s=n(596).authenticator;this.authenticator=s,s.options={algorithm:"sha1",digits:6,encoding:"hex"},this.currentTOTP="",this.remaining=void 0}}).call(this,n(23))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Pin=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{pinned:!1}),(0,c.default)((0,a.default)(e),"_resize",(function(){e.state.pinned&&(e._unpin(),e._pin())})),(0,c.default)((0,a.default)(e),"_getContainerRect",(function(){return e.refs.container.getBoundingClientRect()})),(0,c.default)((0,a.default)(e),"_pin",(function(){var t=e._getContainerRect();e.setState({pinned:!0,position:"fixed",width:t.width,top:e.props.top,zIndex:e.props.zIndex||10}),e.refs.placeholder.style.paddingTop=t.height+"px",e.props.onPin&&e.props.onPin()})),(0,c.default)((0,a.default)(e),"_unpin",(function(){e.setState({pinned:!1,position:"",width:null,top:null,zIndex:1},e._position),e.refs.placeholder.style.paddingTop="",e.props.onUnpin&&e.props.onUnpin()})),(0,c.default)((0,a.default)(e),"_shouldPin",(function(){if(e.props.disablePinning)return!1;var t=e.refs.placeholder.parentNode.getBoundingClientRect(),n=e._getContainerRect();return!e.props.disabled&&(e.props.permanently||t.top<=e.props.top&&t.bottom>e.props.top+n.height)})),(0,c.default)((0,a.default)(e),"_position",(function(){if(!1!==e.props.visible&&(!e.props.disabled||e.state.pinned)){var t=e._shouldPin();e.state.pinned&&!t&&e._unpin(),!e.state.pinned&&t&&e._pin()}})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this._positionNow=this._position,this.props.permanently?this._pin(this.refs.container.getBoundingClientRect()):this.props.scrollContainer.addEventListener("scroll",this._position),this.props.scrollContainer.addEventListener("resize",this._resize)}},{key:"componentWillUnmount",value:function(){this.props.scrollContainer.removeEventListener("scroll",this._position),this.props.scrollContainer.removeEventListener("resize",this._resize),this.state.pinned&&this.refs.container&&this.refs.container.nextSibling&&(this.refs.container.nextSibling.style.marginTop="0")}},{key:"componentDidUpdate",value:function(e){e.disabled===this.props.disabled&&e.permanently===this.props.permanently||this._positionNow(),!e.disablePinning&&this.props.disablePinning&&this.state.pinned&&this._unpin()}},{key:"render",value:function(){if(!1===this.props.visible)return null;var e=(0,h.default)("react-pin__inner-container",this.props.className,this.state.pinned&&"pin");return f.default.createElement("div",{ref:"placeholder"},f.default.createElement("div",{className:e,style:this.state,ref:"container"},this.props.children))}}]),n}(f.default.Component);t.Pin=p,(0,c.default)(p,"propTypes",{children:d.default.node,className:d.default.string,disabled:d.default.bool,onPin:d.default.func,onUnpin:d.default.func,permanently:d.default.bool,top:d.default.number,visible:d.default.bool,disablePinning:d.default.bool,scrollContainer:d.default.any,zIndex:d.default.number}),(0,c.default)(p,"defaultProps",{scrollContainer:window})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.PreviewLightbox=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(84),p=n(40),m=r(n(12)),v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{visible:!!e.props.url,url:e.props.url||"",mime:e.props.mime||""}),(0,c.default)((0,a.default)(e),"show",(function(t,n){e.setState({visible:!0,url:t,mime:n},(function(){e.props.onShow&&e.props.onShow()}))})),(0,c.default)((0,a.default)(e),"_writeImageUrlToFrame",(function(t){t.body.innerHTML="\n            <style>\n                img {\n                    top: 50%;\n                    left: 50%;\n                    transform: translate(-50%, -50%);\n                    position: fixed;\n                    max-height: 100%;\n                    max-width: 100%;\n                }\n            </style>\n            <img src=".concat(e.state.url," />")})),(0,c.default)((0,a.default)(e),"_startPollingIframe",(function(){e.timer||(e.props.onPollStart&&e.props.onPollStart(),e.timer=setInterval((function(){try{var t=e.refs.iframe.contentDocument;"complete"===t.readyState&&"about:blank"!==t.location.href&&e._stopPollingIframe(),"complete"!==t.readyState||t.onkeydown||(e.props.naked||(t.onkeydown=e._handleGlobalKeydown,t.onclick=function(n){return e._handleFrameClick(t,n)}),e._isImage()&&t.body&&(e._stopPollingIframe(),e._writeImageUrlToFrame(t)))}catch(t){e._stopPollingIframe()}}),200))})),(0,c.default)((0,a.default)(e),"_handleGlobalKeydown",(function(t){(0,p.isEscKey)(t)&&e._close()})),(0,c.default)((0,a.default)(e),"_handleFrameClick",(function(t,n){n.target!==t.body&&n.target!==t&&n.target!==t.querySelector("html")||e._close()})),(0,c.default)((0,a.default)(e),"_stopPollingIframe",(function(){e.timer&&(clearInterval(e.timer),e.timer=null)})),(0,c.default)((0,a.default)(e),"_close",(function(){e._stopPollingIframe(),e.setState({visible:!1,url:null},(function(){e.props.onHide&&e.props.onHide()}))})),(0,c.default)((0,a.default)(e),"_isImage",(function(){return(e.state.mime||"").match(/image/i)})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.url!==e.url&&this.setState({url:e.url,mime:e.mime})}},{key:"componentDidUpdate",value:function(e,t){this.refs.iframe&&(t.url!==this.state.url||!t.visible&&this.state.visible)&&this._startPollingIframe(),!t.visible&&this.state.visible&&this.props.listenOn.addEventListener("keydown",this._handleGlobalKeydown),t.visible&&!this.state.visible&&this.props.listenOn.removeEventListener("keydown",this._handleGlobalKeydown)}},{key:"componentDidMount",value:function(){this.props.url&&this.props.mime&&this._startPollingIframe()}},{key:"componentWillUnmount",value:function(){this._stopPollingIframe(),this.props.listenOn.removeEventListener("keydown",this._handleGlobalKeydown)}},{key:"render",value:function(){var e=(0,m.default)("preview-lightbox",this.props.className),t=this._isImage()?null:this.state.url,n=f.default.createElement("iframe",{src:t,ref:"iframe",className:e,style:{background:"transparent",border:"none"}});return this.props.naked?n:f.default.createElement(h.Lightbox,{onClick:this._close,visible:this.state.visible},n)}}]),n}(f.default.Component);t.PreviewLightbox=v,(0,c.default)(v,"displayName","FileLightbox"),(0,c.default)(v,"propTypes",{naked:d.default.bool,className:d.default.string,url:d.default.string,mime:d.default.string,onShow:d.default.func,onHide:d.default.func,listenOn:d.default.object}),(0,c.default)(v,"defaultProps",{listenOn:window})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.RadioOption=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleChange",(function(){e.props.onChange&&e.props.onChange(e.props.value)})),e}return(0,o.default)(n,[{key:"render",value:function(){return f.default.createElement("div",{className:(0,h.default)(this.props.value,"radio-option",this.props.disabled&&"radio-option--disabled")},f.default.createElement("label",{className:"radio-option__label"},f.default.createElement("input",{disabled:this.props.disabled,onChange:this._handleChange,name:this.props.name,type:"radio",checked:this.props.checked,value:this.props.value}),this.props.label),this.props.checked?this.props.children:null)}}]),n}(f.default.Component);t.RadioOption=p,(0,c.default)(p,"displayName","RadioOption"),(0,c.default)(p,"propTypes",{checked:d.default.bool,children:d.default.node,disabled:d.default.bool,name:d.default.string,onChange:d.default.func,value:d.default.any})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SyncWidget",{enumerable:!0,get:function(){return r.SyncWidget}}),Object.defineProperty(t,"Row",{enumerable:!0,get:function(){return i.Row}}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return o.Header}}),Object.defineProperty(t,"AssetLink",{enumerable:!0,get:function(){return a.AssetLink}}),Object.defineProperty(t,"ContactLink",{enumerable:!0,get:function(){return s.ContactLink}}),Object.defineProperty(t,"LocationLink",{enumerable:!0,get:function(){return u.LocationLink}}),Object.defineProperty(t,"SyncedWith",{enumerable:!0,get:function(){return l.SyncedWith}}),Object.defineProperty(t,"IncludedItems",{enumerable:!0,get:function(){return c.IncludedItems}}),Object.defineProperty(t,"ShowNotesRow",{enumerable:!0,get:function(){return d.ShowNotesRow}}),Object.defineProperty(t,"OrganizationLink",{enumerable:!0,get:function(){return f.OrganizationLink}}),Object.defineProperty(t,"ExpirationBanner",{enumerable:!0,get:function(){return h.ExpirationBanner}}),Object.defineProperty(t,"ConfigurationInterfaces",{enumerable:!0,get:function(){return p.ConfigurationInterfaces}}),Object.defineProperty(t,"ConfigurationIcon",{enumerable:!0,get:function(){return m.ConfigurationIcon}}),Object.defineProperty(t,"ResourceLink",{enumerable:!0,get:function(){return v.ResourceLink}});var r=n(605),i=n(292),o=n(607),a=n(89),s=n(608),u=n(609),l=n(610),c=n(611),d=n(614),f=n(615),h=n(616),p=n(618),m=n(293),v=n(116)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Row=void 0;var i=r(n(1)),o=r(n(2)),a=r(n(12)),s=function(e){var t=e.children,n=e.className,r=e.title,o=e.value;return t||o?(o&&e.multiLineValue&&(o=o.split(/\r?\n/).map((function(e,t){return i.default.createElement("span",{className:"asset-row-value-line",key:t},e,i.default.createElement("br",null))}))),i.default.createElement("div",{className:(0,a.default)("asset-row",n)},i.default.createElement("span",{className:"asset-row-title"},r),i.default.createElement("span",{className:"asset-row-value"},t||o))):null};t.Row=s,s.displayName="Row",s.propTypes={title:o.default.string,className:o.default.string,value:o.default.oneOfType([o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.element])),o.default.string,o.default.element]),multiLineValue:o.default.bool}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationIcon=u;var i=r(n(1)),o=r(n(2)),a=n(22),s=n(71);function u(e){var t=e.name,n=e.kind,r=e.className;if(!t&&!n)return null;var o=(0,s.getConfigTypeIconClass)(t,n);return o?i.default.createElement(a.Icon,{name:o,className:r}):null}u.propTypes={name:o.default.string,kind:o.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.fromJSON=t.toJSON=t.getDayOfMonth=t.getIsAfterStartDate=t.getIsAfterYesterday=t.getDefaultSchedule=t.isValid=t.getSummary=t.willEndOnDate=t.willEndAfter=t.willNeverEnd=t.isLastDayOfMonth=t.isDayOfMonth=t.isMonthly=t.isWeekly=t.END_OPTIONS=t.MONTHLY_REPEAT_OPTIONS=t.FREQUENCY_OPTIONS=void 0;var i=r(n(9)),o=n(14),a=r(n(20)),s=r(n(11)),u=[{value:0,label:(0,s.default)("comp-scheduler.weekly")},{value:1,label:(0,s.default)("comp-scheduler.monthly")}];t.FREQUENCY_OPTIONS=u;var l=[{value:0,label:(0,s.default)("comp-scheduler.dayOfMonth")},{value:1,label:(0,s.default)("comp-scheduler.lastDayOfMonth")}];t.MONTHLY_REPEAT_OPTIONS=l;var c=[{value:0,label:(0,s.default)("comp-scheduler.never")},{value:1,label:(0,s.default)("comp-scheduler.after")},{value:2,label:(0,s.default)("comp-scheduler.on")}];t.END_OPTIONS=c;var d={MO:(0,i.default)().day(1).format("dddd"),TU:(0,i.default)().day(2).format("dddd"),WE:(0,i.default)().day(3).format("dddd"),TH:(0,i.default)().day(4).format("dddd"),FR:(0,i.default)().day(5).format("dddd"),SA:(0,i.default)().day(6).format("dddd"),SU:(0,i.default)().day(7).format("dddd")},f=function(e){return Object.keys(e.recurrence.weekdays).reduce((function(t,n){return e.recurrence.weekdays[n]&&t.push(n),t}),[])},h=function(e){return e.recurrence.every>1},p=function(e){return e.recurrence.frequency===u[0].value};t.isWeekly=p;var m=function(e){return e.recurrence.frequency===u[1].value};t.isMonthly=m;var v=function(e){return e.recurrence.monthlyRepeat===l[0].value};t.isDayOfMonth=v,t.isLastDayOfMonth=function(e){return e.recurrence.monthlyRepeat===l[1].value};var g=function(e){return e.recurrence.endOption===c[0].value};t.willNeverEnd=g;var y=function(e){return e.recurrence.endOption===c[1].value};t.willEndAfter=y;var b=function(e){return e.recurrence.endOption===c[2].value};t.willEndOnDate=b,t.getSummary=function(e){var t=(0,i.default)(e.datetime);return e.isRecurring?function(e){var t=e.datetime.format("h:mma"),n=function(e){return p(e)?h(e)?(0,s.default)("comp-scheduler.everyXWeeks",{x:e.recurrence.every}):(0,s.default)("comp-scheduler.weekly"):h(e)?(0,s.default)("comp-scheduler.everyXMonths",{x:e.recurrence.every}):(0,s.default)("comp-scheduler.monthly")}(e),r=function(e){return p(e)?function(e){return f(e).length>1}(e)?(0,s.default)("comp-scheduler.multipleDays"):d[function(e){return f(e)[0]}(e)]:v(e)?(0,s.default)("comp-scheduler.dayX",{x:e.datetime.date()}):(0,s.default)("comp-scheduler.lastDayOfMonth")}(e),i=function(e){return y(e)?(0,o.isNumber)(e.recurrence.endAfter)?(0,s.default)("comp-scheduler.endAfterXTimes",{x:e.recurrence.endAfter}):"":b(e)&&e.recurrence.endDate?(0,s.default)("comp-scheduler.endAfterDate",{date:e.recurrence.endDate.format("MMM DD, YYYY")}):""}(e);return(0,s.default)("comp-scheduler.getSummary",{timePart:t,frequencyPart:n,datePart:r,endPart:i})}(e):a.default.formatDateTimeString(t)},t.isValid=function(e){return function(e){return!e.isRecurring&&e.datetime.isAfter((0,i.default)())}(e)||function(e){var t=e.recurrence;return e.isRecurring&&t.every>0&&(p(e)&&(0,o.some)(t.weekdays,o.identity)||m(e))&&(g(e)||function(e){var t=e.recurrence;return b(e)&&t.endDate&&(0,o.isDate)(t.endDate.toDate())&&t.endDate.isAfter(e.datetime)}(e)||y(e)&&(0,o.isNumber)(t.endAfter)&&t.endAfter>1)}(e)};var _=function(e){var t=e||new Date,n=(0,i.default)(t).day(),r={every:1,frequency:u[0].value,weekdays:{MO:1===n,TU:2===n,WE:3===n,TH:4===n,FR:5===n,SA:6===n,SU:7===n},monthlyRepeat:l[0].value,endOption:c[0].value,endAfter:void 0,endDate:void 0};return{datetime:(0,i.default)(t).add(1.5,"h").minute(0).second(0),recurrence:r,isRecurring:!1}};t.getDefaultSchedule=_,t.getIsAfterYesterday=function(){var e=(0,i.default)().subtract(1,"day");return function(t){return t.isAfter(e)}},t.getIsAfterStartDate=function(e){return function(t){return t.isAfter(e)}},t.getDayOfMonth=function(e){return v(e)?(0,i.default)(e.datetime).date():-1};var w=function(e){return v(e)?[e.datetime.date()]:[-1]};t.toJSON=function(e){return{data:{type:"scheduled-tasks",attributes:{"start-at":e.datetime.toISOString(),frequency:e.isRecurring?{type:p(e)?"weekly":"monthly",on:p(e)?f(e):w(e),until:g(e)?void 0:e.recurrence.endDate&&e.recurrence.endDate.toISOString(),count:g(e)?void 0:e.recurrence.endAfter,interval:e.recurrence.every}:{type:"monthly",on:[e.datetime.date()],until:void 0,count:1,interval:1},enabled:!0,metadata:{}}}}},t.fromJSON=function(e){var t,n=e.attributes,r=_();return r.isRecurring=1!==n.frequency.count,r.datetime=(0,i.default)(n["start-at"]),r.isRecurring&&(r.recurrence={every:n.frequency.interval,frequency:(t=n.frequency.type,"WEEKLY"===t?u[0].value:u[1].value),weekdays:{MO:(0,o.contains)(n.frequency.on,"MO"),TU:(0,o.contains)(n.frequency.on,"TU"),WE:(0,o.contains)(n.frequency.on,"WE"),TH:(0,o.contains)(n.frequency.on,"TH"),FR:(0,o.contains)(n.frequency.on,"FR"),SA:(0,o.contains)(n.frequency.on,"SA"),SU:(0,o.contains)(n.frequency.on,"SU")},monthlyRepeat:(0,o.contains)(n.frequency.on,-1)?l[1].value:l[0].value,endOption:n.frequency.until?c[2].value:n.frequency.count?c[1].value:c[0].value,endAfter:n.frequency.count||void 0,endDate:n.frequency.until?(0,i.default)(n.frequency.until):void 0}),r.id=e.id,r}},function(e,t,n){"use strict";var r=n(296),i=n(32),o=n(29),a=n(9),s=n(16),u=n(623),l=n(628).default,c=Object.freeze({YEARS:"years",MONTHS:"months",DAYS:"days",TIME:"time"}),d=i,f=o({displayName:"DateTime",propTypes:{onFocus:d.func,onBlur:d.func,onChange:d.func,onViewModeChange:d.func,onNavigateBack:d.func,onNavigateForward:d.func,locale:d.string,utc:d.bool,displayTimeZone:d.string,input:d.bool,inputProps:d.object,timeConstraints:d.object,viewMode:d.oneOf([c.YEARS,c.MONTHS,c.DAYS,c.TIME]),isValidDate:d.func,open:d.bool,strictParsing:d.bool,closeOnSelect:d.bool,closeOnTab:d.bool},getInitialState:function(){this.checkTZ(this.props);var e=this.getStateFromProps(this.props);return void 0===e.open&&(e.open=!this.props.input),e.currentView=this.props.dateFormat?this.props.viewMode||e.updateOn||c.DAYS:c.TIME,e},parseDate:function(e,t){var n;return e&&"string"==typeof e?n=this.localMoment(e,t.datetime):e&&(n=this.localMoment(e)),n&&!n.isValid()&&(n=null),n},getStateFromProps:function(e){var t,n,r,i,o=this.getFormats(e),a=e.value||e.defaultValue;return t=this.parseDate(a,o),n=this.parseDate(e.viewDate,o),n=t?t.clone().startOf("month"):n?n.clone().startOf("month"):this.localMoment().startOf("month"),r=this.getUpdateOn(o),i=t?t.format(o.datetime):a.isValid&&!a.isValid()?"":a||"",{updateOn:r,inputFormat:o.datetime,viewDate:n,selectedDate:t,inputValue:i,open:e.open}},getUpdateOn:function(e){return e.date.match(/[lLD]/)?c.DAYS:-1!==e.date.indexOf("M")?c.MONTHS:-1!==e.date.indexOf("Y")?c.YEARS:c.DAYS},getFormats:function(e){var t={date:e.dateFormat||"",time:e.timeFormat||""},n=this.localMoment(e.date,null,e).localeData();return!0===t.date?t.date=n.longDateFormat("L"):this.getUpdateOn(t)!==c.DAYS&&(t.time=""),!0===t.time&&(t.time=n.longDateFormat("LT")),t.datetime=t.date&&t.time?t.date+" "+t.time:t.date||t.time,t},componentWillReceiveProps:function(e){var t=this.getFormats(e),n={};if(e.value===this.props.value&&t.datetime===this.getFormats(this.props).datetime||(n=this.getStateFromProps(e)),void 0===n.open&&(n.open=void 0!==e.open?e.open:(!this.props.closeOnSelect||this.state.currentView===c.TIME)&&this.state.open),e.viewMode!==this.props.viewMode&&(n.currentView=e.viewMode),e.locale!==this.props.locale){if(this.state.viewDate){var r=this.state.viewDate.clone().locale(e.locale);n.viewDate=r}if(this.state.selectedDate){var i=this.state.selectedDate.clone().locale(e.locale);n.selectedDate=i,n.inputValue=i.format(t.datetime)}}e.utc===this.props.utc&&e.displayTimeZone===this.props.displayTimeZone||(e.utc?(this.state.viewDate&&(n.viewDate=this.state.viewDate.clone().utc()),this.state.selectedDate&&(n.selectedDate=this.state.selectedDate.clone().utc(),n.inputValue=n.selectedDate.format(t.datetime))):e.displayTimeZone?(this.state.viewDate&&(n.viewDate=this.state.viewDate.clone().tz(e.displayTimeZone)),this.state.selectedDate&&(n.selectedDate=this.state.selectedDate.clone().tz(e.displayTimeZone),n.inputValue=n.selectedDate.tz(e.displayTimeZone).format(t.datetime))):(this.state.viewDate&&(n.viewDate=this.state.viewDate.clone().local()),this.state.selectedDate&&(n.selectedDate=this.state.selectedDate.clone().local(),n.inputValue=n.selectedDate.format(t.datetime)))),e.viewDate!==this.props.viewDate&&(n.viewDate=a(e.viewDate)),this.checkTZ(e),this.setState(n)},onInputChange:function(e){var t=null===e.target?e:e.target.value,n=this.localMoment(t,this.state.inputFormat),r={inputValue:t};return n.isValid()&&!this.props.value?(r.selectedDate=n,r.viewDate=n.clone().startOf("month")):r.selectedDate=null,this.setState(r,(function(){return this.props.onChange(n.isValid()?n:this.state.inputValue)}))},onInputKey:function(e){9===e.which&&this.props.closeOnTab&&this.closeCalendar()},showView:function(e){var t=this;return function(){t.state.currentView!==e&&t.props.onViewModeChange(e),t.setState({currentView:e})}},setDate:function(e){var t=this,n={month:c.DAYS,year:c.MONTHS};return function(r){t.setState({viewDate:t.state.viewDate.clone()[e](parseInt(r.target.getAttribute("data-value"),10)).startOf(e),currentView:n[e]}),t.props.onViewModeChange(n[e])}},subtractTime:function(e,t,n){var r=this;return function(){r.props.onNavigateBack(e,t),r.updateTime("subtract",e,t,n)}},addTime:function(e,t,n){var r=this;return function(){r.props.onNavigateForward(e,t),r.updateTime("add",e,t,n)}},updateTime:function(e,t,n,r){var i={},o=r?"selectedDate":"viewDate";i[o]=this.state[o].clone()[e](t,n),this.setState(i)},allowedSetTime:["hours","minutes","seconds","milliseconds"],setTime:function(e,t){var n,r=this.allowedSetTime.indexOf(e)+1,i=this.state,o=(i.selectedDate||i.viewDate).clone();for(o[e](t);r<this.allowedSetTime.length;r++)o[n=this.allowedSetTime[r]](o[n]());this.props.value||this.setState({selectedDate:o,inputValue:o.format(i.inputFormat)}),this.props.onChange(o)},updateSelectedDate:function(e,t){var n,r=e.currentTarget,i=0,o=this.state.viewDate,a=this.state.selectedDate||o;if(-1!==r.className.indexOf("rdtDay")?(-1!==r.className.indexOf("rdtNew")?i=1:-1!==r.className.indexOf("rdtOld")&&(i=-1),n=o.clone().month(o.month()+i).date(parseInt(r.getAttribute("data-value"),10))):-1!==r.className.indexOf("rdtMonth")?n=o.clone().month(parseInt(r.getAttribute("data-value"),10)).date(a.date()):-1!==r.className.indexOf("rdtYear")&&(n=o.clone().month(a.month()).date(a.date()).year(parseInt(r.getAttribute("data-value"),10))),n.hours(a.hours()).minutes(a.minutes()).seconds(a.seconds()).milliseconds(a.milliseconds()),this.props.value)this.props.closeOnSelect&&t&&this.closeCalendar();else{var s=!(this.props.closeOnSelect&&t);s||this.props.onBlur(n),this.setState({selectedDate:n,viewDate:n.clone().startOf("month"),inputValue:n.format(this.state.inputFormat),open:s})}this.props.onChange(n)},openCalendar:function(e){this.state.open||this.setState({open:!0},(function(){this.props.onFocus(e)}))},closeCalendar:function(){this.setState({open:!1},(function(){this.props.onBlur(this.state.selectedDate||this.state.inputValue)}))},handleClickOutside:function(){this.props.input&&this.state.open&&void 0===this.props.open&&!this.props.disableCloseOnClickOutside&&this.setState({open:!1},(function(){this.props.onBlur(this.state.selectedDate||this.state.inputValue)}))},localMoment:function(e,t,n){var r=null;return r=(n=n||this.props).utc?a.utc(e,t,n.strictParsing):n.displayTimeZone?a.tz(e,t,n.displayTimeZone):a(e,t,n.strictParsing),n.locale&&r.locale(n.locale),r},checkTZ:function(e){var t=console;!e.displayTimeZone||this.tzWarning||a.tz||(this.tzWarning=!0,t&&t.error('react-datetime: displayTimeZone prop with value "'+e.displayTimeZone+'" is used but moment.js timezone is not loaded.'))},componentProps:{fromProps:["value","isValidDate","renderDay","renderMonth","renderYear","timeConstraints"],fromState:["viewDate","selectedDate","updateOn"],fromThis:["setDate","setTime","showView","addTime","subtractTime","updateSelectedDate","localMoment","handleClickOutside"]},getComponentProps:function(){var e=this,t=this.getFormats(this.props),n={dateFormat:t.date,timeFormat:t.time};return this.componentProps.fromProps.forEach((function(t){n[t]=e.props[t]})),this.componentProps.fromState.forEach((function(t){n[t]=e.state[t]})),this.componentProps.fromThis.forEach((function(t){n[t]=e[t]})),n},overrideEvent:function(e,t){if(this.overridenEvents||(this.overridenEvents={}),!this.overridenEvents[e]){var n=this;this.overridenEvents[e]=function(r){var i;n.props.inputProps&&n.props.inputProps[e]&&(i=n.props.inputProps[e](r)),!1!==i&&t(r)}}return this.overridenEvents[e]},render:function(){var e="rdt"+(this.props.className?Array.isArray(this.props.className)?" "+this.props.className.join(" "):" "+this.props.className:""),t=[];if(this.props.input){var n=r({type:"text",className:"form-control",value:this.state.inputValue},this.props.inputProps,{onClick:this.overrideEvent("onClick",this.openCalendar),onFocus:this.overrideEvent("onFocus",this.openCalendar),onChange:this.overrideEvent("onChange",this.onInputChange),onKeyDown:this.overrideEvent("onKeyDown",this.onInputKey)});t=this.props.renderInput?[s.createElement("div",{key:"i"},this.props.renderInput(n,this.openCalendar,this.closeCalendar))]:[s.createElement("input",r({key:"i"},n))]}else e+=" rdtStatic";return(this.props.open||void 0===this.props.open&&this.state.open)&&(e+=" rdtOpen"),s.createElement(h,{className:e,onClickOut:this.handleClickOutside},t.concat(s.createElement("div",{key:"dt",className:"rdtPicker"},s.createElement(u,{view:this.state.currentView,viewProps:this.getComponentProps()}))))}}),h=l(o({render:function(){return s.createElement("div",{className:this.props.className},this.props.children)},handleClickOutside:function(e){this.props.onClickOut(e)}}));f.defaultProps={className:"",defaultValue:"",inputProps:{},input:!0,onFocus:function(){},onBlur:function(){},onChange:function(){},onViewModeChange:function(){},onNavigateBack:function(){},onNavigateForward:function(){},timeFormat:!0,timeConstraints:{},dateFormat:!0,strictParsing:!0,closeOnSelect:!1,closeOnTab:!0,utc:!1},f.moment=a,e.exports=f},function(e,t,n){"use strict";var r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function o(e){var t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e))),t.filter((function(t){return r.call(e,t)}))}e.exports=Object.assign||function(e,t){for(var n,r,a=i(e),s=1;s<arguments.length;s++){n=arguments[s],r=o(Object(n));for(var u=0;u<r.length;u++)a[r[u]]=n[r[u]]}return a}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ResultRow=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=n(71),p=n(117),m=n(118),v=r(n(11)),g=n(22),y=function(e){return(0,v.default)("asset-types."+e)},b={AccountsUser:{icon:"fa-user",name:y("user")},Attachment:{icon:"fa-paperclip",name:y("attachment")},Checklist:{icon:"fa-check",name:y("checklist")},ChecklistTemplate:{icon:"fa-check",name:y("checklist-template")},Configuration:{icon:"fa-terminal",name:y("configuration")},Contact:{icon:"fa-group",name:y("contact")},DattoDevice:{icon:"fa-life-ring",name:y("datto-device")},Document:{icon:"fa-file-o",name:y("document")},"Document::Folder":{icon:"fa-folder",name:y("document-folder")},Domain:{icon:"fa-globe",name:y("domain")},Empty:{icon:null,name:""},Location:{icon:"fa-map-marker",name:y("location")},Organization:{icon:"fa-home",name:y("organization")},Password:{icon:"fa-key",name:y("password")},SslCertificate:{icon:"fa-lock",name:y("ssl-certificate")},"StructuredData::Row":{icon:"fa-table",name:y("data-row")},"StructuredData::Table":{icon:"fa-table",name:y("data-row")},Ticket:{icon:"fa-ticket",name:y("ticket")}},_=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_preventNativeRedirect",(function(e){e.preventDefault()})),(0,c.default)((0,a.default)(e),"_displaySubtext",(function(t){var n="";return e.props.scope===m.Scopes.GLUE_CONNECT&&t.accountName?(n+=t.accountName,n+=t.orgName?" / ".concat(t.orgName):""):n=t.orgName,n})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props.destinationType,t={orgName:this.props.organizationName,accountName:this.props.accountName},r=n.getNameByClass(e),i=n.getIconByClass(e);switch(e){case"Configuration":i=(0,h.getConfigTypeIconClass)(this.props.configurationTypeName),r=this.props.configurationTypeName;break;case"StructuredData::Row":r=this.props.tableName,i="fa-"+this.props.icon;break;case"Document":this.props.isUploaded&&(i=(0,p.getFileIcon)(this.props.attachmentFileType,this.props.attachmentFileName),r=(0,p.getFileType)(this.props.attachmentFileType,this.props.attachmentFileName))}return d.default.createElement("a",{href:this.props.url,onClick:this._preventNativeRedirect,className:"react-result-row qa-react-result-row",title:this.props.hint},d.default.createElement("div",{className:"result-row-details qa-result-row-details no-wrap"},d.default.createElement("div",{className:"no-wrap result-row-primary-text qa-result-row-primary-text"},this.props.archived&&this.props.showArchiveIcon()&&d.default.createElement(g.Icon,{light:!0,className:"archived",name:"briefcase"}),this.props.hint),d.default.createElement("div",{className:"text-muted no-wrap result-row-secondary-text qa-result-row-secondary-text"},this._displaySubtext(t))),d.default.createElement("span",{className:"text-muted icon no-wrap result-row-type qa-result-row-type"},d.default.createElement("i",{className:"fa qa-result-row-type-icon fa-fw "+i}),r))}}]),n}(d.default.Component);t.ResultRow=_,(0,c.default)(_,"propTypes",{attachmentFileName:f.default.string,attachmentFileType:f.default.string,configurationTypeName:f.default.string,destinationType:f.default.string,hint:f.default.string,icon:f.default.string,tableName:f.default.string}),_.getIconByClass=function(e){return b[e]&&b[e].icon},_.getNameByClass=function(e){return b[e]&&b[e].name}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ContactLink=void 0;var i=r(n(1)),o=r(n(11)),a=n(25);t.ContactLink=function(e){var t=e["contact-id"],n=e["organization-id"],r=e["contact-name"];return t?i.default.createElement("div",{className:"dl-inner-container"},i.default.createElement("dt",null,(0,o.default)("contact")),i.default.createElement("dd",null,i.default.createElement("a",{target:"_blank",href:(0,a.addMainUrlToPath)("/".concat(n,"/contacts/").concat(t),e.mainUrl)},r))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ShowPasswordInVault=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(2)),m=r(n(1)),v=r(n(11)),g=r(n(36)),y=n(22),b=n(72),_=n(285),w=m.default.createElement("span",null,m.default.createElement("span",null,v.default.title("password")),m.default.createElement(y.Icon,{solid:!0,fw:!0,name:"shield-check"})),E=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"state",{}),(0,h.default)((0,l.default)(e),"_showValue",(function(t){if(e._resolveLoadPromise)return e._resolveLoadPromise(t),e._resolveLoadPromise=void 0,!0})),(0,h.default)((0,l.default)(e),"_handleCancel",(function(){e._resolveLoadPromise&&(e._resolveLoadPromise(!1),e._resolveLoadPromise=void 0)})),(0,h.default)((0,l.default)(e),"_isStoredInVault",(function(){var t,n,r;return e.props.isStoredInVault||!!(null===(t=e.props.password)||void 0===t||null===(n=t.attributes)||void 0===n?void 0:n["vault-id"])||!!(null===(r=e.props.password)||void 0===r?void 0:r.vaultId)})),(0,h.default)((0,l.default)(e),"_getPasswordValueGetter",(function(t){return delete e._getPasswordPromise,function(){return e._getPasswordPromise||(e._getPasswordPromise=new Promise(function(){var n=(0,a.default)(o.default.mark((function n(r,i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.props.loadPasswordAsync(t);case 2:(a=n.sent)?r(a):i("fail to get password value");case 4:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}())),e._getPasswordPromise}})),(0,h.default)((0,l.default)(e),"_loadAndTryToDecrypt",function(){var t=(0,a.default)(o.default.mark((function t(n){var r,i,a;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=new Promise((function(t){return e._resolveLoadPromise=t})),i=setTimeout((function(){e.setState({isLoading:!0})}),500),!e._isStoredInVault()){t.next=10;break}return t.next=5,e.vault.decrypt(e._getPasswordValueGetter(n));case 5:return clearTimeout(i),e.setState({isLoading:!1}),t.abrupt("return",r);case 10:return t.next=12,e.props.loadPasswordAsync(n);case 12:return a=t.sent,clearTimeout(i),e.setState({isLoading:!1}),t.abrupt("return",a);case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_getTitle",(function(){if(e._isStoredInVault())return w})),e}return(0,u.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.password!==e.password&&this.vault&&this.vault.hide()}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"show-password-in-vault"},m.default.createElement(_.ShowPassword,(0,i.default)({},this.props,{isLoading:this.state.isLoading,isInVault:this._isStoredInVault(),loadPasswordAsync:this._loadAndTryToDecrypt,title:this._getTitle()})),this.props.shouldShowVaultPassword()&&m.default.createElement(b.Vault,(0,i.default)({ref:function(t){return e.vault=t}},this.props,{onSuccess:this._showValue,onCancel:this._handleCancel,onCreateStart:this.props.onCreateVaultStart,onCreateEnd:this.props.onCreateVaultEnd})))}}]),n}(m.default.Component);t.ShowPasswordInVault=E,(0,h.default)(E,"displayName","ShowPasswordInVault"),(0,h.default)(E,"propTypes",{password:p.default.basicApiResource,getUserKey:p.default.func,getUserKeySet:p.default.func.isRequired,isStoredInVault:p.default.bool,loadPasswordAsync:p.default.func.isRequired,onError:p.default.func,onIncorrectPassword:p.default.func,shouldShowVaultPassword:p.default.func,showDefaultCopyTooltip:p.default.bool}),(0,h.default)(E,"defaultProps",{shouldShowVaultPassword:function(){return g.default.Features().VAULT}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(8)),s=function(){function e(t,n){var r=this;(0,i.default)(this,e),(0,a.default)(this,"_getKey",(function(){return r._storage.getItem(r._STORAGE_KEY)})),(0,a.default)(this,"_getKeyExpiry",(function(){var e;return null===(e=r._getKey())||void 0===e?void 0:e.expiry})),(0,a.default)(this,"_setKey",(function(e,t){if(!e||t<1)r._storage.setItem(r._STORAGE_KEY,null);else{var n=r._getKeyExpiry(),i=Date.now()+t,o=n||i;n&&i<n&&(o=i),r._storage.setItem(r._STORAGE_KEY,{key:e,expiry:o})}})),(0,a.default)(this,"setKey",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e?r._setKey(e,1e3*t):r._removeKey()})),(0,a.default)(this,"getKey",(function(){var e=r._getKey();if(e){if(!r._isExpired(e.expiry))return e.key;r._removeKey()}})),(0,a.default)(this,"_isExpired",(function(e){return!e||e<Date.now()})),(0,a.default)(this,"_removeKey",(function(){r._storage.removeItem(r._STORAGE_KEY)})),this._storage=t,this._STORAGE_KEY=n}return(0,o.default)(e,[{key:"reset",value:function(){this._removeKey()}}]),e}();t.Cache=s},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.isSupported=function(){try{return window&&window.crypto&&window.crypto.subtle&&window.crypto.subtle.encrypt&&window.crypto.subtle.decrypt&&window.crypto.subtle.exportKey&&window.crypto.subtle.importKey&&window.crypto.subtle.deriveKey&&window.crypto.subtle.generateKey&&window.crypto.subtle.wrapKey&&window.crypto.subtle.unwrapKey&&window.crypto.getRandomValues&&TextEncoder&&TextDecoder&&Uint8Array}catch(e){return!1}},t.decrypt=function(e,t,n){return y.apply(this,arguments)},t.encrypt=function(e,t,n){return g.apply(this,arguments)},t.exportKey=function(e){return d.apply(this,arguments)},t.generateIV=function(){return window.crypto.getRandomValues(new Uint8Array(12))},t.generateKey=function(){return l.apply(this,arguments)},t.generateRSAKeyPair=function(){return c.apply(this,arguments)},t.generateSalt=function(){return window.crypto.getRandomValues(new Uint8Array(32))},t.importKey=function(e){return f.apply(this,arguments)},t.pbkdf2=function(e,t){return u.apply(this,arguments)},t.unwrapKey=function(e,t){return p.apply(this,arguments)},t.unwrapKeyWithIV=function(e,t,n){return v.apply(this,arguments)},t.wrapKey=function(e,t){return h.apply(this,arguments)},t.wrapKeyWithIV=function(e,t,n){return m.apply(this,arguments)},t.PBKDF2_DEFAULT_ITERATIONS=void 0;var i=r(n(17)),o=r(n(18));function a(e){return s.apply(this,arguments)}function s(){return(s=(0,o.default)(i.default.mark((function e(t){var n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new TextEncoder,e.abrupt("return",window.crypto.subtle.importKey("raw",n.encode(t),{name:"PBKDF2"},!1,["deriveKey"]));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(){return(u=(0,o.default)(i.default.mark((function e(t,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(t);case 2:return e.abrupt("return",window.crypto.subtle.deriveKey({name:"PBKDF2",hash:"SHA-256",salt:n,iterations:1e5},e.sent,{name:"AES-GCM",length:256},!0,["wrapKey","unwrapKey"]));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return(l=(0,o.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.generateKey({name:"AES-GCM",length:256},!0,["encrypt","decrypt"]));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function c(){return(c=(0,o.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.generateKey({name:"RSA-OAEP",modulusLength:4096,publicExponent:new Uint8Array([1,0,1]),hash:"SHA-256"},!0,["wrapKey","unwrapKey"]));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(){return(d=(0,o.default)(i.default.mark((function e(t){var n,r=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:"jwk",e.abrupt("return",window.crypto.subtle.exportKey(n,t));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(){return(f=(0,o.default)(i.default.mark((function e(t){var n,r=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.length>1&&void 0!==r[1]?r[1]:"jwk",e.abrupt("return",window.crypto.subtle.importKey(n,t,{name:"RSA-OAEP",hash:"SHA-256"},!0,["wrapKey"]));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function h(){return(h=(0,o.default)(i.default.mark((function e(t,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.wrapKey("jwk",t,n,{name:"RSA-OAEP"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(){return(p=(0,o.default)(i.default.mark((function e(t,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.unwrapKey("jwk",t,n,{name:"RSA-OAEP"},{name:"AES-GCM"},!0,["encrypt","decrypt"]));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(){return(m=(0,o.default)(i.default.mark((function e(t,n,r){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.wrapKey("jwk",t,n,{name:"AES-GCM",iv:r}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return(v=(0,o.default)(i.default.mark((function e(t,n,r){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",window.crypto.subtle.unwrapKey("jwk",t,n,{name:"AES-GCM",iv:r},{name:"RSA-OAEP",hash:"SHA-256"},!0,["unwrapKey"]));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return(g=(0,o.default)(i.default.mark((function e(t,n,r){var o,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=new TextEncoder,a=o.encode(t),e.abrupt("return",window.crypto.subtle.encrypt({name:"AES-GCM",iv:r},n,a));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(){return(y=(0,o.default)(i.default.mark((function e(t,n,r){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.crypto.subtle.decrypt({name:"AES-GCM",iv:r},n,t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.PBKDF2_DEFAULT_ITERATIONS=1e5},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.VaultPasswordEditForm=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(1)),p=r(n(11)),m=r(n(2)),v=n(35),g=n(30),y=n(650),b=n(303),_=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"displayName","VaultPasswordEditForm"),(0,f.default)((0,u.default)(e),"state",{error:void 0,isSaving:!1}),(0,f.default)((0,u.default)(e),"submit",(0,o.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e._handleSave());case 1:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"reset",(function(){e.setState({password:void 0,confirmPassword:void 0}),e.props.onCancel()})),(0,f.default)((0,u.default)(e),"_validate",(function(){return!(0,y.isEmpty)(e.state.password)&&(0,y.isMatching)(e.state.password,e.state.confirmPassword)?{}:{error:(0,p.default)("vault.passphrases-dont-match")}})),(0,f.default)((0,u.default)(e),"_handleSave",(0,o.default)(i.default.mark((function t(){var n,r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e._validate(),r=n.error){t.next=10;break}return e.setState({isSaving:!0}),t.next=5,e.props.onSave(e.state.password);case 5:return o=t.sent,e.setState({isSaving:!1}),t.abrupt("return",o);case 10:return e.setState({error:r}),t.abrupt("return",!1);case 12:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"_resetError",(function(){return e.setState({error:void 0})})),(0,f.default)((0,u.default)(e),"_handlePasswordChange",(function(t){e.setState({password:t}),e._handleChange()})),(0,f.default)((0,u.default)(e),"_handleConfirmPasswordChange",(function(t){e.setState({confirmPassword:t}),e._handleChange()})),(0,f.default)((0,u.default)(e),"_handleChange",(function(){e._resetError(),e.props.onChange()})),(0,f.default)((0,u.default)(e),"_isSaveDisabled",(function(){return e.state.isSaving||(0,y.isEmpty)(e.state.password)||(0,y.isEmpty)(e.state.confirmPassword)})),(0,f.default)((0,u.default)(e),"_getErrorMessage",(function(){return e.props.errorMessage||e.state.error})),e}return(0,s.default)(n,[{key:"render",value:function(){var e=this;return h.default.createElement("div",{className:"vault-password-edit-form"},h.default.createElement("div",{className:"enter-vault-password"},h.default.createElement(v.FormTextField,{type:"password",showRevealOption:!0,className:"vault-password display-block margin-top-medium-vertical",label:h.default.createElement(b.LabelWithVaultIcon,{label:this.props.passwordLabel}),value:this.state.password,ref:function(t){return e.password=t},onChange:this._handlePasswordChange,errorMessage:this._getErrorMessage(),validations:["required"],validationKey:"passphrase"})),h.default.createElement("div",{className:"enter-vault-password confirm-vault-password"},h.default.createElement(v.FormTextField,{type:"password",showRevealOption:!0,className:"vault-password display-block margin-top-medium-vertical",label:h.default.createElement(b.LabelWithVaultIcon,{label:this.props.confirmPasswordLabel}),value:this.state.confirmPassword,ref:function(t){return e.confirmPassword=t},onChange:this._handleConfirmPasswordChange,errorMessage:this._getErrorMessage(),validations:["required"],validationKey:(0,p.default)("vault.confirm-passphrase")})),!this.props.hideButtons&&h.default.createElement(g.LoaderButton,{value:(0,p.default)("cancel"),className:"cancel-button",onClick:this.reset,disabled:this._isSaveDisabled()}),!this.props.hideButtons&&h.default.createElement(g.LoaderButton,{className:"green qa-save-vault-password-button save-vault-password-button",onClick:this._handleSave,disabled:this._isSaveDisabled()},this.props.saveButtonLabel))}}]),n}(h.default.Component);t.VaultPasswordEditForm=_,(0,f.default)(_,"propTypes",{onSave:m.default.func.isRequired,saveButtonLabel:m.default.string.isRequired,errorMessage:m.default.string,onCancel:m.default.func,onChange:m.default.func,passwordLabel:m.default.string,confirmPasswordLabel:m.default.string}),(0,f.default)(_,"defaultProps",{onCancel:function(){},onChange:function(){},passwordLabel:(0,p.default)("vault.enter-passphrase"),confirmPasswordLabel:(0,p.default)("vault.confirm-passphrase"),saveButtonLabel:p.default.title("vault.set-passphrase")})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.LabelWithVaultIcon=function(e){var t=e.label;return i.default.createElement("span",{className:"vault-icon-label"},i.default.createElement(o.Icon,{solid:!0,fw:!0,name:"shield-check"}),i.default.createElement("span",{className:"vault-icon-label__text"},t))};var i=r(n(1)),o=n(22)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfirmMessage=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(11)),h=n(30),p=n(264),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{visible:!1,title:"",body:""}),(0,c.default)((0,a.default)(e),"show",(function(t){var n=t.title,r=t.body;e.props.showInPreview?e.setState({visible:!0,title:n,body:r}):e.confirm.show({title:n,body:r,hideCancelButton:!0,onConfirm:e.props.onCancel,onCancel:e.props.onCancel})})),(0,c.default)((0,a.default)(e),"hide",(function(){e.setState({visible:!1,title:"",body:""})})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this;return this.props.showInPreview?this.state.visible?d.default.createElement("div",{className:"confirm-message-preview"},d.default.createElement("div",{className:"confirm-message-preview-inner"},d.default.createElement("div",{className:"confirm-message-preview-title"},this.state.title),d.default.createElement("hr",null),d.default.createElement("div",{className:"confirm-message-preview-body"},this.state.body),d.default.createElement("div",{className:"confirm-message-btn-container"},d.default.createElement(h.LoaderButton,{tabIndex:"2",className:"ok-button default qa-ok-button",value:f.default.title("ok"),onClick:this.hide})))):null:d.default.createElement(p.Confirm,{ref:function(t){return e.confirm=t}})}}]),n}(d.default.Component);t.ConfirmMessage=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.LocationLink=void 0;var i=r(n(1)),o=r(n(11)),a=n(25);t.LocationLink=function(e){var t=e["location-id"],n=e["organization-id"],r=e["location-name"];return t?i.default.createElement("div",{className:"dl-inner-container preview-row-location-link"},i.default.createElement("dt",null,(0,o.default)("location")),i.default.createElement("dd",null,i.default.createElement("a",{target:"_blank",href:(0,a.addMainUrlToPath)("/".concat(n,"/locations/").concat(t),e.mainUrl)},r))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Check=void 0;var i=r(n(1));t.Check=function(e){return e.checked?i.default.createElement("div",{className:"dl-inner-container"},i.default.createElement("dt",null,e.title),i.default.createElement("dd",null,i.default.createElement("i",{className:"fa fa-fw fa-check"}))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DateRow=void 0;var i=r(n(1)),o=n(20);t.DateRow=function(e){if(!e.value)return null;var t="expired"===e.expirationStatus?"color-red":"soon"===e.expirationStatus?"color-orange":"";return i.default.createElement("div",{className:"dl-inner-container preview-row-date"},i.default.createElement("dt",null,e.title),i.default.createElement("dd",null,i.default.createElement("span",{className:t},e.value&&(0,o.formatDateString)(e.value))))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ExpirationBanner=void 0;var i=r(n(1)),o=r(n(12)),a=r(n(9)),s=n(20),u=r(n(11));t.ExpirationBanner=function(e){if(!e.status||!e.expiryDate)return null;var t="expired"===e.status?(0,u.default)("expired-on",{name:e.name,dateAt:(0,s.formatDateString)(e.expiryDate)}):(0,u.default)("will-expire",{name:e.name,dateAt:(0,a.default)(e.expiryDate).fromNow()});return i.default.createElement("div",{className:(0,o.default)("simple-alert","expired"===e.status?"background-red":"soon"===e.status?"background-orange2":null)},i.default.createElement("span",null,t))}},function(e,t,n){"use strict";var r=n(0)(n(9)),i=n(1),o=n(14),a=n(28),s=n(20).formatBytes,u=new RegExp("^c$|/","i");t.calculateDiskUsage=function(e){var t=e.attributes.disks;if(t&&t.length>0){var n=t.filter((function(e){return u.test(e.name)}))[0]||t[0];return(100*n.used/n.total).toPrecision(3)}},t.calculateMemoryUsage=function(e){return o.isNumber(e.attributes["memory-total"])?s(e.attributes["memory-total"],3,1e3):null},t.warrantyRemaining=function(e){var t=new Date;return t=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),e.attributes["warranty-expires-at"]?r.default.duration((0,r.default)(e.attributes["warranty-expires-at"]).diff((0,r.default)(t))).asMilliseconds():null},t.getOsIcon=function(e,n){if(e&&null!==n)switch(e[n]&&e[n].attributes["platform-name"]){case"Windows":return t.getFaIcon("fa-windows");case"Linux":return t.getFaIcon("fa-linux");case"Unix":return i.createElement("span",{className:"label label-default"},"UNIX");case"macOS":return t.getFaIcon("fa-apple");case"VMware":return t.getFaIcon("fa-square");case"Citrix":return t.getFaIcon("fa-cloud");default:return null}return null},t.getFaIcon=function(e){return i.createElement("i",{className:"fa fa-fw text-medium ".concat(e)})},t.default=function(e){if(!e||!e.body||!e.body.data)return e;var n=e.body.included,r=n?o.object(n.map((function(e){return e.relationships.configuration.data.id})),n):{},i=e.body.data.map((function(e){var n=r[e.id],i=a(e);return n&&(Object.keys(n.attributes).forEach((function(e){return i=i.set(["attributes","rmm-"+e],n.attributes[e])})),i=i.set(["attributes","rmm-disk-usage"],t.calculateDiskUsage(n)).set(["attributes","rmm-memory-total-string"],t.calculateMemoryUsage(n))),i.set(["attributes","warranty-remaining"],t.warrantyRemaining(e)).end()}));return a.set(e,["body","data"],i)}},function(e,t,n){"use strict";t.__esModule=!0,t.default={nbsp:"\xa0"}},function(e,t,n){"use strict";function r(e){this.named=e}t.__esModule=!0;var i=/^#[xX]([A-Fa-f0-9]+)$/,o=/^#([0-9]+)$/,a=/^([A-Za-z0-9]+)$/;r.prototype.parse=function(e){if(e){var t=e.match(i);return t?"&#x"+t[1]+";":(t=e.match(o))?"&#"+t[1]+";":(t=e.match(a))?this.named[t[1]]||"&"+t[1]+";":void 0}},t.default=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(666);function i(e,t){this.delegate=e,this.entityParser=t,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}i.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},tokenizePart:function(e){for(this.input+=(0,r.preprocessInput)(e);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},consumeCharRef:function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column,this.delegate.tagOpen&&this.delegate.tagOpen()},states:{beforeData:function(){"<"===this.peek()?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var e=this.peek();"<"===e?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===e?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e))},tagOpen:function(){var e=this.consume();"!"===e?this.state="markupDeclaration":"/"===e?this.state="endTagOpen":(0,r.isAlpha)(e)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(e.toLowerCase()))},markupDeclaration:function(){"-"===this.consume()&&"-"===this.input.charAt(this.index)&&(this.consume(),this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.state="commentStartDash":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(e),this.state="comment")},commentStartDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var e=this.consume();"-"===e?this.state="commentEndDash":this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.state="commentEnd":(this.delegate.appendToCommentData("-"+e),this.state="comment")},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+e),this.state="comment")},tagName:function(){var e=this.consume();(0,r.isSpace)(e)?this.state="beforeAttributeName":"/"===e?this.state="selfClosingStartTag":">"===e?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();(0,r.isSpace)(e)?this.consume():"/"===e?(this.state="selfClosingStartTag",this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},attributeName:function(){var e=this.peek();(0,r.isSpace)(e)?(this.state="afterAttributeName",this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.state="beforeAttributeValue",this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();(0,r.isSpace)(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="selfClosingStartTag"):"="===e?(this.consume(),this.state="beforeAttributeValue"):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();(0,r.isSpace)(e)?this.consume():'"'===e?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):this.delegate.appendToAttributeValue("&"===e?this.consumeCharRef('"')||"&":e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):this.delegate.appendToAttributeValue("&"===e?this.consumeCharRef("'")||"&":e)},attributeValueUnquoted:function(){var e=this.peek();(0,r.isSpace)(e)?(this.delegate.finishAttributeValue(),this.consume(),this.state="beforeAttributeName"):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.state="beforeData"):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();(0,r.isSpace)(e)?(this.consume(),this.state="beforeAttributeName"):"/"===e?(this.consume(),this.state="selfClosingStartTag"):">"===e?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var e=this.consume();(0,r.isAlpha)(e)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(e.toLowerCase()))}}},t.default=i},function(e,t,n){"use strict";t.__esModule=!0;var r,i=(r=n(312))&&r.__esModule?r:{default:r};function o(e,t){this.token=null,this.startLine=1,this.startColumn=0,this.options=t||{},this.tokenizer=new i.default(this,e)}o.prototype={tokenize:function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},tokenizePart:function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(e){this.token.chars+=e},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(e){this.token.chars+=e},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(e){this.token.tagName+=e},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(e){this._currentAttribute[0]+=e},beginAttributeValue:function(e){this._currentAttribute[2]=e},appendToAttributeValue:function(e){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=e},finishAttributeValue:function(){}},t.default=o},function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n(91),i=function(e){this.j=[],this.T=e||null};i.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[1];if(this.test(e,n[0]))return r}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var o=(0,r.inherits)(i,(function(e){this.j=[],this.T=e||null}),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),a=(0,r.inherits)(i,(function(e){this.j=[],this.T=e||null}),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});t.CharacterState=o,t.TokenState=a,t.stateify=function(e,t,n,r){for(var i=0,a=e.length,s=t,u=[],l=void 0;i<a&&(l=s.next(e[i]));)s=l,i++;if(i>=a)return[];for(;i<a-1;)l=new o(r),u.push(l),s.on(e[i],l),s=l,i++;return l=new o(n),u.push(l),s.on(e[a-1],l),u}},function(e,t,n){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.GallerySection=void 0;var i=r(n(1));t.GallerySection=function(e){return i.default.createElement("div",{className:"react-gallery-section margin-large-vertical"},e.images&&e.images.map((function(e,t){return i.default.createElement("div",{key:t,className:"thumbnail"},i.default.createElement("img",{alt:e.name,src:e.thumbnailSrc}))})))}},function(e,t,n){"use strict";t.SectionTypes={GALLERY:"Document::Gallery",TEXT:"Document::Text",HEADING:"Document::Heading",STEP:"Document::Step"}},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StatefulTable=void 0;var o=i(n(19)),a=i(n(113)),s=i(n(17)),u=i(n(18)),l=i(n(3)),c=i(n(4)),d=i(n(10)),f=i(n(5)),h=i(n(6)),p=i(n(7)),m=i(n(8)),v=i(n(1)),g=n(683),y=i(n(74)),b=i(n(2)),_=n(20),w=i(n(14)),E=i(n(68)),C=n(114),A=r(n(698)),k=r(n(44));function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var x=function(e){(0,f.default)(r,e);var t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.default)(e);if(t){var i=(0,p.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,h.default)(this,n)}}(r);function r(){var e;(0,l.default)(this,r);for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return e=n.call.apply(n,[this].concat(i)),(0,m.default)((0,d.default)(e),"state",A.initialState),(0,m.default)((0,d.default)(e),"getSavedColumnsSettings",(function(){if(e.props.assetName&&r.getFromLocalStorage(e.props.assetName))try{return JSON.parse(r.getFromLocalStorage(e.props.assetName))}catch(e){}})),(0,m.default)((0,d.default)(e),"_handleHashChange",(function(){e.refs.table&&e._parseUrlHash()})),(0,m.default)((0,d.default)(e),"_getTableSettingCacheKey",(function(){return"table-setting-for-"+e._getStorageKey()})),(0,m.default)((0,d.default)(e),"_parseUrlHashOrReadCache",(0,u.default)(s.default.mark((function t(){var n;return s.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=C.PropsToUrlWatcher.parseHash()).partial||n.filters||n.sortBy){t.next=8;break}return t.next=4,E.default.get(e._getTableSettingCacheKey());case 4:if(t.t0=t.sent,t.t0){t.next=7;break}t.t0={};case 7:n=t.t0;case 8:return t.abrupt("return",n);case 9:case"end":return t.stop()}}),t)})))),(0,m.default)((0,d.default)(e),"_parseUrlHash",(0,u.default)(s.default.mark((function t(){var n,r,i,o,u,l,c,d;return s.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e._parseUrlHashOrReadCache();case 2:r=((n=t.sent).filters||[]).map((function(t){return new y.default(t,e.props.columns)})),e.initializeFilters(n.partial||"",r),e.props.sortBy?e.initializeSortBy(n.partial||"",[e.props.sortBy]):(i=A.initialState.sortBy,n.sortBy&&(o=n.sortBy.split(":"),u=(0,a.default)(o,2),l=u[0],c=u[1],(d=e.props.columns.find((function(e){return e.name.toLowerCase()===l.toLowerCase()})))&&(i=[{column:d.name,asc:"asc"===c}])),e.initializeSortBy(n.partial||"",i)),e.props.onFinishedParsingUrlHash&&e.props.onFinishedParsingUrlHash();case 7:case"end":return t.stop()}}),t)})))),(0,m.default)((0,d.default)(e),"onApplyColumns",(function(t){var n=t.map((function(e){return w.default.omit(e,"width")}));e.onDismissCustomizeColumns(),e.setColumns(n),e.props.allowHorizontalScrolling?e.resetColumnWidths(e.refs.table.getResizableWidth()):e._adjustColumnWidths()})),(0,m.default)((0,d.default)(e),"getFilteredRows",(function(){return e.state.filteredRows})),(0,m.default)((0,d.default)(e),"getSelectedRows",(function(){return e.state.filteredRows.filter((function(t){return t.id in e.state.checkedIds}))})),(0,m.default)((0,d.default)(e),"_handleBulkAction",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.getSelectedRows(),r=w.default.find(e.props.bulkActions,{id:t});if(!r||!r.validate||!1!==r.validate(n))switch(t){case"edit":e.setBulkEditing(!0);break;default:e.props.onBulkAction(t,n)}})),(0,m.default)((0,d.default)(e),"_handleColumnResize",(function(t,n){e.adjustColumnWidth(t,n),e.setIsResizing(!1)})),(0,m.default)((0,d.default)(e),"_handleColumnResizeStart",(function(){e._adjustColumnWidths(),e.setIsResizing(!0)})),(0,m.default)((0,d.default)(e),"_adjustColumnWidths",(function(){var t=w.default.object(w.default.pluck(e.state.visibleColumns,"name"),e.refs.table.getColumnWidths());e.setColumnWidths(t,e.refs.table.getResizableWidth())})),(0,m.default)((0,d.default)(e),"_getStorageKey",(function(){return(e.props.cacheKey||e.props.assetName)+"-"+(0,_.getOrgId)()+"-cache"})),(0,m.default)((0,d.default)(e),"_onFilter",(function(){if(e.props.onFilter){var t,n,r,i=!!((null===(t=e.state.filters)||void 0===t?void 0:t.length)>0||(null===(n=e.state)||void 0===n||null===(r=n.partial)||void 0===r?void 0:r.raw));e.props.onFilter(i)}})),(0,m.default)((0,d.default)(e),"_cacheStateForlUrl",(function(t){e.props.useFilterCache&&E.default.set(e._getTableSettingCacheKey(),t)})),(0,m.default)((0,d.default)(e),"getRowIndex",(function(t){return e.state.filteredRows.findIndex((function(e){return e.id===t}))})),(0,m.default)((0,d.default)(e),"generateCsv",function(){var t=(0,u.default)(s.default.mark((function t(n){return s.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.refs.table.generateCsv(n);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,m.default)((0,d.default)(e),"saveColumns",(function(t){r.saveToLocalStorage(t,JSON.stringify(e.state.columns))})),e}return(0,c.default)(r,[{key:"UNSAFE_componentWillMount",value:(t=(0,u.default)(s.default.mark((function e(){var t=this;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this._adjustColumnWidths=w.default.throttle(this._adjustColumnWidths,50),this.receiveRows=function(e){return t.setState((function(t){return A.receiveRows(t,e)}))},this.set=function(e,n){return t.setState((function(t){return A.set(t,e,n)}))},this.resetColumnWidths=function(e){return t.setState((function(n){return A.resetColumnWidths(n,e,t.props.allowHorizontalScrolling)}))},this.setColumns=function(e){return t.setState((function(t){return A.setColumns(t,e)}))},this.setColumnWidths=function(e,n){return t.setState((function(r){return A.setColumnWidths(r,e,n,t.props.allowHorizontalScrolling)}))},this.setColumnOrder=function(e){return t.setState((function(t){return A.setColumnOrder(t,e)}))},this.setColumnEnums=function(e){return t.setState((function(t){return A.setColumnEnums(t,e)}))},this.setInput=function(e){return t.setState((function(t){return A.setInput(t,e)}))},this.setIsResizing=function(e){return t.setState((function(t){return A.setResizing(t,e)}))},this.onFilterFocus=function(){t.state.suggestionBoxVisible||t.setState((function(e){return A.showSuggestionBox(e,!0)}))},this.onFilterBlur=function(){t.state.suggestionBoxVisible&&t.setState((function(e){return A.showSuggestionBox(e,!1)}))},this.onFilterAddTag=function(e){return t.setState((function(t){return A.addFilter(t,e)}))},this.onFilterDeleteTag=function(e){return t.setState((function(t){return A.deleteFilter(t,e)}))},this.onFilterDeleteAllTags=function(){return t.setState((function(e){return A.deleteAllFilters(e)}))},this.onColumnClick=function(e){return t.setState((function(t){return A.sortRowsBy(t,e)}))},this.onCustomizeColumns=function(){return t.setState((function(e){return A.customizingColumns(e,!0)}))},this.onDismissCustomizeColumns=function(){return t.setState((function(e){return A.customizingColumns(e,!1)}))},this.onCheckAllChange=function(e){return t.setState((function(t){return A.checkAll(t,e)}))},this.onCheckRowChange=function(e,n){return t.setState((function(t){return A.checkRow(t,e,n)}))},this.adjustColumnWidth=function(e,n){return t.setState((function(r){return A.adjustColumnWidth(r,e,n,t.refs.table.getResizableWidth(),t.props.allowHorizontalScrolling)}))},this.initializeFilters=function(e,n){return t.setState((function(t){return A.initializeFilters(t,e,n)}))},this.initializeSortBy=function(e,n){return t.setState((function(t){return A.initializeSortBy(t,e,n)}))},this.setVisibleColumns=function(e){return t.setState((function(t){return A.setVisibleColumns(t,e)}))},this.setState((function(e){return A.initialize(e,t.props.columns,t.props.rows||[])}));case 25:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._adjustColumnWidths),window.removeEventListener("hashchange",this._handleHashChange),this.setState=function(){}}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this._adjustColumnWidths),window.addEventListener("hashchange",this._handleHashChange),this.props.syncToUrl&&this._parseUrlHash();var e=this.getSavedColumnsSettings(),t=this.refs.table.getResizableWidth();if(e){this.setVisibleColumns(w.default.pluck(e.filter((function(e){return e.show})),"name")),this.setColumnOrder(w.default.pluck(e,"name"));var n=w.default.object(w.default.pluck(e,"name"),w.default.pluck(e,"width"));this.setColumnWidths(n,t)}else this.resetColumnWidths(t);e&&e.map((function(e){return e.name})).sort().join("")!==this.props.columns.map((function(e){return e.name})).sort().join("")&&this.onApplyColumns(this.props.columns)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n,r=this;(0,_.onTransition)(this.props,e,"bulkActions",(function(){return 0===r.props.bulkActions.length&&r._adjustColumnWidths})),(0,_.onTransition)(this.props,e,"columns",this.setColumnEnums),(0,_.onTransition)(this.props,e,"encryptionKey",(function(e){return r._loadCache(e)})),(0,_.onTransition)(this.props,e,"rows",(function(e){return r.receiveRows(e)})),(null===(t=this.props.sortBy)||void 0===t?void 0:t.column)!==(null===(n=e.sortBy)||void 0===n?void 0:n.column)&&this.onColumnClick(e.sortBy.column)}},{key:"componentDidUpdate",value:function(e,t){var n=this;(0,_.onTransition)(t,this.state,"columns",(function(){n.props.assetName&&t.columns&&n.saveColumns(n.props.assetName)})),(0,_.onTransition)(t,this.state,"filteredRows",(function(){n.props.onFilteredRowsChange&&n.props.onFilteredRowsChange(n.state.filteredRows)})),(0,_.onTransition)(t,this.state,"filters",(function(){n._onFilter()})),(0,_.onTransition)(t,this.state,"partial",(function(){n._onFilter()}))}},{key:"render",value:function(){var e=this.state,t=e.partial,n=this.props.totalRowCount||this.props.rows.length;return v.default.createElement(g.TableWithFilters,(0,o.default)({ref:"table"},this.props,this.state,{noUserSelect:e.resizing,onBulkAction:this._handleBulkAction,onCheckAllChange:this.onCheckAllChange,onCheckRowChange:this.onCheckRowChange,onColumnClick:this.onColumnClick,onColumnResizeStart:this._handleColumnResizeStart,onColumnResize:this._handleColumnResize,onCustomizeColumns:this.onCustomizeColumns,set:this.set,totalRowCount:n,showRowCountSpinner:this.props.isLoading||this.props.rows.length!==n,showRowsLoadingSpinner:this.props.isLoading&&0===this.props.rows.length,suggestionBox:e.suggestionBoxVisible&&e.suggestionBox||null,suggestions:this.props.filterSuggestions(t,e.suggestions),onApplyColumns:this.onApplyColumns,onCancelColumns:this.onDismissCustomizeColumns,defaultColumns:this.props.columns,onFilterChange:this.setInput,onFilterBlur:this.onFilterBlur,onFilterFocus:this.onFilterFocus,onFilterDeleteTag:this.onFilterDeleteTag,onFilterAddTag:this.onFilterAddTag,onFilterDeleteAllTags:this.onFilterDeleteAllTags,filterPartial:t,filterTags:this.state.filters,onReplaceUrl:this._cacheStateForlUrl,watch:this.state.stateForUrl}),this.props.children)}}],[{key:"saveToLocalStorage",value:function(e,t){localStorage&&localStorage.setItem(e,t)}},{key:"getFromLocalStorage",value:function(e){return localStorage.getItem(e)}}]),r}(v.default.Component);t.StatefulTable=x,(0,m.default)(x,"displayName","StatefulTable"),(0,m.default)(x,"propTypes",{itemContext:b.default.objectOf(b.default.shape({access:b.default.resourceAccesses})),allowHorizontalScrolling:b.default.bool,bulkActions:b.default.arrayOf(b.default.bulkAction),assetName:b.default.string,columns:b.default.columns,rows:b.default.basicApiResources,onBulkAction:b.default.func,bulkEditTemplate:b.default.node,filterPlaceholder:b.default.string,filterSuggestions:b.default.func,useCache:b.default.bool,cacheKey:b.default.string,onCacheSet:b.default.func,onCacheGet:b.default.func,onFilter:b.default.func,pinPermanently:b.default.bool,scrollContainer:b.default.any,useFilterCache:b.default.bool,sortBy:b.default.sortField}),(0,m.default)(x,"mergeTags",y.default.merge),(0,m.default)(x,"Tag",y.default),(0,m.default)(x,"defaultProps",{filterSuggestions:function(e,t){return t},allowHorizontalScrolling:!1,useCache:!0,syncToUrl:!0,rows:[],useFilterCache:!0}),x.ColumnHelpers=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,m.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},k)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ToggleButton=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.props.disabled||e.props.onToggle()})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=(0,h.default)("toggle-button qa-toggle-button",this.props.className,this.props.size,this.props.on&&"on",this.props.disabled&&"disabled");return f.default.createElement("div",{className:e,onClick:this._handleClick},f.default.createElement("div",{className:"knob"}))}}]),n}(f.default.Component);t.ToggleButton=p,(0,c.default)(p,"displayName","ToggleButton"),(0,c.default)(p,"propTypes",{disabled:d.default.bool.affectsRendering,on:d.default.bool.affectsRendering,onToggle:d.default.func.isRequired,size:d.default.string}),(0,c.default)(p,"defaultProps",{size:"medium"})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(12)),h=n(38),p=n(288),m=n(14),v=r(n(2)),g=n(691),y=r(n(57)),b=n(692),_=n(693),w=n(694),E=n(696),C=n(49),A=n(97),k=d.default.createElement(g.Row,null),S=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleColumnClick",(function(t){!1!==e.props.columns[t].sortable&&e.props.onColumnClick(e.props.columns[t].name)})),(0,c.default)((0,a.default)(e),"getColumnWidths",(function(){var t=Array.prototype.slice.call(e.refs.headerRow.querySelectorAll("th")).map((function(e){return e.offsetWidth}));return e.props.supportsBulkActions&&(t=t.slice(1)),t})),(0,c.default)((0,a.default)(e),"getResizableWidth",(function(){if(!e.refs.tableContainer)return null;var t=e.refs.tableContainer.offsetWidth;return e.props.supportsBulkActions&&(t-=50),t})),(0,c.default)((0,a.default)(e),"_handleMobileSort",(function(t){e.props.onColumnClick(t.name)})),(0,c.default)((0,a.default)(e),"_updateHeadScrollPosition",(function(){"head"!==e.scrollingElement&&(e.scrollingElement="body",e._head.scrollLeft=e._body.scrollLeft,e._onScrollComplete())})),(0,c.default)((0,a.default)(e),"_updateBodyScrollPosition",(function(){"body"!==e.scrollingElement&&(e.scrollingElement="head",e._body.scrollLeft=e._head.scrollLeft,e._onScrollComplete())})),(0,c.default)((0,a.default)(e),"_onScrollComplete",(function(){e.scrollingElement=null})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this._onScrollComplete=(0,m.debounce)(this._onScrollComplete,200)}},{key:"render",value:function(){var e=this,t=(this.props.supportsBulkActions?1:0)+this.props.columns.length;return d.default.createElement("div",{className:this.props.allowHorizontalScrolling?"horizontal-scrolling":""},d.default.createElement("div",{ref:"tableContainer",className:(0,f.default)("react-table qa-react-table",this.props.className,this.props.supportsBulkActions&&"has-bulk-actions")},d.default.createElement(p.Pin,{top:this.props.pinTop,permanently:this.props.pinPermanently,className:"position-relative",visible:!0,disablePinning:this.props.disablePinToTop,scrollContainer:this.props.scrollContainer},this.props.children,d.default.createElement("div",{className:"react-table-head qa-react-table-head"},d.default.createElement("div",{className:"table-scrollable-panel",onScroll:this._updateBodyScrollPosition,ref:function(t){return e._head=t}},d.default.createElement("table",{className:"react-table-inner",ref:"head"},d.default.createElement("thead",null,d.default.createElement("tr",{ref:"headerRow"},this.props.supportsBulkActions&&d.default.createElement(_.BulkActionCell,{onBulkAction:this.props.onBulkAction,numSelected:this.props.numSelected,visibleRowCount:this.props.visibleRowCount,checkedIds:this.props.checkedIds,onChange:this.props.onCheckAllChange,items:this.props.items,bulkActions:this.props.bulkActions}),y.default.mobile?d.default.createElement(E.MobileSortOptions,{columns:this.props.columns.filter((function(e){return e.label})),onItemSelected:this._handleMobileSort}):this.props.columns.map((function(t,n){return d.default.createElement(w.HeaderCell,{key:n,sortedBy:e.props.sortedBy,template:t.headerCellTemplate||e.props.headerCellTemplate,columns:e.props.columns,tableWidth:e.getResizableWidth(),index:n,column:t,onClick:e._handleColumnClick,onColumnResizeStart:e.props.onColumnResizeStart,onColumnResize:e.props.onColumnResize,allowHorizontalScrolling:e.props.allowHorizontalScrolling})})))))))),d.default.createElement(h.If,{condition:this.props.isPending,debounce:this.props.isPending},d.default.createElement("div",{className:"text-align-center bumper-medium-top"},d.default.createElement(C.DotLoader,{dark:!0}))),d.default.createElement("div",{className:"react-table-body qa-react-table-body position-relative"},d.default.createElement("div",{className:"table-scrollable-panel",onScroll:this._updateHeadScrollPosition,ref:function(t){return e._body=t}},d.default.createElement("table",{onDragOver:this.props.onDragOver,onDrop:this.props.onDrop,onDragEnter:this.props.onDragEnter,onDragLeave:this.props.onDragLeave,className:"react-table-inner",ref:"body"},d.default.createElement("thead",null,d.default.createElement("tr",null,this.props.supportsBulkActions&&d.default.createElement(_.BulkActionCell,{renderEmpty:!0}),this.props.columns.map((function(t,n){return d.default.createElement(w.HeaderCell,{key:n,template:t.headerCellTemplate||e.props.headerCellTemplate,sortedBy:e.props.sortedBy,columns:e.props.columns,column:t,index:n,renderEmpty:!0})})))),d.default.createElement(b.TableBody,{items:this.props.items,rowTemplate:k,cellTemplate:this.props.cellTemplate,columns:this.props.columns,numColumns:t,itemContext:this.props.itemContext,supportsBulkActions:this.props.supportsBulkActions,onBulkAction:this.props.onBulkAction,getKeyFromItem:this.props.getKeyFromItem,checkedIds:this.props.checkedIds,onCheckRowChange:this.props.onCheckRowChange,scrollContainer:this.props.scrollContainer,batchSize:this.props.batchSize}))))))}}]),n}(d.default.Component);t.Table=S,(0,c.default)(S,"sortList",A.sortList),(0,c.default)(S,"propTypes",{cellTemplate:v.default.any,checkedIds:v.default.object,children:v.default.node,columns:v.default.columns.isRequired,filter:v.default.string,getKeyFromItem:v.default.func,getValueFromItem:v.default.func,hasMore:v.default.bool,headerCellTemplate:v.default.any,itemContext:v.default.object,items:v.default.array.isRequired,numSelected:v.default.number,onCheckAllChange:v.default.func,onCheckRowChange:v.default.func,onColumnClick:v.default.func,isPending:v.default.bool,scrollContainer:v.default.any,sortedBy:v.default.arrayOf(v.default.sortField),supportsBulkActions:v.default.bool,disablePinToTop:v.default.bool,onFilter:v.default.func,pinPermanently:v.default.bool}),(0,c.default)(S,"defaultProps",{getValueFromItem:function(e,t){return"id"===t?e.id:e.attributes[t]},getKeyFromItem:function(e){return e.id},pinTop:50,pinPermanently:!1,scrollContainer:window})},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.NameEditField=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(10)),u=i(n(5)),l=i(n(6)),c=i(n(7)),d=i(n(8)),f=r(n(1)),h=i(n(12)),p=n(35),m=n(22),v=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{name:e.props.name||"",errorMessage:""}),(0,d.default)((0,s.default)(e),"_handleNameChange",(function(t){e.setState({name:t})})),(0,d.default)((0,s.default)(e),"_handleValidationErrors",(function(t,n){e.setState({errorMessage:n})})),(0,d.default)((0,s.default)(e),"_handleApply",(function(){return e.refs.name.validate()&&e.props.onApply(e.state.name),!1})),(0,d.default)((0,s.default)(e),"_handleBlur",(function(){e.props.hideOnBlur&&e.props.onCancel()})),e}return(0,a.default)(n,[{key:"render",value:function(){return f.default.createElement("div",{className:"name-edit-field position-relative"},f.default.createElement(p.FormTextField,{ref:"name",className:(0,h.default)("margin-none width-full-percent",this.props.className),errorMessage:this.state.errorMessage,onValidationError:this._handleValidationErrors,validationKey:"name",validationLabel:this.props.isFolder?"folder name":"file name",validations:["required","maxLength=100"],value:this.state.name,autoFocus:!0,onEnter:this._handleApply,onEsc:this.props.onCancel,onBlur:this._handleBlur,onChange:this._handleNameChange}),f.default.createElement("span",{className:(0,h.default)(!this.state.errorMessage&&this.state.name&&"color-green")},f.default.createElement(m.Icon,{className:"cursor-pointer position-absolute-vertical-middle name-edit-field-apply__icon",onMouseDown:this._handleApply,name:"check-circle"})))}}]),n}(f.Component);t.NameEditField=v,(0,d.default)(v,"defaultProps",{hideOnBlur:!0})},function(e,t,n){"use strict";var r=n(11);t.TypeToUrlKey={checklists:"checklists",configurations:"configurations",networks:"networks",passwords:"passwords",tickets:"tickets"},t.TypeToTitle={checklists:r.title("checklist_plural"),configurations:r.title("configuration_plural"),networks:r.title("network-glue.network_plural"),passwords:r.title("password_plural"),tickets:r.title("tickets.ticket_plural")},t.TypeToSingular={configurations:"configuration",passwords:"password"},t.TypeToPlural={password:"passwords",document:"documents"}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Triangle=a;var i=r(n(1)),o=r(n(2));function a(e){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:e.viewBox},i.default.createElement("path",{fill:e.fillColor,fillRule:"evenodd",d:"M5.833 8.333L10 12.5l4.167-4.167z"}))}a.displayName="Triangle",a.propTypes={fillColor:o.default.string,height:o.default.string,viewBox:o.default.string,width:o.default.string},a.defaultProps={fillColor:"#FFF",height:"20",viewBox:"0 0 20 20",width:"20"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findFirstInvalidStep=void 0,t.findFirstInvalidStep=function(e){for(var t=0;t<e.length;t++)for(var n=0;n<e[t].length;n++)if(!e[t][n])return{group:t,step:n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Orientations=void 0,t.Orientations={Horizontal:0,Vertical:1}},function(e,t,n){"use strict";var r=n(716),i=n(717);e.exports=function(e,t,n){var o,a=new XMLHttpRequest;if("string"!=typeof e)throw new TypeError("The method must be a string.");if("string"!=typeof t)throw new TypeError("The URL/path must be a string.");if(null==n&&(n={}),"object"!=typeof n)throw new TypeError("Options must be an object (or null).");for(var s in e=e.toUpperCase(),n.headers=n.headers||{},(o=/^([\w-]+:)?\/\/([^\/]+)/.exec(t))&&o[2]!=location.host||(n.headers["X-Requested-With"]="XMLHttpRequest"),n.qs&&(t=i(t,n.qs)),n.json&&(n.body=JSON.stringify(n.json),n.headers["content-type"]="application/json"),a.open(e,t,!1),n.headers)a.setRequestHeader(s.toLowerCase(),n.headers[s]);a.send(n.body?n.body:null);var u={};return a.getAllResponseHeaders().split("\r\n").forEach((function(e){var t=e.split(":");t.length>1&&(u[t[0].toLowerCase()]=t.slice(1).join(":").trim())})),new r(a.status,u,a.responseText)}},function(e,t,n){"use strict";var r=n(718),i=n(719),o=n(329);e.exports={formats:o,parse:i,stringify:r}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),o=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:o,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],o=i.obj[i.prop],a=Object.keys(o),s=0;s<a.length;++s){var u=a[s],l=o[u];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:o,prop:u}),n.push(l))}return function(e){for(var t;e.length;){var n=e.pop();if(t=n.obj[n.prop],Array.isArray(t)){for(var r=[],i=0;i<t.length;++i)void 0!==t[i]&&r.push(t[i]);n.obj[n.prop]=r}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",r=0;r<t.length;++r){var o=t.charCodeAt(r);45===o||46===o||95===o||126===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?n+=t.charAt(r):o<128?n+=i[o]:o<2048?n+=i[192|o>>6]+i[128|63&o]:o<55296||o>=57344?n+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o]:(o=65536+((1023&o)<<10|1023&t.charCodeAt(r+=1)),n+=i[240|o>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o])}return n},isBuffer:function(e){return null!=e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(Array.isArray(t))t.push(n);else{if("object"!=typeof t)return[t,n];(i.plainObjects||i.allowPrototypes||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if("object"!=typeof t)return[t].concat(n);var a=t;return Array.isArray(t)&&!Array.isArray(n)&&(a=o(t,i)),Array.isArray(t)&&Array.isArray(n)?(n.forEach((function(n,o){r.call(t,o)?t[o]&&"object"==typeof t[o]?t[o]=e(t[o],n,i):t.push(n):t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return t[o]=r.call(t,o)?e(t[o],a,i):a,t}),a)}}},function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";var r,i=n(0),o=i(n(17)),a=i(n(18)),s=n(124),u=n(65),l=n(127),c=n(54).buildUrl;t.Types=s({ORG_SET:null,ORG_UNSET:null,ORG_APPEND:null,ORG_RESET:null,ORG_TOGGLE:null,ORG_SORT:null,ORG_INCREMENT:null,ORG_SET_ORGANIZATIONS:null,ORG_UPDATE_ORGANIZATIONS:null,ORG_DELETE_ORGANIZATIONS:null,ORG_APPEND_ORGANIZATIONS:null,ORG_SET_TYPES:null,ORG_SET_STATUSES:null,ORG_SET_FAVORITES:null,ORG_ADD_FAVORITE:null}),t.urls={organizations:"/organizations",favorites:"/users/{userId}/relationships/favorite_organizations",organization:"/organizations/{id}",bulkEdit:"/organizations",bulkDelete:"/organizations",organizationType:"/organization_types",organizationStatus:"/organization_statuses"},t.set=l.setActionCreator(t.Types.ORG_SET_ORGANIZATIONS),t.append=l.appendActionCreator(t.Types.ORG_APPEND_ORGANIZATIONS),t.setOrganizations=t.set.bind(null,["organizations"]),t.setFavOrganizations=t.set.bind(null,["favourites"]),t.appendOrganizations=t.append.bind(null,["organizations"]),t.setMeta=t.set.bind(null,["meta"]),t.setCurrentOrganization=t.set.bind(null,["currentOrganization"]),t.getFormattedUrl=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function(){return r+c(t.urls[e],n,(function(e){switch(e){case"includeOrganization":return["include=organization"];default:return[]}}))}},t.setApiRequester=function(e){r=e},t.loadOrganizations=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:50;return function(){var l=(0,a.default)(o.default.mark((function a(l){var c;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,l(r("GET","organizations",{filters:e,sort:n,pageNumber:i,pageSize:s},null));case 2:return(c=o.sent).error?l(t.set(["error"],u.parseErrorResponse(c))):(l(i>1?t.appendOrganizations(c.body.data):t.setOrganizations(c.body.data)),l(t.setMeta(c.body.meta))),o.abrupt("return",u.getFormattedResponse(c));case 5:case"end":return o.stop()}}),a)})));return function(e){return l.apply(this,arguments)}}()},t.loadFavorites=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"name";return function(){var s=(0,a.default)(o.default.mark((function a(s){var l;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,s(r("GET","favorites",{userId:e,filters:n,sort:i,includeOrganization:!0},null));case 2:return(l=o.sent).error?s(t.set(["error"],u.parseErrorResponse(l))):(t.sortFavouritesByName(l,i),s(t.setFavOrganizations(l.body.included||[]))),o.abrupt("return",u.getFormattedResponse(l));case 5:case"end":return o.stop()}}),a)})));return function(e){return s.apply(this,arguments)}}()},t.loadMoreOrganizations=function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"name";return function(){var n=(0,a.default)(o.default.mark((function n(a,s){var u,l;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(u=s().organizations.meta["next-page"],l=s().organizations.meta["current-page"],!(e||!u||u<=l)){n.next=6;break}return n.abrupt("return",{error:null,status:200,body:{data:[]}});case 6:return n.abrupt("return",a(t.loadOrganizations(r,i,u)));case 7:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}()},t.deleteOrganizations=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(r("DELETE","bulkDelete",{id:e},null));case 2:return(a=n.sent).error?i(t.set(["error"],u.parseErrorResponse(a))):i({type:t.Types.ORG_DELETE_ORGANIZATIONS,id:e}),n.abrupt("return",u.getFormattedResponse(a));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.updateOrganizations=function(e,n){return function(){var i=(0,a.default)(o.default.mark((function i(a){var s;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,a(r("PATCH","bulkUpdate",{id:e},n));case 2:return(s=i.sent).error?a(t.set(["error"],u.parseErrorResponse(s))):a({type:t.Types.PASSWORD_UPDATE,data:s.body.data}),i.abrupt("return",u.getFormattedResponse(s));case 5:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},t.loadOrganization=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(r("GET","organization",{id:e},null));case 2:return(a=n.sent).error?i(t.set(["error"],u.parseErrorResponse(a))):i(t.set(["currentOrganization"],a.body.data)),n.abrupt("return",u.getFormattedResponse(a));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.loadOrganizationTypes=function(){return function(){var e=(0,a.default)(o.default.mark((function e(n){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(t.requestApiJson("GET","organizationType",{},null));case 2:return(r=e.sent).error?n(t.set(["error"],u.parseErrorResponse(r))):n({type:t.Types.ORG_SET_TYPES,data:r.body.data}),e.abrupt("return",u.getFormattedResponse(r));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},t.createOrganizationType=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(r){var i,a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={data:{type:"organization_types",attributes:{name:e}}},n.next=3,r(t.requestApiJson("POST","organizationType",{},i));case 3:return(a=n.sent).error&&r(t.set(["error"],u.parseErrorResponse(a))),n.abrupt("return",a.body);case 6:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.loadOrganizationStatuses=function(){return function(){var e=(0,a.default)(o.default.mark((function e(n){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(t.requestApiJson("GET","organizationStatus",{},null));case 2:(r=e.sent).error?n(t.set(["error"],u.parseErrorResponse(r))):n({type:t.Types.ORG_SET_STATUSES,data:r.body.data}),u.getFormattedResponse(r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},t.createOrganizationStatus=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(r){var i,a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return i={data:{type:"organization_statuses",attributes:{name:e}}},n.next=3,r(t.requestApiJson("POST","organizationStatus",{},i));case 3:return(a=n.sent).error&&r(t.set(["error"],u.parseErrorResponse(a))),n.abrupt("return",a.body);case 6:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.sortFavouritesByName=function(e,t){if(t&&-1!==!t.indexOf("name")&&e.body.included){var n="name"===t;return e.body.included.sort((function(e,t){var r=e.attributes.name.toUpperCase(),i=t.attributes.name.toUpperCase();return r>i?n?1:-1:r<i?n?-1:1:0}))}},t.reset=function(){return{type:t.Types.ORG_RESET}}},function(e,t,n){"use strict";var r,i=n(0),o=i(n(17)),a=i(n(18)),s=n(124),u=n(65),l=n(127),c=n(54).buildUrl;t.Types=s({PASSWORD_DELETE:null,PASSWORD_APPEND:null,PASSWORDS_APPEND:null,PASSWORD_UPDATE:null,PASSWORD_SET:null,PASSWORD_MASK:null,PASSWORD_RESET:null}),t.urls={passwords:"/passwords",password:"/passwords/{id}",passwordCategories:"/password_categories"},t.getFormattedUrl=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function(){return r+c(t.urls[e],n,(function(e,t){switch(e){case"showPassword":return["show_password="+t];default:return[]}}))}},t.setApiRequester=function(e){r=e},t.loadPasswords=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:50;return function(){var c=(0,a.default)(o.default.mark((function a(c){var d;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,c(r("GET","passwords",{filters:e,pageNumber:s,sort:n,showPassword:i,pageSize:l},null));case 2:return(d=o.sent).error?c(t.set(["error"],u.parseErrorResponse(d))):(c(s>1?t.appendPasswords(d.body.data):t.set(["passwords"],d.body.data)),c(t.set(["meta"],d.body.meta))),o.abrupt("return",u.getFormattedResponse(d));case 5:case"end":return o.stop()}}),a)})));return function(e){return c.apply(this,arguments)}}()},t.bulkUpdate=function(e,n){return function(){var i=(0,a.default)(o.default.mark((function i(a){var s;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,a(r("PATCH","passwords",{filters:e},n));case 2:return(s=i.sent).error&&a(t.set(["error"],u.parseErrorResponse(s))),i.abrupt("return",u.getFormattedResponse(s));case 5:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},t.bulkDelete=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(r("DELETE","passwords",{filters:{id:e.join(",")}}));case 2:return(a=n.sent).error&&i(t.set(["error"],u.parseErrorResponse(a))),n.abrupt("return",u.getFormattedResponse(a));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.loadMorePasswords=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name";return function(){var r=(0,a.default)(o.default.mark((function r(i,a){var s,u;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(s=a().passwords.meta["next-page"],u=a().passwords.meta["current-page"],s&&!(s<=u)){r.next=6;break}return r.abrupt("return",{error:null,status:200,body:{data:[]}});case 6:return r.abrupt("return",i(t.loadPasswords(e,n,!1,s)));case 7:case"end":return r.stop()}}),r)})));return function(e,t){return r.apply(this,arguments)}}()},t.loadPassword=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(){var i=(0,a.default)(o.default.mark((function i(a){var s;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,a(r("GET","password",{id:e,showPassword:n},null));case 2:return(s=i.sent).error?a(t.set(["error"],u.parseErrorResponse(s))):a(t.set(["currentPassword"],s.body.data)),i.abrupt("return",u.getFormattedResponse(s));case 5:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},t.loadPasswordCategories=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"name";return function(){var n=(0,a.default)(o.default.mark((function n(i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(r("GET","passwordCategories",{sort:e},null));case 2:return(a=n.sent).error?i(t.set(["error"],u.parseErrorResponse(a))):i(t.set(["passwordCategories"],a.body.data)),n.abrupt("return",u.getFormattedResponse(a));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.deletePassword=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(r("DELETE","password",{id:e},null));case 2:return(a=n.sent).error?i(t.set(["error"],u.parseErrorResponse(a))):i({type:t.Types.PASSWORD_DELETE,id:e}),n.abrupt("return",u.getFormattedResponse(a));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.updatePassword=function(e,n){return function(){var i=(0,a.default)(o.default.mark((function i(a){var s;return o.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,a(r("PATCH","password",{id:e},n));case 2:return(s=i.sent).error?a(t.set(["error"],u.parseErrorResponse(s))):a({type:t.Types.PASSWORD_UPDATE,data:s.body.data}),i.abrupt("return",u.getFormattedResponse(s));case 5:case"end":return i.stop()}}),i)})));return function(e){return i.apply(this,arguments)}}()},t.addPassword=function(e){return function(){var n=(0,a.default)(o.default.mark((function n(i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(r("POST","passwords",{},e));case 2:return(a=n.sent).error?i(t.set(["error"],u.parseErrorResponse(a))):i({type:t.Types.PASSWORD_APPEND,data:a.body.data}),n.abrupt("return",u.getFormattedResponse(a));case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.maskPassword=function(){return{type:t.Types.PASSWORD_MASK}},t.getFormattedPassword=function(e){return e.password=e.password?e.password:void 0,{data:{type:"passwords",id:e.id,attributes:e}}},t.reset=function(){return{type:t.Types.PASSWORD_RESET}},t.set=l.setActionCreator(t.Types.PASSWORD_SET),t.append=l.appendActionCreator(t.Types.PASSWORDS_APPEND),t.appendPasswords=t.append.bind(null,["passwords"])},function(e,t,n){"use strict";n.r(t);var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o={type:"logger",log:function(e){this._output("log",e)},warn:function(e){this._output("warn",e)},error:function(e){this._output("error",e)},_output:function(e,t){console&&console[e]&&console[e].apply(console,Array.prototype.slice.call(t))}},a=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.init(t,n)}return e.prototype.init=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||o,this.options=t,this.debug=!1!==t.debug},e.prototype.setDebug=function(e){this.debug=e},e.prototype.log=function(){this.forward(arguments,"log","",!0)},e.prototype.warn=function(){this.forward(arguments,"warn","",!0)},e.prototype.error=function(){this.forward(arguments,"error","")},e.prototype.deprecate=function(){this.forward(arguments,"warn","WARNING DEPRECATED: ",!0)},e.prototype.forward=function(e,t,n,r){r&&!this.debug||("string"==typeof e[0]&&(e[0]=n+this.prefix+" "+e[0]),this.logger[t](e))},e.prototype.create=function(t){return new e(this.logger,r({prefix:this.prefix+":"+t+":"},this.options))},e}()),s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.observers={}}return e.prototype.on=function(e,t){var n=this;e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}))},e.prototype.off=function(e,t){var n=this;this.observers[e]&&this.observers[e].forEach((function(){if(t){var r=n.observers[e].indexOf(t);r>-1&&n.observers[e].splice(r,1)}else delete n.observers[e]}))},e.prototype.emit=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&this.observers[e].forEach((function(e){e.apply(void 0,n)})),this.observers["*"]&&this.observers["*"].forEach((function(t){var r;t.apply(t,(r=[e]).concat.apply(r,n))}))},e}();function u(e){return null==e?"":""+e}function l(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function c(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(!e)return{};var o=r(i.shift());!e[o]&&n&&(e[o]=new n),e=e[o]}return e?{obj:e,k:r(i.shift())}:{}}function d(e,t,n){var r=c(e,t,Object);r.obj[r.k]=n}function f(e,t){var n=c(e,t),r=n.obj;if(r)return r[n.k]}function h(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function m(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return p[e]})):e}var v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};g(this,t);var i=y(this,e.call(this));return i.data=n,i.options=r,i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var i=n[r],o=Object.getOwnPropertyDescriptor(t,i);o&&o.configurable&&void 0===e[i]&&Object.defineProperty(e,i,o)}}(e,t))}(t,e),t.prototype.addNamespaces=function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)},t.prototype.removeNamespaces=function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)},t.prototype.getResource=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.keySeparator||this.options.keySeparator;void 0===i&&(i=".");var o=[e,t];return n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split(".")),f(this.data,o)},t.prototype.addResource=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),d(this.data,a,r),i.silent||this.emit("added",e,t,n,r)},t.prototype.addResources=function(e,t,n){for(var r in n)"string"==typeof n[r]&&this.addResource(e,t,r,n[r],{silent:!0});this.emit("added",e,t,n)},t.prototype.addResourceBundle=function(e,t,n,r,i){var o=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(o=e.split("."))[1]),this.addNamespaces(t);var a=f(this.data,o)||{};r?function e(t,n,r){for(var i in n)i in t?"string"==typeof t[i]||t[i]instanceof String||"string"==typeof n[i]||n[i]instanceof String?r&&(t[i]=n[i]):e(t[i],n[i],r):t[i]=n[i];return t}(a,n,i):a=v({},a,n),d(this.data,o,a),this.emit("added",e,t,n)},t.prototype.removeResourceBundle=function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)},t.prototype.hasResourceBundle=function(e,t){return void 0!==this.getResource(e,t)},t.prototype.getResourceBundle=function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?v({},this.getResource(e,t)):this.getResource(e,t)},t.prototype.toJSON=function(){return this.data},t}(s),_={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}};function w(e){return e.interpolation={unescapeSuffix:"HTML"},e.interpolation.prefix=e.interpolationPrefix||"__",e.interpolation.suffix=e.interpolationSuffix||"__",e.interpolation.escapeValue=e.escapeInterpolation||!1,e.interpolation.nestingPrefix=e.reusePrefix||"$t(",e.interpolation.nestingSuffix=e.reuseSuffix||")",e}function E(e){return(e.interpolationPrefix||e.interpolationSuffix||e.escapeInterpolation)&&(e=w(e)),e.nsSeparator=e.nsseparator,e.keySeparator=e.keyseparator,e.returnObjects=e.returnObjectTrees,e}var C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var x=function(e){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k(this,t);var i=S(this,e.call(this));return l(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector"],n,i),i.options=r,i.logger=a.create("translator"),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var i=n[r],o=Object.getOwnPropertyDescriptor(t,i);o&&o.configurable&&void 0===e[i]&&Object.defineProperty(e,i,o)}}(e,t))}(t,e),t.prototype.changeLanguage=function(e){e&&(this.language=e)},t.prototype.exists=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};return"v1"===this.options.compatibilityAPI&&(t=E(t)),void 0!==this.resolve(e,t)},t.prototype.extractFromKey=function(e,t){var n=t.nsSeparator||this.options.nsSeparator;void 0===n&&(n=":");var r=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.split(n);r=i[0],e=i[1]}return"string"==typeof r&&(r=[r]),{key:e,namespaces:r}},t.prototype.translate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==(void 0===t?"undefined":A(t))?t=this.options.overloadTranslationOptionHandler(arguments):"v1"===this.options.compatibilityAPI&&(t=E(t)),null==e||""===e)return"";"number"==typeof e&&(e=String(e)),"string"==typeof e&&(e=[e]);var n=t.lng||this.language;if(n&&"cimode"===n.toLowerCase())return e[e.length-1];var r=t.keySeparator||this.options.keySeparator||".",i=this.extractFromKey(e[e.length-1],t),o=i.key,a=i.namespaces,s=a[a.length-1],u=this.resolve(e,t),l=Object.prototype.toString.apply(u),c=["[object Number]","[object Function]","[object RegExp]"],d=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays;if(u&&"string"!=typeof u&&c.indexOf(l)<0&&(!d||"[object Array]"!==l)){if(!t.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(o,u,t):"key '"+o+" ("+this.language+")' returned an object instead of string.";var f="[object Array]"===l?[]:{};for(var h in u)f[h]=this.translate(""+o+r+h,C({joinArrays:!1,ns:a},t));u=f}else if(d&&"[object Array]"===l)(u=u.join(d))&&(u=this.extendTranslation(u,o,t));else{var p=!1,m=!1;if(this.isValidLookup(u)||void 0===t.defaultValue||(p=!0,u=t.defaultValue),this.isValidLookup(u)||(m=!0,u=o),m||p){this.logger.log("missingKey",n,s,o,u);var v=[],g=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&g&&g[0])for(var y=0;y<g.length;y++)v.push(g[y]);else"all"===this.options.saveMissingTo?v=this.languageUtils.toResolveHierarchy(t.lng||this.language):v.push(t.lng||this.language);this.options.saveMissing&&(this.options.missingKeyHandler?this.options.missingKeyHandler(v,s,o,u):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(v,s,o,u)),this.emit("missingKey",v,s,o,u)}u=this.extendTranslation(u,o,t),m&&u===o&&this.options.appendNamespaceToMissingKey&&(u=s+":"+o),m&&this.options.parseMissingKeyHandler&&(u=this.options.parseMissingKeyHandler(u))}return u},t.prototype.extendTranslation=function(e,t,n){var r=this;n.interpolation&&this.interpolator.init(C({},n,{interpolation:C({},this.options.interpolation,n.interpolation)}));var i=n.replace&&"string"!=typeof n.replace?n.replace:n;this.options.interpolation.defaultVariables&&(i=C({},this.options.interpolation.defaultVariables,i)),e=this.interpolator.interpolate(e,i,this.language),e=this.interpolator.nest(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.translate.apply(r,t)}),n),n.interpolation&&this.interpolator.reset();var o=n.postProcess||this.options.postProcess,a="string"==typeof o?[o]:o;return void 0!==e&&a&&a.length&&!1!==n.applyPostProcessor&&(e=_.handle(a,e,t,n,this)),e},t.prototype.resolve=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0;return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!t.isValidLookup(r)){var i=t.extractFromKey(e,n),o=i.key,a=i.namespaces;t.options.fallbackNS&&(a=a.concat(t.options.fallbackNS));var s=void 0!==n.count&&"string"!=typeof n.count,u=void 0!==n.context&&"string"==typeof n.context&&""!==n.context,l=n.lngs?n.lngs:t.languageUtils.toResolveHierarchy(n.lng||t.language);a.forEach((function(e){t.isValidLookup(r)||l.forEach((function(i){if(!t.isValidLookup(r)){var a=o,l=[a],c=void 0;s&&(c=t.pluralResolver.getSuffix(i,n.count)),s&&u&&l.push(a+c),u&&l.push(a+=""+t.options.contextSeparator+n.context),s&&l.push(a+=c);for(var d=void 0;d=l.pop();)t.isValidLookup(r)||(r=t.getResource(i,e,d,n))}}))}))}})),r},t.prototype.isValidLookup=function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)},t.prototype.getResource=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.resourceStore.getResource(e,t,n,r)},t}(s);function D(e){return e.charAt(0).toUpperCase()+e.slice(1)}var O=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=t,this.whitelist=this.options.whitelist||!1,this.logger=a.create("languageUtils")}return e.prototype.getLanguagePartFromCode=function(e){if(e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(["NB-NO","NN-NO","nb-NO","nn-NO","nb-no","nn-no"].indexOf(e)>-1?t[1].toLowerCase():t[0])},e.prototype.getScriptPartFromCode=function(e){if(e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),this.formatLanguageCode(t.join("-")))},e.prototype.getLanguagePartFromCode=function(e){if(e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(["NB-NO","NN-NO","nb-NO","nn-NO","nb-no","nn-no"].indexOf(e)>-1?t[1].toLowerCase():t[0])},e.prototype.formatLanguageCode=function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=D(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=D(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=D(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e},e.prototype.isWhitelisted=function(e,t){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist&&!t)&&(e=this.getLanguagePartFromCode(e)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(e)>-1},e.prototype.getFallbackCodes=function(e,t){if(!e)return[];if("string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e.default),n||[]},e.prototype.toResolveHierarchy=function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e&&(n.isWhitelisted(e,t)?i.push(e):n.logger.warn("rejecting non-whitelisted language code: "+e))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e),!0),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e),!0),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i},e}(),T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var M=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","es_ar","et","eu","fi","fo","fur","fy","gl","gu","ha","he","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt","pt_br","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21}],P={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0===e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)}};function L(){var e={};return M.forEach((function(t){t.lngs.forEach((function(n){return e[n]={numbers:t.nr,plurals:P[t.fc]}}))})),e}var R=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};F(this,e),this.languageUtils=t,this.options=n,this.logger=a.create("pluralResolver"),this.rules=L()}return e.prototype.addRule=function(e,t){this.rules[e]=t},e.prototype.getRule=function(e){return this.rules[this.languageUtils.getLanguagePartFromCode(e)]},e.prototype.needsPlural=function(e){var t=this.getRule(e);return!(t&&t.numbers.length<=1)},e.prototype.getSuffix=function(e,t){var n=this,r=this.getRule(e);if(!r)return this.logger.warn("no plural rule found for: "+e),"";var i=function(){if(1===r.numbers.length)return{v:""};var e=r.plurals(r.noAbs?t:Math.abs(t)),i=r.numbers[e];2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===n.options.compatibilityJSON?1===i?{v:""}:"number"==typeof i?{v:"_plural_"+i.toString()}:{v:o()}:"v2"===n.options.compatibilityJSON||2===r.numbers.length&&1===r.numbers[0]||2===r.numbers.length&&1===r.numbers[0]?{v:o()}:{v:n.options.prepend&&e.toString()?n.options.prepend+e.toString():e.toString()}}();return"object"===(void 0===i?"undefined":T(i))?i.v:void 0},e}();function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var j=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};B(this,e),this.logger=a.create("interpolator"),this.init(t,!0)}return e.prototype.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];t&&(this.options=e,this.format=e.interpolation&&e.interpolation.format||function(e){return e},this.escape=e.interpolation&&e.interpolation.escape||m),e.interpolation||(e.interpolation={escapeValue:!0});var n=e.interpolation;this.escapeValue=void 0===n.escapeValue||n.escapeValue,this.prefix=n.prefix?h(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?h(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?h(n.formatSeparator):n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?h(n.nestingPrefix):n.nestingPrefixEscaped||h("$t("),this.nestingSuffix=n.nestingSuffix?h(n.nestingSuffix):n.nestingSuffixEscaped||h(")"),this.resetRegExp()},e.prototype.reset=function(){this.options&&this.init(this.options)},e.prototype.resetRegExp=function(){this.regexp=new RegExp(this.prefix+"(.+?)"+this.suffix,"g"),this.regexpUnescape=new RegExp(this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix,"g"),this.nestingRegexp=new RegExp(this.nestingPrefix+"(.+?)"+this.nestingSuffix,"g")},e.prototype.interpolate=function(e,t,n){var r=this,i=void 0,o=void 0;function a(e){return e.replace(/\$/g,"$$$$")}var s=function(e){if(e.indexOf(r.formatSeparator)<0)return f(t,e);var i=e.split(r.formatSeparator),o=i.shift().trim(),a=i.join(r.formatSeparator).trim();return r.format(f(t,o),a,n)};for(this.resetRegExp();i=this.regexpUnescape.exec(e);){var l=s(i[1].trim());e=e.replace(i[0],l),this.regexpUnescape.lastIndex=0}for(;i=this.regexp.exec(e);)"string"!=typeof(o=s(i[1].trim()))&&(o=u(o)),o||(this.logger.warn("missed to pass in variable "+i[1]+" for interpolating "+e),o=""),o=a(this.escapeValue?this.escape(o):o),e=e.replace(i[0],o),this.regexp.lastIndex=0;return e},e.prototype.nest=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=void 0,i=void 0,o=JSON.parse(JSON.stringify(n));function a(e){return e.replace(/\$/g,"$$$$")}function s(e){if(e.indexOf(",")<0)return e;var t=e.split(",");e=t.shift();var n=t.join(",");n=(n=this.interpolate(n,o)).replace(/'/g,'"');try{o=JSON.parse(n)}catch(t){this.logger.error("failed parsing options string in nesting for key "+e,t)}return e}for(o.applyPostProcessor=!1;r=this.nestingRegexp.exec(e);)"string"!=typeof(i=t(s.call(this,r[1].trim()),o))&&(i=u(i)),i||(this.logger.warn("missed to pass in variable "+r[1]+" for interpolating "+e),i=""),i=a(this.escapeValue?m(i):i),e=e.replace(r[0],i),this.regexp.lastIndex=0;return e},e}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var Y=function(e){function t(n,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};H(this,t);var s=z(this,e.call(this));return s.backend=n,s.store=r,s.services=i,s.options=o,s.logger=a.create("backendConnector"),s.state={},s.queue=[],s.backend&&s.backend.init&&s.backend.init(i,o.backend,o),s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var i=n[r],o=Object.getOwnPropertyDescriptor(t,i);o&&o.configurable&&void 0===e[i]&&Object.defineProperty(e,i,o)}}(e,t))}(t,e),t.prototype.queueLoad=function(e,t,n){var r=this,i=[],o=[],a=[],s=[];return e.forEach((function(e){var n=!0;t.forEach((function(t){var a=e+"|"+t;r.store.hasResourceBundle(e,t)?r.state[a]=2:r.state[a]<0||(1===r.state[a]?o.indexOf(a)<0&&o.push(a):(r.state[a]=1,n=!1,o.indexOf(a)<0&&o.push(a),i.indexOf(a)<0&&i.push(a),s.indexOf(t)<0&&s.push(t)))})),n||a.push(e)})),(i.length||o.length)&&this.queue.push({pending:o,loaded:{},errors:[],callback:n}),{toLoad:i,pending:o,toLoadLanguages:a,toLoadNamespaces:s}},t.prototype.loaded=function(e,t,n){var r=this,i=e.split("|"),o=N(i,2),a=o[0],s=o[1];t&&this.emit("failedLoading",a,s,t),n&&this.store.addResourceBundle(a,s,n),this.state[e]=t?-1:2,this.queue.forEach((function(n){var i,o,u,l;i=s,(u=(o=c(n.loaded,[a],Object)).obj)[l=o.k]=u[l]||[],u[l].push(i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(n.errors.length?n.callback(n.errors):n.callback(),r.emit("loaded",n.loaded),n.done=!0)})),this.queue=this.queue.filter((function(e){return!e.done}))},t.prototype.read=function(e,t,n,r,i,o){var a=this;if(r||(r=0),i||(i=250),!e.length)return o(null,{});this.backend[n](e,t,(function(s,u){s&&u&&r<5?setTimeout((function(){a.read.call(a,e,t,n,++r,2*i,o)}),i):o(s,u)}))},t.prototype.load=function(e,t,n){var r=this;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();var i=I({},this.backend.options,this.options.backend);"string"==typeof e&&(e=this.services.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o,a=this.queueLoad(e,t,n);a.toLoad.length?i.allowMultiLoading&&this.backend.readMulti?this.read(a.toLoadLanguages,a.toLoadNamespaces,"readMulti",null,null,(function(e,t){e&&r.logger.warn("loading namespaces "+a.toLoadNamespaces.join(", ")+" for languages "+a.toLoadLanguages.join(", ")+" via multiloading failed",e),!e&&t&&r.logger.log("loaded namespaces "+a.toLoadNamespaces.join(", ")+" for languages "+a.toLoadLanguages.join(", ")+" via multiloading",t),a.toLoad.forEach((function(n){var i=n.split("|"),o=N(i,2),a=o[0],s=o[1],u=f(t,[a,s]);if(u)r.loaded(n,e,u);else{var l="loading namespace "+s+" for language "+a+" via multiloading failed";r.loaded(n,l),r.logger.error(l)}}))})):(o=function(e){var t=this,n=e.split("|"),r=N(n,2),i=r[0],o=r[1];this.read(i,o,"read",null,null,(function(n,r){n&&t.logger.warn("loading namespace "+o+" for language "+i+" failed",n),!n&&r&&t.logger.log("loaded namespace "+o+" for language "+i,r),t.loaded(e,n,r)}))},a.toLoad.forEach((function(e){o.call(r,e)}))):a.pending.length||n()},t.prototype.reload=function(e,t){var n=this;this.backend||this.logger.warn("No backend was added via i18next.use. Will not load resources.");var r,i=I({},this.backend.options,this.options.backend);"string"==typeof e&&(e=this.services.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]),i.allowMultiLoading&&this.backend.readMulti?this.read(e,t,"readMulti",null,null,(function(r,i){r&&n.logger.warn("reloading namespaces "+t.join(", ")+" for languages "+e.join(", ")+" via multiloading failed",r),!r&&i&&n.logger.log("reloaded namespaces "+t.join(", ")+" for languages "+e.join(", ")+" via multiloading",i),e.forEach((function(e){t.forEach((function(t){var o=f(i,[e,t]);if(o)n.loaded(e+"|"+t,r,o);else{var a="reloading namespace "+t+" for language "+e+" via multiloading failed";n.loaded(e+"|"+t,a),n.logger.error(a)}}))}))})):(r=function(e){var t=this,n=e.split("|"),r=N(n,2),i=r[0],o=r[1];this.read(i,o,"read",null,null,(function(n,r){n&&t.logger.warn("reloading namespace "+o+" for language "+i+" failed",n),!n&&r&&t.logger.log("reloaded namespace "+o+" for language "+i,r),t.loaded(e,n,r)}))},e.forEach((function(e){t.forEach((function(t){r.call(n,e+"|"+t)}))})))},t.prototype.saveMissing=function(e,t,n,r){this.backend&&this.backend.create&&this.backend.create(e,t,n,r),e&&e[0]&&this.store.addResource(e[0],t,n,r)},t}(s),U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var W=function(e){function t(n,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};V(this,t);var s=$(this,e.call(this));return s.cache=n,s.store=r,s.services=i,s.options=o,s.logger=a.create("cacheConnector"),s.cache&&s.cache.init&&s.cache.init(i,o.cache,o),s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var i=n[r],o=Object.getOwnPropertyDescriptor(t,i);o&&o.configurable&&void 0===e[i]&&Object.defineProperty(e,i,o)}}(e,t))}(t,e),t.prototype.load=function(e,t,n){var r=this;if(!this.cache)return n&&n();var i=U({},this.cache.options,this.options.cache);"string"==typeof e&&(e=this.services.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]),i.enabled?this.cache.load(e,(function(t,i){if(t&&r.logger.error("loading languages "+e.join(", ")+" from cache failed",t),i)for(var o in i)for(var a in i[o])if("i18nStamp"!==a){var s=i[o][a];s&&r.store.addResourceBundle(o,a,s)}n&&n()})):n&&n()},t.prototype.save=function(){this.cache&&this.options.cache&&this.options.cache.enabled&&this.cache.save(this.store.data)},t}(s);function G(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&e.whitelist.indexOf("cimode")<0&&e.whitelist.push("cimode"),e}var q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function J(){}var Q=new(function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1];X(this,t);var i=Z(this,e.call(this));return i.options=G(n),i.services={},i.logger=a,i.modules={},r&&!i.isInitialized&&i.init(n,r),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var i=n[r],o=Object.getOwnPropertyDescriptor(t,i);o&&o.configurable&&void 0===e[i]&&Object.defineProperty(e,i,o)}}(e,t))}(t,e),t.prototype.init=function(e,t){var n,r=this;function i(e){if(e)return"function"==typeof e?new e:e}if("function"==typeof e&&(t=e,e={}),e||(e={}),this.options="v1"===e.compatibilityAPI?K({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",saveMissing:!1,saveMissingTo:"fallback",missingKeyHandler:!1,postProcess:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:function(){},parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,overloadTranslationOptionHandler:function(e){return{defaultValue:e[1]}},interpolation:{escapeValue:!0,format:function(e,t,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",defaultVariables:void 0}},G(function(e){return e.resStore&&(e.resources=e.resStore),e.ns&&e.ns.defaultNs?(e.defaultNS=e.ns.defaultNs,e.ns=e.ns.namespaces):e.defaultNS=e.ns||"translation",e.fallbackToDefaultNS&&e.defaultNS&&(e.fallbackNS=e.defaultNS),e.saveMissing=e.sendMissing,e.saveMissingTo=e.sendMissingTo||"current",e.returnNull=!e.fallbackOnNull,e.returnEmptyString=!e.fallbackOnEmpty,e.returnObjects=e.returnObjectTrees,e.joinArrays="\n",e.returnedObjectHandler=e.objectTreeKeyHandler,e.parseMissingKeyHandler=e.parseMissingKey,e.appendNamespaceToMissingKey=!0,e.nsSeparator=e.nsseparator,e.keySeparator=e.keyseparator,"sprintf"===e.shortcutFunction&&(e.overloadTranslationOptionHandler=function(e){for(var t=[],n=1;n<e.length;n++)t.push(e[n]);return{postProcess:"sprintf",sprintf:t}}),e.whitelist=e.lngWhitelist,e.preload=e.preload,"current"===e.load&&(e.load="currentOnly"),"unspecific"===e.load&&(e.load="languageOnly"),e.backend=e.backend||{},e.backend.loadPath=e.resGetPath||"locales/__lng__/__ns__.json",e.backend.addPath=e.resPostPath||"locales/add/__lng__/__ns__",e.backend.allowMultiLoading=e.dynamicLoad,e.cache=e.cache||{},e.cache.prefix="res_",e.cache.expirationTime=6048e5,e.cache.enabled=!!e.useLocalStorage,(e=w(e)).defaultVariables&&(e.interpolation.defaultVariables=e.defaultVariables),e}(e)),{}):"v1"===e.compatibilityJSON?K({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",saveMissing:!1,saveMissingTo:"fallback",missingKeyHandler:!1,postProcess:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:function(){},parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,overloadTranslationOptionHandler:function(e){return{defaultValue:e[1]}},interpolation:{escapeValue:!0,format:function(e,t,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",defaultVariables:void 0}},G(function(e){return(e=w(e)).joinArrays="\n",e}(e)),{}):K({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",saveMissing:!1,saveMissingTo:"fallback",missingKeyHandler:!1,postProcess:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:function(){},parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,overloadTranslationOptionHandler:function(e){return{defaultValue:e[1]}},interpolation:{escapeValue:!0,format:function(e,t,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",defaultVariables:void 0}},this.options,G(e)),t||(t=J),!this.options.isClone){a.init(this.modules.logger?i(this.modules.logger):null,this.options);var o=new O(this.options);this.store=new b(this.options.resources,this.options);var s=this.services;s.logger=a,s.resourceStore=this.store,s.resourceStore.on("added removed",(function(e,t){s.cacheConnector.save()})),s.languageUtils=o,s.pluralResolver=new R(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON}),s.interpolator=new j(this.options),s.backendConnector=new Y(i(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r.emit.apply(r,[e].concat(n))})),s.backendConnector.on("loaded",(function(e){s.cacheConnector.save()})),s.cacheConnector=new W(i(this.modules.cache),s.resourceStore,s,this.options),s.cacheConnector.on("*",(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r.emit.apply(r,[e].concat(n))})),this.modules.languageDetector&&(s.languageDetector=i(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.translator=new x(this.services,this.options),this.translator.on("*",(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];r.emit.apply(r,[e].concat(n))}))}["getResource","addResource","addResources","addResourceBundle","removeResourceBundle","hasResourceBundle","getResourceBundle"].forEach((function(e){r[e]=function(){return this.store[e].apply(this.store,arguments)}})),"v1"===this.options.compatibilityAPI&&((n=this).lng=function(){return a.deprecate("i18next.lng() can be replaced by i18next.language for detected language or i18next.languages for languages ordered by translation lookup."),n.services.languageUtils.toResolveHierarchy(n.language)[0]},n.preload=function(e,t){a.deprecate("i18next.preload() can be replaced with i18next.loadLanguages()"),n.loadLanguages(e,t)},n.setLng=function(e,t,r){if(a.deprecate("i18next.setLng() can be replaced with i18next.changeLanguage() or i18next.getFixedT() to get a translation function with fixed language or namespace."),"function"==typeof t&&(r=t,t={}),t||(t={}),!0===t.fixLng&&r)return r(null,n.getFixedT(e));n.changeLanguage(e,r)},n.addPostProcessor=function(e,t){a.deprecate("i18next.addPostProcessor() can be replaced by i18next.use({ type: 'postProcessor', name: 'name', process: fc })"),n.use({type:"postProcessor",name:e,process:t})});var u=function(){r.changeLanguage(r.options.lng,(function(e,n){r.emit("initialized",r.options),r.logger.log("initialized",r.options),t(e,n)}))};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),this},t.prototype.loadResources=function(e){var t=this;if(e||(e=J),this.options.resources)e(null);else{var n=function(){if(t.language&&"cimode"===t.language.toLowerCase())return{v:e()};var n=[],r=function(e){t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){n.indexOf(e)<0&&n.push(e)}))};r(t.language),t.options.preload&&t.options.preload.forEach((function(e){r(e)})),t.services.cacheConnector.load(n,t.options.ns,(function(){t.services.backendConnector.load(n,t.options.ns,e)}))}();if("object"===(void 0===n?"undefined":q(n)))return n.v}},t.prototype.reloadResources=function(e,t){e||(e=this.languages),t||(t=this.options.ns),this.services.backendConnector.reload(e,t)},t.prototype.use=function(e){return"backend"===e.type&&(this.modules.backend=e),"cache"===e.type&&(this.modules.cache=e),("logger"===e.type||e.log&&e.warn&&e.warn)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"postProcessor"===e.type&&_.addPostProcessor(e),this},t.prototype.changeLanguage=function(e,t){var n=this;!e&&this.services.languageDetector&&(e=this.services.languageDetector.detect()),e&&(this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.translator.changeLanguage(e),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage(e)),this.loadResources((function(r){!function(r){e&&(n.emit("languageChanged",e),n.logger.log("languageChanged",e)),t&&t(r,(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.t.apply(n,t)}))}(r)}))},t.prototype.getFixedT=function(e,t){var n=this,r=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=K({},r);return i.lng=i.lng||e.lng,i.ns=i.ns||e.ns,n.t(t,i)};return r.lng=e,r.ns=t,r},t.prototype.t=function(){return this.translator&&this.translator.translate.apply(this.translator,arguments)},t.prototype.exists=function(){return this.translator&&this.translator.exists.apply(this.translator,arguments)},t.prototype.setDefaultNamespace=function(e){this.options.defaultNS=e},t.prototype.loadNamespaces=function(e,t){var n=this;if(!this.options.ns)return t&&t();"string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources(t)},t.prototype.loadLanguages=function(e,t){"string"==typeof e&&(e=[e]);var n=this.options.preload||[],r=e.filter((function(e){return n.indexOf(e)<0}));if(!r.length)return t();this.options.preload=n.concat(r),this.loadResources(t)},t.prototype.dir=function(e){return e||(e=this.language),e?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr":"rtl"},t.prototype.createInstance=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];return new t(e,n)},t.prototype.cloneInstance=function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1],i=new t(K({},n,this.options,{isClone:!0}),r),o=["store","services","language"];return o.forEach((function(t){i[t]=e[t]})),i.translator=new x(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i},t}(s));t.default=Q},function(e,t,n){"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],i=0;i<e.length;i++){var s=e[i],u=t.base?s[0]+t.base:s[0],l=n[u]||0,c="".concat(u," ").concat(l);n[u]=l+1;var d=a(c),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(f)):o.push({identifier:c,updater:m(f,t),references:1}),r.push(c)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var l,c=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function f(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,p=0;function m(e,t){var n,r,i;if(t.singleton){var o=p++;n=h||(h=u(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=u(t),r=f.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);o[i].references--}for(var u=s(e,t),l=0;l<n.length;l++){var c=a(n[l]);0===o[c].references&&(o[c].updater(),o.splice(c,1))}n=u}}}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&i[u[0]]||(n&&(u[2]=u[2]?"".concat(n," and ").concat(u[2]):n),t.push(u))}},t}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=void 0===t?{}:t,r=n.propTypes,o=n.defaultProps,a=n.allowFallback,s=n.displayName,u=void 0===s?e.name||e.displayName:s,l=function(t,n){return e(t,n)};return Object.assign(i.default.forwardRef||void 0===a||!a?i.default.forwardRef(l):function(e){return l(e,null)},{displayName:u,propTypes:r,defaultProps:o})};var r,i=(r=n(16))&&r.__esModule?r:{default:r}},function(e,t,n){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function o(e,n){function r(){var e=o;i(e)&&e.a.parentNode&&n(e.g)}var o=e;t(e.b,r),t(e.c,r),i(e)}function a(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,u=null,l=null,c=null;function d(){return null===c&&(c=!!document.fonts),c}function f(){if(null===l){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}l=""!==e.style.font}return l}function h(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",l=0,c=t||3e3,f=(new Date).getTime();return new Promise((function(e,t){if(d()&&!function(){if(null===u)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);u=!!e&&603>parseInt(e[1],10)}else u=!1;return u}()){var p=new Promise((function(e,t){!function n(){(new Date).getTime()-f>=c?t(Error(c+"ms timeout exceeded")):document.fonts.load(h(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),m=new Promise((function(e,t){l=setTimeout((function(){t(Error(c+"ms timeout exceeded"))}),c)}));Promise.race([m,p]).then((function(){clearTimeout(l),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function u(){var t;(t=-1!=v&&-1!=g||-1!=v&&-1!=y||-1!=g&&-1!=y)&&((t=v!=g&&v!=y&&g!=y)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(v==b&&g==b&&y==b||v==_&&g==_&&y==_||v==w&&g==w&&y==w)),t=!t),t&&(E.parentNode&&E.parentNode.removeChild(E),clearTimeout(l),e(i))}var d=new n(a),p=new n(a),m=new n(a),v=-1,g=-1,y=-1,b=-1,_=-1,w=-1,E=document.createElement("div");E.dir="ltr",r(d,h(i,"sans-serif")),r(p,h(i,"serif")),r(m,h(i,"monospace")),E.appendChild(d.a),E.appendChild(p.a),E.appendChild(m.a),document.body.appendChild(E),b=d.a.offsetWidth,_=p.a.offsetWidth,w=m.a.offsetWidth,function e(){if((new Date).getTime()-f>=c)E.parentNode&&E.parentNode.removeChild(E),t(Error(c+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(v=d.a.offsetWidth,g=p.a.offsetWidth,y=m.a.offsetWidth,u()),l=setTimeout(e,50)}}(),o(d,(function(e){v=e,u()})),r(d,h(i,'"'+i.family+'",sans-serif')),o(p,(function(e){g=e,u()})),r(p,h(i,'"'+i.family+'",serif')),o(m,(function(e){y=e,u()})),r(m,h(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},function(e,t,n){"use strict";var r=n(75),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var C=E.prototype=new w;C.constructor=E,r(C,_.prototype),C.isPureReactComponent=!0;var A={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:A.current}}function D(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g,T=[];function F(e,t,n,r){if(T.length){var i=T.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function P(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+L(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var c=n+L(s=t[l],l);u+=e(s,c,r,i)}else if("function"==typeof(c=null===t||"object"!=typeof t?null:"function"==typeof(c=v&&t[v]||t["@@iterator"])?c:null))for(t=c.call(t),l=0;!(s=t.next()).done;)u+=e(s=s.value,c=n+L(s,l++),r,i);else if("object"===s)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function B(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,r,n,(function(e){return e})):null!=e&&(D(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function j(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(O,"$&/")+"/"),P(e,B,t=F(t,o,r,i)),M(t)}var I={current:null};function N(){var e=I.current;if(null===e)throw Error(g(321));return e}var H={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:A,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return j(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;P(e,R,t=F(null,null,t,n)),M(t)},count:function(e){return P(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!D(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=l,t.PureComponent=E,t.StrictMode=u,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=A.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=D,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ArchiveCheckbox=void 0;var i=r(n(1)),o=n(55),a=r(n(2)),s=r(n(11)),u=function(e){var t=e.value,n=e.onChange;return i.default.createElement("div",{className:"archive-filter"},i.default.createElement(o.FormCheckField,{fieldLabel:(0,s.default)("include-archive"),value:t,onChange:n}))};t.ArchiveCheckbox=u,u.propTypes={value:a.default.oneOf([!0,!1,"mixed"]),onChange:a.default.func}},function(e,t,n){"use strict";var r=n(75),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var C=E.prototype=new w;C.constructor=E,r(C,_.prototype),C.isPureReactComponent=!0;var A={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:A.current}}function D(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g,T=[];function F(e,t,n,r){if(T.length){var i=T.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function P(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+L(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var c=n+L(s=t[l],l);u+=e(s,c,r,i)}else if("function"==typeof(c=null===t||"object"!=typeof t?null:"function"==typeof(c=v&&t[v]||t["@@iterator"])?c:null))for(t=c.call(t),l=0;!(s=t.next()).done;)u+=e(s=s.value,c=n+L(s,l++),r,i);else if("object"===s)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function B(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,r,n,(function(e){return e})):null!=e&&(D(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function j(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(O,"$&/")+"/"),P(e,B,t=F(t,o,r,i)),M(t)}var I={current:null};function N(){var e=I.current;if(null===e)throw Error(g(321));return e}var H={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:A,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return j(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;P(e,R,t=F(null,null,t,n)),M(t)},count:function(e){return P(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!D(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=l,t.PureComponent=E,t.StrictMode=u,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=A.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=D,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="16.13.1"},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){var r=n(32);function i(e){return function(){return e.apply(null,arguments)}}["oneOf","oneOfType","arrayOf","shape"].forEach((function(e){var t=r[e];r[e]=function(){var e=t.apply(null,arguments),n=i(e);return n.affectsRendering=i(e),n.affectsRendering.affectsRendering=!0,void 0!==e.isRequired&&(n.isRequired=i(e.isRequired),n.isRequired.affectsRendering=i(e.isRequired),n.isRequired.affectsRendering.affectsRendering=!0),n}})),Object.keys(r).forEach((function(e){r[e].affectsRendering=i(r[e]),r[e].affectsRendering.affectsRendering=!0,void 0!==r[e].isRequired&&(r[e].isRequired.affectsRendering=i(r[e].isRequired),r[e].isRequired.affectsRendering.affectsRendering=!0)})),e.exports=r},function(e,t,n){"use strict";var r=n(343);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.HelpHint=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"captureClick",(function(e){e.preventDefault()})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=(0,h.default)("help-tooltip",this.props.className);return f.default.createElement("div",{className:e,onClick:this.captureClick},f.default.createElement("span",{className:"help-text"},this.props.hintText))}}]),n}(f.default.Component);t.HelpHint=p,(0,c.default)(p,"displayName","HelpHint"),(0,c.default)(p,"propTypes",{hintText:d.default.any.isRequired,className:d.default.string})},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=Object.create((t&&t.prototype instanceof d?t:d).prototype),o=new C(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=_(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,o),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var c={};function d(){}function f(){}function h(){}var p={};p[i]=function(){return this};var m=Object.getPrototypeOf,v=m&&m(m(A([])));v&&v!==t&&n.call(v,i)&&(p=v);var g=h.prototype=d.prototype=Object.create(p);function y(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(i,o){function a(){return new t((function(r,a){!function r(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}(i,o,r,a)}))}return r=r?r.then(a,a):a()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var i=r.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function A(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=g.constructor=h,h.constructor=f,f.displayName=s(h,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(b.prototype),b.prototype[o]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new b(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(g),s(g,a,"Generator"),g[i]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=A,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;E(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:A(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r={"./af":130,"./af.js":130,"./ar":131,"./ar-dz":132,"./ar-dz.js":132,"./ar-ly":133,"./ar-ly.js":133,"./ar-ma":134,"./ar-ma.js":134,"./ar-sa":135,"./ar-sa.js":135,"./ar-tn":136,"./ar-tn.js":136,"./ar.js":131,"./az":137,"./az.js":137,"./be":138,"./be.js":138,"./bg":139,"./bg.js":139,"./bn":140,"./bn.js":140,"./bo":141,"./bo.js":141,"./br":142,"./br.js":142,"./bs":143,"./bs.js":143,"./ca":144,"./ca.js":144,"./cs":145,"./cs.js":145,"./cv":146,"./cv.js":146,"./cy":147,"./cy.js":147,"./da":148,"./da.js":148,"./de":149,"./de-at":150,"./de-at.js":150,"./de.js":149,"./dv":151,"./dv.js":151,"./el":152,"./el.js":152,"./en-au":153,"./en-au.js":153,"./en-ca":154,"./en-ca.js":154,"./en-gb":155,"./en-gb.js":155,"./en-ie":156,"./en-ie.js":156,"./en-nz":157,"./en-nz.js":157,"./eo":158,"./eo.js":158,"./es":159,"./es-do":160,"./es-do.js":160,"./es.js":159,"./et":161,"./et.js":161,"./eu":162,"./eu.js":162,"./fa":163,"./fa.js":163,"./fi":164,"./fi.js":164,"./fo":165,"./fo.js":165,"./fr":166,"./fr-ca":167,"./fr-ca.js":167,"./fr-ch":168,"./fr-ch.js":168,"./fr.js":166,"./fy":169,"./fy.js":169,"./gd":170,"./gd.js":170,"./gl":171,"./gl.js":171,"./he":172,"./he.js":172,"./hi":173,"./hi.js":173,"./hr":174,"./hr.js":174,"./hu":175,"./hu.js":175,"./hy-am":176,"./hy-am.js":176,"./id":177,"./id.js":177,"./is":178,"./is.js":178,"./it":179,"./it.js":179,"./ja":180,"./ja.js":180,"./jv":181,"./jv.js":181,"./ka":182,"./ka.js":182,"./kk":183,"./kk.js":183,"./km":184,"./km.js":184,"./ko":185,"./ko.js":185,"./ky":186,"./ky.js":186,"./lb":187,"./lb.js":187,"./lo":188,"./lo.js":188,"./lt":189,"./lt.js":189,"./lv":190,"./lv.js":190,"./me":191,"./me.js":191,"./mi":192,"./mi.js":192,"./mk":193,"./mk.js":193,"./ml":194,"./ml.js":194,"./mr":195,"./mr.js":195,"./ms":196,"./ms-my":197,"./ms-my.js":197,"./ms.js":196,"./my":198,"./my.js":198,"./nb":199,"./nb.js":199,"./ne":200,"./ne.js":200,"./nl":201,"./nl-be":202,"./nl-be.js":202,"./nl.js":201,"./nn":203,"./nn.js":203,"./pa-in":204,"./pa-in.js":204,"./pl":205,"./pl.js":205,"./pt":206,"./pt-br":207,"./pt-br.js":207,"./pt.js":206,"./ro":208,"./ro.js":208,"./ru":209,"./ru.js":209,"./se":210,"./se.js":210,"./si":211,"./si.js":211,"./sk":212,"./sk.js":212,"./sl":213,"./sl.js":213,"./sq":214,"./sq.js":214,"./sr":215,"./sr-cyrl":216,"./sr-cyrl.js":216,"./sr.js":215,"./ss":217,"./ss.js":217,"./sv":218,"./sv.js":218,"./sw":219,"./sw.js":219,"./ta":220,"./ta.js":220,"./te":221,"./te.js":221,"./tet":222,"./tet.js":222,"./th":223,"./th.js":223,"./tl-ph":224,"./tl-ph.js":224,"./tlh":225,"./tlh.js":225,"./tr":226,"./tr.js":226,"./tzl":227,"./tzl.js":227,"./tzm":228,"./tzm-latn":229,"./tzm-latn.js":229,"./tzm.js":228,"./uk":230,"./uk.js":230,"./uz":231,"./uz.js":231,"./vi":232,"./vi.js":232,"./x-pseudo":233,"./x-pseudo.js":233,"./yo":234,"./yo.js":234,"./zh-cn":235,"./zh-cn.js":235,"./zh-hk":236,"./zh-hk.js":236,"./zh-tw":237,"./zh-tw.js":237};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=349},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),parseInt(e,t||10)};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e===t};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),e.indexOf((0,i.default)(t))>=0};var r=o(n(13)),i=o(n(241));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return(0,i.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,n)),t.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,i.default)(t,l)).require_display_name||t.allow_display_name){var n=e.match(c);if(n){var u,v=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),3!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(n);if(e=v[2],(u=v[1]).endsWith(" ")&&(u=u.substr(0,u.length-1)),!function(e){var t=e.match(/^"(.+)"$/i),n=t?t[1]:e;if(!n.trim())return!1;if(/[\.";<>]/.test(n)){if(!t)return!1;if(n.split('"').length!==n.split('\\"').length)return!1}return!0}(u))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var g=e.split("@"),y=g.pop(),b=g.join("@"),_=y.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var w=(b=b.toLowerCase()).split("+")[0];if(!(0,o.default)(w.replace(".",""),{min:6,max:30}))return!1;for(var E=w.split("."),C=0;C<E.length;C++)if(!f.test(E[C]))return!1}if(!(0,o.default)(b,{max:64})||!(0,o.default)(y,{max:254}))return!1;if(!(0,a.default)(y,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,s.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var A=y.substr(1,y.length-2);if(0===A.length||!(0,s.default)(A))return!1}}if('"'===b[0])return b=b.slice(1,b.length-1),t.allow_utf8_local_part?m.test(b):h.test(b);for(var k=t.allow_utf8_local_part?p:d,S=b.split("."),x=0;x<S.length;x++)if(!k.test(S[x]))return!1;return!0};var r=u(n(13)),i=u(n(47)),o=u(n(242)),a=u(n(95)),s=u(n(79));function u(e){return e&&e.__esModule?e:{default:e}}var l={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)<(.+)>$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,p=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;var n,s,d,f,h,p,m,v;if(t=(0,a.default)(t,u),m=e.split("#"),e=m.shift(),m=e.split("?"),e=m.shift(),(m=e.split("://")).length>1){if(n=m.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;m[0]=e.substr(2)}}if(""===(e=m.join("://")))return!1;if(m=e.split("/"),""===(e=m.shift())&&!t.require_host)return!0;if((m=e.split("@")).length>1){if(t.disallow_auth)return!1;if((s=m.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1}p=null,v=null;var g=(f=m.join("@")).match(l);return g?(d="",v=g[1],p=g[2]||null):(d=(m=f.split(":")).shift(),m.length&&(p=m.join(":"))),!(null!==p&&(h=parseInt(p,10),!/^[0-9]+$/.test(p)||h<=0||h>65535)||!((0,o.default)(d)||(0,i.default)(d,t)||v&&(0,o.default)(v,6))||(d=d||v,t.host_whitelist&&!c(d,t.host_whitelist)||t.host_blacklist&&c(d,t.host_blacklist)))};var r=s(n(13)),i=s(n(95)),o=s(n(79)),a=s(n(47));function s(e){return e&&e.__esModule?e:{default:e}}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},l=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||"[object RegExp]"===Object.prototype.toString.call(r)&&r.test(e))return!0}return!1}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),t&&t.no_colons?a.test(e):o.test(e)||s.test(e)||u.test(e)||l.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/,a=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F][0-9a-fA-F]-){5}([0-9a-fA-F][0-9a-fA-F])$/,u=/^([0-9a-fA-F][0-9a-fA-F]\s){5}([0-9a-fA-F][0-9a-fA-F])$/,l=/^([0-9a-fA-F]{4}).([0-9a-fA-F]{4}).([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,r.default)(e);var t=e.split("/");return 2===t.length&&!!a.test(t[1])&&!(t[1].length>1&&t[1].startsWith("0"))&&(0,i.default)(t[0],4)&&t[1]<=32&&t[1]>=0};var r=o(n(13)),i=o(n(79));function o(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,2}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),["true","false","1","0"].indexOf(e)>=0};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e||o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[A-z]{2,4}([_-]([A-z]{4}|[\d]{3}))?([_-]([A-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,i.default)(e),t in o.alpha)return o.alpha[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=n(78),a=Object.keys(o.alpha);t.locales=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";if((0,i.default)(e),t in o.alphanumeric)return o.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=n(78),a=Object.keys(o.alphanumeric);t.locales=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),t&&t.no_symbols?a.test(e):o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[+-]?([0-9]*[.])?[0-9]+$/,a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in r&&r[t].test(n)};var r={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^[GE]\d{8}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,MT:/^\d{7}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PO:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,{min:0,max:65535})};var r,i=(r=n(243))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e===e.toLowerCase()};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e===e.toUpperCase()};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.fullWidth.test(e)&&a.halfWidth.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=n(244),a=n(245);e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),o.test(e)};var r=i(n(13));function i(e){return e&&e.__esModule?e:{default:e}}var o=(0,i(n(372)).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))","?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"]);e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.join("");return new RegExp(n,t)},e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),(t=(0,r.default)(t,u)).locale in a.decimal)return!(0,o.default)(l,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var r=s(n(47)),i=s(n(13)),o=s(n(96)),a=n(78);function s(e){return e&&e.__esModule?e:{default:e}}var u={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},l=["","-","+"];e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),(0,i.default)(e)%parseInt(t,10)==0};var r=o(n(13)),i=o(n(239));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,i.default)(e),t?o.test(e)||a.test(e)||s.test(e)||u.test(e):o.test(e)||a.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,u=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)||a.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s*)(\s*,\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(,\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i,a=/^(hsl)a?\(\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn|\s)(\s*(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s*(\/\s*((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s*)?\)$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),n=t.slice(0,2).toUpperCase();return n in o&&o[n].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),new RegExp("^[a-fA-F0-9]{".concat(o[t],"}$")).test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^([A-Za-z0-9\-_~+\/]+[=]{0,2})\.([A-Za-z0-9\-_~+\/]+[=]{0,2})(?:\.([A-Za-z0-9\-_~+\/]+[=]{0,2}))?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);try{var t=JSON.parse(e);return!!t&&"object"===function(e){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(t)}catch(e){}return!1};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),0===((t=(0,i.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var r=o(n(13)),i=o(n(47));function o(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,i.default)(e),"object"===o(t)?(n=t.min||0,r=t.max):(n=arguments[1]||0,r=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],s=e.length-a.length;return s>=n&&(void 0===r||s<=r)};var r,i=(r=n(13))&&r.__esModule?r:{default:r};function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";(0,i.default)(e);var n=o[t];return n&&n.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),(0,i.default)(e)&&24===e.length};var r=o(n(13)),i=o(n(246));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var n=(0,i.default)(t),o=(0,i.default)(e);return!!(o&&n&&o>n)};var r=o(n(13)),i=o(n(94));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var n=(0,i.default)(t),o=(0,i.default)(e);return!!(o&&n&&o<n)};var r=o(n(13)),i=o(n(94));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;if((0,r.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var o=[];for(n in t)({}).hasOwnProperty.call(t,n)&&(o[n]=(0,i.default)(t[n]));return o.indexOf(e)>=0}return"object"===function(e){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(t)?t.hasOwnProperty(e):!(!t||"function"!=typeof t.indexOf)&&t.indexOf(e)>=0};var r=o(n(13)),i=o(n(241));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.replace(/[- ]+/g,"");if(!o.test(t))return!1;for(var n,r,a,s=0,u=t.length-1;u>=0;u--)n=t.substring(u,u+1),r=parseInt(n,10),s+=a&&(r*=2)>=10?r%10+1:r,a=!a;return!(s%10!=0||!t)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),t in o)return o[t](e);if("any"===t){for(var n in o)if(o.hasOwnProperty(n)&&(0,o[n])(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o={ES:function(e){(0,i.default)(e);var t={X:0,Y:1,Z:2},n=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(n))return!1;var r=n.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return n.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][r%23])},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var n,r=t,i=0,o=0;o<r.length;o++)i+=(n=Number(r[o])*(o%2+1))>9?n-9:n;return i%10==0},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},n=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(n)&&Array.from(n).reduce((function(e,n,r){if(0===r){var i=t[n];return i%10*9+Math.floor(i/10)}return 9===r?(10-e%10-Number(n))%10==0:e+Number(n)*(9-r)}),0)}};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t,n,r=Number(e.slice(-1));return o.test(e)&&r===((n=10-(t=e).slice(0,-1).split("").map((function(e,n){return Number(e)*function(e,t){return 8===e?t%2==0?3:1:t%2==0?1:3}(t.length,n)})).reduce((function(e,t){return e+t}),0)%10)<10?n:0)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(\d{8}|\d{13})$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e),!o.test(e))return!1;for(var t,n,r=e.replace(/[A-Z]/g,(function(e){return parseInt(e,36)})),a=0,s=!0,u=r.length-2;u>=0;u--)t=r.substring(u,u+1),n=parseInt(t,10),a+=s&&(n*=2)>=10?n+1:n,s=!s;return parseInt(e.substr(e.length-1),10)===(1e4-a)%10};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,i.default)(t),!(n=String(n)))return e(t,10)||e(t,13);var r,u=t.replace(/[\s-]+/g,""),l=0;if("10"===n){if(!o.test(u))return!1;for(r=0;r<9;r++)l+=(r+1)*u.charAt(r);if("X"===u.charAt(9)?l+=100:l+=10*u.charAt(9),l%11==0)return!!u}else if("13"===n){if(!a.test(u))return!1;for(r=0;r<12;r++)l+=s[r%2]*u.charAt(r);if(u.charAt(12)-(10-l%10)%10==0)return!!u}return!1};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,s=[1,3];e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(e);var n=o;if(n=t.require_hyphen?n.replace("?",""):n,!(n=t.case_sensitive?new RegExp(n):new RegExp(n,"i")).test(e))return!1;for(var r=e.replace("-","").toUpperCase(),a=0,s=0;s<r.length;s++){var u=r[s];a+=("X"===u?10:+u)*(8-s)}return a%11==0};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if((0,i.default)(e),n&&n.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){return!(!o.hasOwnProperty(t)||!o[t].test(e))}));if(t in o)return o[t].test(e);if(!t||"any"===t){for(var r in o)if(o.hasOwnProperty(r)&&o[r].test(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?1(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nl-NL":/^(\+?31|0)6?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/(?=^(\+?5{2}\-?|0)[1-9]{2}\-?\d{4}\-?\d{4}$)(^(\+?5{2}\-?|0)[1-9]{2}\-?[6-9]{1}\d{3}\-?\d{4}$)|(^(\+?5{2}\-?|0)[1-9]{2}\-?9[6-9]{1}\d{3}\-?\d{4}$)/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-6|89]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([358][0-9]|4[579]|6[67]|7[01235678]|9[189])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};o["en-CA"]=o["en-US"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"],o["zh-MO"]=o["en-MO"];var a=Object.keys(o);t.locales=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,n){0!==n&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var n="(\\".concat(e.symbol.replace(/\./g,"\\."),")").concat(e.require_symbol?"":"?"),r="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",r].join("|"),")?"),o="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),a=i+(e.allow_decimal||e.require_decimal?o:"");return e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?a+="-?":e.negative_sign_before_digits&&(a="-?"+a)),e.allow_negative_sign_placeholder?a="( (?!\\-))?".concat(a):e.allow_space_after_symbol?a=" ?".concat(a):e.allow_space_after_digits&&(a+="( (?!$))?"),e.symbol_after_digits?a+=n:a=n+a,e.allow_negatives&&(e.parens_for_negatives?a="(\\(".concat(a,"\\)|").concat(a,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(a="-?"+a)),new RegExp("^(?!-? )(?=.*\\d)".concat(a,"$"))}(t=(0,r.default)(t,a)).test(e)};var r=o(n(47)),i=o(n(13));function o(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);var n=o.test(e);return t&&n&&t.strict?function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var n=Number(t[1]),r=Number(t[2]);return n%4==0&&n%100!=0||n%400==0?r<=366:r<=365}var i=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),o=i[1],a=i[2],s=i[3],u=a?"0".concat(a).slice(-2):a,l=s?"0".concat(s).slice(-2):s,c=new Date("".concat(o,"-").concat(u||"01","-").concat(l||"01"));return!a||!s||c.getUTCFullYear()===o&&c.getUTCMonth()+1===a&&c.getUTCDate()===s}(e):n};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),f.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,s=new RegExp("[-+]".concat(o.source,":").concat(a.source)),u=new RegExp("([zZ]|".concat(s.source,")")),l=new RegExp("".concat(o.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),d=new RegExp("".concat(l.source).concat(u.source)),f=new RegExp("".concat(c.source,"[ tT]").concat(d.source));e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),(0,i.default)(a,e.toUpperCase())};var r=o(n(13)),i=o(n(96));function o(e){return e&&e.__esModule?e:{default:e}}var a=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"];e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),(0,i.default)(a,e.toUpperCase())};var r=o(n(13)),i=o(n(96));function o(e){return e&&e.__esModule?e:{default:e}}var a=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"];e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.length;return!!(t>0&&t%8==0&&o.test(e))};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.length;if(!t||t%4!=0||o.test(e))return!1;var n=e.indexOf("=");return-1===n||n===t-1||n===t-2&&"="===e[t-1]};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/[^A-Z0-9+\/=]/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e);var t=e.split(",");if(t.length<2)return!1;var n=t.shift().trim().split(";"),r=n.shift();if("data:"!==r.substr(0,5))return!1;var u=r.substr(5);if(""!==u&&!o.test(u))return!1;for(var l=0;l<n.length;l++)if(l===n.length-1&&"base64"===n[l].toLowerCase());else if(!a.test(n[l]))return!1;for(var c=0;c<t.length;c++)if(!s.test(t[c]))return!1;return!0};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e.trim())};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)||a.test(e)||s.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e),!e.includes(","))return!1;var t=e.split(",");return!(t[0].startsWith("(")&&!t[1].endsWith(")")||t[1].endsWith(")")&&!t[0].startsWith("("))&&o.test(t[0])&&a.test(t[1])};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,i.default)(e),t in u)return u[t].test(e);if("any"===t){for(var n in u)if(u.hasOwnProperty(n)&&u[n].test(e))return!0;return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^\d{4}$/,a=/^\d{5}$/,s=/^\d{6}$/,u={AD:/^AD\d{3}$/,AT:o,AU:o,BE:o,BG:o,BR:/^\d{5}-\d{3}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:o,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:o,DZ:a,EE:a,ES:a,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HU:o,ID:a,IE:/^(?!.*(?:o))[A-z]\d[\dw]\s\w{4}$/i,IL:a,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:o,LV:/^LV\-\d{4}$/,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,NL:/^\d{4}\s?[a-z]{2}$/i,NO:o,NZ:o,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:s,RU:s,SA:a,SE:/^[1-9]\d{2}\s?\d{2}$/,SI:o,SK:/^\d{3}\s?\d{2}$/,TN:o,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:o,ZM:a},l=Object.keys(u);t.locales=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)((0,i.default)(e,t),t)};var r=o(n(248)),i=o(n(247));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`")};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),(0,i.default)(e,t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F")};var r=o(n(13)),i=o(n(249));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)(e);for(var n=e.length-1;n>=0;n--)if(-1===t.indexOf(e[n]))return!1;return!0};var r,i=(r=n(13))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,i.default)(t,o);var n=e.split("@"),r=n.pop(),d=[n.join("@"),r];if(d[1]=d[1].toLowerCase(),"gmail.com"===d[1]||"googlemail.com"===d[1]){if(t.gmail_remove_subaddress&&(d[0]=d[0].split("+")[0]),t.gmail_remove_dots&&(d[0]=d[0].replace(/\.+/g,c)),!d[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]=t.gmail_convert_googlemaildotcom?"gmail.com":d[1]}else if(a.indexOf(d[1])>=0){if(t.icloud_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(d[0]=d[0].toLowerCase())}else if(s.indexOf(d[1])>=0){if(t.outlookdotcom_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(d[0]=d[0].toLowerCase())}else if(u.indexOf(d[1])>=0){if(t.yahoo_remove_subaddress){var f=d[0].split("-");d[0]=f.length>1?f.slice(0,-1).join("-"):f[0]}if(!d[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(d[0]=d[0].toLowerCase())}else l.indexOf(d[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]="yandex.ru"):t.all_lowercase&&(d[0]=d[0].toLowerCase());return d.join("@")};var r,i=(r=n(47))&&r.__esModule?r:{default:r},o={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],u=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],l=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(e){return e.length>1?e:""}e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e),o.test(e)};var r,i=(r=n(13))&&r.__esModule?r:{default:r},o=/^[^-_](?!.*?[-_]{2,})([a-z0-9\\-]{1,}).*[^-_]$/;e.exports=t.default,e.exports.default=t.default},function(e,t,n){"use strict";var r=n(16),i=n(75),o=n(424);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var u=!1,l=null,c=!1,d=null,f={onError:function(e){u=!0,l=e}};function h(e,t,n,r,i,o,a,c,d){u=!1,l=null,s.apply(f,arguments)}var p=null,m=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,o,s,f,p){if(h.apply(this,arguments),u){if(!u)throw Error(a(198));var m=l;u=!1,l=null,c||(c=!0,d=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function _(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!E[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in E[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,u=r;if(C.hasOwnProperty(u))throw Error(a(99,u));C[u]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&w(l[i],s,u);i=!0}else o.registrationName?(w(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function w(e,t,n){if(A[e])throw Error(a(100,e));A[e]=t,k[e]=t.eventTypes[n].dependencies}var E=[],C={},A={},k={};function S(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&_()}var x=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),D=null,O=null,T=null;function F(e){if(e=m(e)){if("function"!=typeof D)throw Error(a(280));var t=e.stateNode;t&&(t=p(t),D(e.stateNode,e.type,t))}}function M(e){O?T?T.push(e):T=[e]:O=e}function P(){if(O){var e=O,t=T;if(T=O=null,F(e),t)for(e=0;e<t.length;e++)F(t[e])}}function L(e,t){return e(t)}function R(e,t,n,r,i){return e(t,n,r,i)}function B(){}var j=L,I=!1,N=!1;function H(){null===O&&null===T||(B(),P())}function z(e,t,n){if(N)return e(t,n);N=!0;try{return j(e,t,n)}finally{N=!1,H()}}var Y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U=Object.prototype.hasOwnProperty,V={},$={};function W(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){G[e]=new W(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];G[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){G[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){G[e]=new W(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){G[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){G[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){G[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){G[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){G[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new W(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new W(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,K);G[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){G[e]=new W(e,1,!1,e.toLowerCase(),null,!1)})),G.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){G[e]=new W(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(e,t,n,r){var i=G.hasOwnProperty(t)?G[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!U.call($,e)||!U.call(V,e)&&(Y.test(e)?$[e]=!0:(V[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Q="function"==typeof Symbol&&Symbol.for,ee=Q?Symbol.for("react.element"):60103,te=Q?Symbol.for("react.portal"):60106,ne=Q?Symbol.for("react.fragment"):60107,re=Q?Symbol.for("react.strict_mode"):60108,ie=Q?Symbol.for("react.profiler"):60114,oe=Q?Symbol.for("react.provider"):60109,ae=Q?Symbol.for("react.context"):60110,se=Q?Symbol.for("react.concurrent_mode"):60111,ue=Q?Symbol.for("react.forward_ref"):60112,le=Q?Symbol.for("react.suspense"):60113,ce=Q?Symbol.for("react.suspense_list"):60120,de=Q?Symbol.for("react.memo"):60115,fe=Q?Symbol.for("react.lazy"):60116,he=Q?Symbol.for("react.block"):60121,pe="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=pe&&e[pe]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case le:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ve(e.type);case he:return ve(e.render);case fe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(J,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function _e(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ce(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ae(e,t){null!=(t=t.checked)&&Z(e,"checked",t,!1)}function ke(e,t){Ae(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?xe(e,t.type,n):t.hasOwnProperty("defaultValue")&&xe(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function xe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function De(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Me(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Pe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Re(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Be,je=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Be=Be||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ie(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ne(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ne("Animation","AnimationEnd"),animationiteration:Ne("Animation","AnimationIteration"),animationstart:Ne("Animation","AnimationStart"),transitionend:Ne("Transition","TransitionEnd")},ze={},Ye={};function Ue(e){if(ze[e])return ze[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ye)return ze[e]=n[t];return e}x&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ve=Ue("animationend"),$e=Ue("animationiteration"),We=Ue("animationstart"),Ge=Ue("transitionend"),qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ke=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Ke.get(e);return void 0===t&&(t=new Map,Ke.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Qe(e){if(Ze(e)!==e)throw Error(a(188))}function et(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Qe(i),e;if(o===r)return Qe(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function tt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function nt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var rt=null;function it(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ot(e){if(null!==e&&(rt=tt(rt,e)),e=rt,rt=null,e){if(nt(e,it),rt)throw Error(a(95));if(c)throw e=d,c=!1,d=null,e}}function at(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!x)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function lt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function ct(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=kn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=at(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<E.length;u++){var l=E[u];l&&(l=l.extractEvents(r,t,o,i,a))&&(s=tt(s,l))}ot(s)}}function ft(e,t,n){if(!n.has(e)){switch(e){case"scroll":Wt(t,"scroll",!0);break;case"focus":case"blur":Wt(t,"focus",!0),Wt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&Wt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===qe.indexOf(e)&&$t(e,t)}n.set(e,null)}}var ht,pt,mt,vt=!1,gt=[],yt=null,bt=null,_t=null,wt=new Map,Et=new Map,Ct=[],At="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),kt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function St(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function xt(e,t){switch(e){case"focus":case"blur":yt=null;break;case"dragenter":case"dragleave":bt=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":wt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function Dt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=St(t,n,r,i,o),null!==t&&null!==(t=Sn(t))&&pt(t),e):(e.eventSystemFlags|=r,e)}function Ot(e){var t=kn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){mt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Sn(t);return null!==n&&pt(n),e.blockedOn=t,!1}return!0}function Ft(e,t,n){Tt(e)&&n.delete(t)}function Mt(){for(vt=!1;0<gt.length;){var e=gt[0];if(null!==e.blockedOn){null!==(e=Sn(e.blockedOn))&&ht(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:gt.shift()}null!==yt&&Tt(yt)&&(yt=null),null!==bt&&Tt(bt)&&(bt=null),null!==_t&&Tt(_t)&&(_t=null),wt.forEach(Ft),Et.forEach(Ft)}function Pt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Mt)))}function Lt(e){function t(t){return Pt(t,e)}if(0<gt.length){Pt(gt[0],e);for(var n=1;n<gt.length;n++){var r=gt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==yt&&Pt(yt,e),null!==bt&&Pt(bt,e),null!==_t&&Pt(_t,e),wt.forEach(t),Et.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)Ot(n),null===n.blockedOn&&Ct.shift()}var Rt={},Bt=new Map,jt=new Map,It=["abort","abort",Ve,"animationEnd",$e,"animationIteration",We,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ge,"transitionEnd","waiting","waiting"];function Nt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},jt.set(r,t),Bt.set(r,o),Rt[i]=o}}Nt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Nt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Nt(It,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),zt=0;zt<Ht.length;zt++)jt.set(Ht[zt],0);var Yt=o.unstable_UserBlockingPriority,Ut=o.unstable_runWithPriority,Vt=!0;function $t(e,t){Wt(t,e,!1)}function Wt(e,t,n){var r=jt.get(t);switch(void 0===r?2:r){case 0:r=Gt.bind(null,t,1,e);break;case 1:r=qt.bind(null,t,1,e);break;default:r=Kt.bind(null,t,1,e)}e.addEventListener(t,r,!!n)}function Gt(e,t,n,r){I||B();var i=Kt,o=I;I=!0;try{R(i,e,t,n,r)}finally{(I=o)||H()}}function qt(e,t,n,r){Ut(Yt,Kt.bind(null,e,t,n,r))}function Kt(e,t,n,r){if(Vt)if(0<gt.length&&-1<At.indexOf(e))e=St(null,e,t,n,r),gt.push(e);else{var i=Xt(e,t,n,r);if(null===i)xt(e,r);else if(-1<At.indexOf(e))e=St(i,e,t,n,r),gt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return yt=Dt(yt,e,t,n,r,i),!0;case"dragenter":return bt=Dt(bt,e,t,n,r,i),!0;case"mouseover":return _t=Dt(_t,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return wt.set(o,Dt(wt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return Et.set(o=i.pointerId,Dt(Et.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){xt(e,r),e=ct(e,r,null,t);try{z(dt,e)}finally{lt(e)}}}}function Xt(e,t,n,r){if(null!==(n=kn(n=at(r)))){var i=Ze(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=Je(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ct(e,r,n,t);try{z(dt,e)}finally{lt(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Jt=["Webkit","ms","Moz","O"];function Qt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function en(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Qt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Zt).forEach((function(e){Jt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var tn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nn(e,t){if(t){if(tn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function rn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var on="http://www.w3.org/1999/xhtml";function an(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=k[t];for(var r=0;r<t.length;r++)ft(t[r],e,n)}function sn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cn(e,t){var n,r=ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ln(r)}}function dn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hn=null,pn=null;function mn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var gn="function"==typeof setTimeout?setTimeout:void 0,yn="function"==typeof clearTimeout?clearTimeout:void 0;function bn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function _n(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var wn=Math.random().toString(36).slice(2),En="__reactInternalInstance$"+wn,Cn="__reactEventHandlers$"+wn,An="__reactContainere$"+wn;function kn(e){var t=e[En];if(t)return t;for(var n=e.parentNode;n;){if(t=n[An]||n[En]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=_n(e);null!==e;){if(n=e[En])return n;e=_n(e)}return t}n=(e=n).parentNode}return null}function Sn(e){return!(e=e[En]||e[An])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[Cn]||null}function On(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Tn(e,t){var n=e.stateNode;if(!n)return null;var r=p(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Fn(e,t,n){(t=Tn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=tt(n._dispatchListeners,t),n._dispatchInstances=tt(n._dispatchInstances,e))}function Mn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=On(t);for(t=n.length;0<t--;)Fn(n[t],"captured",e);for(t=0;t<n.length;t++)Fn(n[t],"bubbled",e)}}function Pn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Tn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=tt(n._dispatchListeners,t),n._dispatchInstances=tt(n._dispatchInstances,e))}function Ln(e){e&&e.dispatchConfig.registrationName&&Pn(e._targetInst,null,e)}function Rn(e){nt(e,Mn)}var Bn=null,jn=null,In=null;function Nn(){if(In)return In;var e,t,n=jn,r=n.length,i="value"in Bn?Bn.value:Bn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return In=i.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function zn(){return!1}function Yn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:zn,this.isPropagationStopped=zn,this}function Un(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Vn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Un,e.release=Vn}i(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:zn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=zn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),(n.prototype=o).constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,$n(n),n},$n(Yn);var Wn=Yn.extend({data:null}),Gn=Yn.extend({data:null}),qn=[9,13,27,32],Kn=x&&"CompositionEvent"in window,Xn=null;x&&"documentMode"in document&&(Xn=document.documentMode);var Zn=x&&"TextEvent"in window&&!Xn,Jn=x&&(!Kn||Xn&&8<Xn&&11>=Xn),Qn=String.fromCharCode(32),er={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},tr=!1;function nr(e,t){switch(e){case"keyup":return-1!==qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function rr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ir=!1,or={eventTypes:er,extractEvents:function(e,t,n,r){var i;if(Kn)e:{switch(e){case"compositionstart":var o=er.compositionStart;break e;case"compositionend":o=er.compositionEnd;break e;case"compositionupdate":o=er.compositionUpdate;break e}o=void 0}else ir?nr(e,n)&&(o=er.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=er.compositionStart);return o?(Jn&&"ko"!==n.locale&&(ir||o!==er.compositionStart?o===er.compositionEnd&&ir&&(i=Nn()):(jn="value"in(Bn=r)?Bn.value:Bn.textContent,ir=!0)),o=Wn.getPooled(o,t,n,r),(i||null!==(i=rr(n)))&&(o.data=i),Rn(o),i=o):i=null,(e=Zn?function(e,t){switch(e){case"compositionend":return rr(t);case"keypress":return 32!==t.which?null:(tr=!0,Qn);case"textInput":return(e=t.data)===Qn&&tr?null:e;default:return null}}(e,n):function(e,t){if(ir)return"compositionend"===e||!Kn&&nr(e,t)?(e=Nn(),In=jn=Bn=null,ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Gn.getPooled(er.beforeInput,t,n,r)).data=e,Rn(t)):t=null,null===i?t:null===t?i:[i,t]}},ar={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ar[e.type]:"textarea"===t}var ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function lr(e,t,n){return(e=Yn.getPooled(ur.change,e,t,n)).type="change",M(n),Rn(e),e}var cr=null,dr=null;function fr(e){ot(e)}function hr(e){if(we(xn(e)))return e}function pr(e,t){if("change"===e)return t}var mr=!1;function vr(){cr&&(cr.detachEvent("onpropertychange",gr),dr=cr=null)}function gr(e){if("value"===e.propertyName&&hr(dr))if(e=lr(dr,e,at(e)),I)ot(e);else{I=!0;try{L(fr,e)}finally{I=!1,H()}}}function yr(e,t,n){"focus"===e?(vr(),dr=n,(cr=t).attachEvent("onpropertychange",gr)):"blur"===e&&vr()}function br(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hr(dr)}function _r(e,t){if("click"===e)return hr(t)}function wr(e,t){if("input"===e||"change"===e)return hr(t)}x&&(mr=st("input")&&(!document.documentMode||9<document.documentMode));var Er={eventTypes:ur,_isInputEventSupported:mr,extractEvents:function(e,t,n,r){var i=t?xn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=pr;else if(sr(i))if(mr)a=wr;else{a=br;var s=yr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=_r);if(a&&(a=a(e,t)))return lr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&xe(i,"number",i.value)}},Cr=Yn.extend({view:null,detail:null}),Ar={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ar[e])&&!!t[e]}function Sr(){return kr}var xr=0,Dr=0,Or=!1,Tr=!1,Fr=Cr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Sr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=xr;return xr=e.screenX,Or?"mousemove"===e.type?e.screenX-t:0:(Or=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,Tr?"mousemove"===e.type?e.screenY-t:0:(Tr=!0,0)}}),Mr=Fr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Pr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Lr={eventTypes:Pr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?kn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Fr,u=Pr.mouseLeave,l=Pr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Mr,u=Pr.pointerLeave,l=Pr.pointerEnter,c="pointer");if(e=null==a?o:xn(a),o=null==t?o:xn(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(l,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(l=c,a=0,e=s=r;e;e=On(e))a++;for(e=0,t=l;t;t=On(t))e++;for(;0<a-e;)s=On(s),a--;for(;0<e-a;)l=On(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=On(s),l=On(l)}s=null}else s=null;for(l=s,s=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)s.push(r),r=On(r);for(r=[];c&&c!==l&&(null===(a=c.alternate)||a!==l);)r.push(c),c=On(c);for(c=0;c<s.length;c++)Pn(s[c],"bubbled",u);for(c=r.length;0<c--;)Pn(r[c],"captured",n);return 0==(64&i)?[u]:[u,n]}},Rr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Br=Object.prototype.hasOwnProperty;function jr(e,t){if(Rr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Br.call(t,n[r])||!Rr(e[n[r]],t[n[r]]))return!1;return!0}var Ir=x&&"documentMode"in document&&11>=document.documentMode,Nr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,zr=null,Yr=null,Ur=!1;function Vr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Ur||null==Hr||Hr!==un(n)?null:(n="selectionStart"in(n=Hr)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&jr(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Nr.select,zr,e,t)).type="select",e.target=Hr,Rn(e),e))}var $r={eventTypes:Nr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=k.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?xn(t):window,e){case"focus":(sr(i)||"true"===i.contentEditable)&&(Hr=i,zr=t,Yr=null);break;case"blur":Yr=zr=Hr=null;break;case"mousedown":Ur=!0;break;case"contextmenu":case"mouseup":case"dragend":return Ur=!1,Vr(n,r);case"selectionchange":if(Ir)break;case"keydown":case"keyup":return Vr(n,r)}return null}},Wr=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Gr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qr=Cr.extend({relatedTarget:null});function Kr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Jr=Cr.extend({key:function(e){if(e.key){var t=Xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Sr,charCode:function(e){return"keypress"===e.type?Kr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Qr=Fr.extend({dataTransfer:null}),ei=Cr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Sr}),ti=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ni=Fr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ri={eventTypes:Rt,extractEvents:function(e,t,n,r){var i=Bt.get(e);if(!i)return null;switch(e){case"keypress":if(0===Kr(n))return null;case"keydown":case"keyup":e=Jr;break;case"blur":case"focus":e=qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=Qr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ei;break;case Ve:case $e:case We:e=Wr;break;case Ge:e=ti;break;case"scroll":e=Cr;break;case"wheel":e=ni;break;case"copy":case"cut":case"paste":e=Gr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Mr;break;default:e=Yn}return Rn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),p=Dn,m=Sn,v=xn,S({SimpleEventPlugin:ri,EnterLeaveEventPlugin:Lr,ChangeEventPlugin:Er,SelectEventPlugin:$r,BeforeInputEventPlugin:or});var ii=[],oi=-1;function ai(e){0>oi||(e.current=ii[oi],ii[oi]=null,oi--)}function si(e,t){oi++,ii[oi]=e.current,e.current=t}var ui={},li={current:ui},ci={current:!1},di=ui;function fi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hi(e){return null!=e.childContextTypes}function pi(){ai(ci),ai(li)}function mi(e,t,n){if(li.current!==ui)throw Error(a(168));si(li,t),si(ci,n)}function vi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||"Unknown",o));return i({},n,{},r)}function gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,di=li.current,si(li,e),si(ci,ci.current),!0}function yi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=vi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,ai(ci),ai(li),si(li,e)):ai(ci),si(ci,n)}var bi=o.unstable_runWithPriority,_i=o.unstable_scheduleCallback,wi=o.unstable_cancelCallback,Ei=o.unstable_requestPaint,Ci=o.unstable_now,Ai=o.unstable_getCurrentPriorityLevel,ki=o.unstable_ImmediatePriority,Si=o.unstable_UserBlockingPriority,xi=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Oi=o.unstable_IdlePriority,Ti={},Fi=o.unstable_shouldYield,Mi=void 0!==Ei?Ei:function(){},Pi=null,Li=null,Ri=!1,Bi=Ci(),ji=1e4>Bi?Ci:function(){return Ci()-Bi};function Ii(){switch(Ai()){case ki:return 99;case Si:return 98;case xi:return 97;case Di:return 96;case Oi:return 95;default:throw Error(a(332))}}function Ni(e){switch(e){case 99:return ki;case 98:return Si;case 97:return xi;case 96:return Di;case 95:return Oi;default:throw Error(a(332))}}function Hi(e,t){return e=Ni(e),bi(e,t)}function zi(e,t,n){return e=Ni(e),_i(e,t,n)}function Yi(e){return null===Pi?(Pi=[e],Li=_i(ki,Vi)):Pi.push(e),Ti}function Ui(){if(null!==Li){var e=Li;Li=null,wi(e)}Vi()}function Vi(){if(!Ri&&null!==Pi){Ri=!0;var e=0;try{var t=Pi;Hi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Pi=null}catch(t){throw null!==Pi&&(Pi=Pi.slice(e+1)),_i(ki,Ui),t}finally{Ri=!1}}}function $i(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Wi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Gi={current:null},qi=null,Ki=null,Xi=null;function Zi(){Xi=Ki=qi=null}function Ji(e){var t=Gi.current;ai(Gi),e.type._context._currentValue=t}function Qi(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function eo(e,t){qi=e,Xi=Ki=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function to(e,t){if(Xi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Xi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ki){if(null===qi)throw Error(a(308));Ki=t,qi.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ki=Ki.next=t;return e._currentValue}var no=!1;function ro(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function io(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function oo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ao(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function so(e,t){var n=e.alternate;null!==n&&io(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function uo(e,t,n,r){var o=e.updateQueue;no=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,o.shared.pending=null,null!==(u=e.alternate)&&null!==(u=u.updateQueue)&&(u.baseQueue=s)}if(null!==a){var l=o.baseState,c=0,d=null,f=null,h=null;if(null!==(u=a.next))for(var p=u;;){if((s=p.expirationTime)<r){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===h?(f=h=m,d=l):h=h.next=m,s>c&&(c=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),ru(s,p.suspenseConfig);e:{var v=e,g=p;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){l=v.call(m,l,s);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,l,s):v))break e;l=i({},l,s);break e;case 2:no=!0}}null!==p.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[p]:s.push(p))}if(null===(p=p.next)||p===u){if(null===(s=o.shared.pending))break;p=a.next=s.next,s.next=u,o.baseQueue=a=s,o.shared.pending=null}}null===h?d=l:h.next=f,o.baseState=d,o.baseQueue=h,iu(c),e.expirationTime=c,e.memoizedState=l}}function lo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var co=X.ReactCurrentBatchConfig,fo=(new r.Component).refs;function ho(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var po={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Vs(),i=co.suspense;(i=oo(r=$s(r,e,i),i)).payload=t,null!=n&&(i.callback=n),ao(e,i),Ws(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Vs(),i=co.suspense;(i=oo(r=$s(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),ao(e,i),Ws(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Vs(),r=co.suspense;(r=oo(n=$s(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ao(e,r),Ws(e,n)}};function mo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&jr(n,r)&&jr(i,o))}function vo(e,t,n){var r=!1,i=ui,o=t.contextType;return"object"==typeof o&&null!==o?o=to(o):(i=hi(t)?di:li.current,o=(r=null!=(r=t.contextTypes))?fi(e,i):ui),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=po,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function go(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&po.enqueueReplaceState(t,t.state,null)}function yo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=fo,ro(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=to(o):(o=hi(t)?di:li.current,i.context=fi(e,o)),uo(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ho(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&po.enqueueReplaceState(i,i.state,null),uo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var bo=Array.isArray;function _o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===fo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function wo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Eo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function i(e,t){return(e=Au(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=xu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=ku(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Du(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Su(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=xu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=ku(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case te:return(t=Du(t,e.mode,n)).return=e,t}if(bo(t)||me(t))return(t=Su(t,e.mode,n,null)).return=e,t;wo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):l(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(bo(n)||me(n))return null!==i?null:d(e,t,n,r,null);wo(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):l(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(bo(r)||me(r))return d(t,e=e.get(n)||null,r,i,null);wo(t,r)}return null}function m(i,a,s,u){for(var l=null,c=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=h(i,d,s[m],u);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===c?l=g:c.sibling=g,c=g,d=v}if(m===s.length)return n(i,d),l;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],u))&&(a=o(d,a,m),null===c?l=d:c.sibling=d,c=d);return l}for(d=r(i,d);m<s.length;m++)null!==(v=p(d,i,m,s[m],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===c?l=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(i,e)})),l}function v(i,s,u,l){var c=me(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var d=c=null,m=s,v=s=0,g=null,y=u.next();null!==m&&!y.done;v++,y=u.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=h(i,m,y.value,l);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=u.next())null!==(y=f(i,y.value,l))&&(s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(i,m);!y.done;v++,y=u.next())null!==(y=p(m,i,v,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var l="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){switch(l.tag){case 7:if(o.type===ne){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}break;default:if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=_o(e,l,o),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}o.type===ne?((r=Su(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=ku(o.type,o.key,o.props,null,e.mode,u)).ref=_o(e,r,o),u.return=e,e=u)}return s(e);case te:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Du(o,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=xu(o,e.mode,u)).return=e,e=r),s(e);if(bo(o))return m(e,r,o,u);if(me(o))return v(e,r,o,u);if(c&&wo(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Co=Eo(!0),Ao=Eo(!1),ko={},So={current:ko},xo={current:ko},Do={current:ko};function Oo(e){if(e===ko)throw Error(a(174));return e}function To(e,t){switch(si(Do,t),si(xo,e),si(So,ko),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Re(null,"");break;default:t=Re(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ai(So),si(So,t)}function Fo(){ai(So),ai(xo),ai(Do)}function Mo(e){Oo(Do.current);var t=Oo(So.current),n=Re(t,e.type);t!==n&&(si(xo,e),si(So,n))}function Po(e){xo.current===e&&(ai(So),ai(xo))}var Lo={current:0};function Ro(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bo(e,t){return{responder:e,props:t}}var jo=X.ReactCurrentDispatcher,Io=X.ReactCurrentBatchConfig,No=0,Ho=null,zo=null,Yo=null,Uo=!1;function Vo(){throw Error(a(321))}function $o(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rr(e[n],t[n]))return!1;return!0}function Wo(e,t,n,r,i,o){if(No=o,Ho=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,jo.current=null===e||null===e.memoizedState?ma:va,e=n(r,i),t.expirationTime===No){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Yo=zo=null,t.updateQueue=null,jo.current=ga,e=n(r,i)}while(t.expirationTime===No)}if(jo.current=pa,t=null!==zo&&null!==zo.next,No=0,Yo=zo=Ho=null,Uo=!1,t)throw Error(a(300));return e}function Go(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yo?Ho.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function qo(){if(null===zo){var e=Ho.alternate;e=null!==e?e.memoizedState:null}else e=zo.next;var t=null===Yo?Ho.memoizedState:Yo.next;if(null!==t)Yo=t,zo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(zo=e).memoizedState,baseState:zo.baseState,baseQueue:zo.baseQueue,queue:zo.queue,next:null},null===Yo?Ho.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function Ko(e,t){return"function"==typeof t?t(e):t}function Xo(e){var t=qo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=zo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){r=r.baseState;var u=s=o=null,l=i=i.next;do{var c=l.expirationTime;if(c<No){var d={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===u?(s=u=d,o=r):u=u.next=d,c>Ho.expirationTime&&(Ho.expirationTime=c,iu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),ru(c,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==i);null===u?o=r:u.next=s,Rr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=qo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Rr(o,t.memoizedState)||(Da=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Jo(e){var t=Go();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:e}).dispatch=ha.bind(null,Ho,e),[t.memoizedState,e]}function Qo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ho.updateQueue)?(Ho.updateQueue=t={lastEffect:null},t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ea(){return qo().memoizedState}function ta(e,t,n,r){var i=Go();Ho.effectTag|=e,i.memoizedState=Qo(1|t,n,void 0,void 0===r?null:r)}function na(e,t,n,r){var i=qo();r=void 0===r?null:r;var o=void 0;if(null!==zo){var a=zo.memoizedState;if(o=a.destroy,null!==r&&$o(r,a.deps))return void Qo(t,n,o,r)}Ho.effectTag|=e,i.memoizedState=Qo(1|t,n,o,r)}function ra(e,t){return ta(516,4,e,t)}function ia(e,t){return na(516,4,e,t)}function oa(e,t){return na(4,2,e,t)}function aa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sa(e,t,n){return n=null!=n?n.concat([e]):null,na(4,2,aa.bind(null,t,e),n)}function ua(){}function la(e,t){return Go().memoizedState=[e,void 0===t?null:t],e}function ca(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fa(e,t,n){var r=Ii();Hi(98>r?98:r,(function(){e(!0)})),Hi(97<r?97:r,(function(){var r=Io.suspense;Io.suspense=void 0===t?null:t;try{e(!1),n()}finally{Io.suspense=r}}))}function ha(e,t,n){var r=Vs(),i=co.suspense;i={expirationTime:r=$s(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Ho||null!==o&&o===Ho)Uo=!0,i.expirationTime=No,Ho.expirationTime=No;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Rr(s,a))return}catch(e){}Ws(e,r)}}var pa={readContext:to,useCallback:Vo,useContext:Vo,useEffect:Vo,useImperativeHandle:Vo,useLayoutEffect:Vo,useMemo:Vo,useReducer:Vo,useRef:Vo,useState:Vo,useDebugValue:Vo,useResponder:Vo,useDeferredValue:Vo,useTransition:Vo},ma={readContext:to,useCallback:la,useContext:to,useEffect:ra,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ta(4,2,aa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ta(4,2,e,t)},useMemo:function(e,t){var n=Go();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Go();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ha.bind(null,Ho,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Go().memoizedState=e},useState:Jo,useDebugValue:ua,useResponder:Bo,useDeferredValue:function(e,t){var n=Jo(e),r=n[0],i=n[1];return ra((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{i(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Jo(!1),n=t[0];return[la(fa.bind(null,t=t[1],e),[t,e]),n]}},va={readContext:to,useCallback:ca,useContext:to,useEffect:ia,useImperativeHandle:sa,useLayoutEffect:oa,useMemo:da,useReducer:Xo,useRef:ea,useState:function(){return Xo(Ko)},useDebugValue:ua,useResponder:Bo,useDeferredValue:function(e,t){var n=Xo(Ko),r=n[0],i=n[1];return ia((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{i(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xo(Ko),n=t[0];return[ca(fa.bind(null,t=t[1],e),[t,e]),n]}},ga={readContext:to,useCallback:ca,useContext:to,useEffect:ia,useImperativeHandle:sa,useLayoutEffect:oa,useMemo:da,useReducer:Zo,useRef:ea,useState:function(){return Zo(Ko)},useDebugValue:ua,useResponder:Bo,useDeferredValue:function(e,t){var n=Zo(Ko),r=n[0],i=n[1];return ia((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{i(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zo(Ko),n=t[0];return[ca(fa.bind(null,t=t[1],e),[t,e]),n]}},ya=null,ba=null,_a=!1;function wa(e,t){var n=Eu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ea(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ca(e){if(_a){var t=ba;if(t){var n=t;if(!Ea(e,t)){if(!(t=bn(n.nextSibling))||!Ea(e,t))return e.effectTag=-1025&e.effectTag|2,_a=!1,void(ya=e);wa(ya,n)}ya=e,ba=bn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,_a=!1,ya=e}}function Aa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ya=e}function ka(e){if(e!==ya)return!1;if(!_a)return Aa(e),_a=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=ba;t;)wa(e,t),t=bn(t.nextSibling);if(Aa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ba=bn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ba=null}}else ba=ya?bn(e.stateNode.nextSibling):null;return!0}function Sa(){ba=ya=null,_a=!1}var xa=X.ReactCurrentOwner,Da=!1;function Oa(e,t,n,r){t.child=null===e?Ao(t,null,n,r):Co(t,e.child,n,r)}function Ta(e,t,n,r,i){n=n.render;var o=t.ref;return eo(t,i),r=Wo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,Oa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wa(e,t,i))}function Fa(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Cu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ku(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ma(e,t,a,r,i,o))}return a=e.child,i<o&&(n=null!==(n=n.compare)?n:jr)(i=a.memoizedProps,r)&&e.ref===t.ref?Wa(e,t,o):(t.effectTag|=1,(e=Au(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ma(e,t,n,r,i,o){return null!==e&&jr(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,i<o)?(t.expirationTime=e.expirationTime,Wa(e,t,o)):La(e,t,n,r,o)}function Pa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function La(e,t,n,r,i){var o=hi(n)?di:li.current;return o=fi(t,o),eo(t,i),n=Wo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,Oa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wa(e,t,i))}function Ra(e,t,n,r,i){if(hi(n)){var o=!0;gi(t)}else o=!1;if(eo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vo(t,n,r),yo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;l="object"==typeof l&&null!==l?to(l):fi(t,l=hi(n)?di:li.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&go(t,a,r,l),no=!1;var f=t.memoizedState;a.state=f,uo(t,r,a,i),u=t.memoizedState,s!==r||f!==u||ci.current||no?("function"==typeof c&&(ho(t,n,c,r),u=t.memoizedState),(s=no||mo(t,n,s,r,f,u,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,io(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Wi(t.type,s),u=a.context,l="object"==typeof(l=n.contextType)&&null!==l?to(l):fi(t,l=hi(n)?di:li.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&go(t,a,r,l),no=!1,a.state=u=t.memoizedState,uo(t,r,a,i),f=t.memoizedState,s!==r||u!==f||ci.current||no?("function"==typeof c&&(ho(t,n,c,r),f=t.memoizedState),(c=no||mo(t,n,s,r,u,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ba(e,t,n,r,o,i)}function Ba(e,t,n,r,i,o){Pa(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&yi(t,n,!1),Wa(e,t,o);r=t.stateNode,xa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,s,o)):Oa(e,t,s,o),t.memoizedState=r.state,i&&yi(t,n,!0),t.child}function ja(e){var t=e.stateNode;t.pendingContext?mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&mi(0,t.context,!1),To(e,t.containerInfo)}var Ia,Na,Ha,za={dehydrated:null,retryTime:0};function Ya(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Lo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),si(Lo,1&a),null===e){if(void 0!==o.fallback&&Ca(t),s){if(s=o.fallback,(o=Su(null,i,0,null)).return=t,0==(2&t.mode))for(o.child=e=null!==t.memoizedState?t.child.child:t.child;null!==e;)e.return=o,e=e.sibling;return(n=Su(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=za,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Ao(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Au(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Au(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=za,t.child=n,i}return n=Co(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Su(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(o.child=e=null!==t.memoizedState?t.child.child:t.child;null!==e;)e.return=o,e=e.sibling;return(n=Su(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=za,t.child=o,n}return t.memoizedState=null,t.child=Co(t,e,o.children,n)}function Ua(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),Qi(e.return,t)}function Va(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function $a(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Oa(e,t,r.children,n),0!=(2&(r=Lo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ua(e,n);else if(19===e.tag)Ua(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(si(Lo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ro(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Va(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ro(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Va(t,!0,n,null,o,t.lastEffect);break;case"together":Va(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Wa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&iu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Au(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Au(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ga(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return hi(t.type)&&pi(),null;case 3:return Fo(),ai(ci),ai(li),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!ka(t)||(t.effectTag|=4),null;case 5:Po(t),n=Oo(Do.current);var o=t.type;if(null!==e&&null!=t.stateNode)Na(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Oo(So.current),ka(t)){o=t.type;var s=t.memoizedProps;switch((r=t.stateNode)[En]=t,r[Cn]=s,o){case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(e=0;e<qe.length;e++)$t(qe[e],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"form":$t("reset",r),$t("submit",r);break;case"details":$t("toggle",r);break;case"input":Ce(r,s),$t("invalid",r),an(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},$t("invalid",r),an(n,"onChange");break;case"textarea":Fe(r,s),$t("invalid",r),an(n,"onChange")}for(var u in nn(o,s),e=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"==typeof l?r.textContent!==l&&(e=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(e=["children",""+l]):A.hasOwnProperty(u)&&null!=l&&an(n,u)}switch(o){case"input":_e(r),Se(r,s,!0);break;case"textarea":_e(r),Pe(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=sn)}t.updateQueue=n=e,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===on&&(e=Le(o)),e===on?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(o,{is:r.is}):(e=u.createElement(o),"select"===o&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,o),e[En]=t,e[Cn]=r,Ia(e,t),t.stateNode=e,u=rn(o,r),o){case"iframe":case"object":case"embed":$t("load",e),l=r;break;case"video":case"audio":for(l=0;l<qe.length;l++)$t(qe[l],e);l=r;break;case"source":$t("error",e),l=r;break;case"img":case"image":case"link":$t("error",e),$t("load",e),l=r;break;case"form":$t("reset",e),$t("submit",e),l=r;break;case"details":$t("toggle",e),l=r;break;case"input":Ce(e,r),l=Ee(e,r),$t("invalid",e),an(n,"onChange");break;case"option":l=De(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=i({},r,{value:void 0}),$t("invalid",e),an(n,"onChange");break;case"textarea":Fe(e,r),l=Te(e,r),$t("invalid",e),an(n,"onChange");break;default:l=r}nn(o,l);var c=l;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?en(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&je(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&Ie(e,d):"number"==typeof d&&Ie(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(A.hasOwnProperty(s)?null!=d&&an(n,s):null!=d&&Z(e,s,d,u))}switch(o){case"input":_e(e),Se(e,r,!1);break;case"textarea":_e(e),Pe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=sn)}mn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Oo(Do.current),Oo(So.current),ka(t)?(r=t.memoizedProps,(n=t.stateNode)[En]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[En]=t,t.stateNode=n)}return null;case 13:return ai(Lo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&ka(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Lo.current)?ks===ys&&(ks=bs):(ks!==ys&&ks!==bs||(ks=_s),0!==Ts&&null!==Es&&(Fu(Es,As),Mu(Es,Ts)))),(n||r)&&(t.effectTag|=4),null);case 4:return Fo(),null;case 10:return Ji(t),null;case 17:return hi(t.type)&&pi(),null;case 19:if(ai(Lo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Ga(r,!1);else if(ks!==ys||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ro(s))){for(t.effectTag|=64,Ga(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,o.dependencies=null===(s=e.dependencies)?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return si(Lo,1&Lo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Ro(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ga(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*ji()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Ga(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=ji()+500),r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=ji(),n.sibling=null,t=Lo.current,si(Lo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Ka(e){switch(e.tag){case 1:hi(e.type)&&pi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Fo(),ai(ci),ai(li),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Po(e),null;case 13:return ai(Lo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ai(Lo),null;case 4:return Fo(),null;case 10:return Ji(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:ge(t)}}Ia=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Na=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,l=t.stateNode;switch(Oo(So.current),e=null,n){case"input":a=Ee(l,a),r=Ee(l,r),e=[];break;case"option":a=De(l,a),r=De(l,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Te(l,a),r=Te(l,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(l.onclick=sn)}for(s in nn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in l=a[s])l.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(A.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(c=c?c.__html:void 0)&&l!==c&&(e=e||[]).push(s,c)):"children"===s?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(A.hasOwnProperty(s)?(null!=c&&an(o,s),e||l===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),(t.updateQueue=o=e)&&(t.effectTag|=4)}},Ha=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za="function"==typeof WeakSet?WeakSet:Set;function Ja(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function Qa(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){vu(e,t)}else t.current=null}function es(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Wi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ts(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ns(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0,n.create)()),n=n.next}while(n!==t)}}function rs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ns(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Wi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&lo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}lo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&mn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function is(e,t,n){switch("function"==typeof _u&&_u(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Hi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){vu(i,e)}}e=e.next}while(e!==r)}))}break;case 1:Qa(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){vu(e,t)}}(t,n);break;case 5:Qa(t);break;case 4:us(e,t,n)}}function os(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&os(t)}function as(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:{for(var t=e.return;null!==t;){if(as(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ie(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||as(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=sn));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function us(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,c=n,d=l;;)if(is(u,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===l)break e;for(;null===d.sibling;){if(null===d.return||d.return===l)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(l=o.stateNode,8===(u=r).nodeType?u.parentNode.removeChild(l):u.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(is(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ls(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ts(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Cn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Ae(n,r),rn(e,i),t=rn(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?en(n,u):"dangerouslySetInnerHTML"===s?je(n,u):"children"===s?Ie(n,u):Z(n,s,u,t)}switch(e){case"input":ke(n,r);break;case"textarea":Me(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ms=ji()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=Qt("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void cs(t);case 19:return void cs(t);case 17:return}throw Error(a(163))}function cs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=yu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ds="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=oo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ls||(Ls=!0,Rs=r),Ja(e,t)},n}function hs(e,t,n){(n=oo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Ja(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bs?Bs=new Set([this]):Bs.add(this),Ja(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ps,ms=Math.ceil,vs=X.ReactCurrentDispatcher,gs=X.ReactCurrentOwner,ys=0,bs=3,_s=4,ws=0,Es=null,Cs=null,As=0,ks=ys,Ss=null,xs=1073741823,Ds=1073741823,Os=null,Ts=0,Fs=!1,Ms=0,Ps=null,Ls=!1,Rs=null,Bs=null,js=!1,Is=null,Ns=90,Hs=null,zs=0,Ys=null,Us=0;function Vs(){return 0!=(48&ws)?1073741821-(ji()/10|0):0!==Us?Us:Us=1073741821-(ji()/10|0)}function $s(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ii();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&ws))return As;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Es&&e===As&&--e,e}function Ws(e,t){if(50<zs)throw zs=0,Ys=null,Error(a(185));if(null!==(e=Gs(e,t))){var n=Ii();1073741823===t?0!=(8&ws)&&0==(48&ws)?Zs(e):(Ks(e),0===ws&&Ui()):Ks(e),0==(4&ws)||98!==n&&99!==n||(null===Hs?Hs=new Map([[e,t]]):(void 0===(n=Hs.get(e))||n>t)&&Hs.set(e,t))}}function Gs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Es===i&&(iu(t),ks===_s&&Fu(i,As)),Mu(i,t)),i}function qs(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Tu(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Ks(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yi(Zs.bind(null,e));else{var t=qs(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Vs();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){if(e.callbackExpirationTime===t&&e.callbackPriority>=r)return;n!==Ti&&wi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Yi(Zs.bind(null,e)):zi(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-ji()}),e.callbackNode=t}}}function Xs(e,t){if(Us=0,t)return Pu(e,t=Vs()),Ks(e),null;var n=qs(e);if(0!==n){if(t=e.callbackNode,0!=(48&ws))throw Error(a(327));if(hu(),e===Es&&n===As||eu(e,n),null!==Cs){var r=ws;ws|=16;for(var i=nu();;)try{au();break}catch(t){tu(e,t)}if(Zi(),ws=r,vs.current=i,1===ks)throw t=Ss,eu(e,n),Fu(e,n),Ks(e),t;if(null===Cs)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=ks,Es=null,r){case ys:case 1:throw Error(a(345));case 2:Pu(e,2<n?2:n);break;case bs:if(Fu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=lu(i)),1073741823===xs&&10<(i=Ms+500-ji())){if(Fs){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,eu(e,n);break}}if(0!==(o=qs(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=gn(cu.bind(null,e),i);break}cu(e);break;case _s:if(Fu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=lu(i)),Fs&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,eu(e,n);break}if(0!==(i=qs(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ds?r=10*(1073741821-Ds)-ji():1073741823===xs?r=0:(r=10*(1073741821-xs)-5e3,0>(r=(i=ji())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ms(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=gn(cu.bind(null,e),r);break}cu(e);break;case 5:if(1073741823!==xs&&null!==Os){o=xs;var s=Os;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=ji()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Fu(e,n),e.timeoutHandle=gn(cu.bind(null,e),r);break}}cu(e);break;default:throw Error(a(329))}if(Ks(e),e.callbackNode===t)return Xs.bind(null,e)}}return null}function Zs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&ws))throw Error(a(327));if(hu(),e===Es&&t===As||eu(e,t),null!==Cs){var n=ws;ws|=16;for(var r=nu();;)try{ou();break}catch(t){tu(e,t)}if(Zi(),ws=n,vs.current=r,1===ks)throw n=Ss,eu(e,t),Fu(e,t),Ks(e),n;if(null!==Cs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Es=null,cu(e),Ks(e)}return null}function Js(e,t){var n=ws;ws|=1;try{return e(t)}finally{0===(ws=n)&&Ui()}}function Qs(e,t){var n=ws;ws&=-2,ws|=8;try{return e(t)}finally{0===(ws=n)&&Ui()}}function eu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,yn(n)),null!==Cs)for(n=Cs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&pi();break;case 3:Fo(),ai(ci),ai(li);break;case 5:Po(r);break;case 4:Fo();break;case 13:case 19:ai(Lo);break;case 10:Ji(r)}n=n.return}Es=e,Cs=Au(e.current,null),As=t,ks=ys,Ss=null,Ds=xs=1073741823,Os=null,Ts=0,Fs=!1}function tu(e,t){for(;;){try{if(Zi(),jo.current=pa,Uo)for(var n=Ho.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(No=0,Yo=zo=Ho=null,Uo=!1,null===Cs||null===Cs.return)return ks=1,Ss=t,Cs=null;e:{var i=e,o=Cs.return,a=Cs,s=t;if(t=As,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Lo.current),d=o;do{var f;if(f=13===d.tag){var h=d.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var p=d.memoizedProps;f=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!c)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(u),d.updateQueue=v}else m.add(u);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=oo(1073741823,null);g.tag=2,ao(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(a)){s.add(a);var b=gu.bind(null,i,u,a);u.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}5!==ks&&(ks=2),s=Xa(s,a),d=o;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=t,so(d,fs(d,u,t));break e;case 1:u=s;var _=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof d.type.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Bs||!Bs.has(_)))){d.effectTag|=4096,d.expirationTime=t,so(d,hs(d,u,t));break e}}d=d.return}while(null!==d)}Cs=uu(Cs)}catch(e){t=e;continue}break}}function nu(){var e=vs.current;return vs.current=pa,null===e?pa:e}function ru(e,t){e<xs&&2<e&&(xs=e),null!==t&&e<Ds&&2<e&&(Ds=e,Os=t)}function iu(e){e>Ts&&(Ts=e)}function ou(){for(;null!==Cs;)Cs=su(Cs)}function au(){for(;null!==Cs&&!Fi();)Cs=su(Cs)}function su(e){var t=ps(e.alternate,e,As);return e.memoizedProps=e.pendingProps,null===t&&(t=uu(e)),gs.current=null,t}function uu(e){Cs=e;do{var t=Cs.alternate;if(e=Cs.return,0==(2048&Cs.effectTag)){if(t=qa(t,Cs,As),1===As||1!==Cs.childExpirationTime){for(var n=0,r=Cs.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Cs.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Cs.firstEffect),null!==Cs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Cs.firstEffect),e.lastEffect=Cs.lastEffect),1<Cs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Cs:e.firstEffect=Cs,e.lastEffect=Cs))}else{if(null!==(t=Ka(Cs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Cs.sibling))return t;Cs=e}while(null!==Cs);return ks===ys&&(ks=5),null}function lu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function cu(e){var t=Ii();return Hi(99,du.bind(null,e,t)),null}function du(e,t){do{hu()}while(null!==Is);if(0!=(48&ws))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=lu(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Es&&(Cs=Es=null,As=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=ws;ws|=32,gs.current=null,hn=Vt;var s=dn();if(fn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else{var l=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;var f=0,h=-1,p=-1,m=0,v=0,g=s,y=null;e:for(;;){for(var b;g!==u||0!==c&&3!==g.nodeType||(h=f+c),g!==d||0!==l&&3!==g.nodeType||(p=f+l),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break e;if(y===u&&++m===c&&(h=f),y===d&&++v===l&&(p=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}u=-1===h||-1===p?null:{start:h,end:p}}else u=null}u=u||{start:0,end:0}}else u=null;pn={activeElementDetached:null,focusedElem:s,selectionRange:u},Vt=!1,Ps=i;do{try{fu()}catch(e){if(null===Ps)throw Error(a(330));vu(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);Ps=i;do{try{for(s=e,u=t;null!==Ps;){var _=Ps.effectTag;if(16&_&&Ie(Ps.stateNode,""),128&_){var w=Ps.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&_){case 2:ss(Ps),Ps.effectTag&=-3;break;case 6:ss(Ps),Ps.effectTag&=-3,ls(Ps.alternate,Ps);break;case 1024:Ps.effectTag&=-1025;break;case 1028:Ps.effectTag&=-1025,ls(Ps.alternate,Ps);break;case 4:ls(Ps.alternate,Ps);break;case 8:us(s,c=Ps,u),os(c)}Ps=Ps.nextEffect}}catch(e){if(null===Ps)throw Error(a(330));vu(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);if(E=pn,w=dn(),u=E.selectionRange,w!==(_=E.focusedElem)&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==u&&fn(_)&&(w=u.start,void 0===(E=u.end)&&(E=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(E,_.value.length)):(E=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),c=_.textContent.length,s=Math.min(u.start,c),u=void 0===u.end?s:Math.min(u.end,c),!E.extend&&s>u&&(c=u,u=s,s=c),c=cn(_,s),d=cn(_,u),c&&d&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((w=w.createRange()).setStart(c.node,c.offset),E.removeAllRanges(),s>u?(E.addRange(w),E.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),E.addRange(w))))),w=[];for(E=_;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(E=w[_]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Vt=!!hn,pn=hn=null,e.current=n,Ps=i;do{try{for(_=e;null!==Ps;){var C=Ps.effectTag;if(36&C&&rs(_,Ps.alternate,Ps),128&C){w=void 0;var A=Ps.ref;if(null!==A){var k=Ps.stateNode;switch(Ps.tag){case 5:w=k;break;default:w=k}"function"==typeof A?A(w):A.current=w}}Ps=Ps.nextEffect}}catch(e){if(null===Ps)throw Error(a(330));vu(Ps,e),Ps=Ps.nextEffect}}while(null!==Ps);Ps=null,Mi(),ws=o}else e.current=n;if(js)js=!1,Is=e,Ns=t;else for(Ps=i;null!==Ps;)t=Ps.nextEffect,Ps.nextEffect=null,Ps=t;if(0===(t=e.firstPendingTime)&&(Bs=null),1073741823===t?e===Ys?zs++:(zs=0,Ys=e):zs=0,"function"==typeof bu&&bu(n.stateNode,r),Ks(e),Ls)throw Ls=!1,e=Rs,Rs=null,e;return 0!=(8&ws)||Ui(),null}function fu(){for(;null!==Ps;){var e=Ps.effectTag;0!=(256&e)&&es(Ps.alternate,Ps),0==(512&e)||js||(js=!0,zi(97,(function(){return hu(),null}))),Ps=Ps.nextEffect}}function hu(){if(90!==Ns){var e=97<Ns?97:Ns;return Ns=90,Hi(e,pu)}}function pu(){if(null===Is)return!1;var e=Is;if(Is=null,0!=(48&ws))throw Error(a(331));var t=ws;for(ws|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ts(5,n),ns(5,n)}}catch(t){if(null===e)throw Error(a(330));vu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return ws=t,Ui(),!0}function mu(e,t,n){ao(e,t=fs(e,t=Xa(n,t),1073741823)),null!==(e=Gs(e,1073741823))&&Ks(e)}function vu(e,t){if(3===e.tag)mu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){mu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bs||!Bs.has(r))){ao(n,e=hs(n,e=Xa(t,e),1073741823)),null!==(n=Gs(n,1073741823))&&Ks(n);break}}n=n.return}}function gu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Es===e&&As===n?ks===_s||ks===bs&&1073741823===xs&&ji()-Ms<500?eu(e,As):Fs=!0:Tu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Ks(e)))}function yu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=$s(t=Vs(),e,null)),null!==(e=Gs(e,t))&&Ks(e)}ps=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||ci.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:ja(t),Sa();break;case 5:if(Mo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:hi(t.type)&&gi(t);break;case 4:To(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,si(Gi,(i=t.type._context)._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ya(e,t,n):(si(Lo,1&Lo.current),null!==(t=Wa(e,t,n))?t.sibling:null);si(Lo,1&Lo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return $a(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),si(Lo,Lo.current),!r)return null}return Wa(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=fi(t,li.current),eo(t,n),i=Wo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hi(r)){var o=!0;gi(t)}else o=!1;t.memoizedState=null!=i.state?i.state:null,ro(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&ho(t,r,s,e),i.updater=po,t.stateNode=i,i._reactInternalFiber=t,yo(t,r,e,n),t=Ba(null,t,r,!0,o,n)}else t.tag=0,Oa(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(t.type=i=i._result,o=t.tag=function(e){if("function"==typeof e)return Cu(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===de)return 14}return 2}(i),e=Wi(i,e),o){case 0:t=La(null,t,i,e,n);break e;case 1:t=Ra(null,t,i,e,n);break e;case 11:t=Ta(null,t,i,e,n);break e;case 14:t=Fa(null,t,i,Wi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return i=t.pendingProps,La(e,t,r=t.type,i=t.elementType===r?i:Wi(r,i),n);case 1:return i=t.pendingProps,Ra(e,t,r=t.type,i=t.elementType===r?i:Wi(r,i),n);case 3:if(ja(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,io(e,t),uo(t,r,null,n),(r=t.memoizedState.element)===i)Sa(),t=Wa(e,t,n);else{if((i=t.stateNode.hydrate)&&(ba=bn(t.stateNode.containerInfo.firstChild),ya=t,i=_a=!0),i)for(n=Ao(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Oa(e,t,r,n),Sa();t=t.child}return t;case 5:return Mo(t),null===e&&Ca(t),o=null!==e?e.memoizedProps:null,s=(i=t.pendingProps).children,vn(r=t.type,i)?s=null:null!==o&&vn(r,o)&&(t.effectTag|=16),Pa(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Oa(e,t,s,n),t=t.child),t;case 6:return null===e&&Ca(t),null;case 13:return Ya(e,t,n);case 4:return To(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Co(t,null,r,n):Oa(e,t,r,n),t.child;case 11:return i=t.pendingProps,Ta(e,t,r=t.type,i=t.elementType===r?i:Wi(r,i),n);case 7:return Oa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,s=t.memoizedProps,o=(i=t.pendingProps).value;var u=t.type._context;if(si(Gi,u._currentValue),u._currentValue=o,null!==s)if(0==(o=Rr(u=s.value,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!ci.current){t=Wa(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){s=u.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===u.tag&&((c=oo(n,null)).tag=2,ao(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),Qi(u.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Oa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,eo(t,n),r=r(i=to(i,o.unstable_observedBits)),t.effectTag|=1,Oa(e,t,r,n),t.child;case 14:return o=Wi(i=t.type,t.pendingProps),Fa(e,t,i,o=Wi(i.type,o),r,n);case 15:return Ma(e,t,t.type,t.pendingProps,r,n);case 17:return i=t.pendingProps,i=t.elementType===(r=t.type)?i:Wi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,hi(r)?(e=!0,gi(t)):e=!1,eo(t,n),vo(t,r,i),yo(t,r,i,n),Ba(null,t,r,!0,e,n);case 19:return $a(e,t,n)}throw Error(a(156,t.tag))};var bu=null,_u=null;function wu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Eu(e,t,n,r){return new wu(e,t,n,r)}function Cu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var n=e.alternate;return null===n?((n=Eu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ku(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Cu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Su(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Eu(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case le:return(e=Eu(13,n,t,i)).type=le,e.elementType=le,e.expirationTime=o,e;case ce:return(e=Eu(19,n,t,i)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case ue:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case he:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Eu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Su(e,t,n,r){return(e=Eu(7,e,r,t)).expirationTime=n,e}function xu(e,t,n){return(e=Eu(6,e,null,t)).expirationTime=n,e}function Du(e,t,n){return(t=Eu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ou(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Tu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Fu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Mu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Pu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Lu(e,t,n,r){var i=t.current,o=Vs(),s=co.suspense;o=$s(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(hi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(hi(l)){n=vi(n,l,u);break e}}n=u}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=oo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ao(i,t),Ws(i,o),o}function Ru(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function ju(e,t){Bu(e,t),(e=e.alternate)&&Bu(e,t)}function Iu(e,t,n){var r=new Ou(e,t,n=null!=n&&!0===n.hydrate),i=Eu(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,ro(i),e[An]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);At.forEach((function(e){ft(e,t,n)})),kt.forEach((function(e){ft(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hu(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Ru(a);s.call(e)}}Lu(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Iu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=Ru(a);u.call(e)}}Qs((function(){Lu(t,a,e,i)}))}return Ru(a)}function zu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Nu(t))throw Error(a(200));return zu(e,t,null,n)}Iu.prototype.render=function(e){Lu(e,this._internalRoot,null,null)},Iu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Lu(null,e,null,(function(){t[An]=null}))},ht=function(e){if(13===e.tag){var t=$i(Vs(),150,100);Ws(e,t),ju(e,t)}},pt=function(e){13===e.tag&&(Ws(e,3),ju(e,3))},mt=function(e){if(13===e.tag){var t=Vs();Ws(e,t=$s(t,e,null)),ju(e,t)}},D=function(e,t,n){switch(t){case"input":if(ke(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Dn(r);if(!i)throw Error(a(90));we(r),ke(r,i)}}}break;case"textarea":Me(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},L=Js,R=function(e,t,n,r,i){var o=ws;ws|=4;try{return Hi(98,e.bind(null,t,n,r,i))}finally{0===(ws=o)&&Ui()}},B=function(){0==(49&ws)&&(function(){if(null!==Hs){var e=Hs;Hs=null,e.forEach((function(e,t){Pu(t,e),Ks(t)})),Ui()}}(),hu())},j=function(e,t){var n=ws;ws|=2;try{return e(t)}finally{0===(ws=n)&&Ui()}};var Uu,Vu,$u={Events:[Sn,xn,Dn,S,C,Rn,function(e){nt(e,Ln)},M,P,Kt,ot,hu,{current:!1}]};Vu=(Uu={findFiberByHostInstance:kn,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);bu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},_u=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},Uu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=et(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vu?Vu(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$u,t.createPortal=Yu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=et(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&ws))throw Error(a(187));var n=ws;ws|=1;try{return Hi(99,e.bind(null,t))}finally{ws=n,Ui()}},t.hydrate=function(e,t,n){if(!Nu(t))throw Error(a(200));return Hu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Nu(t))throw Error(a(200));return Hu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Nu(e))throw Error(a(40));return!!e._reactRootContainer&&(Qs((function(){Hu(null,null,e,!1,(function(){e._reactRootContainer=null,e[An]=null}))})),!0)},t.unstable_batchedUpdates=Js,t.unstable_createPortal=function(e,t){return Yu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hu(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(425)},function(e,t,n){"use strict";var r,i,o,a,s;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,l=null,c=function e(){if(null!==u)try{var n=t.unstable_now();u(!0,n),u=null}catch(n){throw setTimeout(e,0),n}},d=Date.now();t.unstable_now=function(){return Date.now()-d},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},i=function(e,t){l=setTimeout(e,t)},o=function(){clearTimeout(l)},a=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,h=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var g=h.now();t.unstable_now=function(){return h.now()-g}}var y=!1,b=null,_=-1,w=5,E=0;a=function(){return t.unstable_now()>=E},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,A=C.port2;C.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();E=e+w;try{b(!0,e)?A.postMessage(null):(y=!1,b=null)}catch(e){throw A.postMessage(null),e}}else y=!1},r=function(e){b=e,y||(y=!0,A.postMessage(null))},i=function(e,n){_=p((function(){e(t.unstable_now())}),n)},o=function(){m(_),_=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<D(i,t)))break e;e[r]=t,e[n]=i,n=r}}function S(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,u=e[s];if(void 0!==a&&0>D(a,n))void 0!==u&&0>D(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>D(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function D(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var O=[],T=[],F=1,M=null,P=3,L=!1,R=!1,B=!1;function j(e){for(var t=S(T);null!==t;){if(null===t.callback)x(T);else{if(!(t.startTime<=e))break;x(T),t.sortIndex=t.expirationTime,k(O,t)}t=S(T)}}function I(e){if(B=!1,j(e),!R)if(null!==S(O))R=!0,r(N);else{var t=S(T);null!==t&&i(I,t.startTime-e)}}function N(e,n){R=!1,B&&(B=!1,o()),L=!0;var r=P;try{for(j(n),M=S(O);null!==M&&(!(M.expirationTime>n)||e&&!a());){var s=M.callback;if(null!==s){M.callback=null,P=M.priorityLevel;var u=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?M.callback=u:M===S(O)&&x(O),j(n)}else x(O);M=S(O)}if(null!==M)var l=!0;else{var c=S(T);null!==c&&i(I,c.startTime-n),l=!1}return l}finally{M=null,P=r,L=!1}}function H(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){R||L||(R=!0,r(N))},t.unstable_getCurrentPriorityLevel=function(){return P},t.unstable_getFirstCallbackNode=function(){return S(O)},t.unstable_next=function(e){switch(P){case 1:case 2:case 3:var t=3;break;default:t=P}var n=P;P=t;try{return e()}finally{P=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=P;P=e;try{return t()}finally{P=n}},t.unstable_scheduleCallback=function(e,n,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:H(e)}else a=H(e),u=s;return e={id:F++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,k(T,e),null===S(O)&&e===S(T)&&(B?o():B=!0,i(I,u-s))):(e.sortIndex=a,k(O,e),R||L||(R=!0,r(N))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=S(O);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=P;return function(){var n=P;P=t;try{return e.apply(this,arguments)}finally{P=n}}}},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";e.exports={account:"Account",users:"Users",groups:"Groups",glueconnect:"GlueConnect",workflows:"Workflows",myglue:"MyGlue",plan:"Plan",billing:"Billing","activity-logs":"Activity Logs","import-data":"Import Data","export-data":"Export Data",runbooks:"Runbooks",integrations:"Integrations","flexible-assets":"Flexible Assets","flexible-asset-types":"Flexible Asset Types","default-types":"Default Types","contact-types":"Contact Types","configuration-types":"Configuration Types","configuration-statuses":"Configuration Statuses","flag-types":"Flag Types",manufacturers:"Manufacturers",models:"Models","organization-types":"Organization Types","organization-statuses":"Organization Statuses","password-types":"Password Types","asset-templates":"Asset Templates","checklist-templates":"Checklist Templates"}},function(e,t,n){"use strict";e.exports={"api-keys":"API Keys",authentication:"Authentication",branding:"Branding",general:"General","company-name":"Company Name","web-address":"IT Glue Web Address","logo-requirement":"Transparent, light-colored PNG, 200x52px.","password-generation-text":"Specify the number of characters for passwords generated by IT Glue.","turn-on-mfa":"Turn on enforced MFA for all users.","authentication-warning":"Be careful with these settings. You could accidentally lock yourself out of your account if you're not ready.","itglue-subdomain":".itglue.com","account-info":"Account Info","account-defaults":"Account Defaults","custom-web-address":"Custom Web Address","custom-ssl-branding":"Custom SSL Branding","interface-branding":"Interface Branding","user-authentication-options":"User Authentication Options","generated-password-length":"Generated Password Length","enable-saml":"Enable SAML SSO","enable-jwt":"Enable JWT SSO","help-custom-web-address":"Change how your IT Glue account is branded.","reset-logo":"Reset Logo",fqdn:"Fully Qualified Domain Name","help-account-defaults":"Change your account defaults here.","help-account-info":"Information used to set up your IT Glue account.","help-change-company-name":"Changes to this name will update your Primary Organization name.","help-primary-org-required":"To change this name, you need to have access to the Primary Organization.","primary-org-no-access":"To change this setting, you need to have access to the Primary Organization.","primary-org-not-assigned":"To change this name, you need to assign a Primary Organization.","ip-address-display":"Display all IP addresses on configuration view","help-ip-address-display":"Configuration view will update after next full sync.","help-ip-address-display-label":"Display IT Glue IP addresses in addition to RMM IP addresses","help-fqdn":"Configure your own FQDN (e.g. docs.yourcompany.com) with a CNAME that points to {{url}}.","help-mfa":"Turn on enforced MFA for all users of your IT Glue account.","help-sso":"Allow users to authenticate to your IT Glue account using SSO.","help-sso-saml-issuer-url":"This value should match the value provided by your IdP.","help-sso-saml-sso-endpoint":"Sometimes called the SAML 2.0 Endpoint or SSO Endpoint","help-sso-saml-slo-endpoint":"Sometimes called the SLO Endpoint","help-jwt-redirect-url":"This is the endpoint that builds the JWT and redirects to the IT Glue SSO entry point.","help-jwt-remote-logout-url":"Provide a remote logout URL will log users out of both systems when logging out of IT Glue.","help-jwt-key":"Generate a key, then copy it to a safe place. You will only be shown the full key once. Regenerating the key will invalidate your application's credentials with IT Glue.","help-warranty-master":"The API key you generate here is used to set up a Warranty Master integration.","feature-request-portal":"feature request portal","dev-documentation-footnote":"The IT Glue API is a RESTful API that can be used to manage and retrieve information.","generate-key":"Generate API Key",revoke:"Revoke",footer:"Footer","hide-footer":"Hide Footer","header-logo":"Header Logo","key-name":"Key Name","invalid-logo":"Your logo must be a transparent, light-colored 200x52px sized PNG file.","issuer-url":"Issuer URL","primary-organization":"Primary Organization",change:"Change","search-organization":"Search for an Organization","saml-login-endpoint-url":"SAML Login Endpoint URL","saml-logout-endpoint-url":"SAML Logout Endpoint URL",fingerprint:"Fingerprint",certificate:"Certificate",settings:"Settings","sso-saml-issuer-url":"SAML SSO Issuer URL","sso-redirect-url":"SSO Redirect URL","sso-remote-logout-url":"SSO Remote Logout URL","sso-key":"SSO Key","require-mfa":"Require MFA for access to this account",sso:"Single Sign-On",mfa:"Multi-Factor Authentication (MFA)","organizations-sidebar":"Organizations Sidebar","customize-sidebar":"Customize Sidebar","warranty-master":"Warranty Master","custom-api-keys":"Custom API Keys","api-key-generated":"API Key Generated","api-key-revoked":"API Key Revoked","organization-sidebar":"Organization Sidebar","dns-information":"DNS Information","validation-dns-mapping":"Validation DNS Mapping","record-type":"record type",cname:"cname",hostname:"hostname","points-to":"points to","ssl-certificate-valid":"SSL Certificate: Valid","ssl-certificate-fail":"SSL Certificate: Fail","ssl-certificate-valid-message":"SSL for your FQDN, {{cname}}, is now live.","ssl-certificate-pending-req-submitted-title":"SSL Certificate: Pending DNS Validation","ssl-certificate-pending-aws-propagation-title":"SSL Certificate: Pending Certificate Propagation","ssl-certificate-pending-req-submitted":"SSL for your FQDN, {{cname}}, is pending creation of the validation DNS record as provided below.","ssl-certificate-pending-aws-propagation":"DNS updates confirmed for your FQDN, {{cname}}. SSL certificate propagation may take up to 24 hours.","ssl-fail-message-expired":"Current SSL Certificate has expired. Please check your DNS settings, then remove and re-add your custom domain.","ssl-fail-message-validation":"Validation time-out error as the required DNS settings were not created in time. Please remove and re-add your custom domain.","ssl-fail-message-inactive":"Inactive certificate. Please contact IT Glue support for assistance.","ssl-fail-message-revoked":"Certificate revoked. Please contact IT Glue support for assistance.","ssl-fail-message-failed":"Certificate generation failed. Please contact IT Glue support for assistance.","enable-ssl":"Enable SSL","administrators-acces-to-all-groups":"Administrators have access to all Groups by default","administrators-acces-to-all-orgs":"Administrators have access to all Organizations by default","allow-all-organizations":"allow all organizations","auto-provision-users":"Auto-Provision IT Glue Users","filter-groups":"filter groups","group-membership":"group membership","help-further-configure-saml-sso":"To further configure SAML SSO, you may configure your SSO application to auto-provision IT Glue users with access to specific groups and organizations.","help-group-membership":"Select the IT Glue Groups the Users belong to","help-organization-access":"Restrict the User's access to Organizations via Groups and/or by explicitly adding them below","lite-free-does-not-count":"Free - doesn't count against your user limit","lite-users-all-groups-description":"Lite users can be assigned to Groups, but it will not influence which Organizations they can access","lite-users-all-orgs-description":"Lite users cannot have access to all Organizations","organization-access":"organization access",role:"Role","select-all-groups":"select all groups","select-organization":"select organization","select-up-to-5-organizations":"Select up to 5 Organizations","selected-out-of-orgs":"You have selected {{selectedOrgs}} out of {{allOrgs}} Organizations.","user-acces-to-all-groups":"This User will have access to all Organizations","you-selected-more-orgs":"You have selected more than the maximum of 5 Organizations.","my-glue-tab":{"tab-name":"MyGlue","primary-organization-not-exists-1":"You need to set a Primary Organization.","primary-organization-not-exists-2":"Click the General tab and use the Primary Organization text input to set one.",header:"Support Information","header-help-text":"Your MyGlue users see this information when they access in-app support. ",email:"Support email address",phone:"Support contact number","phone-extension":"Ext.","additional-info":"Additional Information"}}},function(e,t,n){"use strict";e.exports={flag:"flag","flag-name":"Flag Name","pick-flag-name":"Name","pick-flag-color":"Color","flag-name-already-exists":"Flag name already exists","delete-flag-warning":"By deleting this flag type, its use within specific assets will be removed and cannot be undone.","delete-flag-note":"Please note you may be deleting flags from assets you may not have access to.","flag-type":"flag type","add-flag":"add flag","flag-desc":"flag description","remove-flag":"remove flag","remove-flag-warning":"Are you sure you want to remove this Flag?","make-default":"Make this flag type default","change-flag-type-default":"change flag type default","another-flag-type-already-selected":"Another Flag Type has already been selected to be the default.","are-you-sure-flag-type-default-change":"Are you sure you want to change the Flag Type default?"}},function(e,t,n){"use strict";e.exports={attachment:"Attachment",checklist:"Checklist","checklist-template":"Checklist Template",configuration:"Configuration",contact:"Contact","data-row":"Data Row","datto-device":"Datto Device",document:"Document","document-folder":"Document Folder",domain:"Domain",folder:"Folder",location:"Location",organization:"Organization",password:"Password","ssl-certificate":"SSL Certificate",ticket:"Ticket",user:"User"}},function(e,t,n){"use strict";var r,i=n(0)(n(8));e.exports=((0,i.default)(r={"logged-in":"logged in","copy-to-clipboard":"Copy to Clipboard","open-in-new-tab":"Open in new tab","generate-password":"Generate Password",organizations:"Organizations",password:"Password",passwords:"Passwords",accounts:"Accounts","no-url":"No URL","no-passwords":"No Passwords","no-username":"-","click-to-teach":"Please click on the correct field","enter-mfa":"Please enter MFA code",learn:"learn","train-message":"Filled in wrong field?","forgot-password":"Forgot password","selector-updated":"Password updated","view-in-itg":"View in {{project}}",subdomain:"Subdomain",email:"Email Address",username:"Username","sign-in":"Sign In",mfa:"MFA",sso:"Single Sign-On","show-all":"Show All","results-for":"Results for {{username}}"},"generate-password","Generate Password"),(0,i.default)(r,"create-password","Create Password"),(0,i.default)(r,"search-and-select-organization","Search and Select Organization"),(0,i.default)(r,"password-saved-and-copied-to-clipboard","Password saved and copied to clipboard"),(0,i.default)(r,"fill-and-save-password","Fill and Save Password"),(0,i.default)(r,"all-users-can-access","All users can access this password if member of {{organization}}"),(0,i.default)(r,"generate","Generate"),(0,i.default)(r,"no-results-found","No results found"),(0,i.default)(r,"search-and-make-selection","Search and make selection"),(0,i.default)(r,"name-length-validation","{{name}} is too short (minimum is 2 characters)"),(0,i.default)(r,"cannot-be-blank","{{name}} can't be blank"),(0,i.default)(r,"settings","settings"),(0,i.default)(r,"errors",{"open-password-without-url":"Cannot load a password without a URL","subdomain-not-found":"Subdomain not found"}),r)},function(e,t,n){"use strict";e.exports={"add-groups":"Add Groups","add-users":"Add Users","add-itglue-groups":"Add IT Glue Groups","add-itglue-users":"Add IT Glue Users","add-myglue-groups":"Add MyGlue Groups","add-myglue-users":"Add MyGlue Users","add-or-remove-user":"Add or remove Groups and/or Users","add-remove-option-title":"Unrestricted assets will only be accessible by the groups and/or users added below. Removing groups and/or users will not affect unrestricted assets.","all-users-and-groups-option-disabled-tooltip":"This option is unavailable because one or more selections are assets created in {{app}}","can-only-add-groups-visible-to-myglue":"IT Glue permission changes for assets created in MyGlue are limited to IT Glue groups visible in MyGlue.","can-only-add-groups-visible-to-myglue-title":"At least 1 MyGlue-created asset(s) selected","can-only-affect-myglue-assets":"IT Glue permission changes will not affect assets created in IT Glue.","can-only-affect-myglue-assets-title":"IT Glue-created asset(s) in your selection will not be updated","cannot-update-embedded-passwords":"Security permissions cannot be edited for embedded passwords.","embedded-passwords-can-only-be-updated-via-parent":"Security permissions for embedded passwords can only be updated through their parent records.","embedded-passwords-can-only-be-updated-via-parent-title":"Embedded password(s) in your selection will not be updated","myglue-permission-can-only-affect-itglue-assets":"MyGlue permission changes will not affect assets created in MyGlue.","myglue-permission-can-only-affect-itglue-assets-title":"MyGlue-created asset(s) in your selection will not be updated","remove-itglue-groups":"Remove IT Glue Groups","remove-itglue-users":"Remove IT Glue Users","remove-myglue-groups":"Remove MyGlue Groups","remove-myglue-users":"Remove MyGlue Users","remove-groups":"Remove Groups","remove-users":"Remove Users","how-to-update-embedded-passwords":"To change the permissions for the selected Passwords, you must do so through their parent records.","unable-to-bulk-edit-security":"Unable to Edit Security Permissions"}},function(e,t,n){"use strict";e.exports={"task-name":"Task name","add-task":"Add task","assign-to-me":"Assign to Me","assignee-search-name-or-email":"Search name or email",completed:"Completed","copy-clipboard-checklist":"{{name}}, {{assigneeName}}, Due: {{dueDate}}\r\n{{description}}\r\n-------------------------------------\r\n","copy-clipboard-task":"{{name}}, {{assigneeName}}, Due: {{dueDate}}\r\n{{description}}\r\n\r\n","copy-clipboard-checklist-template":"{{name}}\r\n-------------------------------------\r\n","copy-clipboard-template-task":"{{name}}\r\n\r\n","default-checklist-name":"Checklist name","default-checklist-template-name":"Checklist template name","delete-checklist":"Delete Checklist","delete-checklist-confirmation":"Are you sure you want to delete this checklist and all associated tasks?","delete-checklist-template":"Delete Checklist Template","delete-checklist-template-confirmation":"Are you sure you want to delete this checklist template and all associated tasks?","delete-task-confirmation":"Confirm task deletion","due-date":"Due Date",incomplete:"Incomplete","my-tasks":"My Tasks","new-checklist":"New checklist",unassigned:"Unassigned"}},function(e,t,n){"use strict";e.exports={"add-all":"Add all","add-to":"Add to","agent-procedures":"Agent Procedures","agent-procedures-errors":{"common-msg":"Agent procedures sync allows you to <span class='text-bold'> view and execute VSA agent procedures</span> straight from IT Glue. ",login:"You must log in to VSA to authorize this access to agent procedures.",sync:"An administrator can activate this feature in integration sync settings.","vsa-permissions-denied":"You do not have sufficient VSA permissions to perform this action. Please contact your VSA administrator."},"agent-procedures-login":{heading:"Authentication Required","login-button":"Log in to VSA"},"agent-procedures-queued":"Agent procedure successfully queued.","agent-procedures-requires-input":"This procedure requires procedure variables and cannot be run from IT Glue.","agent-procedures-run-tooltip":{"not-active":"Run procedure",active:"Procedure in progress"},"agent-procedures-status-tab":"Procedure Status","agent-procedures-status":{"last-run":"Last Run","last-run-by":"Last Run By"},"agent-procedures-sync":{heading:"Activate Agent Procedures Sync","activate-sync-button":"Activate Now","live-sync-with-kaseya":"Live sync with Kaseya"},"asset-tag":"asset tag","backup-appliance-by":"Backup appliance by","backup-successes":"successful backups","backup-incomplete":"incomplete backups","backup-failed":"failed backups","backup-restores":"failed restores","backup-protected-device-list":"protected device list","backup-server-name":"backup server name","last-backup-date":"last backup","backup-billable-space-gb":"billable space","backup-year":"year","backup-month":"month","backup-by":"Backup by","no-backup-yet":"No backup yet",by:"by","configuration-information":"configuration information","configuration-updated":"Configuration has been updated successfully.","connected-to":"connected to","connected-to-device":"{{count}} device","connected-to-device_plural":"{{count}} devices","cpu-speed":"CPU Speed","default-gateway":"default gateway",details:"details","device-information":"device information",expiration:"expiration",interface:"interface",interface_add:"Add external interface to this configuration",interface_add_all:"Add all external interfaces to this configuration","interface_add_all-disabled":"No external interfaces available",interface_plural:"interfaces",ip:"IP",ips:"IPs","last-login-name":"last login name","local-hard-drives":"local hard drives","location-information":"location information",mac:"MAC","mac-addresses":"MAC Addresses","manage-url":"Manage URL","name-slot":"Name/Slot","os-notes":"OS Notes","physical-memory":"physical memory","physical-position":"physical position",platform:"platform",port:"port",primary:"primary","purchase-information":"purchase information","serial-no":"serial no.",source:"Source","storage-used":"{{storageUsed}} storage used","storage-free-vs-total":"{{spaceFree}} of {{spaceTotal}} free","sync-enabled":"Sync enabled","sync-disabled":"Sync disabled","sync-orphaned":"Sync orphaned","sync-error":"Sync error","sync-offline":"Offline during last sync","sync-online":"Online during last sync","unitrends-logo-alt":"Unitrends MSP"}},function(e,t,n){"use strict";e.exports={important:"important",location:"location",phone:"phone",title:"title"}},function(e,t,n){"use strict";e.exports={after:"After",dayOfMonth:"Day of month",dayX:"day {{x}}",endAfterDate:", until {{date}}",endAfterXTimes:", {{x}} times",ends:"Ends:",every:"Every:",everyXMonths:"every {{x}} months",everyXWeeks:"every {{x}} weeks",frequency:"Frequency:",getSummary:"{{timePart}}, {{frequencyPart}} on {{datePart}}{{endPart}}",lastDayOfMonth:"Last day of month",monthly:"Monthly",multipleDays:"multiple days",never:"Never",on:"On",occurrences:"Occurrences",recurring:"Recurring",repeatBy:"Repeat by:",repeatOn:"Repeat on:",startsOn:"Starts on:",summary:"Summary:",weekdaysShort:{mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat",sun:"Sun"},weekly:"Weekly"}},function(e,t,n){"use strict";e.exports={"doc-name":"Document name","embed-media":"embed media","insert-table":"insert table",sidebar:{"no-subdocs":"no sub-docs","no-passwords":"no passwords","no-related":"no related items","no-attachments":"no attachments"},sections:{"non-image-drop-error":"You can only upload BMP, GIF, JPG, and PNG images to content blocks. Try the embed media feature for videos or attach to document instead."}}},function(e,t,n){"use strict";e.exports={reasons:{size:"File is too big. Max file size is {{limit}} MB.",type:"You can't upload files of this type.",other:"File could not be processed"},"upload-error":"{{type}} Errors ({{count}})","upload-error-title":"Attachment Upload Error","attachment-upload-message":"Drop files to attach{{newLine}}Max file size {{limit}}MB each","gallery-image-upload-message":"Drop images to attach{{newLine}}Max file size {{limit}}MB each","size-errors":"Size Errors","type-errors":"Type Errors","other-errors":"Other Errors"}},function(e,t,n){"use strict";e.exports={"to-folder":"Drop files to instantly upload to: {{folder}}","to-root":"Drop files to instantly upload","upload-error-title":"File Upload Error"}},function(e,t,n){"use strict";e.exports={appearance:"appearance:",classic:"classic",default:"default",dark:"dark","hover-state":"hover state:",theme:"theme","theme-options":"theme options","recent-items":"recent items"}},function(e,t,n){"use strict";e.exports={address:"address",fax:"fax",phone:"phone"}},function(e,t,n){"use strict";e.exports={"add-as-serial-number":"Add as serial number","add-as-asset-tag":"Add as asset tag",allow:"allow",android:"android","assign-to-configuration":"Assign to configuration","app-feature-permission":"{{app}} requires access to your {{feature}} to perform this action.",barcode:"barcode","barcode-assigned-to-item":"Barcode is already assigned to {{item}}. Do you still want to save?","create-item":"Create {{item}}","delete-item":"Delete {{item}}",deny:"deny","multiple-items":"Multiple Items","multiple-matches":"Multiple matches","no-item":"No {{item}}","not-now":"Not Now",or:"OR","please-select":"Please select","try-again":"Try Again","email-address":"Email Address","first-name":"First Name","forgot-username-password-link":"Forgot Password",ios:"iOS","last-name":"Last Name","resize-try-again":"Resize and try again",scan:"scan","scan-again":"Scan again","scan-barcode-for-config-dets":"Scan barcode for configuration details","search-for-a-configuration":"Search for a configuration",select:"select","sign-in":"Sign In","sign-out":"sign out",SSO:"SSO",subdomain:"Subdomain","synced-with":"synced with",username:"Username","view-map":"view map","web-app":"web app",camera:{"permission-title":"Permission to use camera","permission-message":"We need your permission to use your camera to scan the barcode"},errors:{"auth-error-title":"Unable to sign you in","auth-error-generic-message":"Something doesn't look right","auth-error-subdomain":"Enter a valid Subdomain.","auth-error-mfa":"Enter a valid MFA code.","check-connection-title":"Unable to connect","check-connection-message":"Slow or no internet. Check your connection and try again.","error-getting-asset":"There was an error retrieving the asset.","error-communicating-with-sso-service":"There was an error communicating with the single sign on service","fingerprint-error":"Fingerprint error","max-filesize-exceeded":"File size exceeded (maximum size {{max}})","no-preview-available":"No preview available","no-search-results":"No search results found for","no-supported-asset-types":"You currently do not have access to any asset types supported in mobile. Please contact your administrator.","password-minimum-char":"Password must contain a minimum of one character","server-login-error":"Server Login Error","sign-in-try-again":"Sign in to the app and try again","touch-id-error":"Touch ID error","touch-id-disabled":"Touch ID has been disabled for your device",unavailable:"unavailable","unknown-error":"Unknown error","unknown-error-occured":"An Unknown Error has occured.","unsupported-os-version":"Unsupported {{os}} version","permission-denied-contact-admin":"Permission denied. Please contact your administrator.","please-upgrade":"Please Upgrade","please-upgrade-to":"Please upgrade {{-to}}","unable-to-upload-some-files":"Unable to upload some of your files","unable-to-view":"Unable to view","somethings-not-right":"Something's not right","myglue-sso-requires-ios-13":"Single-Sign On (SSO) requires iOS version 13.0 and above. Please update your software in order to proceed or access your MyGlue from the web application."},"file-upload-error":{"file-size-exceeded-max-size":"File size exceeded (maximum size {{max}})","invalid-format":"Invalid format"},warnings:{"asset-menu-org-required-title":"Select Organization","asset-menu-org-required-msg":"To view the list of assets you need to select an organization first.","could-not-find-barcode":"Could not find barcode","stop-sync-to-delete":"You must stop syncing this {{item}} in order to delete it","unsaved-changes-title":"Unsaved Changes","unsaved-changes-msg":"You have unsaved changes on this page. Are you sure you want to leave?"},"no-organizations-msg":{"currently-no-organizations":"You currently have no Organizations!","add-in-web-app":"Add Organizations in {{app}} web app."},"no-favorites-msg":{"currently-no-favorites":"You currently have no Favorites!","create-in-web-app":"Create Favorites in {{app}} web app.","tap-icon-for-all-organizations":"Tap the star icon to see all organizations."},search:{"an-org":"An organization","item-in-org":"{{item}} in an organization",placeholder:"search","search-tip":"Try Searching for"},welcome:{welcome:"Welcome!","login-successful":"Sign-in Successful"},logout:{goodbye:"Goodbye!","logout-successful":"Sign-out Successful"},"touch-id":{"face-id":"Face ID",fingerprint:"Fingerprint","fingerprint-for-app":"Fingerprint for {{app}}","not-now":"Not Now","sign-in-with-biometric":"Sign in with {{biometric}}","sign-in-with-face-id-desc":"Use your Face ID for faster, easier access to your {{app}} account.","sign-in-with-face-id-tiny":"All Face ID's stored on this device may be used to sign in to {{app}}","sign-in-with-touch-id-desc":"Use your fingerprint for faster, easier access to your {{app}} account.","sign-in-with-touch-id-tiny":"All fingerprints stored on this device may be used to sign in to {{app}}","touch-id":"Touch ID","use-biometric":"Use {{biometric}}"},settings:{"biometric-not-supported-sso":"{{biometric}} not supported with SSO enabled accounts.","change-photo":"Change Photo","edit-profile":"Edit Profile",help:"Help","legal-agreements":"Legal Agreements","select-which-account":"Select which account you would like to use","signin-and-security":"Sign-in and Security","sign-in-with-your-biometric":"Sign in with your {{biometric}}","sign-in-with-your-fingerprint-desc":"Remember: All of the fingerprints stored on this device can be used to sign in to your {{app}} account.","sign-in-with-your-face-desc":"Remember: All Face ID's stored on this device can be used to sign in to your {{app}} account.","switch-accounts":"Switch Accounts"},passwords:{"name-length-validation":"Name needs to be between 2 and 100 characters long.","password-length-validation":"Password needs to be between 2 and 128 characters long."},vault:{"enter-passphrase":"Enter Passphrase","update-vault-password-in-web":"This password is stored in the Vault and can only be updated from the web application."}}},function(e,t,n){"use strict";e.exports={"device-details":{"details-title":"device details",type:"device type",name:"device name",desc:"device description",ip:"IP address(es)",mac:"MAC address(es)","server-type":"web server type",gateway:"gateway",os:"operating system","os-version":"operating system version",host:"host name",contact:"device contact",location:"physical location"},errors:{"contact-support":"An error has occurred. If the problem persists, please contact support.","device-limit-exceeded":"Your network could not be processed due to a high volume of devices. Please consider adding an additional collector.","has-collector-error":"There has been an error processing your network data.","no-device-data":"No network devices could be detected. Please check your network and collector settings.","no-network-data":"No network data available yet. It can take up to several hours to receive full network information.",processing:"Processing Network map. Check back shortly.","snapshot-is-too-old":"No network data retrieved in the past 24 hours. Please ensure your collector is online and the Network Glue services are running.","snapshot-not-received":"Network data could not be retrieved. Please contact support if problem persists.","format-last-login-time":"Must be valid date in format YYYY-MM-DD"},active:"active","active-directory":{fqdn:"Admin User FQDN",host:"domain controller hostname",password:"admin password",placeholders:{hostname:"Domain Controller FQDN or IP Address",fqdn:"Admin User FQDN in format corp.contoso.com\\admin-networkglue","disabled-users-last-logon":"YYYY-MM-DD"},scan:"scan active directory",title:"active directory","title-help-text":"The Network Glue Collector can leverage Active Directory to detect additional information."},"ad-email":"AD User Email","ad-name":"AD User Name","ad-status":"AD User Status","ad-title":"AD User Title","active-directory-users":"Active Directory users","active-directory-post-script":"Select user types that will be pulled to IT Glue","ad-users-type":"AD Users type",all:"All","agent-status":"collector status","cluster-view":"cluster view","collapse-all":"collapse all",collector:"collector","collector-id":"collector key","collector-is":"collector is","collector-key":"collector key","contact-matching":"{{networkName}} Contact Matching","create-network":"Create Network",daily:"daily","delete-collector-warning":"By deleting a collector you are also going to delete the respective network diagrams and configuration matchings. The data is not recoverable. Do you wish to continue?","device-details-title":"device details","device-filters":{type:"device type",name:"device name",ip:"IP address",mac:"MAC address",deviceID:"deviceID","virtualization-type":"virtualization type","virtual-status":"virtual status","virtual-connection-type":"virtual connection type"},"device-matching":"{{networkName}} Device Matching","device-type":"device type","device-types":{workstation:"workstation",hub:"hub",printer:"printer",router:"router",switch:"switch",server:"server","network-device":"network device","load-balancer":"load balancer",voip:"voip","access-point":"access point",modem:"modem",firewall:"firewall",storage:"storage",security:"security"},"device-type-names":{WORKSTATION:"Workstation",HUB:"Hub",PRINTER:"Printer",ROUTER:"Router",SWITCH:"Switch",SERVER:"Server","NETWORK DEVICE":"Network Device",LOAD_BALANCER:"Load Balancer",VOIP:"VoIP",ACCESS_POINT:"Access Point",MODEM:"Modem",FIREWALL:"Firewall",STORAGE:"Storage",SECURITY:"Security",VIRTUAL_MACHINE:"Virtual Machine",VIRTUAL_SWITCH:"Virtual Switch"},disabled:"Disabled","disabled-last-login":"Disabled users last logon","disabled-on":"disabled on","disabled-on-n-devices":"disabled on {{devicesCount}} devices","disabled-with-last-login":"Disabled with Last Logon on {{lastLogin}}","domain-role":"domain role","edit-network":"edit network","expand-all":"expand all","generate-new-collector-key":"generate new collector key","generate-new-collector-key-warning":"Generating a new collector key will invalidate your existing key. Active installed collectors may terminate as a result of this action.","group-by-type":"Group by {{type}}",ignored:"ignored",interface:"{{type}} address","ip-range-helptext":"Please enter a valid IP range, e.g. 192.168.1.0 - 192.168.1.24","ip-range-placeholder":"192.168.1.0 - 192.168.1.24","ip-ranges":"IP Ranges","last-sync":"last sync",matched:"matched",matching:"matching","match-type":"match type","matched-configuration-access-denied":"matched configuration access denied","matching-buttons":{automatch:"automatch",change:"change",create:"create",ignore:"ignore"},"max-networks":"You have reached the network maximum for your trial account.","missing-mac":"Network device MAC Address not found","n-devices":"{{count}} device","n-devices_plural":"{{count}} devices",network:"network","network-device":"network device","network-glue-collector-intaller":"network glue collector installer","network-glue-name":"Network Glue","network-information":"Network Information",network_plural:"networks","no-matching-configuration-found":"No matching configuration found","no-network-device-found":"No Network Devices found","no-network-contact-found":"No Active Directory users found","no-network-contact-found-no-ad":"No Active Directory users were found as AD credentials were not specified","no-network-contact-found-check-ad":"No Active Directory users found. Check whether your AD credentials are correct",offline:"offline",online:"online",password:"Password","please-install-collector-text":"Please install the Collector on a network using the Collector Key below.","responses-contact":{automatched:"Network Contact successfully automatched",created:"Contact successfully created and matched",failed:"Contact cannot be matched","ignore-failed":"Contact cannot be ignored",ignored:"Contact has been ignored",matched:"Network Contact successfully matched"},"responses-device":{automatched:"Network Device successfully automatched",created:"Configuration successfully created and matched",failed:"Device cannot be matched","ignore-failed":"Device cannot be ignored",ignored:"Device has been ignored",matched:"Network Device successfully matched"},"scan-frequency":"scan frequency","set-up-first-network":"Set up your first network",snmp:"SNMP","snmp-community":"SNMP Community Strings","snmp-helptext":"Please enter one SNMP string per line","snmp-matching-label":"It is necessary to activate SNMP on your network switches and routers in order to retrieve enriched network information and hierarchy.","snmp-status":"SNMP status","start-manual-sync":"start manual sync","sync-error":"sync error","sync-in-progress":"Sync in progress","sync-information":"sync information","tree-view":"tree view",unmatched:"unmatched",username:"Username","view-matched-configuration":"view matched configuration","view-network":"view network","vmware-host":"VMware Host","vmware-host-helptext":"Enter VMware host DNS name or IP address along with VMware host login credentials","welcome-to-network-glue":"Welcome to Network Glue! We invite you to check out our Knowledge Base articles that walk you through Network Glue best practices. Or just press the button and get started documenting your clients\u2019 networks."}},function(e,t,n){"use strict";e.exports={"add-another-action":"add another action","admin-email":"Notification failure email","already-expired":"have already expired","choose-action":"Choose an action","choose-trigger":"Choose trigger","configure-trigger":"Configure trigger","deleted-suffix":" (Deleted)","enroll-already-met":"expire sooner than the lead time","estimate-num-resources":"Estimate how many","filter-group-title":"Only notify if...","json-payload":"JSON Payload","lead-time":"lead time","main-title":"workflows","n-filters":"{{count}} filter","n-filters_plural":"{{count}} filters","new-notification":"new","notify-on-assets":"Also notify on assets that:","row-already-expired":"Already expired","search-placeholder":"Search workflows...","set-up-resource":"Configure {{resource}}",status:"Status","test-action-step-title":"test action (optional)","test-filter-step-title":"Test filter (optional)","trigger-expiry":"Scheduled","trigger-instant":"Instant",workflow:"workflow",actions:{email:"Email",slack:"Slack",webhook:"Webhook"},"action-descriptions":{email:"Sends an email notification to recipient list",slack:"Sends a message to the configured Slack channel",webhook:"Sends a POST request with a JSON payload"},"action-short-descriptions":{email:"Email Notification",slack:"Slack Notification",webhook:"Webhook"},"field-labels":{"lead-time":"Notify at (lead time)","webhook-url":"Webhook URL"},"helper-text":{"admin-email":"Alert the following email address if a trigger fails.","lead-time":"Specify a lead time of between 1 and 180 days.",recipients:"Alert the following email address(es) if notification is completed.","slack-url":"Specify the incoming webhook URL for this notification. Follow the instructions at {{link}} to configure your webhook."},"sort-by":{"date-added":"Date added",name:"Name",status:"On/Off"},"trigger-titles":{"document-published":"Document","resource-flag-updated":"Flag","password-updated":"Password","domain-expiry":"Domain Expiration","ssl-expiry":"SSL Expiration","configuration-expiry":"Configuration Expiration","flexible-asset-expiry":"Flexible Asset Expiration","resource-accessed":"Password Accessed"},"trigger-descriptions":{"document-published":"Triggers when a document is published or updated","resource-flag-updated":"Triggers when a flag is added, updated, or removed within an asset","password-updated":"Triggers when a password is added or updated","domain-expiry":"Triggers based on the domain expiration date and lead time specified","ssl-expiry":"Triggers based on the SSL certificate expiration date and lead time specified","configuration-expiry":"Triggers based on the configuration expiration date and lead time specified","flexible-asset-expiry":"Triggers based on the flexible asset expiration date and lead time specified","resource-accessed":"Triggers when any password is accessed"},"test-descriptions":{email:"We recommend testing your action to ensure everything looks okay.",slack:"We recommend testing your action to ensure everything looks okay.",webhook:"We recommend testing your action to ensure everything looks okay.",filter:"Test your filters to determine if this notification would continue based on the data provided"},"templating-options":{description:"Need help? Click here to see available variables",title:"templating options","trigger-name":"The trigger\u2019s system-defined name.","resource-name":"The specific name given to an asset, which should be a unique identifier.  If the asset is a domain, the name will reflect the domain name.","resource-url":"Full URL to the asset in IT Glue.","resource-time-to-expiry":"The number of days left until the expiration date, or if the asset has expired, the number of days after expiration. In either case, the number is expressed as a positive number.","organization-name":"The organization that the asset belongs to.","updated-by":"Person who updated the resource. Available for document and password trigger events only.","updated-at":"Full date and time of the update shown in timestamp format.","flag-name":"The specific name given to a flag type. This flag exists within an asset.","flag-description":"The specific flag description associated with a flag type which exists within an asset."}}},function(e,t,n){"use strict";e.exports={"add-to-favorites":"add to favorites","remove-from-favorites":"remove from favorites","delete-waittime-info":"The deletion may take some time depending on the number of organizations and the amount of data being removed."}},function(e,t,n){"use strict";e.exports={"delete-password":"Delete password","leave-blank-note":"leave blank to keep the current password","error-communicating-server":"An error occurred communicating with the server, please try again.","learn-link":"https://support.itglue.com/hc/en-us/articles/360007756118-Adding-and-removing-password-folder-security","inherit-security-message":"Security settings for this asset are automatically determined by the parent asset security. You can update these settings after saving.","default-security-message":"Security settings for this asset are automatically determined by the account default security and parent asset security. You can update these settings after saving."}},function(e,t,n){"use strict";e.exports={"serial-number":"Serial No.","asset-tag":"Asset tag","physical-position":"Physical position",primary:"Primary",url:"URL",by:"by","default-gateway":"Default gateway",ip:"IP",ip_plural:"IPs","show-password":"Show password","phone-extension":"Ext.","primary-location":"Primary Location","document-is-public":"Document is public","total-duration":"Total duration",minute_plural:"{{count}} minutes",minute:"{{count}} minute"}},function(e,t,n){"use strict";e.exports={"reject-confirm-message":"Offer will not be available once closed","exit-confirm-message":"Are you sure you want to exit?","upgrade-confirm":"upgrade confirmation","confirm-note":"Get immediate access to the following","current-plan":"current plan","new-plan":"new plan","current-price":"Select at ${{price}}/month","basic-price":"Basic at ${{price}}/month","promo-price-code0":"Enterprise and MyGlue ${{price}}/month","promo-note-code0":"Any additional user licenses purchased after this upgrade will cost $39/month each","saved-per-month":"SAVE ${{savedAmount}}/month","upgrade-now":"upgrade now","activate-now":"activate now","contract-details":"36 month payment details","promo-price-code-V0-PROMO3-ACTGC":"Enterprise ${{price}}/month, plus $495 Amazon Gift Card","promo-price-code-V0-PROMO3-ACTCRD":"Enterprise ${{price}}/month, plus $495 IT Glue credit",agreement_plural:"By entering into this agreement, you will be responsible for an IT Glue account over {{term}} months which includes {{itgLicenses}} licenses, and your account\u2019s Enterprise Plan.",agreement:"By entering into this agreement, you will be responsible for an IT Glue account over {{term}} months which includes {{itgLicenses}} license, and your account\u2019s Enterprise Plan.","agree-to-the-terms":"By continuing, you agree to the {{contractTerms}}.","promo-price-code-V0-PROMO1":"Enterprise with {{users}} user at ${{price}}/month","promo-price-code-V0-PROMO1_plural":"Enterprise with {{users}} users at ${{price}}/month","confirm-upgrade":"confirm upgrade",confirmation:"confirmation"}},function(e,t,n){"use strict";e.exports={alert:{"in-process":"Runbook is already in process. Please wait until completed.",success:"Runbook has been queued. We will notify you by email when your Runbook is complete."},"all-orgs":"All Organizations","all-orgs-description":["Each organization in your Account will have its own Runbook created.","These will be collected together and placed in a downloadable zip file."],create:"Create Runbook","create-description":"Create Runbooks for one or more Organizations.","create-now":"Create Now","create-now-or-schedule":"Create now or Schedule","edit-schedule":"Edit Schedule","mask-passwords":"Mask Passwords","no-runbooks":"You have no completed or pending Runbooks to view, or your recent Runbooks have expired.","page-header":"Runbooks",schedule:"Schedule","schedule-summary":"Scheduled: {{details}}","search-placeholder":"Search Organizations","select-organizations":"Select Organizations","unmask-passwords-description":"Your passwords will now be unmasked and viewable to everyone who has access to your Runbook.","unmask-passwords-summary-suffix":" | Passwords Unmasked",view:"View Runbooks"}},function(e,t,n){"use strict";e.exports={agreement_plural:"By entering into this agreement, you will be responsible for an IT Glue account over {{term}} months which includes {{itgLicenses}} licenses,{{myGlue}}{{networkGlue}} and your account\u2019s Enterprise plan.",agreement:"By entering into this agreement, you will be responsible for an IT Glue account over {{term}} months which includes {{itgLicenses}} license,{{myGlue}}{{networkGlue}} and your account\u2019s Enterprise plan.","terms-and-conditions":"By continuing, you agree to the {{termsOfService}}, {{privacyPolicy}}, and {{refundPolicy}}.","terms-and-conditions-with-terms":"By continuing, you agree to the {{contractTerms}}, {{termsOfService}}, {{privacyPolicy}}, and {{refundPolicy}}.","no-refund":"Note: a 90 day money back guarantee is not applicable with a don\u2019t pay for 30 days offer","tax-blurb":"All prices exclude tax, where applicable. Every signup includes 5 free MyGlue seats.","contract-start":"contract start","contract-end":"contract end","monthly-charge":"monthly charge","first-month-charge":"first monthly charge","total-price":"total price","contract-terms":"contract terms","terms-of-service":"Terms of Service",privacy:"Privacy","refund-policy":"refund policies","license-fee":"Includes {{amount}} Initial License Activation Fee","charged-today":"charged today","no-term":"no term","monthly-plan":"{{term}} month plan","standard-onboarding":"standard onboarding({{price}})","premier-onboarding":"premier onboarding({{price}})","learn-more-about-onboarding":"Learn more about onboarding options",onboarding:"onboarding",savings:"savings","money-per-month":"{{money}}/mo."}},function(e,t,n){"use strict";e.exports={"already-archived":"This asset is already archived",customize:"customize sidebar","show-all":"show all","myglue-groups":"MyGlue Groups","myglue-users":"MyGlue Users",groups:"Groups",users:"Users","itglue-groups":"IT Glue Groups","itglue-users":"IT Glue Users","uploaded-with-timestamp":"Uploaded: {{timestamp}}"}},function(e,t,n){"use strict";e.exports={"asset-count":"{{count}} {{assets}}","bulk-delete-title":"Delete {{assetName}}","bulk-delete-title_plural":"Delete {{assetName}}s","bulk-edit-title":"Edit {{assetName}}","bulk-edit-title_plural":"Edit {{assetName}}s","customize-columns-description":"Show/hide columns with checkboxes. Drag and drop to reorder.","customize-columns-error":"You must select at least one column.","customize-columns-header":"List View Options","customize-columns-title":"Customize column visibility and order","error-invite-without-email":"One or more invites could not be sent because the contacts do not have an email address.","error-delete-folder-with-content":"One or more folders could not be deleted because they have dependent folders or documents. You must delete everything inside the folder(s) first.","n-of-total":"{{n}} of {{total}}","results-of":"{{results}} Results","invite-contacts":"Invite Contacts","restore-defaults":"Restore Defaults",documents:{"copy-info":"Documents will be copied shortly. Please check back in a few minutes.","success-message":"Change confirmed. This action may take some time to complete depending on the number of assets being actioned."},passwords:{"copy-username":"Copy username","copy-password":"Copy password","open-url":"Open URL in new tab"}}},function(e,t,n){"use strict";e.exports={"affected-assets":"affected assets",board:"board","x-of":"{{x}} of ","x-of-total":"{{x}} of {{count}} Ticket","x-of-total_plural":"{{x}} of {{count}} Tickets","x-ticket":"{{count}} Ticket","x-ticket_plural":"{{count}} Tickets",priority:"priority","recent-tickets":"Recent Tickets",summary:"summary","ticket-number":"ticket number",ticket:"ticket",ticket_plural:"tickets","updated-with-integration-updatedat":"Updated with {{integration}} {{timestamp}}","sla-status":"SLA Status",sla:{paused:"Paused",resolved:"Resolved within SLA",missed:"SLA Missed","threshold-reached":"Threshold Reached"},"synced-with":"Synced with","synced-with-adapter-name":"Synced with {{adapterName}}"}},function(e,t,n){"use strict";e.exports={"adapter-ticket-settings":"{{adapterName}} Ticket Settings","ticket-settings":"Ticket Settings","filter-placeholder":"Filter Ticket Settings","rule-name-placeholder":"Name your new ticket setting ...","rule-description-label":"Add a description","rule-description-placeholder":"A meaningful description will help you organize your ticket settings.","rule-active-label":"Activate this ticket setting","rule-step-if":"If","rule-step-then":"then display assets where","step-conditions-name":"Ticket Conditions","step-actions-name":"Ticket Actions","step-preview-name":"Preview","step-finish-name":"Submit","step-conditions-description":'Define attributes of a PSA ticket that will trigger particular documentation to display under "Related documentation"',"step-actions-description":"Define attributes of the IT Glue assets that will be displayed for all tickets meeting the conditions defined in Step 1","step-preview-description":"Preview the assets that will be displayed when view a ticket meeting the conditions defined in Step 1","step-finish-description":"Activate and submit the ticket setting","validation-action-subjects-can-only-contain-one-resource-type":"Different asset types can only be combined using the \u201cOR\u201d condition","validation-error-message":"Please address any errors before submitting.","validation-cannot-be-blank":"This field cannot be blank","validation-value-single":"There can only be one value","validation-one-value-blank":"Values cannot be blank","validation-groups-blank":"A rule must contain at least one group of {{type}}","add-more-groups":"OR","new-group":"NEW","new-condition":"AND","no-preview-results-1":"Your ticket settings yielded no results.","no-preview-results-2":"Please review your Ticket Actions and ensure respective assets exist in IT Glue.",operators:{is:"is","is-not":"is not",contains:"contains","any-of":"any of"}}},function(e,t,n){"use strict";e.exports={"compare-data":"compare data","enable-sync":"Enable sync","disable-sync":"Disable sync","error-in-adapter":"Unable to {{action}} record {{fromTo}} {{name}} due to an error in the {{name}} API.","live-connect":"Live Connect",manage:"manage","sync-now":"Sync now","sync-pending":"Sync pending","sync-success":"A manual sync has been scheduled.","sync-error":"A manual sync could not be scheduled for this record because the sync provider does not have this capability.","enable-success":"Syncing has been re-enabled.","enable-error":"Syncing could not be re-enabled.","disable-success":"Syncing has been disabled.","disable-error":"Syncing could not be disabled.","not-synced":"Not yet synced with {{name}}","not-synced-help-text":"Record not yet pushed to {{name}}. To trigger a push, try updating the record.","orphaned-adapter":"This record is orphaned (no longer syncing) with {{name}} because it was either deleted, invalid, or no longer satisfies your sync settings.","hide-error-details":"Hide error details","show-error-details":"Show error details","hide-raw-response":"Hide raw API response","show-raw-response":"Show raw API response",tooltips:{orphaned:"Orphaned","sync-disabled":"Sync disabled","sync-enabled":"Sync enabled","sync-error":"Sync error"}}},function(e,t,n){"use strict";e.exports={"awaiting-vault-access":"Nearly there! Your Vault access is pending approval from your administrator.","create-vault-password":"Create your Vault Password","setup-vault-passphrase":"Set up your Vault passphrase now!","setup-vault-passphrase-note":"To fully access assets in the Vault, you must first set up your passphrase and be granted access by an Administrator with access to the Vault.",passphrase:"passphrase","store-in-vault":"Store in Vault",vault:"vault","vault-not-created":"Vault has not been enabled in this account. An administrator can activate this feature in your account settings.","vault-passphrase":"vault passphrase","change-vault-passphrase":"change vault passphrase","enable-vault-title":"Enable the Vault","enable-vault-description":"Enabling the Vault will add an additional layer of security to specific assets and protects such data against malicious intent.","enable-vault-instruction":"Enable the Vault by entering a passphrase for your own individual user.","vault-notes":{title:"This passphrase should be kept secret and will be used for:",1:"Accessing a password in the Vault",2:"Updating a password in the Vault",3:"Granting access to other users with their own individual passphrase to the Vault"},"vault-is-not-enabled":"Vault has not been enabled on this account.","enter-passphrase":"Enter passphrase","confirm-passphrase":"Confirm passphrase","enter-new-passphrase":"new vault passphrase","confirm-new-passphrase":"confirm new vault passphrase","manage-vault-access":"Manage access to Vault","has-not-been-enabled":"Vault has not been enabled","enable-vault":"Enable vault","create-vault-key":"Create vault key","current-vault-passphrase":"current vault passphrase","set-passphrase":"Set passphrase","adding-passphrase":"adding passphrase","error-occured":"An error has occured. If the problem persists, please contact support.","passphrases-dont-match":"Passphrases don't match","vault-has-been-successfuly-enabled":"Vault has been successfully enabled.","vault-password-updated":"Your Vault passphrase has been updated.","no-vault-user-setup-message":{1:"To manage your users access to the Vault, set up a passphrase first ",2:"here",3:" and await approval from another Administrator"},"not-supported":"browser not supported","not-supported-details":"Your browser does not currently support the Vault feature. For best results please use the latest version of Chrome.","not-supported-for-glue-connect":"This password is stored in the Vault and cannot be accessed via GlueConnect at this time. Please contact an administrator for {{connectedAccountName}} and request provisioning of a Lite user with access to this password.",errors:{"invalid-passphrase":"Invalid passphrase","new-passphase-must-be-different":"Your new passphrase must be different than your current passphrase"},"awaiting-vault-access-shorter":"Vault access is pending approval from your administrator.","access-password-from-web":"Access this password from the web app to set up your passphrase.","vault-session-setting-title":"passphrase session expiry time","vault-session-setting-description":"Set 00:00 to prompt a user for a passphrase every time they access an asset stored in the Vault.","vault-session-setting-duration-range":{1:"Expected values are",2:"0-99 for hours",3:"and",4:"0-59 for minutes",5:"respectively."},"set-expiry":"set expiry","remove-from-vault":"Remove from Vault","store-to-vault":"store in vault","folders-cannot-be-stored-to-vault":"Folders cannot be stored in Vault.","already-stored-in-vault":"Already stored in Vault.","not-stored-in-vault":"Not stored in Vault.","will-be-stored-in-vault":"Will be stored in Vault.","will-be-removed-from-vault":"Will be removed from Vault.","stored-in-vault-successful":"Passwords successfully stored in Vault.","removed-from-vault-successful":"Passwords successfully removed in Vault.","revoke-user":"revoke user","confirm-revoking-vault-access":"Are you sure you want to revoke this user?"}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowButton=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=r(n(12)),h=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){var e=(0,f.default)(this.props.className,this.props.canLoadMore?"visible":"invisible");return d.default.createElement("div",{className:e,onClick:this.props.onClick},d.default.createElement("i",{className:"fa fa-fw "+this.props.iconName}))}}]),n}(d.default.Component);t.ArrowButton=h,(0,l.default)(h,"displayName","ArrowButton"),(0,l.default)(h,"propTypes",{canLoadMore:c.default.bool,className:c.default.string,iconName:c.default.string.isRequired,onClick:c.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AddEditFlag=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=r(n(14)),v=n(80),g=n(252),y=n(82),b=n(30),_=n(35),w=n(50),E=r(n(12)),C=r(n(11)),A=r(n(37));function k(e){return e&&e.color?p.default.createElement("div",{className:(0,E.default)("flag-option-row",e.checked&&"checked")},p.default.createElement(v.FlagIcon,{color:e.color}),p.default.createElement("div",{className:"flag-option-name no-wrap"},e.name)):p.default.createElement("span",null,e)}var S=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"_getInitialIndex",(function(){return e.props.flagTypeId?m.default.findIndex(e.props.flagTypes,(function(t){return t.id==e.props.flagTypeId})):-1})),(0,f.default)((0,u.default)(e),"_setEditing",(function(){e.setState({editing:!0})})),(0,f.default)((0,u.default)(e),"_handleCancelEdit",(function(){e.setState({editing:!1,description:e.props.description,selectedIndex:e._getInitialIndex()})})),(0,f.default)((0,u.default)(e),"_handleSaveEdit",(0,o.default)(i.default.mark((function t(){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.props.flagTypes[e.state.selectedIndex],t.next=3,e.props.onFlagSave({flagTypeId:n.id,description:e.state.description});case 3:t.sent||e.setState({editing:!1});case 5:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"_handleItemSelect",(function(t){var n=e.props.flagTypes.findIndex((function(e){return e.id===t}));e.setState({selectedIndex:n})})),(0,f.default)((0,u.default)(e),"_handleDescChange",(function(t){e.setState({description:t})})),(0,f.default)((0,u.default)(e),"_handleDelete",(0,o.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.onFlagRemove();case 2:e.setState(t.sent?{showDelete:!1}:{selectedIndex:-1,showDelete:!1,description:void 0});case 4:case"end":return t.stop()}}),t)})))),(0,f.default)((0,u.default)(e),"_showDeleteDialog",(function(){e.setState({showDelete:!0})})),(0,f.default)((0,u.default)(e),"hasSelectedFlag",(function(){return e.state.selectedIndex>=0})),(0,f.default)((0,u.default)(e),"getSelectedFlagType",(function(){return e.hasSelectedFlag()?e.props.flagTypes[e.state.selectedIndex]:void 0})),(0,f.default)((0,u.default)(e),"state",{editing:!1,selectedIndex:e._getInitialIndex(),description:e.props.description,showDelete:!1}),e}return(0,s.default)(n,[{key:"render",value:function(){var e,t,n=this,r=null===(e=this.props.flagTypes)||void 0===e||null===(t=e[this.state.selectedIndex])||void 0===t?void 0:t.id,i=this.props.flagTypes;return p.default.createElement("div",{className:"add-edit-flag"},!this.state.editing&&p.default.createElement(g.ShowFlag,{onToggle:this._setEditing,selectedFlagType:this.getSelectedFlagType(),description:this.state.description,onDelete:this._showDeleteDialog}),this.state.editing&&p.default.createElement("div",{className:"edit-flag-popover"},p.default.createElement(v.FlagIcon,{color:this.getSelectedFlagType()&&this.getSelectedFlagType().color}),p.default.createElement("div",{className:"edit-flag-content"},p.default.createElement(y.FormSelectField,{className:"flag-types-drop-down",options:i,valueKey:"id",labelKey:"name",labelNoSelection:A.default.titleCase((0,C.default)("asset-flags.add-flag")),showFilter:!1,checked:[r],floatOptions:!0,closeOnSelection:!0,onToggleItem:this._handleItemSelect,optionTemplate:k}),this.props.flagTypeId&&p.default.createElement("i",{className:"fa fa-trash qa-fa-trash delete",onClick:this._showDeleteDialog}),p.default.createElement(_.FormTextField,{textArea:!0,className:"edit-flag-desc",value:this.state.description||"",validationKey:"flagDescription",placeholder:A.default.titleCase((0,C.default)("asset-flags.flag-desc")),onChange:this._handleDescChange}),p.default.createElement("div",{className:"edit-flag-buttons"},p.default.createElement(b.LoaderButton,{className:"small cancel-button",value:(0,C.default)("cancel"),onClick:this._handleCancelEdit}),p.default.createElement(b.LoaderButton,{className:"small default",disabled:!this.hasSelectedFlag(),value:(0,C.default)("save"),onClick:this._handleSaveEdit})))),p.default.createElement(w.Dialog,{className:"delete-dialog",visible:this.state.showDelete,title:A.default.titleCase((0,C.default)("asset-flags.remove-flag")),onCancel:function(){return n.setState({showDelete:!1})},onApply:this._handleDelete},p.default.createElement("span",null,(0,C.default)("asset-flags.remove-flag-warning")," ")))}}]),n}(p.default.Component);t.AddEditFlag=S,(0,f.default)(S,"displayName","AddEditFlag"),(0,f.default)(S,"propTypes",{flagTypes:h.default.arrayOf(h.default.flagType),description:h.default.string,flagTypeId:h.default.stringOrNumber,onFlagSave:h.default.func.isRequired,onFlagRemove:h.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.PopoverArrow=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(19)),d=r(n(1)),f=function(e){return d.default.createElement("span",{className:"arrow-container",style:e.outerStyle},d.default.createElement("span",{className:"arrow",style:{borderWidth:e.size}}))},h=function(e){var t=e.size+e.arrowOffset,n={left:-t,right:"calc(100% - ".concat(t,"px)"),center:"calc(50% - ".concat(t,"px)")};return d.default.createElement(f,(0,c.default)({},{outerStyle:{height:e.size,width:2*e.size+10,left:n[e.alignment],top:"up"===e.direction?"100%":-e.size-e.borderWidth}},{size:e.size}))},p=function(e){var t=e.size+e.arrowOffset,n={top:-t,bottom:"calc(100% - ".concat(t,"px)"),center:"calc(50% - ".concat(t,"px)")},r={outerStyle:{width:e.size+e.borderWidth+10,height:2*e.size+10,left:"left"===e.direction?"calc(100% - ".concat(10,"px"):-e.size,top:n[e.alignment]}};return d.default.createElement(f,(0,c.default)({},r,{size:e.size}))},m=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){switch(this.props.direction){case"up":case"down":return d.default.createElement(h,(0,c.default)({},this.props,this.state));case"left":case"right":return d.default.createElement(p,(0,c.default)({},this.props,this.state));default:throw"invalid direction "+this.props.direction}}}]),n}(d.default.Component);t.PopoverArrow=m,(0,l.default)(m,"displayName","PopoverArrow")},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Content=void 0;var i=r(n(8)),o=r(n(1));t.Content=function(e){var t=function(e){var t,n,r,o,a,s=e.arrowSize+e.edgeOffset,u=e.arrowDirection.match(/^up|^down/)?"left":"top",l=function(e){return"left"===u?"translateX(".concat(e,")"):"translateY(".concat(e,")")};switch(e.pointTo+"-"+e.arrowPosition){case"left-left":case"top-top":return(0,i.default)({},u,-s);case"left-center":case"top-center":return{transform:l("-50%")};case"left-right":case"top-bottom":return(0,i.default)(t={},u,s),(0,i.default)(t,"transform",l("-100%")),t;case"center-left":case"center-top":return(0,i.default)({},u,"calc(50% - ".concat(s,"px)"));case"center-center":return(0,i.default)(n={},u,"50%"),(0,i.default)(n,"transform",l("-50%")),n;case"center-right":case"center-bottom":return(0,i.default)(r={},u,"calc(50% + ".concat(s,"px)")),(0,i.default)(r,"transform",l("-100%")),r;case"right-right":case"bottom-bottom":return(0,i.default)(o={},u,"calc(100% + ".concat(s,"px)")),(0,i.default)(o,"transform",l("-100%")),o;case"right-center":case"bottom-center":return(0,i.default)(a={},u,"100%"),(0,i.default)(a,"transform",l("-50%")),a;case"right-left":case"bottom-top":return(0,i.default)({},u,"calc(100% - ".concat(s,"px)"))}}(e);switch(e.arrowDirection){case"left":t.left="calc(100% + ".concat(e.arrowSize,"px");break;case"right":t.left=-e.arrowSize,t.transform=(t.transform||"")+" translateX(-100%)";break;case"up":t.top="calc(".concat(e.arrowSize-1,"px + 100%)");break;case"down":t.top=-e.arrowSize,t.transform=(t.transform||"")+" translateY(-100%)";break;default:throw"invalid direction "+e.direction}return o.default.createElement("div",{className:"itg-popover-content qa-itg-popover-content",style:t,children:e.children})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optimalConfig=t.rectContains=void 0;var r=function(e,t){return{x:Math.max(0,e.left-t.left)+Math.max(0,t.right-e.right)===0,y:Math.max(0,e.top-t.top)+Math.max(0,t.bottom-e.bottom)===0}};t.rectContains=r,t.optimalConfig=function(e,t,n,i,o){var a=r(e,n);if(a.x&&a.y)return null;var s=t.left-e.left>e.right-t.right,u=t.left-e.left<e.right-t.right,l=t.top-e.top>e.bottom-t.bottom,c=t.top-e.top<e.bottom-t.bottom,d=i,f=o;switch(d){case"left":case"right":a.y||(f=c?"top":"bottom");break;case"up":case"down":a.x||(f=s?"right":"left")}switch(d){case"left":!a.x&&s&&(d="right");break;case"right":!a.x&&u&&(d="left");break;case"up":!a.y&&l&&(d="down");break;case"down":!a.y&&c&&(d="up")}return{arrowPosition:f,arrowDirection:d}}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipV2=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(27)),m=r(n(12)),v=n(58),g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a)),(0,d.default)((0,s.default)(e),"state",{open:!1}),(0,d.default)((0,s.default)(e),"_handleMouseEnter",(function(){0===e.count&&(e.setState({open:!0}),e.props.onOpen&&e.props.onOpen()),e.count+=1})),(0,d.default)((0,s.default)(e),"_handleMouseLeave",(function(){e.count=Math.max(e.count-1,0),0===e.count&&(e.setState({open:!1}),e.props.onClose&&e.props.onClose())})),(0,d.default)((0,s.default)(e),"_lazyInitContainer",(function(){!e._tooltipPortal&&e.state.open&&(e._tooltipPortal=document.createElement("div"),e._tooltipPortal.className="react-tooltip-container",e._tooltipPortal.style.zIndex=20,document.body.appendChild(e._tooltipPortal))})),(0,d.default)((0,s.default)(e),"_positionTooltipPortalOnRealContainer",(function(){var t=e.realPopoverContainter.getBoundingClientRect(),n=t.x,r=t.y,i=t.width,o=t.height;e._tooltipPortal.style.position="fixed",e._tooltipPortal.style.left="".concat(n,"px"),e._tooltipPortal.style.top="".concat(r,"px"),e._tooltipPortal.style.width="".concat(i,"px"),e._tooltipPortal.style.height="".concat(o,"px"),e._tooltipPortal.style.display="block"})),(0,d.default)((0,s.default)(e),"_renderTooltip",(function(){p.default.render(h.default.createElement(v.Popover,(0,i.default)({},e.props,{open:e.state.open,arrowSize:10}),e.props.content||e.props.getContent()),e._tooltipPortal)})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.count=0}},{key:"componentWillUnmount",value:function(){if(this._tooltipPortal){p.default.unmountComponentAtNode(this._tooltipPortal);try{document.body.removeChild(this._tooltipPortal)}catch(e){}}}},{key:"componentDidUpdate",value:function(){this._lazyInitContainer(),this._tooltipPortal&&this.realPopoverContainter&&(this.state.open?(this._positionTooltipPortalOnRealContainer(),this._renderTooltip()):this._tooltipPortal.style.display="none")}},{key:"render",value:function(){var e=this;return h.default.createElement("div",{className:(0,m.default)("react-tooltip-container",this.props.containerClassName),ref:function(t){return e.realPopoverContainter=t},onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave},h.default.createElement("div",{className:"tooltip-trigger-content"},this.props.children))}}]),n}(h.default.Component);t.TooltipV2=g,(0,d.default)(g,"displayName","TooltipV2"),(0,d.default)(g,"propTypes",{containerClassName:f.default.string,content:f.default.oneOfType([f.default.element,f.default.string]),getContent:f.default.func,onClose:f.default.func,onOpen:f.default.func})},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,n){var r=n(81);e.exports=function(e,t){return r(e,t,".")}},function(e,t,n){var r=n(45),i=n(468);e.exports=function(e,t){if(null==e)return"";for(var n="",o=0;o<e.length;o++){var a=e[o],s=r(a,t);n+=s===a?i(a,t):s}return n}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t,n){var r=n(470);e.exports=function(e,t){return r(e,t,"/")}},function(e,t,n){var r=n(471),i=n(472),o=n(473),a=n(474);e.exports=function(e,t,n){return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,(function(e,t,r){return 0===t||t===r.length-e.length?"":n})),r(e,t))}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,n){var r=n(476),i=n(477),o=n(478),a=n(479);e.exports=function(e,t,n){return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,(function(e,t,r){return 0===t||t===r.length-e.length?"":n})),r(e,t))}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,n){var r=n(481),i=n(45);e.exports=function(e,t){return r(e,t).replace(/^.| ./g,(function(e){return i(e,t)}))}},function(e,t,n){var r=n(482),i=n(483),o=n(484),a=n(485);e.exports=function(e,t,n){return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,(function(e,t,r){return 0===t||t===r.length-e.length?"":n})),r(e,t))}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,n){var r=n(81);e.exports=function(e,t){return r(e,t,"-")}},function(e,t,n){var r=n(488),i=n(45);e.exports=function(e,t){return r(e,t,"-").replace(/^.|-./g,(function(e){return i(e,t)}))}},function(e,t,n){var r=n(489),i=n(490),o=n(491),a=n(492);e.exports=function(e,t,n){return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,(function(e,t,r){return 0===t||t===r.length-e.length?"":n})),r(e,t))}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,n){var r=n(254),i=n(99);e.exports=function(e,t,n){return i(r(e,t,n),t)}},function(e,t,n){var r=n(45),i=n(255);e.exports=function(e,t){return r(i(e,t),t)}},function(e,t,n){var r=n(496),i=n(99);e.exports=function(e,t){return i(r(e,t),t)}},function(e,t,n){var r=n(497),i=n(498),o=n(499),a=n(500);e.exports=function(e,t,n){return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(o,"$1 $2").replace(a,"$1 $2").replace(i,(function(e,t,r){return 0===t||t===r.length-e.length?"":n})),r(e,t))}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},function(e,t,n){var r=n(45);e.exports=function(e,t){return r(e,t)===e}},function(e,t,n){var r=n(503);e.exports=function(e,t){return r(e,t)===e}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t,n){var r=n(505);e.exports=function(e,t){return null==e?"":(e=String(e),r(e.charAt(0),t)+e.substr(1))}},function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},az:{regexp:/[\u0130]/g,map:{"\u0130":"i",I:"\u0131","I\u0307":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i\u0307",J:"j\u0307","\u012e":"\u012f\u0307","\xcc":"i\u0307\u0300","\xcd":"i\u0307\u0301","\u0128":"i\u0307\u0303"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,(function(e){return r.map[e]}))),e.toLowerCase()}},function(e,t,n){"use strict";var r=n(75),i=n(507),o=n(508);e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},l={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps=e.getDefaultProps?h(e.getDefaultProps,t):t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(o(!(n in l),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var i=u.hasOwnProperty(n)?u[n]:null;return o("DEFINE_MANY_MERGED"===i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=h(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function c(e,t){var n=s.hasOwnProperty(t)?s[t]:null;y.hasOwnProperty(t)&&o("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&o("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){o("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),o(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&l.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var u=n[a],d=r.hasOwnProperty(a);if(c(d,a),l.hasOwnProperty(a))l[a](e,u);else{var f=s.hasOwnProperty(a);if("function"!=typeof u||f||d||!1===n.autobind)if(d){var m=s[a];o(f&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,a),"DEFINE_MANY_MERGED"===m?r[a]=h(r[a],u):"DEFINE_MANY"===m&&(r[a]=p(r[a],u))}else r[a]=u;else i.push(a,u),r[a]=u}}}}function f(e,t){for(var n in o(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(o(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function h(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var i={};return f(i,n),f(i,r),i}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function m(e,t){return t.bind(e)}var v={componentDidMount:function(){this.__isMounted=!0}},g={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,y),function(e){var t=function e(t,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2)e[t[n]]=m(e,t[n+1])}(this),this.props=t,this.context=r,this.refs=i,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;o("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",e.displayName||"ReactCompositeComponent"),this.state=s};for(var r in(t.prototype=new b).constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(d.bind(null,t)),d(t,v),d(t,e),d(t,g),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),o(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(16),o=n(32),a=n(29),s={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},u=a({propTypes:{className:o.string,defaultValue:o.any,inputClassName:o.string,inputRef:o.func,inputStyle:o.object,minWidth:o.oneOfType([o.number,o.string]),onAutosize:o.func,onChange:o.func,placeholder:o.string,placeholderIsMinWidth:o.bool,style:o.object,value:o.any},getDefaultProps:function(){return{minWidth:1}},getInitialState:function(){return{inputWidth:this.props.minWidth,inputId:"_"+Math.random().toString(36).substr(2,12)}},componentDidMount:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()},componentDidUpdate:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()},componentWillUnmount:function(){this.mounted=!1},inputRef:function(e){this.input=e,"function"==typeof this.props.inputRef&&this.props.inputRef(e)},placeHolderSizerRef:function(e){this.placeHolderSizer=e},sizerRef:function(e){this.sizer=e},copyInputStyles:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);if(e){var t=this.sizer;if(t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform,this.props.placeholder){var n=this.placeHolderSizer;n.style.fontSize=e.fontSize,n.style.fontFamily=e.fontFamily,n.style.fontWeight=e.fontWeight,n.style.fontStyle=e.fontStyle,n.style.letterSpacing=e.letterSpacing,n.style.textTransform=e.textTransform}}}},updateInputWidth:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;(e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}},getInput:function(){return this.input},focus:function(){this.input.focus()},blur:function(){this.input.blur()},select:function(){this.input.select()},render:function(){var e=[this.props.defaultValue,this.props.value,""].reduce((function(e,t){return null!=e?e:t})),t=this.props.style||{};t.display||(t.display="inline-block");var n=r({},this.props.inputStyle);n.width=this.state.inputWidth+"px",n.boxSizing="content-box";var o=r({},this.props);return o.className=this.props.inputClassName,o.style=n,delete o.inputClassName,delete o.inputStyle,delete o.minWidth,delete o.onAutosize,delete o.placeholderIsMinWidth,delete o.inputRef,i.createElement("div",{className:this.props.className,style:t},i.createElement("style",{dangerouslySetInnerHTML:{__html:["input#"+this.state.id+"::-ms-clear {display: none;}"].join("\n")}}),i.createElement("input",r({id:this.state.id},o,{ref:this.inputRef})),i.createElement("div",{ref:this.sizerRef,style:s},e),this.props.placeholder?i.createElement("div",{ref:this.placeHolderSizerRef,style:s},this.props.placeholder):null)}});e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return i.default.createElement("span",{className:"Select-arrow",onMouseDown:e.onMouseDown})};var r,i=(r=n(16))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return i.default.createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"&times;"}})};var r,i=(r=n(16))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var a=n(16),s=o(a),u=o(n(32)),l=o(n(83)),c=o(n(257)),d={autoload:u.default.bool.isRequired,cache:u.default.any,children:u.default.func.isRequired,ignoreAccents:u.default.bool,ignoreCase:u.default.bool,loadingPlaceholder:u.default.oneOfType([u.default.string,u.default.node]),loadOptions:u.default.func.isRequired,multi:u.default.bool,options:u.default.array.isRequired,placeholder:u.default.oneOfType([u.default.string,u.default.node]),noResultsText:u.default.oneOfType([u.default.string,u.default.node]),onChange:u.default.func,searchPromptText:u.default.oneOfType([u.default.string,u.default.node]),onInputChange:u.default.func,value:u.default.any},f={},h={autoload:!0,cache:f,children:function(e){return s.default.createElement(l.default,e)},ignoreAccents:!0,ignoreCase:!0,loadingPlaceholder:"Loading...",options:[],searchPromptText:"Type to search"},p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=o,n=a,r=!0,s=l=void 0}}(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e,n),this._cache=e.cache===f?{}:e.cache,this.state={isLoading:!1,options:e.options},this._onInputChange=this._onInputChange.bind(this)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.autoload&&this.loadOptions("")}},{key:"componentWillUpdate",value:function(e,t){var n=this;["options"].forEach((function(t){var r,i,o;n.props[t]!==e[t]&&n.setState((o=e[t],(i=t)in(r={})?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r))}))}},{key:"clearOptions",value:function(){this.setState({options:[]})}},{key:"loadOptions",value:function(e){var t=this,n=this.props.loadOptions,r=this._cache;if(!r||!r.hasOwnProperty(e)){var i=function n(i,o){if(n===t._callback){t._callback=null;var a=o&&o.options||[];r&&(r[e]=a),t.setState({isLoading:!1,options:a})}};this._callback=i;var o=n(e,i);return o&&o.then((function(e){return i(0,e)}),(function(e){return i()})),this._callback&&!this.state.isLoading&&this.setState({isLoading:!0}),e}this.setState({options:r[e]})}},{key:"_onInputChange",value:function(e){var t=this.props,n=t.ignoreCase,r=t.onInputChange;return t.ignoreAccents&&(e=(0,c.default)(e)),n&&(e=e.toLowerCase()),r&&r(e),this.loadOptions(e)}},{key:"inputValue",value:function(){return this.select?this.select.state.inputValue:""}},{key:"noResultsText",value:function(){var e=this.props,t=e.loadingPlaceholder,n=e.noResultsText,r=e.searchPromptText,i=this.state.isLoading,o=this.inputValue();return i?t:o&&n?n:r}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,i=t.loadingPlaceholder,o=t.placeholder,a=this.state,s=a.isLoading,u=a.options,l={noResultsText:this.noResultsText(),placeholder:s?i:o,options:s&&i?[]:u,ref:function(t){return e.select=t},onChange:function(t){e.props.multi&&e.props.value&&t.length>e.props.value.length&&e.clearOptions(),e.props.onChange(t)}};return n(r({},this.props,l,{isLoading:s,onInputChange:this._onInputChange}))}}]),t}(a.Component);t.default=p,p.propTypes=d,p.defaultProps=h,e.exports=t.default},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(16)),a=i(n(29)),s=i(n(83));function u(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(e).reduce((function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}),t)}var l=(0,a.default)({displayName:"AsyncCreatableSelect",focus:function(){this.select.focus()},render:function(){var e=this;return o.default.createElement(s.default.Async,this.props,(function(t){return o.default.createElement(s.default.Creatable,e.props,(function(n){return o.default.createElement(s.default,r({},u(t,u(n,{})),{onInputChange:function(e){return n.onInputChange(e),t.onInputChange(e)},ref:function(r){e.select=r,n.ref(r),t.ref(r)}}))}))}))}});e.exports=l},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function i(e){return e&&e.__esModule?e:{default:e}}var o=i(n(16)),a=i(n(29)),s=i(n(32)),u=i(n(83)),l=i(n(256)),c=i(n(258)),d=(0,a.default)({displayName:"CreatableSelect",propTypes:{children:s.default.func,filterOptions:s.default.any,isOptionUnique:s.default.func,isValidNewOption:s.default.func,menuRenderer:s.default.any,newOptionCreator:s.default.func,onInputChange:s.default.func,onInputKeyDown:s.default.func,onNewOptionClick:s.default.func,options:s.default.array,promptTextCreator:s.default.func,shouldKeyDownEventCreateNewOption:s.default.func},statics:{isOptionUnique:h,isValidNewOption:p,newOptionCreator:m,promptTextCreator:v,shouldKeyDownEventCreateNewOption:g},getDefaultProps:function(){return{filterOptions:l.default,isOptionUnique:h,isValidNewOption:p,menuRenderer:c.default,newOptionCreator:m,promptTextCreator:v,shouldKeyDownEventCreateNewOption:g}},createNewOption:function(){var e=this.props,t=e.newOptionCreator,n=e.onNewOptionClick,r=e.options,i=void 0===r?[]:r;if((0,e.isValidNewOption)({label:this.inputValue})){var o=t({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey});this.isOptionUnique({option:o})&&(n?n(o):(i.unshift(o),this.select.selectValue(o)))}},filterOptions:function(){var e=this.props,t=e.filterOptions,n=e.isValidNewOption,r=e.promptTextCreator,i=arguments[2]||[],o=t.apply(void 0,arguments)||[];if(n({label:this.inputValue})){var a=this.props.newOptionCreator,s=a({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey}),u=this.isOptionUnique({option:s,options:i.concat(o)});if(u){var l=r(this.inputValue);this._createPlaceholderOption=a({label:l,labelKey:this.labelKey,valueKey:this.valueKey}),o.unshift(this._createPlaceholderOption)}}return o},isOptionUnique:function(e){var t=e.option,n=e.options,r=this.props.isOptionUnique;return n=n||this.select.filterOptions(),r({labelKey:this.labelKey,option:t,options:n,valueKey:this.valueKey})},menuRenderer:function(e){return(0,this.props.menuRenderer)(r({},e,{onSelect:this.onOptionSelect,selectValue:this.onOptionSelect}))},onInputChange:function(e){var t=this.props.onInputChange;t&&t(e),this.inputValue=e},onInputKeyDown:function(e){var t=this.props,n=t.shouldKeyDownEventCreateNewOption,r=t.onInputKeyDown,i=this.select.getFocusedOption();i&&i===this._createPlaceholderOption&&n({keyCode:e.keyCode})?(this.createNewOption(),e.preventDefault()):r&&r(e)},onOptionSelect:function(e,t){e===this._createPlaceholderOption?this.createNewOption():this.select.selectValue(e)},focus:function(){this.select.focus()},render:function(){var e=this,t=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,["newOptionCreator","shouldKeyDownEventCreateNewOption"]),n=this.props.children;return n||(n=f),n(r({},t,{allowCreate:!0,filterOptions:this.filterOptions,menuRenderer:this.menuRenderer,onInputChange:this.onInputChange,onInputKeyDown:this.onInputKeyDown,ref:function(t){e.select=t,t&&(e.labelKey=t.props.labelKey,e.valueKey=t.props.valueKey)}}))}});function f(e){return o.default.createElement(u.default,e)}function h(e){var t=e.option,n=e.labelKey,r=e.valueKey;return 0===e.options.filter((function(e){return e[n]===t[n]||e[r]===t[r]})).length}function p(e){return!!e.label}function m(e){var t=e.label,n=e.labelKey,r={};return r[e.valueKey]=t,r[n]=t,r.className="Select-create-option-placeholder",r}function v(e){return'Create option "'+e+'"'}function g(e){switch(e.keyCode){case 9:case 13:case 188:return!0}return!1}e.exports=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(16)),o=r(n(29)),a=r(n(32)),s=r(n(42)),u=(0,o.default)({propTypes:{children:a.default.node,className:a.default.string,instancePrefix:a.default.string.isRequired,isDisabled:a.default.bool,isFocused:a.default.bool,isSelected:a.default.bool,onFocus:a.default.func,onSelect:a.default.func,onUnfocus:a.default.func,option:a.default.object.isRequired,optionIndex:a.default.number},blockEvent:function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},handleMouseDown:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)},handleMouseEnter:function(e){this.onFocus(e)},handleMouseMove:function(e){this.onFocus(e)},handleTouchEnd:function(e){this.dragging||this.handleMouseDown(e)},handleTouchMove:function(e){this.dragging=!0},handleTouchStart:function(e){this.dragging=!1},onFocus:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)},render:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,o=(0,s.default)(this.props.className,t.className);return i.default.createElement("div",t.disabled?{className:o,onMouseDown:this.blockEvent,onClick:this.blockEvent}:{className:o,style:t.style,role:"option",onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}});e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=r(n(16)),o=r(n(29)),a=r(n(32)),s=r(n(42)),u=(0,o.default)({displayName:"Value",propTypes:{children:a.default.node,disabled:a.default.bool,id:a.default.string,onClick:a.default.func,onRemove:a.default.func,value:a.default.object.isRequired},handleMouseDown:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())},onRemove:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)},handleTouchEndRemove:function(e){this.dragging||this.onRemove(e)},handleTouchMove:function(e){this.dragging=!0},handleTouchStart:function(e){this.dragging=!1},renderRemoveIcon:function(){if(!this.props.disabled&&this.props.onRemove)return i.default.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"\xd7")},renderLabel:function(){return this.props.onClick||this.props.value.href?i.default.createElement("a",{className:"Select-value-label",href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):i.default.createElement("span",{className:"Select-value-label",role:"option","aria-selected":"true",id:this.props.id},this.props.children)},render:function(){return i.default.createElement("div",{className:(0,s.default)("Select-value",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}});e.exports=u},function(e,t,n){"use strict";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Autosave=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=function(t){(0,s.default)(r,t);var n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(r);function r(){var t;(0,i.default)(this,r);for(var o=arguments.length,s=new Array(o),u=0;u<o;u++)s[u]=arguments[u];return t=n.call.apply(n,[this].concat(s)),(0,c.default)((0,a.default)(t),"clear",(function(){t.timer&&e.clearTimeout(t.timer),t.timer=null,t.snapshot=null,t.forceTimer=null,t.forceStartTime=null})),(0,c.default)((0,a.default)(t),"schedule",(function(n){if(!t.props.loading){t.timer||(t.queueStartTime=Date.now()),t.clear(),t.snapshot=n;var r=t.props.saveInterval-(Date.now()-t.queueStartTime);t.timer=e.setTimeout(t._exec,r)}})),(0,c.default)((0,a.default)(t),"force",(function(e){t.timer&&t._exec(e)})),(0,c.default)((0,a.default)(t),"_exec",(function(e){if(!t.props.saving){var n=t.snapshot;t.clear(),t.props.saveAction(n,e)}})),t}return(0,o.default)(r,[{key:"render",value:function(){return d.default.createElement("div",{style:{display:"none"}})}}]),r}(d.default.Component);t.Autosave=h,(0,c.default)(h,"propTypes",{loading:f.default.bool,saveAction:f.default.func,saving:f.default.bool,saveInterval:f.default.number}),(0,c.default)(h,"defaultProps",{saveInterval:6e4})}).call(this,n(23))},function(e,t,n){var r=n(519);e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t.indexOf(n=a[i])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Message=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=n(262),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_getTypeIcon",(function(){switch(e.props.type){case p.messageTypes.error:return"fa-exclamation-triangle";case p.messageTypes.info:return"fa-exclamation-circle";case p.messageTypes.success:return"fa-check-circle"}})),(0,c.default)((0,a.default)(e),"_getTypeColorClass",(function(){if(e.props.color)return e.props.color;switch(e.props.type){case p.messageTypes.error:return"red";case p.messageTypes.info:return"orange";case p.messageTypes.success:return"green"}})),e}return(0,o.default)(n,[{key:"render",value:function(){if(!this.props.visible)return null;var e=this._getTypeColorClass();return f.default.createElement("div",{className:(0,h.default)("message-alert","bumper-small-vertical","bumper-small-horizontal","message-alert-color-".concat(e))},f.default.createElement("div",{className:(0,h.default)("message-alert-title",!this.props.children&&"message-alert-empty-body")},f.default.createElement("i",{className:(0,h.default)("fa",this._getTypeIcon(),"message-alert__icon"),"aria-hidden":"true"}),f.default.createElement("div",null,this.props.title)),f.default.createElement("div",{className:"message-alert-body"},this.props.children))}}]),n}(f.default.Component);t.Message=m,(0,c.default)(m,"displayName","Message"),(0,c.default)(m,"propTypes",{className:d.default.string,visible:d.default.bool,title:d.default.node,message:d.default.node,type:d.default.oneOf(["error","info","success"]),color:d.default.string}),(0,c.default)(m,"defaultProps",{visible:!1,type:"error"})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserAlert=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(1)),d=r(n(2)),f=n(50),h=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return c.default.createElement(f.Dialog,{visible:this.props.visible,hideCancelButton:!0,title:"Unsupported Browser",onCancel:this.props.onDismiss,onApply:this.props.onDismiss},c.default.createElement("div",{className:"unsupported-browser-alert"},c.default.createElement("h5",null,c.default.createElement("strong",null,"Some features may not work as intended based on your current detected browser.")),c.default.createElement("p",null,"Here are some great alternatives:"),c.default.createElement("div",{className:"unsupported-browser-alert--alternatives"},c.default.createElement("a",{href:"https://www.google.com/chrome/browser/desktop/index.html",target:"_blank",className:"unsupported-browser-alert__link"},c.default.createElement("span",{className:"browser-icon browser-icon--chrome"}),c.default.createElement("span",{className:"browser-name"},"Chrome")),c.default.createElement("a",{href:"https://www.mozilla.org/en-US/firefox/new/",target:"_blank",className:"unsupported-browser-alert__link"},c.default.createElement("span",{className:"browser-icon browser-icon--firefox"}),c.default.createElement("span",{className:"browser-name"},"Firefox")),c.default.createElement("a",{href:"https://support.apple.com/downloads/safari",target:"_blank",className:"unsupported-browser-alert__link"},c.default.createElement("span",{className:"browser-icon browser-icon--safari"}),c.default.createElement("span",{className:"browser-name"},"Safari")))))}}]),n}(c.default.Component);t.BrowserAlert=h,(0,l.default)(h,"displayName","BrowserAlert"),(0,l.default)(h,"propTypes",{visible:d.default.bool.affectsRendering,onDismiss:d.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CircularButton=void 0;var i=r(n(1)),o=r(n(2)),a=function(e){return e.avatarUrl?i.default.createElement("img",{className:"circular-icon logo small",src:e.avatarUrl,title:e.value,onClick:e.onClick}):i.default.createElement("span",{className:"circular-icon small",title:e.value,onClick:e.onClick},e.value&&e.value.split(/ /).splice(0,2).map((function(e){return e.length>0?e[0].toUpperCase():""})).join(""))};t.CircularButton=a,a.propTypes={value:o.default.string.affectsRendering,avatarUrl:o.default.string.affectsRendering,onClick:o.default.func},a.displayName="CircularButton"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPicker=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=n(524),p=r(n(11)),m=r(n(12)),v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{defaultColor:e.props.color}),(0,c.default)((0,a.default)(e),"_handlePick",(function(t){e.props.onPick&&e.props.onPick(t)})),(0,c.default)((0,a.default)(e),"_handleCancel",(function(){e.props.onCancel&&e.props.onCancel(e.state.defaultColor)})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this;return d.default.createElement("div",{className:"color-picker"},d.default.createElement("div",{className:"color-picker-popover"},d.default.createElement("div",{className:"colors-block",style:{width:(this.props.swatchWidth+2*this.props.swatchMargin)*this.props.columnNumber}},this.props.colors.map((function(t){var n=(0,m.default)(e.props.swatchClasses,t===e.props.color?"swatch--selected":"");return d.default.createElement(h.Swatch,{key:t,color:t,className:n,width:e.props.swatchWidth,height:e.props.swatchHeight,margin:e.props.swatchMargin,onClick:e._handlePick})}))),this.props.showCancel&&d.default.createElement("div",{className:"bottom-container"},d.default.createElement("div",{className:"react-button small color-picker-cancel",onClick:this._handleCancel},(0,p.default)("cancel")))))}}]),n}(d.default.Component);t.ColorPicker=v,(0,c.default)(v,"displayName","ColorPicker"),(0,c.default)(v,"propTypes",{colors:f.default.arrayOf(f.default.string),onPick:f.default.func,onCancel:f.default.func,showCancel:f.default.bool,columnNumber:f.default.number,swatchClasses:f.default.string,swatchWidth:f.default.number,swatchHeight:f.default.number,swatchMargin:f.default.number}),(0,c.default)(v,"defaultProps",{columnNumber:6,swatchWidth:22,swatchHeight:22,swatchMargin:5})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"handleClick",(function(){e.props.onClick(e.props.color)})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=(0,h.default)("swatch",this.props.className);return d.default.createElement("div",{style:{width:this.props.width,height:this.props.height,margin:this.props.margin},onClick:this.handleClick,className:e},d.default.createElement("div",{style:{background:"#".concat(this.props.color)},className:"swatch-content"}))}}]),n}(d.default.Component);t.Swatch=p,(0,c.default)(p,"displayName","Swatch"),(0,c.default)(p,"propTypes",{className:f.default.string,color:f.default.string.isRequired,width:f.default.number.isRequired,height:f.default.number.isRequired,margin:f.default.number.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfirmButton=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(30),p=r(n(12)),m=r(n(11)),v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{isConfirming:!1}),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.setState({isConfirming:!0})})),(0,c.default)((0,a.default)(e),"_handleLeave",(function(){e.setState({isConfirming:!1})})),e}return(0,o.default)(n,[{key:"render",value:function(){return f.default.createElement(h.LoaderButton,{value:this.state.isConfirming?this.props.confirmLabel||(0,m.default)("confirm"):this.props.defaultLabel,className:(0,p.default)(this.props.className,this.state.isConfirming?this.props.confirmClass||"red":this.props.defaultClass),onClick:this.state.isConfirming?this.props.onConfirm:this._handleClick,onMouseLeave:this._handleLeave})}}]),n}(f.default.Component);t.ConfirmButton=v,(0,c.default)(v,"displayName","ConfirmButton"),(0,c.default)(v,"propTypes",{className:d.default.string,onConfirm:d.default.func.isRequired,defaultLabel:d.default.string.isRequired,defaultClass:d.default.string,confirmLabel:d.default.string,confirmClass:d.default.string})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Countries=void 0;var i=r(n(19)),o=r(n(1)),a=r(n(527)),s=n(82),u=function(e){return o.default.createElement(s.FormSelectField,(0,i.default)({},e,{closeOnSelection:!0,checked:[e.value],floatOptions:!0,onToggleItem:e.onChange,options:a.default}))};t.Countries=u,u.displayName="Countries"},function(e,t,n){"use strict";e.exports=[{value:1,label:"Canada"},{value:2,label:"United States"},{value:3,label:"Afghanistan"},{value:4,label:"Albania"},{value:5,label:"Algeria"},{value:6,label:"American Samoa"},{value:7,label:"Andorra"},{value:8,label:"Angola"},{value:9,label:"Anguilla"},{value:10,label:"Antarctica"},{value:11,label:"Argentina"},{value:12,label:"Armenia"},{value:13,label:"Aruba"},{value:14,label:"Australia"},{value:15,label:"Austria",isEU:!0},{value:16,label:"Azerbaijan"},{value:17,label:"Bahamas"},{value:18,label:"Bahrain"},{value:19,label:"Bangladesh"},{value:20,label:"Barbados"},{value:21,label:"Belarus"},{value:22,label:"Belgium",isEU:!0},{value:23,label:"Belize"},{value:24,label:"Benin"},{value:25,label:"Bermuda"},{value:26,label:"Bhutan"},{value:27,label:"Bolivia"},{value:28,label:"Botswana"},{value:29,label:"Bouvet Island"},{value:30,label:"Brazil"},{value:31,label:"Brunei Darussalam"},{value:32,label:"Bulgaria"},{value:33,label:"Burkina Faso"},{value:34,label:"Burundi"},{value:35,label:"Cambodia"},{value:36,label:"Cameroon"},{value:37,label:"Cape Verde"},{value:38,label:"Cayman Islands"},{value:39,label:"Chad"},{value:40,label:"Chile"},{value:41,label:"China"},{value:42,label:"Christmas Island"},{value:43,label:"Colombia"},{value:44,label:"Comoros"},{value:45,label:"Congo"},{value:46,label:"Congo"},{value:47,label:"Cook Islands"},{value:48,label:"Costa Rica"},{value:49,label:"Cote D'Ivoire"},{value:50,label:"Croatia"},{value:51,label:"Cuba"},{value:52,label:"Cyprus",isEU:!0},{value:53,label:"Czech Republic"},{value:54,label:"Denmark"},{value:55,label:"Djibouti"},{value:56,label:"Dominica"},{value:57,label:"Dominican Republic"},{value:58,label:"Ecuador"},{value:59,label:"Egypt"},{value:60,label:"El Salvador"},{value:61,label:"Equatorial Guinea"},{value:62,label:"Eritrea"},{value:63,label:"Estonia",isEU:!0},{value:64,label:"Ethiopia"},{value:65,label:"Falkland Islands"},{value:66,label:"Faroe Islands"},{value:67,label:"Fiji"},{value:68,label:"Finland",isEU:!0},{value:69,label:"France",isEU:!0},{value:70,label:"French Guiana"},{value:71,label:"French Polynesia"},{value:72,label:"Gabon"},{value:73,label:"Gambia"},{value:74,label:"Georgia"},{value:75,label:"Germany",isEU:!0},{value:76,label:"Ghana"},{value:77,label:"Gibraltar"},{value:78,label:"Greece",isEU:!0},{value:79,label:"Greenland"},{value:80,label:"Grenada"},{value:81,label:"Guadeloupe"},{value:82,label:"Guam"},{value:83,label:"Guatemala"},{value:84,label:"Guinea"},{value:85,label:"Guinea-Bissau"},{value:86,label:"Guyana"},{value:87,label:"Haiti"},{value:88,label:"Honduras"},{value:89,label:"Hong Kong"},{value:90,label:"Hungary"},{value:91,label:"Iceland",isEU:!0},{value:92,label:"India"},{value:93,label:"Indonesia"},{value:94,label:"Iran"},{value:95,label:"Iraq"},{value:96,label:"Ireland"},{value:97,label:"Israel"},{value:98,label:"Italy",isEU:!0},{value:99,label:"Jamaica"},{value:100,label:"Japan"},{value:101,label:"Jordan"},{value:102,label:"Kazakhstan"},{value:103,label:"Kenya"},{value:104,label:"Kiribati"},{value:105,label:"Korea"},{value:106,label:"Korea, Republic of"},{value:107,label:"Kuwait"},{value:108,label:"Kyrgyzstan"},{value:109,label:"Latvia",isEU:!0},{value:110,label:"Lebanon"},{value:111,label:"Lesotho"},{value:112,label:"Liberia"},{value:113,label:"Liechtenstein"},{value:114,label:"Lithuania",isEU:!0},{value:115,label:"Luxembourg",isEU:!0},{value:116,label:"Macao"},{value:117,label:"Macedonia"},{value:118,label:"Madagascar"},{value:119,label:"Malawi"},{value:120,label:"Malaysia"},{value:121,label:"Maldives"},{value:122,label:"Mali"},{value:123,label:"Malta",isEU:!0},{value:124,label:"Marshall Islands"},{value:125,label:"Martinique"},{value:126,label:"Mauritania"},{value:127,label:"Mauritius"},{value:128,label:"Mayotte"},{value:129,label:"Mexico"},{value:130,label:"Micronesia"},{value:131,label:"Moldova, Republic of"},{value:132,label:"Monaco"},{value:133,label:"Mongolia"},{value:134,label:"Montserrat"},{value:135,label:"Morocco"},{value:136,label:"Mozambique"},{value:137,label:"Myanmar"},{value:138,label:"Namibia"},{value:139,label:"Nauru"},{value:140,label:"Nepal"},{value:141,label:"Netherlands",isEU:!0},{value:142,label:"Netherlands Antilles"},{value:143,label:"New Caledonia"},{value:144,label:"New Zealand"},{value:145,label:"Nicaragua"},{value:146,label:"Niger"},{value:147,label:"Nigeria"},{value:148,label:"Niue"},{value:149,label:"Norfolk Island"},{value:150,label:"Norway"},{value:151,label:"Oman"},{value:152,label:"Pakistan"},{value:153,label:"Palau"},{value:154,label:"Palestinian Territory"},{value:155,label:"Panama"},{value:156,label:"Papua New Guinea"},{value:157,label:"Paraguay"},{value:158,label:"Peru"},{value:159,label:"Philippines"},{value:160,label:"Pitcairn"},{value:161,label:"Poland"},{value:162,label:"Portugal",isEU:!0},{value:163,label:"Puerto Rico"},{value:164,label:"Qatar"},{value:165,label:"Reunion"},{value:166,label:"Romania"},{value:167,label:"Russian Federation"},{value:168,label:"Rwanda"},{value:169,label:"Saint Helena"},{value:170,label:"Saint Kitts and Nevis"},{value:171,label:"Saint Lucia"},{value:172,label:"Saint Vincent"},{value:173,label:"Samoa"},{value:174,label:"San Marino"},{value:175,label:"Saudi Arabia"},{value:176,label:"Senegal"},{value:177,label:"Seychelles"},{value:178,label:"Sierra Leone"},{value:179,label:"Singapore"},{value:180,label:"Slovakia",isEU:!0},{value:181,label:"Slovenia",isEU:!0},{value:182,label:"Solomon Islands"},{value:183,label:"Somalia"},{value:184,label:"South Africa"},{value:185,label:"South Georgia"},{value:186,label:"Spain",isEU:!0},{value:187,label:"Sri Lanka"},{value:188,label:"Sudan"},{value:189,label:"Suriname"},{value:190,label:"Swaziland"},{value:191,label:"Sweden"},{value:192,label:"Switzerland"},{value:193,label:"Syrian Arab Republic"},{value:194,label:"Taiwan"},{value:195,label:"Tajikistan"},{value:196,label:"Tanzania"},{value:197,label:"Thailand"},{value:198,label:"Timor-Leste"},{value:199,label:"Togo"},{value:200,label:"Tokelau"},{value:201,label:"Tonga"},{value:202,label:"Trinidad and Tobago"},{value:203,label:"Tunisia"},{value:204,label:"Turkey"},{value:205,label:"Turkmenistan"},{value:206,label:"Tuvalu"},{value:207,label:"Uganda"},{value:208,label:"Ukraine"},{value:209,label:"United Arab Emirates"},{value:210,label:"United Kingdom"},{value:211,label:"Uruguay"},{value:212,label:"Uzbekistan"},{value:213,label:"Vanuatu"},{value:214,label:"Venezuela"},{value:215,label:"Viet Nam"},{value:216,label:"Virgin Islands, British"},{value:217,label:"Virgin Islands, U.s."},{value:218,label:"Wallis and Futuna"},{value:219,label:"Western Sahara"},{value:220,label:"Yemen"},{value:221,label:"Zambia"},{value:222,label:"Zimbabwe"},{value:223,label:"Bosnia and Herzegovina"}]},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Description=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=r(n(12)),h=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return d.default.createElement("pre",{className:(0,f.default)("description-paragraph",this.props.className)},this.props.text)}}]),n}(d.default.Component);t.Description=h,(0,l.default)(h,"displayName","Description"),(0,l.default)(h,"propTypes",{className:c.default.string,text:c.default.string.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DropdownNewButton=d;var i=r(n(19)),o=r(n(1)),a=r(n(11)),s=r(n(12)),u=n(267),l=n(22),c=o.default.createElement("span",null,o.default.createElement(l.Icon,{solid:!0,name:"plus",className:"react-dropdown-button__plus-icon"}),(0,a.default)("new"));function d(e){return o.default.createElement(u.DropdownButton,(0,i.default)({},e,{label:c,className:(0,s.default)("react-new-button qa-new-button autowidth",e.className)}))}d.displayName="DropdownNewButton"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EditableList=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(12)),h=r(n(2)),p=r(n(14)),m=n(20),v=n(22),g=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"getItem",(function(t){return e.refs["item"+t]})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props.addItemRow?this.props.addItemRow:n.DefaultAddItemRow;return d.default.createElement("div",{className:(0,f.default)("react-editable-list",this.props.className),"data-num-children":this.props.items.length},d.default.createElement("div",{className:"editable-list-items"},this.props.items.map((function(e,t){return d.default.createElement("div",{className:"editable-list-row",key:e["data-id"]||e.id||t},d.default.createElement("div",null,d.default.createElement("div",{className:"editable-list-row-content"},(0,m.cloneAndRender)(this.props.template,p.default.defaults({index:t,numItems:this.props.items.length,ref:"item"+t},e))),d.default.createElement(v.Icon,{name:"minus",className:"minus-button",onClick:this.props.onDelete.bind(null,t,e)})))}).bind(this))),d.default.createElement("div",{className:"plus-button-row clearfix"},d.default.createElement(e,{onAdd:this.props.onAdd})))}}]),n}(d.default.Component);t.EditableList=g,(0,c.default)(g,"displayName","Editable List"),(0,c.default)(g,"propTypes",{className:h.default.string,items:h.default.arrayOf(h.default.shape({id:h.default.stringOrNumber})),onAdd:h.default.func,onDelete:h.default.func,template:h.default.element,addItemRow:h.default.func}),(0,c.default)(g,"DefaultAddItemRow",(function(e){return d.default.createElement(v.Icon,{name:"plus",className:"plus-button",onClick:e.onAdd})}))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FilledFlagIcon=a;var i=r(n(1)),o=r(n(2));function a(e){return i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:e.viewBox,"aria-labelledby":"title",className:"flag-type-icon"},i.default.createElement("title",{id:"title"},"Filled Flag Icon"),i.default.createElement("path",{className:"flag-pole",d:"M183,126.18c-9.76,2.38-35.11,7.19-52.79,5.45c-11.69-1.1-19.24-3.3-27.35-5.59\r c-7.92-2.2-16.21-4.58-28.17-5.95c-3.68-0.46-7.55-0.64-11.51-0.64c-13.63,0-31.16,2.11-40.18,3.94V31.35\r c7.55-3.21,28.12-9.07,50.12-6.87c12.43,1.28,19.34,3.39,26.61,5.49c7.46,2.2,15.28,4.49,28.82,6.04\r c16.48,2.01,42.29-3.16,54.45-6.28V126.18z"}),i.default.createElement("path",{className:"flag-pole",d:"M201.3,6.33c-2.4-1.7-5.4-2.2-8.1-1.3c-0.4,0.1-35.5,11.3-59.2,8.6c-13.5-1.6-21.1-3.8-29.1-6.2c-8.6-2.5-17.4-5.2-33-6.8\r c-38.6-3.9-66.2,11.5-67.4,12.2c-2.8,1.6-4.5,4.6-4.5,7.8v0.56c-0.15,0.76-0.23,1.54-0.23,2.34L0,114.04v26.5c0,0,0,0.1,0,0.2v77.77\r v1.13c0,4.36,3.04,7.96,7.14,8.81c0.73,0.25,1.49,0.41,2.28,0.5c0.83,0.19,1.68,0.29,2.57,0.29c0.01,0,0.02,0,0.03,0\r c6.48-0.02,11.71-5.28,11.7-11.76l-0.18-70.76c12.24-2.29,31.15-4.89,46.36-3.18c12,1.4,20.1,3.7,28.6,6.1\r c9.3,2.6,18.9,5.4,33.5,6.9c30.4,3.2,65-6.9,66.5-7.3c3.9-1.1,6.5-4.6,6.5-8.6v-127C205,10.73,203.6,8.03,201.3,6.33z"}),i.default.createElement("path",{className:"flag-fill",d:"M183,126.18c-9.76,2.38-35.11,7.19-52.79,5.45c-11.69-1.1-19.24-3.3-27.35-5.59\r c-7.92-2.2-16.21-4.58-28.17-5.95c-3.68-0.46-7.55-0.64-11.51-0.64c-13.63,0-31.16,2.11-40.18,3.94V31.35\r c7.55-3.21,28.12-9.07,50.12-6.87c12.43,1.28,19.34,3.39,26.61,5.49c7.46,2.2,15.28,4.49,28.82,6.04\r c16.48,2.01,42.29-3.16,54.45-6.28V126.18z"}))}a.propTypes={viewBox:o.default.string},a.defaultProps={viewBox:"0 0 205 228.63"}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FileUploader=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=n(59),v=n(540),g=n(67),y=r(n(12)),b=r(n(11)),_=n(14),w=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"state",{focused:0}),(0,f.default)((0,u.default)(e),"_handleClick",(function(){e.props.openOnClick&&!e.props.disabled&&e.refs.input.click()})),(0,f.default)((0,u.default)(e),"openFileBrowser",(function(){e.refs.input.click()})),(0,f.default)((0,u.default)(e),"_handleInputChange",(function(t){e._processFiles(t.target.files)})),(0,f.default)((0,u.default)(e),"_shouldHandleEvent",(function(t){return e.props.visible&&t.preventDefault(),e.props.visible&&!e.props.disabled})),(0,f.default)((0,u.default)(e),"_handleDragOver",(function(t){e._shouldHandleEvent(t)&&e._hasProcessibleFiles(t)&&(t.preventDefault(),e.props.onDragOver(t))})),(0,f.default)((0,u.default)(e),"_handleDrop",(function(t){e._shouldHandleEvent(t)&&(e.props.onDrop&&e.props.onDrop(t),e._hasProcessibleFiles(t)&&(t.preventDefault(),e._processFiles(t.dataTransfer.files)))})),(0,f.default)((0,u.default)(e),"_handleDragEnter",(function(t){e._hasProcessibleFiles(t)&&e.setState({focused:e.state.focused+1})})),(0,f.default)((0,u.default)(e),"_handleDragLeave",(function(){e.state.focused&&e.setState({focused:e.state.focused-1})})),(0,f.default)((0,u.default)(e),"_hasProcessibleFiles",(function(e){return Array.from(e.dataTransfer.types||[]).reduce((function(e,t){return e||"Files"===t}),!1)})),(0,f.default)((0,u.default)(e),"_processFiles",(function(t){e.setState({focused:!1}),e.errors={size:[],kind:[],excess:[],other:[]},e.leftToProcess=t.length,e.queue=[],e.inProgress=0,e.props.onUploadWillBegin&&e.props.onUploadWillBegin();for(var n=0;n<t.length;n++)e._processFile(t[n])})),(0,f.default)((0,u.default)(e),"_checkMime",(function(t){if(!t.type)return!1;var n=e.props.accept.split("/"),r=t.type.split("/");return n[0]===r[0]&&("*"===n[1]||n[1]===r[1])})),(0,f.default)((0,u.default)(e),"_processFile",(function(t){if(t.size>e.props.maxFilesizeBytes)return e.errors.size.push({file:t,limit:e.props.maxFilesizeBytes/1e6}),void e._processComplete();if(e.props.accept&&!e._checkMime(t))return e.errors.kind.push({file:t}),void e._processComplete();var n=new FileReader;n.onload=(function(){var e=new FormData;for(var n in this.props.paramName&&e.append(this.props.paramName,t),e.append("authenticity_token",this.props.csrfToken),this.props.extraFields)e.append(n,this.props.extraFields[n]);this.queue.push({form:e,file:t}),this._processComplete()}).bind((0,u.default)(e)),n.onerror=(function(){this.errors.kind.push({file:t,kind:"folder"}),this._processComplete()}).bind((0,u.default)(e)),n.readAsDataURL(t)})),(0,f.default)((0,u.default)(e),"_processComplete",(function(){e.leftToProcess--,e._sendNext()})),(0,f.default)((0,u.default)(e),"_hasErrors",(function(){for(var t in e.errors)if(e.errors[t].length>0)return!0})),(0,f.default)((0,u.default)(e),"_handleFinish",(function(){e.props.onUploadDidEnd&&e.props.onUploadDidEnd({errors:e.errors}),e.refs.input.value="",e._hasErrors()&&e.context.confirm({style:"warn",className:"upload-error-summary",title:e.props.uploadErrorTitle||(0,b.default)("dropzone.upload-error-title"),body:p.default.createElement(v.ErrorSummary,{errors:e.errors}),hideCancel:!0,onConfirm:_.noop})})),(0,f.default)((0,u.default)(e),"_sendNext",(0,o.default)(i.default.mark((function t(){var n,r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==e.queue.length||0!==e.leftToProcess||0!==e.inProgress){t.next=3;break}return e._handleFinish(),t.abrupt("return");case 3:if(!(e.inProgress>=e.props.maxConcurrentUploads||0===e.queue.length)){t.next=5;break}return t.abrupt("return");case 5:return e.inProgress++,n=e.queue.pop(),t.next=9,e.props.uploadFile(n,e.props.postUrl);case 9:r=t.sent,e.inProgress--,r.error?e.errors.other.push({file:n.file}):e.props.onFileUploaded(r.data),e._sendNext();case 13:case"end":return t.stop()}}),t)})))),e}return(0,s.default)(n,[{key:"render",value:function(){return this.props.visible?p.default.createElement("div",{className:(0,y.default)("dropzone",this.props.className,this.state.focused&&"focused"),onDragEnter:this._handleDragEnter,onDragLeave:this._handleDragLeave,onDragOver:this._handleDragOver,onDrop:this._handleDrop,onClick:this._handleClick},p.default.createElement(g.InternationalString,{className:"dropzone--message",k:this.props.messageKey,interpolate:{newLine:p.default.createElement("br",null),limit:this.props.maxFilesizeBytes/1e6}}),this.props.children,p.default.createElement("input",{accept:this.props.accept,type:"file",style:{display:"none"},onChange:this._handleInputChange,multiple:!0,ref:"input"})):null}}]),n}(p.default.Component);t.FileUploader=w,(0,f.default)(w,"displayName","FileUploader"),(0,f.default)(w,"propTypes",{messageKey:h.default.string,maxConcurrentUploads:h.default.number,maxFilesizeBytes:h.default.number,onUploadWillBegin:h.default.func,onUploadDidEnd:h.default.func,onFileUploaded:h.default.func,csrfToken:h.default.string,accept:h.default.string,openOnClick:h.default.bool,uploadFile:h.default.func,disabled:h.default.bool,uploadErrorTitle:h.default.string}),(0,f.default)(w,"contextTypes",{confirm:h.default.func}),(0,f.default)(w,"defaultProps",{maxFilesizeBytes:1e8,maxConcurrentUploads:2,messageKey:"dropzone.attachment-upload-message",openOnClick:!0,uploadFile:function(e,t){return new Promise((function(n){(0,m.request)("post",t).set("Accept","application/json, text/plain").send(e.form).end((function(e,t){return n({error:e,data:t.body,body:t.body})}))}))},onFileUploaded:_.noop,onDragOver:_.noop})},function(e,t,n){(function(e){!function(n,r){"use strict";var i={};n.PubSub=i;var o=n.define;!function(e){var t={},n=-1;function r(e){var t;for(t in e)if(e.hasOwnProperty(t))return!0;return!1}function i(e,t,n){try{e(t,n)}catch(e){setTimeout(function(e){return function(){throw e}}(e),0)}}function o(e,t,n){e(t,n)}function a(e,n,r,a){var s,u=t[n],l=a?o:i;if(t.hasOwnProperty(n))for(s in u)u.hasOwnProperty(s)&&l(u[s],e,r)}function s(e,n,i,o){var s=function(e,t,n){return function(){var r=String(e),i=r.lastIndexOf(".");for(a(e,e,t,n);-1!==i;)i=(r=r.substr(0,i)).lastIndexOf("."),a(e,r,t,n)}}(e="symbol"==typeof e?e.toString():e,n,o);return!!function(e){for(var n=String(e),i=Boolean(t.hasOwnProperty(n)&&r(t[n])),o=n.lastIndexOf(".");!i&&-1!==o;)o=(n=n.substr(0,o)).lastIndexOf("."),i=Boolean(t.hasOwnProperty(n)&&r(t[n]));return i}(e)&&(!0===i?s():setTimeout(s,0),!0)}e.publish=function(t,n){return s(t,n,!1,e.immediateExceptions)},e.publishSync=function(t,n){return s(t,n,!0,e.immediateExceptions)},e.subscribe=function(e,r){if("function"!=typeof r)return!1;e="symbol"==typeof e?e.toString():e,t.hasOwnProperty(e)||(t[e]={});var i="uid_"+String(++n);return t[e][i]=r,i},e.subscribeOnce=function(t,n){var r=e.subscribe(t,(function(){e.unsubscribe(r),n.apply(this,arguments)}));return e},e.clearAllSubscriptions=function(){t={}},e.clearSubscriptions=function(e){var n;for(n in t)t.hasOwnProperty(n)&&0===n.indexOf(e)&&delete t[n]},e.unsubscribe=function(n){var r,i,o,a="string"==typeof n&&(t.hasOwnProperty(n)||function(e){var n;for(n in t)if(t.hasOwnProperty(n)&&0===n.indexOf(e))return!0;return!1}(n)),s=!a&&"string"==typeof n,u="function"==typeof n,l=!1;if(!a){for(r in t)if(t.hasOwnProperty(r)){if(i=t[r],s&&i[n]){delete i[n],l=n;break}if(u)for(o in i)i.hasOwnProperty(o)&&i[o]===n&&(delete i[o],l=!0)}return l}e.clearSubscriptions(n)}}(i),"function"==typeof o&&o.amd?o((function(){return i})):(void 0!==e&&e.exports&&(t=e.exports=i),t.PubSub=i,e.exports=t=i)}("object"==typeof window&&window||this)}).call(this,n(77)(e))},function(e,t,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var i=n(535),o=n(536),a=n(101),s=n(537),u=n(538);function l(){}var c=t=e.exports=function(e,n){return"function"==typeof n?new t.Request("GET",e).end(n):1==arguments.length?new t.Request("GET",e):new t.Request(e,n)};t.Request=g,c.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var d="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function f(e){if(!a(e))return e;var t=[];for(var n in e)h(t,n,e[n]);return t.join("&")}function h(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){h(e,t,n)}));else if(a(n))for(var r in n)h(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function p(e){for(var t,n,r={},i=e.split("&"),o=0,a=i.length;o<a;++o)-1==(n=(t=i[o]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function m(e){return/[\/+]json\b/.test(e)}function v(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var n=this.xhr.status;1223===n&&(n=204),this._setStatusProperties(n),this.header=this.headers=function(e){var t,n,r,i,o=e.split(/\r?\n/),a={};o.pop();for(var s=0,u=o.length;s<u;++s)t=(n=o[s]).indexOf(":"),r=n.slice(0,t).toLowerCase(),i=d(n.slice(t+1)),a[r]=i;return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.body=null===this.text&&e._responseType?this.xhr.response:"HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function g(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||((e=new Error(r.statusText||"Unsuccessful HTTP response")).original=t,e.response=r,e.status=r.status)}catch(t){e=t}n.callback(e||null,r)}))}function y(e,t){var n=c("DELETE",e);return t&&n.end(t),n}c.serializeObject=f,c.parseString=p,c.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},c.serialize={"application/x-www-form-urlencoded":f,"application/json":JSON.stringify},c.parse={"application/x-www-form-urlencoded":p,"application/json":JSON.parse},u(v.prototype),v.prototype._parseBody=function(e){var t=c.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&m(this.type)&&(t=c.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r=new Error("cannot "+t+" "+n+" ("+this.status+")");return r.status=this.status,r.method=t,r.url=n,r},c.Response=v,i(g.prototype),o(g.prototype),g.prototype.type=function(e){return this.set("Content-Type",c.types[e]||e),this},g.prototype.accept=function(e){return this.set("Accept",c.types[e]||e),this},g.prototype.auth=function(e,t,n){switch(n||(n={type:"function"==typeof btoa?"basic":"auto"}),n.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t}return this},g.prototype.query=function(e){return"string"!=typeof e&&(e=f(e)),e&&this._query.push(e),this},g.prototype.attach=function(e,t,n){if(this._data)throw Error("superagent can't mix .send() and .attach()");return this._getFormData().append(e,t,n||t.name),this},g.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},g.prototype.callback=function(e,t){var n=this._callback;this.clearTimeout(),e&&this.emit("error",e),n(e,t)},g.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},g.prototype.buffer=g.prototype.ca=g.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},g.prototype.pipe=g.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},g.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");s(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},g.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},g.prototype.end=function(e){var t=this,n=this.xhr=c.getXHR(),r=this._formData||this._data;this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||l,n.onreadystatechange=function(){var e=n.readyState;if(e>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4==e){var r;try{r=n.status}catch(e){r=0}if(!r){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var i=function(e,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=e,t.emit("progress",n)};if(this.hasListeners("progress"))try{n.onprogress=i.bind(null,"download"),n.upload&&(n.upload.onprogress=i.bind(null,"upload"))}catch(e){}if(this._appendQueryString(),this._setTimeouts(),this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0),this._withCredentials&&(n.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof r&&!this._isHost(r)){var o=this._header["content-type"],a=this._serializer||c.serialize[o?o.split(";")[0]:""];!a&&m(o)&&(a=c.serialize["application/json"]),a&&(r=a(r))}for(var s in this.header)null!=this.header[s]&&n.setRequestHeader(s,this.header[s]);return this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send(void 0!==r?r:null),this},c.get=function(e,t,n){var r=c("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},c.head=function(e,t,n){var r=c("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},c.options=function(e,t,n){var r=c("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},c.del=y,c.delete=y,c.patch=function(e,t,n){var r=c("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},c.post=function(e,t,n){var r=c("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},c.put=function(e,t,n){var r=c("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,t,n){var r=n(101);function i(e){if(e)return function(e){for(var t in i.prototype)e[t]=i.prototype[t];return e}(e)}e.exports=i,i.prototype.clearTimeout=function(){return this._timeout=0,this._responseTimeout=0,clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),this},i.prototype.parse=function(e){return this._parser=e,this},i.prototype.responseType=function(e){return this._responseType=e,this},i.prototype.serialize=function(e){return this._serializer=e,this},i.prototype.timeout=function(e){return e&&"object"==typeof e?(void 0!==e.deadline&&(this._timeout=e.deadline),void 0!==e.response&&(this._responseTimeout=e.response),this):(this._timeout=e,this._responseTimeout=0,this)},i.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},i.prototype.catch=function(e){return this.then(void 0,e)},i.prototype.use=function(e){return e(this),this},i.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},i.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},i.prototype.getHeader=i.prototype.get=function(e){return this._header[e.toLowerCase()]},i.prototype.set=function(e,t){if(r(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},i.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},i.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(r(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var i in t)this.field(e,t[i]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},i.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},i.prototype.withCredentials=function(){return this._withCredentials=!0,this},i.prototype.redirects=function(e){return this._maxRedirects=e,this},i.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},i.prototype.send=function(e){var t=r(e),n=this._header["content-type"];if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&r(this._data))for(var i in e)this._data[i]=e[i];else"string"==typeof e?(n||this.type("form"),this._data="application/x-www-form-urlencoded"==(n=this._header["content-type"])?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},i.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},i.prototype._timeoutError=function(e,t){if(!this._aborted){var n=new Error(e+t+"ms exceeded");n.timeout=t,n.code="ECONNABORTED",this.timedout=!0,this.abort(),this.callback(n)}},i.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout)}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout)}),this._responseTimeout))}},function(e,t,n){var r=n(101);e.exports=function(e){return"[object Function]"===(r(e)?Object.prototype.toString.call(e):"")}},function(e,t,n){var r=n(539);function i(e){if(e)return function(e){for(var t in i.prototype)e[t]=i.prototype[t];return e}(e)}e.exports=i,i.prototype.get=function(e){return this.header[e.toLowerCase()]},i.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var i in n)this[i]=n[i];this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},i.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},function(e,t){t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorSummary=void 0;var i=r(n(1)),o=r(n(2)),a=n(541),s=function(e){return t=e.errors,Object.keys(t).reduce((function(e,n){return e+t[n].length}),0)>0?i.default.createElement("div",{className:"upload-error-summary"},i.default.createElement(a.UploadErrors,{type:"size",errors:e.errors.size}),i.default.createElement(a.UploadErrors,{type:"type",errors:e.errors.kind}),i.default.createElement(a.UploadErrors,{type:"other",errors:e.errors.other})):null;var t};t.ErrorSummary=s,s.displayName="FileUploader.ErrorSummary",s.propTypes={errors:o.default.shape({size:o.default.array,kind:o.default.array,other:o.default.array})}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.UploadErrors=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(1)),d=r(n(2)),f=n(67),h=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return 0===this.props.errors.length?null:c.default.createElement("div",{className:"upload-errors"},c.default.createElement(f.InternationalString,{tag:"h4",k:"dropzone.upload-error",interpolate:{type:this.props.type,count:this.props.errors.length}}),this.props.errors.map((function(e,t){return c.default.createElement("div",{key:t},c.default.createElement("div",{className:"attachment-error"},c.default.createElement("span",{className:"attachment-error-file attachment-error-content"},e.file.name),c.default.createElement("span",{className:"attachment-error-reason attachment-error-content"},c.default.createElement(f.InternationalString,{k:"dropzone.reasons."+this.props.type,interpolate:e}))))}).bind(this)))}}]),n}(c.default.Component);t.UploadErrors=h,(0,l.default)(h,"displayName","FileUploader.UploadErrors"),(0,l.default)(h,"propTypes",{type:d.default.string,errors:d.default.arrayOf(d.default.shape({file:d.default.shape({name:d.default.string})}))})},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(0);Object.defineProperty(exports,"__esModule",{value:!0}),exports.Filter=void 0;var _underscore=_interopRequireDefault(__webpack_require__(14)),getValueLabel=function(e){return e.data?e.data.name:e.value||e},contains=function(e,t,n){var r=!1;return t&&e.forEach((function(e){var i=t[e.key];!0===e.isPartial&&(i=t[n]),("string"==typeof i&&i.toLowerCase().indexOf(e.valueLabel.toLowerCase())>-1||"number"==typeof i&&i===e.value)&&(r=!0)})),r},compareTo=function compareTo(filterValues,item){var found=!1;return filterValues.forEach((function(val){eval(item+val)&&(found=!0)})),found},equals=function(e,t,n){return!!contains(n,e,t)},compare=function(e,t,n){return!!compareTo(n,e[t])},filterBy=function(e,t,n,r){return _underscore.default.filter(e,"date"===n?function(e){return compare(e,t,r)}:function(e){return equals(e,t,r)})},Filter={getFilterMetadata:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};for(var n in e){for(var r=[],i=0;i<e[n].permittedValues.length;i++)r.push(getValueLabel(e[n].permittedValues[i]));t[e[n].keyLabel]={type:e[n].type,data:_underscore.default.sortBy(r,(function(e){return e.toLowerCase()}))}}return t},convertTagToFilter:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=Object.keys(t),i=!0,o=n.valueLabel||n.value;if(void 0!==n.keyLabel){e=_underscore.default.find(r,(function(e){return e&&e.toLowerCase().indexOf(n.keyLabel.toLowerCase().replace(" ",""))>-1}));var a=_underscore.default.find(t[e].permittedValues,(function(e){return e.value===n.value||(e.data?e.data.name.toLowerCase()===n.value.toLowerCase():void 0)}));a?(o=a.value,i=!1):0===t[e].permittedValues.length&&(o=n.value,i=!1)}return{type:n.dataType,isPartial:i,key:e,value:o,keyLabel:n.keyLabel,valueLabel:n.valueLabel||n.value}},convertFilterToTag:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(void 0!==t.type){var n=_underscore.default.findWhere(e[t.type].permittedValues,{value:t.value})||t.value;return{key:t.key,value:getValueLabel(n),valueLabel:t.valueLabel}}return{value:t.value}},filterList:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=_underscore.default.groupBy(n,"key"),i=e;for(var o in r)if("undefined"!==o)i=filterBy(i,t[o].searchKey,void 0,r[o]);else{var a=[];for(var s in t)a=_underscore.default.union(filterBy(i,t[s].searchKey||s,void 0,r[void 0]),a);i=a}return i}};exports.Filter=Filter},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Gallery=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(270),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{index:0}),(0,c.default)((0,a.default)(e),"_openLightbox",(function(t){e.setState({open:!0,index:parseInt(t.target.getAttribute("data-index"))})})),(0,c.default)((0,a.default)(e),"_handleDelete",(function(t){e.props.onDelete(parseInt(t.target.getAttribute("data-id")))})),(0,c.default)((0,a.default)(e),"_handleCloseLightbox",(function(){e.setState({open:!1})})),(0,c.default)((0,a.default)(e),"_renderImage",(function(t,n,r){var i=1===r.length&&!e.props.showDelete;return f.default.createElement("div",{key:n,className:i?"gallery-image-container":"gallery-image-container thumbnail"},e.props.showDelete?f.default.createElement("div",{className:"delete-image","data-id":t.id,onClick:e._handleDelete}):null,f.default.createElement("img",{src:i?t.src:t.thumbnailSrc,style:{maxWidth:"100%"},"data-index":n,width:e.props.size,onClick:e._openLightbox,className:"gallery__image"}))})),e}return(0,o.default)(n,[{key:"render",value:function(){return this.props.images?f.default.createElement("div",{className:"react-gallery"},this.props.images.map(this._renderImage),this.state.open&&f.default.createElement(h.ImageLightboxGallery,{initialIndex:this.state.index,images:this.props.images,visible:this.state.open,onClose:this._handleCloseLightbox})):null}}]),n}(f.default.Component);t.Gallery=p,(0,c.default)(p,"displayName","Gallery"),(0,c.default)(p,"propTypes",{size:d.default.oneOfType([d.default.number,d.default.oneOf(["auto"])]).affectsRendering,images:d.default.arrayOf(d.default.image).affectsRendering,showDelete:d.default.bool.affectsRendering}),(0,c.default)(p,"defaultProps",{size:"auto"})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.HamburgerButton=function(e){var t=e.onClick,n=e.color,r=(0,o.default)("react-hamburger-button clickable",e.isOpen&&"react-hamburger-button--open");return i.default.createElement("div",{className:r,onClick:t},i.default.createElement("div",{className:"react-hamburger-button__bar",style:{backgroundColor:n}}),i.default.createElement("div",{className:"react-hamburger-button__bar",style:{backgroundColor:n}}),i.default.createElement("div",{className:"react-hamburger-button__bar",style:{backgroundColor:n}}))};var i=r(n(1)),o=r(n(12))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryCache=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(1)),p=r(n(68)),m=r(n(110)),v=r(n(36)),g=r(n(2)),y=function(e){(0,l.default)(r,e);var t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(r);function r(){var e;(0,a.default)(this,r);for(var t=arguments.length,s=new Array(t),l=0;l<t;l++)s[l]=arguments[l];return e=n.call.apply(n,[this].concat(s)),(0,f.default)((0,u.default)(e),"_storeUrl",function(){var e=(0,o.default)(i.default.mark((function e(t){var n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.getCachedHistory();case 2:if(e.t0=e.sent,e.t0){e.next=5;break}e.t0=[];case 5:(n=e.t0).length>=1e3&&(n=n.slice(0,1e3)),n.unshift({url:t}),r.updateHistoryInCache(n);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),(0,f.default)((0,u.default)(e),"_cacheHistoryUrl",(function(){e._storeUrl(r.getCurrentPath())})),e}return(0,s.default)(r,[{key:"componentDidMount",value:function(){this.props.listenOn.addEventListener("popstate",this._cacheHistoryUrl),this.props.listenOn.addEventListener("pushstate",this._cacheHistoryUrl),this.props.listenOn.addEventListener("page:load",this._cacheHistoryUrl),this.props.listenOn.addEventListener("beforeunload",this._cacheHistoryUrl),this._cacheHistoryUrl()}},{key:"componentWillUnmount",value:function(){this.props.listenOn.removeEventListener("popstate",this._cacheHistoryUrl),this.props.listenOn.removeEventListener("pushstate",this._cacheHistoryUrl),this.props.listenOn.removeEventListener("page:load",this._cacheHistoryUrl),this.props.listenOn.removeEventListener("beforeunload",this._cacheHistoryUrl)}},{key:"render",value:function(){return null}}],[{key:"getCurrentPath",value:function(){return document.location.pathname}},{key:"getCachedHistory",value:(t=(0,o.default)(i.default.mark((function e(){var t;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=m.default.userHistory+v.default.CurrentAccountUser().id,e.next=3,p.default.get(t);case 3:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})},{key:"updateHistoryInCache",value:function(e){var t=m.default.userHistory+v.default.CurrentAccountUser().id;p.default.set(t,e||[])}}]),r}(h.default.Component);t.HistoryCache=y,(0,f.default)(y,"displayName","HistoryCache"),(0,f.default)(y,"propTypes",{listenOn:g.default.object}),(0,f.default)(y,"defaultProps",{listenOn:window})},function(e,t,n){var r;e.exports=(r=n(21),n(86),n(547),n(548),n(60),n(61),n(104),n(271),n(549),n(272),n(550),n(551),n(552),n(105),n(553),n(51),n(26),n(554),n(555),n(556),n(557),n(558),n(559),n(560),n(561),n(562),n(563),n(564),n(565),n(566),n(567),n(568),n(569),r)},function(e,t,n){var r;e.exports=(r=n(21),function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var n=e.byteLength,r=[],i=0;i<n;i++)r[i>>>2]|=e[i]<<24-i%4*8;t.call(this,r,n)}else t.apply(this,arguments)}).prototype=e}}(),r.lib.WordArray)},function(e,t,n){var r;e.exports=(r=n(21),function(){var e=r.lib.WordArray,t=r.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}t.Utf16=t.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i+=2)r.push(String.fromCharCode(t[i>>>2]>>>16-i%4*8&65535));return r.join("")},parse:function(t){for(var n=t.length,r=[],i=0;i<n;i++)r[i>>>1]|=t.charCodeAt(i)<<16-i%2*16;return e.create(r,2*n)}},t.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],o=0;o<r;o+=2){var a=n(t[o>>>2]>>>16-o%4*8&65535);i.push(String.fromCharCode(a))}return i.join("")},parse:function(t){for(var r=t.length,i=[],o=0;o<r;o++)i[o>>>1]|=n(t.charCodeAt(o)<<16-o%2*16);return e.create(i,2*r)}}}(),r.enc.Utf16)},function(e,t,n){var r,i,o,a,s,u;e.exports=(u=n(21),n(271),i=(r=u).lib.WordArray,s=(o=r.algo).SHA224=(a=o.SHA256).extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=a._createHelper(s),r.HmacSHA224=a._createHmacHelper(s),u.SHA224)},function(e,t,n){var r,i,o,a,s,u,l,c;e.exports=(c=n(21),n(86),n(272),i=(r=c).x64,o=i.Word,a=i.WordArray,l=(s=r.algo).SHA384=(u=s.SHA512).extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=u._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=u._createHelper(l),r.HmacSHA384=u._createHmacHelper(l),c.SHA384)},function(e,t,n){var r;e.exports=(r=n(21),n(86),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.x64.Word,s=t.algo,u=[],l=[],c=[];!function(){for(var e=1,t=0,n=0;n<24;n++){u[e+5*t]=(n+1)*(n+2)/2%64;var r=(2*e+3*t)%5;e=t%5,t=r}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,o=0;o<24;o++){for(var s=0,d=0,f=0;f<7;f++){if(1&i){var h=(1<<f)-1;h<32?d^=1<<h:s^=1<<h-32}128&i?i=i<<1^113:i<<=1}c[o]=a.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=a.create()}();var f=s.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,i=0;i<r;i++){var o=e[t+2*i],a=e[t+2*i+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(D=n[i]).high^=a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),D.low^=o}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var h=0,p=0,m=0;m<5;m++)h^=(D=n[f+5*m]).high,p^=D.low;var v=d[f];v.high=h,v.low=p}for(f=0;f<5;f++){var g=d[(f+4)%5],y=d[(f+1)%5],b=y.high,_=y.low;for(h=g.high^(b<<1|_>>>31),p=g.low^(_<<1|b>>>31),m=0;m<5;m++)(D=n[f+5*m]).high^=h,D.low^=p}for(var w=1;w<25;w++){var E=(D=n[w]).high,C=D.low,A=u[w];A<32?(h=E<<A|C>>>32-A,p=C<<A|E>>>32-A):(h=C<<A-32|E>>>64-A,p=E<<A-32|C>>>64-A);var k=d[l[w]];k.high=h,k.low=p}var S=d[0],x=n[0];for(S.high=x.high,S.low=x.low,f=0;f<5;f++)for(m=0;m<5;m++){var D=n[w=f+5*m],O=d[w],T=d[(f+1)%5+5*m],F=d[(f+2)%5+5*m];D.high=O.high^~T.high&F.high,D.low=O.low^~T.low&F.low}var M=c[s];(D=n[0]).high^=M.high,D.low^=M.low}},_doFinalize:function(){var t=this._data,n=t.words,r=8*t.sigBytes,o=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(e.ceil((r+1)/o)*o>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var a=this._state,s=this.cfg.outputLength/8,u=s/8,l=[],c=0;c<u;c++){var d=a[c],f=d.high,h=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),l.push(h=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)),l.push(f)}return new i.init(l,s)},clone:function(){for(var e=o.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});t.SHA3=o._createHelper(f),t.HmacSHA3=o._createHmacHelper(f)}(Math),r.SHA3)},function(e,t,n){var r;e.exports=(r=n(21),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),f=i.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,h,_,w,E,C,A,k,S,x,D=this._hash.words,O=d.words,T=f.words,F=s.words,M=u.words,P=l.words,L=c.words;for(E=o=D[0],C=a=D[1],A=h=D[2],k=_=D[3],S=w=D[4],n=0;n<80;n+=1)x=o+e[t+F[n]]|0,x+=n<16?p(a,h,_)+O[0]:n<32?m(a,h,_)+O[1]:n<48?v(a,h,_)+O[2]:n<64?g(a,h,_)+O[3]:y(a,h,_)+O[4],x=(x=b(x|=0,P[n]))+w|0,o=w,w=_,_=b(h,10),h=a,a=x,x=E+e[t+M[n]]|0,x+=n<16?y(C,A,k)+T[0]:n<32?g(C,A,k)+T[1]:n<48?v(C,A,k)+T[2]:n<64?m(C,A,k)+T[3]:p(C,A,k)+T[4],x=(x=b(x|=0,L[n]))+S|0,E=S,S=k,k=b(A,10),A=C,C=x;x=D[1]+h+k|0,D[1]=D[2]+_+S|0,D[2]=D[3]+w+E|0,D[3]=D[4]+o+C|0,D[4]=D[0]+a+A|0,D[0]=x},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function v(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(h),t.HmacRIPEMD160=o._createHmacHelper(h)}(Math),r.RIPEMD160)},function(e,t,n){var r,i,o,a,s,u,l,c;e.exports=(c=n(21),n(104),n(105),i=(r=c).lib,a=i.WordArray,u=(s=r.algo).HMAC,l=s.PBKDF2=(o=i.Base).extend({cfg:o.extend({keySize:4,hasher:s.SHA1,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=u.create(n.hasher,e),i=a.create(),o=a.create([1]),s=i.words,l=o.words,c=n.keySize,d=n.iterations;s.length<c;){var f=r.update(t).finalize(o);r.reset();for(var h=f.words,p=h.length,m=f,v=1;v<d;v++){m=r.finalize(m),r.reset();for(var g=m.words,y=0;y<p;y++)h[y]^=g[y]}i.concat(f),l[0]++}return i.sigBytes=4*c,i}}),r.PBKDF2=function(e,t,n){return l.create(n).compute(e,t)},c.PBKDF2)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.mode.CFB=function(){var e=r.lib.BlockCipherMode.extend();function t(e,t,n,r){var i=this._iv;if(i){var o=i.slice(0);this._iv=void 0}else o=this._prevBlock;r.encryptBlock(o,0);for(var a=0;a<n;a++)e[t+a]^=o[a]}return e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize;t.call(this,e,n,i,r),this._prevBlock=e.slice(n,n+i)}}),e.Decryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize,o=e.slice(n,n+i);t.call(this,e,n,i,r),this._prevBlock=o}}),e}(),r.mode.CFB)},function(e,t,n){var r,i,o;e.exports=(o=n(21),n(26),o.mode.CTR=(i=(r=o.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0);var a=o.slice(0);n.encryptBlock(a,0),o[r-1]=o[r-1]+1|0;for(var s=0;s<r;s++)e[t+s]^=a[s]}}),r.Decryptor=i,r),o.mode.CTR)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){if(255==(e>>24&255)){var t=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}else e+=1<<24;return e}var n=e.Encryptor=e.extend({processBlock:function(e,n){var r=this._cipher,i=r.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(a);var s=a.slice(0);r.encryptBlock(s,0);for(var u=0;u<i;u++)e[n+u]^=s[u]}});return e.Decryptor=n,e}(),r.mode.CTRGladman)},function(e,t,n){var r,i,o;e.exports=(o=n(21),n(26),o.mode.OFB=(i=(r=o.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(e,t){var n=this._cipher,r=n.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var a=0;a<r;a++)e[t+a]^=o[a]}}),r.Decryptor=i,r),o.mode.OFB)},function(e,t,n){var r,i;e.exports=(i=n(21),n(26),i.mode.ECB=((r=i.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),r.Decryptor=r.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),r),i.mode.ECB)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.pad.AnsiX923={pad:function(e,t){var n=e.sigBytes,r=4*t,i=r-n%r,o=n+i-1;e.clamp(),e.words[o>>>2]|=i<<24-o%4*8,e.sigBytes+=i},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},r.pad.Ansix923)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.pad.Iso10126={pad:function(e,t){var n=4*t,i=n-e.sigBytes%n;e.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(e){e.sigBytes-=255&e.words[e.sigBytes-1>>>2]}},r.pad.Iso10126)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.pad.Iso97971={pad:function(e,t){e.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(e,t)},unpad:function(e){r.pad.ZeroPadding.unpad(e),e.sigBytes--}},r.pad.Iso97971)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},r.pad.ZeroPadding)},function(e,t,n){var r;e.exports=(r=n(21),n(26),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},function(e,t,n){var r,i,o,a;e.exports=(a=n(21),n(26),i=(r=a).lib.CipherParams,o=r.enc.Hex,r.format.Hex={stringify:function(e){return e.ciphertext.toString(o)},parse:function(e){var t=o.parse(e);return i.create({ciphertext:t})}},a.format.Hex)},function(e,t,n){var r;e.exports=(r=n(21),n(60),n(61),n(51),n(26),function(){var e=r,t=e.lib.BlockCipher,n=e.algo,i=[],o=[],a=[],s=[],u=[],l=[],c=[],d=[],f=[],h=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,r=0;for(t=0;t<256;t++){var p=r^r<<1^r<<2^r<<3^r<<4;i[n]=p=p>>>8^255&p^99,o[p]=n;var m=e[n],v=e[m],g=e[v],y=257*e[p]^16843008*p;a[n]=y<<24|y>>>8,s[n]=y<<16|y>>>16,u[n]=y<<8|y>>>24,l[n]=y,c[p]=(y=16843009*g^65537*v^257*m^16843008*n)<<24|y>>>8,d[p]=y<<16|y>>>16,f[p]=y<<8|y>>>24,h[p]=y,n?(n=m^e[e[e[g^m]]],r^=e[e[r]]):n=r=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a<r;a++)if(a<n)o[a]=t[a];else{var s=o[a-1];a%n?n>6&&a%n==4&&(s=i[s>>>24]<<24|i[s>>>16&255]<<16|i[s>>>8&255]<<8|i[255&s]):(s=i[(s=s<<8|s>>>24)>>>24]<<24|i[s>>>16&255]<<16|i[s>>>8&255]<<8|i[255&s],s^=p[a/n|0]<<24),o[a]=o[a-n]^s}for(var u=this._invKeySchedule=[],l=0;l<r;l++)a=r-l,s=l%4?o[a]:o[a-4],u[l]=l<4||a<=4?s:c[i[s>>>24]]^d[i[s>>>16&255]]^f[i[s>>>8&255]]^h[i[255&s]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,u,l,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,c,d,f,h,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,s){for(var u=this._nRounds,l=e[t]^n[0],c=e[t+1]^n[1],d=e[t+2]^n[2],f=e[t+3]^n[3],h=4,p=1;p<u;p++){var m=r[l>>>24]^i[c>>>16&255]^o[d>>>8&255]^a[255&f]^n[h++],v=r[c>>>24]^i[d>>>16&255]^o[f>>>8&255]^a[255&l]^n[h++],g=r[d>>>24]^i[f>>>16&255]^o[l>>>8&255]^a[255&c]^n[h++],y=r[f>>>24]^i[l>>>16&255]^o[c>>>8&255]^a[255&d]^n[h++];l=m,c=v,d=g,f=y}m=(s[l>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^n[h++],v=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&l])^n[h++],g=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[l>>>8&255]<<8|s[255&c])^n[h++],y=(s[f>>>24]<<24|s[l>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^n[h++],e[t]=m,e[t+1]=v,e[t+2]=g,e[t+3]=y},keySize:8});e.AES=t._createHelper(m)}(),r.AES)},function(e,t,n){var r;e.exports=(r=n(21),n(60),n(61),n(51),n(26),function(){var e=r,t=e.lib,n=t.WordArray,i=t.BlockCipher,o=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],s=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=o.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var r=a[n]-1;t[n]=e[r>>>5]>>>31-r%32&1}for(var i=this._subKeys=[],o=0;o<16;o++){var l=i[o]=[],c=u[o];for(n=0;n<24;n++)l[n/6|0]|=t[(s[n]-1+c)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(s[n+24]-1+c)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var d=this._invSubKeys=[];for(n=0;n<16;n++)d[n]=i[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var i=n[r],o=this._lBlock,a=this._rBlock,s=0,u=0;u<8;u++)s|=l[u][((a^i[u])&c[u])>>>0];this._lBlock=a,this._rBlock=o^s}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,f.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function h(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}e.DES=i._createHelper(d);var p=o.TripleDES=i.extend({_doReset:function(){var e=this._key.words;this._des1=d.createEncryptor(n.create(e.slice(0,2))),this._des2=d.createEncryptor(n.create(e.slice(2,4))),this._des3=d.createEncryptor(n.create(e.slice(4,6)))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(p)}(),r.TripleDES)},function(e,t,n){var r;e.exports=(r=n(21),n(60),n(61),n(51),n(26),function(){var e=r,t=e.lib.StreamCipher,n=e.algo,i=n.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,n=e.sigBytes,r=this._S=[],i=0;i<256;i++)r[i]=i;i=0;for(var o=0;i<256;i++){var a=i%n,s=r[i];r[i]=r[o=(o+r[i]+(t[a>>>2]>>>24-a%4*8&255))%256],r[o]=s}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var e=this._S,t=this._i,n=this._j,r=0,i=0;i<4;i++){n=(n+e[t=(t+1)%256])%256;var o=e[t];e[t]=e[n],e[n]=o,r|=e[(e[t]+e[n])%256]<<24-8*i}return this._i=t,this._j=n,r}e.RC4=t._createHelper(i);var a=n.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)o.call(this)}});e.RC4Drop=t._createHelper(a)}(),r.RC4)},function(e,t,n){var r;e.exports=(r=n(21),n(60),n(61),n(51),n(26),function(){var e=r,t=e.lib.StreamCipher,n=[],i=[],o=[],a=e.algo.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)s.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,a=o[0],u=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;for(i[0]^=l,i[1]^=d,i[2]^=c,i[3]^=f,i[4]^=l,i[5]^=d,i[6]^=c,i[7]^=f,n=0;n<4;n++)s.call(this)}},_doProcessBlock:function(e,t){var r=this._X;s.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),e[t+i]^=n[i]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,s=r>>>16;o[n]=((a*a>>>17)+a*s>>>15)+s*s^((4294901760&r)*r|0)+((65535&r)*r|0)}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.Rabbit=t._createHelper(a)}(),r.Rabbit)},function(e,t,n){var r;e.exports=(r=n(21),n(60),n(61),n(51),n(26),function(){var e=r,t=e.lib.StreamCipher,n=[],i=[],o=[],a=e.algo.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,a=o[0],u=o[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),d=l>>>16|4294901760&c,f=c<<16|65535&l;for(r[0]^=l,r[1]^=d,r[2]^=c,r[3]^=f,r[4]^=l,r[5]^=d,r[6]^=c,r[7]^=f,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(e,t){var r=this._X;s.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),e[t+i]^=n[i]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<i[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<i[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<i[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<i[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<i[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<i[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<i[6]>>>0?1:0)|0,this._b=t[7]>>>0<i[7]>>>0?1:0,n=0;n<8;n++){var r=e[n]+t[n],a=65535&r,s=r>>>16;o[n]=((a*a>>>17)+a*s>>>15)+s*s^((4294901760&r)*r|0)+((65535&r)*r|0)}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}e.RabbitLegacy=t._createHelper(a)}(),r.RabbitLegacy)},function(e,t,n){(function(t){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return i(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,n,r){(function(e){"use strict";var t,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),t=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)t="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var u=new e.MessageChannel;u.port1.onmessage=c,t=function(){u.port2.postMessage(0)}}var l=[];function c(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}n.exports=function(e){1!==l.push(e)||r||t()}}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&h(this,e)}function c(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(t){return o.reject(e,t)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function f(e){var t=e&&e.then;if(e&&"object"==typeof e&&"function"==typeof t)return function(){t.apply(e,arguments)}}function h(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var a=p((function(){t(i,r)}));"error"===a.status&&r(a.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}t.exports=n=l,l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(i);return this.state!==u?d(n,this.state===s?e:t,this.outcome):this.queue.push(new c(n,e,t)),n},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(f,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)h(e,r);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},n.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},n.reject=function(e){var t=new this(i);return o.reject(t,e)},n.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,u=-1,l=new this(i);++u<n;)c(e[u],u);return l;function c(e,i){t.resolve(e).then((function(e){a[i]=e,++s!==n||r||(r=!0,o.resolve(l,a))}),(function(e){r||(r=!0,o.reject(l,e))}))}},n.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,n=!1;if(!t)return this.resolve([]);for(var r=-1,a=new this(i);++r<t;)this.resolve(e[r]).then((function(e){n||(n=!0,o.resolve(a,e))}),(function(e){n||(n=!0,o.reject(a,e))}));return a}},{1:1}],3:[function(e,n,r){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var a=Promise;function s(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function u(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function l(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}var c,d,f=Object.prototype.toString;function h(e){return"boolean"==typeof c?a.resolve(c):function(e){return new a((function(t){var n=e.transaction("local-forage-detect-blob-support","readwrite"),r=o([""]);n.objectStore("local-forage-detect-blob-support").put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return c=e}))}function p(e){var t=d[e.name],n={};n.promise=new a((function(e){n.resolve=e})),t.deferredOperations.push(n),t.dbReady=t.dbReady?t.dbReady.then((function(){return n.promise})):n.promise}function m(e,t){return new a((function(n,r){if(e.db){if(!t)return n(e.db);p(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var a=i.open.apply(i,o);t&&(a.onupgradeneeded=function(t){var n=a.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore("local-forage-detect-blob-support")}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),a.onerror=function(e){e.preventDefault(),r(a.error)},a.onsuccess=function(){n(a.result),function(e){var t=d[e.name].deferredOperations.pop();t&&t.resolve()}(e)}}))}function v(e){return o([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}(atob(e.data))],{type:e.type})}function g(e){return e&&e.__local_forage_encoded_blob}function y(e){var t=this,n=t._initReady().then((function(){var e=d[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return u(n,e,e),n}function b(e,t,n){try{var r=e.db.transaction(e.storeName,t);n(null,r)}catch(r){if(!e.db||"InvalidStateError"===r.name)return function(e){p(e);for(var t=d[e.name].forages,n=0;n<t.length;n++)t[n]._dbInfo.db&&(t[n]._dbInfo.db.close(),t[n]._dbInfo.db=null);return m(e,!1).then((function(e){for(var n=0;n<t.length;n++)t[n]._dbInfo.db=e})).catch((function(t){throw function(e,t){var n=d[e.name].deferredOperations.pop();n&&n.reject(t)}(e,t),t}))}(e).then((function(){var r=e.db.transaction(e.storeName,t);n(null,r)}));n(r)}}var _={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];d||(d={});var i=d[n.name];i||(d[n.name]=i={forages:[],db:null,dbReady:null,deferredOperations:[]}),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=y);var o=[];function s(){return a.resolve()}for(var u=0;u<i.forages.length;u++){var l=i.forages[u];l!==t&&o.push(l._initReady().catch(s))}var c=i.forages.slice(0);return a.all(o).then((function(){return n.db=i.db,function(e){return m(e,!1)}(n)})).then((function(e){return n.db=e,function(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version>e.db.version;if(e.version<e.db.version&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),r||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}(n,t._defaultConfig.version)?function(e){return m(e,!0)}(n):e})).then((function(e){n.db=i.db=e,t._dbInfo=n;for(var r=0;r<c.length;r++){var o=c[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}}))},_support:function(){try{if(!i)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){b(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).openCursor(),s=1;a.onsuccess=function(){var n=a.result;if(n){var r=n.value;g(r)&&(r=v(r));var i=e(r,n.key,s++);void 0!==i?t(i):n.continue()}else t()},a.onerror=function(){r(a.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},getItem:function(e,t){var n=this;e=l(e);var r=new a((function(t,r){n.ready().then((function(){b(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).get(e);a.onsuccess=function(){var e=a.result;void 0===e&&(e=null),g(e)&&(e=v(e)),t(e)},a.onerror=function(){r(a.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},setItem:function(e,t,n){var r=this;e=l(e);var i=new a((function(n,i){var o;r.ready().then((function(){return o=r._dbInfo,"[object Blob]"===f.call(t)?h(o.db).then((function(e){return e?t:(n=t,new a((function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)})));var n})):t})).then((function(t){b(r._dbInfo,"readwrite",(function(o,a){if(o)return i(o);try{var s=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var u=s.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){i(u.error?u.error:u.transaction.error)}}catch(e){i(e)}}))})).catch(i)}));return s(i,n),i},removeItem:function(e,t){var n=this;e=l(e);var r=new a((function(t,r){n.ready().then((function(){b(n._dbInfo,"readwrite",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(a.error)},o.onabort=function(){r(a.error?a.error:a.transaction.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},clear:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){b(t._dbInfo,"readwrite",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){n(o.error?o.error:o.transaction.error)}}catch(e){n(e)}}))})).catch(n)}));return s(n,e),n},length:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){b(t._dbInfo,"readonly",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return s(n,e),n},key:function(e,t){var n=this,r=new a((function(t,r){e<0?t(null):n.ready().then((function(){b(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName),s=!1,u=a.openCursor();u.onsuccess=function(){var n=u.result;n?0===e||s?t(n.key):(s=!0,n.advance(e)):t(null)},u.onerror=function(){r(u.error)}}catch(e){r(e)}}))})).catch(r)}));return s(r,t),r},keys:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){b(t._dbInfo,"readonly",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openCursor(),a=[];o.onsuccess=function(){var t=o.result;t?(a.push(t.key),t.continue()):e(a)},o.onerror=function(){n(o.error)}}catch(e){n(e)}}))})).catch(n)}));return s(n,e),n}},w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E=/^~~local_forage_type~([^~]+)~/,C="__lfsc__:".length,A=C+"arbf".length,k=Object.prototype.toString;function S(e){var t,n,r,i,o,a=.75*e.length,s=e.length,u=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l=new ArrayBuffer(a),c=new Uint8Array(l);for(t=0;t<s;t+=4)n=w.indexOf(e[t]),r=w.indexOf(e[t+1]),i=w.indexOf(e[t+2]),o=w.indexOf(e[t+3]),c[u++]=n<<2|r>>4,c[u++]=(15&r)<<4|i>>2,c[u++]=(3&i)<<6|63&o;return l}function x(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=w[n[t]>>2],r+=w[(3&n[t])<<4|n[t+1]>>4],r+=w[(15&n[t+1])<<2|n[t+2]>>6],r+=w[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var D={serialize:function(e,t){var n="";if(e&&(n=k.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===k.call(e.buffer))){var r,i="__lfsc__:";e instanceof ArrayBuffer?(r=e,i+="arbf"):(r=e.buffer,"[object Int8Array]"===n?i+="si08":"[object Uint8Array]"===n?i+="ui08":"[object Uint8ClampedArray]"===n?i+="uic8":"[object Int16Array]"===n?i+="si16":"[object Uint16Array]"===n?i+="ur16":"[object Int32Array]"===n?i+="si32":"[object Uint32Array]"===n?i+="ui32":"[object Float32Array]"===n?i+="fl32":"[object Float64Array]"===n?i+="fl64":t(new Error("Failed to get type for BinaryArray"))),t(i+x(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n="~~local_forage_type~"+e.type+"~"+x(this.result);t("__lfsc__:blob"+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}},deserialize:function(e){if("__lfsc__:"!==e.substring(0,C))return JSON.parse(e);var t,n=e.substring(A),r=e.substring(C,A);if("blob"===r&&E.test(n)){var i=n.match(E);t=i[1],n=n.substring(i[0].length)}var a=S(n);switch(r){case"arbf":return a;case"blob":return o([a],{type:t});case"si08":return new Int8Array(a);case"ui08":return new Uint8Array(a);case"uic8":return new Uint8ClampedArray(a);case"si16":return new Int16Array(a);case"ur16":return new Uint16Array(a);case"si32":return new Int32Array(a);case"ui32":return new Uint32Array(a);case"fl32":return new Float32Array(a);case"fl64":return new Float64Array(a);default:throw new Error("Unkown type: "+r)}},stringToBuffer:S,bufferToString:x};function O(e,t,n,r){var i=this;e=l(e);var o=new a((function(o,a){i.ready().then((function(){void 0===t&&(t=null);var s=t,u=i._dbInfo;u.serializer.serialize(t,(function(t,l){l?a(l):u.db.transaction((function(n){n.executeSql("INSERT OR REPLACE INTO "+u.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){o(s)}),(function(e,t){a(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void o(O.apply(i,[e,s,n,r-1]));a(t)}}))}))})).catch(a)}));return s(o,n),o}var T={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new a((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction((function(i){i.executeSql("CREATE TABLE IF NOT EXISTS "+n.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}))}));return n.serializer=D,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){n.executeSql("SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,a=o.length,s=0;s<a;s++){var u=o.item(s),l=u.value;if(l&&(l=i.serializer.deserialize(l)),void 0!==(l=e(l,u.key,s+1)))return void t(l)}t()}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},getItem:function(e,t){var n=this;e=l(e);var r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){n.executeSql("SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},setItem:function(e,t,n){return O.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=l(e);var r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){n.executeSql("DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},clear:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){t.executeSql("DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},length:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){t.executeSql("SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},key:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){n.executeSql("SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},keys:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){t.executeSql("SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n}},F={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=t.name+"/",t.storeName!==this._defaultConfig.storeName&&(t.keyPrefix+=t.storeName+"/"),!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(e){return!0}}()||localStorage.length>0?(this._dbInfo=t,t.serializer=D,a.resolve()):a.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&"function"==typeof localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,a=1,s=0;s<o;s++){var u=localStorage.key(s);if(0===u.indexOf(r)){var l=localStorage.getItem(u);if(l&&(l=t.serializer.deserialize(l)),void 0!==(l=e(l,u.substring(i),a++)))return l}}}));return s(r,t),r},getItem:function(e,t){var n=this;e=l(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return s(r,t),r},setItem:function(e,t,n){var r=this;e=l(e);var i=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new a((function(i,o){var a=r._dbInfo;a.serializer.serialize(t,(function(t,r){if(r)o(r);else try{localStorage.setItem(a.keyPrefix+e,t),i(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||o(e),o(e)}}))}))}));return s(i,n),i},removeItem:function(e,t){var n=this;e=l(e);var r=n.ready().then((function(){localStorage.removeItem(n._dbInfo.keyPrefix+e)}));return s(r,t),r},clear:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return s(n,e),n},length:function(e){var t=this.keys().then((function(e){return e.length}));return s(t,e),t},key:function(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return s(r,t),r},keys:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r}));return s(n,e),n}},M=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},P={},L={},R={INDEXEDDB:_,WEBSQL:T,LOCALSTORAGE:F},B=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],j={description:"",driver:[R.INDEXEDDB._driver,R.WEBSQL._driver,R.LOCALSTORAGE._driver].slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function I(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function N(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(arguments[0][n]=M(t[n])?t[n].slice():t[n])}return arguments[0]}var H=new(function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),R)if(R.hasOwnProperty(n)){var r=R[n],i=r._driver;this[n]=i,P[i]||this.defineDriver(r)}this._defaultConfig=N({},j),this._config=N({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new a((function(t,n){try{var r=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(i);for(var o=B.concat("_initStorage"),a=0,s=o.length;a<s;a++){var u=o[a];if(!u||!e[u]||"function"!=typeof e[u])return void n(i)}var l=function(n){P[r]&&console.info("Redefining LocalForage driver: "+r),P[r]=e,L[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(l,n):l(!!e._support):l(!0)}catch(e){n(e)}}));return u(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=P[e]?a.resolve(P[e]):a.reject(new Error("Driver not found."));return u(r,t,n),r},e.prototype.getSerializer=function(e){var t=a.resolve(D);return u(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return u(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;M(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function s(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}var l=null!==this._driverSet?this._driverSet.catch((function(){return a.resolve()})):a.resolve();return this._driverSet=l.then((function(){var e=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then((function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var i=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(s).catch(n)}o();var u=new Error("No available storage method found.");return r._driverSet=a.reject(u),r._driverSet}()}}(i)}))})).catch((function(){o();var e=new Error("No available storage method found.");return r._driverSet=a.reject(e),r._driverSet})),u(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!L[e]},e.prototype._extend=function(e){N(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=B.length;e<t;e++)I(this,B[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=H},{3:3}]},{},[4])(4)}).call(this,n(23))},function(e,t,n){(function(e,t,r,i,o){var a;if(function(i){i.runningInNodeJS=function(){return"object"==typeof e&&"object"==typeof e.versions&&"string"==typeof e.versions.node},i.runningInMainNodeJSModule=function(){return i.runningInNodeJS()&&n.c[n.s]===t},i.commonJSAvailable=function(){return"object"==typeof t.exports},i.runningInWebWorker=function(){return"undefined"==typeof window&&"object"==typeof self&&"function"==typeof self.addEventListener&&"function"==typeof self.close},i.runningInNodeChildProcess=function(){return i.runningInNodeJS()&&"function"==typeof e.send},i.runningInNullOrigin=function(){return"object"==typeof window&&"object"==typeof window.location&&"http:"!==document.location.protocol&&"https:"!==document.location.protocol},i.webWorkersAvailable=function(){return!("function"!=typeof Worker||i.runningInNullOrigin()||i.runningInNodeJS()||navigator&&navigator.userAgent&&navigator.userAgent.indexOf("Android 4.3")>=0)},i.log=function(e,t){void 0===t&&(t=!1),"object"==typeof console&&(console.log(e),t&&"object"==typeof document&&(document.body.innerHTML+=e+"<br/>"))},i.createErrorMessage=function(e,t){if(void 0===t&&(t="Unhandled exception"),null==e)return t;if(t+=": ","object"==typeof e.content){if(i.runningInNodeJS())return t+e.content.stack;var n=JSON.stringify(e.content);return"{}"!==n?t+n:t+e.content}return"string"==typeof e.content?t+e.content:t+e},i.printExceptionAndStackTraceToConsole=function(e,t){void 0===t&&(t="Unhandled exception"),i.log(i.createErrorMessage(e,t))},i.getGlobalObject=function(){return"object"==typeof r?r:"object"==typeof window?window:"object"==typeof self?self:{}},i.toString=Object.prototype.toString,i.commonJSAvailable()&&(t.exports=i)}(a||(a={})),"function"==typeof Uint8Array&&0!==new Uint8Array(1).subarray(1).byteLength){var s=function(e,t){var n=function(e,t,n){return e<t?t:e>n?n:e};e|=0,t|=0,arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=n(e,0,this.length);var r=(t=n(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},u=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"],l=void 0;if("object"==typeof window?l=window:"object"==typeof self&&(l=self),void 0!==l)for(var c=0;c<u.length;c++)l[u[c]]&&(l[u[c]].prototype.subarray=s)}!function(e){var t=function(){function t(){}return t.compressAsync=function(t,n,r){var i=new e.Timer,o=new e.Compressor;if(!r)throw new TypeError("compressAsync: No callback argument given");if("string"==typeof t)t=e.encodeUTF8(t);else if(null==t||!(t instanceof Uint8Array))return void r(void 0,new TypeError("compressAsync: Invalid input argument, only 'string' and 'Uint8Array' are supported"));var a=e.ArrayTools.splitByteArray(t,n.blockSize),s=[];e.enqueueImmediate((function(){return function t(u){if(u<a.length){var l=void 0;try{l=o.compressBlock(a[u])}catch(e){return void r(void 0,e)}s.push(l),i.getElapsedTime()<=20?t(u+1):(e.enqueueImmediate((function(){return t(u+1)})),i.restart())}else{var c=e.ArrayTools.concatUint8Arrays(s);e.enqueueImmediate((function(){var t;try{t=e.CompressionCommon.encodeCompressedBytes(c,n.outputEncoding)}catch(e){return void r(void 0,e)}e.enqueueImmediate((function(){return r(t)}))}))}}(0)}))},t.createCompressionStream=function(){var t=new e.Compressor,r=new(n(275).Transform)({decodeStrings:!0,highWaterMark:65536});return r._transform=function(n,i,o){var a;try{a=e.BufferTools.uint8ArrayToBuffer(t.compressBlock(e.BufferTools.bufferToUint8Array(n)))}catch(e){return void r.emit("error",e)}r.push(a),o()},r},t}();e.AsyncCompressor=t}(a||(a={})),function(e){var t=function(){function t(){}return t.decompressAsync=function(t,n,r){if(!r)throw new TypeError("decompressAsync: No callback argument given");var i=new e.Timer;try{t=e.CompressionCommon.decodeCompressedBytes(t,n.inputEncoding)}catch(e){return void r(void 0,e)}var o=new e.Decompressor,a=e.ArrayTools.splitByteArray(t,n.blockSize),s=[];e.enqueueImmediate((function(){return function t(u){if(u<a.length){var l=void 0;try{l=o.decompressBlock(a[u])}catch(e){return void r(void 0,e)}s.push(l),i.getElapsedTime()<=20?t(u+1):(e.enqueueImmediate((function(){return t(u+1)})),i.restart())}else{var c=e.ArrayTools.concatUint8Arrays(s);e.enqueueImmediate((function(){var t;try{t=e.CompressionCommon.encodeDecompressedBytes(c,n.outputEncoding)}catch(e){return void r(void 0,e)}e.enqueueImmediate((function(){return r(t)}))}))}}(0)}))},t.createDecompressionStream=function(){var t=new e.Decompressor,r=new(n(275).Transform)({decodeStrings:!0,highWaterMark:65536});return r._transform=function(n,i,o){var a;try{a=e.BufferTools.uint8ArrayToBuffer(t.decompressBlock(e.BufferTools.bufferToUint8Array(n)))}catch(e){return void r.emit("error",e)}r.push(a),o()},r},t}();e.AsyncDecompressor=t}(a||(a={})),function(e){var t;!function(t){t.compressAsync=function(e,n,r){if("ByteArray"!=n.inputEncoding||e instanceof Uint8Array){var i={token:Math.random().toString(),type:"compress",data:e,inputEncoding:n.inputEncoding,outputEncoding:n.outputEncoding};t.globalWorker.addEventListener("message",(function e(n){var o=n.data;o&&o.token==i.token&&(t.globalWorker.removeEventListener("message",e),"error"==o.type?r(void 0,new Error(o.error)):r(o.data))})),t.globalWorker.postMessage(i,[])}else r(void 0,new TypeError("compressAsync: input is not a Uint8Array"))},t.decompressAsync=function(e,n,r){var i={token:Math.random().toString(),type:"decompress",data:e,inputEncoding:n.inputEncoding,outputEncoding:n.outputEncoding};t.globalWorker.addEventListener("message",(function e(n){var o=n.data;o&&o.token==i.token&&(t.globalWorker.removeEventListener("message",e),"error"==o.type?r(void 0,new Error(o.error)):r(o.data))})),t.globalWorker.postMessage(i,[])},t.installWebWorkerIfNeeded=function(){"object"==typeof self&&void 0===self.document&&null!=self.addEventListener&&(self.addEventListener("message",(function(t){var n=t.data;if("compress"==n.type){var r=void 0;try{r=e.compress(n.data,{outputEncoding:n.outputEncoding})}catch(t){return void self.postMessage({token:n.token,type:"error",error:e.createErrorMessage(t)},[])}(i={token:n.token,type:"compressionResult",data:r,encoding:n.outputEncoding}).data instanceof Uint8Array&&-1===navigator.appVersion.indexOf("MSIE 10")?self.postMessage(i,[i.data.buffer]):self.postMessage(i,[])}else if("decompress"==n.type){var i,o=void 0;try{o=e.decompress(n.data,{inputEncoding:n.inputEncoding,outputEncoding:n.outputEncoding})}catch(t){return void self.postMessage({token:n.token,type:"error",error:e.createErrorMessage(t)},[])}(i={token:n.token,type:"decompressionResult",data:o,encoding:n.outputEncoding}).data instanceof Uint8Array&&-1===navigator.appVersion.indexOf("MSIE 10")?self.postMessage(i,[i.data.buffer]):self.postMessage(i,[])}})),self.addEventListener("error",(function(t){e.log(e.createErrorMessage(t.error,"Unexpected LZUTF8 WebWorker exception"))})))},t.createGlobalWorkerIfNeeded=function(){if(t.globalWorker)return!0;if(!e.webWorkersAvailable())return!1;if(!t.scriptURI&&"object"==typeof document){var n=document.getElementById("lzutf8");null!=n&&(t.scriptURI=n.getAttribute("src")||void 0)}return!!t.scriptURI&&(t.globalWorker=new Worker(t.scriptURI),!0)},t.terminate=function(){t.globalWorker&&(t.globalWorker.terminate(),t.globalWorker=void 0)}}(t=e.WebWorker||(e.WebWorker={})),t.installWebWorkerIfNeeded()}(a||(a={})),function(e){var t=function(){function e(e,t,n){this.container=e,this.startPosition=t,this.length=n}return e.prototype.get=function(e){return this.container[this.startPosition+e]},e.prototype.getInReversedOrder=function(e){return this.container[this.startPosition+this.length-1-e]},e.prototype.set=function(e,t){this.container[this.startPosition+e]=t},e}();e.ArraySegment=t}(a||(a={})),function(e){!function(e){e.copyElements=function(e,t,n,r,i){for(;i--;)n[r++]=e[t++]},e.zeroElements=function(e,t,n){for(;n--;)e[t++]=0},e.countNonzeroValuesInArray=function(e){for(var t=0,n=0;n<e.length;n++)e[n]&&t++;return t},e.truncateStartingElements=function(e,t){if(e.length<=t)throw new RangeError("truncateStartingElements: Requested length should be smaller than array length");for(var n=e.length-t,r=0;r<t;r++)e[r]=e[n+r];e.length=t},e.doubleByteArrayCapacity=function(e){var t=new Uint8Array(2*e.length);return t.set(e),t},e.concatUint8Arrays=function(e){for(var t=0,n=0,r=e;n<r.length;n++)t+=(u=r[n]).length;for(var i=new Uint8Array(t),o=0,a=0,s=e;a<s.length;a++){var u=s[a];i.set(u,o),o+=u.length}return i},e.splitByteArray=function(e,t){for(var n=[],r=0;r<e.length;){var i=Math.min(t,e.length-r);n.push(e.subarray(r,r+i)),r+=i}return n}}(e.ArrayTools||(e.ArrayTools={}))}(a||(a={})),function(e){!function(e){e.convertToUint8ArrayIfNeeded=function(t){return"function"==typeof i&&i.isBuffer(t)?e.bufferToUint8Array(t):t},e.uint8ArrayToBuffer=function(e){if(i.prototype instanceof Uint8Array){var t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);return Object.setPrototypeOf(t,i.prototype),t}for(var n=e.length,r=new i(n),o=0;o<n;o++)r[o]=e[o];return r},e.bufferToUint8Array=function(e){if(i.prototype instanceof Uint8Array)return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e[r];return n}}(e.BufferTools||(e.BufferTools={}))}(a||(a={})),function(e){!function(t){t.getCroppedBuffer=function(e,t,n,r){void 0===r&&(r=0);var i=new Uint8Array(n+r);return i.set(e.subarray(t,t+n)),i},t.getCroppedAndAppendedByteArray=function(t,n,r,i){return e.ArrayTools.concatUint8Arrays([t.subarray(n,n+r),i])},t.detectCompressionSourceEncoding=function(e){if(null==e)throw new TypeError("detectCompressionSourceEncoding: input is null or undefined");if("string"==typeof e)return"String";if(e instanceof Uint8Array||"function"==typeof i&&i.isBuffer(e))return"ByteArray";throw new TypeError("detectCompressionSourceEncoding: input must be of type 'string', 'Uint8Array' or 'Buffer'")},t.encodeCompressedBytes=function(t,n){switch(n){case"ByteArray":return t;case"Buffer":return e.BufferTools.uint8ArrayToBuffer(t);case"Base64":return e.encodeBase64(t);case"BinaryString":return e.encodeBinaryString(t);default:throw new TypeError("encodeCompressedBytes: invalid output encoding requested")}},t.decodeCompressedBytes=function(t,n){if(null==n)throw new TypeError("decodeCompressedData: Input is null or undefined");switch(n){case"ByteArray":case"Buffer":var r=e.BufferTools.convertToUint8ArrayIfNeeded(t);if(!(r instanceof Uint8Array))throw new TypeError("decodeCompressedData: 'ByteArray' or 'Buffer' input type was specified but input is not a Uint8Array or Buffer");return r;case"Base64":if("string"!=typeof t)throw new TypeError("decodeCompressedData: 'Base64' input type was specified but input is not a string");return e.decodeBase64(t);case"BinaryString":if("string"!=typeof t)throw new TypeError("decodeCompressedData: 'BinaryString' input type was specified but input is not a string");return e.decodeBinaryString(t);default:throw new TypeError("decodeCompressedData: invalid input encoding requested: '"+n+"'")}},t.encodeDecompressedBytes=function(t,n){switch(n){case"String":return e.decodeUTF8(t);case"ByteArray":return t;case"Buffer":if("function"!=typeof i)throw new TypeError("encodeDecompressedBytes: a 'Buffer' type was specified but is not supported at the current envirnment");return e.BufferTools.uint8ArrayToBuffer(t);default:throw new TypeError("encodeDecompressedBytes: invalid output encoding requested")}}}(e.CompressionCommon||(e.CompressionCommon={}))}(a||(a={})),function(e){var t;!function(t){var n,r=[];t.enqueueImmediate=function(e){r.push(e),1===r.length&&n()},t.initializeScheduler=function(){var t=function(){for(var t=0,n=r;t<n.length;t++){var i=n[t];try{i.call(void 0)}catch(t){e.printExceptionAndStackTraceToConsole(t,"enqueueImmediate exception")}}r.length=0};if(e.runningInNodeJS()&&(n=function(){return o((function(){return t()}))}),"object"==typeof window&&"function"==typeof window.addEventListener&&"function"==typeof window.postMessage){var i,a="enqueueImmediate-"+Math.random().toString();window.addEventListener("message",(function(e){e.data===a&&t()})),i=e.runningInNullOrigin()?"*":window.location.href,n=function(){return window.postMessage(a,i)}}else if("function"==typeof MessageChannel&&"function"==typeof MessagePort){var s=new MessageChannel;s.port1.onmessage=function(){return t()},n=function(){return s.port2.postMessage(0)}}else n=function(){return setTimeout((function(){return t()}),0)}},t.initializeScheduler()}(t=e.EventLoop||(e.EventLoop={})),e.enqueueImmediate=function(e){return t.enqueueImmediate(e)}}(a||(a={})),function(e){!function(e){e.override=function(t,n){return e.extend(t,n)},e.extend=function(e,t){if(null==e)throw new TypeError("obj is null or undefined");if("object"!=typeof e)throw new TypeError("obj is not an object");if(null==t&&(t={}),"object"!=typeof t)throw new TypeError("newProperties is not an object");if(null!=t)for(var n in t)e[n]=t[n];return e}}(e.ObjectTools||(e.ObjectTools={}))}(a||(a={})),function(e){e.getRandomIntegerInRange=function(e,t){return e+Math.floor(Math.random()*(t-e))},e.getRandomUTF16StringOfLength=function(t){for(var n="",r=0;r<t;r++){var i=void 0;do{i=e.getRandomIntegerInRange(0,1114112)}while(i>=55296&&i<=57343);n+=e.Encoding.CodePoint.decodeToString(i)}return n}}(a||(a={})),function(e){var t=function(){function e(e){void 0===e&&(e=1024),this.outputBufferCapacity=e,this.outputPosition=0,this.outputString="",this.outputBuffer=new Uint16Array(this.outputBufferCapacity)}return e.prototype.appendCharCode=function(e){this.outputBuffer[this.outputPosition++]=e,this.outputPosition===this.outputBufferCapacity&&this.flushBufferToOutputString()},e.prototype.appendCharCodes=function(e){for(var t=0,n=e.length;t<n;t++)this.appendCharCode(e[t])},e.prototype.appendString=function(e){for(var t=0,n=e.length;t<n;t++)this.appendCharCode(e.charCodeAt(t))},e.prototype.appendCodePoint=function(e){if(e<=65535)this.appendCharCode(e);else{if(!(e<=1114111))throw new Error("appendCodePoint: A code point of "+e+" cannot be encoded in UTF-16");this.appendCharCode(55296+(e-65536>>>10)),this.appendCharCode(56320+(e-65536&1023))}},e.prototype.getOutputString=function(){return this.flushBufferToOutputString(),this.outputString},e.prototype.flushBufferToOutputString=function(){this.outputString+=String.fromCharCode.apply(null,this.outputPosition===this.outputBufferCapacity?this.outputBuffer:this.outputBuffer.subarray(0,this.outputPosition)),this.outputPosition=0},e}();e.StringBuilder=t}(a||(a={})),function(t){var n=function(){function n(){this.restart()}return n.prototype.restart=function(){this.startTime=n.getTimestamp()},n.prototype.getElapsedTime=function(){return n.getTimestamp()-this.startTime},n.prototype.getElapsedTimeAndRestart=function(){var e=this.getElapsedTime();return this.restart(),e},n.prototype.logAndRestart=function(e,n){void 0===n&&(n=!0);var r=this.getElapsedTime(),i=e+": "+r.toFixed(3)+"ms";return t.log(i,n),this.restart(),r},n.getTimestamp=function(){return this.timestampFunc||this.createGlobalTimestampFunction(),this.timestampFunc()},n.getMicrosecondTimestamp=function(){return Math.floor(1e3*n.getTimestamp())},n.createGlobalTimestampFunction=function(){if("object"==typeof e&&"function"==typeof e.hrtime){var t=0;this.timestampFunc=function(){var n=e.hrtime();return t+(1e3*n[0]+n[1]/1e6)},t=Date.now()-this.timestampFunc()}else if("object"==typeof chrome&&chrome.Interval){var n=Date.now(),r=new chrome.Interval;r.start(),this.timestampFunc=function(){return n+r.microseconds()/1e3}}else if("object"==typeof performance&&performance.now){var i=Date.now()-performance.now();this.timestampFunc=function(){return i+performance.now()}}else this.timestampFunc=Date.now?function(){return Date.now()}:function(){return(new Date).getTime()}},n}();t.Timer=n}(a||(a={})),function(e){var t=function(){function t(t){void 0===t&&(t=!0),this.MinimumSequenceLength=4,this.MaximumSequenceLength=31,this.MaximumMatchDistance=32767,this.PrefixHashTableSize=65537,this.inputBufferStreamOffset=1,this.prefixHashTable=t&&"function"==typeof Uint32Array?new e.CompressorCustomHashTable(this.PrefixHashTableSize):new e.CompressorSimpleHashTable(this.PrefixHashTableSize)}return t.prototype.compressBlock=function(t){if(null==t)throw new TypeError("compressBlock: undefined or null input received");return"string"==typeof t&&(t=e.encodeUTF8(t)),t=e.BufferTools.convertToUint8ArrayIfNeeded(t),this.compressUtf8Block(t)},t.prototype.compressUtf8Block=function(e){if(!e||0==e.length)return new Uint8Array(0);var t=this.cropAndAddNewBytesToInputBuffer(e),n=this.inputBuffer,r=this.inputBuffer.length;this.outputBuffer=new Uint8Array(e.length),this.outputBufferPosition=0;for(var i=0,o=t;o<r;o++){var a=n[o],s=o<i;if(o>r-this.MinimumSequenceLength)s||this.outputRawByte(a);else{var u=this.getBucketIndexForPrefix(o);if(!s){var l=this.findLongestMatch(o,u);null!=l&&(this.outputPointerBytes(l.length,l.distance),i=o+l.length,s=!0)}s||this.outputRawByte(a),this.prefixHashTable.addValueToBucket(u,this.inputBufferStreamOffset+o)}}return this.outputBuffer.subarray(0,this.outputBufferPosition)},t.prototype.findLongestMatch=function(e,t){var n=this.prefixHashTable.getArraySegmentForBucketIndex(t,this.reusableArraySegmentObject);if(null==n)return null;for(var r,i=this.inputBuffer,o=0,a=0;a<n.length;a++){var s,u=n.getInReversedOrder(a)-this.inputBufferStreamOffset,l=e-u;if(s=void 0===r?this.MinimumSequenceLength-1:r<128&&l>=128?o+(o>>>1):o,l>this.MaximumMatchDistance||s>=this.MaximumSequenceLength||e+s>=i.length)break;if(i[u+s]===i[e+s])for(var c=0;;c++){if(e+c===i.length||i[u+c]!==i[e+c]){c>s&&(r=l,o=c);break}if(c===this.MaximumSequenceLength)return{distance:l,length:this.MaximumSequenceLength}}}return void 0!==r?{distance:r,length:o}:null},t.prototype.getBucketIndexForPrefix=function(e){return(7880599*this.inputBuffer[e]+39601*this.inputBuffer[e+1]+199*this.inputBuffer[e+2]+this.inputBuffer[e+3])%this.PrefixHashTableSize},t.prototype.outputPointerBytes=function(e,t){t<128?(this.outputRawByte(192|e),this.outputRawByte(t)):(this.outputRawByte(224|e),this.outputRawByte(t>>>8),this.outputRawByte(255&t))},t.prototype.outputRawByte=function(e){this.outputBuffer[this.outputBufferPosition++]=e},t.prototype.cropAndAddNewBytesToInputBuffer=function(t){if(void 0===this.inputBuffer)return this.inputBuffer=t,0;var n=Math.min(this.inputBuffer.length,this.MaximumMatchDistance),r=this.inputBuffer.length-n;return this.inputBuffer=e.CompressionCommon.getCroppedAndAppendedByteArray(this.inputBuffer,r,n,t),this.inputBufferStreamOffset+=r,n},t}();e.Compressor=t}(a||(a={})),function(e){var t=function(){function t(e){this.minimumBucketCapacity=4,this.maximumBucketCapacity=64,this.bucketLocators=new Uint32Array(2*e),this.storage=new Uint32Array(2*e),this.storageIndex=1}return t.prototype.addValueToBucket=function(t,n){t<<=1,this.storageIndex>=this.storage.length>>>1&&this.compact();var r,i=this.bucketLocators[t];if(0===i)i=this.storageIndex,r=1,this.storage[this.storageIndex]=n,this.storageIndex+=this.minimumBucketCapacity;else{(r=this.bucketLocators[t+1])===this.maximumBucketCapacity-1&&(r=this.truncateBucketToNewerElements(i,r,this.maximumBucketCapacity/2));var o=i+r;0===this.storage[o]?(this.storage[o]=n,o===this.storageIndex&&(this.storageIndex+=r)):(e.ArrayTools.copyElements(this.storage,i,this.storage,this.storageIndex,r),i=this.storageIndex,this.storageIndex+=r,this.storage[this.storageIndex++]=n,this.storageIndex+=r),r++}this.bucketLocators[t]=i,this.bucketLocators[t+1]=r},t.prototype.truncateBucketToNewerElements=function(t,n,r){return e.ArrayTools.copyElements(this.storage,t+n-r,this.storage,t,r),e.ArrayTools.zeroElements(this.storage,t+r,n-r),r},t.prototype.compact=function(){var t=this.bucketLocators,n=this.storage;this.bucketLocators=new Uint32Array(this.bucketLocators.length),this.storageIndex=1;for(var r=0;r<t.length;r+=2){var i=t[r+1];0!==i&&(this.bucketLocators[r]=this.storageIndex,this.bucketLocators[r+1]=i,this.storageIndex+=Math.max(Math.min(2*i,this.maximumBucketCapacity),this.minimumBucketCapacity))}for(this.storage=new Uint32Array(8*this.storageIndex),r=0;r<t.length;r+=2){var o=t[r];0!==o&&e.ArrayTools.copyElements(n,o,this.storage,this.bucketLocators[r],this.bucketLocators[r+1])}},t.prototype.getArraySegmentForBucketIndex=function(t,n){var r=this.bucketLocators[t<<=1];return 0===r?null:(void 0===n&&(n=new e.ArraySegment(this.storage,r,this.bucketLocators[t+1])),n)},t.prototype.getUsedBucketCount=function(){return Math.floor(e.ArrayTools.countNonzeroValuesInArray(this.bucketLocators)/2)},t.prototype.getTotalElementCount=function(){for(var e=0,t=0;t<this.bucketLocators.length;t+=2)e+=this.bucketLocators[t+1];return e},t}();e.CompressorCustomHashTable=t}(a||(a={})),function(e){var t=function(){function t(e){this.maximumBucketCapacity=64,this.buckets=new Array(e)}return t.prototype.addValueToBucket=function(t,n){var r=this.buckets[t];void 0===r?this.buckets[t]=[n]:(r.length===this.maximumBucketCapacity-1&&e.ArrayTools.truncateStartingElements(r,this.maximumBucketCapacity/2),r.push(n))},t.prototype.getArraySegmentForBucketIndex=function(t,n){var r=this.buckets[t];return void 0===r?null:(void 0===n&&(n=new e.ArraySegment(r,0,r.length)),n)},t.prototype.getUsedBucketCount=function(){return e.ArrayTools.countNonzeroValuesInArray(this.buckets)},t.prototype.getTotalElementCount=function(){for(var e=0,t=0;t<this.buckets.length;t++)void 0!==this.buckets[t]&&(e+=this.buckets[t].length);return e},t}();e.CompressorSimpleHashTable=t}(a||(a={})),function(e){var t=function(){function t(){this.MaximumMatchDistance=32767,this.outputPosition=0}return t.prototype.decompressBlockToString=function(t){return t=e.BufferTools.convertToUint8ArrayIfNeeded(t),e.decodeUTF8(this.decompressBlock(t))},t.prototype.decompressBlock=function(t){this.inputBufferRemainder&&(t=e.ArrayTools.concatUint8Arrays([this.inputBufferRemainder,t]),this.inputBufferRemainder=void 0);for(var n=this.cropOutputBufferToWindowAndInitialize(Math.max(4*t.length,1024)),r=0,i=t.length;r<i;r++){var o=t[r];if(o>>>6==3){var a=o>>>5;if(r==i-1||r==i-2&&7==a){this.inputBufferRemainder=t.subarray(r);break}if(t[r+1]>>>7==1)this.outputByte(o);else{var s=31&o,u=void 0;6==a?(u=t[r+1],r+=1):(u=t[r+1]<<8|t[r+2],r+=2);for(var l=this.outputPosition-u,c=0;c<s;c++)this.outputByte(this.outputBuffer[l+c])}}else this.outputByte(o)}return this.rollBackIfOutputBufferEndsWithATruncatedMultibyteSequence(),e.CompressionCommon.getCroppedBuffer(this.outputBuffer,n,this.outputPosition-n)},t.prototype.outputByte=function(t){this.outputPosition===this.outputBuffer.length&&(this.outputBuffer=e.ArrayTools.doubleByteArrayCapacity(this.outputBuffer)),this.outputBuffer[this.outputPosition++]=t},t.prototype.cropOutputBufferToWindowAndInitialize=function(t){if(!this.outputBuffer)return this.outputBuffer=new Uint8Array(t),0;var n=Math.min(this.outputPosition,this.MaximumMatchDistance);if(this.outputBuffer=e.CompressionCommon.getCroppedBuffer(this.outputBuffer,this.outputPosition-n,n,t),this.outputPosition=n,this.outputBufferRemainder){for(var r=0;r<this.outputBufferRemainder.length;r++)this.outputByte(this.outputBufferRemainder[r]);this.outputBufferRemainder=void 0}return n},t.prototype.rollBackIfOutputBufferEndsWithATruncatedMultibyteSequence=function(){for(var e=1;e<=4&&this.outputPosition-e>=0;e++){var t=this.outputBuffer[this.outputPosition-e];if(e<4&&t>>>3==30||e<3&&t>>>4==14||e<2&&t>>>5==6)return this.outputBufferRemainder=this.outputBuffer.subarray(this.outputPosition-e,this.outputPosition),void(this.outputPosition-=e)}},t}();e.Decompressor=t}(a||(a={})),function(e){!function(t){!function(t){var n=new Uint8Array([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47]),r=new Uint8Array([255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,255,255,255,255]);t.encode=function(n){return n&&0!=n.length?e.runningInNodeJS()?e.BufferTools.uint8ArrayToBuffer(n).toString("base64"):t.encodeWithJS(n):""},t.decode=function(n){return n?e.runningInNodeJS()?e.BufferTools.bufferToUint8Array(new i(n,"base64")):t.decodeWithJS(n):new Uint8Array(0)},t.encodeWithJS=function(t,r){if(void 0===r&&(r=!0),!t||0==t.length)return"";for(var i,o=n,a=new e.StringBuilder,s=0,u=t.length;s<u;s+=3)s<=u-3?(a.appendCharCode(o[(i=t[s]<<16|t[s+1]<<8|t[s+2])>>>18&63]),a.appendCharCode(o[i>>>12&63]),a.appendCharCode(o[i>>>6&63]),a.appendCharCode(o[63&i]),i=0):s===u-2?(a.appendCharCode(o[(i=t[s]<<16|t[s+1]<<8)>>>18&63]),a.appendCharCode(o[i>>>12&63]),a.appendCharCode(o[i>>>6&63]),r&&a.appendCharCode(61)):s===u-1&&(a.appendCharCode(o[(i=t[s]<<16)>>>18&63]),a.appendCharCode(o[i>>>12&63]),r&&(a.appendCharCode(61),a.appendCharCode(61)));return a.getOutputString()},t.decodeWithJS=function(e,t){if(!e||0==e.length)return new Uint8Array(0);var n=e.length%4;if(1===n)throw new Error("Invalid Base64 string: length % 4 == 1");2===n?e+="==":3===n&&(e+="="),t||(t=new Uint8Array(e.length));for(var i=0,o=e.length,a=0;a<o;a+=4){var s=r[e.charCodeAt(a)]<<18|r[e.charCodeAt(a+1)]<<12|r[e.charCodeAt(a+2)]<<6|r[e.charCodeAt(a+3)];t[i++]=s>>>16&255,t[i++]=s>>>8&255,t[i++]=255&s}return 61==e.charCodeAt(o-1)&&i--,61==e.charCodeAt(o-2)&&i--,t.subarray(0,i)}}(t.Base64||(t.Base64={}))}(e.Encoding||(e.Encoding={}))}(a||(a={})),function(e){!function(t){!function(t){t.encode=function(t){if(null==t)throw new TypeError("BinaryString.encode: undefined or null input received");if(0===t.length)return"";for(var n=t.length,r=new e.StringBuilder,i=0,o=1,a=0;a<n;a+=2){var s;r.appendCharCode(i<<16-o|(s=a==n-1?t[a]<<8:t[a]<<8|t[a+1])>>>o),i=s&(1<<o)-1,15===o?(r.appendCharCode(i),i=0,o=1):o+=1,a>=n-2&&r.appendCharCode(i<<16-o)}return r.appendCharCode(32768|n%2),r.getOutputString()},t.decode=function(e){if("string"!=typeof e)throw new TypeError("BinaryString.decode: invalid input type");if(""==e)return new Uint8Array(0);for(var t=new Uint8Array(3*e.length),n=0,r=function(e){t[n++]=e>>>8,t[n++]=255&e},i=0,o=0,a=0;a<e.length;a++){var s=e.charCodeAt(a);s>=32768?(32769==s&&n--,o=0):(0==o?i=s:(r(i<<o|s>>>15-o),i=s&(1<<15-o)-1),15==o?o=0:o+=1)}return t.subarray(0,n)}}(t.BinaryString||(t.BinaryString={}))}(e.Encoding||(e.Encoding={}))}(a||(a={})),function(e){!function(e){!function(e){e.encodeFromString=function(e,t){var n=e.charCodeAt(t);if(n<55296||n>56319)return n;var r=e.charCodeAt(t+1);if(r>=56320&&r<=57343)return r-56320+(n-55296<<10)+65536;throw new Error("getUnicodeCodePoint: Received a lead surrogate character, char code "+n+", followed by "+r+", which is not a trailing surrogate character code.")},e.decodeToString=function(e){if(e<=65535)return String.fromCharCode(e);if(e<=1114111)return String.fromCharCode(55296+(e-65536>>>10),56320+(e-65536&1023));throw new Error("getStringFromUnicodeCodePoint: A code point of "+e+" cannot be encoded in UTF-16")}}(e.CodePoint||(e.CodePoint={}))}(e.Encoding||(e.Encoding={}))}(a||(a={})),function(e){!function(e){!function(e){var t=["000","001","002","003","004","005","006","007","008","009","010","011","012","013","014","015","016","017","018","019","020","021","022","023","024","025","026","027","028","029","030","031","032","033","034","035","036","037","038","039","040","041","042","043","044","045","046","047","048","049","050","051","052","053","054","055","056","057","058","059","060","061","062","063","064","065","066","067","068","069","070","071","072","073","074","075","076","077","078","079","080","081","082","083","084","085","086","087","088","089","090","091","092","093","094","095","096","097","098","099","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","117","118","119","120","121","122","123","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","154","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","177","178","179","180","181","182","183","184","185","186","187","188","189","190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","205","206","207","208","209","210","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230","231","232","233","234","235","236","237","238","239","240","241","242","243","244","245","246","247","248","249","250","251","252","253","254","255"];e.encode=function(e){for(var n=[],r=0;r<e.length;r++)n.push(t[e[r]]);return n.join(" ")}}(e.DecimalString||(e.DecimalString={}))}(e.Encoding||(e.Encoding={}))}(a||(a={})),function(e){!function(t){!function(n){var r,o;n.encode=function(t){return t&&0!=t.length?e.runningInNodeJS()?e.BufferTools.bufferToUint8Array(new i(t,"utf8")):n.createNativeTextEncoderAndDecoderIfAvailable()?r.encode(t):n.encodeWithJS(t):new Uint8Array(0)},n.decode=function(t){return t&&0!=t.length?e.runningInNodeJS()?e.BufferTools.uint8ArrayToBuffer(t).toString("utf8"):n.createNativeTextEncoderAndDecoderIfAvailable()?o.decode(t):n.decodeWithJS(t):""},n.encodeWithJS=function(e,n){if(!e||0==e.length)return new Uint8Array(0);n||(n=new Uint8Array(4*e.length));for(var r=0,i=0;i<e.length;i++){var o=t.CodePoint.encodeFromString(e,i);if(o<=127)n[r++]=o;else if(o<=2047)n[r++]=192|o>>>6,n[r++]=128|63&o;else if(o<=65535)n[r++]=224|o>>>12,n[r++]=128|o>>>6&63,n[r++]=128|63&o;else{if(!(o<=1114111))throw new Error("Invalid UTF-16 string: Encountered a character unsupported by UTF-8/16 (RFC 3629)");n[r++]=240|o>>>18,n[r++]=128|o>>>12&63,n[r++]=128|o>>>6&63,n[r++]=128|63&o,i++}}return n.subarray(0,r)},n.decodeWithJS=function(t,n,r){if(void 0===n&&(n=0),!t||0==t.length)return"";void 0===r&&(r=t.length);for(var i,o,a=new e.StringBuilder,s=n,u=r;s<u;){if((o=t[s])>>>7==0)i=o,s+=1;else if(o>>>5==6){if(s+1>=r)throw new Error("Invalid UTF-8 stream: Truncated codepoint sequence encountered at position "+s);i=(31&o)<<6|63&t[s+1],s+=2}else if(o>>>4==14){if(s+2>=r)throw new Error("Invalid UTF-8 stream: Truncated codepoint sequence encountered at position "+s);i=(15&o)<<12|(63&t[s+1])<<6|63&t[s+2],s+=3}else{if(o>>>3!=30)throw new Error("Invalid UTF-8 stream: An invalid lead byte value encountered at position "+s);if(s+3>=r)throw new Error("Invalid UTF-8 stream: Truncated codepoint sequence encountered at position "+s);i=(7&o)<<18|(63&t[s+1])<<12|(63&t[s+2])<<6|63&t[s+3],s+=4}a.appendCodePoint(i)}return a.getOutputString()},n.createNativeTextEncoderAndDecoderIfAvailable=function(){return!!r||"function"==typeof TextEncoder&&(r=new TextEncoder("utf-8"),o=new TextDecoder("utf-8"),!0)}}(t.UTF8||(t.UTF8={}))}(e.Encoding||(e.Encoding={}))}(a||(a={})),function(e){e.compress=function(t,n){if(void 0===n&&(n={}),null==t)throw new TypeError("compress: undefined or null input received");var r=e.CompressionCommon.detectCompressionSourceEncoding(t);n=e.ObjectTools.override({inputEncoding:r,outputEncoding:"ByteArray"},n);var i=(new e.Compressor).compressBlock(t);return e.CompressionCommon.encodeCompressedBytes(i,n.outputEncoding)},e.decompress=function(t,n){if(void 0===n&&(n={}),null==t)throw new TypeError("decompress: undefined or null input received");n=e.ObjectTools.override({inputEncoding:"ByteArray",outputEncoding:"String"},n);var r=e.CompressionCommon.decodeCompressedBytes(t,n.inputEncoding),i=(new e.Decompressor).decompressBlock(r);return e.CompressionCommon.encodeDecompressedBytes(i,n.outputEncoding)},e.compressAsync=function(t,n,r){var i;null==r&&(r=function(){});try{i=e.CompressionCommon.detectCompressionSourceEncoding(t)}catch(e){return void r(void 0,e)}n=e.ObjectTools.override({inputEncoding:i,outputEncoding:"ByteArray",useWebWorker:!0,blockSize:65536},n),e.enqueueImmediate((function(){n.useWebWorker&&e.WebWorker.createGlobalWorkerIfNeeded()?e.WebWorker.compressAsync(t,n,r):e.AsyncCompressor.compressAsync(t,n,r)}))},e.decompressAsync=function(t,n,r){if(null==r&&(r=function(){}),null!=t){n=e.ObjectTools.override({inputEncoding:"ByteArray",outputEncoding:"String",useWebWorker:!0,blockSize:65536},n);var i=e.BufferTools.convertToUint8ArrayIfNeeded(t);e.EventLoop.enqueueImmediate((function(){n.useWebWorker&&e.WebWorker.createGlobalWorkerIfNeeded()?e.WebWorker.decompressAsync(i,n,r):e.AsyncDecompressor.decompressAsync(t,n,r)}))}else r(void 0,new TypeError("decompressAsync: undefined or null input received"))},e.createCompressionStream=function(){return e.AsyncCompressor.createCompressionStream()},e.createDecompressionStream=function(){return e.AsyncDecompressor.createDecompressionStream()},e.encodeUTF8=function(t){return e.Encoding.UTF8.encode(t)},e.decodeUTF8=function(t){return e.Encoding.UTF8.decode(t)},e.encodeBase64=function(t){return e.Encoding.Base64.encode(t)},e.decodeBase64=function(t){return e.Encoding.Base64.decode(t)},e.encodeBinaryString=function(t){return e.Encoding.BinaryString.encode(t)},e.decodeBinaryString=function(t){return e.Encoding.BinaryString.decode(t)}}(a||(a={}))}).call(this,n(43),n(77)(e),n(23),n(62).Buffer,n(274).setImmediate)},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[1];return 3*(t[0]+n)/4-n},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o=[],a=t;a<n;a+=3)o.push(r[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,u=1,l={},c=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(p,0,e)},f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return l[u]=i,r(u),u++},f.clearImmediate=h}function h(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(23),n(43))},function(e,t){},function(e,t,n){"use strict";var r=n(108).Buffer,i=n(577);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t=r.allocUnsafe(e>>>0),n=this.head,i=0;n;)n.data.copy(t,i),i+=n.data.length,n=n.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(23))},function(e,t,n){var r=n(62),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";e.exports=o;var r=n(280),i=Object.create(n(69));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n(63),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(109)},function(e,t,n){e.exports=n(52)},function(e,t,n){e.exports=n(107).Transform},function(e,t,n){e.exports=n(107).PassThrough},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ItemSearchList=void 0;var i=r(n(19)),o=r(n(46)),a=r(n(17)),s=r(n(18)),u=r(n(3)),l=r(n(4)),c=r(n(10)),d=r(n(5)),f=r(n(6)),h=r(n(7)),p=r(n(8)),m=r(n(2)),v=r(n(1)),g=r(n(11)),y=n(14),b=n(586),_=function(e){(0,d.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,h.default)(e);if(t){var i=(0,h.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}(n);function n(){var e;(0,u.default)(this,n);for(var r=arguments.length,i=new Array(r),l=0;l<r;l++)i[l]=arguments[l];return e=t.call.apply(t,[this].concat(i)),(0,p.default)((0,c.default)(e),"state",{pending:{search:!1,fillUp:!1},isSpinning:!1,query:"",results:[],existingItems:{},newItems:{}}),(0,p.default)((0,c.default)(e),"_updateExistingItems",(function(t){var n={};e.setState({existingItems:(0,y.reduce)(t,(function(t,r){return n[r.id]=!e.state.existingItems[r.id],t[r.id]=!0,t}),{})}),e.setState({newItems:n})})),(0,p.default)((0,c.default)(e),"_updateQuery",(function(t){e.setState({query:t})})),(0,p.default)((0,c.default)(e),"_resetQuery",(function(){e._updateQuery("")})),(0,p.default)((0,c.default)(e),"_handleQuery",(function(){e._runQuery(e.state.query)})),(0,p.default)((0,c.default)(e),"_runQuery",function(){var t=(0,s.default)(a.default.mark((function t(n){var r,i;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((0,y.isString)(n)&&!(0,y.isEmpty)(n.trim())){t.next=4;break}return e._setSearchResults([]),e._setPending({search:!1}),t.abrupt("return");case 4:return e._setPending({search:!0}),r=setTimeout((function(){return e.setState({isSpinning:!0})}),1e3),t.next=8,e.props.onQuery(n);case 8:i=t.sent,e._setPending({search:!1}),clearTimeout(r),e.setState({isSpinning:!1}),i.err||e._setSearchResults(i.body);case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,p.default)((0,c.default)(e),"_setSearchResults",(function(t){t=t.filter((function(t){return!e.state.existingItems[t.id]})),e.setState({results:t})})),(0,p.default)((0,c.default)(e),"_setPending",(function(t){var n=(0,y.extend)({},e.state.pending,t);e.setState({pending:n})})),(0,p.default)((0,c.default)(e),"_handleSelect",(function(t){e._resetQuery(),e.props.onListUpdate([].concat((0,o.default)(e.props.listedItems),[t])),e.setState({results:e.state.results.filter((function(e){return e.id!==t.id}))})})),(0,p.default)((0,c.default)(e),"_handleRemove",(function(t){var n=(0,o.default)(e.props.listedItems),r=n.indexOf(t);r>-1&&n.splice(r,1),e.props.onListUpdate(n)})),(0,p.default)((0,c.default)(e),"_handleRemoveAll",(function(){e._resetQuery(),e.props.onRemoveAll?e.props.onRemoveAll():e.props.onListUpdate([])})),(0,p.default)((0,c.default)(e),"_handleAddAll",(0,s.default)(a.default.mark((function t(){return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e._setPending({fillUp:!0}),e._resetQuery(),t.next=4,e.props.fillUpTheList();case 4:e._setPending({fillUp:!1});case 5:case"end":return t.stop()}}),t)})))),e}return(0,l.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.listedItems!==e.listedItems?this._updateExistingItems(e.listedItems):this.setState({newItems:{}})}},{key:"UNSAFE_componentWillMount",value:function(){this._updateExistingItems(this.props.listedItems)}},{key:"render",value:function(){var e={query:this.state.query,placeholder:this.props.placeholder||(0,g.default)("components.ItemSearchList.placeholder"),results:this.state.results,pending:this.state.pending.search,onChange:this._updateQuery,onQuery:this._handleQuery,onItemSelected:this._handleSelect,onClear:this._resetQuery};return v.default.createElement(b.View,(0,i.default)({newItems:this.state.newItems},this.props,{typeaheadProps:e,onRemoveItem:this._handleRemove,onAddAllItems:this.props.fillUpTheList&&this._handleAddAll,pendingFillUp:this.state.pending.fillUp,onRemoveAllItems:this._handleRemoveAll}))}}]),n}(v.default.Component);t.ItemSearchList=_,(0,p.default)(_,"displayName","ItemSearchList"),(0,p.default)(_,"propTypes",{placeholder:m.default.string.affectsRendering,listedItems:m.default.array.isRequired.affectsRendering,onListUpdate:m.default.func,onQuery:m.default.func.isRequired,fillUpTheList:m.default.func,disabledTemplate:m.default.func,topMessageTemplate:m.default.object,onRemoveAll:m.default.func,errorMessage:m.default.string.affectsRendering,autoFocus:m.default.bool})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.View=void 0;var i=r(n(46)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(27)),m=r(n(12)),v=r(n(11)),g=n(30),y=n(111),b=n(38);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var w=function(e){(0,u.default)(n,e);var t=_(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a)),(0,d.default)((0,s.default)(e),"_shouldScrollToItems",[]),(0,d.default)((0,s.default)(e),"_scrollTo",(function(e,t){var n=p.default.findDOMNode(e),r=p.default.findDOMNode(t),i=n.scrollTop,o=r.offsetTop-n.offsetTop,a=o+r.clientHeight-n.clientHeight;n.scrollTop=a>i?a:i>o?o:i})),(0,d.default)((0,s.default)(e),"scheduleScrollTo",(function(t){e._shouldScrollToItems=[].concat((0,i.default)(e._shouldScrollToItems),[t])})),e}return(0,a.default)(n,[{key:"componentDidUpdate",value:function(){this._shouldScrollToItems.length>0&&(this._shouldScrollToItems.forEach((function(e){this._scrollTo(this.containerRef,e)}),this),this._shouldScrollToItems=[])}},{key:"render",value:function(){var e=this;return h.default.createElement("div",{className:(0,m.default)("item-search-list-container qa-item-search-list-container",this.props.className)},h.default.createElement("div",{className:"item-search-list__inputs"},h.default.createElement(y.Typeahead,{className:"light qa-item-search-list-typeahead",placeholder:this.props.typeaheadProps.placeholder,value:this.props.typeaheadProps.query,pending:this.props.typeaheadProps.pending,onChange:this.props.typeaheadProps.onChange,onQuery:this.props.typeaheadProps.onQuery,onItemSelected:this.props.typeaheadProps.onItemSelected,autoFocus:this.props.autoFocus,suggestions:this.props.typeaheadProps.results,suggestionsTemplate:h.default.createElement(E,null),onClear:this.props.typeaheadProps.onClear,errorMessage:this.props.errorMessage}),h.default.createElement(b.If,{condition:this.props.onAddAllItems},h.default.createElement(g.LoaderButton,{disabled:this.props.pendingFillUp,className:"default small small--wide autowidth qa-item-search-list-add-all-button",onClick:this.props.onAddAllItems,value:(0,v.default)("add-all")})),h.default.createElement(g.LoaderButton,{disabled:this.props.pendingFillUp,className:"remove-all-button gray small small--wide autowidth qa-item-search-list-remove-all-button",onClick:this.props.onRemoveAllItems,value:(0,v.default)("remove-all")})),this.props.topMessageTemplate,h.default.createElement("div",{className:"list-container qa-item-search-list-items",ref:function(t){return e.containerRef=t}},this.props.listedItems.map((function(t){return t.isDisabled?e.props.disabledTemplate(t):h.default.createElement(C,{key:t.id,item:t,onRemoveItem:e.props.onRemoveItem,isNew:e.props.newItems[t.id],onNewItemAdded:e.scheduleScrollTo})}))))}}]),n}(h.default.Component);t.View=w,(0,d.default)(w,"displayName","View of ItemSearchList"),(0,d.default)(w,"propTypes",{typeaheadProps:f.default.shape({query:f.default.string.isRequired,placeholder:f.default.string,results:f.default.array.isRequired,pending:f.default.bool,onChange:f.default.func,onQuery:f.default.func,onItemSelected:f.default.func}).affectsRendering,newItems:f.default.object.isRequired.affectsRendering,listedItems:f.default.array.isRequired.affectsRendering,onRemoveItem:f.default.func.isRequired,onAddAllItems:f.default.func,pendingFillUp:f.default.bool,onRemoveAllItems:f.default.func.isRequired,topMessageTemplate:f.default.element,disabledTemplate:f.default.func,errorMessage:f.default.string.affectsRendering,autoFocus:f.default.bool});var E=function(e){(0,u.default)(n,e);var t=_(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){return h.default.createElement("div",{className:"tt-suggestion qa-tt-suggestion ellipsis"},this.props.name)}}]),n}(h.default.Component),C=function(e){(0,u.default)(n,e);var t=_(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_handleClick",(function(){e.props.onRemoveItem(e.props.item)})),e}return(0,a.default)(n,[{key:"componentDidMount",value:function(){this.props.isNew&&this.props.onNewItemAdded(this.itemRef)}},{key:"render",value:function(){var e=this;return h.default.createElement("div",{ref:function(t){return e.itemRef=t},className:(0,m.default)("list-item qa-item-search-list-item",this.props.isNew&&"pulse-green")},h.default.createElement("span",{className:"item-name qa-item-search-list-item-name"},this.props.item.name),h.default.createElement("i",{className:"far fa-pro-trash-alt trash-icon clickable qa-item-search-list-remove-item-icon",onClick:this._handleClick}))}}]),n}(h.default.Component);(0,d.default)(C,"propTypes",{isNew:f.default.bool.affectsRendering,item:f.default.object.isRequired.affectsRendering,onRemoveItem:f.default.func.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TypeaheadStateful=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=n(282),v=n(20),g=r(n(11)),y=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"state",{pending:!1,value:""}),(0,f.default)((0,u.default)(e),"_handleChange",(function(t){e.setState({value:t}),e.props.onChange&&e.props.onChange(t)})),(0,f.default)((0,u.default)(e),"_handleQuery",function(){var t=(0,o.default)(i.default.mark((function t(n){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e._isMounted){t.next=9;break}return e.setState({pending:!0}),t.t0=e,t.next=5,e.props.onQuery(n);case 5:t.t1=t.sent,t.t2={suggestions:t.t1},t.t0.setState.call(t.t0,t.t2),e.setState({pending:!1});case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,f.default)((0,u.default)(e),"_handleSelected",(function(t){e.props.onItemSelected(t)})),e}return(0,s.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this._handleQuery=(0,v.sequential)(this._handleQuery)}},{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.value!==e.value&&this.setState({value:e.value})}},{key:"render",value:function(){return p.default.createElement(m.TypeaheadStateless,{debounceTime:this.props.debounceTime,className:this.props.className,accessories:this.props.accessories,autoFocus:this.props.autoFocus,pending:this.state.pending,suggestions:this.state.suggestions,suggestionsTemplate:this.props.suggestionsTemplate,placeholder:this.props.placeholder,onItemSelected:this._handleSelected,keepOpenOnBlur:this.props.keepOpenOnBlur,keyboardHints:this.props.keyboardHints,onQuery:this._handleQuery,value:this.state.value,onBlur:this.props.onBlur,onClear:this.props.onClear,onFocus:this.props.onFocus,onChange:this._handleChange,showDropDownButton:this.props.showDropDownButton,showSearchIcon:this.props.showSearchIcon,doNotCapture:this.props.doNotCapture})}}]),n}(p.default.Component);t.TypeaheadStateful=y,(0,f.default)(y,"displayName","TypeaheadStateful"),(0,f.default)(y,"propTypes",{onQuery:h.default.func.isRequired,onChange:h.default.func,onItemSelected:h.default.func.isRequired,showDropDownButton:h.default.bool,showSearchIcon:h.default.bool}),(0,f.default)(y,"defaultProps",{suggestionsTemplate:function(e){return e.name},placeholder:(0,g.default)("search"),debounceTime:100})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.MultiStepsForm=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(1)),m=n(14),v=n(269),g=n(589),y=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"state",{isOpen:p.default.Children.toArray(e.props.children).reduce((function(e,t,n){return e[n]=!(t.props&&t.props.closedOnInit),e}),{})}),(0,h.default)((0,l.default)(e),"closeStep",(function(t){var n=(0,m.clone)(e.state.isOpen);n[t]=!1,e.setState({isOpen:n})})),(0,h.default)((0,l.default)(e),"_gotoStep",(function(t){var n=(0,m.clone)(e.state.isOpen);Object.keys(n).forEach((function(e){return n[e]=!1})),n[t]=!0,e.setState({isOpen:n})})),(0,h.default)((0,l.default)(e),"_handleNextStep",function(){var t=(0,a.default)(o.default.mark((function t(n,r){var i;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=!0,!r.props.next.onClick){t.next=5;break}return t.next=4,r.props.next.onClick();case 4:i=t.sent;case 5:i&&e._gotoStep(n+1);case 6:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_handleEditStep",(function(t){e._gotoStep(t)})),(0,h.default)((0,l.default)(e),"_isOpen",(function(t){return e.state.isOpen[t]})),(0,h.default)((0,l.default)(e),"_shouldRenderContent",(function(t,n){return t.props.shouldRender||e._isOpen(n)})),(0,h.default)((0,l.default)(e),"_shouldRenderSummary",(function(t,n){return!e._isOpen(n)&&!e._shouldRenderContent(t,n)})),(0,h.default)((0,l.default)(e),"_shouldRenderNextButton",(function(t,n){return t&&!t.shouldHide&&e._isOpen(n)})),(0,h.default)((0,l.default)(e),"_isFormValid",(function(){return(0,m.every)(p.default.Children.toArray(e.props.children),(function(e){return!e.props.isValid||e.props.isValid()}))})),e}return(0,u.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){p.default.Children.map(this.props.children,(function(e){if(e.type!==v.FormStep)throw new Error("<MultiStepsForm> can only contain <FormStep>.")}),this)}},{key:"render",value:function(){return p.default.createElement(g.ViewOfMultiSteps,(0,i.default)({},this.props,this.state,{isFormValid:this._isFormValid,onNextStep:this._handleNextStep,onEditStep:this._handleEditStep,shouldRenderContent:this._shouldRenderContent,shouldRenderSummary:this._shouldRenderSummary,shouldRenderNextButton:this._shouldRenderNextButton}))}}]),n}(p.default.Component);t.MultiStepsForm=y,(0,h.default)(y,"displayName","MultiStepsForm")},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ViewOfMultiSteps=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=n(30),m=n(38),v=r(n(11));function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var y=function(e){(0,u.default)(n,e);var t=g(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a)),(0,d.default)((0,s.default)(e),"_renderFormStep",(function(t,n){return h.default.createElement("div",{key:n,className:"form-step-container qa-form-step-container"},h.default.createElement("div",{className:"form-step-header"},h.default.createElement("div",{className:"form-step-title qa-form-step-title"},t.props.title)),h.default.createElement("div",{className:"form-step-body"},h.default.createElement(m.If,{condition:e.props.shouldRenderContent(t,n)},t)),h.default.createElement("div",{className:"form-step-footer"},h.default.createElement(m.If,{condition:e.props.shouldRenderSummary(t,n)},h.default.createElement("div",{className:"form-step-summary"},h.default.createElement("div",{className:"form-step-summary__content qa-form-step-summary"},t.props.summary),h.default.createElement("div",{className:"form-step-summary__edit-button"},h.default.createElement("div",{className:"text-button text-button--green qa-form-step-edit-button",onClick:function(){return e.props.onEditStep(n)}},(0,v.default)("edit"))))),h.default.createElement(m.If,{condition:e.props.shouldRenderNextButton(t.props.next,n)},h.default.createElement("div",{className:"form-step-next-button"},h.default.createElement(b,(0,i.default)({},t.props.next,{onNextStep:function(){return e.props.onNextStep(n,t)},isValid:t.props.isValid}))))))})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this,t=this.props.children.map((function(t,n){return e._renderFormStep(t,n)}));return h.default.createElement("div",{className:"multi-steps-container"},t,h.default.createElement("div",{className:"form-submit-container"},h.default.createElement(p.LoaderButton,{disabled:!this.props.isFormValid(),loading:this.props.isSubmitting,onClick:this.props.onSubmit,value:"Submit",className:"green react-button--wide qa-multi-steps-form-submit-button"})))}}]),n}(h.default.Component);t.ViewOfMultiSteps=y,(0,d.default)(y,"displayName","ViewOfMultiSteps"),(0,d.default)(y,"propTypes",{isSubmitting:f.default.bool.isRequired,onSubmit:f.default.func.isRequired});var b=function(e){(0,u.default)(n,e);var t=g(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){return h.default.createElement(p.LoaderButton,{disabled:this.props.isValid&&!this.props.isValid(),loading:this.props.loading,onClick:this.props.onNextStep,value:this.props.label,className:"green react-button--wide qa-multi-steps-form-next-button"})}}]),n}(h.default.Component);(0,d.default)(b,"displayName","NextStep"),(0,d.default)(b,"defaultProps",{label:(0,v.default)("next-step")})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.PasswordRevealed=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(11)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleFocus",(function(e){e.target.select()})),e}return(0,o.default)(n,[{key:"render",value:function(){return f.default.createElement("div",{className:"password-revealed"},f.default.createElement("input",{className:"password-input",value:this.props.password,readOnly:!0,autoFocus:!0,onFocus:this._handleFocus}),this.props.showHelperText&&f.default.createElement("div",{className:"help-block"},(0,h.default)("password-will-hide")))}}]),n}(f.default.Component);t.PasswordRevealed=p,(0,c.default)(p,"displayName","PasswordRevealed"),(0,c.default)(p,"propTypes",{password:d.default.string,showHelperText:d.default.bool})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EnterPasswordInPreview=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(11)),h=n(30),p=n(35),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleKeyDown",(function(e){return e.stopPropagation()})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props,t=e.error,n=e.password,r=e.onChange,i=e.onApply,o=e.onCancel,a=e.isApplying,s=e.isEmpty,u=e.label;return d.default.createElement("div",{className:"enter-password-in-preview",onKeyDown:this._handleKeyDown},d.default.createElement("div",{className:"enter-password-in-preview-inner"},d.default.createElement("div",{className:"enter-password-title"},f.default.title("vault.enter-passphrase")),d.default.createElement("hr",null),d.default.createElement(p.FormTextField,{autoFocus:!0,autoComplete:"new-password",errorMessage:t,validations:["required"],type:"password",showRevealOption:!0,className:"password-input",label:u,value:n,onChange:r,onEnter:i,onEsc:o}),d.default.createElement("div",{className:"enter-password-action-buttons"},d.default.createElement(h.LoaderButton,{tabIndex:"1",className:"gray cancel-btn qa-cancel-button",value:f.default.title("cancel"),onClick:o,disabled:a}),d.default.createElement(h.LoaderButton,{tabIndex:"2",className:"ok-button default qa-ok-button",value:f.default.title("ok"),onClick:i,disabled:s||a}))))}}]),n}(d.default.Component);t.EnterPasswordInPreview=m},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EnterPasswordDialog=function(e){var t=e.error,n=e.password,r=e.onChange,u=e.onApply,l=e.onCancel,c=e.label,d=e.disableApplyButton;return i.default.createElement(s.Dialog,{className:"enter-password-dialog",attachToBody:e.attachToBody,disabled:e.isApplying,visible:e.visible,title:o.default.title("vault.enter-passphrase"),onCancel:l,onApply:u,disableApplyButton:d},i.default.createElement(a.FormTextField,{autoFocus:!0,autoComplete:"new-password",errorMessage:t,validations:["required"],validationKey:"passwordInput",type:"password",showRevealOption:!0,className:"password-input",label:c,value:n,onChange:r,onEnter:u,onEsc:l}))};var i=r(n(1)),o=r(n(11)),a=n(35),s=n(50)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ShowTOTP=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=r(n(11)),v=n(594),g=n(85),y=n(64),b=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"_getTOTP",(function(){if(e.generatorRef)return e.generatorRef.getTOTP()})),(0,f.default)((0,u.default)(e),"_handleAsyncCopy",(0,o.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.props.secret){t.next=4;break}return t.abrupt("return",e._getTOTP());case 4:return t.next=6,e.props.getSecret();case 6:return t.abrupt("return",new Promise((function(t){setTimeout((function(){t(e._getTOTP())}),50)})));case 7:case"end":return t.stop()}}),t)})))),e}return(0,s.default)(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.secret,r=t.getSecret,i=t.isLoading,o=t.onClose;return p.default.createElement("div",{className:"show-totp-row show-password-row qa-show-password-row dl-inner-container"},p.default.createElement("dt",null,(0,m.default)("one-time-password")),p.default.createElement("dd",null,n?p.default.createElement("div",{onClick:o},p.default.createElement(v.TOTPGenerator,{ref:function(t){return e.generatorRef=t},onClose:o,closeAfterRotation:10,secret:n})):p.default.createElement("div",null,p.default.createElement("div",{className:"react-button small btn-default show-totp show-password qa-show-totp",onClick:r},i?p.default.createElement(y.Spinner,{size:12}):p.default.createElement("i",{className:"fa fa-fw fa-eye"}),p.default.createElement("span",{className:"margin-xsmall-horizontal"},(0,m.default)("show-otp")))),p.default.createElement("div",{className:"--prevent-copy-button-flex-grow--"},p.default.createElement(g.CopyButton,{requiresAsyncCopy:!n,className:"copy-password-button qa-copy-password-button margin-xsmall-horizontal",loadSync:this._getTOTP,loadAsync:this._handleAsyncCopy,unsupportedTooltip:(0,m.default)("copy-to-clipboard-unsupported-otp"),onCopySuccess:this.props.onCopySuccess}))))}}]),n}(p.default.Component);t.ShowTOTP=b,(0,f.default)(b,"displayName","ShowTOTP"),(0,f.default)(b,"propTypes",{secret:h.default.string,getSecret:h.default.func,isLoading:h.default.bool,onClose:h.default.func.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TOTPGenerator=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(287),p=r(n(752)),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{totp:"",remaining:void 0}),(0,c.default)((0,a.default)(e),"_setupCloseTimer",(function(t){e.props.onClose&&e.props.closeAfterRotation&&!e._closeTimer&&(e._closeTimer=setTimeout((function(){e.props.onClose()}),1e3*(t+30*e.props.closeAfterRotation)))})),(0,c.default)((0,a.default)(e),"_clearCloseTimer",(function(){return clearTimeout(e._closeTimer)})),(0,c.default)((0,a.default)(e),"_onGenerate",(function(t){var n=t.remaining;e.setState({totp:t.totp,remaining:n}),e._setupCloseTimer(n)})),(0,c.default)((0,a.default)(e),"getTOTP",(function(){return e.state.totp})),(0,c.default)((0,a.default)(e),"_formatTOTPValue",(function(e){return[e.slice(0,3)," ",e.slice(3)].join("")})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this.props.secret&&(this.totpService=new h.TOTPService,this.totpService.subscribe(this.props.secret,this._onGenerate))}},{key:"componentDidUpdate",value:function(e){var t;this.props.secret!==e.secret&&(null===(t=this.totpService)||void 0===t||t.unsubscribe(),e.secret&&this._clearCloseTimer(),this.totpService||(this.totpService=new h.TOTPService),this.totpService.subscribe(this.props.secret,this._onGenerate))}},{key:"componentWillUnmount",value:function(){var e;null===(e=this.totpService)||void 0===e||e.unsubscribe()}},{key:"render",value:function(){var e=this._formatTOTPValue(this.state.totp);return f.default.createElement("div",{className:"totp-generator"},f.default.createElement("div",{className:"totp-viewer btn-default react-button show-password"},f.default.createElement(p.default,{now:h.STEP-this.state.remaining,max:h.STEP-1}),f.default.createElement("div",{className:"totp-value-container"},f.default.createElement("span",{className:"totp-value"},e))))}}]),n}(f.default.Component);t.TOTPGenerator=m,(0,c.default)(m,"displayName","TOTPGenerator"),(0,c.default)(m,"propTypes",{secret:d.default.string,onClose:d.default.func,closeAfterRotation:d.default.number})},function(e,t,n){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return i(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){(function(t){"use strict";var r=e("base64-js"),i=e("ieee754"),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;n.Buffer=t,n.SlowBuffer=function(e){return+e!=e&&(e=0),t.alloc(+e)},n.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=new Uint8Array(e);return Object.setPrototypeOf(n,t.prototype),n}function t(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,n)}function u(e,n,r){if("string"==typeof e)return function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var r=0|h(e,n),i=s(r),o=i.write(e,n);return o!==r&&(i=i.slice(0,o)),i}(e,n);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(N(e,ArrayBuffer)||e&&N(e.buffer,ArrayBuffer))return function(e,n,r){if(n<0||e.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(r||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),Object.setPrototypeOf(i,t.prototype),i}(e,n,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return t.from(i,n,r);var o=function(e){if(t.isBuffer(e)){var n=0|f(e.length),r=s(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||H(e.length)?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),n,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),s(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),n=s(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function h(e,n){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||N(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(e).length;default:if(o)return i?-1:B(e).length;n=(""+n).toLowerCase(),o=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,n,r,i,o){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),H(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof n&&(n=t.from(n,i)),t.isBuffer(n))return 0===n.length?-1:v(e,n,r,i,o);if("number"==typeof n)return n&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,n,r):Uint8Array.prototype.lastIndexOf.call(e,n,r):v(e,[n],r,i,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;f<u;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function g(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(H(s))return a;e[n+a]=s}return a}function y(e,t,n,r){return I(B(t,e.length-n),e,n,r)}function b(e,t,n,r){return I(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function _(e,t,n,r){return b(e,t,n,r)}function w(e,t,n,r){return I(j(t),e,n,r)}function E(e,t,n,r){return I(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function C(e,t,n){return r.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=k));return n}(r)}n.kMaxLength=a,(t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(t.prototype,Uint8Array.prototype),Object.setPrototypeOf(t,Uint8Array),t.alloc=function(e,t,n){return function(e,t,n){return l(e),e<=0?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)}(e,t,n)},t.allocUnsafe=function(e){return c(e)},t.allocUnsafeSlow=function(e){return c(e)},t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,n){if(N(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),N(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var r=e.length,i=n.length,o=0,a=Math.min(r,i);o<a;++o)if(e[o]!==n[o]){r=e[o],i=n[o];break}return r<i?-1:i<r?1:0},t.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,n){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return t.alloc(0);var r;if(void 0===n)for(n=0,r=0;r<e.length;++r)n+=e[r].length;var i=t.allocUnsafe(n),o=0;for(r=0;r<e.length;++r){var a=e[r];if(N(a,Uint8Array)&&(a=t.from(a)),!t.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},t.byteLength=h,t.prototype._isBuffer=!0,t.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},t.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},t.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},t.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):(function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return S(this,t,n);case"latin1":case"binary":return x(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}).apply(this,arguments)},t.prototype.toLocaleString=t.prototype.toString,t.prototype.equals=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===t.compare(this,e)},t.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},o&&(t.prototype[o]=t.prototype.inspect),t.prototype.compare=function(e,n,r,i,o){if(N(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),n<0||r>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&n>=r)return 0;if(i>=o)return-1;if(n>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(i>>>=0),s=(r>>>=0)-(n>>>=0),u=Math.min(a,s),l=this.slice(i,o),c=e.slice(n,r),d=0;d<u;++d)if(l[d]!==c[d]){a=l[d],s=c[d];break}return a<s?-1:s<a?1:0},t.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},t.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},t.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},t.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return g(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return b(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function S(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function x(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=z[e[o]];return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function T(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function F(e,n,r,i,o,a){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>o||n<a)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,r,o){return t=+t,n>>>=0,o||M(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return t=+t,n>>>=0,o||M(e,0,n,8),i.write(e,t,n,r,52,8),n+8}t.prototype.slice=function(e,n){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(n=void 0===n?r:~~n)<0?(n+=r)<0&&(n=0):n>r&&(n=r),n<e&&(n=e);var i=this.subarray(e,n);return Object.setPrototypeOf(i,t.prototype),i},t.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},t.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},t.prototype.readUInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},t.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},t.prototype.readInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||T(e,4,this.length),i.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||T(e,4,this.length),i.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||T(e,8,this.length),i.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||T(e,8,this.length),i.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||F(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},t.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||F(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},t.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},t.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);F(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},t.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},t.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},t.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},t.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},t.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},t.prototype.copy=function(e,n,r,i){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),n>=e.length&&(n=e.length),n||(n=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===e.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-n<i-r&&(i=e.length-n+r);var o=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(n,r,i);else if(this===e&&r<n&&n<i)for(var a=o-1;a>=0;--a)e[a+n]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),n);return o},t.prototype.fill=function(e,n,r,i){if("string"==typeof e){if("string"==typeof n?(i=n,n=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!t.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;var a;if(n>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=n;a<r;++a)this[a]=e;else{var s=t.isBuffer(e)?e:t.from(e,i),u=s.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-n;++a)this[a+n]=s[a%u]}return this};var R=/[^+\/0-9A-Za-z-_]/g;function B(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function N(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function H(e){return e!=e}var z=function(){for(var e=new Array(256),t=0;t<16;++t)for(var n=16*t,r=0;r<16;++r)e[n+r]="0123456789abcdef"[t]+"0123456789abcdef"[r];return e}()}).call(this,e("buffer").Buffer)},{"base64-js":2,buffer:5,ieee754:3}],2:[function(e,t,n){"use strict";n.byteLength=function(e){var t=l(e),n=t[1];return 3*(t[0]+n)/4-n},n.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(c(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o=[],a=t;a<n;a+=3)o.push(r[(i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},{}],3:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],4:[function(e,t,n){arguments[4][2][0].apply(n,arguments)},{dup:2}],5:[function(e,t,n){(function(t){"use strict";var r=e("base64-js"),i=e("ieee754");n.Buffer=t,n.SlowBuffer=function(e){return+e!=e&&(e=0),t.alloc(+e)},n.INSPECT_MAX_BYTES=50;var o=2147483647;function a(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=new Uint8Array(e);return n.__proto__=t.prototype,n}function t(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,n)}function s(e,n,r){if("string"==typeof e)return function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!t.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var r=0|f(e,n),i=a(r),o=i.write(e,n);return o!==r&&(i=i.slice(0,o)),i}(e,n);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(N(e,ArrayBuffer)||e&&N(e.buffer,ArrayBuffer))return function(e,n,r){if(n<0||e.byteLength<n)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<n+(r||0))throw new RangeError('"length" is outside of buffer bounds');var i;return(i=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r)).__proto__=t.prototype,i}(e,n,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return t.from(i,n,r);var o=function(e){if(t.isBuffer(e)){var n=0|d(e.length),r=a(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||H(e.length)?a(0):c(e):"Buffer"===e.type&&Array.isArray(e.data)?c(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return t.from(e[Symbol.toPrimitive]("string"),n,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),a(e<0?0:0|d(e))}function c(e){for(var t=e.length<0?0:0|d(e.length),n=a(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function d(e){if(e>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function f(e,n){if(t.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||N(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(e).length;default:if(o)return i?-1:B(e).length;n=(""+n).toLowerCase(),o=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function p(e,n,r,i,o){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),H(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof n&&(n=t.from(n,i)),t.isBuffer(n))return 0===n.length?-1:m(e,n,r,i,o);if("number"==typeof n)return n&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,n,r):Uint8Array.prototype.lastIndexOf.call(e,n,r):m(e,[n],r,i,o);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;f<u;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function v(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(H(s))return a;e[n+a]=s}return a}function g(e,t,n,r){return I(B(t,e.length-n),e,n,r)}function y(e,t,n,r){return I(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return y(e,t,n,r)}function _(e,t,n,r){return I(j(t),e,n,r)}function w(e,t,n,r){return I(function(e,t){for(var n,r,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return r.fromByteArray(0===t&&n===e.length?e:e.slice(t,n))}function C(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:a=e[i+2],128==(192&(o=e[i+1]))&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+2],s=e[i+3],128==(192&(o=e[i+1]))&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=A));return n}(r)}n.kMaxLength=o,(t.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(t.prototype,"parent",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.buffer}}),Object.defineProperty(t.prototype,"offset",{enumerable:!0,get:function(){if(t.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&t[Symbol.species]===t&&Object.defineProperty(t,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),t.poolSize=8192,t.from=function(e,t,n){return s(e,t,n)},t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array,t.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)}(e,t,n)},t.allocUnsafe=function(e){return l(e)},t.allocUnsafeSlow=function(e){return l(e)},t.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==t.prototype},t.compare=function(e,n){if(N(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),N(n,Uint8Array)&&(n=t.from(n,n.offset,n.byteLength)),!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;for(var r=e.length,i=n.length,o=0,a=Math.min(r,i);o<a;++o)if(e[o]!==n[o]){r=e[o],i=n[o];break}return r<i?-1:i<r?1:0},t.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},t.concat=function(e,n){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return t.alloc(0);var r;if(void 0===n)for(n=0,r=0;r<e.length;++r)n+=e[r].length;var i=t.allocUnsafe(n),o=0;for(r=0;r<e.length;++r){var a=e[r];if(N(a,Uint8Array)&&(a=t.from(a)),!t.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,o),o+=a.length}return i},t.byteLength=f,t.prototype._isBuffer=!0,t.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},t.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},t.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},t.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?C(this,0,e):(function(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return x(this,t,n);case"utf8":case"utf-8":return C(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return S(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}).apply(this,arguments)},t.prototype.toLocaleString=t.prototype.toString,t.prototype.equals=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===t.compare(this,e)},t.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},t.prototype.compare=function(e,n,r,i,o){if(N(e,Uint8Array)&&(e=t.from(e,e.offset,e.byteLength)),!t.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),n<0||r>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&n>=r)return 0;if(i>=o)return-1;if(n>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(i>>>=0),s=(r>>>=0)-(n>>>=0),u=Math.min(a,s),l=this.slice(i,o),c=e.slice(n,r),d=0;d<u;++d)if(l[d]!==c[d]){a=l[d],s=c[d];break}return a<s?-1:s<a?1:0},t.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},t.prototype.indexOf=function(e,t,n){return p(this,e,t,n,!0)},t.prototype.lastIndexOf=function(e,t,n){return p(this,e,t,n,!1)},t.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return g(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function k(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function S(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function x(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=R(e[o]);return i}function D(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function O(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function T(e,n,r,i,o,a){if(!t.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>o||n<a)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function F(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function M(e,t,n,r,o){return t=+t,n>>>=0,o||F(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function P(e,t,n,r,o){return t=+t,n>>>=0,o||F(e,0,n,8),i.write(e,t,n,r,52,8),n+8}t.prototype.slice=function(e,n){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(n=void 0===n?r:~~n)<0?(n+=r)<0&&(n=0):n>r&&(n=r),n<e&&(n=e);var i=this.subarray(e,n);return i.__proto__=t.prototype,i},t.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},t.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},t.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},t.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},t.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},t.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},t.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},t.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},t.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},t.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},t.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},t.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},t.prototype.readFloatLE=function(e,t){return e>>>=0,t||O(e,4,this.length),i.read(this,e,!0,23,4)},t.prototype.readFloatBE=function(e,t){return e>>>=0,t||O(e,4,this.length),i.read(this,e,!1,23,4)},t.prototype.readDoubleLE=function(e,t){return e>>>=0,t||O(e,8,this.length),i.read(this,e,!0,52,8)},t.prototype.readDoubleBE=function(e,t){return e>>>=0,t||O(e,8,this.length),i.read(this,e,!1,52,8)},t.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||T(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},t.prototype.writeUIntBE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||T(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},t.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,1,255,0),this[t]=255&e,t+1},t.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},t.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);T(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},t.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);T(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},t.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},t.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},t.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},t.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},t.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||T(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},t.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},t.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},t.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},t.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},t.prototype.copy=function(e,n,r,i){if(!t.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),n>=e.length&&(n=e.length),n||(n=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===e.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-n<i-r&&(i=e.length-n+r);var o=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(n,r,i);else if(this===e&&r<n&&n<i)for(var a=o-1;a>=0;--a)e[a+n]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),n);return o},t.prototype.fill=function(e,n,r,i){if("string"==typeof e){if("string"==typeof n?(i=n,n=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!t.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}else"number"==typeof e&&(e&=255);if(n<0||this.length<n||this.length<r)throw new RangeError("Out of range index");if(r<=n)return this;var a;if(n>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=n;a<r;++a)this[a]=e;else{var s=t.isBuffer(e)?e:t.from(e,i),u=s.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-n;++a)this[a+n]=s[a%u]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function R(e){return e<16?"0"+e.toString(16):e.toString(16)}function B(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function N(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function H(e){return e!=e}}).call(this,e("buffer").Buffer)},{"base64-js":4,buffer:5,ieee754:6}],6:[function(e,t,n){arguments[4][3][0].apply(n,arguments)},{dup:3}]},{},[1])(1)},function(e,t,n){(function(t){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,(function(t){return e[t]}).bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=12)}([function(e,t,n){var r;e.exports=r=r||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++)t[r+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(r+o)%4*8;else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){t=t;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=i(4294967296*(n||e.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,t)}}),s=r.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},l=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++)r.push(String.fromCharCode(t[i>>>2]>>>24-i%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},c=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,l=e.min(4*u,i);if(u){for(var c=0;c<u;c+=o)this._doProcessBlock(r,c);var d=r.splice(0,u);n.sigBytes-=l}return new a.init(d,l)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),f=(i.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new f.HMAC.init(e,n).finalize(t)}}}),r.algo={});return r}(Math)},function(e,t,n){var r,i,o;e.exports=(i=(r=n(0)).lib.Base,o=r.enc.Utf8,void(r.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var n=e.blockSize,r=4*n;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,u=a.words,l=0;l<n;l++)s[l]^=1549556828,u[l]^=909522486;i.sigBytes=a.sigBytes=r,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})))},function(e,t,n){e.exports=n(0).enc.Hex},function(e,t,n){var r,i,o,a,s,u;e.exports=(i=(r=u=n(0)).lib,o=i.Base,a=i.WordArray,(s=r.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var i=e[r];n.push(i.high),n.push(i.low)}return a.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}}),u)},function(e,t,n){var r;e.exports=(r=n(0),n(9),n(1),r.HmacSHA1)},function(e,t,n){var r;e.exports=(r=n(0),n(10),n(1),r.HmacSHA256)},function(e,t,n){var r;e.exports=(r=n(0),n(3),n(11),n(1),r.HmacSHA512)},function(e,t){function n(e,t){var n=e.indexOf(t);if(-1===n)throw new Error("Invalid character found: "+t);return n}e.exports=function(e,t){var r;switch(t){case"RFC3548":case"RFC4648":r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",e=e.replace(/=+$/,"");break;case"RFC4648-HEX":r="0123456789ABCDEFGHIJKLMNOPQRSTUV",e=e.replace(/=+$/,"");break;case"Crockford":r="0123456789ABCDEFGHJKMNPQRSTVWXYZ",e=e.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1");break;default:throw new Error("Unknown base32 variant: "+t)}for(var i=e.length,o=0,a=0,s=0,u=new Uint8Array(5*i/8|0),l=0;l<i;l++)a=a<<5|n(r,e[l]),(o+=5)>=8&&(u[s++]=a>>>o-8&255,o-=8);return u.buffer}},function(e,t){e.exports=function(e,t,n){var r,i;switch(n=n||{},t){case"RFC3548":case"RFC4648":r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",i=!0;break;case"RFC4648-HEX":r="0123456789ABCDEFGHIJKLMNOPQRSTUV",i=!0;break;case"Crockford":r="0123456789ABCDEFGHJKMNPQRSTVWXYZ",i=!1;break;default:throw new Error("Unknown base32 variant: "+t)}for(var o=void 0!==n.padding?n.padding:i,a=e.byteLength,s=new Uint8Array(e),u=0,l=0,c="",d=0;d<a;d++)for(l=l<<8|s[d],u+=8;u>=5;)c+=r[l>>>u-5&31],u-=5;if(u>0&&(c+=r[l<<5-u&31]),o)for(;c.length%8!=0;)c+="=";return c}},function(e,t,n){var r,i,o,a,s,u,l;e.exports=(i=(r=l=n(0)).lib,o=i.WordArray,s=[],u=r.algo.SHA1=(a=i.Hasher).extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],u=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var c=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=c<<1|c>>>31}var d=(r<<5|r>>>27)+u+s[l];d+=l<20?1518500249+(i&o|~i&a):l<40?1859775393+(i^o^a):l<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,u=a,a=o,o=i<<30|i>>>2,i=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u),l.SHA1)},function(e,t,n){var r;e.exports=(r=n(0),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,s=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),u[i]=n(e.pow(r,1/3)),i++),r++}();var l=[],c=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],d=n[6],f=n[7],h=0;h<64;h++){if(h<16)l[h]=0|e[t+h];else{var p=l[h-15],m=l[h-2];l[h]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+l[h-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+l[h-16]}var v=r&i^r&o^i&o,g=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&d)+u[h]+l[h];f=d,d=c,c=s,s=a+g|0,a=o,o=i,i=r,r=g+(((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(c),t.HmacSHA256=o._createHmacHelper(c)}(Math),r.SHA256)},function(e,t,n){var r;e.exports=(r=n(0),n(3),function(){var e=r,t=e.lib.Hasher,n=e.x64,i=n.Word,o=n.WordArray,a=e.algo;function s(){return i.create.apply(i,arguments)}var u=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var c=a.SHA512=t.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],d=n[6],f=n[7],h=r.high,p=r.low,m=i.high,v=i.low,g=o.high,y=o.low,b=a.high,_=a.low,w=s.high,E=s.low,C=c.high,A=c.low,k=d.high,S=d.low,x=f.high,D=f.low,O=h,T=p,F=m,M=v,P=g,L=y,R=b,B=_,j=w,I=E,N=C,H=A,z=k,Y=S,U=x,V=D,$=0;$<80;$++){var W=l[$];if($<16)var G=W.high=0|e[t+2*$],q=W.low=0|e[t+2*$+1];else{var K=l[$-15],X=K.high,Z=K.low,J=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),Q=l[$-2],ee=Q.high,te=Q.low,ne=(te>>>19|ee<<13)^(te<<3|ee>>>29)^(te>>>6|ee<<26),re=l[$-7],ie=l[$-16],oe=ie.low;G=(G=(G=((X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7)+re.high+((q=J+re.low)>>>0<J>>>0?1:0))+((ee>>>19|te<<13)^(ee<<3|te>>>29)^ee>>>6)+((q+=ne)>>>0<ne>>>0?1:0))+ie.high+((q+=oe)>>>0<oe>>>0?1:0),W.high=G,W.low=q}var ae,se=j&N^~j&z,ue=I&H^~I&Y,le=O&F^O&P^F&P,ce=(T>>>28|O<<4)^(T<<30|O>>>2)^(T<<25|O>>>7),de=u[$],fe=de.low,he=U+((j>>>14|I<<18)^(j>>>18|I<<14)^(j<<23|I>>>9))+((ae=V+((I>>>14|j<<18)^(I>>>18|j<<14)^(I<<23|j>>>9)))>>>0<V>>>0?1:0),pe=ce+(T&M^T&L^M&L);U=z,V=Y,z=N,Y=H,N=j,H=I,j=R+(he=(he=(he=he+se+((ae+=ue)>>>0<ue>>>0?1:0))+de.high+((ae+=fe)>>>0<fe>>>0?1:0))+G+((ae+=q)>>>0<q>>>0?1:0))+((I=B+ae|0)>>>0<B>>>0?1:0)|0,R=P,B=L,P=F,L=M,F=O,M=T,O=he+(((O>>>28|T<<4)^(O<<30|T>>>2)^(O<<25|T>>>7))+le+(pe>>>0<ce>>>0?1:0))+((T=ae+pe|0)>>>0<ae>>>0?1:0)|0}p=r.low=p+T,r.high=h+O+(p>>>0<T>>>0?1:0),v=i.low=v+M,i.high=m+F+(v>>>0<M>>>0?1:0),y=o.low=y+L,o.high=g+P+(y>>>0<L>>>0?1:0),_=a.low=_+B,a.high=b+R+(_>>>0<B>>>0?1:0),E=s.low=E+I,s.high=w+j+(E>>>0<I>>>0?1:0),A=c.low=A+H,c.high=C+N+(A>>>0<H>>>0?1:0),S=d.low=S+Y,d.high=k+z+(S>>>0<Y>>>0?1:0),D=f.low=D+V,f.high=x+U+(D>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(c),e.HmacSHA512=t._createHmacHelper(c)}(),r.SHA512)},function(e,n,r){"use strict";r.r(n);var i,o=r(0),a=r.n(o),s=r(4),u=r.n(s),l=r(5),c=r.n(l),d=r(6),f=r.n(d),h=r(2),p=r.n(h);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){return Object.keys(e).map((function(t){return e[t]}))}!function(e){e.SHA1="sha1",e.SHA256="sha256",e.SHA512="sha512"}(i||(i={}));var b,_=y(i);!function(e){e.ASCII="ascii",e.BASE64="base64",e.HEX="hex",e.LATIN1="latin1",e.UTF8="utf8"}(b||(b={}));var w,E=y(b);!function(e){e.HOTP="hotp",e.TOTP="totp"}(w||(w={}));var C=y(w),A=function(){throw new Error("Please provide an options.createDigest implementation.")};function k(e){return/^(\d+)$/.test(e)}function S(e,t,n){if(e.length>=t)return e;var r=Array(t+1).join(n);return"".concat(r).concat(e).slice(-1*t)}function x(e){var t="otpauth://".concat(e.type,"/{labelPrefix}:{accountName}?secret={secret}{query}"),n=[];if(C.indexOf(e.type)<0)throw new Error("Expecting options.type to be one of ".concat(C.join(", "),". Received ").concat(e.type,"."));if("hotp"===e.type){if(null==e.counter||"number"!=typeof e.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');n.push("&counter=".concat(e.counter))}return"totp"===e.type&&e.step&&n.push("&period=".concat(e.step)),e.digits&&n.push("&digits=".concat(e.digits)),e.algorithm&&n.push("&algorithm=".concat(e.algorithm.toUpperCase())),e.issuer&&n.push("&issuer=".concat(encodeURIComponent(e.issuer))),t.replace("{labelPrefix}",encodeURIComponent(e.issuer||e.accountName)).replace("{accountName}",encodeURIComponent(e.accountName)).replace("{secret}",e.secret).replace("{query}",n.join(""))}function D(e){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){return!t||"object"!==D(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e){if("function"!=typeof e.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof e.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof e.digits)throw new Error("Expecting options.digits to be a number.");if(!e.algorithm||_.indexOf(e.algorithm)<0)throw new Error("Expecting options.algorithm to be one of ".concat(_.join(", "),". Received ").concat(e.algorithm,"."));if(!e.encoding||E.indexOf(e.encoding)<0)throw new Error("Expecting options.encoding to be one of ".concat(E.join(", "),". Received ").concat(e.encoding,"."))}var R=function(e,n,r){return t.from(n,r).toString("hex")};function B(e,n,r){return function(e,n){var r=t.from(e,"hex"),i=15&r[r.length-1],o=((127&r[i])<<24|(255&r[i+1])<<16|(255&r[i+2])<<8|255&r[i+3])%Math.pow(10,n);return S(String(o),n,"0")}(r.digest||function(e,t,n){var r=function(e){return S(e.toString(16),16,"0")}(t),i=n.createHmacKey(n.algorithm,e,n.encoding);return n.createDigest(n.algorithm,i,r)}(e,n,r),r.digits)}var j=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),O(this,T(t).apply(this,arguments))}var n;return 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&&F(e,t)}(t,e),(n=[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t(e)}},{key:"allOptions",value:function(){return function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){P(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{algorithm:i.SHA1,createHmacKey:R,createDigest:A,digits:6,encoding:b.ASCII},{},e);return L(t),Object.freeze(t)}(this.options)}},{key:"generate",value:function(e,t){return B(e,t,this.allOptions())}},{key:"check",value:function(e,t,n){return function(e,t,n,r){return!!k(e)&&e===B(t,n,r)}(e,t,n,this.allOptions())}},{key:"verify",value:function(e){if("object"!==D(e))throw new Error("Expecting argument 0 of verify to be an object");return this.check(e.token,e.secret,e.counter)}},{key:"keyuri",value:function(e,t,n,r){return function(e,t,n,r,i){return x({algorithm:i.algorithm,digits:i.digits,type:w.HOTP,accountName:e,counter:r,issuer:t,secret:n})}(e,t,n,r,this.allOptions())}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),t}(function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._defaultOptions=Object.freeze(v({},t)),this._options=Object.freeze({})}var t;return(t=[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new e(t)}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.create(v({},this._defaultOptions,{},e));return t.options=this._options,t}},{key:"allOptions",value:function(){return this.options}},{key:"resetOptions",value:function(){this._options=Object.freeze({})}},{key:"options",get:function(){return Object.freeze(v({},this._defaultOptions,{},this._options))},set:function(e){this._options=Object.freeze(v({},this._options,{},e))}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}());function I(e){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function N(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(e){if("number"==typeof e)return[Math.abs(e),Math.abs(e)];if(Array.isArray(e)){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(e),n=t[0],r=t[1];if("number"==typeof n&&"number"==typeof r)return[Math.abs(n),Math.abs(r)]}throw new Error("Expecting options.window to be an number or [number, number].")}function W(e){if(L(e),$(e.window),"number"!=typeof e.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof e.step)throw new Error("Expecting options.step to be a number.")}var G=function(e,n,r){var i=e.length,o=t.from(e,n).toString("hex");if(i<r){var a=new Array(r-i+1).join(o);return t.from(a,"hex").slice(0,r).toString("hex")}return o},q=function(e,t,n){switch(e){case i.SHA1:return G(t,n,20);case i.SHA256:return G(t,n,32);case i.SHA512:return G(t,n,64);default:throw new Error("Expecting algorithm to be one of ".concat(_.join(", "),". Received ").concat(e,"."))}};function K(e,t){return B(e,Math.floor(t.epoch/t.step/1e3),t)}function X(e,t,n,r){var i=[];if(0===r)return i;for(var o=1;o<=r;o++)i.push(e+t*o*n);return i}function Z(e,t,n){return!!k(e)&&e===K(t,n)}function J(e,t,n,r){var i=null;return e.some((function(e,o){return!!Z(t,n,U({},r,{epoch:e}))&&(i=o+1,!0)})),i}function Q(e,t,n){if(Z(e,t,n))return 0;var r,i,o,a={current:r=n.epoch,past:X(r,-1,o=1e3*n.step,(i=$(n.window))[0]),future:X(r,1,o,i[1])},s=J(a.past,e,t,n);return null!==s?-1*s:J(a.future,e,t,n)}function ee(e,t){return Math.floor(e/1e3)%t}var te=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),N(this,H(t).apply(this,arguments))}var n;return 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&&z(e,t)}(t,e),(n=[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t(e)}},{key:"allOptions",value:function(){return function(e){var t=U({},{algorithm:i.SHA1,createDigest:A,createHmacKey:q,digits:6,encoding:b.ASCII,epoch:Date.now(),step:30,window:0},{},e);return W(t),Object.freeze(t)}(this.options)}},{key:"generate",value:function(e){return K(e,this.allOptions())}},{key:"checkDelta",value:function(e,t){return Q(e,t,this.allOptions())}},{key:"check",value:function(e,t){return"number"==typeof this.checkDelta(e,t)}},{key:"verify",value:function(e){if("object"!==I(e))throw new Error("Expecting argument 0 of verify to be an object");return this.check(e.token,e.secret)}},{key:"timeRemaining",value:function(){var e,t=this.allOptions();return(e=t.step)-ee(t.epoch,e)}},{key:"timeUsed",value:function(){var e=this.allOptions();return ee(e.epoch,e.step)}},{key:"keyuri",value:function(e,t,n){return function(e,t,n,r){return x({algorithm:r.algorithm,digits:r.digits,step:r.step,type:w.TOTP,accountName:e,issuer:t,secret:n})}(e,t,n,this.allOptions())}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),t}(j);function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(e,t){return!t||"object"!==ne(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){return t.keyEncoder(e,t.encoding)}function le(e,t){return t.keyDecoder(e,t.encoding)}function ce(e,t){return ue(t.createRandomBytes(e,t.encoding),t)}var de=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),re(this,ie(t).apply(this,arguments))}var n;return 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&&oe(e,t)}(t,e),(n=[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t(e)}},{key:"allOptions",value:function(){return function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{algorithm:i.SHA1,createDigest:A,createHmacKey:q,digits:6,encoding:b.HEX,epoch:Date.now(),step:30,window:0},{},e);return function(e){if(W(e),"function"!=typeof e.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(e.keyEncoder&&"function"!=typeof e.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}(t),Object.freeze(t)}(this.options)}},{key:"generate",value:function(e){return function(e,t){return K(le(e,t),t)}(e,this.allOptions())}},{key:"checkDelta",value:function(e,t){return function(e,t,n){return Q(e,le(t,n),n)}(e,t,this.allOptions())}},{key:"encode",value:function(e){return ue(e,this.allOptions())}},{key:"decode",value:function(e){return le(e,this.allOptions())}},{key:"generateSecret",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return ce(e,this.allOptions())}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,n),t}(te),fe=a.a.lib.WordArray,he=function(e,t,n){var r=function(e){switch(e){case i.SHA1:return u.a;case i.SHA256:return c.a;case i.SHA512:return f.a;default:throw new Error("Expecting argument 0 to be one of ".concat(_.join(", "),". Received ").concat(e,"."))}}(e),o=p.a.parse(n),a=p.a.parse(t);return String(r(o,a))},pe=r(7),me=r.n(pe),ve=r(8),ge=r.n(ve);function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r.d(n,"hotp",(function(){return be})),r.d(n,"totp",(function(){return _e})),r.d(n,"authenticator",(function(){return we})),"object"===("undefined"==typeof window?"undefined":ye(window))&&void 0===window.Buffer&&(window.Buffer=buffer.Buffer);var be=new j({createDigest:he}),_e=new te({createDigest:he}),we=new de({createDigest:he,createRandomBytes:function(e,n){var r=fe.random(e);return t.from(r.toString(),"hex").toString(n)},keyDecoder:function(e,n){var r=me()(e.toUpperCase(),"RFC4648");return t.from(r).toString(n)},keyEncoder:function(e,n){return ge()(t.from(e,n),"RFC4648",{padding:!1})}})}])}).call(this,n(62).Buffer)},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.withGetPasswordValueAndOTP=function(e){function t(t){var n,r=(0,l.useState)(!1),i=(0,u.default)(r,2),c=i[0],d=i[1],f=(0,l.useState)(),h=(0,u.default)(f,2),p=h[0],m=h[1],v=function(){return m(void 0)};(0,l.useEffect)((function(){v()}),[null===(n=t.password)||void 0===n?void 0:n.id]);var g=function(){var e=(0,s.default)(a.default.mark((function e(n){var r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),e.next=3,t.getPasswordValueAndOTP(n);case 3:return(r=e.sent).error||m(r.body.data.attributes["otp-secret"]),d(!1),e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=(0,s.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g(t);case 2:if((n=e.sent).error){e.next=6;break}return e.abrupt("return",n.body.data.attributes.password);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return l.default.createElement(e,(0,o.default)({},t,{isLoadingPasswordSecrets:c,secret:p,loadPasswordSync:function(e){return g(e),t.loadPasswordSync(e)},loadPasswordAsync:y,getPasswordWithOTP:g,onClearSecret:v}))}return t.displayName="".concat(e.displayName," withGetPasswordValueAndOTP"),t.propTypes={getPasswordValueAndOTP:c.default.func.isRequired,loadPasswordSync:c.default.func.isRequired,password:c.default.basicApiResource},t};var o=i(n(19)),a=i(n(17)),s=i(n(18)),u=i(n(113)),l=r(n(1)),c=i(n(2))},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ResizeTextArea=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=r(n(14)),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{text:e.props.value}),(0,c.default)((0,a.default)(e),"_handleFieldChange",(function(){var t=e.getText();e.props.onChange(t)})),(0,c.default)((0,a.default)(e),"getText",(function(){return e.editor.innerText})),(0,c.default)((0,a.default)(e),"clear",(function(){e.setState({text:""})})),(0,c.default)((0,a.default)(e),"insertTextAtCursor",(function(e){var t,n;if(window.getSelection){if((t=window.getSelection()).getRangeAt&&t.rangeCount){(n=t.getRangeAt(0)).deleteContents();var r=document.createTextNode(e);n.insertNode(r),t.removeAllRanges(),(n=n.cloneRange()).selectNode(r),n.collapse(!1),t.addRange(n)}}else document.selection&&document.selection.createRange&&((n=document.selection.createRange()).pasteHTML(e),n.select())})),(0,c.default)((0,a.default)(e),"_handlePaste",(function(t){t.preventDefault();var n=t.clipboardData.getData("text");e.insertTextAtCursor(n),e._handleFieldChange()})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.value!==this.getText()&&this.setState({text:e.value})}},{key:"render",value:function(){var e=this;return f.default.createElement("div",{contentEditable:!0,className:(0,h.default)("resize-text-area",this.props.className),onPaste:this._handlePaste,onInput:this._handleFieldChange,placeholder:this.props.placeholder,onFocus:this.props.onFocus,onBlur:this.props.onBlur,ref:function(t){return e.editor=t},dangerouslySetInnerHTML:{__html:this.state.text}})}}]),n}(f.default.Component);t.ResizeTextArea=m,(0,c.default)(m,"displayName","ResizeTextArea"),(0,c.default)(m,"propTypes",{autoFocus:d.default.bool,onChange:d.default.func}),(0,c.default)(m,"defaultProps",{value:"",onFocus:p.default.noop,onBlur:p.default.noop,onChange:p.default.noop})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.RockerButton=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(34)),p=r(n(12)),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleClick",(function(t){if(!e.props.disabled){var n=parseInt(t.target.getAttribute("data-index"));e.props.onClick(e.props.labels[n],n)}})),(0,c.default)((0,a.default)(e),"_throttledResize",(function(){h.default.throttledResize(e.componentDidUpdate.bind((0,a.default)(e)))})),(0,c.default)((0,a.default)(e),"updateSelector",(function(){if(e.refs.selector){var t=e.refs.container.childNodes[e.props.selected],n=0,r=0;0===e.props.selected&&(n=1,r=-1),e.props.selected===e.refs.container.childNodes.length-2&&(n=3),e.refs.selector.style.width="".concat(t.clientWidth+n,"px"),e.refs.selector.style.left="".concat(t.offsetLeft||r,"px")}})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this._throttledResize),this.updateSelector()}},{key:"componentDidUpdate",value:function(){this.updateSelector()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._throttledResize)}},{key:"render",value:function(){var e=this;return f.default.createElement("div",{className:(0,p.default)("rocker-button",this.props.className),ref:"container"},this.props.labels.map((function(t,n){return f.default.createElement("div",{className:"react-button qa-react-button","data-index":n,key:n,onClick:e._handleClick},t)})),"number"==typeof this.props.selected&&this.props.selected>=0?f.default.createElement("div",{className:"selector",ref:"selector"}):null)}}]),n}(f.default.Component);t.RockerButton=m,(0,c.default)(m,"displayName","RockerButton"),(0,c.default)(m,"propTypes",{className:d.default.string.affectsRendering,disabled:d.default.bool.affectsRendering,labels:d.default.array.affectsRendering,selected:d.default.number.affectsRendering})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.URLRow=void 0;var i=r(n(1)),o=n(25),a=r(n(11));t.URLRow=function(e){return e.url?i.default.createElement("div",{className:"dl-inner-container"},i.default.createElement("dt",null,(0,a.default)("url")),i.default.createElement("dd",null,i.default.createElement("a",{target:"_blank",href:(0,o.getClickableURL)(e.url)},e.name))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EmbeddedAsset=void 0;var i=r(n(1)),o=r(n(2)),a=function(e){return e.assetName&&e.assetLink?i.default.createElement("div",{className:"dl-inner-container"},i.default.createElement("dt",null,e.assetTypeName),i.default.createElement("dd",null,i.default.createElement("a",{target:e.inNewTab?"_blank":"_self",href:e.assetLink},e.assetName))):null};t.EmbeddedAsset=a,a.propTypes={inNewTab:o.default.bool,assetName:o.default.string,assetLink:o.default.string,assetTypeName:o.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SyncWidget=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(46)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(1)),m=r(n(20)),v=r(n(11)),g=r(n(12)),y=r(n(2)),b=n(22),_=n(606),w=v.default.title,E={Enable:"enable",Disable:"disable",Sync:"sync"},C=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return e=t.call.apply(t,[this].concat(u)),(0,h.default)((0,l.default)(e),"state",{synchronizing:!1,syncPending:!1}),(0,h.default)((0,l.default)(e),"_showAlert",(function(t,n){var r,i;e.props.showAlert&&(i="success"===t.status?["success",(0,v.default)("sync.".concat(n,"-success"))]:["error",(0,v.default)("sync.".concat(n,"-error"))],(r=e.props).showAlert.apply(r,(0,a.default)(i)))})),(0,h.default)((0,l.default)(e),"_updateAdapterSync",(function(t,r,i){!e.props.setAdapterSync||"success"!==t.status||r!==n.ConfigureMethods.Enable&&r!==n.ConfigureMethods.Disable||e.props.setAdapterSync(i,r===n.ConfigureMethods.Enable)})),(0,h.default)((0,l.default)(e),"_handleConfigure",function(){var t=(0,o.default)(i.default.mark((function t(n,r){var o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.configureAdapter(n,r);case 2:return e._showAlert(o=t.sent,n),e._updateAdapterSync(o,n,r),t.abrupt("return",o);case 6:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_syncNow",(0,o.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.props.synchronizing){t.next=6;break}return e.setState({synchronizing:!0}),t.next=4,e._handleConfigure(E.Sync,e.props.adapter.id);case 4:e.setState({synchronizing:!1,syncPending:"success"===t.sent.status});case 6:case"end":return t.stop()}}),t)})))),(0,h.default)((0,l.default)(e),"_getWidgetTitle",(function(t,n){return e.props.title?e.props.title:t?(0,v.default)("tickets.updated-with-integration-updatedat",{integration:n,timestamp:m.default.durationSince(t)}):(0,v.default)("sync.not-synced",{name:n})})),e}return(0,u.default)(n,[{key:"render",value:function(){var e;if(!this.props.adapter||!this.props.adapter.attributes)return null;var t=this.props.adapter.attributes.orphaned,n=this.props.adapter.attributes["adapter-name"],r=this.props.adapter.attributes["last-pulled-at"],i=this.props.adapter.attributes["manage-url"],o=this.props.adapter.attributes.isRmm,a=this.props.adapter.attributes["remote-id"],s=this.props.adapter.attributes.errors,u=(null==s?void 0:s.length)>0,l=i&&(this.props.canUpdate()||o),c=o&&this.props.organizationId&&this.props.configurationId,d=this.props.canUpdate()&&(a||this.props.adapter.attributes["support-single-device-sync"]),f=!o&&this.props.canUpdate();return p.default.createElement("div",{className:"sync-widget"},p.default.createElement("div",{className:"sync-widget-icon"},this.props.icon||p.default.createElement("img",{alt:"small",src:this.props.adapter.attributes["adapter-logo-url"]})),p.default.createElement("div",{className:"sync-widget-content"},p.default.createElement("div",{className:"sync-widget-title"},this._getWidgetTitle(r,n),t&&p.default.createElement(b.Icon,{fw:!0,name:"plug",className:"synced-with__icon color-orange",title:(0,v.default)("sync.tooltips.orphaned")}),u&&p.default.createElement(b.Icon,{fw:!0,name:"exclamation-triangle",className:"synced-with__icon color-red",title:(0,v.default)("sync.tooltips.sync-error")})),p.default.createElement("div",{className:"sync-widget-actions"},l&&p.default.createElement("a",{className:"manage-adapter-link",href:i,target:"_blank"},w("sync.manage")),c&&p.default.createElement("a",{className:"compare-data-link",href:"/".concat(this.props.organizationId,"/configurations/").concat(this.props.configurationId,"?compare=true")},w("sync.compare-data")),d&&p.default.createElement(A,{synchronizing:this.state.synchronizing,syncPending:this.state.syncPending||this.props.adapter.attributes["pending-pull"],syncNow:this._syncNow}),f&&p.default.createElement(k,{id:this.props.adapter.id,syncEnabled:this.props.adapter.attributes.sync,configureAdapter:this._handleConfigure}),null===(e=this.props.extraActions)||void 0===e?void 0:e.map((function(e,t){return e(t)}))),!o&&p.default.createElement("div",{className:"sync-widget-help-text text-muted"},u&&p.default.createElement("div",{className:"sync-widget-errors"},p.default.createElement(_.SyncErrors,{errors:s,name:n})),t&&p.default.createElement("div",{className:"sync-widget-orphaned"},(0,v.default)("sync.orphaned-adapter",{name:n})),!a&&p.default.createElement("div",{className:"sync-widget-no-remote"},(0,v.default)("sync.not-synced-help-text",{name:n})))))}}]),n}(p.default.Component);t.SyncWidget=C,(0,h.default)(C,"displayName","SyncWidget"),(0,h.default)(C,"propTypes",{organizationId:y.default.stringOrNumber,configurationId:y.default.stringOrNumber,adapter:y.default.basicApiResource,configureAdapter:y.default.func,extraActions:y.default.arrayOf(y.default.func),title:y.default.string}),(0,h.default)(C,"defaultProps",{canUpdate:function(){return!0}}),(0,h.default)(C,"ConfigureMethods",E);var A=function(e){var t=e.synchronizing,n=e.syncNow;return p.default.createElement("span",{className:"sync-now-container"},e.syncPending?p.default.createElement("span",{className:"sync-widget-actions-sync-pending"},(0,v.default)("sync.sync-pending")):p.default.createElement("a",{className:(0,g.default)("sync-now-link",t&&"sync-widget-link-synchronizing"),onClick:n},(0,v.default)("sync.sync-now")))},k=function(e){var t=e.syncEnabled,n=e.configureAdapter,r=e.id,i=t?E.Disable:E.Enable,o=(0,v.default)(t?"sync.disable-sync":"sync.enable-sync");return p.default.createElement("a",{className:"toggle-sync-link",onClick:function(){return n(i,r)}},o)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SyncErrors=function(e){var t=e.errors,n=e.name;return d.default.createElement("div",{className:"sync-errors"},(void 0===t?[]:t).map((function(e){return d.default.createElement(p,{key:e.id,error:e,name:n})})))};var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(11));function h(e){var t=e.error.push;return d.default.createElement("span",{className:"sync-error-title"},(0,f.default)("sync.error-in-adapter",{name:e.name,action:t?"push":"pull",fromTo:t?"to":"from"}))}var p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{showMessages:!1,showRawResponse:!1}),(0,c.default)((0,a.default)(e),"_toggleMessages",(function(){return e.setState({showMessages:!e.state.showMessages})})),(0,c.default)((0,a.default)(e),"_toggleRawResponse",(function(){return e.setState({showRawResponse:!e.state.showRawResponse})})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props,t=e.error,n=void 0===t?{}:t,r=n.attributes["error-messages"],i=(null==r?void 0:r.length)>0;return d.default.createElement("div",{className:"sync-error"},d.default.createElement(h,{error:n,name:e.name}),i&&d.default.createElement("div",{className:"error-details"},d.default.createElement("a",{className:"show-details show-details--messages",onClick:this._toggleMessages},(0,f.default)(this.state.showMessages?"sync.hide-error-details":"sync.show-error-details")),this.state.showMessages&&d.default.createElement("ul",{className:"error-messages"},r.map((function(e,t){return d.default.createElement("li",{key:t,className:"error-message"},e)}))),this.state.showMessages&&n.attributes["response-raw"]&&d.default.createElement("div",{className:"raw-api-response"},d.default.createElement("a",{className:"show-details show-details--raw-response",onClick:this._toggleRawResponse},(0,f.default)(this.state.showRawResponse?"sync.hide-raw-response":"sync.show-raw-response")),this.state.showRawResponse&&d.default.createElement("pre",{className:"raw-api-response-details"},n.attributes["response-raw"]))))}}]),n}(d.default.Component)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Header=void 0;var i=r(n(1)),o=r(n(2)),a=function(e){return i.default.createElement("div",{className:"asset-page-header"},e.value)};t.Header=a,a.displayName="Header",a.propTypes={value:o.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ContactLink=c;var i=r(n(19)),o=r(n(1)),a=r(n(11)),s=r(n(2)),u=n(89),l=a.default.title;function c(e){return o.default.createElement(u.AssetLink,(0,i.default)({},e,{assetType:"contacts",title:l("contact")}))}c.displayName="ContactLink",c.propTypes={id:s.default.number,name:s.default.string,organizationId:s.default.number}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.LocationLink=c;var i=r(n(19)),o=r(n(1)),a=r(n(11)),s=r(n(2)),u=n(89),l=a.default.title;function c(e){return o.default.createElement(u.AssetLink,(0,i.default)({},e,{assetType:"locations",title:l("location")}))}c.displayName="LocationLink",c.propTypes={id:s.default.number,name:s.default.string,organizationId:s.default.number}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SyncedWith=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(11)),p=r(n(12)),m=r(n(2)),v=n(22),g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_getIconClass",(function(t){return t?"color-red":e.props.adapter.attributes.orphaned?"color-orange":e.props.adapter.attributes.sync?void 0:"color-red"})),(0,d.default)((0,s.default)(e),"_getTooltipMessage",(function(t){return(0,h.default)(t?"sync.tooltips.sync-error":e.props.adapter.attributes.orphaned?"sync.tooltips.orphaned":e.props.adapter.attributes.sync?"sync.tooltips.sync-enabled":"sync.tooltips.sync-disabled")})),(0,d.default)((0,s.default)(e),"_getIconProps",(function(){var t=e.props.adapter.attributes.errors,n=(null==t?void 0:t.length)>0;return{name:n?"exclamation-triangle":"plug",className:(0,p.default)("synced-with__icon",e._getIconClass(n)),title:e._getTooltipMessage(n)}})),e}return(0,a.default)(n,[{key:"render",value:function(){return this.props.adapter&&this.props.adapter.attributes?f.default.createElement("div",{className:"synced-with"},(0,h.default)("tickets.synced-with-adapter-name",{adapterName:this.props.adapter.attributes["adapter-name"]}),f.default.createElement(v.Icon,(0,i.default)({fw:!0},this._getIconProps()))):null}}]),n}(f.default.Component);t.SyncedWith=g,(0,d.default)(g,"displayName","SyncedWith"),(0,d.default)(g,"propTypes",{adapter:m.default.basicApiResource})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.IncludedItems=u;var i=r(n(1)),o=n(292),a=n(612),s=r(n(2));function u(e){return i.default.createElement("div",{className:"asset-row-included"},i.default.createElement(o.Row,{title:e.title,value:i.default.createElement(a.IncludedResourceLinks,{includedResources:e.includedResources})}))}u.displayName="IncludedItems",u.propTypes={title:s.default.string,includedResources:s.default.arrayOf(s.default.basicApiResource)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.IncludedResourceLinks=u;var i=r(n(1)),o=n(116),a=n(613),s=r(n(2));function u(e){var t=e.includedResources,n=t.slice(0,6),r=t.slice(6);return i.default.createElement("span",null,n&&n.map((function(e){return i.default.createElement("div",{key:e.id,className:"resource-link"},i.default.createElement(o.ResourceLink,{resource:e}))})),r.length>0&&i.default.createElement(a.SeeMore,{resources:r}))}u.displayName="IncludedResourceLinks",u.propTypes={includedResources:s.default.arrayOf(s.default.basicApiResource)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SeeMore=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(11)),h=r(n(2)),p=n(116),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{isExpanded:!1}),(0,c.default)((0,a.default)(e),"_expand",(function(){e.setState({isExpanded:!e.state.isExpanded})})),e}return(0,o.default)(n,[{key:"render",value:function(){return d.default.createElement("div",{className:"resource-link"},this.state.isExpanded?this.state.isExpanded&&this.props.resources&&this.props.resources.map((function(e){return d.default.createElement("div",{key:e.id,className:"resource-link"},d.default.createElement(p.ResourceLink,{resource:e}))})):d.default.createElement("a",{className:"see-more",onClick:this._expand},(0,f.default)("see-more")))}}]),n}(d.default.Component);t.SeeMore=m,(0,c.default)(m,"displayName","SeeMore"),(0,c.default)(m,"propTypes",{resources:h.default.arrayOf(h.default.basicApiResource)})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ShowNotesRow=u;var i=r(n(1)),o=r(n(11)),a=r(n(2)),s=o.default.title;function u(e){var t=e.value,n=e.title,r=void 0===n?s("notes"):n;if(!t)return null;var o=t.split(/\r?\n/);return i.default.createElement("div",{className:"show-notes-row"},i.default.createElement("span",{className:"show-notes-title"},r),i.default.createElement("span",{className:"show-notes-value"},o.map((function(e,t){return i.default.createElement("span",{key:t},e,i.default.createElement("br",null))}))))}u.displayName="ShowNotesRow",u.propTypes={value:a.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationLink=u;var i=r(n(1)),o=r(n(11)),a=r(n(2)),s=o.default.title;function u(e){var t=e.id,n=e.name;return t||n?i.default.createElement("div",{className:"asset-row"},i.default.createElement("span",{className:"asset-row-title"},s("organization")),i.default.createElement("span",{className:"asset-row-value"},t?i.default.createElement("a",{href:"/"+t},n):n)):null}u.displayName="OrganizationLink",u.propTypes={id:a.default.number,name:a.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ExpirationBanner=function(e){var t=e.className,n=e.name,r=e.date,c=e.status,d=void 0===c?(0,u.getExpirationStatus)(r):c;if(!r||!d)return null;var f="expired"===d?(0,l.default)("expired-on",{name:n,dateAt:(0,s.formatDateString)(r)}):(0,l.default)("will-expire",{name:n,dateAt:(0,a.default)(r).fromNow()});return i.default.createElement("div",{className:(0,o.default)("expiration-banner","expired"===d?"expired":"soon"===d?"expiring-soon":null,t)},i.default.createElement("span",{className:"expiration-banner__message"},f))};var i=r(n(1)),o=r(n(12)),a=r(n(9)),s=n(20),u=n(90),l=r(n(11))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DAYS_TO_EXPIRE=void 0;var r=n(9).duration({days:90}).asMilliseconds();t.DAYS_TO_EXPIRE=r},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationInterfaces=$;var i=r(n(46)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(17)),f=r(n(18)),h=r(n(8)),p=r(n(1)),m=r(n(12)),v=n(14),g=n(22),y=r(n(2)),b=r(n(11)),_=n(619),w=n(284),E=r(n(36));function C(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var k="ip-address",S="mac-address",x="port",D="configurationConnections",O="configName",T="configTypeKind",F="configTypeName",M="intefaceName",P="port",L={source:(0,b.default)("configurations.source"),name:(0,b.default)("configurations.name-slot"),mac:(0,b.default)("mac-address"),ip:(0,b.default)("ip-address"),port:b.default.title("port"),notes:b.default.title("notes"),connectedTo:b.default.title("configurations.connected-to")},R=E.default.isMyGlueApp(),B=function(){return R?"myglue-icon-brand":"itglue-icon-brand"};function j(e){var t=e.isTitle,n=e.externalInterfaces,r={onClick:e.handleAdd,className:"interface__add-to-itg small green"};return t&&(r.className=(0,m.default)("interface__add-to-itg small green","all",!n.length&&"disabled"),r.disabled=!n.length),p.default.createElement("div",{className:"interface-add-to-itglue"},p.default.createElement(w.LoaderButtonWithTooltip,{buttonProps:r,tooltipText:{default:(0,b.default)(r.disabled?"configurations.interface_add_all-disabled":t?"configurations.interface_add_all":"configurations.interface_add")},tooltipProps:{arrowDirection:"right",arrowPosition:t&&"top"}},p.default.createElement("span",null,p.default.createElement("span",{className:"interface__add-to-itg--text"},(0,b.default)(t?"configurations.add-all":"configurations.add-to")),p.default.createElement(g.Icon,{className:B()}))))}function I(e){return e.map((function(e){var t;return(0,h.default)(t={},"name",e.name||e.source.name),(0,h.default)(t,S,e[S]),(0,h.default)(t,k,e[k]),(0,h.default)(t,x,e.port),(0,h.default)(t,"fromConnections",e["from-configuration-connections"]),(0,h.default)(t,"toConnections",e["to-configuration-connections"]),t}))}function N(e){var t=e.externalInterfaces,n=e.onAddAll,r=e.configID,i=e.canAdd,o=e.interfaces,a=e.showAlert,s=L.source,u=L.name,l=L.mac,c=L.ip,h=L.port,v=L.connectedTo,g=L.notes,y=function(){var e=(0,f.default)(d.default.mark((function e(){var i;return d.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=I(t),e.next=3,n(i,r,o);case 3:e.sent.error||a("success",(0,b.default)("configurations.configuration-updated"));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return p.default.createElement("div",{className:(0,m.default)("configuration-interface-row title-row")},p.default.createElement("div",{className:(0,m.default)("summary-row")},p.default.createElement("div",{className:"interface-logo"},s),p.default.createElement("div",{className:"interface-name"},u),p.default.createElement("div",{className:"interface-mac"},l),p.default.createElement("div",{className:"interface-ip"},c),p.default.createElement("div",{className:"interface-port"},h),p.default.createElement("div",{className:"interface-connections"},v),p.default.createElement("div",{className:"interface-notes"},g),p.default.createElement("div",{className:"interface-primary-flag"}),i&&p.default.createElement(j,{isTitle:!0,externalInterfaces:t,handleAdd:y})))}var H=p.default.createElement(g.Icon,{light:!0,name:"comment"});function z(e){var t=e.connections,n=void 0===t?[]:t;return 1===n.length?p.default.createElement(_.ConfigurationConnection,{connection:n[0]}):p.default.createElement("div",{className:"connected-to-summary"},(0,b.default)("configurations.connected-to-device",{count:n.length}))}var Y=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,s.default)(e),"state",{isExpanded:!1}),(0,h.default)((0,s.default)(e),"_toggleExpand",(function(){return e.setState({isExpanded:!e.state.isExpanded})})),(0,h.default)((0,s.default)(e),"_onAdd",(0,f.default)(d.default.mark((function t(){var n;return d.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=I([e.props.row]),t.next=3,e.props.onAdd(n,e.props.configID,e.props.interfaces);case 3:t.sent.error||e.props.showAlert("success",(0,b.default)("configurations.configuration-updated"));case 5:case"end":return t.stop()}}),t)})))),e}return(0,a.default)(n,[{key:"render",value:function(){var e,t=this.props.row,n=t.name,r=t.port,i=t.notes,o=t.primary,a=t.configurationConnections,s=t.source,u=this.props.row[S],l=this.props.row[k],c=i||(null==a?void 0:a.length)>1;return p.default.createElement("div",{className:(0,m.default)("configuration-interface-row",this.props.className,o&&"primary-interface",this.state.isExpanded&&"expanded")},p.default.createElement("div",{className:(0,m.default)("summary-row",c&&"clickable"),onClick:c?this._toggleExpand:v.noop},p.default.createElement("div",{className:"interface-logo"},(e=s)?"network_glue"===e.type?p.default.createElement(g.Icon,{className:"network-glue-brand"}):"adapter"===e.type?p.default.createElement("img",{className:"external-logo",src:e["logo-url"]}):void 0:p.default.createElement(g.Icon,{className:B()})),p.default.createElement("div",{className:"interface-name",title:n},p.default.createElement("span",{className:"no-wrap"},n||(null==s?void 0:s.name))),p.default.createElement("div",{className:"interface-mac",title:u},p.default.createElement("span",{className:"no-wrap"},u)),p.default.createElement("div",{className:"interface-ip",title:l},p.default.createElement("span",{className:"no-wrap"},l)),p.default.createElement("div",{className:"interface-port"},r),p.default.createElement("div",{className:"interface-connections"},a&&p.default.createElement(z,{connections:a})),p.default.createElement("div",{className:"interface-notes"},i&&H),p.default.createElement("div",{className:"interface-primary-flag"},o&&p.default.createElement("span",{className:"primary-tag"},b.default.title("primary"))),this.props.canAdd&&s&&p.default.createElement(j,{handleAdd:this._onAdd})),this.state.isExpanded&&p.default.createElement("div",{className:"details-row"},i&&p.default.createElement("div",{className:"details-row__notes chat-bubble"},i),(null==a?void 0:a.length)>1&&p.default.createElement(_.ConfigurationConnections,{connections:a})))}}]),n}(p.default.Component);function U(e,t){var n,r=C(e);try{for(r.s();!(n=r.n()).done;){var i,o=n.value,a=((0,h.default)(i={},k,!1),(0,h.default)(i,S,!1),(0,h.default)(i,x,!1),(0,h.default)(i,D,!1),i);for(var s in a){if(!V(o.attributes[s],t[s],s))break;a[s]=!0}if(a[k]&&a[S]&&a[x]&&a[D])return!0}}catch(e){r.e(e)}finally{r.f()}return!1}function V(e,t,n){if(n===D){if((null==e?void 0:e.length)&&(!(null==t?void 0:t.length)||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(e.length<t.length)return!1;var n,r=[O,T,F,M,"ip","mac",P,"url"],i=C(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value,s=!1,u=(0,v.pick)(a.attributes,r),l=C(e);try{for(l.s();!(o=l.n()).done;){var c=o.value,d=(0,v.pick)(c.attributes,r);if((0,v.isEqual)(d,u)){s=!0;break}}}catch(e){l.e(e)}finally{l.f()}if(!s)return!1}}catch(e){i.e(e)}finally{i.f()}return!0}(e,t))||!(null==t?void 0:t.length))return!0}else if(e&&(e===t||!t)||!t)return!0;return!1}function $(e){var t=e.interfaces,n=e.onAddInterface,r=e.configID,o=e.canUpdate,a=e.showAlert,s=e.externalInterfaces;if(!(t&&t.length||s&&s.length))return null;var u=t,l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length&&t.length?t.filter((function(t){return!U(e,t)})):t}(t,s);return t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.map((function(e){return{attributes:e}}));return[].concat((0,i.default)(e),(0,i.default)(n))}(t,l),p.default.createElement("div",{className:"configuration-interfaces-v2"},p.default.createElement("h4",{className:"configuration-interfaces-title"},b.default.title("configuration-interfaces")),p.default.createElement("div",{className:"configuration-interfaces-table-container"},p.default.createElement("div",{className:"configuration-interfaces-table"},p.default.createElement(N,{externalInterfaces:l,interfaces:u,onAddAll:n,configID:r,canAdd:o,showAlert:a}),t.map((function(e,t){return p.default.createElement(Y,{key:t,row:e.attributes,interfaces:u,className:"interface-row",onAdd:n,configID:r,canAdd:o,showAlert:a})})))))}$.propTypes={interfaces:y.default.basicApiResources}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationConnection=u,t.ConfigurationConnections=function(e){var t=e.connections;return(null==t?void 0:t.length)?i.default.createElement("div",{className:"connected-devices"},t.map((function(e,t){return i.default.createElement(u,{key:t,connection:e})}))):null};var i=r(n(1)),o=n(48),a=n(293),s=r(n(11));function u(e){var t=e.connection;if(!t)return null;var n=t.attributes,r=n.configName,u=n.configTypeName,l=n.configTypeKind,c=n.ip,d=n.mac,f=n.interfaceName,h=n.port,p=n.url;return i.default.createElement(o.Tooltip.V2,{className:"no-max-width",getContent:function(){return function(e,t,n,r,o){return i.default.createElement("table",{className:"connected-device-pill-tooltip"},i.default.createElement("tbody",null,e&&i.default.createElement("tr",{className:"row"},i.default.createElement("td",{className:"name"},s.default.title("configuration"),":"),i.default.createElement("td",{className:"value no-wrap"},e)),o&&i.default.createElement("tr",{className:"row"},i.default.createElement("td",{className:"name"},s.default.title("configurations.interface"),":"),i.default.createElement("td",{className:"value no-wrap"},o)),t&&i.default.createElement("tr",{className:"row"},i.default.createElement("td",{className:"name"},(0,s.default)("configurations.ip"),":"),i.default.createElement("td",{className:"value no-wrap"},t)),n&&i.default.createElement("tr",{className:"row"},i.default.createElement("td",{className:"name"},(0,s.default)("configurations.mac"),":"),i.default.createElement("td",{className:"value no-wrap"},n)),r&&i.default.createElement("tr",{className:"row"},i.default.createElement("td",{className:"name"},s.default.title("configurations.port"),":"),i.default.createElement("td",{className:"value no-wrap"},r))))}(r,c,d,h,f)},arrowDirection:"down"},i.default.createElement("div",{className:"connected-device-pill"},i.default.createElement("span",{className:"name"},p?i.default.createElement("a",{href:p},r):r),i.default.createElement("span",{className:"icon"},i.default.createElement(a.ConfigurationIcon,{name:u,kind:l}))))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.RowWithCopy=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=r(n(20)),p=n(48),m=r(n(11)),v=r(n(12)),g=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{copied:!1}),(0,c.default)((0,a.default)(e),"handleCopy",(function(){e.props.value&&h.default.copyToClipboard(e.props.value)&&e.setState({copied:!0})})),(0,c.default)((0,a.default)(e),"_getToolTipContent",(function(){return d.default.createElement("span",{className:"nowrap"},(0,m.default)(e.state.copied?"copied-to-clipboard":"copy-to-clipboard"))})),(0,c.default)((0,a.default)(e),"closeToolTip",(function(){e.setState({copied:!1})})),e}return(0,o.default)(n,[{key:"render",value:function(){return this.props.value?d.default.createElement("div",{className:(0,v.default)("row-with-copy",this.props.className)},d.default.createElement("div",{className:"row-title qa-row-title"},this.props.title),d.default.createElement("div",{className:"row-content qa-row-content"},d.default.createElement("span",{className:"row-value qa-row-value"},this.props.content),d.default.createElement(p.Tooltip,{getContent:this._getToolTipContent,arrowDirection:"down",onClose:this.closeToolTip,containerClassName:(0,v.default)("copy-tooltip qa-copy-tooltip",this.state.copied&&"copied")},d.default.createElement("button",{className:"copy-value qa-copy-value margin-xsmall-horizontal",onClick:this.handleCopy},d.default.createElement("span",{className:"fa fa-clipboard"}))))):null}}]),n}(d.default.Component);t.RowWithCopy=g,(0,c.default)(g,"displayName","RowWithCopy"),(0,c.default)(g,"propTypes",{title:f.default.node,value:f.default.string,content:f.default.node})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=n(14),m=n(294),v=n(622),g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_updateSchedule",(function(t){var n=(0,p.extend)({},e.props.schedule,t);e.props.onScheduleUpdate(n)})),(0,d.default)((0,s.default)(e),"_handleDateTimeChange",(function(t){e._updateSchedule({datetime:t})})),(0,d.default)((0,s.default)(e),"_handleToggleRecurring",(function(t){e._updateSchedule({isRecurring:t})})),(0,d.default)((0,s.default)(e),"_updateRecurrence",(function(t){var n=(0,p.extend)({},e.props.schedule.recurrence);return{recurrence:(0,p.extend)(n,t)}})),(0,d.default)((0,s.default)(e),"_handleFrequenceChange",(function(t){var n=e._updateRecurrence({frequency:t});e._updateSchedule(n)})),(0,d.default)((0,s.default)(e),"_handleFrequenceIntervalChange",(function(t){var n=e._updateRecurrence({every:t});e._updateSchedule(n)})),(0,d.default)((0,s.default)(e),"_handleWeeklyRepeatDaysChange",(function(t,n){var r=(0,p.extend)({},e.props.schedule.recurrence.weekdays);r[t]=n;var i=e._updateRecurrence({weekdays:r});e._updateSchedule(i)})),(0,d.default)((0,s.default)(e),"_handleMonthlyRepeatDayChange",(function(t){var n=e._updateRecurrence({monthlyRepeat:t});e._updateSchedule(n)})),(0,d.default)((0,s.default)(e),"_handleEndOptionChange",(function(t){var n=e._updateRecurrence({endOption:t});e._updateSchedule(n)})),(0,d.default)((0,s.default)(e),"_handleEndAfterChange",(function(t){var n=e._updateRecurrence({endAfter:t});e._updateSchedule(n)})),(0,d.default)((0,s.default)(e),"_handleEndDateChange",(function(t){var n=e._updateRecurrence({endDate:t});e._updateSchedule(n)})),e}return(0,a.default)(n,[{key:"render",value:function(){return h.default.createElement(v.View,(0,i.default)({},this.props,this.state,{onDateTimeChange:this._handleDateTimeChange,onToggleRecurring:this._handleToggleRecurring,onFrequencyChange:this._handleFrequenceChange,onFrequencyIntervalChange:this._handleFrequenceIntervalChange,onWeeklyRepeatDaysChange:this._handleWeeklyRepeatDaysChange,onMonthlyRepeatDayChange:this._handleMonthlyRepeatDayChange,onEndOptionChange:this._handleEndOptionChange,onEndAfterChange:this._handleEndAfterChange,onEndDateChange:this._handleEndDateChange}))}}]),n}(h.default.Component);t.Scheduler=g,(0,d.default)(g,"displayName","Scheduler"),(0,d.default)(g,"propTypes",{schedule:f.default.any.affectsRendering,onScheduleUpdate:f.default.func.isRequired}),(0,d.default)(g,"getDefaultSchedule",m.getDefaultSchedule),(0,d.default)(g,"getSummary",m.getSummary),(0,d.default)(g,"isValid",m.isValid),(0,d.default)(g,"toJSON",m.toJSON),(0,d.default)(g,"fromJSON",m.fromJSON)},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.View=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(5)),u=i(n(6)),l=i(n(7)),c=i(n(8)),d=i(n(1)),f=i(n(295)),h=n(55),p=n(290),m=n(38),v=i(n(20)),g=i(n(11)),y=r(n(294));function b(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var _=function(e){(0,s.default)(n,e);var t=b(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){return d.default.createElement("div",{className:"schedule-container qa-schedule-container"},d.default.createElement("div",{className:"datetime-container"},d.default.createElement("div",{className:"datetime-picker qa-datetime-picker"},d.default.createElement(f.default,{value:this.props.schedule.datetime,input:!1,timeFormat:!1,isValidDate:y.getIsAfterYesterday(),onChange:this.props.onDateTimeChange})),d.default.createElement("div",{className:"datetime-display"},d.default.createElement("div",{className:"option-row date-display qa-date-display"},v.default.formatDateOnly(this.props.schedule.datetime)),d.default.createElement("div",{className:"time-input qa-time-input"},d.default.createElement(f.default,{value:this.props.schedule.datetime,input:!0,inputProps:{readOnly:!0},dateFormat:!1,onChange:this.props.onDateTimeChange})),d.default.createElement("div",{className:"option-row"},d.default.createElement("div",{className:"option-label"},d.default.createElement(h.FormCheckField,{className:"qa-recurring-checkbox",fieldLabel:(0,g.default)("comp-scheduler.recurring"),value:this.props.schedule.isRecurring,onChange:this.props.onToggleRecurring}))))),d.default.createElement(w,this.props))}}]),n}(d.default.Component);t.View=_,(0,c.default)(_,"displayName","View of Scheduler");var w=function(e){(0,s.default)(n,e);var t=b(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e=this;return d.default.createElement("div",{className:"recurrence-container"},d.default.createElement(m.If,{condition:this.props.schedule.isRecurring},d.default.createElement("div",{className:"recurrence-details qa-recurrence-details"},d.default.createElement("div",{className:"option-row recurrence-frequency qa-recurrence-frequency"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.frequency"))),d.default.createElement("div",{className:"option-items"},d.default.createElement(p.RadioOption,{className:"qa-recurrence-frequency-weekly",name:"recurrence-frequency",value:y.FREQUENCY_OPTIONS[0].value,label:y.FREQUENCY_OPTIONS[0].label,checked:y.isWeekly(this.props.schedule),onChange:this.props.onFrequencyChange}),d.default.createElement(p.RadioOption,{className:"qa-recurrence-frequency-monthly",name:"recurrence-frequency",value:y.FREQUENCY_OPTIONS[1].value,label:y.FREQUENCY_OPTIONS[1].label,checked:y.isMonthly(this.props.schedule),onChange:this.props.onFrequencyChange}))),d.default.createElement("div",{className:"option-row recurrence-every qa-recurrence-every"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.every"))),d.default.createElement("div",{className:"option-items"},d.default.createElement("input",{className:"form-control qa-recurrence-every-input",type:"number",value:this.props.schedule.recurrence.every,min:1,max:30,onChange:function(t){return e.props.onFrequencyIntervalChange(+t.target.value)}}),d.default.createElement("span",{className:"qa-recurrence-every-label"},y.isWeekly(this.props.schedule)?"Week(s)":"Month(s)"))),d.default.createElement(m.If,{condition:y.isWeekly(this.props.schedule)},d.default.createElement("div",{className:"option-row recurrence-repeat-on qa-recurrence-repeat-on-day-of-week"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.repeatOn"))),d.default.createElement("div",{className:"option-items"},d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-sun",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.sun"),value:this.props.schedule.recurrence.weekdays.SU,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("SU",t)}}),d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-mon",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.mon"),value:this.props.schedule.recurrence.weekdays.MO,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("MO",t)}}),d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-tue",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.tue"),value:this.props.schedule.recurrence.weekdays.TU,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("TU",t)}}),d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-wed",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.wed"),value:this.props.schedule.recurrence.weekdays.WE,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("WE",t)}}),d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-thu",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.thu"),value:this.props.schedule.recurrence.weekdays.TH,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("TH",t)}}),d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-fri",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.fri"),value:this.props.schedule.recurrence.weekdays.FR,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("FR",t)}}),d.default.createElement(h.FormCheckField,{className:"qa-recurrence-repeat-on-sat",fieldLabel:(0,g.default)("comp-scheduler.weekdaysShort.sat"),value:this.props.schedule.recurrence.weekdays.SA,onChange:function(t){return e.props.onWeeklyRepeatDaysChange("SA",t)}})))),d.default.createElement(m.If,{condition:y.isMonthly(this.props.schedule)},d.default.createElement("div",{className:"option-row recurrence-repeat-by qa-recurrence-repeat-by"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.repeatBy"))),d.default.createElement("div",{className:"option-items"},d.default.createElement(p.RadioOption,{className:"qa-recurrence-repeat-by-day-of-month",name:"recurrence-repeat-by",value:y.MONTHLY_REPEAT_OPTIONS[0].value,label:y.MONTHLY_REPEAT_OPTIONS[0].label,checked:y.isDayOfMonth(this.props.schedule),onChange:this.props.onMonthlyRepeatDayChange}),d.default.createElement(p.RadioOption,{className:"qa-recurrence-repeat-by-last-day-of-month",name:"recurrence-repeat-by",value:y.MONTHLY_REPEAT_OPTIONS[1].value,label:y.MONTHLY_REPEAT_OPTIONS[1].label,checked:y.isLastDayOfMonth(this.props.schedule),onChange:this.props.onMonthlyRepeatDayChange})))),d.default.createElement("div",{className:"option-row recurrence-start-on qa-recurrence-start-on"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.startsOn"))),d.default.createElement("div",{className:"option-items"},d.default.createElement("div",{className:"input date qa-recurrence-start-on-label"},v.default.formatDateOnly(this.props.schedule.datetime)))),d.default.createElement("div",{className:"option-row option-row--top-align recurrence-end-on qa-recurrence-end-on"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.ends"))),d.default.createElement("div",{className:"option-items"},d.default.createElement(p.RadioOption,{className:"qa-recurrence-never-end",name:"recurrence-end",value:y.END_OPTIONS[0].value,label:y.END_OPTIONS[0].label,checked:y.willNeverEnd(this.props.schedule),onChange:this.props.onEndOptionChange}),d.default.createElement("div",{className:"option-item"},d.default.createElement("div",{className:"option-item-row"},d.default.createElement(p.RadioOption,{className:"qa-recurrence-end-after",name:"recurrence-end",value:y.END_OPTIONS[1].value,label:y.END_OPTIONS[1].label,checked:y.willEndAfter(this.props.schedule),onChange:this.props.onEndOptionChange})),d.default.createElement("div",{className:"option-item-row qa-recurrence-end-after-count"},d.default.createElement("input",{type:"number",className:"form-control qa-recurrence-end-after-count-input",disabled:!y.willEndAfter(this.props.schedule),value:y.willEndAfter(this.props.schedule)?this.props.schedule.recurrence.endAfter:"",min:2,max:30,onChange:function(t){return e.props.onEndAfterChange(+t.target.value)}}),d.default.createElement("span",null,(0,g.default)("comp-scheduler.occurrences")))),d.default.createElement("div",{className:"option-item"},d.default.createElement("div",{className:"option-item-row"},d.default.createElement(p.RadioOption,{className:"qa-recurrence-end-on-date",name:"recurrence-end",value:y.END_OPTIONS[2].value,label:y.END_OPTIONS[2].label,checked:y.willEndOnDate(this.props.schedule),onChange:this.props.onEndOptionChange})),d.default.createElement("div",{className:"option-item-row qa-recurrence-end-on-date-datepicker"},d.default.createElement(f.default,{closeOnSelect:!0,dateFormat:v.default.dateFormat,inputProps:{readOnly:!0,disabled:!y.willEndOnDate(this.props.schedule)},value:y.willEndOnDate(this.props.schedule)?this.props.schedule.recurrence.endDate:"",input:!0,timeFormat:!1,isValidDate:y.getIsAfterStartDate(this.props.schedule.datetime),onChange:this.props.onEndDateChange}))))),d.default.createElement("div",{className:"option-row qa-recurrence-summary"},d.default.createElement("div",{className:"option-label"},d.default.createElement("span",null,(0,g.default)("comp-scheduler.summary"))),d.default.createElement("div",{className:"option-items qa-recurrence-summary-detail"},y.getSummary(this.props.schedule))))))}}]),n}(d.default.Component);(0,c.default)(w,"displayName","View of Scheduler - Recurrence")},function(e,t,n){"use strict";var r=n(16),i=n(29)({viewComponents:{days:n(624),months:n(625),years:n(626),time:n(627)},render:function(){return r.createElement(this.viewComponents[this.props.view],this.props.viewProps)}});e.exports=i},function(e,t,n){"use strict";var r=n(16),i=n(29),o=n(9),a=i({render:function(){var e,t=this.renderFooter(),n=this.props.viewDate,i=n.localeData();return e=[r.createElement("thead",{key:"th"},[r.createElement("tr",{key:"h"},[r.createElement("th",{key:"p",className:"rdtPrev",onClick:this.props.subtractTime(1,"months")},r.createElement("span",{},"\u2039")),r.createElement("th",{key:"s",className:"rdtSwitch",onClick:this.props.showView("months"),colSpan:5,"data-value":this.props.viewDate.month()},i.months(n)+" "+n.year()),r.createElement("th",{key:"n",className:"rdtNext",onClick:this.props.addTime(1,"months")},r.createElement("span",{},"\u203a"))]),r.createElement("tr",{key:"d"},this.getDaysOfWeek(i).map((function(e,t){return r.createElement("th",{key:e+t,className:"dow"},e)})))]),r.createElement("tbody",{key:"tb"},this.renderDays())],t&&e.push(t),r.createElement("div",{className:"rdtDays"},r.createElement("table",{},e))},getDaysOfWeek:function(e){var t=e._weekdaysMin,n=e.firstDayOfWeek(),r=[],i=0;return t.forEach((function(e){r[(7+i++-n)%7]=e})),r},renderDays:function(){var e,t,n,i,a=this.props.viewDate,s=this.props.selectedDate&&this.props.selectedDate.clone(),u=a.clone().subtract(1,"months"),l=a.year(),c=a.month(),d=[],f=[],h=this.props.renderDay||this.renderDay,p=this.props.isValidDate||this.alwaysValidDate;u.date(u.daysInMonth()).startOf("week");for(var m=u.clone().add(42,"d");u.isBefore(m);)e="rdtDay",i=u.clone(),u.year()===l&&u.month()<c||u.year()<l?e+=" rdtOld":(u.year()===l&&u.month()>c||u.year()>l)&&(e+=" rdtNew"),s&&u.isSame(s,"day")&&(e+=" rdtActive"),u.isSame(o(),"day")&&(e+=" rdtToday"),(t=!p(i,s))&&(e+=" rdtDisabled"),n={key:u.format("M_D"),"data-value":u.date(),className:e},t||(n.onClick=this.updateSelectedDate),f.push(h(n,i,s)),7===f.length&&(d.push(r.createElement("tr",{key:u.format("M_D")},f)),f=[]),u.add(1,"d");return d},updateSelectedDate:function(e){this.props.updateSelectedDate(e,!0)},renderDay:function(e,t){return r.createElement("td",e,t.date())},renderFooter:function(){if(!this.props.timeFormat)return"";var e=this.props.selectedDate||this.props.viewDate;return r.createElement("tfoot",{key:"tf"},r.createElement("tr",{},r.createElement("td",{onClick:this.props.showView("time"),colSpan:7,className:"rdtTimeToggle"},e.format(this.props.timeFormat))))},alwaysValidDate:function(){return 1}});e.exports=a},function(e,t,n){"use strict";var r=n(16),i=n(29)({render:function(){return r.createElement("div",{className:"rdtMonths"},[r.createElement("table",{key:"a"},r.createElement("thead",{},r.createElement("tr",{},[r.createElement("th",{key:"prev",className:"rdtPrev",onClick:this.props.subtractTime(1,"years")},r.createElement("span",{},"\u2039")),r.createElement("th",{key:"year",className:"rdtSwitch",onClick:this.props.showView("years"),colSpan:2,"data-value":this.props.viewDate.year()},this.props.viewDate.year()),r.createElement("th",{key:"next",className:"rdtNext",onClick:this.props.addTime(1,"years")},r.createElement("span",{},"\u203a"))]))),r.createElement("table",{key:"months"},r.createElement("tbody",{key:"b"},this.renderMonths()))])},renderMonths:function(){for(var e,t,n,i,o,a=this.props.selectedDate,s=this.props.viewDate.month(),u=this.props.viewDate.year(),l=[],c=0,d=[],f=this.props.renderMonth||this.renderMonth,h=this.props.isValidDate||this.alwaysValidDate;c<12;)e="rdtMonth",o=(n=this.props.viewDate.clone().set({year:u,month:c,date:1})).endOf("month").format("D"),(i=void 0===Array.from({length:o},(function(e,t){return t+1})).find((function(e){var t=n.clone().set("date",e);return h(t)})))&&(e+=" rdtDisabled"),a&&c===a.month()&&u===a.year()&&(e+=" rdtActive"),t={key:c,"data-value":c,className:e},i||(t.onClick="months"===this.props.updateOn?this.updateSelectedMonth:this.props.setDate("month")),d.push(f(t,c,u,a&&a.clone())),4===d.length&&(l.push(r.createElement("tr",{key:s+"_"+l.length},d)),d=[]),c++;return l},updateSelectedMonth:function(e){this.props.updateSelectedDate(e)},renderMonth:function(e,t){var n,i=this.props.viewDate,o=i.localeData().monthsShort(i.month(t)).substring(0,3);return r.createElement("td",e,(n=o).charAt(0).toUpperCase()+n.slice(1))},alwaysValidDate:function(){return 1}});e.exports=i},function(e,t,n){"use strict";var r=n(16),i=n(29)({render:function(){var e=10*parseInt(this.props.viewDate.year()/10,10);return r.createElement("div",{className:"rdtYears"},[r.createElement("table",{key:"a"},r.createElement("thead",{},r.createElement("tr",{},[r.createElement("th",{key:"prev",className:"rdtPrev",onClick:this.props.subtractTime(10,"years")},r.createElement("span",{},"\u2039")),r.createElement("th",{key:"year",className:"rdtSwitch",onClick:this.props.showView("years"),colSpan:2},e+"-"+(e+9)),r.createElement("th",{key:"next",className:"rdtNext",onClick:this.props.addTime(10,"years")},r.createElement("span",{},"\u203a"))]))),r.createElement("table",{key:"years"},r.createElement("tbody",{},this.renderYears(e)))])},renderYears:function(e){var t,n,i,o,a,s=[],u=-1,l=[],c=this.props.renderYear||this.renderYear,d=this.props.selectedDate,f=this.props.isValidDate||this.alwaysValidDate;for(e--;u<11;)t="rdtYear",a=(i=this.props.viewDate.clone().set({year:e,month:0,date:1})).endOf("year").format("DDD"),(o=void 0===Array.from({length:a},(function(e,t){return t+1})).find((function(e){var t=i.clone().dayOfYear(e);return f(t)})))&&(t+=" rdtDisabled"),d&&d.year()===e&&(t+=" rdtActive"),n={key:e,"data-value":e,className:t},o||(n.onClick="years"===this.props.updateOn?this.updateSelectedYear:this.props.setDate("year")),s.push(c(n,e,d&&d.clone())),4===s.length&&(l.push(r.createElement("tr",{key:u},s)),s=[]),e++,u++;return l},updateSelectedYear:function(e){this.props.updateSelectedDate(e)},renderYear:function(e,t){return r.createElement("td",e,t)},alwaysValidDate:function(){return 1}});e.exports=i},function(e,t,n){"use strict";var r=n(16),i=n(29),o=n(296),a=i({getInitialState:function(){return this.calculateState(this.props)},calculateState:function(e){var t=e.selectedDate||e.viewDate,n=e.timeFormat,r=[];-1!==n.toLowerCase().indexOf("h")&&(r.push("hours"),-1!==n.indexOf("m")&&(r.push("minutes"),-1!==n.indexOf("s")&&r.push("seconds")));var i=t.format("H"),o=!1;return null!==this.state&&-1!==this.props.timeFormat.toLowerCase().indexOf(" a")&&(o=-1!==this.props.timeFormat.indexOf(" A")?i>=12?"PM":"AM":i>=12?"pm":"am"),{hours:i,minutes:t.format("mm"),seconds:t.format("ss"),milliseconds:t.format("SSS"),daypart:o,counters:r}},renderCounter:function(e){if("daypart"!==e){var t=this.state[e];return"hours"===e&&-1!==this.props.timeFormat.toLowerCase().indexOf(" a")&&0==(t=(t-1)%12+1)&&(t=12),r.createElement("div",{key:e,className:"rdtCounter"},[r.createElement("span",{key:"up",className:"rdtBtn",onMouseDown:this.onStartClicking("increase",e),onContextMenu:this.disableContextMenu},"\u25b2"),r.createElement("div",{key:"c",className:"rdtCount"},t),r.createElement("span",{key:"do",className:"rdtBtn",onMouseDown:this.onStartClicking("decrease",e),onContextMenu:this.disableContextMenu},"\u25bc")])}return""},renderDayPart:function(){return r.createElement("div",{key:"dayPart",className:"rdtCounter"},[r.createElement("span",{key:"up",className:"rdtBtn",onMouseDown:this.onStartClicking("toggleDayPart","hours"),onContextMenu:this.disableContextMenu},"\u25b2"),r.createElement("div",{key:this.state.daypart,className:"rdtCount"},this.state.daypart),r.createElement("span",{key:"do",className:"rdtBtn",onMouseDown:this.onStartClicking("toggleDayPart","hours"),onContextMenu:this.disableContextMenu},"\u25bc")])},render:function(){var e=this,t=[];return this.state.counters.forEach((function(n){t.length&&t.push(r.createElement("div",{key:"sep"+t.length,className:"rdtCounterSeparator"},":")),t.push(e.renderCounter(n))})),!1!==this.state.daypart&&t.push(e.renderDayPart()),3===this.state.counters.length&&-1!==this.props.timeFormat.indexOf("S")&&(t.push(r.createElement("div",{className:"rdtCounterSeparator",key:"sep5"},":")),t.push(r.createElement("div",{className:"rdtCounter rdtMilli",key:"m"},r.createElement("input",{value:this.state.milliseconds,type:"text",onChange:this.updateMilli})))),r.createElement("div",{className:"rdtTime"},r.createElement("table",{},[this.renderHeader(),r.createElement("tbody",{key:"b"},r.createElement("tr",{},r.createElement("td",{},r.createElement("div",{className:"rdtCounters"},t))))]))},componentWillMount:function(){var e=this;e.timeConstraints={hours:{min:0,max:23,step:1},minutes:{min:0,max:59,step:1},seconds:{min:0,max:59,step:1},milliseconds:{min:0,max:999,step:1}},["hours","minutes","seconds","milliseconds"].forEach((function(t){o(e.timeConstraints[t],e.props.timeConstraints[t])})),this.setState(this.calculateState(this.props))},componentWillReceiveProps:function(e){this.setState(this.calculateState(e))},updateMilli:function(e){var t=parseInt(e.target.value,10);t===e.target.value&&t>=0&&t<1e3&&(this.props.setTime("milliseconds",t),this.setState({milliseconds:t}))},renderHeader:function(){if(!this.props.dateFormat)return null;var e=this.props.selectedDate||this.props.viewDate;return r.createElement("thead",{key:"h"},r.createElement("tr",{},r.createElement("th",{className:"rdtSwitch",colSpan:4,onClick:this.props.showView("days")},e.format(this.props.dateFormat))))},onStartClicking:function(e,t){var n=this;return function(){var r={};r[t]=n[e](t),n.setState(r),n.timer=setTimeout((function(){n.increaseTimer=setInterval((function(){r[t]=n[e](t),n.setState(r)}),70)}),500),n.mouseUpListener=function(){clearTimeout(n.timer),clearInterval(n.increaseTimer),n.props.setTime(t,n.state[t]),document.body.removeEventListener("mouseup",n.mouseUpListener),document.body.removeEventListener("touchend",n.mouseUpListener)},document.body.addEventListener("mouseup",n.mouseUpListener),document.body.addEventListener("touchend",n.mouseUpListener)}},disableContextMenu:function(e){return e.preventDefault(),!1},padValues:{hours:1,minutes:2,seconds:2,milliseconds:3},toggleDayPart:function(e){var t=parseInt(this.state[e],10)+12;return t>this.timeConstraints[e].max&&(t=this.timeConstraints[e].min+(t-(this.timeConstraints[e].max+1))),this.pad(e,t)},increase:function(e){var t=parseInt(this.state[e],10)+this.timeConstraints[e].step;return t>this.timeConstraints[e].max&&(t=this.timeConstraints[e].min+(t-(this.timeConstraints[e].max+1))),this.pad(e,t)},decrease:function(e){var t=parseInt(this.state[e],10)-this.timeConstraints[e].step;return t<this.timeConstraints[e].min&&(t=this.timeConstraints[e].max+1-(this.timeConstraints[e].min-t)),this.pad(e,t)},pad:function(e,t){for(var n=t+"";n.length<this.padValues[e];)n="0"+n;return n}});e.exports=a},function(e,t,n){"use strict";n.r(t),n.d(t,"IGNORE_CLASS_NAME",(function(){return f}));var r=n(16),i=n(27);function o(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var a,s,u=(void 0===a&&(a=0),function(){return++a}),l={},c={},d=["touchstart","touchmove"],f="ignore-react-onclickoutside";function h(e,t){var n=null;return-1!==d.indexOf(t)&&s&&(n={passive:!e.props.preventDefault}),n}t.default=function(e,t){var n,a,d=e.displayName||e.name||"Component";return a=n=function(n){var a,f;function p(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+d+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():Object(i.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!c[r._uid]){void 0===s&&(s=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),c[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),l[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(o(e,t,n))return!0;e=e.parentNode}return e}(e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,l[r._uid],h(r,e))}))}},r.disableOnClickOutside=function(){delete c[r._uid];var e=l[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,h(r,t))})),delete l[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=u(),r}f=n,(a=p).prototype=Object.create(f.prototype),a.prototype.constructor=a,a.__proto__=f;var m=p.prototype;return m.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},m.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+d+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},m.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},m.componentWillUnmount=function(){this.disableOnClickOutside()},m.render=function(){var t=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(this.props,["excludeScrollbar"]);return e.prototype.isReactComponent?t.ref=this.getRef:t.wrappedRef=this.getRef,t.disableOnClickOutside=this.disableOnClickOutside,t.enableOnClickOutside=this.enableOnClickOutside,Object(r.createElement)(e,t)},p}(r.Component),n.displayName="OnClickOutside("+d+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:f,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},a}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollableContainer=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(20));function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,c.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{startIndex:0,endIndex:0}),(0,c.default)((0,a.default)(e),"_settingUp",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.props.displayNumber,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.props.items,r=Math.min(t,n.length)-1;e.setState({startIndex:0,endIndex:r})})),(0,c.default)((0,a.default)(e),"_backward",(function(){var t=1===e.props.displayNumber?e.state.endIndex-1:e.state.startIndex,n=Math.max(0,t-e.props.displayNumber+1);e.setState({startIndex:n,endIndex:t})})),(0,c.default)((0,a.default)(e),"_forward",(function(){var t=1===e.props.displayNumber?e.state.startIndex+1:e.state.endIndex,n=Math.min(t+e.props.displayNumber-1,e.props.items.length-1);e.setState({startIndex:t,endIndex:n})})),(0,c.default)((0,a.default)(e),"getChild",(function(t){return e.itemContainer.children[t]})),(0,c.default)((0,a.default)(e),"getScrollableWidth",(function(){return Math.max(0,e.slidingContainer.offsetWidth-e.leftDiv.offsetWidth-e.rightDiv.offsetWidth)})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this._settingUp()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this;h.default.onTransition(this.props,e,"displayNumber",(function(e){return t._settingUp(e)})),h.default.onTransition(this.props,e,"items",(function(e){return t._settingUp(void 0,e)}))}},{key:"render",value:function(){var e=this,t=this.props.items.slice(this.state.startIndex,this.state.endIndex+1);return f.default.createElement("div",{className:"sliding-section",ref:function(t){return e.slidingContainer=t}},f.default.createElement("div",{className:"left-div",ref:function(t){return e.leftDiv=t}},h.default.cloneAndRender(this.props.leftButton,{onClick:this._backward,canLoadMore:this.state.startIndex>0})),f.default.createElement("div",{className:"items-div",ref:function(t){return e.itemContainer=t}},t.map((function(t){return h.default.cloneAndRender(e.props.template,m(m({},t),{},{key:t.id}))}))),f.default.createElement("div",{className:"right-div",ref:function(t){return e.rightDiv=t}},h.default.cloneAndRender(this.props.rightButton,{onClick:this._forward,canLoadMore:this.state.endIndex<this.props.items.length-1})))}}]),n}(f.default.Component);t.ScrollableContainer=v,(0,c.default)(v,"displayName","ScrollableContainer"),(0,c.default)(v,"propTypes",{items:d.default.arrayOf(d.default.shape({id:d.default.stringOrNumber})),template:d.default.element,displayNumber:d.default.number,leftButton:d.default.element,rightButton:d.default.element})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SearchBar=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(631),p=n(111),m=n(632),v=n(260),g=r(n(12)),y=n(20),b=r(n(11)),_=r(n(14)),w={GLOBAL:"global",LOCAL:"org"},E=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{scope:e.props.defaultScope||w.GLOBAL,filters:{},types:"",query:"",open:!1}),(0,c.default)((0,a.default)(e),"_clearFilter",(function(){e.setState({filters:{},types:""},e._execCallback)})),(0,c.default)((0,a.default)(e),"_toggleFilters",(function(t){var n=_.default.clone(e.state.filters);_.default.isArray(t)||(t=[t]),t.forEach((function(e){n[e]?delete n[e]:n[e]=!0})),e.setState({filters:n,types:Object.keys(n).join(",")},e._execCallback)})),(0,c.default)((0,a.default)(e),"_toggleScope",(function(){e.props.organization&&(e.setState({scope:e.state.scope===w.GLOBAL?w.LOCAL:w.GLOBAL},e._execCallback),e.focus()),e.state.open&&e._toggleScope()})),(0,c.default)((0,a.default)(e),"_handleTextChange",(function(t){e.setState({query:t})})),(0,c.default)((0,a.default)(e),"_execCallback",(function(){var t,n,r=_.default.defaults({organizationId:null===(t=e.props)||void 0===t||null===(n=t.organization)||void 0===n?void 0:n.id},e.state);e.props.onChange(r)})),(0,c.default)((0,a.default)(e),"_placeholder",(function(){if(e.state.scope===w.GLOBAL)return(0,b.default)("related-items-search");var t=(0,y.getAttribute)(e.props.organization,"name");return(0,b.default)("search-org",{orgName:t})})),(0,c.default)((0,a.default)(e),"_isEmpty",(function(t){for(var n in t)if(!_.default.isEmpty(t[n]))return!1;return e.state.query.length>0&&!e.props.pending})),(0,c.default)((0,a.default)(e),"_groupSortFn",(function(e){return"global"===e?1:-1})),(0,c.default)((0,a.default)(e),"_handleFilterMenuToggle",(function(t){t&&e.refs.typeahead.close()})),(0,c.default)((0,a.default)(e),"_handleItemOpen",(function(t,n){"Empty"!==t.destinationType&&(e.props.onOpen(t,n),e.props.clearOnOpen&&e.clear())})),(0,c.default)((0,a.default)(e),"clear",(function(t){e.setState({query:""}),e.props.onClear&&e.props.onClear(),t&&"click"===t.type&&t.stopPropagation()})),(0,c.default)((0,a.default)(e),"focus",(function(){e.refs.typeahead.focus()})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this.trigger=f.default.createElement("div",{className:"toggle"},f.default.createElement("i",{className:"fa fa-filter"}))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t;(null===(t=e.organization)||void 0===t?void 0:t.id)||this.setState({scope:w.GLOBAL})}},{key:"render",value:function(){var e=this.state.scope===w.LOCAL,t=this.props.searchResults;return!this.props.pending&&this._isEmpty(t)&&""!==this.state.query&&(t=[v.EmptyResultRow]),f.default.createElement("div",{className:(0,g.default)("search-container qa-search-container",this.props.className,this.state.types.length>0&&"filter-on"),style:this.props.style,ref:"container"},f.default.createElement("div",{className:"search-scope qa-search-scope",onClick:this._toggleScope},f.default.createElement("i",{className:"fa fa-fw qa-search-scope-icon fa-"+(e?"home":"globe")})),f.default.createElement(p.Typeahead,{ref:"typeahead",className:"search-input qa-search-input",disabled:this.props.disabled,autoFocus:this.props.autoFocus,value:this.state.query,placeholder:this._placeholder(),pending:this.props.pending,isSpinning:this.props.isSpinning,onItemSelected:this._handleItemOpen,onItemsSelected:this.props.onItemsSelected,onQuery:this._execCallback,onChange:this._handleTextChange,onFocus:this.props.onFocus,onBlur:this.props.onBlur,groupSortFn:this._groupSortFn,suggestionsTemplate:this.props.suggestionsTemplate?this.props.suggestionsTemplate:f.default.createElement(m.ResultRow,null),suggestions:t,onClear:this.clear,keepMenuOpenOnSelect:this.props.keepMenuOpenOnSelect,keepOpenOnBlur:this.props.keepOpenOnBlur,doNotCapture:this.props.doNotCapture}),f.default.createElement(h.SearchFilters,{trigger:this.trigger,selectedFilters:this.state.filters,onClick:this._toggleFilters,onToggle:this._handleFilterMenuToggle,onClearAll:this._clearFilter,groups:this.props.assetTypes}))}}]),n}(f.default.Component);t.SearchBar=E,(0,c.default)(E,"propTypes",{onItemsSelected:d.default.func,onItemSelected:d.default.func,defaultScope:d.default.string.affectsRendering,organization:d.default.object.affectsRendering,pending:d.default.bool.affectsRendering,searchResults:d.default.array.affectsRendering,style:d.default.object.affectsRendering,className:d.default.string.affectsRendering,assetTypes:d.default.array.affectsRendering,tags:d.default.array.affectsRendering,disabled:d.default.bool.affectsRendering,suggestionsTemplate:d.default.element,keepMenuOpenOnSelect:d.default.bool,doNotCapture:d.default.bool,clearOnOpen:d.default.bool,onChange:d.default.func.isRequired,onOpen:d.default.func.isRequired}),(0,c.default)(E,"defaultProps",{className:"dark",defaultScope:"global",assetTypes:[{name:"Assets",items:[{name:"configurations",icon:"cog"},{name:"contacts",icon:"users"},{name:"documents",icon:"file-text-o"},{name:"domains",icon:"globe"},{name:"locations",icon:"map-marker"},{name:"passwords",icon:"key"},{name:"ssl_certificates",icon:"lock"}]}]}),E.getUrlForSearch=function(e,t){return["/search.json?related=true&limit=15&query=".concat(encodeURIComponent(e.query)),"global"===e.scope?"":"&filter_organization_id=".concat(e.organizationId||t&&t.id),e.types?"&kind=".concat(e.types):"",e.exclude&&!e.types?"&exclude_kind=".concat(e.exclude):""].join("")},E.Scope=w,E.getIconByClass=m.ResultRow.getIconByClass,E.getNameByClass=m.ResultRow.getNameByClass,E.ResultRow=m.ResultRow},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SearchFilters=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=n(259),p=n(22),m=r(n(11));function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var g=function(e){(0,u.default)(n,e);var t=v(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{}),(0,d.default)((0,s.default)(e),"_handleToggle",(function(t){e.setState(e.state.openGroup===t?{openGroup:null}:{openGroup:t})})),e}return(0,a.default)(n,[{key:"render",value:function(){return f.default.createElement(h.Toggleable,{className:"search-filters qa-search-filters",trigger:this.props.trigger,onToggle:this.props.onToggle,initiallyOpen:this.props.initiallyOpen},f.default.createElement("div",{className:"items"},f.default.createElement("span",{className:"clear-all qa-clear-all",onClick:this.props.onClearAll},(0,m.default)("clear-all")),this.props.groups.map((function(e,t){return f.default.createElement(y,(0,i.default)({},e,{key:t,selectedFilters:this.props.selectedFilters,open:this.state.openGroup===e.name,onClick:this.props.onClick,onToggle:this._handleToggle}))}).bind(this))))}}]),n}(f.default.Component);t.SearchFilters=g;var y=function(e){(0,u.default)(n,e);var t=v(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a)),(0,d.default)((0,s.default)(e),"_handleClick",(function(){e.props.onToggle(e.props.name)})),(0,d.default)((0,s.default)(e),"_getCount",(function(){return e.props.items.filter((function(t){return e.props.selectedFilters[t.id||t.name]})).length})),(0,d.default)((0,s.default)(e),"_renderFilters",(function(){return e.props.items.map((function(e,t){return f.default.createElement(b,(0,i.default)({},e,{key:t,active:this.props.selectedFilters[e.id||e.name],onClick:this.props.onClick}))}).bind((0,s.default)(e)))})),(0,d.default)((0,s.default)(e),"_handleSelectAll",(function(){e.props.onClick(e.props.items.map((function(e){return e.id||e.name})).filter((function(t){return!e.props.selectedFilters[t]})))})),(0,d.default)((0,s.default)(e),"_handleClearAll",(function(){e.props.onClick(e.props.items.map((function(e){return e.id||e.name})).filter((function(t){return e.props.selectedFilters[t]})))})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this._getCount();return f.default.createElement("ul",{className:this.props.open?"open":"closed"},f.default.createElement("li",{className:"group-name qa-group-name",onClick:this._handleClick},f.default.createElement("span",{className:"group-name--title qa-group-name--title"},this.props.name),e>0?f.default.createElement("span",{className:"count qa-count"},e):null),e>0?f.default.createElement("li",{className:"select-all qa-select-all",onClick:this._handleClearAll},(0,m.default)("clear-all")):f.default.createElement("li",{className:"select-all qa-select-all",onClick:this._handleSelectAll},(0,m.default)("select-all")),this._renderFilters())}}]),n}(f.default.Component);function b(e){var t=e.id,n=e.name,r=e.active,i=e.onClick;return f.default.createElement("li",{key:n,onClick:function(){return i(t||n)},className:r?"active":null},f.default.createElement("span",{className:"filter-asset-name qa-filter-asset-name"},f.default.createElement("span",{className:"filter-asset-name--title qa-filter-asset-name--title"},(0,m.default)(n)),r&&f.default.createElement(p.Icon,{name:"check-circle qa-check-circle",className:"filter-asset-name__active-icon qa-filter-asset-name__active-icon"})))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ResultRow=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(1)),c=r(n(37)),d=r(n(12)),f=r(n(11)),h=function(e){return(0,f.default)("asset-types."+e)},p={AccountsUser:{icon:"fa-user",name:h("user")},Attachment:{icon:"fa-paperclip",name:h("attachment")},Checklist:{icon:"fa-check",name:h("checklist")},ChecklistTemplate:{icon:"fa-check",name:h("checklist-template")},Configuration:{icon:"fa-terminal",name:h("configuration")},Contact:{icon:"fa-group",name:h("contact")},DattoDevice:{icon:"fa-life-ring",name:h("datto-device")},Document:{icon:"fa-file-o",name:h("document")},"Document::Folder":{icon:"fa-folder",name:h("document-folder")},Domain:{icon:"fa-globe",name:h("domain")},Empty:{icon:null,name:""},Folder:{icon:"fa-folder",name:h("folder")},Location:{icon:"fa-map-marker",name:h("location")},Organization:{icon:"fa-home",name:h("organization")},Password:{icon:"fa-key",name:h("password")},SslCertificate:{icon:"fa-lock",name:h("ssl-certificate")},"StructuredData::Row":{icon:"fa-table",name:h("data-row")},"StructuredData::Table":{icon:"fa-table",name:h("data-row")},Ticket:{icon:"fa-ticket",name:h("ticket")}},m=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props.destinationType,t=this.props.organizationName,r=n.getNameByClass(e),i=n.getIconByClass(e);switch(e){case"Configuration":switch(this.props.configurationTypeName){case"Managed Workstation":case"Workstation - Windows":i="fa-desktop";break;case"Managed Server":i="fa-terminal";break;case"Printer":i="fa-print"}r=this.props.configurationTypeName;break;case"StructuredData::Row":r=this.props.tableName,i="fa-"+this.props.icon;break;case"DattoDevice":t=l.default.createElement("div",null,l.default.createElement("div",null,this.props.serialNumber),l.default.createElement("div",null,this.props.remoteIp))}return l.default.createElement("div",{className:(0,d.default)("tt-suggestion qa-tt-suggestion",c.default.paramCase(e),this.props.className)},l.default.createElement("div",{className:"tt-suggestion-content--left"},l.default.createElement("div",{className:"hint no-wrap"},this.props.hint),l.default.createElement("div",{className:"details text-muted no-wrap"},t)),l.default.createElement("div",{className:"tt-suggestion-content--right text-muted icon no-wrap"},l.default.createElement("i",{className:"fa fa-fw "+i})," ",r))}}]),n}(l.default.Component);t.ResultRow=m,m.getIconByClass=function(e){return p[e]&&p[e].icon},m.getNameByClass=function(e){return p[e]&&p[e].name}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SearchBarV3=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(2)),p=r(n(1)),m=r(n(12)),v=r(n(14)),g=n(297),y=n(634),b=n(680),_=r(n(40)),w=r(n(11)),E=r(n(20)),C=n(118),A={ORGANIZATION:"home",GLOBAL:"globe",GLUE_CONNECT:"compress"},k=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"state",{lastConfigIndex:null,lastSelectedIndexMap:{},activeConfigIndex:null,query:"",passwordValue:null,scope:C.Scopes.GLOBAL}),(0,f.default)((0,u.default)(e),"_activeConfig",(function(){return e.props.configs[e.state.activeConfigIndex]})),(0,f.default)((0,u.default)(e),"hasValue",(function(){return e.state.query&&e.state.query.length})),(0,f.default)((0,u.default)(e),"_isVisible",(function(){return null!==e.state.activeConfigIndex})),(0,f.default)((0,u.default)(e),"_hide",(function(){document.body.style.overflow=e._bodyOverflow||"auto",e.setState({activeConfigIndex:null})})),(0,f.default)((0,u.default)(e),"show",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e.setState({scope:C.Scopes.GLOBAL}),e._show(t)})),(0,f.default)((0,u.default)(e),"_show",(function(t){t<0||("hidden"!==getComputedStyle(document.body).overflow&&(e._bodyOverflow=getComputedStyle(document.body).overflow),document.body.style.overflow="hidden",e.setState({activeConfigIndex:t},(0,o.default)(i.default.mark((function t(){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=e._activeConfig()).onOpen){t.next=4;break}return t.next=4,n.onOpen();case 4:e.hasValue()&&e._execCallback(),e._hideHints(!0);case 6:case"end":return t.stop()}}),t)})))),e.props.defaultQuery&&e.setState({query:e.props.defaultQuery}),e.props.onShow&&e.props.onShow())})),(0,f.default)((0,u.default)(e),"_switchConfig",(function(t){e.props.configs.length>1&&e._show(t?0===e.state.activeConfigIndex?e.props.configs.length-1:e.state.activeConfigIndex-1:e.state.activeConfigIndex===e.props.configs.length-1?0:e.state.activeConfigIndex+1)})),(0,f.default)((0,u.default)(e),"_areHintsVisible",(function(){return null!==e.state.lastConfigIndex})),(0,f.default)((0,u.default)(e),"_showHints",(function(){var t=e.state.activeConfigIndex;null===t&&(t=-1),e.setState({lastConfigIndex:t})})),(0,f.default)((0,u.default)(e),"_hideHints",(function(t){var n=e.state.lastConfigIndex;e.setState({lastConfigIndex:null},(function(){!t&&n>-1&&this._show(n)}))})),(0,f.default)((0,u.default)(e),"_closeHintsAndShowSearch",(function(){e._hideHints()})),(0,f.default)((0,u.default)(e),"_clear",(function(){e.setState({query:""})})),(0,f.default)((0,u.default)(e),"_isContentEditable",(function(e){return e&&("INPUT"===e.nodeName||"SELECT"===e.nodeName||"TEXTAREA"===e.nodeName||e.classList.contains("alloy")||e.isContentEditable)})),(0,f.default)((0,u.default)(e),"_setPassword",(function(t){e.setState({passwordValue:t})})),(0,f.default)((0,u.default)(e),"_focusSeachBar",(function(){e.refs.searchbar.focus()})),(0,f.default)((0,u.default)(e),"_handleWindowKeyDownEvent",(function(t){if(!document.body.classList.contains("modal-open")){var n,r,i,o,a,s,u,l,c,d;if(e.state.passwordValue&&_.default.isEscKey(t)?(e.setState({passwordValue:null}),e._focusSeachBar()):e._areHintsVisible()&&_.default.isEscKey(t)?e._hideHints():e._isVisible()&&_.default.isEscKey(t)&&(e.hasValue()?(e._clear(),t.stopPropagation()):(t.preventDefault(),e._hide())),e._isVisible()&&_.default.isTab(t)&&("INPUT"!==(null===(n=t.target)||void 0===n?void 0:n.tagName)&&"INPUT"!==(null===(r=t.target)||void 0===r||null===(i=r.shadowRoot)||void 0===i||null===(o=i.activeElement)||void 0===o?void 0:o.tagName)||(null===(a=t.target)||void 0===a||null===(s=a.classList)||void 0===s?void 0:s.contains("searchbar-search-input"))||(null===(u=t.target)||void 0===u||null===(l=u.shadowRoot)||void 0===l||null===(c=l.activeElement)||void 0===c||null===(d=c.classList)||void 0===d?void 0:d.contains("searchbar-search-input")))&&(t.preventDefault(),e._switchConfig(t.shiftKey)),t.altKey){if(e._isVisible()&&71===t.keyCode)return t.preventDefault(),void e._switchScope();if(!e._areHintsVisible()&&_.default.isSlash(t))return t.preventDefault(),void e._showHints();if(e._areHintsVisible()&&_.default.isSlash(t))return e._handleSelectionChange(0),t.preventDefault(),void e._hideHints()}if(!e._isContentEditable(t.path&&t.path[0]||t.target)&&!_.default.isAnyModifierKeyPressed(t))for(var f=0;f<e.props.configs.length;f++){var h=e.props.configs[f];if(h.shouldActivate&&h.shouldActivate(t)){if(t.preventDefault(),e.state.activeConfigIndex===f)e._hide();else{if(h.setScopeKeys&&h.setScopeKeys.length>0){var p=h.setScopeKeys.find((function(e){return t.keyCode===e.key}));e.setState({scope:p.defaultScope})}e._show(f)}return!1}}}})),(0,f.default)((0,u.default)(e),"_handleGlobalClick",(function(t){e._isVisible()&&(t.path&&t.path[0]||t.target)===e.refs.background?e._hide():e._areHintsVisible()&&(t.path&&t.path[0]||t.target)===e.refs.background&&e._hideHints()})),(0,f.default)((0,u.default)(e),"_addClassToBody",(function(){return document.body.classList.add("has-modal"),!0})),(0,f.default)((0,u.default)(e),"_removeClassToBody",(function(){document.body.classList.remove("has-modal")})),(0,f.default)((0,u.default)(e),"_handleOpen",(function(t,n){e._hide(),e.props.onOpen(t,n)})),(0,f.default)((0,u.default)(e),"_handleTextChange",(function(t){e.setState({query:t}),e._handleSelectionChange(0)})),(0,f.default)((0,u.default)(e),"_execCallback",(function(){e._activeConfig().onQuery(e.state.query,e.state.scope===C.Scopes.ORGANIZATION?e.props.organization:null,e.state.scope),e._handleSelectionChange(0)})),(0,f.default)((0,u.default)(e),"execForcedCallback",(function(t){e._activeConfig().onQuery(e.state.query,e.state.scope===C.Scopes.ORGANIZATION?e.props.organization:null,e.state.scope,t)})),(0,f.default)((0,u.default)(e),"_getOrgName",(function(){var t=e.props.organization;return!t.name&&t.attributes?t.attributes.name:t.name})),(0,f.default)((0,u.default)(e),"_getPlaceholderPrefix",(function(){return e.props.placeholderPrefix?e.props.placeholderPrefix+" ":""})),(0,f.default)((0,u.default)(e),"_placeholder",(function(){var t,n=e._activeConfig().placeholder;return t=e._canSwitchToOrgScope()&&e.state.scope===C.Scopes.ORGANIZATION?n?(0,w.default)("quick-search.search-context-in-org",{context:n,orgName:e._getOrgName(),interpolation:{escapeValue:!1}}):(0,w.default)("quick-search.search-in-org",{orgName:e._getOrgName(),interpolation:{escapeValue:!1}}):e.state.scope===C.Scopes.GLUE_CONNECT?n?(0,w.default)("quick-search.search-context",{context:n}):(0,w.default)("quick-search.glue-connect-search"):n?(0,w.default)("quick-search.search-context",{context:n}):(0,w.default)("quick-search.global-search"),e._getPlaceholderPrefix()+t})),(0,f.default)((0,u.default)(e),"_isEmpty",(function(t){for(var n in t)if(!v.default.isEmpty(t[n]))return!1;return e.state.query.length>0&&!e.props.pending})),(0,f.default)((0,u.default)(e),"_getSuggestions",(function(){var t;return e.hasValue()?(t=e._activeConfig().searchResults,!e.props.pending&&e._isEmpty(t)&&""!==e.state.query&&(t=[{name:(0,w.default)("no-results"),hint:(0,w.default)("no-results"),disabled:!0}])):t=e._activeConfig().defaults,t})),(0,f.default)((0,u.default)(e),"_getSuggestionTemplate",(function(){return E.default.cloneAndRender(e._activeConfig().suggestionsTemplate||p.default.createElement(g.ResultRow,{showArchiveIcon:function(){return!!e._getArchiveFilter()}}),{scope:e.state.scope})})),(0,f.default)((0,u.default)(e),"_canSwitchToOrgScope",(function(){return e._activeConfig().canSwitchToOrgScope&&e.props.organization&&e.props.organization.id})),(0,f.default)((0,u.default)(e),"_switchScope",(function(){var t=e.props.availableScopes,n=(t.indexOf(e.state.scope)+1)%(e._canSwitchToOrgScope()?t.length:t.length-1);e.setState({scope:t[n]},e._execCallback)})),(0,f.default)((0,u.default)(e),"_getKeyStringByOS",(function(e){switch(e){case"alt":return E.default.isMac()?"option":"alt";case"cmd":return E.default.isMac()?"command":"ctrl";default:return e}})),(0,f.default)((0,u.default)(e),"_getShortCutTemplate",(function(){return p.default.createElement("div",{className:"search-shortcut-hints"},p.default.createElement("span",{className:"shortcut"},e._getKeyStringByOS("alt")+" /"),p.default.createElement("span",null,(0,w.default)("quick-search.shortcuts")))})),(0,f.default)((0,u.default)(e),"_handleSelectionChange",(function(t){var n=e.state.lastSelectedIndexMap;n[e.state.activeConfigIndex]=t,e.setState({lastSelectedIndexMap:n}),e._setCurrentSelection(t)})),(0,f.default)((0,u.default)(e),"_setCurrentSelection",(function(t){var n;(null===(n=e._activeConfig())||void 0===n?void 0:n.searchResults)&&e.setState({currentSelection:e._activeConfig().searchResults[t]})})),(0,f.default)((0,u.default)(e),"_getSelectItemIndex",(function(){return e.state.lastSelectedIndexMap[e.state.activeConfigIndex]||0})),(0,f.default)((0,u.default)(e),"_hasSuggestedSearchResults",(function(){var t=e._activeConfig();return e.props.hasSuggestedSearchResults&&t&&t.defaults&&t.defaults.length})),(0,f.default)((0,u.default)(e),"_getSuggestionsMessage",(function(){return e._hasSuggestedSearchResults()&&!e.hasValue()?(0,w.default)("quick-search.suggested-items"):null})),(0,f.default)((0,u.default)(e),"_handleKeyDownInSelectableList",(function(t){var n,r,i,o,a,s;null===(n=e.refs)||void 0===n||null===(r=n.searchbar)||void 0===r||null===(i=r.refs)||void 0===i||null===(o=i.wrapper)||void 0===o||null===(a=o.refs)||void 0===a||null===(s=a.list)||void 0===s||s.handleWindowKeyEvent(t)})),(0,f.default)((0,u.default)(e),"getCurrentSelection",(function(){return e.state.currentSelection})),(0,f.default)((0,u.default)(e),"_getArchiveFilter",(function(){return e.hasValue()&&e.props.archiveFilter?!e.props.hasArchiveFeature||e._activeConfig().name!==(0,w.default)("quick-search.global-search")&&e._activeConfig().name!==(0,w.default)("quick-search.glue-connect-search")?e.props.hasArchiveConfigFeature&&"Configurations"===e._activeConfig().name?e.props.archiveFilter:void 0:e.props.archiveFilter:null})),e}return(0,s.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.organization!==e.organization&&this.setState(e.organization&&e.organization.id?{scope:C.Scopes.ORGANIZATION}:{scope:C.Scopes.GLOBAL})}},{key:"UNSAFE_componentWillMount",value:function(){this.props.listenOn.addEventListener("keydown",this._handleWindowKeyDownEvent,!0),this.props.listenOn.addEventListener("click",this._handleGlobalClick),this.props.listenOn.addEventListener("pushstate",this._hide)}},{key:"componentWillUnmount",value:function(){this.props.listenOn.removeEventListener("keydown",this._handleWindowKeyDownEvent,!0),this.props.listenOn.removeEventListener("click",this._handleGlobalClick),this.props.listenOn.removeEventListener("pushstate",this._hide)}},{key:"render",value:function(){this._isVisible()||this._areHintsVisible()?this._addClassToBody():this._removeClassToBody();var e=!!this._hasSuggestedSearchResults(),t=!!(this._activeConfig()&&this._activeConfig().searchResults&&this._activeConfig().searchResults.length||e);return p.default.createElement("div",{ref:"container"},this._isVisible()&&!this._areHintsVisible()&&p.default.createElement("div",{ref:"background",onKeyDown:this._handleKeyDownInSelectableList,className:(0,m.default)("search-bar-v3 qa-search-bar-v3",this._activeConfig().className)},p.default.createElement("div",{className:(0,m.default)("search-bar-v3-wrapper qa-search-bar-v3-wrapper",t&&"has-search-results qa-has-results")},p.default.createElement(b.SearchRow,{className:(0,m.default)("light",this.state.query&&"has-input-value",e&&!this.hasValue()&&"has-suggestions",t?"has-search-results qa-has-search-results":"no-results qa-no-results"),ref:"searchbar",autoFocus:!0,value:this.state.query,placeholder:this._placeholder(),pending:this.props.pending,onItemSelected:this._handleOpen,onQuery:this._execCallback,onChange:this._handleTextChange,onSelectionChange:this._handleSelectionChange,startIndex:0,selectItemIndex:this._getSelectItemIndex(),shortCutTemplate:this._getShortCutTemplate(),suggestionsTemplate:this._getSuggestionTemplate(),suggestionsMessage:this._getSuggestionsMessage(),suggestions:this._getSuggestions()},p.default.createElement("div",{className:(0,m.default)("search-scope qa-search-scope","active")},p.default.createElement("i",{className:"fa fa-fw qa-search-scope-icon fa-"+(this._canSwitchToOrgScope()&&this.state.scope===C.Scopes.ORGANIZATION?"home":this.state.scope!==C.Scopes.ORGANIZATION?A[this.state.scope.toUpperCase()]:A.GLOBAL),onClick:this._switchScope})),p.default.createElement("div",{className:"input-placeholder qa-input-placeholder"},this._placeholder()),this._getArchiveFilter()),this.props.assetGetters&&t&&(this.state.query||e)&&p.default.createElement(y.Preview,{getPassword:this.props.assetGetters.getPassword,loadPasswordSync:this.props.assetGetters.loadPasswordSync,loadPasswordAsync:this.props.assetGetters.loadPasswordAsync,getContact:this.props.assetGetters.getContact,getConfiguration:this.props.assetGetters.getConfiguration,getLocation:this.props.assetGetters.getLocation,getOperatingSystems:this.props.assetGetters.getOperatingSystems,getDocument:this.props.assetGetters.getDocument,setPassword:this._setPassword,passwordValue:this.state.passwordValue,getFlexibleAsset:this.props.assetGetters.getFlexibleAsset,getFlexibleAssetFields:this.props.assetGetters.getFlexibleAssetFields,getTicket:this.props.assetGetters.getTicket,getAssociatedAssetsGetters:this.props.assetGetters.getAssociatedAssetsGetters,mainUrl:this.state.currentSelection&&E.default.getLocationOrigin(this.state.currentSelection.url),isChromeExt:this.props.isChromeExt,currentSelection:this.state.currentSelection,createVaultPassword:this.props.createVaultPassword,getUserKeySet:this.props.getUserKeySet,onCreateVaultStart:this.props.onCreateVaultStart,onCreateVaultEnd:this.props.onCreateVaultEnd,shouldShowVaultPassword:this.props.shouldShowVaultPassword,getVault:this.props.getVault,setUserKey:this.props.setUserKey,getUserKey:this.props.getUserKey}))),this._areHintsVisible()&&p.default.createElement("div",{ref:"background",className:(0,m.default)("search-bar-v3 qa-search-bar-v3")},p.default.createElement("div",{className:"search-bar-v3-wrapper qa-search-bar-v3-wrapper"},p.default.createElement("div",{className:"keyboard-shortcuts-summary qa-keyboard-shortcuts-summary"},p.default.createElement("div",null,p.default.createElement("div",{className:"title qa-title"},(0,w.default)("quick-search.shortcuts")),p.default.createElement("div",{className:"keys qa-keys"},p.default.createElement("span",{className:"key qa-key-label"},this._getKeyStringByOS("alt")),p.default.createElement("span",{className:"key qa-key-symbol"},"/"))),p.default.createElement("div",{className:"shortcuts qa-shortcuts"},this.props.configs.map((function(e,t){return e.keys&&e.keys.length&&p.default.createElement("div",{key:t,className:"shortcut qa-one-shortcut"},p.default.createElement("span",{className:"name qa-shortcut-name"},e.name),p.default.createElement("span",{className:"keys"},e.keys.map((function(e,t){return p.default.createElement("span",{key:t,className:"key qa-shortcut-key"},e)}))))})),p.default.createElement("div",{className:"shortcut qa-one-shortcut"},p.default.createElement("span",{className:"name qa-shortcut-name"},(0,w.default)("quick-search.org-or-global-search")),p.default.createElement("span",{className:"keys"},p.default.createElement("span",{className:"key qa-shortcut-key"},"Q"))),p.default.createElement("div",{className:"shortcut qa-one-shortcut"},p.default.createElement("span",{className:"name qa-shortcut-name"},(0,w.default)("quick-search.toggle-global-scope")),p.default.createElement("span",{className:"keys"},p.default.createElement("span",{className:"key qa-shortcut-key-symbol"},this._getKeyStringByOS("alt")),p.default.createElement("span",{className:"key qa-shortcut-key"},"G"))),p.default.createElement("div",{className:"shortcut qa-one-shortcut"},p.default.createElement("span",{className:"name qa-shortcut-name"},(0,w.default)("quick-search.next-search-scope")),p.default.createElement("span",{className:"keys"},p.default.createElement("span",{className:"key qa-shortcut-key-name"},"tab"))),p.default.createElement("div",{className:"shortcut qa-one-shortcut"},p.default.createElement("span",{className:"name qa-shortcut-name"},(0,w.default)("quick-search.prev-search-scope")),p.default.createElement("span",{className:"keys"},p.default.createElement("span",{className:"key qa-shortcut-key-name"},"shift"),p.default.createElement("span",{className:"key qa-shortcut-key-name"},"tab"))),p.default.createElement("div",{className:"shortcut qa-one-shortcut"},p.default.createElement("span",{className:"name qa-shortcut-name"},(0,w.default)("quick-search.open-in-new-tab")),p.default.createElement("span",{className:"keys"},p.default.createElement("span",{className:"key qa-shortcut-key-name"},this._getKeyStringByOS("cmd")),p.default.createElement("span",{className:"key qa-shortcut-key-name"},"enter")))),p.default.createElement("div",null,p.default.createElement("div",{className:"close qa-close",onClick:this._closeHintsAndShowSearch},p.default.createElement("i",{className:"fa fa-times","aria-hidden":"true"})))))))}}]),n}(p.default.Component);t.SearchBarV3=k,(0,f.default)(k,"propTypes",{configs:h.default.arrayOf(h.default.shape({className:h.default.string,canSwitchToOrgScope:h.default.bool,placeholder:h.default.string,shouldActivate:h.default.func,defaults:h.default.array,updateDefaults:h.default.func,onQuery:h.default.func.isRequired,onShow:h.default.func,defaultQuery:h.default.string,searchResults:h.default.array,suggestionsTemplate:h.default.element,name:h.default.string,keys:h.default.arrayOf(h.default.string)})).isRequired.affectsRendering,onOpen:h.default.func.isRequired,pending:h.default.bool.affectsRendering,organization:h.default.object.affectsRendering,placeholderPrefix:h.default.string,suggestedSearchResults:h.default.array,listenOn:h.default.object,availableScopes:h.default.arrayOf(h.default.string),isChromeExt:h.default.bool,archivedIncluded:h.default.bool,archiveFilter:h.default.element,hasArchiveFeature:h.default.bool,hasArchiveConfigFeature:h.default.bool}),(0,f.default)(k,"defaultProps",{listenOn:window,availableScopes:[C.Scopes.GLOBAL,C.Scopes.ORGANIZATION]})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Preview=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=n(635),p=n(636),m=r(n(2)),v=r(n(1)),g=r(n(27)),y=r(n(9)),b=r(n(12)),_=n(49),w=n(640),E=n(656),C=n(659),A=n(660),k=n(661),S=n(674),x=n(71),D=n(297),O=r(n(14)),T=n(20),F=n(90),M=n(117),P=n(112),L=n(36);function R(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var I=(0,P.withGetPasswordValueAndOTP)(w.Password),N=y.default.duration({days:90}).asMilliseconds(),H=function(e){(0,l.default)(c,e);var t,n,r=j(c);function c(){var e;(0,a.default)(this,c);for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return e=r.call.apply(r,[this].concat(n)),(0,f.default)((0,u.default)(e),"state",{item:{},currentSelection:{},osTypes:{},loading:null}),(0,f.default)((0,u.default)(e),"_resetScrollPosition",(function(){if(e._ismounted){var t=g.default.findDOMNode((0,u.default)(e));t&&(t.scrollTop=0)}})),(0,f.default)((0,u.default)(e),"_getFlexibleAsset",function(){var t=(0,o.default)(i.default.mark((function t(n){var r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.props.getFlexibleAsset(n);case 2:return r=t.sent.body.data,t.next=6,e.props.getFlexibleAssetFields(r.attributes["flexible-asset-type-id"]);case 6:return t.abrupt("return",{item:r,faFields:t.sent.body.data});case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,f.default)((0,u.default)(e),"_getOrgId",(function(e){return e?e.match(/\/DOC-(\d+)-\d+\/?/)[1]:null})),(0,f.default)((0,u.default)(e),"_loadItem",function(){var t=(0,o.default)(i.default.mark((function t(n,r,o){var a,s,u,l,c,d,f,h,p;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e._ismounted){t.next=2;break}return t.abrupt("return");case 2:return e.setState({currentSelection:n}),a=setTimeout((function(){return e.setState({loading:!0})}),1e3),t.prev=4,t.next=7,r(n.id);case 7:if(s=t.sent,l={},!o){t.next=30;break}u=o(n.class,n.id),c=R(u),t.prev=12,c.s();case 14:if((d=c.n()).done){t.next=22;break}return f=d.value,t.next=18,f.getItems();case 18:(h=t.sent).error||(l[f.type]={items:h.body.data,totalItems:null===(p=h.body.meta)||void 0===p?void 0:p["total-count"]});case 20:t.next=14;break;case 22:t.next=27;break;case 24:t.prev=24,t.t0=t.catch(12),c.e(t.t0);case 27:return t.prev=27,c.f(),t.finish(27);case 30:e.setState({loading:!1,item:e._getItemFromResp(s),associatedAssets:l}),clearTimeout(a),t.next=36;break;case 34:t.prev=34,t.t1=t.catch(4);case 36:case"end":return t.stop()}}),t,null,[[4,34],[12,24,27,30]])})));return function(e,n,r){return t.apply(this,arguments)}}()),(0,f.default)((0,u.default)(e),"_getItemFromResp",(function(e){if(e.body){var t=e.body.data?e.body.data[0]||e.body.data:e.body;return e.body.included?O.default.defaults({included:e.body.included},t):t}return e})),(0,f.default)((0,u.default)(e),"_getIconClass",(function(e){var t=e.destinationType;return"Configuration"===t?(0,x.getConfigTypeIconClass)(e.configurationTypeName):"StructuredData::Row"===t?"fa-"+e.icon:D.ResultRow.getIconByClass(t)})),(0,f.default)((0,u.default)(e),"_renderItem",(function(t){if(e.state.loading)return v.default.createElement(_.DotLoader,{className:"asset-loader",dark:!0});switch(t.class){case"password":var n=!e.props.isChromeExt&&e.props.mainUrl!==document.location.origin;return v.default.createElement(I,{password:e.state.item,getPasswordValueAndOTP:function(t){return e.props.getPassword(t,!0)},loadPasswordSync:e.props.loadPasswordSync,loadPasswordAsync:e.props.loadPasswordAsync,setPassword:e.props.setPassword,mainUrl:e.props.mainUrl,isFromConnectedAccount:n,passwordValue:e.props.passwordValue,createVaultPassword:e.props.createVaultPassword,getUserKeySet:e.props.getUserKeySet,onCreateVaultStart:e.props.onCreateVaultStart,onCreateVaultEnd:e.props.onCreateVaultEnd,shouldShowVaultPassword:e.props.shouldShowVaultPassword,accountName:e.state.currentSelection.accountName,getVault:e.props.getVault,setUserKey:e.props.setUserKey,getUserKey:e.props.getUserKey});case"contact":return v.default.createElement(E.Contact,{contact:e.state.item,mainUrl:e.props.mainUrl,associatedAssets:e.state.associatedAssets});case"configuration":return v.default.createElement(C.Configuration,{configuration:e.state.item,osTypes:e.state.osTypes,mainUrl:e.props.mainUrl,getExpirationStatus:e._getExpirationStatus,associatedAssets:e.state.associatedAssets});case"location":return v.default.createElement(A.Location,{location:e.state.item,mainUrl:e.props.mainUrl,associatedAssets:e.state.associatedAssets});case"document":return!e.props.getDocument||t.isUploaded&&!t.attachmentPreviewable?v.default.createElement(z,{name:t.name,iconClass:(0,M.getFileIcon)(t.attachmentFileType,t.attachmentFileName)}):v.default.createElement(k.Document,{document:e.state.item,uploadedDocument:t.isUploaded?t:null,url:t.url,mainUrl:e.props.mainUrl});case"structureddata_row":return v.default.createElement(S.FlexibleAsset,{flexibleAsset:e.state.item,setPassword:e.props.setPassword,passwordValue:e.props.passwordValue,mainUrl:e.props.mainUrl,getExpirationStatus:e._getExpirationStatus,getFlexibleAssetFields:e.props.getFlexibleAssetFields});case"ticket":if(!e.props.isChromeExt)return(0,L.psaTicketsEnabled)()?v.default.createElement(p.TicketBMS,{ticket:e.state.item,mainUrl:e.props.mainUrl}):v.default.createElement(h.Ticket,{ticket:e.state.item,mainUrl:e.props.mainUrl})}return v.default.createElement(z,{name:t.name?t.name:t.userName,iconClass:e._getIconClass(t)})})),(0,f.default)((0,u.default)(e),"_getExpirationStatus",(function(e){var t=(0,F.calculateRemaining)(e);return t>N?null:t<0?"expired":"soon"})),e}return(0,s.default)(c,[{key:"UNSAFE_componentWillMount",value:(n=(0,o.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.getOperatingSystems();case 2:this.setState({osTypes:O.default.indexBy(e.sent.body.data,"id")}),this._loadItem=(0,T.sequential)(this._loadItem);case 5:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"componentDidMount",value:function(){this._ismounted=!0}},{key:"componentWillUnmount",value:function(){this._ismounted=!1,this.setState=O.default.noop}},{key:"UNSAFE_componentWillReceiveProps",value:(t=(0,o.default)(i.default.mark((function e(t){var n,r,o,a=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.currentSelection){e.next=3;break}return e.abrupt("return");case 3:if(!n||n.class===this.state.currentSelection.class&&n.id===this.state.currentSelection.id){e.next=29;break}e.t0=n.class,e.next="password"===e.t0?7:"contact"===e.t0?9:"configuration"===e.t0?12:"location"===e.t0?15:"document"===e.t0?18:"structureddata_row"===e.t0?20:"ticket"===e.t0?22:24;break;case 7:return r=this.props.getPassword,e.abrupt("break",24);case 9:return r=this.props.getContact,o=this.props.getAssociatedAssetsGetters,e.abrupt("break",24);case 12:return r=this.props.getConfiguration,o=this.props.getAssociatedAssetsGetters,e.abrupt("break",24);case 15:return r=this.props.getLocation,o=this.props.getAssociatedAssetsGetters,e.abrupt("break",24);case 18:return r=this.props.getDocument&&!n.isUploaded?function(){return a.props.getDocument(n.id,a._getOrgId(n.url))}:null,e.abrupt("break",24);case 20:return r=this._getFlexibleAsset,e.abrupt("break",24);case 22:return r=this.props.getTicket,e.abrupt("break",24);case 24:if(this.setState({loading:null}),!r){e.next=29;break}return e.next=28,this._loadItem(n,r,o);case 28:this._resetScrollPosition();case 29:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){return v.default.createElement("div",{className:(0,b.default)("asset-preview qa-asset-preview"),tabIndex:0},this.props.currentSelection&&this._renderItem(this.props.currentSelection))}}]),c}(v.default.Component);t.Preview=H,(0,f.default)(H,"displayName","QSPreview"),(0,f.default)(H,"propTypes",{currentSelection:m.default.object,getPassword:m.default.func,getContact:m.default.func,getLocation:m.default.func,getConfiguration:m.default.func,getFlexibleAsset:m.default.func,getFlexibleAssetFields:m.default.func,getTicket:m.default.func,getAssociatedAssetsGetters:m.default.func,mainUrl:m.default.string});var z=function(e){return v.default.createElement("div",{className:"no-preview qa-no-preview"},v.default.createElement("div",{className:"preview-inner-container qa-preview-inner-container"},v.default.createElement("i",{className:"fa qa-asset-preview-icon fa-fw "+e.iconClass}),e.name))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Ticket=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(11)),h=r(n(2)),p=n(53),m=n(20),v=n(291),g=n(25),y=f.default.title,b=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e,t,n=(null===(e=this.props.ticket)||void 0===e?void 0:e.attributes)||{},r=(null===(t=this.props.ticket)||void 0===t?void 0:t.included)||[];r=r.filter((function(e){return"configurations"===e.type}));var o=(0,g.addMainUrlToPath)("/".concat(n["organization-id"],"/tickets/").concat(this.props.ticket.id),this.props.mainUrl);return d.default.createElement("div",{className:"ticket-preview"},d.default.createElement(p.Header,(0,i.default)({},n,{id:this.props.ticket.id,url:o})),d.default.createElement("div",{className:"margin-medium-vertical"},d.default.createElement(v.Row,{title:y("tickets.board"),value:n["ticket-board-name"]}),d.default.createElement(v.Row,{title:y("tickets.ticket-number"),value:n["ticket-number"]}),d.default.createElement(v.ContactLink,{organizationId:n["organization-id"],id:n["contact-id"],name:n["contact-name"]}),d.default.createElement(v.Row,{title:y("status"),value:n["ticket-status-name"]}),d.default.createElement(v.Row,{title:y("tickets.priority"),value:n.priority}),d.default.createElement(v.Row,{title:y("created"),value:(0,m.formatDateTimeString)(n["ticket-created"])}),d.default.createElement(v.Row,{title:y("updated"),value:(0,m.formatDateTimeString)(n["ticket-updated"])}),r&&r.length>0&&d.default.createElement(v.IncludedItems,{title:y("document-titles.configurations"),includedResources:r})))}}]),n}(d.default.Component);t.Ticket=b,(0,c.default)(b,"propTypes",{ticket:h.default.basicApiResource})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TicketBMS=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(11)),p=r(n(2)),m=n(53),v=n(25),g=n(298),y=n(637),b=n(638),_=n(115),w=h.default.title,E=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_getSLAStatus",(function(e){return e.isSLAPaused?(0,h.default)("tickets.sla.paused"):e.hasMetSLA&&e.completedDate?(0,h.default)("tickets.sla.resolved"):!e.hasMetSLA&&e.completedDate?(0,h.default)("tickets.sla.missed"):e.firstResponseTargetTime||Date.parse(e.resolutionTargetTime)>Date.now()?(0,h.default)("tickets.sla.threshold-reached"):void 0})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this.props.ticket.attributes||{},t=e.psa||{},n=(0,v.addMainUrlToPath)("/".concat(e["organization-id"],"/tickets/").concat(this.props.ticket.id),this.props.mainUrl);return f.default.createElement("div",{className:"ticket-preview bms-ticket-preview"},f.default.createElement(m.Header,{name:t.title,id:this.props.ticket.id,url:n}),f.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},f.default.createElement(_.Column,{title:w("tickets.ticket-number"),value:t.ticketNumber}),f.default.createElement(y.OrganizationLink,{organizationId:e["organization-id"],organizationName:e["organization-name"],mainUrl:this.props.mainUrl}),e["contact-url"]?f.default.createElement(g.ContactLink,(0,i.default)({},e,{mainUrl:this.props.mainUrl})):f.default.createElement(_.Column,{title:(0,h.default)("contact"),value:t.contactName}),f.default.createElement(_.Column,{title:w("created-by"),value:t.createdByName}),f.default.createElement(_.Column,{title:(0,h.default)("tickets.sla-status"),value:this._getSLAStatus(t),className:"sla-status"}),f.default.createElement(_.Column,{title:w("status"),value:t.statusName}),f.default.createElement(_.Column,{title:w("assignee"),value:t.assigneeName}),f.default.createElement(b.AffectedAssets,{softwareAssetName:t.softwareAssetName,hardwareAssetName:e["configuration-name"]||t.hardwareAssetName,hardwareAssetUrl:e["configuration-url"]})))}}]),n}(f.default.Component);t.TicketBMS=E,(0,d.default)(E,"propTypes",{ticket:p.default.basicApiResource,mainUrl:p.default.string})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.OrganizationLink=void 0;var i=r(n(1)),o=r(n(11)),a=n(25),s=r(n(2)),u=function(e){var t=e.organizationId,n=e.organizationName,r=e.mainUrl;return n?i.default.createElement("div",{className:"dl-inner-container"},i.default.createElement("dt",null,(0,o.default)("organization")),i.default.createElement("dd",null,t?i.default.createElement("a",{target:"_blank",href:(0,a.addMainUrlToPath)("/".concat(t),r)},n):n)):null};t.OrganizationLink=u,u.propTypes={organizationName:s.default.string,organizationId:s.default.oneOfType([s.default.string,s.default.number]),mainUrl:s.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AffectedAssets=void 0;var i=r(n(1)),o=r(n(11)),a=r(n(2)),s=n(639),u=o.default.title,l=function(e){var t=e.softwareAssetName,n=e.hardwareAssetName,r=e.hardwareAssetUrl;return t||n?i.default.createElement("div",{className:"dl-inner-container ticket__affected-assets"},i.default.createElement("dt",null,u("tickets.affected-assets")),i.default.createElement("dd",null,i.default.createElement(s.AffectedAsset,{assetName:n,assetUrl:r}),i.default.createElement(s.AffectedAsset,{assetName:t}))):null};t.AffectedAssets=l,l.propTypes={softwareAssetName:a.default.string,hardwareAssetName:a.default.string,hardwareAssetUrl:a.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AffectedAsset=void 0;var i=r(n(1)),o=r(n(2)),a=function(e){var t=e.assetName,n=e.assetUrl;return t?i.default.createElement("div",null,n?i.default.createElement("a",{target:"_blank",href:n},t):t):null};t.AffectedAsset=a,a.propTypes={assetName:o.default.string,assetUrl:o.default.string}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Password=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=n(20),m=n(115),v=n(299),g=n(25),y=r(n(11)),b=n(112),_=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e=this,t=this.props.password||{},n=t.attributes||{},r=n["otp-enabled"];return f.default.createElement("div",{className:(0,h.default)("password-preview")},f.default.createElement(w,(0,i.default)({},n,{id:t.id,mainUrl:this.props.mainUrl})),f.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},f.default.createElement(m.EmbeddedAsset,{assetLink:n["parent-url"],assetName:n["cached-resource-name"],assetTypeName:n["cached-resource-type-name"],inNewTab:!0}),f.default.createElement(m.Column,{title:(0,y.default)("username"),value:n.username}),f.default.createElement(v.ShowPasswordInVault,{password:t,id:t.id,loadPasswordSync:this.props.loadPasswordSync,loadPasswordAsync:this.props.loadPasswordAsync,showHelperText:!0,createVaultPassword:this.props.createVaultPassword,getUserKeySet:this.props.getUserKeySet,showInPreview:!0,onCreateVaultStart:this.props.onCreateVaultStart,onCreateVaultEnd:this.props.onCreateVaultEnd,shouldShowVaultPassword:this.props.shouldShowVaultPassword,isFromConnectedAccount:this.props.isFromConnectedAccount,accountName:this.props.accountName,getVault:this.props.getVault,setUserKey:this.props.setUserKey,getUserKey:this.props.getUserKey}),r&&f.default.createElement(b.ShowTOTP,{onClose:this.props.onClearSecret,getSecret:function(){return e.props.getPasswordWithOTP(t.id)},isLoading:this.props.isLoadingPasswordSecrets,secret:this.props.secret}),f.default.createElement(m.URLRow,{url:n.url,name:n.url}),f.default.createElement(m.Notes,{notes:n.notes}),f.default.createElement(m.Column,{title:(0,y.default)("password-changed"),value:(0,p.durationSince)(n["password-updated-at"])})))}}]),n}(f.default.Component);t.Password=_,(0,c.default)(_,"displayName","PasswordPreview"),(0,c.default)(_,"propTypes",{loadPasswordSync:d.default.func,loadPasswordAsync:d.default.func,password:d.default.object,mainUrl:d.default.string,showHelperText:d.default.bool});var w=function(e){return f.default.createElement("div",{className:"react-page-header h1"},f.default.createElement("a",{href:(0,g.addMainUrlToPath)("/".concat(e["organization-id"],"/passwords/").concat(e.id),e.mainUrl),target:"_blank"},e.name),e["password-category-name"]&&f.default.createElement("span",{className:"text-large color-muted margin-xsmall-horizontal"},e["password-category-name"]))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.VaultEntry=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(2)),m=r(n(1)),v=n(286),g=r(n(11)),y=n(642),b=n(73),_=n(120),w=n(304),E=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"state",{awaitingVaultAccess:!1,duration:0}),(0,h.default)((0,l.default)(e),"encrypt",(function(t){return e._serviceApi="encrypt",e._init(e._handler,t)})),(0,h.default)((0,l.default)(e),"decrypt",(function(t){return e._serviceApi="decrypt",e._init(e._handler,t)})),(0,h.default)((0,l.default)(e),"decryptAll",(function(t){return e._serviceApi="decryptAll",e._init(e._handler,t)})),(0,h.default)((0,l.default)(e),"encryptAll",(function(t){return e._serviceApi="encryptAll",e._init(e._handler,t)})),(0,h.default)((0,l.default)(e),"_handler",function(){var t=(0,a.default)(o.default.mark((function t(n,r,i){var a,s;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n){t.next=11;break}return t.prev=1,t.next=4,null===(a=n())||void 0===a?void 0:a.catch((function(e){throw new Error(e)}));case 4:n=t.sent,t.next=11;break;case 7:return t.prev=7,t.t0=t.catch(1),e.props.onError(null==t.t0?void 0:t.t0.message),t.abrupt("return");case 11:return t.next=13,b.VaultService[e._serviceApi](n,i,r);case 13:if(!(null==(s=t.sent)?void 0:s.error)){t.next=19;break}e.props.setUserKey(),(null==s?void 0:s.error)!==b.VaultService.Exceptions.IncorrectPassword?(e.props.onError(null==s?void 0:s.error),delete s.error):(null==s?void 0:s.error)===b.VaultService.Exceptions.IncorrectPassword&&e.props.onIncorrectPassword&&e.props.onIncorrectPassword(),t.next=23;break;case 19:return delete e._onEnterPassword,t.next=22,e.props.onSuccess(s);case 22:e.props.setUserKey(i,e.state.duration);case 23:return t.abrupt("return",s);case 24:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,n,r){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_getDurationSetting",(0,a.default)(o.default.mark((function t(){var n,r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e.context.getVault&&"function"!=typeof e.props.getVault){t.next=12;break}if(!e.context.getVault){t.next=7;break}return t.next=4,e.context.getVault();case 4:t.t0=t.sent,t.next=10;break;case 7:return t.next=9,e.props.getVault();case 9:t.t0=t.sent;case 10:return t.abrupt("return",null==(r=t.t0)||null===(n=r.attributes)||void 0===n?void 0:n["password-validity-duration"]);case 12:case"end":return t.stop()}}),t)})))),(0,h.default)((0,l.default)(e),"_init",function(){var t=(0,a.default)(o.default.mark((function t(n,r){var i,a;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.vaultBrowserSupport.check()){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.props.getUserKeySet();case 4:if(i=t.sent){t.next=9;break}e.props.onMissingPassphrase?e.props.onMissingPassphrase():e.createPassword.show(),t.next=24;break;case 9:if(i.encryptedVaultKey){t.next=13;break}e._showAwaitMessage(),t.next=24;break;case 13:return e._onEnterPassword=n.bind((0,l.default)(e),r,i),t.t0=e,t.next=17,e._getDurationSetting();case 17:return t.t1=t.sent,t.t2={duration:t.t1},t.t0.setState.call(t.t0,t.t2),t.next=22,e.props.getUserKey();case 22:(a=t.sent)?e._onEnterPassword(a):e.enterPassword.show();case 24:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_showAwaitMessage",(function(){e.props.onAwaitingAccess&&!e.props.showInPreview?e.props.onAwaitingAccess():e.confirmMessage.show({title:g.default.title("vault.vault-passphrase"),body:(0,g.default)("vault.awaiting-vault-access")})})),(0,h.default)((0,l.default)(e),"hide",(function(){e.enterPassword.hide(),e.createPassword.hide(),e.confirmMessage.hide()})),e}return(0,u.default)(n,[{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"vault-entry"},m.default.createElement(v.EnterPassword,(0,i.default)({ref:function(t){return e.enterPassword=t}},this.props,{onApply:function(){return e._onEnterPassword.apply(e,arguments)}})),m.default.createElement(y.CreatePasswordForVault,(0,i.default)({ref:function(t){return e.createPassword=t}},this.props,{onApply:this._showAwaitMessage,onCancel:this.props.onCancel,showInPreview:this.props.showInPreview})),m.default.createElement(w.ConfirmMessage,{ref:function(t){return e.confirmMessage=t},showInPreview:this.props.showInPreview,onCancel:this.props.onCancel}),m.default.createElement(_.VaultBrowserSupport,{ref:function(t){return e.vaultBrowserSupport=t},onCancel:this.props.onCancel,showInPreview:this.props.showInPreview}))}}]),n}(m.default.Component);t.VaultEntry=E,(0,h.default)(E,"displayName","VaultEntry"),(0,h.default)(E,"contextTypes",{getVault:p.default.func}),(0,h.default)(E,"propTypes",{getUserKey:p.default.func,setUserKey:p.default.func,getUserKeySet:p.default.func.isRequired,createVaultPassword:p.default.func.isRequired,onCancel:p.default.func,onSuccess:p.default.func,onError:p.default.func,showInPreview:p.default.bool,onAwaitingAccess:p.default.func,onMissingPassphrase:p.default.func,getVault:p.default.func}),(0,h.default)(E,"defaultProps",{onError:function(){},onSuccess:function(){},getUserKey:b.VaultCache.getKey,setUserKey:function(e,t){b.VaultCache.setKey(e,t)}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CreatePasswordForVault=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(1)),m=r(n(2)),v=r(n(11)),g=n(49),y=n(643),b=n(651),_=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"state",{visible:!1}),(0,h.default)((0,l.default)(e),"show",(function(){return e.setState({visible:!0})})),(0,h.default)((0,l.default)(e),"hide",(function(){return e.setState({visible:!1})})),(0,h.default)((0,l.default)(e),"_handleApply",(0,a.default)(o.default.mark((function t(){var n;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.setState({isLoading:!0}),t.next=3,e.form.submit();case 3:n=t.sent,e.setState({isLoading:!1}),n&&(e.hide(),n.error||e.props.onApply());case 6:case"end":return t.stop()}}),t)})))),(0,h.default)((0,l.default)(e),"_handleCancel",(function(){e.hide(),e.props.onCancel()})),e}return(0,u.default)(n,[{key:"render",value:function(){var e=this,t=this.state.isLoading?p.default.createElement(g.DotLoader,{dark:!0}):v.default.title("ok");return this.props.showInPreview&&this.state.visible?p.default.createElement(y.CreatePasswordForVaultInPreview,(0,i.default)({},this.props,{isLoading:this.state.isLoading,labelApply:t,onApply:this._handleApply,onCancel:this._handleCancel,ref:function(t){return e.form=t}})):p.default.createElement(b.CreatePasswordForVaultDialog,(0,i.default)({ref:function(t){return e.form=t}},this.props,{visible:this.state.visible,isLoading:this.state.isLoading,onCancel:this._handleCancel,onApply:this._handleApply,labelApply:t}))}}]),n}(p.default.Component);t.CreatePasswordForVault=_,(0,h.default)(_,"displayName","CreatePasswordForVault"),(0,h.default)(_,"propTypes",{onApply:m.default.func.isRequired,onCancel:m.default.func}),(0,h.default)(_,"defaultProps",{onCancel:function(){}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CreatePasswordForVaultInPreview=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(2)),p=r(n(11)),m=n(30),v=n(119);function g(){return f.default.createElement("div",{className:"create-vault-password-server-error"},"".concat(p.default.title("vault.adding-passphrase"),": ").concat((0,p.default)("vault.error-occured")))}var y=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{showServerError:!1}),(0,d.default)((0,s.default)(e),"submit",(function(){return e.form.submit()})),(0,d.default)((0,s.default)(e),"onCreateStart",(function(){e.setState({showServerError:!1})})),(0,d.default)((0,s.default)(e),"handleError",(function(){e.setState({showServerError:!0})})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this;return f.default.createElement("div",{className:"create-vault-password-in-preview"},f.default.createElement("div",{className:"create-vault-password-in-preview-inner"},f.default.createElement("div",{className:"create-password-title"},p.default.title("vault.vault-passphrase")),f.default.createElement("hr",null),f.default.createElement("p",null,(0,p.default)("vault.setup-vault-passphrase-note")),f.default.createElement("h4",null,(0,p.default)("vault.setup-vault-passphrase")),f.default.createElement(v.CreateVaultPassword,(0,i.default)({ref:function(t){return e.form=t}},this.props,{isOwner:!1,hideButtons:!0,showInPreview:!0,onCreateStart:this.onCreateStart,onError:this.handleError})),this.state.showServerError&&f.default.createElement(g,null),f.default.createElement("div",{className:"create-password-action-buttons"},f.default.createElement(m.LoaderButton,{tabIndex:"1",className:"gray cancel qa-cancel-button",value:p.default.title("cancel"),onClick:this.props.onCancel,disabled:this.props.isLoading}),f.default.createElement(m.LoaderButton,{tabIndex:"2",className:"ok-button default qa-ok-button",value:this.props.labelApply,onClick:this.props.onApply,disabled:this.props.isLoading}))))}}]),n}(f.default.Component);t.CreatePasswordForVaultInPreview=y,(0,d.default)(y,"propTypes",{onApply:h.default.func.isRequired,onCancel:h.default.func})},function(e,t,n){"use strict";var r=n(300),i=n(110),o={getItem:function(){},setItem:function(){},removeItem:function(){}},a={_storage:function(){try{return sessionStorage}catch(e){return o}}(),getItem:function(e){try{return JSON.parse(this._storage.getItem(e))}catch(e){return}},setItem:function(e,t){this._storage.setItem(e,JSON.stringify(t))},removeItem:function(e){this._storage.removeItem(e)}};t.VaultCache=new r.Cache(a,i.STORAGE_KEY)},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.VaultService=void 0;var o=i(n(17)),a=i(n(8)),s=i(n(18)),u=r(n(301)),l=r(n(646)),c=i(n(647)),d=i(n(11));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m="A256GCM";function v(e,t){return"".concat(m).concat(".").concat(e).concat(".").concat(t)}function g(e){var t=e.split(".");return{algo:t[0],iv:t[1],ciphertext:t[2]}}var y={IncorrectPassword:new Error(d.default.title("vault.errors.invalid-passphrase")),Unknown:new Error(d.default.title("vault.error-occured"))};function b(e){var t,n=(0,c.default)(),r=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(e);try{for(r.s();!(t=r.n()).done;)t.value.kid=n}catch(e){r.e(e)}finally{r.f()}}function _(e,t,n,r){return w.apply(this,arguments)}function w(){return(w=(0,s.default)(o.default.mark((function e(t,n,r,i){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.wrapKeyWithIV(t,n,r);case 2:return e.abrupt("return",{kid:"vpk",enc:m,cty:"jwk+json",ciphertext:l.ab2b64(e.sent),iv:l.ab2b64(r),p2s:l.ab2b64(i),p2c:u.PBKDF2_DEFAULT_ITERATIONS});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e,t){return C.apply(this,arguments)}function C(){return(C=(0,s.default)(o.default.mark((function e(t,n){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.wrapKey(t,n);case 2:return e.abrupt("return",{enc:m,cty:"jwk+json",ciphertext:l.ab2b64(e.sent)});case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(e){return k.apply(this,arguments)}function k(){return(k=(0,s.default)(o.default.mark((function e(t){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,u.generateKey();case 4:return e.abrupt("return",E(e.sent,t));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function S(){return(S=(0,s.default)(o.default.mark((function e(t,n){var r,i,a,s,l,c,d,f;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.generateSalt();case 3:return r=e.sent,e.next=6,u.pbkdf2(t,r);case 6:return i=e.sent,e.next=9,u.generateRSAKeyPair();case 9:return a=e.sent,e.next=12,u.exportKey(a.publicKey);case 12:return s=e.sent,e.next=15,u.generateIV();case 15:return l=e.sent,e.next=18,_(a.privateKey,i,l,r);case 18:if(c=e.sent,d=[s],!n){e.next=25;break}return e.next=23,A(a.publicKey);case 23:d.push(f=e.sent);case 25:return b(d),e.abrupt("return",{publicKey:s,encryptedPrivateKey:c,encryptedVaultKey:f});case 30:return e.prev=30,e.t0=e.catch(0),e.abrupt("return");case 33:case"end":return e.stop()}}),e,null,[[0,30]])})))).apply(this,arguments)}function x(e,t){return D.apply(this,arguments)}function D(){return(D=(0,s.default)(o.default.mark((function e(t,n){var r,i,a,s,c,d;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=t.iv,i=t.ciphertext,a=l.b64toab(t.p2s),e.next=5,u.pbkdf2(n,a);case 5:return s=e.sent,c=l.b64toab(r),d=l.b64toab(i),e.abrupt("return",u.unwrapKeyWithIV(d,s,c));case 11:throw e.prev=11,e.t0=e.catch(0),e.t0;case 14:case"end":return e.stop()}}),e,null,[[0,11]])})))).apply(this,arguments)}function O(){return(O=(0,s.default)(o.default.mark((function e(t,n,r){var i,a,s,c,d;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,a=l.b64toab((i=t.encryptedPrivateKey).p2s),e.next=6,u.pbkdf2(r,a);case 6:return s=e.sent,e.next=9,u.generateIV();case 9:return c=e.sent,e.prev=10,e.next=13,x(i,n);case 13:d=e.sent,e.next=19;break;case 16:throw e.prev=16,e.t0=e.catch(10),y.IncorrectPassword;case 19:return e.next=21,_(d,s,c,a);case 21:return e.abrupt("return",{publicKey:t.publicKey,encryptedPrivateKey:e.sent});case 25:if(e.prev=25,e.t1=e.catch(0),e.t1!==y.IncorrectPassword){e.next=31;break}throw e.t1;case 31:throw y.Unknown;case 32:case"end":return e.stop()}}),e,null,[[0,25],[10,16]])})))).apply(this,arguments)}function T(){return(T=(0,s.default)(o.default.mark((function e(t){var n,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,u.importKey(t);case 4:return n=e.sent,e.next=7,A(n);case 7:return(r=e.sent).kid=t.kid,e.abrupt("return",r);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function F(e,t){return M.apply(this,arguments)}function M(){return(M=(0,s.default)(o.default.mark((function e(t,n){var r,i,a,s;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.encryptedVaultKey,i=n.encryptedPrivateKey,e.prev=1,e.next=4,x(i,t);case 4:a=e.sent,e.next=10;break;case 7:throw e.prev=7,e.t0=e.catch(1),y.IncorrectPassword;case 10:return s=l.b64toab(r.ciphertext),e.abrupt("return",u.unwrapKey(s,a));case 13:case"end":return e.stop()}}),e,null,[[1,7]])})))).apply(this,arguments)}function P(){return(P=(0,s.default)(o.default.mark((function e(t,n,r){var i,a,s,l;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.publicKey){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,u.importKey(i);case 5:return a=e.sent,e.next=8,F(t,n);case 8:return s=e.sent,e.next=11,E(s,a);case 11:return(l=e.sent).kid=i.kid,e.abrupt("return",l);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(e,t){return R.apply(this,arguments)}function R(){return(R=(0,s.default)(o.default.mark((function e(t,n){var r,i,a,s,c;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.generateIV();case 2:return r=e.sent,e.prev=3,e.next=6,u.encrypt(t,n,r);case 6:i=e.sent,e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(3),e.abrupt("return",{error:e.t0});case 12:return a=l.ab2b64(i),s=l.ab2b64(r),c=v(s,a),e.abrupt("return",c);case 16:case"end":return e.stop()}}),e,null,[[3,9]])})))).apply(this,arguments)}function B(){return(B=(0,s.default)(o.default.mark((function e(t,n,r){var i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,F(n,r);case 3:i=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{error:e.t0});case 9:return e.abrupt("return",L(t,i));case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function j(){return(j=(0,s.default)(o.default.mark((function e(t,n,r){var i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,F(n,r);case 3:i=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{error:e.t0});case 9:return e.abrupt("return",Promise.all(t.map((function(e){return L(e,i)}))));case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function I(e,t){return N.apply(this,arguments)}function N(){return(N=(0,s.default)(o.default.mark((function e(t,n){var r,i,a,s,c;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=g(t),a=i.iv,s=l.b64toab(i.ciphertext),c=l.b64toab(a),e.next=6,u.decrypt(s,n,c);case 6:r=e.sent,r=(new TextDecoder).decode(r),e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(0),e.abrupt("return",{error:e.t0});case 13:return e.abrupt("return",r);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}function H(){return(H=(0,s.default)(o.default.mark((function e(t,n,r){var i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,F(n,r);case 3:i=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{error:e.t0});case 9:return e.abrupt("return",I(t,i));case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function z(){return(z=(0,s.default)(o.default.mark((function e(t,n,r){var i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,F(n,r);case 3:i=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{error:e.t0});case 9:return e.abrupt("return",Promise.all(t.map((function(e){return I(e,i)}))));case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}var Y=h({},u),U=h({},l);t.VaultService={Exceptions:y,createVaultKey:function(e){return T.apply(this,arguments)},createUserKeySet:function(e,t){return S.apply(this,arguments)},updateUserKeySet:function(e,t,n){return O.apply(this,arguments)},grantVaultKey:function(e,t,n){return P.apply(this,arguments)},decrypt:function(e,t,n){return H.apply(this,arguments)},decryptAll:function(e,t,n){return z.apply(this,arguments)},encryptAll:function(e,t,n){return j.apply(this,arguments)},encrypt:function(e,t,n){return B.apply(this,arguments)},isEncrypted:function(e){return!e||e.startsWith("A256GCM")},__testCryptoService:Y,__testHelpers:U}},function(e,t,n){"use strict";function r(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function i(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0,i=e.length;r<i;r++)n[r]=e.charCodeAt(r);return t}function o(e){return window.atob(e)}function a(e){return window.btoa(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ab2str=r,t.str2ab=i,t.decode=o,t.encode=a,t.b64toab=function(e){return i(o(e))},t.ab2b64=function(e){return a(r(e))}},function(e,t,n){var r=n(648),i=n(649);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=function(e){return""===e||null==e},t.isMatching=function(e,t){return e===t}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CreatePasswordForVaultDialog=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(2)),p=r(n(11)),m=n(50),v=n(119),g=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"submit",(function(){return e.form.submit()})),(0,d.default)((0,s.default)(e),"handleError",(function(){e.context.confirm({title:p.default.title("vault.adding-passphrase"),body:(0,p.default)("vault.error-occured"),hideCancelButton:!0,onConfirm:e.props.onCancel,onCancel:e.props.onCancel})})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this;return f.default.createElement("div",{className:"create-vault-password-dialog"},this.props.visible&&f.default.createElement(m.Dialog,{attachToBody:!0,disabled:this.props.isLoading,visible:!0,title:p.default.title("vault.vault-passphrase"),onCancel:this.props.onCancel,onApply:this.props.onApply,labelApply:this.props.labelApply},f.default.createElement("p",null,(0,p.default)("vault.setup-vault-passphrase-note")),f.default.createElement("h4",null,(0,p.default)("vault.setup-vault-passphrase")),f.default.createElement(v.CreateVaultPassword,(0,i.default)({ref:function(t){return e.form=t}},this.props,{isOwner:!1,hideButtons:!0,onError:this.handleError}))))}}]),n}(f.default.Component);t.CreatePasswordForVaultDialog=g,(0,d.default)(g,"propTypes",{onApply:h.default.func.isRequired,onCancel:h.default.func,labelApply:h.default.oneOfType([h.default.string,h.default.node])}),(0,d.default)(g,"contextTypes",{confirm:h.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.CopyPasswordInVault=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(2)),m=r(n(1)),v=r(n(36)),g=n(72),y=n(85),b=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"state",{}),(0,h.default)((0,l.default)(e),"_showValue",(function(t){if(e._resolveLoadPromise)return e._resolveLoadPromise(t),e._resolveLoadPromise=void 0,!0})),(0,h.default)((0,l.default)(e),"_handleCancel",(function(){e._resolveLoadPromise&&(e._resolveLoadPromise(!1),e._resolveLoadPromise=void 0)})),(0,h.default)((0,l.default)(e),"_getPasswordValueGetter",(function(t){return delete e._getPasswordPromise,function(){return e._getPasswordPromise||(e._getPasswordPromise=new Promise(function(){var n=(0,a.default)(o.default.mark((function n(r,i){var a;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.props.loadPasswordAsync(t);case 2:(a=n.sent)?r(a):i("fail to get password value");case 4:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}())),e._getPasswordPromise}})),(0,h.default)((0,l.default)(e),"_loadAndTryToDecrypt",function(){var t=(0,a.default)(o.default.mark((function t(n){var r,i,a;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=new Promise((function(t){return e._resolveLoadPromise=t})),i=setTimeout((function(){e.setState({isLoading:!0})}),500),!e.props.isInVault){t.next=10;break}return t.next=5,e.vault.decrypt(e._getPasswordValueGetter(n));case 5:return clearTimeout(i),e.setState({isLoading:!1}),t.abrupt("return",r);case 10:return t.next=12,e.props.loadPasswordAsync(n);case 12:return a=t.sent,clearTimeout(i),e.setState({isLoading:!1}),t.abrupt("return",a);case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return(0,u.default)(n,[{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"copy-password-in-vault"},m.default.createElement(y.CopyButton,(0,i.default)({},this.props,{requiresAsyncCopy:this.props.isInVault,loadAsync:this._loadAndTryToDecrypt})),v.default.Features().VAULT&&m.default.createElement(g.Vault,(0,i.default)({ref:function(t){return e.vault=t}},this.props,{onSuccess:this._showValue,onCancel:this._handleCancel})))}}]),n}(m.default.Component);t.CopyPasswordInVault=b,(0,h.default)(b,"displayName","CopyPasswordInVault"),(0,h.default)(b,"propTypes",{isInVault:p.default.bool,getUserKeySet:p.default.func.isRequired,loadPasswordAsync:p.default.func.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.UpdateVaultPassword=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(1)),p=r(n(11)),m=r(n(2)),v=n(35),g=n(302),y=n(73),b=n(303),_=h.default.createElement(b.LabelWithVaultIcon,{label:p.default.title("vault.current-vault-passphrase")}),w=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"displayName","UpdateVaultPassword"),(0,f.default)((0,u.default)(e),"state",{}),(0,f.default)((0,u.default)(e),"reset",(function(){e.setState({currentPassword:void 0,error:void 0,newPasswordError:void 0})})),(0,f.default)((0,u.default)(e),"_handleCurrentPasswordChange",(function(t){e.setState({currentPassword:t,error:void 0,newPasswordError:void 0})})),(0,f.default)((0,u.default)(e),"_resetNewPasswordFormError",(function(){return e.setState({newPasswordError:void 0})})),(0,f.default)((0,u.default)(e),"_update",function(){var t=(0,o.default)(i.default.mark((function t(n){var r,o,a,s,u;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=e.state.currentPassword)!==n){t.next=4;break}return e.setState({newPasswordError:p.default.title("vault.errors.new-passphase-must-be-different")}),t.abrupt("return");case 4:return o=e.props.userKeySet,t.prev=5,t.next=8,y.VaultService.updateUserKeySet(o,r,n);case 8:a=t.sent,t.next=15;break;case 11:return t.prev=11,t.t0=t.catch(5),e.setState({error:null==t.t0?void 0:t.t0.message}),t.abrupt("return");case 15:return t.next=17,e.props.updateVaultPassword(o.id,a);case 17:return(s=t.sent).error?e.props.onError(s.error):(e.props.onSuccessUpdateVaultPassword(),null===(u=e.form)||void 0===u||u.reset(),e.reset()),t.abrupt("return",s);case 20:case"end":return t.stop()}}),t,null,[[5,11]])})));return function(e){return t.apply(this,arguments)}}()),e}return(0,s.default)(n,[{key:"render",value:function(){var e=this;return h.default.createElement("div",{className:"update-vault-password-form"},h.default.createElement("div",{className:"enter-vault-password enter-current-password"},h.default.createElement(v.FormTextField,{type:"password",showRevealOption:!0,className:"current-password-input display-block margin-top-medium-vertical",label:_,value:this.state.currentPassword,onChange:this._handleCurrentPasswordChange,validations:["required"],validationKey:"passphrase",errorMessage:this.state.error,ref:function(t){return e.password=t}})),h.default.createElement(g.VaultPasswordEditForm,{ref:function(t){return e.form=t},onSave:this._update,errorMessage:this.state.newPasswordError,onCancel:this.reset,onChange:this._resetNewPasswordFormError,passwordLabel:(0,p.default)("vault.enter-new-passphrase"),confirmPasswordLabel:(0,p.default)("vault.confirm-new-passphrase"),formTitle:(0,p.default)("vault.update-vault-password")}))}}]),n}(h.default.Component);t.UpdateVaultPassword=w,(0,f.default)(w,"propTypes",{updateVaultPassword:m.default.func.isRequired,userKeySet:m.default.object.isRequired,onSuccessUpdateVaultPassword:m.default.func}),(0,f.default)(w,"defaultProps",{onSuccessUpdateVaultPassword:function(){}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DecryptAll=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(1)),m=r(n(2)),v=r(n(36)),g=n(72),y=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"decryptAll",function(){var t=(0,a.default)(o.default.mark((function t(n){var r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e._resolvePromise){t.next=2;break}throw new Error("Decrypt already in progess.");case 2:return r=new Promise((function(t){e._resolvePromise=t})),e.vault.decryptAll(n),t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_clear",(function(){return delete e._resolvePromise})),(0,h.default)((0,l.default)(e),"_handleDecryptAll",(function(t){e._resolvePromise(t),e._clear()})),(0,h.default)((0,l.default)(e),"_handleError",(function(t){e._resolvePromise({error:t}),e._clear()})),(0,h.default)((0,l.default)(e),"_cancelDecryptAll",(function(){e._resolvePromise({cancelled:!0}),e._clear()})),e}return(0,u.default)(n,[{key:"render",value:function(){var e=this;return p.default.createElement("div",{className:"decrypt-all"},v.default.Features().VAULT&&p.default.createElement(g.Vault,(0,i.default)({ref:function(t){return e.vault=t}},this.props,{onCancel:this._cancelDecryptAll,onError:this._handleError,onSuccess:this._handleDecryptAll})))}}]),n}(p.default.Component);t.DecryptAll=y,(0,h.default)(y,"propTypes",{getUserKeySet:m.default.func.isRequired,createVaultPassword:m.default.func.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptAll=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(1)),m=r(n(2)),v=r(n(36)),g=n(72),y=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"encryptAll",function(){var t=(0,a.default)(o.default.mark((function t(n){var r;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e._resolvePromise){t.next=2;break}throw new Error("Encrypt already in progess.");case 2:return r=new Promise((function(t){e._resolvePromise=t})),e.vault.encryptAll(n),t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"_clear",(function(){return delete e._resolvePromise})),(0,h.default)((0,l.default)(e),"_handleEncryptAll",(function(t){e._resolvePromise(t),e._clear()})),(0,h.default)((0,l.default)(e),"_handleError",(function(t){e._resolvePromise({error:t}),e._clear()})),(0,h.default)((0,l.default)(e),"_cancelEncryptAll",(function(){e._resolvePromise({cancelled:!0}),e._clear()})),e}return(0,u.default)(n,[{key:"render",value:function(){var e=this;return p.default.createElement("div",{className:"encrypt-all"},v.default.Features().VAULT&&p.default.createElement(g.Vault,(0,i.default)({ref:function(t){return e.vault=t}},this.props,{onCancel:this._cancelEncryptAll,onError:this._handleError,onSuccess:this._handleEncryptAll})))}}]),n}(p.default.Component);t.EncryptAll=y,(0,h.default)(y,"propTypes",{getUserKeySet:m.default.func.isRequired,createVaultPassword:m.default.func.isRequired})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Contact=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=n(305),m=n(70),v=n(53),g=n(88),y=n(657),b=n(658),_=n(306),w=n(121),E=r(n(11)),C=n(25),A=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){return(0,o.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"render",value:function(){var e=this.props.contact||{},t=e.attributes||{},n=(this.props.associatedAssets||{}).tickets,r=(0,C.addMainUrlToPath)("/".concat(t["organization-id"],"/contacts/").concat(e.id),this.props.mainUrl);return f.default.createElement("div",{className:(0,h.default)("contact-preview")},f.default.createElement(v.Header,{name:t.name,subHeading:t["contact-type-name"],url:r}),f.default.createElement("dl",{className:"react-dl-horizontal"},f.default.createElement(m.Column,{title:(0,E.default)("title"),value:t.title}),f.default.createElement(p.LocationLink,(0,i.default)({},t,{mainUrl:this.props.mainUrl})),f.default.createElement(_.Check,{title:(0,E.default)("important"),checked:t.important}),f.default.createElement(b.Emails,{items:t["contact-emails"]}),f.default.createElement(y.Phones,{items:t["contact-phones"]}),f.default.createElement(g.Notes,{notes:t.notes}),n&&f.default.createElement(w.AssociatedTickets,{asset:n,mainUrl:this.props.mainUrl,parentAssetUrl:r})))}}]),n}(f.default.Component);t.Contact=A,(0,c.default)(A,"displayName","ContactPreview"),(0,c.default)(A,"propTypes",{contact:d.default.object,mainUrl:d.default.string})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Phones=void 0;var i=r(n(1)),o=r(n(11));t.Phones=function(e){return e.items?i.default.createElement("div",{className:"preview-row-phones"},e.items.map((function(e,t){return i.default.createElement("div",{key:t,className:"dl-inner-container"},i.default.createElement("dt",null,e["label-name"]," ",(0,o.default)("phone")),i.default.createElement("dd",null,e["formatted-value"]||e.value,e.extension&&i.default.createElement("span",null,i.default.createElement("span",{className:"margin-xsmall-horizontal"},(0,o.default)("previews.phone-extension")),e.extension)))}))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Emails=void 0;var i=r(n(8)),o=r(n(1)),a=r(n(11));t.Emails=function(e){return e.items?o.default.createElement("div",{className:"preview-row-emails"},e.items.map((function(e,t){return o.default.createElement("div",{key:t,className:"dl-inner-container"},o.default.createElement("dt",null,e["label-name"]," ",(0,a.default)("email")),o.default.createElement("dd",null,o.default.createElement("a",(0,i.default)({target:"_blank",href:"mailto: ".concat(e.value)},"target","_blank"),e.value)))}))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=r(n(12)),m=n(20),v=r(n(11)),g=n(305),y=n(298),b=n(70),_=n(53),w=n(307),E=n(88),C=n(121),A=n(308),k=n(71),S=n(309),x=n(25),D=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_getConfigTypeIcon",(function(e,t){return h.default.createElement("i",{className:"fa fa-fw ".concat((0,k.getConfigTypeIconClass)(e,t))})})),(0,d.default)((0,s.default)(e),"_getSubHeading",(function(e){var t=e["configuration-status-name"],n=e["configuration-type-name"];return t?"".concat(t," ").concat(n):n})),e}return(0,a.default)(n,[{key:"render",value:function(){var e=this.props.configuration||{},t=e.attributes||{},n=this.props.getExpirationStatus(t["warranty-expires-at"]),r=(this.props.associatedAssets||{}).tickets,o=(0,x.addMainUrlToPath)("/".concat(t["organization-id"],"/configurations/").concat(e.id),this.props.mainUrl);return h.default.createElement("div",{className:(0,p.default)("react-configuration-preview")},h.default.createElement(_.Header,{name:t.name,subHeading:this._getSubHeading(t),icon:this._getConfigTypeIcon(t["configuration-type-name"],t["configuration-type-kind"]),url:o}),h.default.createElement(A.ExpirationBanner,{status:n,name:t.name,expiryDate:t["warranty-expires-at"]}),h.default.createElement(O,t),h.default.createElement(T,(0,i.default)({},t,{mainUrl:this.props.mainUrl})),h.default.createElement(R,(0,i.default)({},t,{included:e.included})),h.default.createElement(F,(0,i.default)({},t,{osTypes:this.props.osTypes})),h.default.createElement(B,(0,i.default)({},t,{expirationStatus:n})),h.default.createElement(E.Notes,{notes:t.notes}),r&&h.default.createElement(C.AssociatedTickets,{asset:r,mainUrl:this.props.mainUrl,parentAssetUrl:o}))}}]),n}(h.default.Component);t.Configuration=D,(0,d.default)(D,"displayName","ConfigurationPreview"),(0,d.default)(D,"propTypes",{configuration:f.default.object,osTypes:f.default.object,mainUrl:f.default.string});var O=function(e){var t,n=e["model-name"],r=e["manufacturer-name"];return t=n?r?"".concat(r," ").concat(n):n:r||"",h.default.createElement("dl",{className:"configuration-information margin-medium-vertical react-dl-horizontal"},h.default.createElement(b.Column,{title:(0,v.default)("model"),value:t}),h.default.createElement(b.Column,{title:(0,v.default)("previews.serial-number"),value:e["serial-number"]}),h.default.createElement(b.Column,{title:(0,v.default)("previews.asset-tag"),value:e["asset-tag"]}))},T=function(e){return h.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},h.default.createElement(g.LocationLink,(0,i.default)({},e,{mainUrl:e.mainUrl})),h.default.createElement(y.ContactLink,(0,i.default)({},e,{mainUrl:e.mainUrl})),h.default.createElement(M,{title:(0,v.default)("installed"),dateAt:e["installed-at"],dateBy:e["installed-by"]}),h.default.createElement(b.Column,{title:(0,v.default)("previews.physical-position"),value:e.position}))},F=function(e){var t=(0,S.getOsIcon)(e.osTypes,e["operating-system-id"]);return h.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},h.default.createElement(b.Column,{title:(0,v.default)("os"),value:e["operating-system-name"],icon:t}),h.default.createElement(b.Column,{title:(0,v.default)("os-notes"),value:e["operating-system-notes"]}))},M=function(e){return e.dateAt||e.dateBy?h.default.createElement("div",{className:"dl-inner-container"},h.default.createElement("dt",null,e.title),h.default.createElement("dd",null,e.dateAt&&(0,m.formatDateString)(e.dateAt),e.dateBy&&h.default.createElement("span",{className:"color-muted margin-xsmall-horizontal"},(0,v.default)("previews.by")),e.dateBy)):null},P=function(e){var t;if(!e.ips||!e.ips.length)return null;var n=e.ips.map((function(e,t){return h.default.createElement("div",{className:"configuration-preview-ip",key:t},h.default.createElement("span",{className:"configuration-ip-address"},e.attributes["ip-address"]),e.attributes.primary&&h.default.createElement("span",{className:"primary-box label label-default text-middle margin-xsmall-horizontal"},(0,v.default)("previews.primary")),h.default.createElement("div",{className:"color-muted small"},e.attributes.name),h.default.createElement("div",{className:"color-muted small configuration-port-name"},e.attributes.port&&"".concat(v.default.title("configurations.port"),": ").concat(e.attributes.port)))}));return h.default.createElement("div",{className:"dl-inner-container"},h.default.createElement("dt",null,(0,v.default)("previews.ip",{count:null===(t=e.ips)||void 0===t?void 0:t.length})),h.default.createElement("dd",null,n))},L=function(e){var t;if(!e.macs||!e.macs.length)return null;var n=e.macs.map((function(e,t){return h.default.createElement("div",{className:"configuration-preview-mac",key:t},h.default.createElement("span",{className:"configuration-mac-address"},e.attributes["mac-address"]),e.attributes.primary&&h.default.createElement("span",{className:"primary-box label label-default text-middle margin-xsmall-horizontal"},(0,v.default)("previews.primary")),h.default.createElement("div",{className:"color-muted small"},e.attributes.name),h.default.createElement("div",{className:"color-muted small configuration-port-name"},e.attributes.port&&"".concat(v.default.title("configurations.port"),": ").concat(e.attributes.port)))}));return h.default.createElement("div",{className:"dl-inner-container"},h.default.createElement("dt",null,(null===(t=e.macs)||void 0===t?void 0:t.length)>1?(0,v.default)("configurations.mac-addresses"):(0,v.default)("mac-address")),h.default.createElement("dd",null,n))},R=function(e){var t,n,r=null===(t=e.included)||void 0===t?void 0:t.filter((function(e){return"configuration-interfaces"===e.type&&(null==e?void 0:e.attributes["ip-address"])})),i=null===(n=e.included)||void 0===n?void 0:n.filter((function(e){return"configuration-interfaces"===e.type&&(null==e?void 0:e.attributes["mac-address"])}));return h.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},h.default.createElement(P,{ips:r}),h.default.createElement(b.Column,{title:(0,v.default)("hostname"),value:e.hostname}),h.default.createElement(L,{macs:i}),h.default.createElement(b.Column,{title:(0,v.default)("previews.default-gateway"),value:e["default-gateway"]}))},B=function(e){return h.default.createElement("dl",{className:"margin-medium-vertical react-dl-horizontal"},h.default.createElement(M,{title:(0,v.default)("purchased"),dateAt:e["purchased-at"],dateBy:e["purchased-by"]}),h.default.createElement(w.DateRow,{title:(0,v.default)("expiration"),value:e["warranty-expires-at"],expirationStatus:e.expirationStatus}))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Location=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(2)),d=r(n(1)),f=n(70),h=n(53),p=n(88),m=n(306),v=n(121),g=r(n(11)),y=n(25),b=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props.location||{},t=e.attributes||{},n=(this.props.associatedAssets||{}).tickets,r=(0,y.addMainUrlToPath)("/".concat(t["organization-id"],"/locations/").concat(e.id),this.props.mainUrl);return d.default.createElement("div",{className:"react-location-preview"},d.default.createElement("dl",{className:"react-dl-horizontal"},d.default.createElement(h.Header,{name:t.name,url:r}),d.default.createElement(m.Check,{title:(0,g.default)("previews.primary-location"),checked:t.primary}),d.default.createElement(_,t),d.default.createElement(f.Column,{title:(0,g.default)("phone"),value:t["formatted-phone"]||t.phone}),d.default.createElement(f.Column,{title:(0,g.default)("fax"),value:t["formatted-fax"]||t.fax}),d.default.createElement(p.Notes,{notes:t.notes}),n&&d.default.createElement(v.AssociatedTickets,{asset:n,mainUrl:this.props.mainUrl,parentAssetUrl:r})))}}]),n}(d.default.Component);t.Location=b,(0,l.default)(b,"displayName","LocationPreview"),(0,l.default)(b,"propTypes",{location:c.default.object,mainUrl:c.default.string});var _=function(e){return e["address-1"]||e["address-2"]||location.city||e["country-name"]||e["postal-code"]?d.default.createElement("div",{className:"dl-inner-container"},d.default.createElement("dt",null,(0,g.default)("address")),d.default.createElement("dd",null,e["address-1"]&&d.default.createElement("div",null,e["address-1"]),e["address-2"]&&d.default.createElement("div",null,e["address-2"]),e.city&&d.default.createElement("div",null,e.city),e["region-name"]&&e["country-name"]&&d.default.createElement("div",null,"".concat(e["region-name"],", ").concat(e["country-name"])),!e["region-name"]&&e["country-name"]&&d.default.createElement("div",null,e["country-name"]),e["postal-code"]&&d.default.createElement("div",null,e["postal-code"]))):null}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Document=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=n(53),m=n(662),v=n(122),g=n(316),y=n(673),b=n(317),_=n(98),w=r(n(11)),E=n(25),C=n(289),A=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_renderSection",(function(e){switch(e.resourceType){case b.SectionTypes.TEXT:return f.default.createElement(v.TextSection,{content:e.content});case b.SectionTypes.GALLERY:return f.default.createElement(g.GallerySection,{images:e.images});case b.SectionTypes.HEADING:return f.default.createElement(m.HeadingSection,{content:e.content,level:e.level});case b.SectionTypes.STEP:return f.default.createElement(y.StepSection,{content:e.content,images:e.images,duration:e.duration,stepNum:e.stepNum})}return null})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this,t=this.props.document,n=0;return t?this.props.uploadedDocument?f.default.createElement(C.PreviewLightbox,{naked:!0,url:(0,E.addMainUrlToPath)(this.props.uploadedDocument.attachmentPreviewUrl,this.props.mainUrl),mime:this.props.uploadedDocument.attachmentFileType}):(t.sections&&(t.sections.filter((function(e){return e.resourceType===b.SectionTypes.STEP})).map((function(e,t){return e.stepNum=t+1})),n=t.sections.filter((function(e){return e.resourceType===b.SectionTypes.STEP})).reduce((function(e,t){return e+t.duration}),0)),f.default.createElement("div",{className:(0,h.default)("document-preview")},f.default.createElement(p.Header,{name:t.name,url:this.props.url}),t.public&&f.default.createElement("div",{className:"color-muted text-medium text-align-left"},(0,w.default)("previews.document-is-public"),f.default.createElement("i",{className:"fa fa-fw fa-unlock-alt margin-xsmall-horizontal"})),t.flag&&f.default.createElement(_.ShowSelectedFlag,t.flag),f.default.createElement("div",{className:"document-content"},t.sections&&t.sections.map((function(t,n){return f.default.createElement("div",{key:n},e._renderSection(t))})),!!n&&f.default.createElement("div",null,f.default.createElement("span",{className:"text-bold title-case"},(0,w.default)("previews.total-duration")),": ",(0,w.default)(1===n?"previews.minute":"previews.minute_plural",{count:n}))))):null}}]),n}(f.default.Component);t.Document=A,(0,c.default)(A,"displayName","DocumentPreview"),(0,c.default)(A,"propTypes",{document:d.default.object,mainUrl:d.default.string})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.HeadingSection=void 0;var i=r(n(1));t.HeadingSection=function(e){return i.default.createElement("div",null,i.default.createElement("h"+e.level,{},e.content))}},function(e,t,n){e.exports=n(664).default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.default.tokenize(e),o=[],d=[];for(n=new s(n),t=0;t<r.length;t++){var f=r[t];if("StartTag"!==f.type)if("Chars"===f.type){var h=u(f.chars,n);o.push.apply(o,h)}else o.push(f);else{o.push(f);var p=f.tagName.toUpperCase(),m="A"===p||a.contains(n.ignoreTags,p);if(!m)continue;var v=o.length;l(p,r,++t,o),t+=o.length-v-1}}for(t=0;t<o.length;t++){var g=o[t];switch(g.type){case"StartTag":var y="<"+g.tagName;if(g.attributes.length>0){var b=c(g.attributes);y+=" "+b.join(" ")}d.push(y+=">");break;case"EndTag":d.push("</"+g.tagName+">");break;case"Chars":d.push(g.chars);break;case"Comment":d.push("\x3c!--"+g.chars+"--\x3e")}}return d.join("")};var r,i=(r=n(665))&&r.__esModule?r:{default:r},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(668)),a=o.options,s=a.Options;function u(e,t){for(var n=o.tokenize(e),r=[],i=0;i<n.length;i++){var a=n[i];if("nl"===a.type&&t.nl2br)r.push({type:"StartTag",tagName:"br",attributes:[],selfClosing:!0});else if(a.isLink&&t.check(a)){var s=t.resolve(a),u=s.formatted,l=s.tagName,c=s.className,d=s.target,f=s.attributes,h=[["href",s.formattedHref]];for(var p in c&&h.push(["class",c]),d&&h.push(["target",d]),f)h.push([p,f[p]]);r.push({type:"StartTag",tagName:l,attributes:h,selfClosing:!1}),r.push({type:"Chars",chars:u}),r.push({type:"EndTag",tagName:l})}else r.push({type:"Chars",chars:a.toString()})}return r}function l(e,t,n,r){for(var i=1;n<t.length&&i>0;){var o=t[n];"StartTag"===o.type&&o.tagName.toUpperCase()===e?i++:"EndTag"===o.type&&o.tagName.toUpperCase()===e&&i--,r.push(o),n++}return r}function c(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r[0]+'="'+r[1].replace(/"/g,"&quot;")+'"')}return t}},function(e,t,n){"use strict";t.__esModule=!0;var r=u(n(310)),i=u(n(311)),o=u(n(312)),a=u(n(313)),s=u(n(667));function u(e){return e&&e.__esModule?e:{default:e}}t.default={HTML5NamedCharRefs:r.default,EntityParser:i.default,EventedTokenizer:o.default,Tokenizer:a.default,tokenize:s.default}},function(e,t,n){"use strict";t.__esModule=!0,t.isSpace=function(e){return r.test(e)},t.isAlpha=function(e){return i.test(e)},t.preprocessInput=function(e){return e.replace(o,"\n")};var r=/[\t\n\f ]/,i=/[A-Za-z]/,o=/\r\n?/g},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return new r.default(new i.default(o.default),t).tokenize(e)};var r=a(n(313)),i=a(n(311)),o=a(n(310));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var r=n(91),i=s(n(669)),o=s(n(670)),a=s(n(671));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var u=function(e){return a.run(o.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(e),r=[],i=0;i<n.length;i++){var o=n[i];!o.isLink||t&&o.type!==t||r.push(o.toObject())}return r},t.inherits=r.inherits,t.options=i,t.parser=a,t.scanner=o,t.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=u(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)},t.tokenize=u},function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i={defaultProtocol:"http",events:null,format:a,formatHref:a,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){this.defaultProtocol=(e=e||{}).defaultProtocol||i.defaultProtocol,this.events=e.events||i.events,this.format=e.format||i.format,this.formatHref=e.formatHref||i.formatHref,this.nl2br=e.nl2br||i.nl2br,this.tagName=e.tagName||i.tagName,this.target=e.target||i.target,this.validate=e.validate||i.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||i.attributes,this.className=e.className||e.linkClass||i.className;for(var t=e.ignoreTags||i.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function a(e){return e}t.defaults=i,t.Options=o,t.contains=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},o.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var o=this[e];if(!o)return o;switch(void 0===o?"undefined":r(o)){case"function":return o(t,n.type);case"object":var a=o[n.type]||i[e];return"function"==typeof a?a(t,n.type):a}return o},getObject:function(e,t,n){var r=this[e];return"function"==typeof r?r(t,n.type):r}}},function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n(314),i=n(123),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),a="aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw".split("|"),s="0123456789".split(""),u="0123456789abcdefghijklmnopqrstuvwxyz".split(""),l=[" ","\f","\r","\t","\v","\xa0","\u1680","\u180e"],c=[],d=function(e){return new r.CharacterState(e)},f=d(),h=d(i.NUM),p=d(i.DOMAIN),m=d(),v=d(i.WS);f.on("@",d(i.AT)).on(".",d(i.DOT)).on("+",d(i.PLUS)).on("#",d(i.POUND)).on("?",d(i.QUERY)).on("/",d(i.SLASH)).on("_",d(i.UNDERSCORE)).on(":",d(i.COLON)).on("{",d(i.OPENBRACE)).on("[",d(i.OPENBRACKET)).on("<",d(i.OPENANGLEBRACKET)).on("(",d(i.OPENPAREN)).on("}",d(i.CLOSEBRACE)).on("]",d(i.CLOSEBRACKET)).on(">",d(i.CLOSEANGLEBRACKET)).on(")",d(i.CLOSEPAREN)).on("&",d(i.AMPERSAND)).on([",",";","!",'"',"'"],d(i.PUNCTUATION)),f.on("\n",d(i.NL)).on(l,v),v.on(l,v);for(var g=0;g<a.length;g++){var y=(0,r.stateify)(a[g],f,i.TLD,i.DOMAIN);c.push.apply(c,y)}var b=(0,r.stateify)("file",f,i.DOMAIN,i.DOMAIN),_=(0,r.stateify)("ftp",f,i.DOMAIN,i.DOMAIN),w=(0,r.stateify)("http",f,i.DOMAIN,i.DOMAIN),E=(0,r.stateify)("mailto",f,i.DOMAIN,i.DOMAIN);c.push.apply(c,b),c.push.apply(c,_),c.push.apply(c,w);var C=b.pop(),A=_.pop(),k=w.pop(),S=E.pop(),x=d(i.DOMAIN),D=d(i.PROTOCOL),O=d(i.MAILTO);A.on("s",x).on(":",D),k.on("s",x).on(":",D),c.push(x),C.on(":",D),x.on(":",D),S.on(":",O);var T=(0,r.stateify)("localhost",f,i.LOCALHOST,i.DOMAIN);c.push.apply(c,T),f.on(s,h),h.on("-",m).on(s,h).on(u,p),p.on("-",m).on(u,p);for(var F=0;F<c.length;F++)c[F].on("-",m).on(u,p);m.on("-",m).on(s,p).on(u,p),f.defaultTransition=d(i.SYM);var M=f;t.State=r.CharacterState,t.TOKENS=o,t.run=function(e){for(var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),n=e.length,r=[],i=0;i<n;){for(var o=f,a=null,s=0,u=null,l=-1;i<n&&(a=o.next(t[i]));)(o=a).accepts()?(l=0,u=o):l>=0&&l++,s++,i++;if(!(l<0)){i-=l,s-=l;var c=u.emit();r.push(new c(e.substr(i-s,s)))}}return r},t.start=M},function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n(314),i=n(123),o=(s(i),n(672)),a=s(o);function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var u=function(e){return new r.TokenState(e)},l=u(),c=u(),d=u(),f=u(),h=u(),p=u(),m=u(),v=u(o.URL),g=u(),y=u(o.URL),b=u(o.URL),_=u(),w=u(),E=u(),C=u(),A=u(),k=u(o.URL),S=u(o.URL),x=u(o.URL),D=u(o.URL),O=u(),T=u(),F=u(),M=u(),P=u(),L=u(),R=u(o.EMAIL),B=u(),j=u(o.EMAIL),I=u(o.MAILTOEMAIL),N=u(),H=u(),z=u(),Y=u(),U=u(o.NL);l.on(i.NL,U).on(i.PROTOCOL,c).on(i.MAILTO,d).on(i.SLASH,f),c.on(i.SLASH,f),f.on(i.SLASH,h),l.on(i.TLD,p).on(i.DOMAIN,p).on(i.LOCALHOST,v).on(i.NUM,p),h.on(i.TLD,b).on(i.DOMAIN,b).on(i.NUM,b).on(i.LOCALHOST,b),p.on(i.DOT,m),P.on(i.DOT,L),m.on(i.TLD,v).on(i.DOMAIN,p).on(i.NUM,p).on(i.LOCALHOST,p),L.on(i.TLD,R).on(i.DOMAIN,P).on(i.NUM,P).on(i.LOCALHOST,P),v.on(i.DOT,m),R.on(i.DOT,L),v.on(i.COLON,g).on(i.SLASH,b),g.on(i.NUM,y),y.on(i.SLASH,b),R.on(i.COLON,B),B.on(i.NUM,j);var V=[i.DOMAIN,i.AT,i.LOCALHOST,i.NUM,i.PLUS,i.POUND,i.PROTOCOL,i.SLASH,i.TLD,i.UNDERSCORE,i.SYM,i.AMPERSAND],$=[i.COLON,i.DOT,i.QUERY,i.PUNCTUATION,i.CLOSEBRACE,i.CLOSEBRACKET,i.CLOSEANGLEBRACKET,i.CLOSEPAREN,i.OPENBRACE,i.OPENBRACKET,i.OPENANGLEBRACKET,i.OPENPAREN];b.on(i.OPENBRACE,w).on(i.OPENBRACKET,E).on(i.OPENANGLEBRACKET,C).on(i.OPENPAREN,A),_.on(i.OPENBRACE,w).on(i.OPENBRACKET,E).on(i.OPENANGLEBRACKET,C).on(i.OPENPAREN,A),w.on(i.CLOSEBRACE,b),E.on(i.CLOSEBRACKET,b),C.on(i.CLOSEANGLEBRACKET,b),A.on(i.CLOSEPAREN,b),k.on(i.CLOSEBRACE,b),S.on(i.CLOSEBRACKET,b),x.on(i.CLOSEANGLEBRACKET,b),D.on(i.CLOSEPAREN,b),O.on(i.CLOSEBRACE,b),T.on(i.CLOSEBRACKET,b),F.on(i.CLOSEANGLEBRACKET,b),M.on(i.CLOSEPAREN,b),w.on(V,k),E.on(V,S),C.on(V,x),A.on(V,D),w.on($,O),E.on($,T),C.on($,F),A.on($,M),k.on(V,k),S.on(V,S),x.on(V,x),D.on(V,D),k.on($,k),S.on($,S),x.on($,x),D.on($,D),O.on(V,k),T.on(V,S),F.on(V,x),M.on(V,D),O.on($,O),T.on($,T),F.on($,F),M.on($,M),b.on(V,b),_.on(V,b),b.on($,_),_.on($,_),d.on(i.TLD,I).on(i.DOMAIN,I).on(i.NUM,I).on(i.LOCALHOST,I),I.on(V,I).on($,N),N.on(V,I).on($,N);var W=[i.DOMAIN,i.NUM,i.PLUS,i.POUND,i.QUERY,i.UNDERSCORE,i.SYM,i.AMPERSAND,i.TLD];p.on(W,H).on(i.AT,z),v.on(W,H).on(i.AT,z),m.on(W,H),H.on(W,H).on(i.AT,z).on(i.DOT,Y),Y.on(W,H),z.on(i.TLD,P).on(i.DOMAIN,P).on(i.LOCALHOST,R),t.State=r.TokenState,t.TOKENS=a,t.run=function(e){for(var t=e.length,n=0,r=[],i=[];n<t;){for(var a=l,s=null,u=null,c=0,d=null,f=-1;n<t&&!(s=a.next(e[n]));)i.push(e[n++]);for(;n<t&&(u=s||a.next(e[n]));)s=null,(a=u).accepts()?(f=0,d=a):f>=0&&f++,n++,c++;if(f<0)for(var h=n-c;h<n;h++)i.push(e[h]);else{i.length>0&&(r.push(new o.TEXT(i)),i=[]),n-=f,c-=f;var p=d.emit();r.push(new p(e.slice(n-c,n)))}}return i.length>0&&r.push(new o.TEXT(i)),r},t.start=l},function(e,t,n){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var r=n(315),i=n(91),o=n(123);function a(e){return e instanceof o.DOMAIN||e instanceof o.TLD}var s=(0,r.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var u=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0}),l=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),c=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"text"}),d=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"nl"}),f=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,r=this.v,i=[],s=0;r[s]instanceof o.PROTOCOL;)t=!0,i.push(r[s].toString().toLowerCase()),s++;for(;r[s]instanceof o.SLASH;)n=!0,i.push(r[s].toString()),s++;for(;a(r[s]);)i.push(r[s].toString().toLowerCase()),s++;for(;s<r.length;s++)i.push(r[s].toString());return i=i.join(""),t||n||(i=e+"://"+i),i},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});t.Base=s,t.MAILTOEMAIL=u,t.EMAIL=l,t.NL=d,t.TEXT=c,t.URL=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StepSection=void 0;var i=r(n(1)),o=n(122),a=n(316),s=n(268);t.StepSection=function(e){return i.default.createElement("div",{className:"react-step-section margin-large-vertical"},i.default.createElement("div",{className:"step-number"},e.stepNum,"."),i.default.createElement("div",{className:"step-content margin-medium-horizontal"},i.default.createElement(o.TextSection,{content:e.content}),i.default.createElement(a.GallerySection,{images:e.images}),i.default.createElement(s.Duration,{duration:e.duration})))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.FlexibleAsset=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=r(n(11)),m=n(70),v=n(675),g=n(307),y=n(53),b=n(122),_=n(676),w=n(308),E=n(677),C=n(679),A=n(25),k=n(89),S=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_renderTrait",(function(t,n){var r,i,o,a=n[t["name-key"]];if(!a&&t.kind!==E.FlexibleAssetColumnTypes.Checkbox&&t.kind!==E.FlexibleAssetColumnTypes.Header)return null;switch(t.kind){case E.FlexibleAssetColumnTypes.Text:case E.FlexibleAssetColumnTypes.Select:return f.default.createElement(m.Column,{title:t.name,value:a});case E.FlexibleAssetColumnTypes.Number:return f.default.createElement(m.Column,{title:t.name,value:Number(a).toFixed(t.decimals)});case E.FlexibleAssetColumnTypes.Upload:return f.default.createElement(F,{name:t.name,trait:a});case E.FlexibleAssetColumnTypes.Checkbox:return f.default.createElement(_.Checkbox,{title:t.name,value:a});case E.FlexibleAssetColumnTypes.Date:return f.default.createElement(T,{title:t.name,value:a,expiration:t.expiration,getExpirationStatus:e.props.getExpirationStatus});case E.FlexibleAssetColumnTypes.Percent:return f.default.createElement(m.Column,{title:t.name,value:Number(a).toFixed(t.decimals)+"%"});case E.FlexibleAssetColumnTypes.Header:return f.default.createElement("h3",{className:"text-align-left"},t.name);case E.FlexibleAssetColumnTypes.Textbox:return f.default.createElement(x,{title:t.name,content:a});case E.FlexibleAssetColumnTypes.Password:return f.default.createElement(D,{title:t.name,id:""+a,flexibleAsset:e.props.flexibleAsset,organizationId:null===(r=e.props.flexibleAsset)||void 0===r||null===(i=r.item)||void 0===i||null===(o=i.attributes)||void 0===o?void 0:o["organization-id"],mainUrl:e.props.mainUrl});case E.FlexibleAssetColumnTypes.Tag:return f.default.createElement(O,{type:a.type,values:a.values,name:t.name})}})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this,t=this.props.flexibleAsset.item||{},n=t.attributes||{},r=this.props.flexibleAsset.faFields;if(!r)return null;var i=(0,A.addMainUrlToPath)("/".concat(n["organization-id"],"/assets/records/").concat(t.id),this.props.mainUrl);return f.default.createElement("div",{className:(0,h.default)("react-fa-preview")},f.default.createElement("dl",{className:"react-dl-horizontal"},f.default.createElement(y.Header,{name:n.name,url:i}),f.default.createElement(M,{fields:r,traits:n.traits,getExpirationStatus:this.props.getExpirationStatus}),r&&r.map((function(t,r){return f.default.createElement("div",{key:r},e._renderTrait(t.attributes,n.traits))}))))}}]),n}(f.default.Component);t.FlexibleAsset=S,(0,c.default)(S,"displayName","FlexibleAssetPreview"),(0,c.default)(S,"propTypes",{flexibleAsset:d.default.object,mainUrl:d.default.string});var x=function(e){return f.default.createElement("div",{className:"dl-inner-container"},f.default.createElement("dt",null,e.title),f.default.createElement("dd",null,f.default.createElement(b.TextSection,{content:e.content})))},D=function(e){return f.default.createElement("div",{className:"dl-inner-container"},f.default.createElement("div",{className:"password-field-row"},f.default.createElement(k.AssetLink,{id:e.id,name:e.title,organizationId:e.organizationId,assetType:"passwords",title:p.default.title("password"),mainUrl:e.mainUrl})))},O=function(e){var t=e.type,n=(0,C.getTagIcon)(t),r=e.values;return r=(0,C.removeDeletedTagValues)(r),(0,C.sortTagValues)(r,t),r&&r.length?f.default.createElement("div",{className:"dl-inner-container"},f.default.createElement("dt",null,e.name),f.default.createElement("dd",null,r&&r.map((function(e,r){return f.default.createElement("div",{className:"tag-fields",key:r},f.default.createElement("i",{className:"text-small color-teal fa fa-fw "+n}),f.default.createElement("span",{className:"text-medium margin-small-horizontal"},f.default.createElement("a",{target:"_blank",href:e["resource-url"]},(0,C.getTagCellName)(t,e))))})))):null},T=function(e){var t=e.expiration?e.getExpirationStatus(e.value):null;return f.default.createElement("div",null,f.default.createElement(g.DateRow,{title:e.title,value:e.value,expirationStatus:t}))},F=function(e){return Array.isArray(e.trait)?f.default.createElement("div",{className:"dl-inner-container"},f.default.createElement("dt",null,e.name),f.default.createElement("dd",null,e.trait.map((function(e,t){return f.default.createElement("div",{key:t},f.default.createElement("a",{target:"_blank",href:e.url},e.name))})))):f.default.createElement(v.Url,{title:e.name,name:e.trait.name,url:e.trait.url})},M=function(e){var t=e.fields.filter((function(e){return e.attributes.kind===E.FlexibleAssetColumnTypes.Date&&e.attributes.expiration}));return f.default.createElement("div",{className:"margin-large-vertical"},t.map((function(t,n){var r=e.traits[t.attributes["name-key"]],i=e.getExpirationStatus(r);return f.default.createElement(w.ExpirationBanner,{key:n,status:i,name:t.attributes.name,expiryDate:r})})))}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Url=void 0;var i=r(n(1)),o=function(e){return e.url?i.default.createElement("div",{className:"dl-inner-container preview-row-url"},i.default.createElement("dt",null,e.title),i.default.createElement("dd",null,i.default.createElement("a",{target:"_blank",href:e.url},e.name))):null};t.Url=o,o.displayName="Url"},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Checkbox=void 0;var i=r(n(1));t.Checkbox=function(e){return i.default.createElement("div",{className:"dl-inner-container preview-row-checkbox"},i.default.createElement("dt",null,e.title),i.default.createElement("dd",null,i.default.createElement("i",e.value?{className:"fa fa-fw fa-check text-success"}:{className:"fa fa-fw fa-times text-danger"})))}},function(e,t,n){"use strict";var r=n(0)(n(124));t.FlexibleAssetColumnTypes=(0,r.default)({Actions:null,Checkbox:null,Date:null,Header:null,Number:null,Password:null,Percent:null,Select:null,Tag:null,Text:null,Textbox:null,Upload:null})},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";t.getTagCellName=function(e,t){switch(e){case"Contacts":var n=t["first-name"],r=t["last-name"];return r?"".concat(n," ").concat(r):n;default:return t.name||""}},t.getTagIcon=function(e){switch(e){case"Users":case"AccountsUsers":return"fa-user";case"Checklists":return"fa-check";case"Contacts":return"fa-group";case"Configurations":return"fa-cog";case"Documents":return"fa-file-text-o";case"Domains":return"fa-globe";case"Locations":return"fa-map-marker";case"Organizations":return"fa-home";case"Passwords":return"fa-key";case"SslCertificates":return"fa-lock";default:return"fa-table"}},t.sortTagValues=function(e,n){e.sort((function(e,r){return t.getTagCellName(n,e).toLowerCase()>t.getTagCellName(n,r).toLowerCase()?1:-1}))},t.removeDeletedTagValues=function(e){return e?e.filter((function(e){return!e["resource-deleted"]})):e}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SearchRow=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(283),p=n(35),m=r(n(12)),v=n(14),g=n(64),y=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{itemSelected:!1}),(0,c.default)((0,a.default)(e),"_exec",(function(t){e.props.onQuery(t),e._lastSentValue=t})),(0,c.default)((0,a.default)(e),"_handleChange",(function(t){t&&e.setState({itemSelected:!1}),e.props.onChange(t)})),(0,c.default)((0,a.default)(e),"_renderStatus",(function(){return e.props.pending?f.default.createElement(g.Spinner,null):e.props.placeholderIcon?f.default.createElement("i",{className:"fa fa-fw qa-search-scope-icon fa-"+e.props.placeholderIcon}):null})),(0,c.default)((0,a.default)(e),"_handleItemSelected",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.setState({itemSelected:!0}),e.props.onItemSelected(t,n)})),(0,c.default)((0,a.default)(e),"focus",(function(){e.refs.input.focus()})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){(0,v.isArray)(e.suggestions)&&(!(0,v.isArray)(this.props.suggestions)||e.suggestions[0]&&this.props.suggestions[0]&&e.suggestions[0].class!==this.props.suggestions[0].class||e.suggestions[0]&&this.props.suggestions[0]&&e.suggestions[0].id!==this.props.suggestions[0].id)&&this.props.onSelectionChange(0)}},{key:"componentDidUpdate",value:function(e){this.state.itemSelected||e.pending&&this.props.pending||this.props.value===this._lastSentValue||this._exec(this.props.value)}},{key:"render",value:function(){return f.default.createElement("div",{className:(0,m.default)("typeahead",this.props.className,{pending:this.props.pending}),ref:"container"},f.default.createElement("div",{className:"typeahead__input-wrapper qa-typeahead__input-wrapper"},f.default.createElement(p.FormTextField,{ref:"input",disabled:this.props.disabled,autoFocus:this.props.autoFocus,placeholder:this.props.placeholder,inputClassName:"searchbar-search-input form-control input-sm tt-input qa-tt-input",onChange:this._handleChange,value:this.props.value,validations:this.props.validations,validationLabel:this.props.validationLabel,validationKey:this.props.validationKey}),f.default.createElement("div",{className:"status qa-status"},this._renderStatus())),this.props.children,f.default.createElement(h.SelectableListWithKeyboardHints,{topMessage:this.props.suggestionsMessage,startIndex:this.props.startIndex,selectItemIndex:this.props.selectItemIndex,ref:"wrapper",className:"tt-suggestions",enableKeyboardNavigation:!1,shortCutTemplate:this.props.shortCutTemplate,template:this.props.suggestionsTemplate,onChange:this.props.onSelectionChange,onItemSelected:this._handleItemSelected,items:this.props.suggestions}))}}]),n}(f.default.Component);t.SearchRow=y,(0,c.default)(y,"propTypes",{pending:d.default.bool.affectsRendering,suggestions:d.default.oneOfType([d.default.object,d.default.array]).affectsRendering,suggestionsTemplate:d.default.any.affectsRendering,placeholder:d.default.string.affectsRendering,placeholderIcon:d.default.string.affectsRendering,value:d.default.string.affectsRendering,onChange:d.default.func.isRequired.affectsRendering,onItemSelected:d.default.func,onQuery:d.default.func,onSelectionChange:d.default.func,className:d.default.string,suggestionsMessage:d.default.string})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SearchableTooltip=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(2)),h=r(n(1)),p=n(48),m=n(22),v=n(39),g=r(n(12)),y=r(n(11)),b=r(n(14)),_=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{searchVal:""}),(0,d.default)((0,s.default)(e),"MAX_ITEMS",12),(0,d.default)((0,s.default)(e),"_handleOpen",(function(){e.setState({minHeight:0})})),(0,d.default)((0,s.default)(e),"_handleClose",(function(){e.setState({searchVal:""})})),(0,d.default)((0,s.default)(e),"_handleChange",(function(t){e.setState({searchVal:t.target.value})})),(0,d.default)((0,s.default)(e),"_getFilteredItems",(function(t){var n=e.props.getContentList();return t.length>0&&(n=b.default.filter(n,(function(e){return e.toLowerCase().indexOf(t.toLowerCase())>-1}))),n})),(0,d.default)((0,s.default)(e),"_setMinHeight",(function(){e.content&&e.content.clientHeight!==e.state.minHeight&&e.setState({minHeight:e.content.clientHeight})})),(0,d.default)((0,s.default)(e),"getContent",(function(){var t=e._getFilteredItems(e.state.searchVal);return 0===t.length&&(t=[(0,y.default)("filter-no-matching-results")]),b.default.defer(e._setMinHeight),h.default.createElement("div",{style:{minHeight:e.state.minHeight},ref:function(t){return e.content=t}},e.props.getContentList().length>(e.props.max||e.MAX_ITEMS)?h.default.createElement("div",{className:"tooltip-search-input-container"},h.default.createElement("input",{value:e.state.searchVal,type:"text",placeholder:(0,y.default)("filter-with-ellipsis"),className:"react-tooltip-search",onChange:e._handleChange}),h.default.createElement(m.Icon,{name:"search",className:"react-tooltip__search-icon"})):null,h.default.createElement(v.SelectableList,{className:"react-tooltip__search-list",items:t,disabled:!0,template:function(e){return e},enableKeyboardNavigation:!1}))})),e}return(0,a.default)(n,[{key:"render",value:function(){return h.default.createElement(this.props.useTooltipV2?p.Tooltip.V2:p.Tooltip,(0,i.default)({},this.props,{getContent:this.getContent,onClose:this._handleClose,onOpen:this._handleOpen,className:(0,g.default)("searchable-tooltip",this.props.className)}),this.props.children)}}]),n}(h.default.Component);t.SearchableTooltip=_,(0,d.default)(_,"propTypes",{className:f.default.string,containerClassName:f.default.string,getContentList:f.default.func.isRequired,max:f.default.number,useTooltipV2:f.default.bool}),(0,d.default)(_,"defaultProps",{useTooltipV2:!1}),(0,d.default)(_,"displayName","SearchableTooltip")},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SessionValidator=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=n(59),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_startPolling",(function(){e.timeout=setInterval(e._checkSessionValidity,e.props.pollInterval)})),(0,c.default)((0,a.default)(e),"_stopPolling",(function(){clearInterval(e.timeout)})),(0,c.default)((0,a.default)(e),"_checkSessionValidity",(function(){return new Promise((function(t){e.props.onWillSendHeartbeat&&e.props.onWillSendHeartbeat(),(0,h.request)("GET",e.props.heartbeatUrl).set("Content-Type","application/json;charset=UTF-8").set("Accept","application/json, text/plain").end((function(n,r){401===r.statusCode?(e._redirectToLogin(),t(!1)):t(!0)}))}))})),(0,c.default)((0,a.default)(e),"_redirectToLogin",(function(){e._stopPolling(),n.redirectToLogin()})),(0,c.default)((0,a.default)(e),"force",(function(){return e._checkSessionValidity()})),e}return(0,o.default)(n,[{key:"componentDidMount",value:function(){this._startPolling()}},{key:"componentWillUnmount",value:function(){this._stopPolling()}},{key:"render",value:function(){return f.default.createElement("div",{style:{display:"none"}})}}]),n}(f.default.Component);t.SessionValidator=p,(0,c.default)(p,"propTypes",{onWillSendHeartbeat:d.default.func,pollInterval:d.default.number,heartbeatUrl:d.default.string}),(0,c.default)(p,"defaultProps",{pollInterval:9e5,heartbeatUrl:"/heartbeat"}),(0,c.default)(p,"redirectToLogin",(function(){document.location.href="/login?redirect=".concat(document.location.pathname)}))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TableWithFilters=void 0;var i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7)),f=r(n(8)),h=r(n(1)),p=r(n(57)),m=r(n(12)),v=r(n(2)),g=r(n(11)),y=n(67),b=n(114),_=n(64),w=n(684),E=n(686),C=n(320),A=n(697),k=n(22),S=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,f.default)((0,u.default)(e),"generateCsv",function(){var t=(0,o.default)(i.default.mark((function t(n){var r,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.export,t.next=3,(0,A.generateCsvString)(e.props.filteredRows,e.props.columns,{exportAllCols:n});case 3:o=t.sent,r.href="",r.href="data:attachment/csv,"+encodeURIComponent(o),r.target="_blank",r.download=e.props.assetName+"s.csv",r.click();case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,f.default)((0,u.default)(e),"getColumnWidths",(function(){return e.refs.table.getColumnWidths()})),(0,f.default)((0,u.default)(e),"getResizableWidth",(function(){return e.refs.table.getResizableWidth()})),e}return(0,s.default)(n,[{key:"render",value:function(){var e=this,t=p.default.mobile,n=this.props.filteredRows.length,r=this.props.showRowCountSpinner?h.default.createElement("span",{className:"bumper-xsmall-right"},h.default.createElement(_.Spinner,{size:20})):h.default.createElement("b",null,(0,g.default)("tables.n-of-total",{n:n,total:this.props.totalRowCount})),i=(0,m.default)(this.props.className,"react-stateful-table");return h.default.createElement("div",{className:i},t&&this.props.children,h.default.createElement(C.Table,{ref:"table",allowHorizontalScrolling:this.props.allowHorizontalScrolling,bulkActions:this.props.bulkActions,cellTemplate:this.props.cellTemplate,checkedIds:this.props.checkedIds,className:(0,m.default)(this.props.noUserSelect&&"no-user-select",t&&"mobile"),columns:this.props.visibleColumns,getKeyFromItem:this.props.getKeyFromItem,getValueFromItem:this.props.getValueFromItem,headerCellTemplate:this.props.headerCellTemplate,isPending:this.props.showRowsLoadingSpinner,itemContext:this.props.itemContext,items:this.props.filteredRows,numSelected:this.props.numSelected,onBulkAction:this.props.onBulkAction,onCheckAllChange:this.props.onCheckAllChange,onCheckRowChange:this.props.onCheckRowChange,onColumnClick:this.props.onColumnClick,onColumnResize:this.props.onColumnResize,onColumnResizeStart:this.props.onColumnResizeStart,onDragEnter:this.props.onDragEnter,onDragLeave:this.props.onDragLeave,onDragOver:this.props.onDragOver,onDrop:this.props.onDrop,pinTop:this.props.pinTop,pinPermanently:this.props.pinPermanently,disablePinToTop:this.props.disablePinToTop,scrollContainer:this.props.scrollContainer,sortedBy:this.props.sortBy,supportsBulkActions:this.props.bulkActions.length>0,visibleRowCount:n,batchSize:this.props.batchSize},!t&&this.props.children,h.default.createElement("div",{className:"table-with-filter-actions display-flex margin-medium-bottom"},h.default.createElement("div",{className:"filter-actions-wrapper"},h.default.createElement("button",{type:"button",className:"custom-column-icon qa-custom-column",onClick:this.props.onCustomizeColumns},h.default.createElement(k.Icon,{name:"columns",light:!0}))),h.default.createElement(E.SmartFilter,{className:"flex-grow-max",columns:this.props.columns,onAddTag:this.props.onFilterAddTag,onBlur:this.props.onFilterBlur,onChange:this.props.onFilterChange,onDeleteTag:this.props.onFilterDeleteTag,onDeleteAllTags:this.props.onFilterDeleteAllTags,onFocus:this.props.onFilterFocus,partial:this.props.filterPartial,placeholder:this.props.filterPlaceholder,searchableColumns:this.props.searchableColumns,suggestionBox:this.props.suggestionBox,suggestions:this.props.suggestions,tags:this.props.filterTags}),this.props.archiveFilter,h.default.createElement(y.InternationalString,{className:"table-row-count qa-table-row-count width-small text-align-right margin-small-right",tag:"div",k:"tables.results-of",interpolate:{results:r}}))),h.default.createElement(w.ColumnSelector,{columns:this.props.columns,defaultColumns:this.props.defaultColumns,visible:this.props.isCustomizingColumns,onApply:this.props.onApplyColumns,onCancel:this.props.onCancelColumns}),this.props.isExportable&&h.default.createElement("a",{className:"hidden-generate-csv-link",ref:function(t){return e.export=t},href:""}),this.props.syncToUrl&&h.default.createElement(b.PropsToUrlWatcher,{onReplaceUrl:this.props.onReplaceUrl,throttle:500,ignoreFalse:!0,onSet:this.props.set,watch:this.props.watch,replaceUrl:this.props.replaceUrl}))}}]),n}(h.default.Component);t.TableWithFilters=S,(0,f.default)(S,"displayName","TableWithFilters"),(0,f.default)(S,"propTypes",{assetName:v.default.string,bulkActions:v.default.arrayOf(v.default.bulkAction),cellTemplate:v.default.template,checkedIds:v.default.object,className:v.default.string,columns:v.default.columns,disablePinToTop:v.default.bool,filteredRows:v.default.basicApiResources,getKeyFromItem:v.default.func,getValueFromItem:v.default.func,headerCellTemplate:v.default.template,isExportable:v.default.bool,itemContext:v.default.objectOf(v.default.shape({access:v.default.resourceAccesses})),noUserSelect:v.default.bool,numSelected:v.default.number,onBulkAction:v.default.func,onCheckAllChange:v.default.func,onCheckRowChange:v.default.func,onColumnClick:v.default.func,onColumnResize:v.default.func,onColumnResizeStart:v.default.func,onCustomizeColumns:v.default.func,onDragEnter:v.default.func,onDragLeave:v.default.func,onDragOver:v.default.func,onDrop:v.default.func,allowHorizontalScrolling:v.default.bool,pinTop:v.default.number,scrollContainer:v.default.any,searchableColumns:v.default.columns,set:v.default.func,showRowCountSpinner:v.default.bool,showRowsLoadingSpinner:v.default.bool,sortBy:v.default.arrayOf(v.default.sortField),suggestionBox:v.default.suggestionBox,suggestions:v.default.any,visibleColumns:v.default.columns,filterPartial:v.default.tag,filterPlaceholder:v.default.string,filterTags:v.default.tags,onFilterAddTag:v.default.func,onFilterBlur:v.default.func,onFilterChange:v.default.func,onFilterDeleteTag:v.default.func,onFilterDeleteAllTags:v.default.func,onFilterFocus:v.default.func,onReplaceUrl:v.default.func,syncToUrl:v.default.bool,watch:v.default.any,isCustomizingColumns:v.default.bool,onApplyColumns:v.default.func,onCancelColumns:v.default.func,defaultColumns:v.default.columns}),(0,f.default)(S,"defaultProps",{cellTemplate:function(e){return h.default.createElement("span",null,e.value)},headerCellTemplate:function(e){return h.default.createElement("span",null,e.label)},bulkActions:[],syncToUrl:!0,itemContext:{},filteredRows:[],rows:[],allowHorizontalScrolling:!1})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnSelector=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(92)),h=r(n(28)),p=n(261),m=n(50),v=n(685),g=n(266),y=n(265),b=n(55),_=n(30),w=r(n(2)),E=r(n(11)),C=r(n(14)),A=r(n(12)),k=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{columns:(0,f.default)(e.props.columns),isDragging:!1}),(0,c.default)((0,a.default)(e),"_getMoveableColumns",(function(){return e.state.columns.filter((function(e){return!1!==e.moveColumn}))})),(0,c.default)((0,a.default)(e),"_handleChecked",(function(t,n){var r=e._getMoveableColumns(),i=e.state.columns.indexOf(r[t]),o=h.default.set(e.state.columns,[i,"show"],n);e.setState({error:void 0,columns:o})})),(0,c.default)((0,a.default)(e),"_isSelectAll",(function(){return 0===e.state.columns.filter((function(e){return!0!==e.show&&!1!==e.moveColumn})).length})),(0,c.default)((0,a.default)(e),"_handleSelectAll",(function(t){var n=(0,f.default)(e.state.columns);n.filter((function(e){return!1!==e.moveColumn})).forEach((function(e){return e.show=t})),e.setState({error:void 0,columns:n})})),(0,c.default)((0,a.default)(e),"_handleDragStart",(function(){e.setState({isDragging:!0})})),(0,c.default)((0,a.default)(e),"_handleDragEnd",(function(){e.setState({isDragging:!1})})),(0,c.default)((0,a.default)(e),"_handleReorder",(function(t,n,r){var i=e._getMoveableColumns(),o=i.splice(t,1)[0];r&&r.dropAfter?i.push(o):i.splice(n-(t<n?1:0),0,o),e.state.columns.forEach((function(e,t){!1===e.moveColumn&&i.splice(t,0,e)})),e.setState({columns:i})})),(0,c.default)((0,a.default)(e),"_handleApply",(function(){var t=e._getMoveableColumns();void 0===C.default.findWhere(t,{show:!0})?e.setState({error:(0,E.default)("tables.customize-columns-error")}):e.props.onApply(e.state.columns)})),(0,c.default)((0,a.default)(e),"_handleCancel",(function(){e.props.onCancel()})),(0,c.default)((0,a.default)(e),"_handleRestoreDefaultColumns",(function(){e.setState({error:void 0,columns:e.props.defaultColumns})})),(0,c.default)((0,a.default)(e),"_renderAdditionalButtons",(function(){return d.default.createElement(_.LoaderButton,{className:"autowidth qa-customize-column-restore-defaults",onClick:e._handleRestoreDefaultColumns,value:(0,E.default)("tables.restore-defaults")})})),(0,c.default)((0,a.default)(e),"_renderColumnRow",(function(t,n){return d.default.createElement(g.DraggableContainer,{id:n,key:n,shiftMargin:"35px"},d.default.createElement(v.ColumnSelectorRow,{col:t,onChecked:function(t){return e._handleChecked(n,t)}}))})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.visible&&!this.props.visible&&this.setState({error:void 0,columns:(0,f.default)(e.columns)})}},{key:"render",value:function(){return d.default.createElement(m.Dialog,{visible:this.props.visible,className:"column-selector-dialog qa-column-selector-dialog",title:(0,E.default)("tables.customize-columns-header"),labelCancel:(0,E.default)("cancel"),labelApply:(0,E.default)("apply"),onCancel:this._handleCancel,onApply:this._handleApply,renderAdditionalButtons:this._renderAdditionalButtons},d.default.createElement(p.Banner,{visible:!!this.state.error,type:"error"},this.state.error),d.default.createElement("div",{className:"column-custom-form qa-column-custom-form"},d.default.createElement("h4",{className:"normal"},(0,E.default)("tables.customize-columns-title")),d.default.createElement("h6",null,(0,E.default)("tables.customize-columns-description")),d.default.createElement("div",{className:(0,A.default)(this.state.isDragging&&"hide-dragging")},d.default.createElement("div",{className:"select-all-container qa-select-all-container"},d.default.createElement(b.FormCheckField,{fieldLabel:(0,E.default)("Select All"),value:this._isSelectAll(),onChange:this._handleSelectAll})),d.default.createElement(y.DragDropManager,{onDragStart:this._handleDragStart,onDragEnd:this._handleDragEnd,onReorder:this._handleReorder},this.state.columns.filter((function(e){return!1!==e.moveColumn})).map(this._renderColumnRow)))))}}]),n}(d.default.Component);t.ColumnSelector=k,(0,c.default)(k,"displayName","ColumnSelector"),(0,c.default)(k,"propTypes",{columns:w.default.columns.isRequired,defaultColumns:w.default.columns.isRequired,onApply:w.default.func.isRequired,onCancel:w.default.func.isRequired,visible:w.default.bool}),(0,c.default)(k,"elements",{acceptButtom:function(){return".dialog-actions .react-button.default"},cancelButtom:function(){return".dialog-actions .react-button.cancel"},restoreDefaultsButton:function(){return".dialog-actions .qa-customize-column-restore-defaults"},row:function(e){return".draggable-outer:nth-child(".concat(e,")")},rowByName:function(e){return".qa-customize-column-".concat(e)},selectAllCheckbox:function(){return".select-all-container input"}})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnSelectorRow=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(1)),d=r(n(2)),f=n(55),h=n(22),p=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props.col.listViewOptionLabel||this.props.col.label||this.props.col.name;return c.default.createElement("div",{className:"column-selector-row"},c.default.createElement("div",{className:"draggable-icon clickable qa-customize-column-"+this.props.col.name,ref:this.props.handle},c.default.createElement(h.Icon,{regular:!0,name:"ellipsis-v",className:"ellipsis-v-icon"}),c.default.createElement(h.Icon,{regular:!0,name:"ellipsis-v",className:"ellipsis-v-icon"})),c.default.createElement(f.FormCheckField,{fieldLabel:e,value:this.props.col.show,onChange:this.props.onChecked}))}}]),n}(c.default.Component);t.ColumnSelectorRow=p,(0,l.default)(p,"displayName","ColumnSelectorRow"),(0,l.default)(p,"propTypes",{col:d.default.column.isRequired,onChecked:d.default.func.isRequired,handle:d.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SmartFilter=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(27)),h=n(34),p=n(35),m=n(687),v=r(n(2)),g=n(690),y=r(n(74)),b=r(n(40)),_=r(n(12)),w=n(20),E=r(n(11)),C=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleFieldSuggestionSelected",(function(t){e.props.onChange(t.value+":"),e.refs.input.focus()})),(0,c.default)((0,a.default)(e),"_handleValueSuggestionSelected",(function(t){var n=e.props.partial,r=n.raw.split(":")[0]+":"+n.getOperator()+t.value;e.props.onAddTag(new y.default(r,e.props.columns)),e.refs.input.focus(),e.props.onFocus()})),(0,c.default)((0,a.default)(e),"_handleKeyDown",(function(t){switch(t.keyCode){case b.default.BACKSPACE:e.props.tags.length>0&&0===t.target.selectionStart&&0===t.target.selectionEnd&&e.props.onDeleteTag(e.props.tags.length-1);break;case b.default.TAB:case b.default.ESC:e.props.onBlur();break;case b.default.ENTER:e.props.partial.raw.length>0&&(e.props.onAddTag(new y.default(e.props.partial.raw,e.props.columns)),e.refs.input.focus());break;default:e.props.suggestionBox||!b.default.isAlphaNumeric(t)&&!b.default.isDownArrow(t)||e.props.onFocus()}})),(0,c.default)((0,a.default)(e),"_handleGlobalClick",(function(t){t.target===e.refs.container&&e.refs.input.focus(),!document.body.contains(t.target)||e.refs.datetimepicker&&(0,h.closest)(t.target,{node:e.refs.datetimepicker})||(0,h.closest)(t.target,{node:e.refs.container})||document.activeElement===f.default.findDOMNode(e.refs.input).querySelector("input")||e.props.onBlur()})),(0,c.default)((0,a.default)(e),"focus",(function(){e.refs.input.focus()})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){window.addEventListener("click",this._handleGlobalClick)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("click",this._handleGlobalClick)}},{key:"render",value:function(){var e=this.refs.container,t=e?(0,w.measureText)(e,this.props.partial.raw).width:0;return d.default.createElement("div",{className:(0,_.default)("smart-filter qa-smart-filter",this.props.className),ref:"container",onClick:this.focus},d.default.createElement(g.Tags,{ref:"tags",tags:this.props.tags,tagFormatter:this.props.tagFormatter,onDelete:this.props.onDeleteTag},d.default.createElement("div",{className:"input-block"},d.default.createElement("div",{className:"suggestions",ref:"suggestions",style:{width:t}},d.default.createElement(m.SuggestionBox,{ref:"suggestionBox",onFieldSelected:this._handleFieldSuggestionSelected,onValueSelected:this._handleValueSuggestionSelected,onBlur:this.props.onBlur,searchableColumns:this.props.searchableColumns,partial:this.props.partial,which:this.props.suggestionBox,valueSuggestions:this.props.suggestions})),!(!this.props.tags.length&&!this.props.partial.raw)&&d.default.createElement("i",{onClick:this.props.onDeleteAllTags,className:"fal fa-times clear-button qa-clear-button"}),d.default.createElement(p.FormTextField,{ref:"input",placeholder:this.props.placeholder,className:"smart-filter-input",onKeyDown:this._handleKeyDown,value:this.props.partial.raw,validationKey:"filterInput",onFocus:this.props.onFocus,onChange:this.props.onChange}))))}}]),n}(d.default.Component);t.SmartFilter=C,(0,c.default)(C,"propTypes",{onAddTag:v.default.func.isRequired,onChange:v.default.func.isRequired,onDeleteTag:v.default.func.isRequired,onDeleteAllTags:v.default.func.isRequired,onBlur:v.default.func.isRequired,onFocus:v.default.func.isRequired,partial:v.default.tag,placeholder:v.default.string,tags:v.default.tags.isRequired,columns:v.default.columns.isRequired,className:v.default.string,searchableColumns:v.default.columns,suggestionBox:v.default.suggestionBox,suggestions:v.default.stringArray}),(0,c.default)(C,"defaultProps",{placeholder:(0,E.default)("filter-placeholder")})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.SuggestionBox=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=n(688),h=r(n(2)),p=(n(689),r(n(14))),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_sortFieldNames",(function(e,t){return void 0===e.sorting&&void 0===t.sorting?0:e.sorting<t.sorting||e.sorting&&void 0===t.sorting?-1:1})),e}return(0,o.default)(n,[{key:"render",value:function(){return"field"===this.props.which?d.default.createElement(f.MatchingList,{className:"field-suggestions title-case",visible:!0,onItemSelected:this.props.onFieldSelected,items:this.props.searchableColumns.map((function(e){return e.label||e.name})),query:this.props.partial.raw||""}):(p.default.findWhere(this.props.searchableColumns,{label:this.props.partial.key}),"value"===this.props.which?d.default.createElement(f.MatchingList,{className:"value-suggestions",visible:!0,onItemSelected:this.props.onValueSelected,items:this.props.valueSuggestions,query:this.props.partial.displayValue||""}):null)}}]),n}(d.default.Component);t.SuggestionBox=m,(0,c.default)(m,"propTypes",{onFieldSelected:h.default.func.isRequired,onValueSelected:h.default.func.isRequired,onBlur:h.default.func.isRequired,valueSuggestions:h.default.stringArray,searchableColumns:h.default.columns.isRequired,which:h.default.suggestionBox,partial:h.default.tag})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.MatchingList=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=n(39),m=n(58),v=r(n(25)),g=r(n(11));function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var b=function(e){(0,s.default)(n,e);var t=y(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_getOrderedList",(function(){var t=[],n=[],r=v.default.escapeForRegex(e.props.query),i=new RegExp("(".concat(r,")"),"i");return e.props.items.forEach((function(e){try{if(null===e)t.push({disabled:!0,parts:[(0,g.default)("no-results")]});else if(""===this.props.query)t.push({parts:[e],value:e});else{var r=e.split(i).filter((function(e){return""!==e}));r[0].toLowerCase()===this.props.query.toLowerCase()?t.push({parts:r,value:e}):1===r.length||n.push({parts:r,value:e})}}catch(e){}}).bind((0,a.default)(e))),t.concat(n)})),(0,c.default)((0,a.default)(e),"prev",(function(){e.refs.list&&e.refs.list.prev()})),(0,c.default)((0,a.default)(e),"next",(function(){e.refs.list&&e.refs.list.next()})),(0,c.default)((0,a.default)(e),"enter",(function(){return e.refs.list&&e.refs.list.enter()})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.props.items!==e.items&&this.refs.list&&this.refs.list.reset()}},{key:"render",value:function(){var e=Array.isArray(this.props.items)?this._getOrderedList():[];return 0===e.length?null:(e.length>100&&(e=e.slice(0,100)),f.default.createElement(m.Popover,{open:this.props.visible,arrowSize:8,arrowDirection:"up",arrowPosition:"left",pointTo:"right",ref:"popover"},f.default.createElement(p.SelectableList,{enableKeyboardNavigation:this.props.visible,ref:"list",className:(0,h.default)(this.props.className,"filter-suggestions"),onItemSelected:this.props.onItemSelected,items:e,template:f.default.createElement(_,{query:this.props.query})})))}}]),n}(f.default.Component);t.MatchingList=b,(0,c.default)(b,"propTypes",{items:d.default.array.affectsRendering,parts:d.default.arrayOf(d.default.string),query:d.default.string.affectsRendering,visible:d.default.bool.affectsRendering,onItemSelected:d.default.func});var _=function(e){(0,s.default)(n,e);var t=y(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){return""===this.props.query?f.default.createElement("div",{className:"sentence-case",title:this.props.value},this.props.parts):f.default.createElement("div",{className:"sentence-case"},this.props.parts.map((function(e,t){return e.toLowerCase()===this.props.query.toLowerCase()?f.default.createElement("u",{key:t},e):f.default.createElement("span",{key:t},e)}).bind(this)))}}]),n}(f.default.Component)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DateTimePicker=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(295)),h=r(n(9)),p=r(n(28)),m=r(n(20)),v=n(38),g=n(82),y=n(58),b=n(319),_=r(n(14)),w=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{dateOptions:[{value:(0,h.default)().subtract(1,"day").startOf("day")._d.getTime(),label:"Yesterday"},{value:(0,h.default)().startOf("day")._d.getTime(),label:"Today"},{value:"",label:"Custom"}],selectedDate:(0,h.default)().startOf("day")._d.getTime(),selectedTime:0,isBefore:!1}),(0,c.default)((0,a.default)(e),"_getTimeOptions",(function(){return _.default.times(24,(function(e){return{label:(e<10?"0"+e:e)+":00",value:e}}))})),(0,c.default)((0,a.default)(e),"_handleDateChange",(function(t){if("string"==typeof t)e.setState({selectedDate:t});else if(""===e.state.selectedDate){var n=(0,p.default)(e.state).set(["selectedDate"],t).push(["dateOptions"],{value:t,label:(0,h.default)(t).format("YYYY-MM-DD")}).end();e.setState(n)}})),(0,c.default)((0,a.default)(e),"_handleSubmit",(function(){var t=e.state.isBefore?"<":">",n=parseInt(e.state.selectedDate)+1e3*e.state.selectedTime*60*60;e.props.onDateTimeChange({valueLabel:t+" "+m.default.formatDateTimeString(n).replace("am","AM").replace("pm","PM"),value:t+n})})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this;return d.default.createElement(y.Popover,{className:this.props.className,open:!0,arrowDirection:"up",arrowAlignment:"left",alignment:"right",ref:"popover"},d.default.createElement("div",{className:"datepicker"},d.default.createElement(g.FormSelectField,{label:"Date",options:this.state.dateOptions,onChange:this._handleDateChange,value:this.state.selectedDate}),d.default.createElement(v.If,{condition:""===this.state.selectedDate},d.default.createElement(f.default,{input:!1,closeOnSelect:!0,className:"datepicker",timeFormat:!1,onChange:function(t){return e._handleDateChange(t._d.getTime())}}))),d.default.createElement("div",{className:"timepicker"},d.default.createElement(g.FormSelectField,{label:"Time",options:this._getTimeOptions(),value:this.state.selectedTime,onChange:function(t){return e.setState({selectedTime:t})}})),d.default.createElement("div",{className:"toggle"},d.default.createElement("div",{className:"toggle-text"},"View before or after this date:"),d.default.createElement(b.ToggleButton,{size:"small",onToggle:function(){return e.setState({isBefore:!e.state.isBefore})},on:this.state.isBefore})),d.default.createElement("div",{className:"buttons"},d.default.createElement("button",{onClick:this.props.onCancel,className:"small react-button cancel"},"Cancel"),d.default.createElement("button",{onClick:this._handleSubmit,className:"small react-button default"},"Set")))}}]),n}(d.default.Component);t.DateTimePicker=w},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Tags=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_renderTag",(function(t,n){return d.default.createElement("span",{className:(0,h.default)("react-tag qa-react-tag","!"===t.operator&&"exclude"),key:n},d.default.createElement("span",{className:"sentence-case"},t.getKey(),": "),d.default.createElement("span",null,t.getValue()),d.default.createElement("i",{className:"far fa-times clear-x-icon qa-clear-x-icon",onClick:function(){return e.props.onDelete(n)}}))})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this;return d.default.createElement("span",{className:(0,h.default)("tags qa-tags tags-horizontal",this.props.className)},this.props.tags.map((function(t,n){return e._renderTag(t,n)})),this.props.children)}}]),n}(d.default.Component);t.Tags=p,(0,c.default)(p,"displayName","Tags"),(0,c.default)(p,"propTypes",{className:f.default.string,onDelete:f.default.func,tags:f.default.arrayOf(f.default.object)})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Row=void 0;var i=r(n(19)),o=r(n(3)),a=r(n(4)),s=r(n(10)),u=r(n(5)),l=r(n(6)),c=r(n(7)),d=r(n(8)),f=r(n(1)),h=r(n(2)),p=n(20),m=n(44),v=r(n(12)),g=r(n(57)),y=r(n(37)),b=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"_renderCheckboxCell",(function(){return f.default.createElement(g.default.mobile?"div":"td",{className:(0,v.default)("fix-left",g.default.mobile?"div-select-row":"column-select-row")},f.default.createElement("label",null,f.default.createElement("input",{type:"checkbox",checked:e.props.checked,onChange:e._handleCheckRowChange})))})),(0,d.default)((0,s.default)(e),"_renderCell",(function(t){var n=t.name;(0,m.isDateTypeColumn)(t)&&(n=t.name+"-string");var r=e.props.item.attributes[n];(0,m.isBooleanColumn)(t)&&null!==r&&(r=r.toString());var i=(0,p.cloneAndRender)(e.props.cellTemplate,{onBulkAction:e.props.onBulkAction,context:e.props.context,column:t,index:e.props.index,item:e.props.item,value:r}),o=(0,v.default)("column-"+y.default.paramCase(t.name),g.default.mobile&&"table-row-attribute",t.type&&"column-type-"+t.type,t.className,t.primary&&"column-is-primary",!g.default.mobile&&!1!==t.nowrap&&"ellipsis",t.fixRight&&"fix-right",t.fixLeft&&"fix-left"),a="string"==typeof r?r:null;return g.default.mobile?f.default.createElement("div",{className:o,key:t.name},t.label&&f.default.createElement("span",{className:"text-bold"},t.label,":"),f.default.createElement("span",{className:"bumper-small-left"},i)):f.default.createElement("td",{className:o,title:t.hideTooltip?void 0:a,key:t.name},i)})),(0,d.default)((0,s.default)(e),"_handleCheckRowChange",(function(){e.props.onCheckRowChange(e.props.item.id,!e.props.checked)})),e}return(0,a.default)(n,[{key:"render",value:function(){var e,t=this.props,n=t.item,r=t.columns,o=t.supportsBulkActions,a=null===(e=this.props.context)||void 0===e?void 0:e.isNew;return g.default.mobile?f.default.createElement("tr",{"data-id":n.id+""},f.default.createElement("td",{colSpan:this.props.numColumns},o&&this._renderCheckboxCell(),r.map(this._renderCell))):f.default.createElement("tr",(0,i.default)({"data-id":n.id+""},n.rowAttributes,{"data-is-new":a}),o&&this._renderCheckboxCell(),r.map(this._renderCell))}}]),n}(f.default.Component);t.Row=b,(0,d.default)(b,"propTypes",{checked:h.default.bool.affectsRendering,index:h.default.number,item:h.default.shape({id:h.default.stringOrNumber,rowAttributes:h.default.object}).affectsRendering,cellTemplate:h.default.template.affectsRendering,context:h.default.any.affectsRendering,columns:h.default.columns.affectsRendering,supportsBulkActions:h.default.bool,onBulkAction:h.default.func})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TableBody=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(27)),h=r(n(2)),p=n(103),m=n(14),v=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{firstVisibleBatch:0,direction:1,rowHeight:36}),(0,c.default)((0,a.default)(e),"_getScrolledRowCount",(function(){var t=f.default.findDOMNode((0,a.default)(e)).getBoundingClientRect().top;return Math.min(e.props.items.length,Math.floor(t/-e.state.rowHeight))})),(0,c.default)((0,a.default)(e),"_handleScroll",(function(){var t=e._getScrolledRowCount(),n=Math.max(0,Math.floor(t/e.props.batchSize));n!==e.state.firstVisibleBatch&&e.setState({firstVisibleBatch:n})})),(0,c.default)((0,a.default)(e),"_measureRowHeight",(function(){if(e.tbody&&e.props.items.length>1){var t=e.tbody.querySelectorAll("tr:not(.padding-row)")[1].clientHeight;t>0&&e.state.rowHeight!==t&&e.setState({rowHeight:t})}})),(0,c.default)((0,a.default)(e),"_renderRow",(function(t,n){var r={item:t,index:n,checked:e.props.checkedIds[t.id]||!1,context:e.props.itemContext&&e.props.itemContext[t.id],key:e.props.getKeyFromItem(t),cellTemplate:e.props.cellTemplate,columns:e.props.columns,supportsBulkActions:e.props.supportsBulkActions,onBulkAction:e.props.onBulkAction,onCheckRowChange:e.props.onCheckRowChange,numColumns:e.props.numColumns};return d.default.cloneElement(e.props.rowTemplate,r)})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this._measureRowHeight=(0,m.throttle)(this._measureRowHeight,1e3),this._handleScroll=(0,m.throttle)(this._handleScroll,200)}},{key:"componentDidUpdate",value:function(e){this._measureRowHeight(),e.items!==this.props.items&&e.items.length>this.props.items.length&&(0!==this.state.firstVisibleBatch&&this.setState({firstVisibleBatch:0}),this._handleScroll())}},{key:"render",value:function(){var e=this,t=this.props.items.length,n=Math.max(0,this.state.firstVisibleBatch*this.props.batchSize),r=this.props.items.slice(n,n+3*this.props.batchSize),i=Math.max(0,t-n-r.length);return d.default.createElement("tbody",{ref:function(t){return e.tbody=t}},d.default.createElement(p.GlobalListener,{listenOn:this.props.scrollContainer,types:"scroll",onScroll:this._handleScroll}),n>0&&d.default.createElement("tr",null,d.default.createElement("td",{className:"padding-row",style:{height:n*this.state.rowHeight}})),r.map(this._renderRow),i>0&&d.default.createElement("tr",null,d.default.createElement("td",{className:"padding-row",style:{height:i*this.state.rowHeight}})))}}]),n}(d.default.Component);t.TableBody=v,(0,c.default)(v,"displayName","TableBody"),(0,c.default)(v,"propTypes",{cellTemplate:h.default.any,checkedIds:h.default.object,columns:h.default.columns.isRequired,getKeyFromItem:h.default.func,getValueFromItem:h.default.func,itemContext:h.default.object,items:h.default.array.isRequired,numColumns:h.default.number,onCheckRowChange:h.default.func,rowTemplate:h.default.any,scrollContainer:h.default.any,supportsBulkActions:h.default.bool}),(0,c.default)(v,"defaultProps",{batchSize:50,scrollContainer:window})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.BulkActionCell=h;var i=r(n(1)),o=n(55),a=n(66),s=n(39),u=n(67),l=r(n(12)),c=r(n(2)),d=function(e){return"input"===e.target.tagName.toLowerCase()},f=function(e){return i.default.createElement("span",{className:"sentence-case"},e.name)};function h(e){if(e.renderEmpty)return i.default.createElement("th",{className:"column-check-all qa-column-check-all not-sortable",style:{width:50}});var t=(0,l.default)("bumper-small border-radius-small",e.numSelected>0&&"items-selected"),n=i.default.createElement("div",{className:t},i.default.createElement(o.FormCheckField,{className:"float-left",value:0!==e.numSelected&&(e.numSelected===e.visibleRowCount||"mixed"),onChange:e.onChange}),e.numSelected>0&&i.default.createElement("i",{className:"fa fa-caret-down caret-down-icon"})),r=e.items.filter((function(t){return e.checkedIds[t.id]})),c=e.bulkActions.filter((function(e){return!e.condition||e.condition(r)}));return i.default.createElement("th",{className:"column-check-all qa-column-check-all not-sortable",style:{width:50}},i.default.createElement("div",{className:"check-all-wrapper"},i.default.createElement(a.OptionButton,{label:n,arrowSize:0,edgeOffset:-25,arrowPosition:"left",pointTo:"left",popoverClassName:"borderless",ignoreClick:d,disabled:0===e.numSelected,killCloseEvent:!0,closeOnClickInside:!0,className:"font-style-none bulk-actions-button qa-bulk-actions-button"},i.default.createElement(s.SelectableList,{className:"filter-suggestions",onItemSelected:function(t){return e.onBulkAction(t.id)},enableKeyboardNavigation:!0,template:f,items:c}),i.default.createElement(u.InternationalString,{className:"table-num-results-box qa-table-num-results",tag:"div",k:"num-selected",interpolate:{count:e.numSelected}}))))}h.propTypes={numSelected:c.default.number,visibleRowCount:c.default.number,onChange:c.default.func,renderEmpty:c.default.bool,bulkActions:c.default.array,items:c.default.array,checkedIds:c.default.object}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.HeaderCell=g,t.shouldShowResizer=t.currentAndPreviousColumnsAreFixed=t.remainingColumnsAreFixed=void 0;var i=r(n(1)),o=r(n(12)),a=r(n(2)),s=n(695),u=n(44),l=n(20),c=n(22),d=n(125);function f(e){var t;e.sortedBy.length>0&&e.sortedBy[0].column===e.column.name&&(t=e.sortedBy[0].asc?"asc":"desc");var n=(0,o.default)("column-"+e.column.name,!e.column.sortable&&"not-sortable",t);return i.default.createElement("th",{style:{width:e.column.width||"auto"},className:n,title:e.column.hideTooltip?void 0:e.column.label},e.children)}var h=function(e){return i.default.createElement("span",{className:"sort-icon qa-sort-icon",onClick:e.onClick},i.default.createElement(c.Icon,{solid:!0,name:"caret-up",className:"clickable sort-icon__asc qa-sort-asc"}),i.default.createElement(c.Icon,{solid:!0,name:"caret-down",className:"clickable sort-icon__desc qa-sort-desc"}))},p=function(e,t){return t.every((function(n,r){return r<=e||(0,u.isFixedWidthColumn)(t[r])}))};t.remainingColumnsAreFixed=p;var m=function(e,t){return t.every((function(n,r){return r>e||(0,u.isFixedWidthColumn)(t[r])}))};t.currentAndPreviousColumnsAreFixed=m;var v=function(e,t,n,r){if(!t)return!1;var i=m(e,n),o=n.reduce((function(e,t){return e+(t.minWidth||d.DEFAULT_COL_MIN_WIDTH)}),0);return r?!i:!(t<=o||i||p(e,n))};function g(e){if(e.renderEmpty)return i.default.createElement(f,e);var t=v(e.index,e.tableWidth,e.columns,e.allowHorizontalScrolling),n=function(){return e.onClick(e.index)};return i.default.createElement(f,e,i.default.createElement("span",{onClick:n,className:"ellipsis cursor-pointer title-case"},(0,l.cloneAndRender)(e.template,e.column)),!1!==e.column.sortable&&i.default.createElement(h,{onClick:n}),t&&i.default.createElement(s.ColumnResizer,{allowHorizontalScrolling:e.allowHorizontalScrolling,onStart:e.onColumnResizeStart,onApply:e.onColumnResize,columns:e.columns,index:e.index,tableWidth:e.tableWidth}))}t.shouldShowResizer=v,g.propTypes={sortedBy:a.default.arrayOf(a.default.sortField),columns:a.default.columns.isRequired,renderEmpty:a.default.bool,template:a.default.template,onColumnResizeStart:a.default.func,onColumnResize:a.default.func,index:a.default.number,column:a.default.object,allowHorizontalScrolling:a.default.bool}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.getMaxDragLeftDelta=t.getMaxColumnSize=t.ColumnResizer=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(27)),h=r(n(2)),p=r(n(12)),m=n(125),v=function(e,t,n,r){if(t[e].maxWidth)return t[e].maxWidth;var i=n;return t.forEach((function(t,n){if(n<e)i-=t.width;else if(n>e){var o=t.minWidth||r;i-=t.width&&t.width<o?t.width:o}})),i};t.getMaxColumnSize=v;var g=function(e,t,n){var r=0,i=0;t.forEach((function(t,o){o>e||(r+=t.width,i+=t.minWidth||n)}));var o=r-i,a=function(e,t){var n=t[e+1];return n&&n.maxWidth&&n.maxWidth>n.width?n.maxWidth-n.width:null}(e,t);return null!==a&&a<o?-a:-o};t.getMaxDragLeftDelta=g;var y=function(e){return f.default.createPortal(d.default.createElement("div",{className:"table-resizer-vertical-line",style:{top:e.top,left:e.left}}),document.body)},b=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{delta:0,dragging:!1}),(0,c.default)((0,a.default)(e),"_handleMouseDown",(function(t){var n=e.props,r=n.listenOn,i=n.index,o=n.columns,a=n.tableWidth,s=n.defaultMinWidth;r.addEventListener("mousemove",e._handleMouseMove),r.addEventListener("click",e._handleClick,!0),r.addEventListener("mouseup",e._handleMouseUp),e.startX=t.clientX,e.props.onStart(),e.setState({dragging:!0,maxColumnSize:v(i,o,a,s),maxDragLeftDelta:g(i,o,s)})})),(0,c.default)((0,a.default)(e),"_onDrag",(function(t){var n=t.clientX-e.startX;return n>0?e.props.allowHorizontalScrolling||(n=Math.min(e.state.maxColumnSize-e.props.columns[e.props.index].width,n)):n<e.state.maxDragLeftDelta&&(n=e.state.maxDragLeftDelta),n})),(0,c.default)((0,a.default)(e),"_handleMouseMove",(function(t){e.setState({delta:e._onDrag(t)})})),(0,c.default)((0,a.default)(e),"_handleMouseUp",(function(t){e.props.listenOn.removeEventListener("mouseup",e._handleMouseUp),e.props.listenOn.removeEventListener("mousemove",e._handleMouseMove),setTimeout((function(){return e.props.listenOn.removeEventListener("click",e._handleClick,!0)}),200);var n=e._onDrag(t);e.props.onApply(e.props.index,n),e.setState({dragging:!1,delta:0})})),(0,c.default)((0,a.default)(e),"_handleClick",(function(e){e.stopPropagation(),e.preventDefault()})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this,t=(0,p.default)("column-resizer",{"is-dragging":this.state.dragging}),n={left:null,top:null};if(this.el){var r=this.el.getBoundingClientRect(),i=r.left;n.top=r.top,n.left=i}return d.default.createElement("div",{className:t,onMouseDown:this._handleMouseDown,style:{right:-this.state.delta},ref:function(t){return e.el=t}},this.state.dragging&&d.default.createElement(y,n))}}]),n}(d.default.Component);t.ColumnResizer=b,(0,c.default)(b,"propTypes",{onApply:h.default.func.isRequired,onStart:h.default.func.isRequired,index:h.default.number.isRequired,defaultMinWidth:h.default.number,tableWidth:h.default.number,columns:h.default.columns,listenOn:h.default.object}),(0,c.default)(b,"defaultProps",{defaultMinWidth:m.DEFAULT_COL_MIN_WIDTH,listenOn:window})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.MobileSortOptions=function(e){return i.default.createElement("th",null,i.default.createElement(o.OptionButton,{popoverClassName:"borderless",pointTo:"right",arrowPosition:"left",arrowSize:0,edgeOffset:15,className:"font-style-none sort-by",label:"Sort By",closeOnClickInside:!0},i.default.createElement(a.SelectableList,{onItemSelected:e.onItemSelected,template:s,items:e.columns})))};var i=r(n(1)),o=n(66),a=n(39),s=function(e){return e.label}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.generateCsvString=function(e,t){return c.apply(this,arguments)};var i=r(n(17)),o=r(n(18));function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=n(20).callIfFunc,l=function(e){return u(e.exportable)};function c(){return(c=(0,o.default)(i.default.mark((function e(t,n){var r,o,s,u,c,d,f,h,p,m,v,g=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n.filter((g.length>2&&void 0!==g[2]?g[2]:{}).exportAllCols?function(e){return l(e)}:function(e){return l(e)&&e.show||e.alwaysExport}),o=r.map((function(e){return e.name})),s=[],u=a(t),e.prev=5,u.s();case 7:if((c=u.n()).done){e.next=38;break}d=c.value,f=[],h=a(r),e.prev=11,h.s();case 13:if((p=h.n()).done){e.next=27;break}if(!(m=p.value).exportAs){e.next=21;break}return e.next=18,m.exportAs(d,m,t);case 18:e.t0=e.sent,e.next=22;break;case 21:e.t0=d.attributes[m.name];case 22:(v=e.t0)&&v.match&&v.match(/,|\"|\r|\n/)&&(v='"'.concat(v.replace(/\"/g,'""'),'"')),f.push(v);case 25:e.next=13;break;case 27:e.next=32;break;case 29:e.prev=29,e.t1=e.catch(11),h.e(e.t1);case 32:return e.prev=32,h.f(),e.finish(32);case 35:s.push([d.id].concat(f));case 36:e.next=7;break;case 38:e.next=43;break;case 40:e.prev=40,e.t2=e.catch(5),u.e(e.t2);case 43:return e.prev=43,u.f(),e.finish(43);case 46:return e.abrupt("return",[["id"].concat(o).join(",").replace(/-/g,"_")].concat(s).join("\r\n"));case 47:case"end":return e.stop()}}),e,null,[[5,40,43,46],[11,29,32,35]])})))).apply(this,arguments)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.setResizing=t.setPending=t.showSuggestionBox=t.customizingColumns=t.set=t.initializeSortBy=t.initializeFilters=t.initialize=t.setVisibleColumns=t.setColumnOrder=t.resetColumnWidths=t.adjustColumnWidth=t.getNewColumnWidthsFromColumnResize=t.fixRoundingErrors=t.getLeftColScalingInfo=t.getRightColScalingInfo=t.setColumnWidths=t.getNewColumnWidths=t.resetWidthsOnColumnAdditions=t.setColumnEnums=t.selectRows=t.checkRow=t.checkAll=t.sortRowsBy=t.setColumns=t.setInput=t.deleteAllFilters=t.deleteFilter=t.addFilter=t.receiveRows=t.adjustFilter=t.getMinColWidths=t.getActualColMinWidth=t.initialState=void 0;var i=r(n(92)),o=r(n(28)),a=r(n(14)),s=r(n(74)),u=n(44),l=n(699),c=n(125),d={sortBy:[{column:"name",asc:!0}],columns:[],filters:[],rows:[],partial:{raw:""},totalRows:0,isCustomizingColumns:!1,suggestionBox:"field",suggestionBoxOffset:0,suggestionBoxVisible:!1,checkedIds:{},numSelected:0,stateForUrl:{partial:"",sortBy:["name","asc"].join(":"),filters:[]},suggestions:[],filteredRows:[],visibleColumns:[],bulkEditColumns:[],searchableColumns:[],hasMore:!1};t.initialState=d;var f=function(e,t){var n=e.minWidth||t;return e.width?Math.min(n,e.width):n};t.getActualColMinWidth=f;var h=function(e,t){var n={};return e.forEach((function(e){n[e.name]=e.minWidth||t})),n};t.getMinColWidths=h;var p=function(e,t){var n=(0,i.default)(t),r=a.default.findWhere(e.columns,{name:t.key});return(0,u.isDateTypeColumn)(r)&&-1===n.key.indexOf("-string")&&(n.key=n.key+"-string"),n};t.adjustFilter=p;var m=(0,l.withComputedState)((function(e,t){return o.default.set(e,["rows"],t)}));t.receiveRows=m;var v=(0,l.withComputedState)((function(e,t){var n=p(e,t);return(0,o.default)(e).set(["filters"],e.filters.concat([n])).set(["partial"],{raw:""}).set(["suggestionBox"],"field").end()}));t.addFilter=v;var g=(0,l.withComputedState)((function(e,t){return o.default.set(e,["filters"],e.filters.filter((function(e,n){return n!==t})))}));t.deleteFilter=g;var y=(0,l.withComputedState)((function(e){return(0,o.default)(e).set(["filters"],[]).set(["partial"],{raw:""}).end()}));t.deleteAllFilters=y;var b=(0,l.withComputedState)((function(e,t){var n=new s.default(t,e.columns);return o.default.set(e,["partial"],n)}));t.setInput=b;var _=(0,l.withComputedState)((function(e,t){return o.default.set(e,["columns"],t)}));t.setColumns=_;var w=(0,l.withComputedState)((function(e,t){var n=t!==e.sortBy[0].column||!e.sortBy[0].asc;return(0,o.default)(e).unset(["sortBy",{column:t}]).prepend(["sortBy"],[{column:t,asc:n}]).end()}));t.sortRowsBy=w;var E=(0,l.withComputedState)((function(e,t){var n=t?a.default.defaults(a.default.object(a.default.pluck(e.filteredRows,"id"),a.default.pluck(e.filteredRows).map((function(){return!0}),"id")),e.checkedIds):a.default.omit(e.checkedIds,e.filteredRows.map((function(e){return e.id})));return o.default.set(e,["checkedIds"],n)}));t.checkAll=E;var C=(0,l.withComputedState)((function(e,t,n){return o.default[n?"set":"unset"](e,["checkedIds",t],n)}));t.checkRow=C;var A=(0,l.withComputedState)((function(e,t){var n=a.default.object(t,t.map((function(){return!0}))),r=a.default.defaults(n,e.checkedIds);return o.default.set(e,["checkedIds"],r)}));t.selectRows=A;var k=(0,l.withComputedState)((function(e,t){var n=(0,o.default)(e);return t.forEach((function(e){return n=n.set(["columns",{name:e.name},"enum"],e.enum)})),n.end()}));t.setColumnEnums=k;var S=function(e,t){t.every((function(t){return e[t.name]}))||t.forEach((function(t){e[t.name]=200}))};t.resetWidthsOnColumnAdditions=S;var x=function(e,t,n){var r=h(e,c.DEFAULT_COL_MIN_WIDTH),i=Object.keys(r).reduce((function(e,t){return e+r[t]}),0);if(n<i){var o=n/i;return e.forEach((function(e){t[e.name]=Math.round(r[e.name]*o)})),t}S(t,e);var a=0,s=0,l={};e.forEach((function(e){(0,u.isFixedWidthColumn)(e)?(a+=r[e.name],t[e.name]=r[e.name],l[e.name]=!0):s+=t[e.name]}));var d=(n-a)/s,f=0;e.forEach((function(e){if(!l[e.name]){var n=Math.round(t[e.name]*d),i=r[e.name];n<i?(a+=i,t[e.name]=i,l[e.name]=!0):e.maxWidth&&n>e.maxWidth?(a+=e.maxWidth,t[e.name]=e.maxWidth,l[e.name]=!0):f+=t[e.name]}}));var p=(n-a)/f;return e.forEach((function(e){l[e.name]||(t[e.name]=Math.round(t[e.name]*p))})),t};t.getNewColumnWidths=x;var D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.forEach((function(e){var r=e.name,i=e.minWidth;i?n[r]?n[r]<i&&(n[r]=i):n[r]=i:n[r]?n[r]<t&&(n[r]=t):n[r]=t})),n},O=(0,l.withComputedState)((function(e,t,n,r){var i=(0,o.default)(e),s=function(e,t){return e>0?e:t.reduce((function(e,t){return e+t.width}),0)}(n,e.visibleColumns);for(var u in t=r?D(e.visibleColumns,c.DEFAULT_COL_MIN_WIDTH,t):x(e.visibleColumns,t,s)){var l=a.default.findIndex(e.columns,{name:u});i=i.set(["columns",l,"width"],t[u])}return i.end()}));t.setColumnWidths=O;var T=function(e,t,n){var r=t.reduce((function(t,n,r){return r<=e?t:t+n.width}),0),i=r-n;return{isScalingRightCols:n>0,origRightColsTotalWidth:r,newRightColsTotalWidth:i,rightColumnScaleFactor:1/(r/i)}};t.getRightColScalingInfo=T;var F=function(e,t,n,r){var i=f(t[e],r),o=t.reduce((function(t,n,r){return r>=e?t:t+n.width}),0),a=0,s=1,u=n<0&&t[e].width+n<i;return u&&(s=1/(o/(a=o-(i-(t[e].width+n))))),{isScalingLeftCols:u,origLeftColsTotalWidth:o,newLeftColsTotalWidth:a,leftColumnScaleFactor:s}};t.getLeftColScalingInfo=F;var M=function(e,t,n){var r=0,i=0;return Object.keys(e).forEach((function(n){r+=t[n].width,i+=e[n]})),r!==i&&(e[n[n.length-1]]+=r-i),e};t.fixRoundingErrors=M;var P=function(e,t,n,r,i){var o=1/(r/i);return t.forEach((function(t){e[t]=Math.round(n[t].width*o)})),e},L=function(e,t,n){for(var r=T(t,e,n),i=r.isScalingRightCols,o=r.origRightColsTotalWidth,a=r.newRightColsTotalWidth,s=r.rightColumnScaleFactor,u=F(t,e,n,c.DEFAULT_COL_MIN_WIDTH),l=u.isScalingLeftCols,d=u.origLeftColsTotalWidth,h=u.newLeftColsTotalWidth,p=u.leftColumnScaleFactor,m={},v=[],g=[],y=a,b=h,_=0,w=0,E=0;E<e.length;E++){var C=f(e[E],c.DEFAULT_COL_MIN_WIDTH);if(E<t){if(!l)continue;e[E].width*p<C?(m[E]=C,b-=C,w+=e[E].width):g.push(E)}else if(E===t)m[t]=l?C:e[t].width+n;else{if(!i)continue;e[E].width*s<C?(m[E]=C,y-=C,_+=e[E].width):v.push(E)}}return n<0&&(m[t+1]=e[t+1].width+(a-o)),m=P(m,v,e,o-_,a-(a-y)),m=P(m,g,e,d-w,h-(h-b)),M(m,e,v)};t.getNewColumnWidthsFromColumnResize=L;var R=(0,l.withComputedState)((function(e,t,n,r,i){var a={},s={};if(i)if(n>0)s[t]=e.visibleColumns[t].width+n;else{var u=0,l=L(e.visibleColumns,t,n);l[t+1]=s[t+1]+n,Object.keys(e.visibleColumns).forEach((function(t){u+=l[t]?l[t]:e.visibleColumns[t].width})),s=u<r?L(e.visibleColumns,t,n):l}else s=L(e.visibleColumns,t,n);return Object.keys(s).forEach((function(t){var n=e.columns.indexOf(e.visibleColumns[t]);a[n]=s[t]})),(0,o.default)(e).set(["columns"],e.columns.map((function(e,t){return a[t]&&(e.width=a[t]),e}))).end()}));t.adjustColumnWidth=R;var B=(0,l.withComputedState)((function(e,t,n){var r={},i=(0,o.default)(e);if(n){r=D(e.visibleColumns,c.DEFAULT_HORIZ_SCROLL_COL_WIDTH);var s=Object.values(r).reduce((function(e,t){return e+t}),0),u=t-18;s<u&&(r=x(e.visibleColumns,r,u))}else{var l=e.visibleColumns.reduce((function(e,t){return e+(t.minWidth||c.DEFAULT_COL_MIN_WIDTH)}),0);e.visibleColumns.forEach((function(e){var n=e.minWidth||c.DEFAULT_COL_MIN_WIDTH;r[e.name]=e.maxWidth&&e.maxWidth===e.minWidth?n:Math.round(n/l*t)}))}for(var d in r){var f=a.default.findIndex(e.columns,{name:d});i=i.set(["columns",f,"width"],r[d])}return i.end()}));t.resetColumnWidths=B;var j=(0,l.withComputedState)((function(e,t){return o.default.sort(e,["columns"],(function(e,n){var r=t.indexOf(e.name),i=t.indexOf(n.name);return r===i?0:r>i?1:-1}))}));t.setColumnOrder=j;var I=(0,l.withComputedState)((function(e,t){return o.default.set(e,["columns"],e.columns.map((function(e){return a.default.defaults({show:-1!==t.indexOf(e.name)},e)})))}));t.setVisibleColumns=I;var N=(0,l.withComputedState)((function(e,t,n){return(0,o.default)(e).set(["rows"],n).set(["columns"],t).end()}));t.initialize=N;var H=(0,l.withComputedState)((function(e,t,n){var r=(0,o.default)(e).set(["filters"],n.map((function(t){return p(e,t)}))).end();return b(r,t)}));t.initializeFilters=H;var z=(0,l.withComputedState)((function(e,t,n){var r=(0,o.default)(e).set(["sortBy"],n||e.sortBy).end();return b(r,t)}));t.initializeSortBy=z;var Y=(0,l.withComputedState)((function(e,t,n){return o.default.set(e,t,n)}));t.set=Y;var U=(0,l.withComputedState)((function(e,t){return o.default.set(e,["isCustomizingColumns"],t)}));t.customizingColumns=U;var V=(0,l.withComputedState)((function(e,t){return o.default.set(e,["suggestionBoxVisible"],t)}));t.showSuggestionBox=V;var $=(0,l.withComputedState)((function(e,t){return o.default.set(e,["pending"],t)}));t.setPending=$;var W=(0,l.withComputedState)((function(e,t){return o.default.set(e,["resizing"],t)}));t.setResizing=W},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.withComputedState=t.computeFilteredRows=t.processTimeValues=t.derivedColumnState=t.updateSuggestions=t.applyFiltersToRows=void 0;var o=i(n(92)),a=i(n(28)),s=n(25),u=n(44),l=n(20),c=i(n(14)),d=r(n(97)),f=i(n(74)),h={},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.rows,r=e.filters,i=e.liveSearchableColumns,o=e.partial;if(0===(r=t||r).length&&!o.raw)return n;var a=n,u=f.default.merge(r,!1);if(!o.key&&o.raw&&(u.contains=(u.contains||[]).concat([o.raw])),u.contains){var d=new RegExp(u.contains.map((function(e){return(0,s.escapeForRegex)(e)})).join("|"),"i");a=a.filter((function(e){return i.reduce((function(t,n){return t||d.test(e.attributes[n.name])}),!1)})),delete u.contains}var h=function(e){var t,n=u[e].filter((function(e){return"!"!==e.toString()[0]})).map(l.getComparableValue),r=u[e].filter((function(e){return"!"===e.toString()[0]})).map((function(e){return(0,l.getComparableValue)(e.substring(1))})),i=c.default.object(n,u[e].map((function(){return 1})));t=a.filter("id"===e?function(e){return e.id&&i[(0,l.getComparableValue)([e.id])]}:function(t){return e in t.attributes&&i[(0,l.getComparableValue)([t.attributes[e]])]}),a=t.length>0?t:a.filter((function(t){var i=(0,l.getComparableValue)([t.attributes[e]]);if("string"!=typeof i)return!1;var o=n.reduce((function(e,t){return e||-1!==i.indexOf(t)}),!1),a=r.reduce((function(e,t){return e||i===t}),!1);return(0===n.length||o)&&!a}))};for(var p in u)h(p);return a};t.applyFiltersToRows=p;var m=function(e){var t=e.partial,n=c.default.findWhere(e.columns,{name:t.key}),r=t.key,i=t.key;(0,u.isDateTypeColumn)(n)&&(r=t.key+"-string",i=t.key+"-ts");var o=e.filters.filter((function(e){return e.key!==r})),s=c.default.indexBy(e.filters.filter((function(e){return e.key===r})),"displayValue"),l=d.sortList(p(e,o),[{column:i,asc:!n.reverseSuggestionSortOrder}],e.columns,{}),f=c.default.uniq(l.map((function(e){return e.attributes[r]}))).filter((function(e){return null!=e&&e.toString().trim().length>0}));return n.enum&&(f=f.map((function(e){return n.enum.find((function(t){return t.id===e}))})).filter((function(e){return!!e})).map((function(e){return e.attributes.name}))),0===(f=f.filter((function(e){return!s[e]}))).length&&(f=[null]),a.default.set(e,["suggestions"],f)};t.updateSuggestions=m;var v=function(e){var t=[],n=[];return e.columns.forEach((function(e){var r=e;(0,u.isDateTypeColumn)(e)&&((r=(0,o.default)(e)).name=e.name+"-string"),r.searchable&&t.push(r),(r.searchable&&!1!==r.liveSearchable||r.liveSearchable)&&n.push(r)})),(0,a.default)(e).set(["visibleColumns"],e.columns.filter((function(e){return e.show}))).set(["searchableColumns"],t).set(["liveSearchableColumns"],n).set(["bulkEditColumns"],e.columns.filter((function(e){return e.bulkEditable}))).end()};t.derivedColumnState=v;var g=function(e){var t=e.columns.filter((function(e){return(0,u.isDateTypeColumn)(e)})),n=(0,a.default)(e),r=!1;return t.length>0&&e.rows.forEach((function(e,i){t.forEach((function(t){if(e.attributes[t.name]&&!e.attributes[t.name+"-ts"]){var o=new Date(e.attributes[t.name]),a=o.getTime(),s=(0,u.isDateColumn)(t)?(0,l.formatDateString)(e.attributes[t.name],t.dateFormat):(0,l.formatDateTimeString)(o,t.dateFormat);r=!0,n=(n=n.set(["rows",i,"attributes",t.name+"-ts"],a)).set(["rows",i,"attributes",t.name+"-string"],s)}}))})),r?n.end():e};t.processTimeValues=g;var y=function(e){var t=p(e);return a.default.set(e,["filteredRows"],t)};t.computeFilteredRows=y;var b=function(e,t){if(e.partial!==t.partial&&t.partial.key&&"value"!==t.suggestionBox&&(t=a.default.set(t,["suggestionBox"],"value")),t.partial&&t.partial.key||"value"!==t.suggestionBox||(t=a.default.set(t,["suggestionBox"],"field")),e&&e.columns===t.columns&&e.rows===t.rows||(t=g(t)),(!e||e.rows!==t.rows||e.sortBy!==t.sortBy&&t.rows.length>1)&&(t=a.default.set(t,["rows"],d.sortList(t.rows,t.sortBy,t.columns,h))),e&&e.rows===t.rows&&e.filters===t.filters&&e.partial===t.partial||(t=y(t)),e&&e.columns===t.columns||(t=v(t)),!e||e.filteredRows!==t.filteredRows||e.checkedIds!==t.checkedIds){var n=t.filteredRows.reduce((function(e,n){return e+(n.id in t.checkedIds?1:0)}),0);t=a.default.set(t,["numSelected"],n)}var r,i;return!t.partial||!t.partial.key||t.partial.invalid||e.filteredRows===t.filteredRows&&t.partial.key===e.partial.key||(t=m(t)),e&&e.partial===t.partial&&e.sortBy===t.sortBy&&e.filters===t.filters||(t=a.default.set(t,["stateForUrl"],{partial:null===(r=t)||void 0===r||null===(i=r.partial)||void 0===i?void 0:i.raw,sortBy:[t.sortBy[0].column,t.sortBy[0].asc?"asc":"desc"].join(":"),filters:t.filters.map((function(e){return e.raw}))})),t};t.withComputedState=function(e){return function(t){return b(t,e.apply(null,arguments))}}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StatefulTableWithFolders=void 0;var i=r(n(19)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4)),l=r(n(10)),c=r(n(5)),d=r(n(6)),f=r(n(7)),h=r(n(8)),p=r(n(2)),m=r(n(1)),v=n(14),g=n(318),y=n(701),b=n(20),_=n(44);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var E=function(e){(0,c.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.default)(e);if(t){var i=(0,f.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,d.default)(this,n)}}(n);function n(){var e;(0,s.default)(this,n);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return e=t.call.apply(t,[this].concat(i)),(0,h.default)((0,l.default)(e),"update",(function(t){e.props.onBulkAction("editor",[t])})),(0,h.default)((0,l.default)(e),"onFilterDeleteAllTags",(function(){e.statefulTable.onFilterDeleteAllTags()})),(0,h.default)((0,l.default)(e),"generateCsv",function(){var t=(0,a.default)(o.default.mark((function t(n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.statefulTable.generateCsv(n);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),(0,h.default)((0,l.default)(e),"setCheckedIds",(function(t){var n=t.reduce((function(e,t){return e[t]=t,e}),{});e.statefulTable.set(["checkedIds"],n)})),e}return(0,u.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){var e=this;this.cellTemplate=function(t){return(0,_.isDraggableColumn)(t.column)?m.default.createElement(y.DraggableName,(0,i.default)({},t,{canDrag:e.props.canDrag,canEdit:e.props.canEdit,onMove:e.props.onMove,onCancelEdit:e.props.onCancelEdit,onRename:e.props.onRename,update:e.update,assetName:e.props.assetName,getUrl:e.props.getUrl})):(0,b.cloneAndRender)(e.props.cellTemplate,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){(0,h.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t))}}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"table-with-folders"},m.default.createElement(g.StatefulTable,(0,i.default)({ref:function(t){return e.statefulTable=t}},this.props,{cellTemplate:this.cellTemplate})))}}]),n}(m.default.Component);t.StatefulTableWithFolders=E,(0,h.default)(E,"displayName","StatefulTableWithFolders"),(0,h.default)(E,"defaultProps",{onMove:v.noop,onCancelEdit:v.noop,onRename:v.noop}),(0,h.default)(E,"propTypes",{itemContext:p.default.objectOf(p.default.shape({access:p.default.resourceAccesses})),bulkActions:p.default.arrayOf(p.default.bulkAction),assetName:p.default.string,columns:p.default.columns,rows:p.default.basicApiResources,onBulkAction:p.default.func,bulkEditTemplate:p.default.node,filterPlaceholder:p.default.string,filterSuggestions:p.default.func,useCache:p.default.bool,cacheKey:p.default.string,onCacheSet:p.default.func,onCacheGet:p.default.func,canDrag:p.default.bool,canEdit:p.default.bool,onFilter:p.default.func,onMove:p.default.func,onCancelEdit:p.default.func,onRename:p.default.func,getUrl:p.default.func})},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.DraggableName=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(10)),u=i(n(5)),l=i(n(6)),c=i(n(7)),d=i(n(8)),f=i(n(2)),h=r(n(1)),p=n(14),m=i(n(12)),v=n(22),g=i(n(11)),y=n(321),b=n(322),_=i(n(36));function w(e){var t=e.context;return h.default.createElement("div",{className:"subtext margin-none"},h.default.createElement("span",{className:"sentence-case"},g.default.title("tables.asset-count",{count:(null==t?void 0:t.resourcesCount)||0,assets:e.assets})))}var E=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{enterCount:0}),(0,d.default)((0,s.default)(e),"componentDidUpdate",(function(t,n){n.enterCount>0&&0===e.state.enterCount&&e.props.onDragLeave(e.props.item),0===n.enterCount&&e.state.enterCount>0&&e.props.onDragEnter(e.props.item)})),(0,d.default)((0,s.default)(e),"incrementDragEnterCount",(function(){e.setState({enterCount:++e.state.enterCount})})),(0,d.default)((0,s.default)(e),"decrementDragEnterCount",(function(){e.setState({enterCount:--e.state.enterCount})})),(0,d.default)((0,s.default)(e),"clearDragEnterCount",(function(){e.setState({enterCount:0})})),(0,d.default)((0,s.default)(e),"_handleDragStart",(function(t){t.dataTransfer.setData("text/plain",JSON.stringify(e.props.item)),t.dataTransfer.dropEffect="move",t.dataTransfer.effectAllowed="move",e.incrementDragEnterCount(),e.props.onDragStart()})),(0,d.default)((0,s.default)(e),"_handleDragEnd",(function(){e.clearDragEnterCount(),e.props.onDragEnd()})),(0,d.default)((0,s.default)(e),"_handleDrop",(function(t){if(t.preventDefault(),e.props.item.isFolder)try{var n=JSON.parse(t.dataTransfer.getData("text"));e.props.onMove(n,e.props.item)}catch(t){}e.clearDragEnterCount(),e.props.onDragEnd()})),(0,d.default)((0,s.default)(e),"_handleDragEnter",(function(){e.incrementDragEnterCount()})),(0,d.default)((0,s.default)(e),"_handleDragLeave",(function(){e.decrementDragEnterCount()})),(0,d.default)((0,s.default)(e),"_handleDragOver",(function(e){e.preventDefault()})),(0,d.default)((0,s.default)(e),"_handleCancelEdit",(function(){e.props.onCancelEdit(e.props.item.id)})),(0,d.default)((0,s.default)(e),"_handleRename",(function(t){e.props.onRename(e.props.item.id,t)})),(0,d.default)((0,s.default)(e),"_editName",(function(){e.props.update(e.props.item)})),(0,d.default)((0,s.default)(e),"_getUrl",(function(){return e.props.getUrl(e.props.item.isFolder?"viewFolder":"viewItem",e.props.item)})),e}return(0,a.default)(n,[{key:"render",value:function(){var e,t=null===(e=this.props.context)||void 0===e?void 0:e.editing,n=this.props.item.isFolder,r=(0,m.default)("color-teal item-name-icon fa",n&&"fa-folder draggable-folder-icon"),i=(0,m.default)("react-draggable-name z-index-none",n&&"type-folder",this.state.enterCount>0&&n&&"is-dragging"),o=this._getUrl(),a="ARCHIVE_".concat(this.props.item.type.toUpperCase());return h.default.createElement("span",{className:i,"data-id":this.props.item.id,"data-parent-id":this.props.parent_id,draggable:this.props.canDrag,onDragEnd:this.props.canDrag?this._handleDragEnd:void 0,onDragEnter:this.props.canDrag?this._handleDragEnter:void 0,onDragLeave:this.props.canDrag?this._handleDragLeave:void 0,onDragOver:this.props.canDrag?this._handleDragOver:void 0,onDragStart:this.props.canDrag?this._handleDragStart:void 0,onDrop:this.props.canDrag?this._handleDrop:void 0},t&&h.default.createElement(y.NameEditField,{onCancel:this._handleCancelEdit,onApply:this._handleRename,isFolder:n,name:this.props.value}),!t&&h.default.createElement("div",null,h.default.createElement("div",{className:"draggable-name-inner-container"},r&&h.default.createElement(v.Icon,{className:r}),this.props.item.attributes.archived&&_.default.Features(a)&&h.default.createElement(v.Icon,{light:!0,className:"archived",name:"briefcase"}),h.default.createElement("a",{"data-no-turbolink":"true",href:o,className:"ellipsis name-link"},this.props.value),n&&this.props.canEdit&&h.default.createElement(v.Icon,{name:"pencil",className:"draggable-name-edit__icon",onClick:this._editName})),n&&h.default.createElement(w,{context:this.props.context,assets:b.TypeToPlural[this.props.assetName]})))}}]),n}(h.Component);t.DraggableName=E,(0,d.default)(E,"defaultProps",{onDragEnd:p.noop,onDragStart:p.noop,onDrop:p.noop,onDragLeave:p.noop,onDragEnter:p.noop}),(0,d.default)(E,"propTypes",{assetName:f.default.string,context:f.default.object.affectsRendering,getUrl:f.default.func.isRequired,item:f.default.object,onCancelEdit:f.default.func,onDragStart:f.default.func,onDragEnter:f.default.func,onMove:f.default.func,onRename:f.default.func,update:f.default.func,value:f.default.any})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.StickyAlert=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(2)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{dismissed:n.getFromLocalStorage(e.props.id)||!1}),(0,c.default)((0,a.default)(e),"_handleHide",(function(){e.setState({dismissed:!0}),n.saveToLocalStorage(e.props.id,1)})),e}return(0,o.default)(n,[{key:"render",value:function(){return this.state.dismissed?null:d.default.createElement("div",{className:(0,h.default)("sticky-alert",this.props.className)},d.default.createElement("div",{className:"sticky-alert-inner-container"},d.default.createElement("div",{className:"sticky-alert--title"},this.props.title),d.default.createElement("div",{className:"sticky-alert--body"},this.props.children)),d.default.createElement("i",{className:"fal fa-times",onClick:this._handleHide}))}}]),n}(d.default.Component);t.StickyAlert=p,(0,c.default)(p,"displayName","StickyAlert"),(0,c.default)(p,"propTypes",{children:f.default.node,className:f.default.string,title:f.default.string.isRequired}),(0,c.default)(p,"saveToLocalStorage",(function(e,t){return localStorage.setItem(e,t)})),(0,c.default)(p,"getFromLocalStorage",(function(e){return localStorage.getItem(e)}))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Tabs=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=r(n(14));function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}var v=function(e){(0,s.default)(n,e);var t=m(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"getTarget",(function(){return e.refs.target})),e}return(0,o.default)(n,[{key:"render",value:function(){if(p.default.isArray(this.props.children))throw"must pass exactly 1 child";return f.default.createElement("div",null,f.default.cloneElement(this.props.children,{ref:"target"}))}}]),n}(f.default.Component);(0,c.default)(v,"displayName","Tab"),(0,c.default)(v,"propTypes",{disabled:d.default.bool}),(0,c.default)(v,"defaultProps",{disabled:!1});var g=function(e){(0,s.default)(n,e);var t=m(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"getActiveTab",(function(){return e.refs.activeTab&&e.refs.activeTab.getTarget()})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=1===f.default.Children.count(this.props.children)?this.props.children:this.props.children[this.props.activeTab];return f.default.createElement("div",{className:"react-tab-container"},f.default.createElement("div",{className:"react-tabs qa-tabs"},f.default.Children.map(this.props.children,(function(e,t){return e&&e.type===v?f.default.createElement(y,{title:e.props.title,disabled:e.props.disabled,id:e.props.id,index:t,key:t,active:this.props.activeTab===t,onClick:this.props.onActivateTab}):null}).bind(this))),f.default.createElement("div",{className:"content"},f.default.cloneElement(e,{ref:"activeTab"})))}}]),n}(f.default.Component);t.Tabs=g,(0,c.default)(g,"displayName","Tabs"),(0,c.default)(g,"propTypes",{activeTab:d.default.number.isRequired,children:d.default.node,onActivateTab:d.default.func.isRequired}),(0,c.default)(g,"Tab",v);var y=function(e){(0,s.default)(n,e);var t=m(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.props.disabled||e.props.onClick(e.props.index,e.props.title,e.props.id)})),e}return(0,o.default)(n,[{key:"render",value:function(){return f.default.createElement("div",{className:(0,h.default)("react-tab qa-tab",this.props.active&&"active",this.props.disabled&&"disabled"),onClick:this._handleClick},this.props.title)}}]),n}(f.default.Component);(0,c.default)(y,"propTypes",{active:d.default.bool,id:d.default.stringOrNumber,index:d.default.number,onClick:d.default.func,title:d.default.string,disabled:d.default.bool})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TransitionContainer=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(2)),f=r(n(1)),h=r(n(12)),p=n(14),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"state",{}),(0,c.default)((0,a.default)(e),"_handleResize",(function(){if(e.innerContainer){var t=e.innerContainer.scrollHeight;t!==e.state.height&&e.setState({height:t})}})),e}return(0,o.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this._handleResize=(0,p.throttle)(this._handleResize,this.props.resizeThrottle),window.addEventListener("resize",this._handleResize)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._handleResize)}},{key:"componentDidUpdate",value:function(){this._handleResize()}},{key:"componentDidMount",value:function(){this._handleResize()}},{key:"render",value:function(){var e=this,t=(0,h.default)("react-transition-box","transition-all-300","overflow-clip",this.props.className);return f.default.createElement("div",{className:t,style:{height:this.state.height||0},id:this.props.id},f.default.createElement("div",{ref:function(t){return e.innerContainer=t}},this.props.children))}}]),n}(f.default.Component);t.TransitionContainer=m,(0,c.default)(m,"displayName","TransitionContainer"),(0,c.default)(m,"propTypes",{resizeThrottle:d.default.number,className:d.default.string.affectsRendering,id:d.default.string.affectsRendering,children:d.default.any.affectsRendering}),(0,c.default)(m,"defaultProps",{resizeThrottle:300})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.TopBar=h;var i=r(n(2)),o=r(n(1)),a=n(706),s=n(707),u=n(323),l=n(66),c=n(708),d=o.default.createElement("div",{className:"topbar-account-title"},o.default.createElement(a.AccountCircle,null)),f=function(e){if(!e.accountMenuInner&&!e.accountMenuReplacement)return new Error('The TopBar component requires either an "accountMenuInner" or "accountMenuReplacement" prop.')};function h(e){var t=o.default.createElement("div",{className:"topbar-account-title qa-topbar-account-title"},o.default.createElement(a.AccountCircle,{avatar:e.avatar}),o.default.createElement("div",{className:"topbar-account-username qa-topbar-account-username"},e.username,o.default.createElement(u.Triangle,null)));return o.default.createElement("div",{className:"topbar-container qa-topbar-container"},o.default.createElement("div",{className:"topbar-logo qa-topbar-logo"},o.default.createElement(c.Image,{img:e.logo,altText:e.logoAltText,url:e.logoUrl})),o.default.createElement("div",{className:"topbar-center qa-topbar-center"},e.children),!e.disableRightTopbar&&o.default.createElement("div",{className:"topbar-right qa-topbar-right"},e.accountMenuReplacement||o.default.createElement(l.OptionButton,{className:"topbar-account-dropdown-container qa-topbar-account-dropdown-container",label:e.mobile?d:t,arrowSize:0,closeOnClickInside:!0,popoverClassName:e.popoverClassName,onOpen:e.onAccountMenuOpen,arrowPosition:"right",pointTo:"right",edgeOffset:0},e.accountMenuInner||o.default.createElement("div",null)),!e.mobile&&o.default.createElement(s.ItCompleteLauncher,null)))}h.displayName="TopBar",h.propTypes={accountMenuInner:f,accountMenuReplacement:f,children:i.default.node,logo:i.default.node,logoAltText:i.default.string,logoUrl:i.default.string,mobile:i.default.bool,popoverClassName:i.default.string,username:i.default.object,avatar:i.default.string,onAccountMenuOpen:i.default.func,disableRightTopbar:i.default.bool}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.AccountCircle=a;var i=r(n(1)),o=r(n(2));function a(e){var t=e.fillColor,n=e.height,r=e.viewBox,o=e.width,a=e.avatar;return a?i.default.createElement("img",{className:"avatar-logo",src:a}):i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,viewBox:r,className:"profile-avatar"},i.default.createElement("path",{fill:t,fillRule:"evenodd",d:"M10 1.667A8.336 8.336 0 0 0 1.667 10c0 4.6 3.733\r 8.333 8.333 8.333S18.333 14.6 18.333 10 14.6\r 1.667 10 1.667zm0 2.5c1.383 0 2.5 1.116 2.5 2.5 0 1.383-1.117 2.5-2.5 2.5a2.497 2.497 0 0\r 1-2.5-2.5c0-1.384 1.117-2.5 2.5-2.5zM10 16a6 6 0 0 1-5-2.683c.025-1.659 3.333-2.567 5-2.567 1.658\r 0 4.975.908 5 2.567A6 6 0 0 1 10 16z"}))}a.displayName="AccountCircle",a.propTypes={fillColor:o.default.string,height:o.default.string,viewBox:o.default.string,width:o.default.string,avatar:o.default.string},a.defaultProps={fillColor:"#FFF",height:"20",viewBox:"0 0 20 20",width:"20"}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ItCompleteLauncher=a;var i=r(n(1)),o=r(n(2));function a(e){return i.default.createElement("a",{className:"it-complete-launcher qa-it-complete-launcher",target:"_blank",href:"https://www.kaseya.com"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:e.viewBox},i.default.createElement("path",{fill:e.fillColor,fillRule:"evenodd",d:"M2 0h22a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm14.603 13.755a.41.41 0\r 0 1 0-.51l5.308-6.598c.205-.255.034-.647-.282-.647H17.3a.36.36 0 0 0-.271.125l-3.72\r 4.233V6.392c0-.216-.166-.392-.37-.392h-4.09a.358.358 0 0 0-.246.1l-4.478\r 4.214c-.255.24-.094.686.246.686h3.968c.204 0 .37.176.37.393v9.214c0 .218.165.393.37.393h3.86c.204\r 0 .37-.175.37-.393v-3.73l3.721 4.006c.07.075.164.117.263.117h4.336c.316 0\r .487-.393.282-.647l-5.308-6.598z"})))}a.displayName="ItCompleteLauncher",a.propTypes={fillColor:o.default.string,height:o.default.string,viewBox:o.default.string,width:o.default.string},a.defaultProps={fillColor:"#FFF",height:"26",viewBox:"0 0 26 26",width:"26"}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Image=a;var i=r(n(1)),o=r(n(2));function a(e){var t=e.img,n=e.altText,r=e.url;return"string"==typeof t?r?i.default.createElement("a",{href:r},i.default.createElement("img",{src:t,alt:n||""})):i.default.createElement("img",{src:t,alt:n||""}):t}a.displayName="Image",a.propTypes={altText:o.default.string,img:o.default.node,url:o.default.string}},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Wizard=void 0;var o=i(n(46)),a=i(n(3)),s=i(n(4)),u=i(n(10)),l=i(n(5)),c=i(n(6)),d=i(n(7)),f=i(n(8)),h=i(n(2)),p=i(n(1)),m=n(710),v=n(713),g=r(n(324)),y=i(n(12)),b=i(n(100)),_=i(n(14)),w=function(e){(0,l.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}(n);function n(){var e;(0,a.default)(this,n);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return e=t.call.apply(t,[this].concat(i)),(0,f.default)((0,u.default)(e),"_getGroupList",(function(t){var n=p.default.Children.toArray(e.props.children);return n[t]?n[t].type.getStepList(n[t]):null})),(0,f.default)((0,u.default)(e),"_goToStep",(function(t,n,r){var i=e._getGroupList(n);"jump"===t&&(n===e.props.active.group&&r===e.props.active.step+1&&(t="next"),n===e.props.active.group+1&&e.props.active.step===e._getGroupList(e.props.active.group).length-1&&0===r&&(t="next")),i&&r<i.length&&e.props.onGotoStep(t,n,r,e.validate())})),(0,f.default)((0,u.default)(e),"next",(function(){if(e.props.nextStepBehavior===n.NextStepBehaviors.Next){var t=e._getGroupList(e.props.active.group);t[e.props.active.step+1]?e._goToStep("next",e.props.active.group,e.props.active.step+1):(t=e._getGroupList(e.props.active.group+1))&&e._goToStep("next",e.props.active.group+1,0)}else if(e.props.nextStepBehavior===n.NextStepBehaviors.NextInvalidStep){for(var r=(0,o.default)(Array(e.props.validationArray.length).keys()),i=[],a=null;r[0]!==e.props.active.group;){var s=r.shift();r.push(s)}r.push(e.props.active.group),r.forEach((function(t){i.push((0,o.default)(Array(e.props.validationArray[t].length).keys()))}));for(var u=0;u<=e.props.active.step;u++)i[0].shift();for(;r.length>0&&null===a;)for(var l=r.shift(),c=e.props.validationArray[l],d=i.shift(),f=0;f<d.length;f++){var h=d[f];if(!c[h]){a={group:l,step:h};break}}a?e._goToStep("jump",a.group,a.step):"function"==typeof e.props.onFinish&&e.props.onFinish()}})),(0,f.default)((0,u.default)(e),"prev",(function(){if(e.props.prevStepBehavior===n.PrevStepBehaviors.Prev){if(e.props.active.step>0)e._goToStep("prev",e.props.active.group,e.props.active.step-1);else if(e.props.active.group>0){var t=e._getGroupList(e.props.active.group-1);t&&e._goToStep("prev",e.props.active.group-1,t.length-1)}}else if(e.props.prevStepBehavior===n.PrevStepBehaviors.PrevInvalidStep){for(var r=(0,o.default)(Array(e.props.validationArray.length).keys()),i=[],a=null;r[0]<e.props.active.group;){var s=r.shift();r.push(s)}for(r.reverse(),r.splice(0,0,e.props.active.group),r.forEach((function(t){var n=(0,o.default)(Array(e.props.validationArray[t].length).keys());n.reverse(),i.push(n)}));i[0][0]>=e.props.active.step;)i[0].shift();for(;r.length>0&&null===a;)for(var u=r.shift(),l=e.props.validationArray[u],c=i.shift(),d=0;d<c.length;d++){var f=c[d];if(!l[f]){a={group:u,step:f};break}}a?e._goToStep("jump",a.group,a.step):"function"==typeof e.props.onFinish&&e.props.onFinish()}})),(0,f.default)((0,u.default)(e),"onValidationChange",(function(t){"function"==typeof e.props.onValidationChange&&e.props.onValidationChange(e.props.active.group,e.props.active.step,t)})),(0,f.default)((0,u.default)(e),"_handleKeydown",(function(t){switch(t.code){case"ArrowLeft":e.prev();break;case"ArrowRight":e.next();break;case"Escape":e.props.onEsc()}})),(0,f.default)((0,u.default)(e),"validate",(function(t){return!e.refs.activeStep.validate||e.refs.activeStep.validate(t)})),e}return(0,s.default)(n,[{key:"UNSAFE_componentWillMount",value:function(){this.scope=Date.now().toString(),b.default.setScope(this.scope),(0,b.default)("left, right, esc, enter",this.scope,this._handleKeydown)}},{key:"componentWillUnmount",value:function(){b.default.deleteScope(this.scope)}},{key:"render",value:function(){var e=p.default.Children.toArray(this.props.children).filter((function(e){return e})),t=_.default.flatten(e)[this.props.active.group],n=t.type.getStep(t,this.props.active.step),r=this.props.validationArray.length===this.props.active.group+1&&this.props.validationArray[this.props.active.group].length===this.props.active.step+1;return p.default.createElement("div",{className:(0,y.default)("react-wizard",this.props.className)},p.default.createElement(m.WizardNav,{className:this.props.navClassName,stepTemplate:this.props.stepTemplate,stepListTemplate:this.props.stepListTemplate,groups:this.props.children,template:this.props.navTemplate,onGotoStep:this._goToStep,validationArray:this.props.validationArray,active:this.props.active,disableScrollOnNext:this.props.disableScrollOnNext,disableCollapsibleStepGroups:this.props.disableCollapsibleStepGroups,stepListOrientation:this.props.stepListOrientation,hideGroupTitle:this.props.hideStepListGroupTitle}),p.default.createElement("div",{className:(0,y.default)("wizard-content",this.props.contentClassName)},p.default.cloneElement(this.props.contentTemplate,{onNext:this.next,onPrevious:this.prev,validate:this.validate,active:this.props.active,first:0===this.props.active.group&&0===this.props.active.step,last:r,validationArray:this.props.validationArray},p.default.createElement("div",{className:(0,y.default)("wizard-step",!0===n.props.autoHeight&&"auto-height")},p.default.cloneElement(n,{ref:"activeStep",onNext:this.next,onValidationChange:this.onValidationChange})))))}}]),n}(p.default.Component);t.Wizard=w,(0,f.default)(w,"displayName","Wizard"),(0,f.default)(w,"StepListOrientations",m.WizardNav.Orientations),(0,f.default)(w,"StepTemplates",{NumberedStepNavTemplate:v.NumberedStepNavTemplate}),(0,f.default)(w,"NextStepBehaviors",{Next:"Next",NextInvalidStep:"NextInvalidStep"}),(0,f.default)(w,"PrevStepBehaviors",{Prev:"Prev",PrevInvalidStep:"PrevInvalidStep"}),(0,f.default)(w,"propTypes",{active:h.default.object.isRequired.affectsRendering,validationArray:h.default.array.affectsRendering,contentTemplate:h.default.template.affectsRendering,navTemplate:h.default.template.affectsRendering,stepListTemplate:h.default.template.affectsRendering,stepTemplate:h.default.template.affectsRendering,hideStepListGroupTitle:h.default.bool,disableCollapsibleStepGroups:h.default.bool.affectsRendering,disableScrollOnNext:h.default.bool,className:h.default.string.affectsRendering,stepListOrientation:h.default.oneOf(Object.keys(w.StepListOrientations).map((function(e){return w.StepListOrientations[e]}))),nextStepBehavior:h.default.oneOf(Object.keys(w.NextStepBehaviors)),prevStepBehavior:h.default.oneOf(Object.keys(w.PrevStepBehaviors)),onGotoStep:h.default.func.isRequired,onEsc:h.default.func,onFinish:h.default.func}),(0,f.default)(w,"defaultProps",{contentTemplate:p.default.createElement("div",null),navTemplate:p.default.createElement("div",null),stepListOrientation:w.StepListOrientations.Vertical,nextStepBehavior:w.NextStepBehaviors.Next,prevStepBehavior:w.PrevStepBehaviors.Prev}),(0,f.default)(w,"findFirstInvalidStep",g.findFirstInvalidStep)},function(e,t,n){"use strict";var r=n(31),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.WizardNav=void 0;var o=i(n(3)),a=i(n(4)),s=i(n(10)),u=i(n(5)),l=i(n(6)),c=i(n(7)),d=i(n(8)),f=i(n(1)),h=i(n(2)),p=r(n(324)),m=n(711),v=n(325),g=n(712),y=i(n(28)),b=i(n(12)),_=i(n(14)),w=function(e){(0,u.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}(n);function n(){var e;(0,o.default)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,d.default)((0,s.default)(e),"state",{open:{}}),(0,d.default)((0,s.default)(e),"_toggleGroup",(function(t,n){n||e.setState({open:(0,y.default)(e.state.open).set([t],!e.state.open[t]).end()})})),e}return(0,a.default)(n,[{key:"shouldComponentUpdate",value:function(e,t){var n=this;return this.state!==t||!!(Object.keys(this.props).map((function(t){return"groups"===t?(r=n.props.groups,i=e.groups,(o=Array.isArray(r))===(a=Array.isArray(i))&&(o&&a?!(r&&i&&r.length!==i.length||r.map((function(e,t){return _.default.isEqual(e,i[t])})).filter((function(e){return!e})).length>0):_.default.isEqual(r,i))):n.props[t]===e[t];var r,i,o,a})).filter((function(e){return!e})).length>0)}},{key:"componentDidUpdate",value:function(){if(!this.props.disableScrollOnNext){var e=this.refs["group"+this.props.active.group];if(e&&e.refs){var t=e.refs["group"+this.props.active.group];t&&t.scrollIntoView&&t.scrollIntoView()}}}},{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"render",value:function(){var e=p.findFirstInvalidStep(this.props.validationArray),t=f.default.Children.toArray(this.props.groups),r=this.props.stepListTemplate||m.DefaultStepListTemplate,i=this.props.stepTemplate||g.Step,o=(0,b.default)("wizard-nav",this.props.className);return this.props.stepListOrientation===n.Orientations.Horizontal&&(o=(0,b.default)("wizard-nav","wizard-nav-horizontal",this.props.className)),f.default.createElement("div",{className:o,ref:"nav"},f.default.cloneElement(this.props.template,{},t.filter((function(e){return e})).map((function(t,n){var o=this,a=this.props.active.group===n,s=a||this.state.open[t.props.id],u=this.props.validationArray[n].reduce((function(e,t){return e&&t}),!0),l=t.type.getGroupTitle(t,n),c=t.type.getStepList(t),d=(0,b.default)("wizard-nav-group",t.props.className,u&&"wizard-nav-group--complete",s&&"wizard-nav-group--open",a&&"active");return f.default.createElement(r,{key:"group".concat(n),ref:"group"+n,stepTemplate:i,onGotoStep:this.props.onGotoStep,active:this.props.active,isOpen:s,isActiveGroup:a,group:t,groupIndex:n,allowUntil:e,groupTitle:l,steps:c,toggle:function(){return o._toggleGroup(t.props.id,a)},className:d,validationArray:this.props.validationArray,disableCollapsibleStepGroups:this.props.disableCollapsibleStepGroups,stepListOrientation:this.props.stepListOrientation,hideGroupTitle:this.props.hideGroupTitle})}).bind(this))))}}]),n}(f.default.Component);t.WizardNav=w,(0,d.default)(w,"Orientations",v.Orientations),(0,d.default)(w,"propTypes",{className:h.default.string,active:h.default.any,groups:h.default.oneOfType([h.default.array,h.default.object]),onGoToStep:h.default.func,validationArray:h.default.array,stepListTemplate:h.default.any,stepTemplate:h.default.any,template:h.default.any,disableScrollOnNext:h.default.bool,disableCollapsibleStepGroups:h.default.bool,stepListOrientation:h.default.oneOf(Object.keys(w.Orientations).map((function(e){return w.Orientations[e]}))),hideGroupTitle:h.default.bool})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Orientations",{enumerable:!0,get:function(){return v.Orientations}}),t.DefaultStepListTemplate=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=r(n(8)),c=r(n(1)),d=r(n(32)),f=n(38),h=n(22),p=n(263),m=r(n(12)),v=n(325),g=function(){return c.default.createElement("div",{className:"wizard-nav-step-divider"},c.default.createElement("span",null))},y=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props,t=e.group,n=e.groupIndex,r=e.toggle,i=e.groupTitle,o=e.isOpen,a=e.isActiveGroup,s=e.disableCollapsibleStepGroups,u=e.hideGroupTitle,l=(0,m.default)(e.className,e.stepListOrientation===v.Orientations.Horizontal&&"orientation-horizontal"),d=function(e){var t=e.validationArray,n=e.stepTemplate,r=e.active,i=e.onGotoStep,o=e.groupIndex,a=e.allowUntil,s=e.isActiveGroup;return e.steps.reduce((function(e,u,l){var d=s&&r.step===l,f=!a||o<a.group||o===a.group&&l<=a.step;return l>0&&e.push([c.default.createElement(g,{key:l})]),e.push([c.default.createElement(n,{key:l,index:l,groupIndex:o,onClick:i,active:d,selectable:f,label:u,validationArray:t})]),e}),[])}(this.props);return c.default.createElement("div",{className:l,key:t.id||n,ref:"group"+n},!u&&c.default.createElement("label",{onClick:r},i),c.default.createElement(f.If,{condition:t.props.showDelete},c.default.createElement("i",{className:"far fa-times wizard-remove-group",onClick:t.props.onDelete})),!s&&c.default.createElement(p.CollapsibleBox,{className:"wizard-nav-steps-container",open:o,controlled:!0},d),s&&d,!s&&c.default.createElement("div",{className:"wizard-nav-group-toggle"},c.default.createElement("div",{className:(0,m.default)(a&&"disabled"),onClick:r},c.default.createElement(h.Icon,{regular:!0,name:"chevron-down"}))),c.default.createElement(f.If,{condition:n>0},c.default.createElement("div",{className:"line"})))}}]),n}(c.default.Component);t.DefaultStepListTemplate=y,(0,l.default)(y,"propTypes",{className:d.default.string,active:d.default.any,onGoToStep:d.default.func,validationArray:d.default.array,stepTemplate:d.default.any,disableCollapsibleStepGroups:d.default.bool,stepListOrientation:d.default.oneOf(Object.keys(v.Orientations).map((function(e){return v.Orientations[e]}))),hideGroupTitle:d.default.bool,group:d.default.object,groupIndex:d.default.number,toggle:d.default.func,groupTitle:d.default.string,isOpen:d.default.bool,isActiveGroup:d.default.bool,allowUntil:d.default.object,steps:d.default.array})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Step=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(32)),h=r(n(12)),p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.props.onClick("jump",e.props.groupIndex,e.props.index)})),e}return(0,o.default)(n,[{key:"render",value:function(){return d.default.createElement("div",{onClick:this._handleClick,className:(0,h.default)("wizard-nav-step",this.props.selectable&&"selectable",this.props.active&&"active")},d.default.createElement("span",null,this.props.label))}}]),n}(d.default.Component);t.Step=p,(0,c.default)(p,"propTypes",{active:f.default.bool,index:f.default.any,groupIndex:f.default.any,label:f.default.any,onClick:f.default.func,selectable:f.default.bool,validationArray:f.default.array})},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.NumberedStepNavTemplate=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(8)),d=r(n(1)),f=r(n(32)),h=r(n(12)),p=n(22),m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(){var e;(0,i.default)(this,n);for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,c.default)((0,a.default)(e),"_handleClick",(function(){e.props.onClick("jump",e.props.groupIndex,e.props.index)})),e}return(0,o.default)(n,[{key:"render",value:function(){var e=this.props.validationArray[this.props.groupIndex][this.props.index];return d.default.createElement("div",{onClick:this._handleClick,className:(0,h.default)("wizard-nav-step","wizard-nav-numbered-step",this.props.selectable?"selectable":"",this.props.active?"active":"",e?"valid":"invalid")},d.default.createElement("span",{className:"wizard-nav-numbered-step-icon"},!e&&d.default.createElement("svg",{className:"wizard-nav-numbered-step-icon__svg",viewBox:"0 0 24 24"},d.default.createElement("circle",{cx:"12",cy:"12",r:"12"}),d.default.createElement("text",{x:"12",y:"16",textAnchor:"middle"},this.props.index+1)),e&&d.default.createElement(p.Icon,{className:"wizard-nav-numbered-step-icon__i",name:"check-circle",solid:!0})),d.default.createElement("span",{className:"wizard-nav-numbered-step-text"},this.props.label))}}]),n}(d.default.Component);t.NumberedStepNavTemplate=m,(0,c.default)(m,"propTypes",{active:f.default.bool,index:f.default.any,groupIndex:f.default.any,label:f.default.any,onClick:f.default.func,selectable:f.default.bool,validationArray:f.default.array})},function(e,t,n){"use strict";var r=n(0),i=r(n(8)),o=r(n(17)),a=r(n(18)),s=r(n(3)),u=r(n(4));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(68),f=n(14),h=n(20).looseCompare,p=["requesters","cacheKey"],m=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e&&!e.error&&e.body&&e.body.data&&(0!==e.body.data.length||t)},v=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.default)(this,e),p.forEach((function(e){if(!n[e])throw"required option ".concat(e," missing")})),this.initPromise=new Promise((function(e){return t.resolveInitPromise=e})),this.options=f.defaults(n,{postDelete:this._filterDeletedIds}),this.data={items:[]},this._loadCache()}var t,n,r,l,v,g,y,b,_,w,E,C,A,k,S;return(0,u.default)(e,[{key:"_filterDeletedIds",value:function(e,t){return e.filter((function(e){return!t.find((function(t){return h(e.id,t)}))}))}},{key:"destroy",value:function(){this.isDestroyed=!0}},{key:"_loadCache",value:(S=(0,a.default)(o.default.mark((function t(){var n,r=this;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.get(this.options.cacheKey,{encryptionKey:this.options.encryptionKey,onDecryptError:function(){return d.remove(r.options.cacheKey)}});case 2:(n=t.sent)&&(!f.isArray(n)&&n.types?(n=e.uncompressKeys(n),this._setData(n)):(n=f.isArray(n)?n:[],this._setData({items:n,totalCount:n.length}))),this.resolveInitPromise(!0),this._checkStaleness();case 6:case"end":return t.stop()}}),t,this)}))),function(){return S.apply(this,arguments)})},{key:"_setData",value:(k=(0,a.default)(o.default.mark((function t(n){var r=arguments;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r.length>1&&void 0!==r[1]&&r[1])){t.next=4;break}return t.next=4,this._store(n);case 4:this.data=c({},n),this.options.onChange(n.items,n.totalCount),this.mostRecentUpdate=e.findMostRecent(n.items,"updated-at");case 7:case"end":return t.stop()}}),t,this)}))),function(e){return k.apply(this,arguments)})},{key:"refresh",value:(A=(0,a.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.fetchAllPromise){e.next=2;break}return e.abrupt("return",this.fetchAllPromise);case 2:return e.next=4,this.initPromise;case 4:return e.abrupt("return",this._checkStaleness());case 5:case"end":return e.stop()}}),e,this)}))),function(){return A.apply(this,arguments)})},{key:"create",value:(C=(0,a.default)(o.default.mark((function e(t){var n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.options.requesters.create(t);case 2:return(n=e.sent).error?this.options.onError&&this.options.onError(n):this.refresh(),e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return C.apply(this,arguments)})},{key:"removeFromCache",value:(E=(0,a.default)(o.default.mark((function e(t){var n,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Array.isArray(t)?f.object(t,t):(0,i.default)({},t,!0),r=this.data.items.filter((function(e){return!n[e.id]})),e.next=4,this._setData({items:r,totalCount:r.length},!0);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return E.apply(this,arguments)})},{key:"_updateRecordFromCache",value:(w=(0,a.default)(o.default.mark((function e(t,n){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.data.items.findIndex((function(e){return e.id===n})),this.data.items[r]=t,e.next=4,this._setData({items:this.data.items,totalCount:this.data.items.length},!0);case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return w.apply(this,arguments)})},{key:"_updateRecordsFromCache",value:(_=(0,a.default)(o.default.mark((function e(t){var n,r,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=f.indexBy(t,"id"),r=0;r<this.data.items.length;r++)n[(i=this.data.items[r]).id]&&(this.data.items[r]=n[i.id]);return e.next=4,this._setData({items:this.data.items,totalCount:this.data.items.length},!0);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"delete",value:(b=(0,a.default)(o.default.mark((function e(t){var n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.options.requesters.delete(t);case 2:if(!(n=e.sent)||n.error){e.next=9;break}if(201===n.status){e.next=7;break}return e.next=7,this.removeFromCache(t);case 7:e.next=10;break;case 9:this.options.onError&&this.options.onError(n);case 10:return e.abrupt("return",n);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return b.apply(this,arguments)})},{key:"update",value:(y=(0,a.default)(o.default.mark((function e(t){var n,r,i,a,s=arguments;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},e.next=3,this.options.requesters.update(t,n);case 3:if((r=e.sent).error){e.next=14;break}if(Array.isArray(t)||!n.id){e.next=10;break}return e.next=8,this._updateRecordFromCache(r.body.data,n.id||(null===(i=r.body)||void 0===i||null===(a=i.data)||void 0===a?void 0:a.id));case 8:e.next=12;break;case 10:return e.next=12,this._updateRecordsFromCache(r.body.data);case 12:e.next=15;break;case 14:this.options.onError&&this.options.onError(r);case 15:return e.abrupt("return",r);case 16:case"end":return e.stop()}}),e,this)}))),function(e){return y.apply(this,arguments)})},{key:"fetchAll",value:(g=(0,a.default)(o.default.mark((function e(){var t,n=arguments;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.length>0&&void 0!==n[0]&&n[0],!this.fetchAllPromise){e.next=3;break}return e.abrupt("return",this.fetchAllPromise);case 3:return this.fetchAllPromise=this._fetchAll(t),e.next=6,this.fetchAllPromise;case 6:this.fetchAllPromise=null;case 7:case"end":return e.stop()}}),e,this)}))),function(){return g.apply(this,arguments)})},{key:"_fetchAll",value:(v=(0,a.default)(o.default.mark((function e(t){var n,r,i,a,s,u,l;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n={items:[],relationships:[],included:[]},r=1;case 2:if(!this.isDestroyed){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,this.options.requesters.index({sort:"name",pageNumber:r,pageSize:1e3});case 6:if(m(l=e.sent,1===r)){e.next=10;break}return this.options.onError&&this.options.onError(l),e.abrupt("return");case 10:if(r=null==l||null===(i=l.body)||void 0===i||null===(a=i.meta)||void 0===a?void 0:a["next-page"],n.items=n.items.concat(l.body.data),n.included=n.included.concat(l.body.included||[]),n.totalCount=null==l||null===(s=l.body)||void 0===s||null===(u=s.meta)||void 0===u?void 0:u["total-count"],t&&!(n.items.length>this.data.items.length)){e.next=17;break}return e.next=17,this._setData(n,!0);case 17:if(n.items.length<n.totalCount){e.next=2;break}case 18:return e.next=20,this._setData(n,!0);case 20:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"_store",value:(l=(0,a.default)(o.default.mark((function t(n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.compressKeys(n),t.prev=1,t.next=4,d.set(this.options.cacheKey,n,{encryptionKey:this.options.encryptionKey});case 4:t.next=13;break;case 6:if(t.prev=6,t.t0=t.catch(1),"QuotaExceededError"!==t.t0.error){t.next=12;break}this._handleQuotaError(n,t.t0.requiredBytes),t.next=13;break;case 12:throw t.t0;case 13:case"end":return t.stop()}}),t,this,[[1,6]])}))),function(e){return l.apply(this,arguments)})},{key:"_handleQuotaError",value:(r=(0,a.default)(o.default.mark((function e(t,n){var r,i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("QUOTA ERROR!!!"),r=Date.now(),e.next=4,d.purge((function(e){if(i[e].expiry&&i[e].expiry<=r)return n-=i[e].size,!0}));case 4:i=e.sent,n>0&&(a={},Object.keys(i).forEach((function(e){n>0&&(n-=i[e].size,a[e]=!0)})),n<=0&&d.purge((function(e){return a[e]})));case 6:case"end":return e.stop()}}),e)}))),function(e,t){return r.apply(this,arguments)})},{key:"_checkStaleness",value:(n=(0,a.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==this.data.items.length){e.next=2;break}return e.abrupt("return",this.fetchAll());case 2:return e.next=4,this._isStale();case 4:if(!e.sent){e.next=6;break}return e.abrupt("return",this.fetchAll(!0));case 6:return e.abrupt("return",this.data.items);case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"_isStale",value:(t=(0,a.default)(o.default.mark((function t(){var n;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.options.requesters.index({pageNumber:1,sort:"-updated-at",pageSize:1});case 3:return t.abrupt("return",m(n=t.sent)&&(this.data.items.length!==n.body.meta["total-count"]||e.findMostRecent(n.body.data,"updated-at")!==this.mostRecentUpdate));case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",!0);case 10:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(){return t.apply(this,arguments)})}]),e}();v.uncompressKeys=function(e){var t=e.keys,n=e.types,r=e.totalCount;return{items:e.items.map((function(e){return{id:e[1],type:n[e[0]],attributes:f.object(t,e.slice(2))}})),totalCount:r}},v.compressKeys=function(e){var t={},n={},r=e.items,i=e.totalCount;return r.forEach((function(e){n[e.type]=!0,Object.keys(e.attributes).forEach((function(e){return t[e]=!0}))})),t=Object.keys(t),n=Object.keys(n),r=r.map((function(e){return[n.indexOf(e.type),e.id].concat(t.map((function(t){return e.attributes[t]})))})),{keys:t,types:n,items:r,totalCount:i}},v.findMostRecent=function(e,t){return e.reduce((function(e,n){var r=Date.parse(n.attributes[t]);return r>e?r:e}),0)},e.exports=v},function(e,t,n){"use strict";var r=n(0),i=r(n(4)),o=r(n(3)),a=r(n(5)),s=r(n(6)),u=r(n(7));function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var c=n(33),d=n(20),f=n(14),h=n(41),p=n(728).default,m=n(729),v=n(730).ConfigurationOverlay,g=n(731).ConfigurationInterfaces,y=n(732),b=n(734),_=n(735),w=_.Attachments,E=_.RelatedItems,C=_.ResourceAccesses,A=n(736),k=A.FlexibleAssets,S=A.FlexibleAssetFields,x=A.FlexibleAssetTypes,D=n(737).Workflows,O=n(738).PSAGatewayRequests;t.createRequesters=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.noop,r=function(){return n("organizationId")||d.getOrgId()},s=function(){return n("accountUserId")||dvCurrent.accountUser.id},u=function(e){return function(t,n){var r=n.id;return r?"/".concat(e,"/").concat(r):"/".concat(e)}},_=function(n){(0,a.default)(i,n);var r=l(i);function i(n,a){var s;return(0,o.default)(this,i),(s=r.call(this,e,t,a)).getPath="function"==typeof n?n:function(){return n},s}return i}(c),A=function(e){(0,a.default)(r,e);var n=l(r);function r(e,i,a){var s;return(0,o.default)(this,r),(s=n.call(this,e,t,h.default(a))).name=a,s}return(0,i.default)(r,[{key:"getPath",value:function(e,t){var n=t.resourceId,r=t.id,i="/".concat(t.resourceType,"/").concat(n,"/relationships/").concat(this.name);return void 0!==r&&(i+="/"+r),i}}]),r}(c);return{Batch:new p(e,t),Checklists:new m.Checklists(e,t,r),Configurations:new m.Configurations(e,t,r),ConfigurationInterfaces:new g(e,t,{create:h.ConfigurationInterfaces}),ConfigurationOverlay:new v((function(){return""}),t,{get:h.ConfigurationOverlay}),Contacts:new m.Contacts(e,t,r),Domains:new m.Domains(e,t,r),Locations:new m.Locations(e,t,r),Networks:new y.Networks(e,t),NetworkConnections:new y.NetworkConnections(e,t),NetworkDevices:new y.NetworkDevices(e,t),NetworkSnapshots:new y.NetworkSnapshots(e,t),Passwords:new m.Passwords(e,t,r),PasswordFolders:new m.PasswordFolders(e,t,r),RemoteContacts:new m.RemoteContacts(e,t,r),SSL:new m.SSL(e,t,r),Tickets:new m.Tickets(e,t,r),PSATickets:new m.PSATickets(e,t,r),Organizations:new _(u("organizations"),h.default("organizations")),FlagTypes:new _(u("flag_types"),h.default("flag_types")),ChecklistTemplates:new _(u("checklist_templates"),h.default("checklist_templates")),FavoriteOrganizations:new _((function(){return"/users/".concat(s(),"/relationships/favorite_organizations")}),{delete:function(e){return e.map((function(e){return{type:"favorite_organizations",attributes:{organization_id:e}}}))},create:function(e){return e.map((function(e){return{type:"favorite_organizations",attributes:e}}))}}),FlexibleAssets:new k(e,t),FlexibleAssetFields:new S(e,t),Attachments:new w(e,t),RelatedItems:new E(e,t),ResourceAccesses:new C(e,t),Adapters:new _("/adapters"),AgentProcedures:new A(e,t,"agent_procedures"),ChecklistTasks:new _("/checklist_tasks",h.default("checklist_tasks")),ChecklistTemplateTasks:new _("/checklist_template_tasks",h.default("checklist_template_tasks")),ConfigurationStatuses:new _("/configuration_statuses"),ConfigurationTypes:new _("/configuration_types"),Countries:new _("/countries"),FlexibleAssetTypes:new x(e,t),Groups:new _("/groups"),Manufacturers:new _("/manufacturers"),Models:new _("/models"),Navbar:new _("/topbar/navbar"),OperatingSystems:new _("/operating_systems",h.default("operating_systems")),OrganizationAuthorizedUsers:new _((function(){return"/organizations/".concat(r(),"/relationships/authorized_users")})),PasswordCategories:new _("/password_categories",h.default("password_categories")),Platforms:new _("/platforms"),Procedures:new A(e,t,"procedures"),ProfileMenu:new _("/topbar/profile_menu"),ResourceFlags:new A(e,t,"resource_flags"),Sidebar:new _("/sidebar"),Users:new _("/users"),DefaultAccesses:new _((function(e,t){return"/".concat(t.resourceType,"/default_access")})),Vaults:new b.Vaults(e,t),VaultUserKeySets:new b.VaultUserKeySets(e,t),VaultAccessKeys:new b.VaultAccessKeys(e,t),Workflows:new D(e,"workflows","workflow-triggers",t),WorkflowActionPreview:new D(e,"workflows/action_preview","workflow-actions",t),PSAGatewayRequests:new O(e,t)}}},function(e,t,n){"use strict";function r(e,t,n,r){if("number"!=typeof e)throw new TypeError("statusCode must be a number but was "+typeof e);if(null===t)throw new TypeError("headers cannot be null");if("object"!=typeof t)throw new TypeError("headers must be an object but was "+typeof t);for(var i in this.statusCode=e,this.headers={},t)this.headers[i.toLowerCase()]=t[i];this.body=n,this.url=r}e.exports=r,r.prototype.getBody=function(e){if(this.statusCode>=300){var t=new Error("Server responded with status code "+this.statusCode+":\n"+this.body.toString());throw t.statusCode=this.statusCode,t.headers=this.headers,t.body=this.body,t.url=this.url,t}return e?this.body.toString(e):this.body}},function(e,t,n){"use strict";var r=n(327).parse,i=n(327).stringify;e.exports=function(e,t){var n=(e=e.split("?"))[0],o=(e[1]||"").split("#")[0],a=e[1]&&e[1].split("#").length>1?"#"+e[1].split("#")[1]:"",s=r(o);for(var u in t)s[u]=t[u];return""!==(o=i(s))&&(o="?"+o),n+o+a}},function(e,t,n){"use strict";var r=n(328),i=n(329),o={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},u=function e(t,n,i,o,a,u,l,c,d,f,h,p){var m=t;if("function"==typeof l)m=l(n,m);else if(m instanceof Date)m=f(m);else if(null===m){if(o)return u&&!p?u(n,s.encoder):n;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||r.isBuffer(m))return u?[h(p?n:u(n,s.encoder))+"="+h(u(m,s.encoder))]:[h(n)+"="+h(String(m))];var v,g=[];if(void 0===m)return g;if(Array.isArray(l))v=l;else{var y=Object.keys(m);v=c?y.sort(c):y}for(var b=0;b<v.length;++b){var _=v[b];a&&null===m[_]||(g=Array.isArray(m)?g.concat(e(m[_],i(n,_),i,o,a,u,l,c,d,f,h,p)):g.concat(e(m[_],n+(d?"."+_:"["+_+"]"),i,o,a,u,l,c,d,f,h,p)))}return g};e.exports=function(e,t){var n=e,a=t?r.assign({},t):{};if(null!=a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var l=void 0===a.delimiter?s.delimiter:a.delimiter,c="boolean"==typeof a.strictNullHandling?a.strictNullHandling:s.strictNullHandling,d="boolean"==typeof a.skipNulls?a.skipNulls:s.skipNulls,f="boolean"==typeof a.encode?a.encode:s.encode,h="function"==typeof a.encoder?a.encoder:s.encoder,p="function"==typeof a.sort?a.sort:null,m=void 0!==a.allowDots&&a.allowDots,v="function"==typeof a.serializeDate?a.serializeDate:s.serializeDate,g="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:s.encodeValuesOnly;if(void 0===a.format)a.format=i.default;else if(!Object.prototype.hasOwnProperty.call(i.formatters,a.format))throw new TypeError("Unknown format option provided.");var y,b,_=i.formatters[a.format];"function"==typeof a.filter?n=(b=a.filter)("",n):Array.isArray(a.filter)&&(y=b=a.filter);var w=[];if("object"!=typeof n||null===n)return"";var E=o[a.arrayFormat in o?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices"];y||(y=Object.keys(n)),p&&y.sort(p);for(var C=0;C<y.length;++C){var A=y[C];d&&null===n[A]||(w=w.concat(u(n[A],A,E,c,d,f?h:null,b,p,m,v,_,g)))}var k=w.join(l);return k.length>0?(!0===a.addQueryPrefix?"?":"")+k:""}},function(e,t,n){"use strict";var r=n(328),i=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,u=[];if(s){if(!n.plainObjects&&i.call(Object.prototype,s)&&!n.allowPrototypes)return;u.push(s)}for(var l=0;null!==(a=o.exec(r))&&l<n.depth;){if(l+=1,!n.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(a[1])}return a&&u.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,i=e.length-1;i>=0;--i){var o,a=e[i];if("[]"===a)o=(o=[]).concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(s,10);!isNaN(u)&&a!==s&&String(u)===s&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(o=[])[u]=r:o[s]=r}r=o}return r}(u,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!=n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:o.delimiter,n.depth="number"==typeof n.depth?n.depth:o.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:o.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:o.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:o.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:o.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:o.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:o.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:o.strictNullHandling,""===e||null==e)return n.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var n={},r=(t.ignoreQueryPrefix?e.replace(/^\?/,""):e).split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=0;a<r.length;++a){var s,u,l=r[a],c=l.indexOf("]="),d=-1===c?l.indexOf("="):c+1;-1===d?(s=t.decoder(l,o.decoder),u=t.strictNullHandling?null:""):(s=t.decoder(l.slice(0,d),o.decoder),u=t.decoder(l.slice(d+1),o.decoder)),n[s]=i.call(n,s)?[].concat(n[s]).concat(u):u}return n}(e,n):e,u=n.plainObjects?Object.create(null):{},l=Object.keys(s),c=0;c<l.length;++c){var d=l[c],f=a(d,s[d],n);u=r.merge(u,f,n)}return r.compact(u)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkDevices=function(e){if(!e||!e.body||!e.body.data)return e;var t=e.body.data.map((function(e){var t,n=function(e){return"HUB"===e.attributes["device-type"]}(e),r=null===(t=e)||void 0===t?void 0:t.meta["snmp-worked"];return n&&(e=i.default.set(e,["attributes","name"],"Free Nodes"===e.attributes.name?"Root":"")),e=i.default.set(e,["attributes","snmp"],r="true"===r||"True"===r||!0===r?"Enabled":"Disabled"),e=i.default.set(e,["attributes","deviceTypeLabel"],a(e.attributes["device-type"])),i.default.set(e,["attributes","isInferred"],n)}));return i.default.set(e,["body","data"],t)},t.getDeviceTypeName=void 0;var i=r(n(28)),o=r(n(11)),a=function(e){return(0,o.default)("network-glue.device-type-names.".concat(e),(0,o.default)("network-glue.device-type-names.NETWORK DEVICE"))};t.getDeviceTypeName=a},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Tickets=function(e){if(!(e&&e.body&&e.body.data&&e.body.included))return e;var t=i.default.indexBy(e.body.included.filter((function(e){return"configurations"===e.type})),"id"),n=e.body.data.map((function(e){var n,r,i=(null==e||null===(n=e.relationships)||void 0===n||null===(r=n.configurations)||void 0===r?void 0:r.data)||[];return o.default.set(e,["attributes","configurations"],i.map((function(e){return t[e.id]})))}));return o.default.set(e,["body","data"],n)};var i=r(n(14)),o=r(n(28))},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationOverlay=function(e){var t;if(!(null==e||null===(t=e.body)||void 0===t?void 0:t.data))return e;var n=(0,o.paramCase)(e.body.data.attributes);return i.default.set(e,["body","data","attributes"],n)};var i=r(n(28)),o=n(65)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationInterfaces=function(e){var t=[];return e.length&&e.forEach((function(e){var n=e.fromConnections,r=e.toConnections,o=function(e,t,n,r){var o;return(0,i.default)(o={},u,e),(0,i.default)(o,s,t),(0,i.default)(o,a,n),(0,i.default)(o,l,r),o}(e.name,e[s],e[a],e.port),m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e.length&&!t.length)return null;var n={},r=p(e,c),i=p(t,d);return r&&(n[h]={data:r}),i&&(n[f]={data:i}),n}(n,r),v={type:"configuration-interfaces",attributes:o};m&&(v.relationships=m),t.push(v)})),t};var i=r(n(8)),o=n(14),a="ip-address",s="mac-address",u="name",l="port",c="to",d="from",f="to_configuration_connections",h="from_configuration_connections";function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;if(!e.length)return null;var n=[];return e.forEach((function(e){var r=m(e,t);r&&n.push(r)})),n.length?n:void 0}function m(e,t){return(0,o.isEmpty)(e)?null:e["".concat(t,"-configuration-interface-id")]?{type:t===c?h:f,attributes:(0,i.default)({},"".concat(t,"-configuration-interface-id"),e["".concat(t,"-configuration-interface-id")])}:void 0}},function(e,t,n){"use strict";var r=n(14),i=n(28);t.default=function(e){if(!(e&&e.body&&e.body.data&&e.body.included))return e;var t=r.indexBy(e.body.included,"id"),n=e.body.data.map((function(e){var n,r,o=(null==e||null===(n=e.relationships)||void 0===n||null===(r=n["checklist-tasks"])||void 0===r?void 0:r.data)||[];return i.set(e,["attributes","tasks"],o.map((function(e){return t[e.id]})))}));return i.set(e,["body","data"],n)}},function(e,t,n){"use strict";var r=n(28);t.default=function(e){if(!(e&&e.body&&e.body.data&&e.body.included))return e;var t=e.body.data.map((function(t){if(t.attributes["location-id"]){var n,i=e.body.included.find((function(e){return e.id==t.attributes["location-id"]})),o=null==i||null===(n=i.attributes)||void 0===n?void 0:n["country-id"];return r.set(t,["attributes","country-id"],o)}return t}));return r.set(e,["body","data"],t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;if(!(null==e||null===(t=e.body)||void 0===t?void 0:t.data))return e;var n=e.body.data.map((function(e){var t=null==e?void 0:e.attributes["last-name"],n="".concat(null==e?void 0:e.attributes["first-name"]," ").concat(t).trim();return r.set(e,["attributes","contact-name"],n)}));return r.set(e,["body","data"],n)};var r=n(28)},function(e,t,n){"use strict";var r=n(90).calculateRemaining,i=n(28);t.default=function(e){if(!e||!e.body||!e.body.data)return e;var t=e.body.data.map((function(e){return i.set(e,["attributes","valid-until-diff"],r(e.attributes["valid-until"]))}));return i.set(e,["body","data"],t)}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=n(33),c={create:function(e){var t=e.defaultPayload;return{type:"batch_requests",attributes:{defaultPayload:void 0===t?null:t},relationships:{requests:{data:e.requestAttributes.map((function(e){return{type:"requests",attributes:e}}))}}}}},d=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(e,r){return(0,i.default)(this,n),t.call(this,e,r,c)}return(0,o.default)(n,[{key:"getPath",value:function(){return"/batch_requests"}}]),n}(l);t.default=d},function(e,t,n){"use strict";var r=n(0),i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(10)),l=r(n(5)),c=r(n(6)),d=r(n(7));function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.default)(e);if(t){var i=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.default)(this,n)}}var h=n(33),p=n(41),m=n(14),v=n(54),g=v.apiRequest,y=v.buildQueryString,b=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i,o,s,l){var c;(0,a.default)(this,n);var d=m.extend({},p.default(e),s);return(c=t.call(this,r,i,d)).namespace=l,c.name=e,c.getOrgId=o,c.getAllGlobal=c.getAllGlobal.bind((0,u.default)(c)),c}return(0,s.default)(n,[{key:"_buildWithNamespace",value:function(e){return(this.namespace?"/".concat(this.namespace):"")+e}},{key:"getPath",value:function(e,t){var n=t.id,r=t.allOrgs,i=t.organizationId;if(n)return this._buildWithNamespace("/".concat(this.name,"/").concat(n));switch(e.toLowerCase()){case"get":case"update":return this._buildWithNamespace(r?"/".concat(this.name):"/organizations/".concat(i||this.getOrgId(),"/relationships/").concat(this.name));default:return this._buildWithNamespace("/".concat(this.name))}}},{key:"getAllGlobal",value:function(e){return this.getAll(m.defaults({allOrgs:!0},e))}}]),n}(h);t.Checklists=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"checklists",e,r,i,{getAll:p.Checklists})}return n}(b),t.Configurations=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"configurations",e,r,i,{getAll:p.Configurations})}return n}(b),t.Contacts=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"contacts",e,r,i,{getAll:p.Contacts})}return n}(b),t.Domains=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"domains",e,r,i)}return n}(b),t.Locations=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"locations",e,r,i)}return n}(b),t.Passwords=function(e){(0,l.default)(r,e);var t,n=f(r);function r(e,t,i){var o;return(0,a.default)(this,r),(o=n.call(this,"passwords",e,t,i)).loadPasswordSync=o.loadPasswordSync.bind((0,u.default)(o)),o.loadPasswordAsync=o.loadPasswordAsync.bind((0,u.default)(o)),o}return(0,s.default)(r,[{key:"getQueryString",value:function(e,t){return y(t,(function(e,t){switch(e){case"showPassword":return["show_password="+t];default:return[]}}))}},{key:"_getPasswordFromPayload",value:function(e){var t,n,r;return null==e||null===(t=e.body)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.attributes)||void 0===r?void 0:r.password}},{key:"loadPasswordAsync",value:(t=(0,o.default)(i.default.mark((function e(t,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=this,e.next=3,this.get(t,{showPassword:!0},n);case 3:return e.t1=e.sent,e.abrupt("return",e.t0._getPasswordFromPayload.call(e.t0,e.t1));case 5:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})},{key:"loadPasswordSync",value:function(e,t){try{var n=g("GET","/jwt/refresh",null,null,!0),r=JSON.parse(n.body).token,i=g("GET","".concat(t||"","/jwt/token?refresh_token=").concat(r),null,null,!0);if(200===i.statusCode){var o=JSON.parse(i.body).token,a=this.getUrl("GET",{id:e,showPassword:!0}),s=g("GET",a,o,null,!0);return this._getPasswordFromPayload({body:JSON.parse(s.body)})}}catch(e){}}}]),r}(b),t.RemoteContacts=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"remote_contacts",e,r,i,{getAll:p.RemoteContacts})}return(0,s.default)(n,[{key:"getPath",value:function(e,t){var n=t.id;return n?"/".concat(this.name,"/").concat(n):"/".concat(this.name)}}]),n}(b),t.SSL=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"ssl_certificates",e,r,i,{getAll:p.SslCertificates})}return n}(b),t.Tickets=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"tickets",e,r,i,{getAll:p.Tickets})}return n}(b),t.PSATickets=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"tickets",e,r,i,{getAll:p.Tickets},"psa")}return(0,s.default)(n,[{key:"getQueryString",value:function(e,t){return y(t,(function(e,t){switch(e){case"psaParams":var n=[];for(var r in t)n.push("psa_param[".concat(r,"]=").concat(encodeURIComponent(t[r])));return n;default:return[]}}))}}]),n}(b),t.PasswordFolders=function(e){(0,l.default)(n,e);var t=f(n);function n(e,r,i){return(0,a.default)(this,n),t.call(this,"password_folders",e,r,i)}return(0,s.default)(n,[{key:"getPath",value:function(e,t){var n=t.id,r=t.organizationId;switch(e.toLowerCase()){case"get":return n?"/organizations/".concat(r||this.getOrgId(),"/relationships/").concat(this.name,"/").concat(n):"/organizations/".concat(r||this.getOrgId(),"/relationships/").concat(this.name);case"post":case"delete":return"/organizations/".concat(r||this.getOrgId(),"/relationships/").concat(this.name);case"patch":if(n)return"/organizations/".concat(r||this.getOrgId(),"/relationships/").concat(this.name,"/").concat(n);default:return"/".concat(this.name)}}}]),n}(b)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationOverlay=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=n(33),c=n(126).Resources,d=n(14).extend,f=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(e,r,o){(0,i.default)(this,n);var a=d({},o);return t.call(this,e,r,a)}return(0,o.default)(n,[{key:"getPath",value:function(e,t){var n=t.id;return"/".concat(t.orgId,"/").concat(c.CONFIGURATIONS,"/").concat(n,"/").concat(c.CONFIGURATION_OVERLAY_DATA)}}]),n}(l);t.ConfigurationOverlay=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationInterfaces=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=n(33),c=n(14).extend,d=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(e,r,o){(0,i.default)(this,n);var a=c({},o);return t.call(this,e,r,a)}return(0,o.default)(n,[{key:"getPath",value:function(e,t){if("post"===e.toLowerCase())return"/configurations/".concat(t,"/relationships/configuration_interfaces")}}]),n}(l);t.ConfigurationInterfaces=d},function(e,t,n){"use strict";var r=n(0),i=r(n(3)),o=r(n(5)),a=r(n(6)),s=r(n(7)),u=n(41);function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var i=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}var c=n(733).NestedResources,d=n(126).Resources,f=function(e){(0,o.default)(n,e);var t=l(n);function n(e,r,o){return(0,i.default)(this,n),t.call(this,e,"/network_glue",d.ORGANIZATIONS,d.NETWORKS,r,o)}return n}(c),h=function(e){(0,o.default)(n,e);var t=l(n);function n(e,r,o){return(0,i.default)(this,n),t.call(this,e,"/network_glue",d.SNAPSHOTS,d.NETWORK_CONNECTIONS,r,o)}return n}(c),p=function(e){(0,o.default)(n,e);var t=l(n);function n(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{getAll:u.NetworkDevices};return(0,i.default)(this,n),t.call(this,e,"/network_glue",d.SNAPSHOTS,d.NETWORK_DEVICES,r,o)}return n}(c),m=function(e){(0,o.default)(n,e);var t=l(n);function n(e,r,o){return(0,i.default)(this,n),t.call(this,e,"/network_glue",d.NETWORKS,d.SNAPSHOTS,r,o)}return n}(c);e.exports={Networks:f,NetworkConnections:h,NetworkDevices:p,NetworkSnapshots:m}},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.NestedResources=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(10)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=n(33),d=n(41),f=n(14),h=f.defaults,p=f.extend,m=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(e,r,o,s,u,l){var c;(0,i.default)(this,n);var f=p({},d.default(s),l);return(c=t.call(this,e,u,f)).resourceName=s,c.parentResourceName=o,c.apiNamespace=r,c.getAllGlobal=c.getAllGlobal.bind((0,a.default)(c)),c}return(0,o.default)(n,[{key:"getPath",value:function(e,t){var n,r=t.id,i=t.parentId;return n=r&&i?"/".concat(this.parentResourceName,"/").concat(i,"/relationships/").concat(this.resourceName,"/").concat(r):r?"/".concat(this.resourceName,"/").concat(r):i?"/".concat(this.parentResourceName,"/").concat(i,"/relationships/").concat(this.resourceName):"/".concat(this.resourceName),this.apiNamespace+n}},{key:"getAllGlobal",value:function(e){return this.getAll(h({allOrgs:!0},e))}}]),n}(c);t.NestedResources=m},function(e,t,n){"use strict";var r=n(0),i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7));function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var c=n(126).Resources,d=n(41),f=n(33),h=n(14).extend,p=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r,o,a){var s;(0,i.default)(this,n);var u=h({},d.default(r),a);return(s=t.call(this,e,o,u)).resourceName=r,s}return(0,o.default)(n,[{key:"getPath",value:function(e,t){var n=t.id;return"/vault"+(n?"/".concat(this.resourceName,"/").concat(n):"/".concat(this.resourceName))}}]),n}(f),m=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r,o){return(0,i.default)(this,n),t.call(this,e,c.VAULTS,r,o)}return n}(p),v=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r,o){return(0,i.default)(this,n),t.call(this,e,c.VAULT_USER_KEY_SETS,r,o)}return n}(p),g=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r,o){return(0,i.default)(this,n),t.call(this,e,c.VAULT_ACCESS_KEYS,r,o)}return n}(p);e.exports={Vaults:m,VaultUserKeySets:v,VaultAccessKeys:g}},function(e,t,n){"use strict";var r=n(0),i=r(n(17)),o=r(n(18)),a=r(n(3)),s=r(n(4)),u=r(n(5)),l=r(n(6)),c=r(n(7));function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var i=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}var f=n(33),h=n(41),p=n(54),m=n(59).request,v=function(e){(0,u.default)(n,e);var t=d(n);function n(e,r,i){var o;return(0,a.default)(this,n),(o=t.call(this,e,r)).name=i,o.massagers=h.default(i),o}return(0,s.default)(n,[{key:"_get",value:function(){throw"".concat(name,"s does not support get")}},{key:"_getAll",value:function(){throw"".concat(name,"s does not support getAll")}},{key:"getPath",value:function(e,t){return"patch"===e.toLowerCase()&&t.id?"/".concat(t.resourceType,"/").concat(t.resourceId,"/relationships/").concat(this.name,"/").concat(t.id):"/".concat(t.resourceType,"/").concat(t.resourceId,"/relationships/").concat(this.name)}}]),n}(f);t.Attachments=function(e){(0,u.default)(r,e);var t,n=d(r);function r(e,t){return(0,a.default)(this,r),n.call(this,e,t,"attachments")}return(0,s.default)(r,[{key:"_makePostRequest",value:function(e,t,n){return new Promise(function(){var r=(0,o.default)(i.default.mark((function r(o){return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.t0=m("POST",e),r.next=3,n();case 3:r.t1=r.sent,r.t2="Bearer "+r.t1,r.t0.set.call(r.t0,"Authorization",r.t2).set("Accept","application/json, text/plain").send(t).end((function(e,t){return o({error:e,body:t&&t.body})}));case 6:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}())}},{key:"_create",value:(t=(0,o.default)(i.default.mark((function e(t,n){var r,o,a=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.getApiBaseUrl()+this.getPath("post",n),(o=new FormData).append("data[type]","attachments"),o.append("data[attributes][attachment]",t.file),e.next=6,this.renewJwtToken();case 6:return e.abrupt("return",this._makePostRequest(r,o,(function(){return f.MockDispatch(a.getToken(p.GetTokenOption.CACHED))})));case 7:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)})}]),r}(v),t.RelatedItems=function(e){(0,u.default)(n,e);var t=d(n);function n(e,r){return(0,a.default)(this,n),t.call(this,e,r,"related_items")}return n}(v),t.ResourceAccesses=function(e){(0,u.default)(n,e);var t=d(n);function n(e,r){var i;return(0,a.default)(this,n),(i=t.call(this,e,r)).massagers=h.default("resource_accesses"),i.delete=function(e,t){return e=e.map((function(e){return{type:"resource_accesses",attributes:e}})),i._makeResourceRequest("DELETE",t,{data:e})},i}return(0,s.default)(n,[{key:"_get",value:function(){throw"resource_accesses does not support get"}},{key:"_getAll",value:function(){throw"resource_accesses does not support getAll"}},{key:"getPath",value:function(e,t){var n;return"/".concat(null===(n=t.resourceType)||void 0===n?void 0:n.replace(/-/g,"_"),"/").concat(t.resourceId,"/relationships/resource_accesses")}}]),n}(f)},function(e,t,n){"use strict";var r=n(0),i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7));function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}var c=n(33),d=n(41);t.FlexibleAssets=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r){return(0,i.default)(this,n),t.call(this,e,r,d.default("flexible_assets"))}return(0,o.default)(n,[{key:"getPath",value:function(e,t){var n=t.id;return n?"/flexible_assets/".concat(n):"/flexible_assets"}}]),n}(c),t.FlexibleAssetFields=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r){return(0,i.default)(this,n),t.call(this,e,r,d.default("flexible_asset_fields"))}return(0,o.default)(n,[{key:"getPath",value:function(e,t){return"/flexible_asset_types/".concat(t.faTypeId,"/relationships/flexible_asset_fields")}}]),n}(c),t.FlexibleAssetTypes=function(e){(0,a.default)(n,e);var t=l(n);function n(e,r){return(0,i.default)(this,n),t.call(this,e,r)}return(0,o.default)(n,[{key:"getPath",value:function(e,t){var n=t.id;return n?"/flexible_asset_types/".concat(n):"/flexible_asset_types"}}]),n}(c)},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.Workflows=void 0;var i=r(n(3)),o=r(n(4)),a=r(n(5)),s=r(n(6)),u=r(n(7)),l=n(41),c=n(33),d=n(14).extend,f=function(e){(0,a.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.default)(e);if(t){var i=(0,u.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.default)(this,n)}}(n);function n(e,r,o,a,s){var u;(0,i.default)(this,n);var c=d({},l.default(o),s);return(u=t.call(this,e,a,c)).route=r,u}return(0,o.default)(n,[{key:"getPath",value:function(e,t){var n=t.id;return n?"/".concat(this.route,"/").concat(n):"/".concat(this.route)}}]),n}(c);t.Workflows=f},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.PSAGatewayRequests=t.PSA_GATEWAY_REQUESTS=t.PATH=void 0;var i=r(n(739)),o=r(n(3)),a=r(n(4)),s=r(n(5)),u=r(n(6)),l=r(n(7)),c=r(n(33)),d=r(n(41)),f=n(14),h="/psa/gateway_requests";t.PATH=h,t.PSA_GATEWAY_REQUESTS="psa_gateway_requests";var p=function(e){(0,s.default)(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var i=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}(n);function n(e,r,i){(0,o.default)(this,n);var a=(0,f.extend)({},d.default.default("psa_gateway_requests"),i);return t.call(this,e,r,a)}return(0,a.default)(n,[{key:"getPath",value:function(e,t){switch((0,i.default)(t),e.toLowerCase()){case"post":return h;default:throw"not supported method: ".concat(e)}}}]),n}(c.default);t.PSAGatewayRequests=p},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}},function(e,t,n){"use strict";var r=function e(t,n,r){var i={headers:{}};return i.url=n,i.method=t,i._query=r,i.send=function(e){return i.form=e,i.body=e,i},i.timeout=function(){return i},i.type=function(){return i},i.set=function(e,t){return i.headers[e]=t,i},i.end=function(t){i.respond=t,i.query=i._query,e.handler&&e.handler(t,i)},i.query=function(e){return i._query=Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&"),i},e.calls.push(i),i};r.mock=!0,r.get=function(e,t,n){return n?r("get",e,t).end(n):r("get",e)},r.post=function(e){return r("post",e)},r.calls=[],r.getCalls=function(){return r.calls},r.clear=function(){return r.calls=[]},r.last=function(){return r.calls[r.calls.length-1]},r.respond=function(e,t){if(r.calls.length>1)throw"the queue has more than one call...response is ambigious";r.last().respond(e,t)},r.install=function(){r.clear(),jest.setMock("superagent",r)},e.exports=r},function(e,t,n){"use strict";(function(e){var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.createPromiseAndResolveAfterMs=t.mockLocalStorage=t.waitForCondition=t.waitForStackToUnwind=t.waitForMs=t.waitForUpdate=t.unmountDetachesWindowListener=t.createMockWindowObj=t.simulateGlobalEvent=t.getFirstGlobalListener=void 0;var i=r(n(17)),o=r(n(18)),a=n(27),s=n(14),u=n(250),l=e.setTimeout;l.mock&&(jest.useRealTimers(),l=e.setTimeout,jest.useFakeTimers());var c=function(t,n){return u(((n=n||e.addEventListener.mock.calls)||[]).filter((function(e){return e[0]===t})),[0,1])};t.getFirstGlobalListener=c,t.simulateGlobalEvent=function(t,n){var r=e.addEventListener.mock.calls.filter((function(e){return e[0]===t}));e.addEventListener.mock.calls.filter((function(e){return e[0]===t&&-1===r.indexOf(e[1])})).forEach((function(e){return e[1](n)}))},t.createMockWindowObj=function(){var e={};return{addEventListener:jest.fn().mockImplementation((function(t,n){e[t]||(e[t]=[]),e[t].push(n)})),removeEventListener:jest.fn().mockImplementation((function(t,n){e[t]=(e[t]||[]).filter((function(e){return e!==n}))})),simulate:function(t,n){(e[t]||[]).forEach((function(e){return e(n)}))}}},t.unmountDetachesWindowListener=function(t,n,r){e.addEventListener=jest.fn(),e.removeEventListener=jest.fn();var i=t();r&&r(i);var o=c(n);return a.unmountComponentAtNode(a.findDOMNode(i).parentNode),o&&!!s.findWhere(window.removeEventListener.mock.calls,(function(e){return e[0]===n&&e[1]===o}))},t.waitForUpdate=function(e){return new Promise((function(t){var n=e.instance();e.instance().componentDidUpdate||(e.instance().componentDidUpdate=s.noop);var r=jest.spyOn(n,"componentDidUpdate").mockImplementation((function(){r.mockRestore(),n.componentDidUpdate.apply(n,arguments),t()}))}))};var d=function(e){return new Promise((function(t){return l(t,e)}))};t.waitForMs=d,t.waitForStackToUnwind=function(){return d(0)},t.waitForCondition=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20;function r(e,t,i,o){try{e(),t()}catch(a){Date.now()<o?l((function(){return r(e,t,i,o)}),n):i(a)}}return new Promise((function(n,i){r(e,n,i,Date.now()+t)}))},t.mockLocalStorage=function(){e.localStorage={getItem:jest.fn(),setItem:jest.fn(),removeItem:jest.fn()}},t.createPromiseAndResolveAfterMs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default value resolved",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};return(0,o.default)(i.default.mark((function r(){return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise((function(r){setTimeout((function(){n(),r(e)}),t)})));case 1:case"end":return r.stop()}}),r)})))}}).call(this,n(23))},function(e,t,n){"use strict";var r=n(0)(n(11));t.exportBooleanAs=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null==e||null===(t=e.attributes)||void 0===t?void 0:t[n.name];return r.default.title(i?"yes":"no")}},function(e,t,n){"use strict";var r,i=n(65),o={},a={errors:["unexpected-error"]};t.setCallback=function(e){return r=e},t.verifyMethod=function(e){return expect(o.method.toLowerCase()).toEqual(e.toLowerCase())},t.verifyUrl=function(e){return expect(o.url).toEqual(e)},t.verifyRequest=function(e,n){t.verifyMethod(e),t.verifyUrl(n)},t.verifyPayload=function(e){return e(o.payload)},t.verifyNotCalled=function(){return expect(o).toEqual({})},t.mockSuccessResponse=function(e){var t=o;o={},t.callback(!1,{body:e})},t.mockErrorResponse=function(e,t){var n=o;o={},n.callback(e||new Error("default mock error message"),{body:t||a})},t.getPayload=function(){return o.payload},t.getUrl=function(){return o.url},t.mockReset=function(){o={},r=function(e){return o=e}},t.mockReset(),t.createJsonRequester=function(e){return function(t,n,i,o,a){return function(s,u){var l=e(u,n,i);r({method:t,url:l,payload:o,callback:a})}}},t.createFormRequester=function(e){return function(t,n,i,o,a){return function(s,u){var l=e(u,n,i);r({method:t,url:l,payload:o,callback:a})}}},t.changeCase=i.changeCase,t.snakeCase=i.snakeCase,t.camelCase=i.camelCase,t.promisify=i.promisify,t.parseErrorResponse=i.parseErrorResponse},function(e,t,n){"use strict";t.DEFAULT_COLOR="A2C5CB",t.COLORS=["BA86B1","B99AFF","F691B2","82A6AC","A2C5CB","C5D6D9","AC725E","C9302C","D9534F","E99002","FFBB33","FBE983","3F9564","51B67C","7BD148","B3DC6C","1DBAAF","92E1C0","4A90E2","6CA7E2","528AC3","999999","E2E2E2","EEEEEE"]},function(module,exports,__webpack_require__){"use strict";var details={},api=__webpack_require__(54),DEFAULT_HANDLER=function(e,t){return details=t},handler=DEFAULT_HANDLER;function createApiJsonRequester(e,t){return function(n,r,i,o){return function(){return new Promise((function(a){handler("request",{method:n,urlKey:r,urlArgs:i,payload:o,getFormattedUrl:e,retrieveToken:t,resolve:a})}))}}}function getToken(e,t){return new Promise((function(n){handler("getJwtToken",{hostname:e,refreshToken:t,resolve:n})}))}function login(e,t,n,r){return new Promise((function(i){handler("getRefreshToken",{hostname:e,email:t,password:n,mfa:r,resolve:i})}))}function apiRequest(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i?handler("apiRequest",{method:e,url:t,token:n,payload:r,isSync:i}):new Promise((function(o){handler("apiRequest",{method:e,url:t,token:n,payload:r,isSync:i,resolve:o})}))}for(var k in exports.mockClear=function(){["createApiJsonRequester","getToken","login"].forEach((function(n){return exports[n]=eval("jest.fn().mockImplementation(".concat(n,")"))}))},exports.mock={setHandler:function(e){return handler=e||DEFAULT_HANDLER}},exports.createApiJsonRequester=createApiJsonRequester,exports.getToken=getToken,exports.login=login,exports.apiRequest=apiRequest,exports.mockSuccessResponse=function(e){var t=details;details={},t.resolve({body:e})},exports.mockErrorResponse=function(){var e=details;details={},e.resolve({error:!0})},api)exports[k]||(exports[k]=api[k])},function(e,t,n){"use strict";var r=n(0),i=r(n(17)),o=r(n(18)),a=n(65),s=n(102),u=n(20).getOrgId,l=n(14),c={index:"/{organizationId}/resource_accesses?id={id}&type={type}",show:"/{organizationId}/resource_accesses/{id}?type={type}"},d=a.createJsonRequester((function(e,t,n){return s(c[t],l.defaults({},n,{organizationId:u()}))})),f=a.promisify(d);t.getUserList=function(e,t){return function(){var n=(0,o.default)(i.default.mark((function n(r){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",r(f("GET","index",{id:t,type:e})));case 1:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.getPermissions=function(e,t){return function(){var n=(0,o.default)(i.default.mark((function n(r){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",r(f("GET","show",{id:t,type:e})));case 1:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},t.saveSecuritySettings=function(e,t,n,r,i){var o={accessibleOption:n};r&&(o.resourceAccessAccounts_user_ids=r),i&&(o.resourceAccessGroup_ids=i);var a={resourceAccess:o};return function(n){return n(f("PUT","show",{id:t,type:e},a))}}},function(e,t,n){"use strict";var r=n(28),i=n(14);function o(e,t,n){var o=i.clone(t.path),a=r(e)[n](o,t.value);return"boolean"==typeof t.dirty&&(a=a.set(["dirty"],e.dirty||t.dirty)),a.end()}t.unset=function(e,t){return o(e,t,"unset")},t.set=function(e,t){return o(e,t,"set")},t.increment=function(e,t){return o(e,t,"increment")},t.decrement=function(e,t){return o(e,t,"decrement")},t.toggle=function(e,t){return o(e,t,"toggle")},t.append=function(e,t){return o(e,i.defaults({value:[t.value]},t),"concat")}},function(e,t,n){"use strict";var r=n(28),i=n(330).Types,o={organizations:[],favourites:[],currentOrganization:{attributes:{}},meta:{"current-page":0,"next-page":1,"prev-page":0,"total-pages":-1,"total-count":-1}},a=function(e,t){var n;switch(t.type){case i.ORG_SET_ORGANIZATIONS:n=function(e,t){return r(e).set(t.path,t.value).end()}(e,t);break;case i.ORG_APPEND_ORGANIZATIONS:n=function(e,t){return r(e).concat(["organizations"],t.value).end()}(e,t);break;case i.ORG_RESET:return o;default:return e||o}return n.organizations!==e.organizations||n.favourites!==e.favourites?function(e,t){var n=a.getMergedOrgs(t.organizations,t.favourites),i=t.favourites.map((function(e){return Object.assign({},e,{isFav:!0})}));return r(e).set(["organizations"],n).set(["favourites"],i).end()}(e,n):n};a.getMergedOrgs=function(e,t){if(!t||!t.length)return e;var n=t.reduce((function(e,t){return e[t.id]=!0,e}),{});return e.map((function(e){return Object.assign({},e,{isFav:!!n[e.id]})}))},e.exports=a},function(e,t,n){"use strict";var r=n(28),i=n(14),o=n(331).Types,a={passwords:[],passwordCategories:[],currentPassword:{},error:{},meta:{"current-page":0,"next-page":1,"prev-page":0,"total-pages":-1,"total-count":-1}};function s(e,t){return r(e).set(t.path,t.value).end()}e.exports=function(e,t){switch(t.type){case o.PASSWORD_SET:return s(e,t);case o.PASSWORD_DELETE:return function(e,t){var n=i.findIndex(e.passwords,{id:t.id});return s(e,{path:"passwords",value:r(e).unset(["passwords",n]).end().passwords})}(e,t);case o.PASSWORD_UPDATE:return function(e,t){var n=i.findIndex(e.passwords,{id:t.data.id});return s(e,{path:"passwords",value:r(e).set(["passwords",n],t.data).end().passwords})}(e,t);case o.PASSWORD_APPEND:return function(e,t){return r(e).push(["passwords"],t.data).end()}(e,t);case o.PASSWORDS_APPEND:return function(e,t){return r(e).concat(["passwords"],t.value).end()}(e,t);case o.PASSWORD_MASK:return function(e){return e.currentPassword.attributes?r(e).set(["currentPassword","attributes","password"],"xxxxxxxx").end():e}(e);case o.PASSWORD_RESET:return a;default:return e||a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNotSynced=function(e){var t=e.attributes["psa-integration"];return null==t||"orphaned"===t||"disabled"===t},t.isGeneralPassword=function(e){return!e["resource-type"]}},function(e,t,n){"use strict";n.r(t),n.d(t,"NetworkGraphWrapper",(function(){return jo}));var r={};n.r(r),n.d(r,"VERSION",(function(){return _.e})),n.d(r,"restArguments",(function(){return w})),n.d(r,"isObject",(function(){return E})),n.d(r,"isNull",(function(){return C})),n.d(r,"isUndefined",(function(){return A})),n.d(r,"isBoolean",(function(){return k})),n.d(r,"isElement",(function(){return S})),n.d(r,"isString",(function(){return D})),n.d(r,"isNumber",(function(){return O})),n.d(r,"isDate",(function(){return T})),n.d(r,"isRegExp",(function(){return F})),n.d(r,"isError",(function(){return M})),n.d(r,"isSymbol",(function(){return P})),n.d(r,"isMap",(function(){return L})),n.d(r,"isWeakMap",(function(){return R})),n.d(r,"isSet",(function(){return B})),n.d(r,"isWeakSet",(function(){return j})),n.d(r,"isArrayBuffer",(function(){return I})),n.d(r,"isDataView",(function(){return N})),n.d(r,"isArray",(function(){return H})),n.d(r,"isFunction",(function(){return Y})),n.d(r,"isArguments",(function(){return $})),n.d(r,"isFinite",(function(){return W})),n.d(r,"isNaN",(function(){return G})),n.d(r,"isTypedArray",(function(){return ee})),n.d(r,"isEmpty",(function(){return oe})),n.d(r,"isMatch",(function(){return ae})),n.d(r,"isEqual",(function(){return ue})),n.d(r,"keys",(function(){return ie})),n.d(r,"allKeys",(function(){return le})),n.d(r,"values",(function(){return ce})),n.d(r,"pairs",(function(){return de})),n.d(r,"invert",(function(){return fe})),n.d(r,"functions",(function(){return he})),n.d(r,"methods",(function(){return he})),n.d(r,"extend",(function(){return me})),n.d(r,"extendOwn",(function(){return ve})),n.d(r,"assign",(function(){return ve})),n.d(r,"defaults",(function(){return ge})),n.d(r,"create",(function(){return be})),n.d(r,"clone",(function(){return _e})),n.d(r,"tap",(function(){return we})),n.d(r,"has",(function(){return Ee})),n.d(r,"mapObject",(function(){return Fe})),n.d(r,"identity",(function(){return Ce})),n.d(r,"constant",(function(){return q})),n.d(r,"noop",(function(){return Me})),n.d(r,"property",(function(){return Se})),n.d(r,"propertyOf",(function(){return Pe})),n.d(r,"matcher",(function(){return Ae})),n.d(r,"matches",(function(){return Ae})),n.d(r,"times",(function(){return Le})),n.d(r,"random",(function(){return Re})),n.d(r,"now",(function(){return Be})),n.d(r,"escape",(function(){return Ne})),n.d(r,"unescape",(function(){return He})),n.d(r,"templateSettings",(function(){return ze})),n.d(r,"template",(function(){return We})),n.d(r,"result",(function(){return Ge})),n.d(r,"uniqueId",(function(){return Ke})),n.d(r,"chain",(function(){return Xe})),n.d(r,"iteratee",(function(){return Oe})),n.d(r,"partial",(function(){return Qe})),n.d(r,"bind",(function(){return et})),n.d(r,"bindAll",(function(){return nt})),n.d(r,"memoize",(function(){return rt})),n.d(r,"delay",(function(){return it})),n.d(r,"defer",(function(){return ot})),n.d(r,"throttle",(function(){return at})),n.d(r,"debounce",(function(){return st})),n.d(r,"wrap",(function(){return ut})),n.d(r,"negate",(function(){return lt})),n.d(r,"compose",(function(){return ct})),n.d(r,"after",(function(){return dt})),n.d(r,"before",(function(){return ft})),n.d(r,"once",(function(){return ht})),n.d(r,"findKey",(function(){return pt})),n.d(r,"findIndex",(function(){return vt})),n.d(r,"findLastIndex",(function(){return gt})),n.d(r,"sortedIndex",(function(){return yt})),n.d(r,"indexOf",(function(){return _t})),n.d(r,"lastIndexOf",(function(){return wt})),n.d(r,"find",(function(){return Et})),n.d(r,"detect",(function(){return Et})),n.d(r,"findWhere",(function(){return Ct})),n.d(r,"each",(function(){return At})),n.d(r,"forEach",(function(){return At})),n.d(r,"map",(function(){return kt})),n.d(r,"collect",(function(){return kt})),n.d(r,"reduce",(function(){return xt})),n.d(r,"foldl",(function(){return xt})),n.d(r,"inject",(function(){return xt})),n.d(r,"reduceRight",(function(){return Dt})),n.d(r,"foldr",(function(){return Dt})),n.d(r,"filter",(function(){return Ot})),n.d(r,"select",(function(){return Ot})),n.d(r,"reject",(function(){return Tt})),n.d(r,"every",(function(){return Ft})),n.d(r,"all",(function(){return Ft})),n.d(r,"some",(function(){return Mt})),n.d(r,"any",(function(){return Mt})),n.d(r,"contains",(function(){return Pt})),n.d(r,"includes",(function(){return Pt})),n.d(r,"include",(function(){return Pt})),n.d(r,"invoke",(function(){return Lt})),n.d(r,"pluck",(function(){return Rt})),n.d(r,"where",(function(){return Bt})),n.d(r,"max",(function(){return jt})),n.d(r,"min",(function(){return It})),n.d(r,"shuffle",(function(){return Ht})),n.d(r,"sample",(function(){return Nt})),n.d(r,"sortBy",(function(){return zt})),n.d(r,"groupBy",(function(){return Ut})),n.d(r,"indexBy",(function(){return Vt})),n.d(r,"countBy",(function(){return $t})),n.d(r,"partition",(function(){return Wt})),n.d(r,"toArray",(function(){return qt})),n.d(r,"size",(function(){return Kt})),n.d(r,"pick",(function(){return Zt})),n.d(r,"omit",(function(){return Jt})),n.d(r,"first",(function(){return en})),n.d(r,"head",(function(){return en})),n.d(r,"take",(function(){return en})),n.d(r,"initial",(function(){return Qt})),n.d(r,"last",(function(){return nn})),n.d(r,"rest",(function(){return tn})),n.d(r,"tail",(function(){return tn})),n.d(r,"drop",(function(){return tn})),n.d(r,"compact",(function(){return rn})),n.d(r,"flatten",(function(){return on})),n.d(r,"without",(function(){return sn})),n.d(r,"uniq",(function(){return un})),n.d(r,"unique",(function(){return un})),n.d(r,"union",(function(){return ln})),n.d(r,"intersection",(function(){return cn})),n.d(r,"difference",(function(){return an})),n.d(r,"unzip",(function(){return dn})),n.d(r,"transpose",(function(){return dn})),n.d(r,"zip",(function(){return fn})),n.d(r,"object",(function(){return hn})),n.d(r,"range",(function(){return pn})),n.d(r,"chunk",(function(){return mn})),n.d(r,"mixin",(function(){return gn})),n.d(r,"default",(function(){return yn}));var i=n(16),o=n.n(i),a=n(333),s=n.n(a),u=n(128),l=(s()(u.a,{insert:"head",singleton:!1}),n(24)),c=n(42),d=n.n(c),f=n(336),h=n.n(f),p=n(93);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=e.edges;return{nodes:new p.DataSet(e.nodes),edges:new p.DataSet(t)}}var b=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return console.log("unhandled error",e)},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=new h.a("Font Awesome 5 Pro"),s=10;function u(){var r;o=v(v({},o),{},{edges:v({},o.edges),groups:v({},o.groups),interaction:v({},o.interaction),layout:v({},o.layout),nodes:v({},o.nodes),physics:v({},o.physics)});try{r=new p.Network(e,i,o),t(r)}catch(e){n(e)}}var l=function(){console.log("loaded"),a.load().then((function(e){u()}),(function(e){u()}))},c=function t(){s--,(e=document.getElementById(r))?l():s>0&&setTimeout(t,0)};c()},_=n(15);function w(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<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}}function E(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function C(e){return null===e}function A(e){return void 0===e}function k(e){return!0===e||!1===e||"[object Boolean]"===_.s.call(e)}function S(e){return!(!e||1!==e.nodeType)}function x(e){return function(t){return _.s.call(t)==="[object "+e+"]"}}var D=x("String"),O=x("Number"),T=x("Date"),F=x("RegExp"),M=x("Error"),P=x("Symbol"),L=x("Map"),R=x("WeakMap"),B=x("Set"),j=x("WeakSet"),I=x("ArrayBuffer"),N=x("DataView"),H=_.k||x("Array"),z=x("Function");"object"!=typeof Int8Array&&"function"!=typeof(_.p.document&&_.p.document.childNodes)&&(z=function(e){return"function"==typeof e||!1});var Y=z;function U(e,t){return null!=e&&_.i.call(e,t)}var V=x("Arguments");!function(){V(arguments)||(V=function(e){return U(e,"callee")})}();var $=V;function W(e){return!P(e)&&Object(_.f)(e)&&!isNaN(parseFloat(e))}function G(e){return O(e)&&Object(_.g)(e)}function q(e){return function(){return e}}function K(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=_.b}}function X(e){return function(t){return null==t?void 0:t[e]}}var Z=X("byteLength"),J=K(Z),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,ee=_.r?function(e){return _.l?Object(_.l)(e)&&!N(e):J(e)&&Q.test(_.s.call(e))}:q(!1),te=X("length"),ne=K(te);function re(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=_.n.length,r=e.constructor,i=Y(r)&&r.prototype||_.c,o="constructor";for(U(e,o)&&!t.contains(o)&&t.push(o);n--;)(o=_.n[n])in e&&e[o]!==i[o]&&!t.contains(o)&&t.push(o)}function ie(e){if(!E(e))return[];if(_.m)return Object(_.m)(e);var t=[];for(var n in e)U(e,n)&&t.push(n);return _.h&&re(e,t),t}function oe(e){return null==e||(ne(e)&&(H(e)||D(e)||$(e))?0===e.length:0===ie(e).length)}function ae(e,t){var n=ie(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0}function se(e){return e instanceof se?e:this instanceof se?void(this._wrapped=e):new se(e)}function ue(e,t){return function e(t,n,r,i){if(t===n)return 0!==t||1/t==1/n;if(null==t||null==n)return!1;if(t!=t)return n!=n;var o=typeof t;return("function"===o||"object"===o||"object"==typeof n)&&function t(n,r,i,o){n instanceof se&&(n=n._wrapped),r instanceof se&&(r=r._wrapped);var a=_.s.call(n);if(a!==_.s.call(r))return!1;switch(a){case"[object RegExp]":case"[object String]":return""+n==""+r;case"[object Number]":return+n!=+n?+r!=+r:0==+n?1/+n==1/r:+n==+r;case"[object Date]":case"[object Boolean]":return+n==+r;case"[object Symbol]":return _.d.valueOf.call(n)===_.d.valueOf.call(r);case"[object ArrayBuffer]":return t(new DataView(n),new DataView(r),i,o);case"[object DataView]":var s=Z(n);if(s!==Z(r))return!1;for(;s--;)if(n.getUint8(s)!==r.getUint8(s))return!1;return!0}if(ee(n))return t(new DataView(n.buffer),new DataView(r.buffer),i,o);var u="[object Array]"===a;if(!u){if("object"!=typeof n||"object"!=typeof r)return!1;var l=n.constructor,c=r.constructor;if(l!==c&&!(Y(l)&&l instanceof l&&Y(c)&&c instanceof c)&&"constructor"in n&&"constructor"in r)return!1}o=o||[];for(var d=(i=i||[]).length;d--;)if(i[d]===n)return o[d]===r;if(i.push(n),o.push(r),u){if((d=n.length)!==r.length)return!1;for(;d--;)if(!e(n[d],r[d],i,o))return!1}else{var f,h=ie(n);if(d=h.length,ie(r).length!==d)return!1;for(;d--;)if(!U(r,f=h[d])||!e(n[f],r[f],i,o))return!1}return i.pop(),o.pop(),!0}(t,n,r,i)}(e,t)}function le(e){if(!E(e))return[];var t=[];for(var n in e)t.push(n);return _.h&&re(e,t),t}function ce(e){for(var t=ie(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}function de(e){for(var t=ie(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}function fe(e){for(var t={},n=ie(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}function he(e){var t=[];for(var n in e)Y(e[n])&&t.push(n);return t.sort()}function pe(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,u=0;u<s;u++){var l=a[u];t&&void 0!==n[l]||(n[l]=o[l])}return n}}se.VERSION=_.e,se.prototype.valueOf=se.prototype.toJSON=se.prototype.value=function(){return this._wrapped},se.prototype.toString=function(){return String(this._wrapped)};var me=pe(le),ve=pe(ie),ge=pe(le,!0);function ye(e){if(!E(e))return{};if(_.j)return Object(_.j)(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function be(e,t){var n=ye(e);return t&&ve(n,t),n}function _e(e){return E(e)?H(e)?e.slice():me({},e):e}function we(e,t){return t(e),e}function Ee(e,t){if(!H(t))return U(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!_.i.call(e,i))return!1;e=e[i]}return!!n}function Ce(e){return e}function Ae(e){return e=ve({},e),function(t){return ae(t,e)}}function ke(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Se(e){return H(e)?function(t){return ke(t,e)}:X(e)}function xe(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}}function De(e,t,n){return null==e?Ce:Y(e)?xe(e,t,n):E(e)&&!H(e)?Ae(e):Se(e)}function Oe(e,t){return De(e,t,1/0)}function Te(e,t,n){return se.iteratee!==Oe?se.iteratee(e,t):De(e,t,n)}function Fe(e,t,n){t=Te(t,n);for(var r=ie(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o}function Me(){}function Pe(e){return null==e?function(){}:function(t){return H(t)?ke(e,t):e[t]}}function Le(e,t,n){var r=Array(Math.max(0,e));t=xe(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function Re(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}se.iteratee=Oe;var Be=Date.now||function(){return(new Date).getTime()};function je(e){var t=function(t){return e[t]},n="(?:"+ie(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return r.test(e=null==e?"":""+e)?e.replace(i,t):e}}var Ie={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Ne=je(Ie),He=je(fe(Ie)),ze=se.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ye=/(.)^/,Ue={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ve=/\\|'|\r|\n|\u2028|\u2029/g;function $e(e){return"\\"+Ue[e]}function We(e,t,n){!t&&n&&(t=n),t=ge({},t,se.templateSettings);var r,i=RegExp([(t.escape||Ye).source,(t.interpolate||Ye).source,(t.evaluate||Ye).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,(function(t,n,r,i,s){return a+=e.slice(o,s).replace(Ve,$e),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t})),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,se)};return s.source="function("+(t.variable||"obj")+"){\n"+a+"}",s}function Ge(e,t,n){H(t)||(t=[t]);var r=t.length;if(!r)return Y(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=Y(o)?o.call(e):o}return e}var qe=0;function Ke(e){var t=++qe+"";return e?e+t:t}function Xe(e){var t=se(e);return t._chain=!0,t}function Ze(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=ye(e.prototype),a=e.apply(o,i);return E(a)?a:o}var Je=w((function(e,t){var n=Je.placeholder;return function r(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return Ze(e,r,this,this,a)}}));Je.placeholder=se;var Qe=Je,et=w((function(e,t,n){if(!Y(e))throw new TypeError("Bind must be called on a function");var r=w((function(i){return Ze(e,r,t,this,n.concat(i))}));return r}));function tt(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var i=r.length,o=0,a=te(e);o<a;o++){var s=e[o];if(ne(s)&&(H(s)||$(s)))if(t>1)tt(s,t-1,n,r),i=r.length;else for(var u=0,l=s.length;u<l;)r[i++]=s[u++];else n||(r[i++]=s)}return r}var nt=w((function(e,t){var n=(t=tt(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=et(e[r],e)}return e}));function rt(e,t){var n=function n(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return U(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n}var it=w((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),ot=Qe(it,se,1);function at(e,t,n){var r,i,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:Be(),r=null,a=e.apply(i,o),r||(i=o=null)},l=function(){var l=Be();s||!1!==n.leading||(s=l);var c=t-(l-s);return i=this,o=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=l,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l}function st(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=w((function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=it(o,t,this,a);return i}));return a.cancel=function(){clearTimeout(r),r=null},a}function ut(e,t){return Qe(t,e)}function lt(e){return function(){return!e.apply(this,arguments)}}function ct(){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 dt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function ft(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ht=Qe(ft,2);function pt(e,t,n){t=Te(t,n);for(var r,i=ie(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r}function mt(e){return function(t,n,r){n=Te(n,r);for(var i=te(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}}var vt=mt(1),gt=mt(-1);function yt(e,t,n,r){for(var i=(n=Te(n,r,1))(t),o=0,a=te(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o}function bt(e,t,n){return function(r,i,o){var a=0,s=te(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(_.q.call(r,a,s),G))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}}var _t=bt(1,vt,yt),wt=bt(-1,gt);function Et(e,t,n){var r=(ne(e)?vt:pt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function Ct(e,t){return Et(e,Ae(t))}function At(e,t,n){var r,i;if(t=xe(t,n),ne(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=ie(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e}function kt(e,t,n){t=Te(t,n);for(var r=!ne(e)&&ie(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o}function St(e){var t=function(t,n,r,i){var o=!ne(t)&&ie(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var u=o?o[s]:s;r=n(r,t[u],u,t)}return r};return function(e,n,r,i){var o=arguments.length>=3;return t(e,xe(n,i,4),r,o)}}var xt=St(1),Dt=St(-1);function Ot(e,t,n){var r=[];return t=Te(t,n),At(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function Tt(e,t,n){return Ot(e,lt(Te(t)),n)}function Ft(e,t,n){t=Te(t,n);for(var r=!ne(e)&&ie(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0}function Mt(e,t,n){t=Te(t,n);for(var r=!ne(e)&&ie(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1}function Pt(e,t,n,r){return ne(e)||(e=ce(e)),("number"!=typeof n||r)&&(n=0),_t(e,t,n)>=0}var Lt=w((function(e,t,n){var r,i;return Y(t)?i=t:H(t)&&(r=t.slice(0,-1),t=t[t.length-1]),kt(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=ke(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))}));function Rt(e,t){return kt(e,Se(t))}function Bt(e,t){return Ot(e,Ae(t))}function jt(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=ne(e)?e:ce(e)).length;s<u;s++)null!=(r=e[s])&&r>o&&(o=r);else t=Te(t,n),At(e,(function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)}));return o}function It(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=ne(e)?e:ce(e)).length;s<u;s++)null!=(r=e[s])&&r<o&&(o=r);else t=Te(t,n),At(e,(function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)}));return o}function Nt(e,t,n){if(null==t||n)return ne(e)||(e=ce(e)),e[Re(e.length-1)];var r=ne(e)?_e(e):ce(e),i=te(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=Re(a,o),u=r[a];r[a]=r[s],r[s]=u}return r.slice(0,t)}function Ht(e){return Nt(e,1/0)}function zt(e,t,n){var r=0;return t=Te(t,n),Rt(kt(e,(function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function Yt(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=Te(r,i),At(n,(function(t,i){var a=r(t,i,n);e(o,t,a)})),o}}var Ut=Yt((function(e,t,n){U(e,n)?e[n].push(t):e[n]=[t]})),Vt=Yt((function(e,t,n){e[n]=t})),$t=Yt((function(e,t,n){U(e,n)?e[n]++:e[n]=1})),Wt=Yt((function(e,t,n){e[n?0:1].push(t)}),!0),Gt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function qt(e){return e?H(e)?_.q.call(e):D(e)?e.match(Gt):ne(e)?kt(e,Ce):ce(e):[]}function Kt(e){return null==e?0:ne(e)?e.length:ie(e).length}function Xt(e,t,n){return t in n}var Zt=w((function(e,t){var n={},r=t[0];if(null==e)return n;Y(r)?(t.length>1&&(r=xe(r,t[1])),t=le(e)):(r=Xt,t=tt(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n})),Jt=w((function(e,t){var n,r=t[0];return Y(r)?(r=lt(r),t.length>1&&(n=t[1])):(t=kt(tt(t,!1,!1),String),r=function(e,n){return!Pt(t,n)}),Zt(e,r,n)}));function Qt(e,t,n){return _.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function en(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Qt(e,e.length-t)}function tn(e,t,n){return _.q.call(e,null==t||n?1:t)}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:tn(e,Math.max(0,e.length-t))}function rn(e){return Ot(e,Boolean)}function on(e,t){return tt(e,t,!1)}var an=w((function(e,t){return t=tt(t,!0,!0),Ot(e,(function(e){return!Pt(t,e)}))})),sn=w((function(e,t){return an(e,t)}));function un(e,t,n,r){k(t)||(r=n,n=t,t=!1),null!=n&&(n=Te(n,r));for(var i=[],o=[],a=0,s=te(e);a<s;a++){var u=e[a],l=n?n(u,a,e):u;t&&!n?(a&&o===l||i.push(u),o=l):n?Pt(o,l)||(o.push(l),i.push(u)):Pt(i,u)||i.push(u)}return i}var ln=w((function(e){return un(tt(e,!0,!0))}));function cn(e){for(var t=[],n=arguments.length,r=0,i=te(e);r<i;r++){var o=e[r];if(!Pt(t,o)){var a;for(a=1;a<n&&Pt(arguments[a],o);a++);a===n&&t.push(o)}}return t}function dn(e){for(var t=e&&jt(e,te).length||0,n=Array(t),r=0;r<t;r++)n[r]=Rt(e,r);return n}var fn=w(dn);function hn(e,t){for(var n={},r=0,i=te(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function pn(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i}function mn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(_.q.call(e,r,r+=t));return n}function vn(e,t){return e._chain?se(t).chain():t}function gn(e){return At(he(e),(function(t){var n=se[t]=e[t];se.prototype[t]=function(){var e=[this._wrapped];return _.o.apply(e,arguments),vn(this,n.apply(se,e))}})),se}At(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=_.a[e];se.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),vn(this,n)}})),At(["concat","join","slice"],(function(e){var t=_.a[e];se.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),vn(this,e)}}));var yn=se,bn=gn(r);bn._=bn;var _n=l.Constants.ConfigurationTypes.Types,wn="hubFiltered",En="ACCESS_POINT",Cn="HUB",An="PRINTER",kn="ROUTER",Sn="STORAGE",xn="SWITCH",Dn="WORKSTATION",On="VIRTUAL_SWITCH",Tn="VIRTUAL_MACHINE",Fn="Internal",Mn="External",Pn="Hyper-V",Ln="Primary Domain Controller",Rn="Backup Domain Controller";function Bn(e,t){return(e&t)===t}function jn(e){var t=e.attributes["device-type"];if(e.attributes["configuration-id"])switch(e.attributes["configuration-type-name"]){case _n.SWITCH:return xn;case _n.SERVER:return"SERVER";case _n.ROUTER:return kn;case _n.COMPUTER:return Dn;case _n.PRINTER:return An;case _n.WIFI:return En;case _n.PHONE:return"VOIP";case _n.BACKUP:return Sn;case _n.VIRTUAL_SWITCH:return On;case _n.VIRTUAL_MACHINE:return Tn}return t}var In="#FFFFFF",Nn="#4A4A4A",Hn="#AAAAAA",zn="#90CA4F",Yn="#D6E6C4",Un="#EEE2CB",Vn="#D9534F",$n="#E99002",Wn="#6C5CC1",Gn="#AFA7D8",qn="#6CA7E2",Kn="#A3C4E5",Xn="#6E8194",Zn="#A0ACB7",Jn="#333333",Qn="#7986cb",er="#0288d1",tr="#ff6f00",nr="#4caf50",rr="#bdbdbd";function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e,t,n){return{background:e,border:t,hover:n,highlight:n}}function sr(e,t,n){return{code:e,color:t,face:n?"'Network Glue'":"'Font Awesome 5 Pro'"}}function ur(e){return"data:image/svg+xml;charset=utf-8,"+encodeURIComponent(e)}function lr(e){return'<path xmlns="http://www.w3.org/2000/svg" fill="'.concat(e,'" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"/>')}function cr(e){return'<path xmlns="http://www.w3.org/2000/svg" fill="'.concat(e,'" d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/>')}function dr(e){return'<path xmlns="http://www.w3.org/2000/svg" fill="'.concat(e,'" d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/>')}function fr(e){return'<path fill="'.concat(e,'" d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"/>')}function hr(e){return'<circle cx="50%" cy="50%" r="256" fill="'.concat(e,'" />')}function pr(e,t){return'<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">'.concat(hr(e)).concat(t,"</svg>")}var mr=lr($n),vr=hr(In),gr='<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">'+vr+mr+"</svg>",yr='<svg width="512" height="512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">'+vr+lr(Hn)+"</svg>",br=ur(gr),_r=ur(yr),wr=function(){return'\n    <svg width="10" height="10" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">\n        <circle cx="50%" cy="50%" r="50%" mask="url(#rmvCir)" fill="#FFFFFF" stroke="'.concat(tr,'" stroke-dasharray="20 30" stroke-width="1em" />\n        <mask id="rmvCir">\n            <circle cx="50%" cy="50%" r="50%" fill="white" />\n            <circle cx="50%" cy="50%" r="0%" fill="black" />\n        </mask>\n    </svg>\n')},Er=ur(wr()),Cr=ur(wr());function Ar(e,t,n){return'\n        <svg version="1.1" width="20" height="10" viewBox="0 0 20 10" xmlns="http://www.w3.org/2000/svg">\n            <rect width="20" height="10" fill="'.concat(rr,'" ry="5" rx="5"/>\n            <circle cx="5" cy="5" r="5" fill="').concat(rr,'" />\n            ').concat(e,'\n            <style><![CDATA[\n                text {\n                    font: 5px Open Sans;\n                }\n                ]]>\n            </style>\n            <text x="14.5" y="5" dominant-baseline="central" alignment-baseline="central" text-anchor="middle" fill="').concat(Nn,'">').concat(""+t,"</text>\n        </svg>\n    ")}function kr(e,t){var n=5*(e.length-1)/2,r=10+n,i=r/2+n/2,o=r/2;return'\n        <svg version="1.1" width="'.concat(2*r,'" height="10" viewBox="0 0 ').concat(2*r,' 10" xmlns="http://www.w3.org/2000/svg">\n            <rect x="').concat(i,'" y="0" width="').concat(r,'" height="').concat(10,'" fill="').concat(t?"#C4E0E1":"#05B9C0",'" ry="5" rx="5"/>\n            <style><![CDATA[\n                text {\n                    font: ').concat(5,'px Roboto;\n                }\n                ]]>\n            </style>\n            <text x="').concat(i+o,'" y="').concat(5,'" dominant-baseline="central" alignment-baseline="central" text-anchor="middle" fill="').concat(In,'">').concat(""+e,"</text>\n        </svg>\n    ")}var Sr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ur(Ar(e,t))},xr=function(e,t,n){var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){or(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({isDimmed:!1,useNGIcon:!1,zIndex:null,physics:{enabled:!1},interaction:{hover:!0}},n),i=r.iconColor||e,o={color:ar(r.isDimmed?"#ECECEC":"#FFFFFF",e,{background:In,border:n&&n.sameBorderColor?e:Qn}),icon:sr(t,i,r.useNGIcon)};return null!==r.zIndex&&(o.zIndex=r.zIndex),o},Dr={accessPoint:xr(Qn,"\uf1eb"),accessPointFiltered:xr(Qn,"\uf1eb"),computer:xr(Qn,"\uf108"),computerFiltered:xr(Qn,"\uf108"),computerBDC:xr(zn,"\ue801",{ngIcon:!0}),computerBDCFiltered:xr(Yn,"\ue801",{useNGIcon:!0}),computerPDC:xr(zn,"\ue802",{ngIcon:!0}),computerPDCFiltered:xr(Yn,"\ue802",{useNGIcon:!0}),firewall:xr(tr,"\uf7e4",{sameBorderColor:!0}),firewallFiltered:xr(Un,"\uf7e4"),hub:{color:ar(tr,tr,{background:tr,border:tr,sameBorderColor:!0}),size:12,zIndex:1},hubFiltered:{color:ar(Hn,Hn,{background:Hn,border:Hn}),size:12,zIndex:1},loadBalancer:xr(Qn,"\uf0e8"),loadBalancerFiltered:xr(Qn,"\uf0e8"),modem:xr(Qn,"\uf0a0"),modemFiltered:xr(Qn,"\uf0a0"),printer:xr(Qn,"\uf02f"),printerFiltered:xr(Qn,"\uf02f"),router:xr(tr,"\uf0a0",{sameBorderColor:!0,zIndex:1}),routerFiltered:xr(Un,"\uf0a0",{zIndex:1}),security:xr(Qn,"\uf30d"),securityFiltered:xr(Qn,"\uf30d"),server:xr(Qn,"\uf233",{zIndex:1}),serverFiltered:xr(Qn,"\uf233",{zIndex:1}),serverBDC:xr(zn,"\ue804",{useNGIcon:!0,zIndex:1}),serverBDCFiltered:xr(Yn,"\ue804",{useNGIcon:!0,zIndex:1}),serverPDC:xr(zn,"\ue803",{useNGIcon:!0,zIndex:1}),serverPDCFiltered:xr(Yn,"\ue803",{useNGIcon:!0,zIndex:1}),storage:xr(Qn,"\uf1c0"),storageFiltered:xr(Qn,"\uf1c0"),switch:xr(tr,"\uf362",{zIndex:1,enlarge:!0,sameBorderColor:!0,iconColor:"#212121"}),switchFiltered:xr(Un,"\uf362",{zIndex:1}),unknown:xr(Qn,"\uf796",{zIndex:1}),unknownFiltered:xr(Qn,"\uf796",{zIndex:1}),unknownBDC:xr(zn,"\ue806",{useNGIcon:!0,zIndex:1}),unknownBDCFiltered:xr(Yn,"\ue806",{useNGIcon:!0,zIndex:1}),unknownPDC:xr(zn,"\ue805",{useNGIcon:!0,zIndex:1}),unknownPDCFiltered:xr(Yn,"\ue805",{useNGIcon:!0,zIndex:1}),voip:xr(Qn,"\uf2a0"),voipFiltered:xr(Qn,"\uf2a0"),vmHyperVUnknownConnection:xr(Xn,"\uf24d"),vmHyperVUnknownConnectionFiltered:xr(Zn,"\uf24d"),vmHyperVInternalConnection:xr(qn,"\uf24d"),vmHyperVInternalConnectionFiltered:xr(Kn,"\uf24d"),vmHyperVExternalConnection:xr(Wn,"\uf24d"),vmHyperVExternalConnectionFiltered:xr(Gn,"\uf24d"),vmVMware:xr(Xn,"\uf24d"),vmVMwareFiltered:xr(Zn,"\uf24d"),vmBDC:xr(zn,"\ue807",{useNGIcon:!0,zIndex:1,enlarge:!0}),vmBDCFiltered:xr(Yn,"\ue807",{useNGIcon:!0,zIndex:1,enlarge:!0}),vmPDC:xr(zn,"\ue808",{useNGIcon:!0,zIndex:1,enlarge:!0}),vmPDCFiltered:xr(Yn,"\ue808",{useNGIcon:!0,zIndex:1,enlarge:!0}),virtualSwitchInternal:xr(qn,"\uf362",{zIndex:1}),virtualSwitchInternalFiltered:xr(Kn,"\uf362",{zIndex:1}),virtualSwitchExternal:xr(Wn,"\uf362",{zIndex:1}),virtualSwitchExternalFiltered:xr(Gn,"\uf362",{zIndex:1}),virtualSwitch:xr(Xn,"\uf362",{zIndex:1}),virtualSwitchFiltered:xr(Zn,"\uf362",{zIndex:1}),groupSize:{shape:"image",size:15,zIndex:2},question:{image:{selected:br,unselected:br},shape:"image",size:12,zIndex:2},checked:{image:{selected:ur(pr(In,cr(nr))),unselected:ur(pr(In,cr(nr)))},shape:"image",size:12,zIndex:2},critical:{image:{selected:ur(pr(In,dr(Vn))),unselected:ur(pr(In,dr(Vn)))},shape:"image",size:12,zIndex:2},nothing:{size:0,zIndex:-1e3},elevate:{image:{selected:ur(pr(In,dr($n))),unselected:ur(pr(In,dr($n)))},shape:"image",size:12,zIndex:2},normal:{image:{selected:ur(pr(In,dr(nr))),unselected:ur(pr(In,dr(nr)))},shape:"image",size:12,zIndex:2},low:{image:{selected:ur(pr(In,dr(rr))),unselected:ur(pr(In,dr(rr)))},shape:"image",size:12,zIndex:2},dot:{image:{selected:ur(pr(In,fr(er))),unselected:ur(pr(In,fr(er)))},shape:"image",size:12,zIndex:2},questionFiltered:{image:{selected:_r,unselected:_r},shape:"image",size:12,zIndex:2},halo:{image:{selected:Er,unselected:Er},shape:"image",size:70,zIndex:-10},haloFiltered:{image:{selected:Cr,unselected:Cr},shape:"image",size:70,zIndex:-10},haloForHub:{image:{selected:Er,unselected:Er},shape:"image",size:35,zIndex:-10},haloForHubFiltered:{image:{selected:Cr,unselected:Cr},shape:"image",size:35,zIndex:-10},plus:{shape:"image",size:15,zIndex:2},plusFiltered:{shape:"image",size:15,zIndex:2},minus:{shape:"image",size:15,zIndex:2},minusFiltered:{shape:"image",size:15,zIndex:2}},Or={color:{color:Jn},smooth:{enabled:!0,type:"cubicBezier",forceDirection:"vertical",roundness:.5},shadow:{enabled:!0,color:"rgba(0, 0, 0, 0.3)",size:5,x:5,y:2},width:.25,hoverWidth:function(e){return 1.5*e}},Tr=function(e){return{dashes:[1/e,4/e],width:1/e,color:{color:Jn}}};function Fr(e,t,n){e.setOptions(function(e){return{edges:{width:.25/e},nodes:{size:35/e,font:{size:14/e}},groups:{hub:{size:12/e},hubFiltered:{size:12/e},groupSize:{shape:"image",zIndex:2,size:15/e},question:{size:12/e},questionFiltered:{size:12/e},halo:{size:70/e},haloFiltered:{size:70/e},haloForHub:{size:35/e},haloForHubFiltered:{size:35/e},plus:{size:15/e},plusFiltered:{size:15/e},minus:{size:15/e},minusFiltered:{size:15/e}}}}(n));var r=Tr(n);Object.keys(t.edges._data).forEach((function(n){t.edges._data[n].dashes&&e.clustering.updateEdge(n,r)})),e.stopSimulation()}function Mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(n),!0).forEach((function(t){Lr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Br(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Br(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Br(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jr(e){return"".concat(e,"-group-size")}function Ir(e){return e.indexOf("group-by-")>-1&&e.indexOf("-group-size")<0}function Nr(e){e.body.nodeIndices.filter((function(e){return Ir(""+e)})).forEach((function(t){!function(e,t){e.openCluster(t,{releaseFunction:function(e,t){return t}})}(e,t),vi(e,jr(t))}))}function Hr(e,t){var n=function(e){var t={};return e.body.nodeIndices.forEach((function(n){var r,i=e.body.nodes[n],o=jn(i.options);if(o!==Cn&&zi(i.options)&&(null===(r=i.options.parents)||void 0===r?void 0:r.length)>=1){var a=i.options.parents.sort().toString();t[a]||(t[a]={id:a,children:{},childrenTypesSet:new Set}),t[a].children[i.id]=i,t[a].childrenTypesSet.add(o)}})),xt(t,(function(e,t){return e.push(t),e}),[])}(e),r=[];n.forEach((function(n){var i,o=n.id,a=n.children,s=Rr(n.childrenTypesSet);try{for(s.s();!(i=s.n()).done;){var u=zr(e,o,a,i.value,t);r.push(u)}}catch(e){s.e(e)}finally{s.f()}})),function(e,t,n){var r,i=[],o=Wr(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=jr(a);e.body.nodes[s]?gi(e,s):i.push(a)}}catch(e){o.e(e)}finally{o.f()}i.length&&function(e,t,n){qr(e,ri.bind(null,t),ii.bind(null,n))}(e,i,n)}(e,r,t)}function zr(e,t,n,r,i){var o,a=function(e,t){for(var n,r=0,i=Object.keys(e);r<i.length;r++){var o=e[i[r]];if(jn(o.options)===t){if(n&&!(o.options.level>=n.options.level))continue;n=o}}return n}(n,r),s=e.body.data.nodes._data,u={},l={},c=0,d=Rr(e.body.nodeIndices);try{for(d.s();!(o=d.n()).done;){var f=e.body.data.nodes._data[o.value];if(f){var h=f;h.isAddon&&(h=h.for),(h=n[h.id])&&jn(h.options)===r&&(l[f.id]=!0,u[h.id]=h,f.isAddon||c++)}}}catch(e){d.e(e)}finally{d.f()}var p=function(e,t){return"group-by-".concat(t,"-for-").concat(e)}(t,r),m={joinCondition:function(e){var t=s[e.id];return!!t&&!!l[t.id]},clusterNodeProperties:Pr(Pr({allowSingleNodeCluster:!0},a.options),{},{group:no(r,i),id:p,label:"",color:a.options.color,zIndex:a.options.zIndex,groupDetail:{type:r,size:c,nodes:u}})};return e.cluster(m),p}function Yr(e,t){return e.body.nodes[t].options.groupDetail}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ur(Object(n),!0).forEach((function(t){$r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ur(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wr(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Gr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qr(e,t,n){var r,i=[],o=e.body.data.nodes,a=Wr(e.body.nodeIndices);try{for(a.s();!(r=a.n()).done;){var s=e.body.nodes[r.value];s&&!s.options.isAddon&&t(s.options)&&i.push(s)}}catch(e){a.e(e)}finally{a.f()}for(var u=[],l=0,c=i;l<c.length;l++){var d=n(c[l].options);u.push(d)}o.add(u)}var Kr={x:-Math.sqrt(Math.pow(35,2)/2),y:-Math.sqrt(Math.pow(35,2)/2)},Xr={x:+Math.sqrt(Math.pow(35,2)/2),y:-Math.sqrt(Math.pow(35,2)/2)},Zr={x:Math.sqrt(Math.pow(70,2)/2),y:-Math.sqrt(Math.pow(70,2)/2)},Jr={x:Math.sqrt(Math.pow(35,2)/2),y:-Math.sqrt(Math.pow(35,2)/2)};function Qr(e){return Vr({},"hub"===e||e===wn?Jr:Zr)}function ei(e){return!(e.attributes.isInferred||e.attributes["configuration-id"]||e._decorated)}function ti(e){e._decorated=!0,e.group.indexOf("Filtered");var t=e.meta["pulseway-ui-group"];return{attributes:Vr({},e.attributes),isAddon:!0,id:e.id+"-shadow",level:e.level,for:Vr({},e),offset:Vr({},Kr),group:t,name:""}}function ni(e){qr(e,ei,ti)}function ri(e,t){return e.indexOf(t.id)>-1}function ii(e,t){t._groupSize=!0;var n={attributes:Vr({},t.attributes),isAddon:!0,id:jr(t.id),level:t.level,for:Vr({},t),offset:Vr({},Xr),group:"groupSize",name:""};return function(e,t,n){fi(e,function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return ur(kr(e,t))}(""+t,n))}(n,t.groupDetail.size,e),n}function oi(e){var t;return(null===(t=e.shouldCluster)||void 0===t?void 0:t.childCount)>0}function ai(e){var t=e.attributes["device-type"],n=[xn,On,kn];return!(e._hasHalo||!oi(e)||!e.meta.isVirtualHost&&-1===n.indexOf(t))}function si(e){var t=e.attributes["device-type"];return!(e._hasHalo||!oi(e)||t!==Cn)}function ui(e,t){return t._hasHalo=!0,{attributes:Vr({},t.attributes),isAddon:!0,id:t.id+"-halo",level:t.level,for:Vr({},t),x:t.x,y:t.y,group:e,name:""}}var li=ui.bind(null,"halo"),ci=ui.bind(null,"haloForHub");function di(e){var t=e.attributes["device-type"];return!(e._hasCollapse||!oi(e)||!e.meta.isVirtualHost&&t!==xn&&t!==On&&t!==Cn&&t!==kn)}function fi(e,t){e.image={selected:t,unselected:t}}function hi(e){var t;e._hasCollapse=!0;var n=e.group.indexOf("Filtered")>-1,r=n?"".concat("minus","Filtered"):"minus",i=Qr(e.group);i.x=i.x+15;var o=Vr(Vr({attributes:Vr({},e.attributes),isAddon:!0,id:Ci(e.id),level:e.level,for:Vr({},e),offset:i},Dr[r]),{},{group:r,name:""});return function(e,t,n){fi(e,function(e,t){return Sr('\n        <svg version="1.1" width="20" height="10" viewBox="0 0 512 512">\n            <circle cx="0" cy="50%" r="40%" fill="white" />\n            <path transform="translate(-256)" xmlns="http://www.w3.org/2000/svg" fill="'.concat("#757575",'" d="M140 274c-6.6 0-12-5.4-12-12v-12c0-6.6 5.4-12 12-12h232c6.6 0 12 5.4 12 12v12c0 6.6-5.4 12-12 12H140zm364-18c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-32 0c0-119.9-97.3-216-216-216-119.9 0-216 97.3-216 216 0 119.9 97.3 216 216 216 119.9 0 216-97.3 216-216z" />\n        </svg>\n    '),e,t)}(""+t,n))}(o,null===(t=e.shouldCluster)||void 0===t?void 0:t.childCount,n),o}function pi(e){var t;e._hasExpand=!0;var n=e.group.indexOf("Filtered")>-1,r=n?"".concat("plus","Filtered"):"plus",i=Qr(e.group);i.x=i.x+15;var o=Vr(Vr({attributes:Vr({},e.attributes),isAddon:!0,id:e.id+"-expand-button",level:e.level,for:Vr({},e),offset:i},Dr[r]),{},{group:r,name:""});return function(e,t,n){fi(e,function(e,t){return Sr('\n        <svg version="1.1" width="20" height="10" viewBox="0 0 512 512">\n            <circle cx="0" cy="50%" r="40%" fill="white" />\n            <path transform="translate(-256)" xmlns="http://www.w3.org/2000/svg" fill="'.concat(t?Hn:Nn,'" d="M384 250v12c0 6.6-5.4 12-12 12h-98v98c0 6.6-5.4 12-12 12h-12c-6.6 0-12-5.4-12-12v-98h-98c-6.6 0-12-5.4-12-12v-12c0-6.6 5.4-12 12-12h98v-98c0-6.6 5.4-12 12-12h12c6.6 0 12 5.4 12 12v98h98c6.6 0 12 5.4 12 12zm120 6c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-32 0c0-119.9-97.3-216-216-216-119.9 0-216 97.3-216 216 0 119.9 97.3 216 216 216 119.9 0 216-97.3 216-216z" />\n        </svg>\n    '),e,t)}(""+t,n))}(o,null===(t=e.shouldCluster)||void 0===t?void 0:t.childCount,n),o}function mi(e,t){return Object.keys(e.body.nodes).filter((function(e){return t?wi(e):Ai(e)})).filter((function(t){return!e.body.nodes[t].options.hidden}))}function vi(e,t){e.body.nodes[t].options.hidden=!0}function gi(e,t){e.body.nodes[t].options.hidden=!1}function yi(e){qr(e,ai,li),qr(e,si,ci),qr(e,di,pi),function(e){Object.keys(e.body.nodes).filter((function(e){return Ai(e)})).forEach((function(t){return vi(e,t)}))}(e),qr(e,di,hi)}function bi(e,t){return{x:e.x/t,y:e.y/t}}function _i(e,t){var n,r=[],i=Wr(e.body.nodeIndices);try{for(i.s();!(n=i.n()).done;){var o=e.body.nodes[n.value];o.options.offset&&r.push(o)}}catch(e){i.e(e)}finally{i.f()}for(var a=0,s=r;a<s.length;a++){var u=s[a],l=u.options.for;if(l){var c=u.options.offset;c&&(t&&(c=bi(c,t)),u.x=l.x+c.x,u.y=l.y+c.y)}}}function wi(e){return e&&(""+e).indexOf("-collapse-button")>0}function Ei(e){return e.substring(0,e.indexOf("-collapse-button"))}function Ci(e){return"".concat(e,"-collapse-button")}function Ai(e){return e&&(""+e).indexOf("-expand-button")>0}function ki(e){return e.substring(0,e.indexOf("-expand-button"))}function Si(e){for(var t=0,n=Object.keys(e.body.nodes);t<n.length;t++){var r=e.body.nodes[n[t]];r.x=0===r.options.x?r.options.x:r.options.x||r.x,r.y=0===r.options.y?r.options.y:r.options.y||r.y}}function xi(e,t,n){wi(t)?(vi(e,Ci(n)),gi(e,"".concat(n,"-expand-button"))):(vi(e,"".concat(n,"-expand-button")),gi(e,Ci(n)))}function Di(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#FFFFFF";e.save(),e.setTransform(1,0,0,1,0,0),e.fillStyle=t,e.fillRect(0,0,e.canvas.width,e.canvas.height),e.restore()}function Oi(e,t,n){var r=e.getScale();Fr(e,t,r<1?1:r),_i(e,r>1?r:void 0),n&&(Si(e),e.redraw())}function Ti(e,t,n,r){r<1?r<.05&&e.moveTo({scale:.05}):(Fr(e,t,r),_i(e,r),n&&Si(e))}function Fi(e,t,n,r){var i=e.getScale(),o=Math.max(.1,i+r);i!==o&&(e.moveTo({scale:o}),Ti(e,t,n,o))}function Mi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mi(Object(n),!0).forEach((function(t){Ri(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Li(e){return function(e){if(Array.isArray(e))return Ii(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ji(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bi(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=ji(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function ji(e,t){if(e){if("string"==typeof e)return Ii(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ii(e,t):void 0}}function Ii(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ni=function(e){return"clusterFor_".concat(e)},Hi=function(e){return e.split("_")[1]};function zi(e){var t,n=jn(e);return!(null===(t=e.meta)||void 0===t?void 0:t.isVirtualHost)&&-1===[xn,On,kn].indexOf(n)}function Yi(e,t,n,r){if(!t||!t.length)return!0;var i,o=!0,a=Bi(t);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(!o)return!1;if(s!=e){if(!zi(n[r[s]]))return!1;o=Yi(e,n[r[s]].parents,n,r)}}}catch(e){a.e(e)}finally{a.f()}return o}function Ui(e,t,n,r,i){for(var o=r[e],a=0,s=Object.keys(i[o]||{}),u=Ri({},e,!0),l=Ri({},o,!0),c=[];s.length;){var d,f=[],h=Bi(s);try{for(h.s();!(d=h.n()).done;){var p=d.value;if(!l[p]){l[p]=!0;var m=t[n[p]];zi(m)&&(i[p]&&f.push.apply(f,Li(Object.keys(i[p]))),Yi(o,m.parents,t,n)?(u[n[p]]=!0,m.attributes.isInferred||a++):c.push(m.id))}}}catch(e){h.e(e)}finally{h.f()}s=f}return u.childCount=a,u.childrenWithMultiParents=c,u}function Vi(e,t,n){var r=e.body.nodes[t];if(r){var i,o=Bi(r.edges);try{for(o.s();!(i=o.n()).done;){var a=i.value;n(a)&&(a.options.hidden=!0)}}catch(e){o.e(e)}finally{o.f()}}}function $i(e,t,n,r){return!e.isCluster(Ni(r))&&Wi(e,t,n,r)}function Wi(e,t,n,r){var i=e.body.nodes[r];return!(!e.body.nodes[n]||!i)&&0===i.edges.filter((function(e){return!(t[e.fromId]||e.options.hidden||void 0!==e.options.physics&&!e.options.physics)})).length}function Gi(e,t){var n,r=e.body.data.nodes._data,i=(null===(n=r[t])||void 0===n?void 0:n.shouldCluster)||{},o=Ni(t),a={joinCondition:function(n){if(!e.isCluster(n.id)){var o=r[n.id];return o.isAddon?(i[o.for.id]||$i(e,i,t,o.for.id))&&o.for.id!=t:i[n.id]||$i(e,i,t,n.id)}if(Ir(n.id))return Wi(e,i,t,n.id);var a=Hi(n.id);return!(!r[a].attributes.isInferred||!i[a])||void 0},clusterNodeProperties:Pi(Pi({},e.body.data.nodes.get(t)),{},{id:o,label:"".concat(r[t].label),color:e.body.nodes[t].options.color,zIndex:e.body.nodes[t].options.zIndex})};e.cluster(a),Vi(e,o,(function(e){return e.fromId===o&&(!e.to||zi(e.to.options))}))}function qi(e,t,n,r){e.openCluster(n,{releaseFunction:function(e,t){return t}}),function(e,t,n,r){var i=Hi(n),o=e.body.nodes[i].options.shouldCluster.childrenWithMultiParents;if(o.length){var a,s=new Set,u=Bi(o);try{for(u.s();!(a=u.n()).done;){var l=e.clustering.findNode(a.value)[0];e.isCluster(l)&&!Ir(l)&&s.add(l)}}catch(e){u.e(e)}finally{u.f()}var c,d=Bi(s);try{for(d.s();!(c=d.n()).done;){var f=c.value;qi(e,t,f,r),Gi(e,Hi(f))}}catch(e){d.e(e)}finally{d.f()}var h,p=Bi(o);try{for(p.s();!(h=p.n()).done;)Vi(e,h.value,(function(t){return e.isCluster(t.fromId)}))}catch(e){p.e(e)}finally{p.f()}Oi(e,t,r)}}(e,t,n,r)}function Ki(e,t){t.sort((function(e,t){return e=+Ei(e),(t=+Ei(t))-e})).forEach((function(t){var n=Ei(t);e.isCluster(e.findNode(n)[0])||(xi(e,t,n),Gi(e,n))}))}function Xi(e,t,n,r){r.sort((function(e,t){return(e=+ki(e))-+ki(t)})).forEach((function(r){var i=ki(r),o=e.findNode(i)[0];e.isCluster(o)&&(xi(e,r,i),qi(e,t,o,n))}))}var Zi=function(e){Object.keys(e.body.data.nodes._data).filter((function(t){var n=e.body.data.nodes._data[t];return!n.isAddon&&n.attributes["device-type"]===On&&n.meta.virtualSwitchType===Pn})).forEach((function(t){var n=Ci(t);xi(e,n,t),Gi(e,t)}))};function Ji(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Qi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qi(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Qi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function eo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function to(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function no(e,t,n){var r=ge(n,{domainRole:null,vmConnectionType:null,vmVirtualization:null}),i=r.domainRole,o=r.vmConnectionType,a=r.vmVirtualization;switch(e){case En:return t?"accessPointFiltered":"accessPoint";case"FIREWALL":return t?"firewallFiltered":"firewall";case Cn:return t?wn:"hub";case"LOAD_BALANCER":return t?"loadBalancerFiltered":"loadBalancer";case"MODEM":return t?"modemFiltered":"modem";case An:return t?"printerFiltered":"printer";case kn:return t?"routerFiltered":"router";case"SECURITY":return t?"securityFiltered":"security";case"SERVER":return i===Ln?t?"serverPDCFiltered":"serverPDC":i===Rn?t?"serverBDCFiltered":"serverBDC":t?"serverFiltered":"server";case Sn:return t?"storageFiltered":"storage";case xn:return t?"switchFiltered":"switch";case"VOIP":return t?"voipFiltered":"voip";case Tn:return i===Ln?t?"vmPDCFiltered":"vmPDC":i===Rn?t?"vmBDCFiltered":"vmBDC":a===Pn?o===Fn?t?"vmHyperVInternalConnectionFiltered":"vmHyperVInternalConnection":o===Mn?t?"vmHyperVExternalConnectionFiltered":"vmHyperVExternalConnection":t?"vmHyperVUnknownConnectionFiltered":"vmHyperVUnknownConnection":t?"vmVMwareFiltered":"vmVMware";case On:return o===Fn?t?"virtualSwitchInternalFiltered":"virtualSwitchInternal":o===Mn?t?"virtualSwitchExternalFiltered":"virtualSwitchExternal":t?"virtualSwitchFiltered":"virtualSwitch";case Dn:return i===Ln?t?"computerPDCFiltered":"computerPDC":i===Rn?t?"computerBDCFiltered":"computerBDC":t?"computerFiltered":"computer";case"UNKNOWN":case"OTHER":case"NETWORK DEVICE":default:return i===Ln?t?"unknownPDCFiltered":"unknownPDC":i===Rn?t?"unknownBDCFiltered":"unknownBDC":t?"unknownFiltered":"unknown"}}var ro={None:0,HasCriticalNotifications:1,HasElevatedNotifications:2,HasNormalNotifications:4,HasLowNotifications:8,IsNewDevice:16};function io(e){return Bn(e,ro.HasCriticalNotifications)?ro.HasCriticalNotifications:Bn(e,ro.HasElevatedNotifications)?ro.HasElevatedNotifications:Bn(e,ro.HasLowNotifications)?ro.HasLowNotifications:Bn(e,ro.HasNormalNotifications)?ro.HasNormalNotifications:Bn(e,ro.IsNewDevice)?ro.IsNewDevice:ro.None}function oo(e,t){var n,r,i,o,a=e.id,s=e.attributes.name,u=jn(e),l=null===(n=e.meta)||void 0===n||null===(r=n["ad-domain-role"])||void 0===r?void 0:r.trim(),c=null===(i=e.meta)||void 0===i?void 0:i["virtual-connection-type"],d=null===(o=e.meta)||void 0===o?void 0:o.virtualization,f=no(u,t,{domainRole:l,vmConnectionType:c,vmVirtualization:d});if(e.meta["pulseway-identifier"])switch(io(e.meta["pulseway-status"])){case ro.HasCriticalNotifications:e.meta["pulseway-ui-group"]="critical",e.meta["pulseway-ui-status"]=ro.HasCriticalNotifications;break;case ro.HasElevatedNotifications:e.meta["pulseway-ui-group"]="elevate",e.meta["pulseway-ui-status"]=ro.HasElevatedNotifications;break;default:e.meta["pulseway-ui-group"]="checked",e.meta["pulseway-ui-status"]=ro.Checked}else io(e.meta["pulseway-status"])===ro.IsNewDevice?(e.meta["pulseway-ui-group"]="dot",e.meta["pulseway-ui-status"]=ro.IsNewDevice):(e.meta["pulseway-ui-group"]="nothing",e.meta["pulseway-ui-status"]=ro.None);var h=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eo(Object(n),!0).forEach((function(t){to(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.meta);return function(e,t){return!!e&&!/VIRTUAL_/.test(t)}(d,e.attributes["device-type"])&&(h.isVirtualHost=!0),u===On&&(h.virtualSwitchType=d),function(e,t,n,r,i){return{id:e,label:n,group:r,attributes:t,meta:i}}(a,e.attributes,s,f,h)}function ao(e,t,n){if(n[e.id])return 0;if(n[e.id]=!0,e.subTreeSize)return e.subTreeSize;var r=1,i=t[e.id];if(i){e.mass=i.length||1;var o,a=Ji(i);try{for(a.s();!(o=a.n()).done;){var s=o.value;r+=ao(s,t,n),n[s.id]=!1}}catch(e){a.e(e)}finally{a.f()}}return e.subTreeSize=r,r}function so(e){var t=e.nodes,n=e.edges;return function(e,t){var n,r=e.reduce((function(e,t){return e[t.id]=t,e}),{}),i=new Set,o={},a={},s=Ji(t);try{for(s.s();!(n=s.n()).done;){var u=n.value,l=u.to,c=u.from;a[l]=c,o[c]=o[c]||[],o[c].push(r[l]),r[l].parents=r[l].parents||[],r[l].parents.push(c)}}catch(e){s.e(e)}finally{s.f()}var d,f=[],h=Ji(e);try{for(h.s();!(d=h.n()).done;){var p=d.value;a[p.id]||f.push(r[p.id])}}catch(e){h.e(e)}finally{h.f()}if(!f.length){console.log("every node has a parent ==> there is probably a loop between the nodes");for(var m={},v=t[0].to,g=t[0].from;g&&!m[g];)m[v]=!0,g=a[v=g];for(var y=r[g],b={};y&&!b[y.id];)f.push(y),b[y.id]=!0,y=r[a[y.id]];if(f.length>1){var _=f[0],w=f[1];delete a[_.id];var E=o[w.id],C=E.indexOf(r[_.id]);E.splice(C,1),f=[_]}}f.length||(console.log("something is wrong ===> there is no loop but every node has a parent, using first node as root: ",e[0]),f.push(e[0]));var A,k=Ji(e);try{for(k.s();!(A=k.n()).done;)ao(A.value,o,{})}catch(e){k.e(e)}finally{k.f()}var S=1,x={},D={};function O(e,t,n,r){var i;if(e.level=Math.max(e.level||0,r),!t.has(e)){t.add(e),e.resourceId=e.id,e.id=S++,x[e.resourceId]=e.id,D[e.resourceId]=null===(i=e.attributes)||void 0===i?void 0:i["device-type"];var o=n[e.resourceId];if(o){var a,s=Ji(o=zt(o,(function(e){return e.subTreeSize})));try{for(s.s();!(a=s.n()).done;){var u,l=a.value;(null===(u=e.parents)||void 0===u?void 0:u.indexOf(+l.resourceId))>-1||O(l,t,n,e.level+l.parents.length)}}catch(e){s.e(e)}finally{s.f()}}}}var T,F=Ji(f=zt(f,(function(e){return e.subTreeSize})));try{for(F.s();!(T=F.n()).done;)O(T.value,i,o,1)}catch(e){F.e(e)}finally{F.f()}!function(e,t){var n,r,i=Vt(e,"id"),o=t.reduce((function(e,t){var n=t.from,r=t.to;return e[n]=e[n]||{},e[n][r]=!0,e}),{}),a=function(e){return e.reduce((function(e,t){return e[t.id]=t.resourceId,e}),{})}(e),s=(n=a,Object.keys(n).reduce((function(e,t){return n[t]&&(e[n[t]]=t),e}),{})),u=Bi(e=e.filter((function(e){var t,n=e.attributes["device-type"];return!!(null===(t=e.meta)||void 0===t?void 0:t.isVirtualHost)||n===xn||n===On||n===kn||n===Cn})));try{for(u.s();!(r=u.n()).done;){var l=r.value;l.shouldCluster=Ui(l.id,i,s,a,o)}}catch(e){u.e(e)}finally{u.f()}}(e=zt(e,(function(e){return e.id})),t);var M,P=[On,Tn],L=Tr(1),R=Ji(t);try{var B=function(){var e=M.value,t=e.to,n=e.from;e.from=x[n],e.to=x[t],-1===P.indexOf(D[n])&&-1===P.indexOf(D[t])||Object.keys(L).forEach((function(t){e[t]=L[t]}))};for(R.s();!(M=R.n()).done;)B()}catch(e){R.e(e)}finally{R.f()}return{nodes:e,edges:t}}(t=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return n&&(e=Vt(n,"id")),t.reduce((function(t,n){return t.push(oo(n,e&&!e[n.id])),t}),[])}(t,e.filteredNodes),n=n.reduce((function(e,t){return e.push(function(e){var t=e.attributes;return{to:t["to-network-device-id"],from:t["from-network-device-id"]}}(t)),e}),[]))}function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var co={randomSeed:153625,improvedLayout:!1,hierarchical:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uo(Object(n),!0).forEach((function(t){lo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{enabled:!0,levelSeparation:300,nodeSpacing:120,treeSpacing:200,blockShifting:!0,edgeMinimization:!0,parentCentralization:!0,direction:"UD",sortMethod:"directed"})},fo={edges:Or,groups:Dr,interaction:{dragNodes:!1,dragView:!0,hideEdgesOnDrag:!1,hideNodesOnDrag:!1,hover:!0,hoverConnectedEdges:!1,keyboard:{enabled:!1,speed:{x:10,y:10,zoom:.02},bindToWindow:!0},multiselect:!1,navigationButtons:!1,selectable:!0,selectConnectedEdges:!1,tooltipDelay:300,zoomView:!0},layout:co,nodes:{borderWidth:2,borderWidthSelected:2,color:{border:"white",highlight:{border:"white"},hover:{border:"white"}},chosen:!0,font:{size:14,face:"Open Sans",vadjust:-4,color:"#434343"},shape:"dot",size:35},physics:{barnesHut:{gravitationalConstant:-1e5,centralGravity:5,springLength:150,springConstant:.5,damping:1},hierarchicalRepulsion:{centralGravity:.1,springLength:100,springConstant:0,nodeDistance:0,damping:1},stabilization:{enabled:!0,iterations:2e3,updateInterval:10,onlyDynamicEdges:!1,fit:!0}}};function ho(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function po(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){ho(o,r,i,a,s,"next",e)}function s(e){ho(o,r,i,a,s,"throw",e)}a(void 0)}))}}function mo(e,t){return"".concat(1,"-snapshot-").concat(e,"-isHierarchy-").concat(t)}function vo(e,t){return go.apply(this,arguments)}function go(){return(go=po(_regeneratorRuntime.mark((function e(t,n){var r;return _regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return",null);case 2:return r=mo(t,n),e.next=5,l.Cache.get(r);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function yo(e,t,n){if(e){var r=mo(e,t),i=function(e){var t=e.nodes,n=e.edges;if(t&&n){var r=[];for(var i in t._data)r.push(t._data[i]);var o=[];for(var a in n._data)o.push(n._data[a]);return{nodes:r,edges:o}}}(n);i&&l.Cache.set(r,JSON.stringify({nodes:Vt(i.nodes.map((function(e){return{id:e.id,x:e.x,y:e.y}})),"id")}))}}function bo(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,i)}function _o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_o(Object(n),!0).forEach((function(t){Eo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Co(e){return(Co="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ao(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function So(e,t,n){return t&&ko(e.prototype,t),n&&ko(e,n),e}function xo(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&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function Do(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Fo(e);if(t){var i=Fo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Oo(this,n)}}function Oo(e,t){return!t||"object"!==Co(t)&&"function"!=typeof t?To(e):t}function To(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fo(e){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return 5*e.length}var Lo=function(e){xo(n,e);var t=Do(n);function n(){var e;Ao(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return Mo(To(e=t.call.apply(t,[this].concat(i))),"state",{}),Mo(To(e),"show",(function(){return e.setState({hide:!1})})),Mo(To(e),"hide",(function(){return e.setState({hide:!0})})),e}return So(n,[{key:"render",value:function(){return o.a.createElement("div",{className:d()("dot-loader-container",!this.state.hide&&"full-width full-height")},!this.state.hide&&o.a.createElement(l.UI.DotLoader,{dark:!0}))}}]),n}(o.a.Component),Ro=function(e){xo(i,e);var t,n,r=Do(i);function i(){var e;Ao(this,i);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Mo(To(e=r.call.apply(r,[this].concat(n))),"zoomIn",(function(){Fi(e._network,e._dataSet,e.props.isHierarchy,.25)})),Mo(To(e),"zoomOut",(function(){Fi(e._network,e._dataSet,e.props.isHierarchy,-.25)})),Mo(To(e),"unselectNode",(function(){e._network.unselectAll()})),Mo(To(e),"_groupByType",(function(t){e._stabilized&&(e.loader&&e.loader.show(),setTimeout((function(){var n=mi(e._network,!1);if(n.length&&Xi(e._network,e._dataSet,e.props.isHierarchy,n),t?Hr(e._network,e._hasFilter):Nr(e._network),n.length&&(n=n.map((function(e){return e.replace("expand","collapse")})).reverse(),Ki(e._network,n)),!n.length){var r=mi(e._network,!0);r.length&&(n.push(r[0]),Ki(e._network,n),n=n.map((function(e){return e.replace("collapse","expand")})),Xi(e._network,e._dataSet,e.props.isHierarchy,n))}Oi(e._network,e._dataSet,e.props.isHierarchy),e._network.redraw(),e.loader&&e.loader.hide()}),10))})),Mo(To(e),"groupByType",(function(){e._groupByType(!0)})),Mo(To(e),"ungroupByType",(function(){e._groupByType(!1)})),Mo(To(e),"clusterAll",(function(){if(e._stabilized){var t=mi(e._network,!0);t.length&&(e.loader&&e.loader.show(),setTimeout((function(){Ki(e._network,t),Oi(e._network,e._dataSet,e.props.isHierarchy),e._network.redraw(),e.loader&&e.loader.hide()}),0))}})),Mo(To(e),"openAllClusters",(function(){if(e._stabilized){var t=mi(e._network,!1);t.length&&(e.loader&&e.loader.show(),setTimeout((function(){Xi(e._network,e._dataSet,e.props.isHierarchy,t),Oi(e._network,e._dataSet,e.props.isHierarchy),e._network.redraw(),e.loader&&e.loader.hide()}),0))}})),Mo(To(e),"_onZoom",(function(t){Ti(e._network,e._dataSet,e.props.isHierarchy,t.scale)})),Mo(To(e),"_handleSelectNode",(function(t){var n,r=t.nodes,i=r[0];e._network.isCluster(i)&&(i=Hi(i));var o=null===(n=e._network.body.nodes[i])||void 0===n?void 0:n.options.resourceId;o||e.props.onClickOutsideNode(wo({},t)),o?e.props.onSelectNode(wo(wo({},t),{},{resourceId:o})):r[0]&&Ir(r[0])&&e.props.onSelectGroup(Yr(e._network,r[0]))})),Mo(To(e),"_onClick",(function(t){console.log(t);var n=t.nodes[0];if(wi(n)){var r=Ei(n);xi(e._network,n,r),Gi(e._network,r)}else if(Ai(n)){var i=ki(n),o=Ni(i);e._network.isCluster(o)&&(xi(e._network,n,i),qi(e._network,e._dataSet,o,e.props.isHierarchy))}Oi(e._network,e._dataSet,e.props.isHierarchy),e._handleSelectNode(t)})),Mo(To(e),"_onDoubleClick",(function(t){var n,r=t&&t.nodes&&t.nodes[0];e._network.isCluster(r)&&(r=Hi(r));var i=null===(n=e._network.body.nodes[r])||void 0===n?void 0:n.options.resourceId;e.props.onDoubleClick(wo(wo({},t),{},{resourceId:i}))})),Mo(To(e),"_onStabilizationIterationsDone",(function(){var t;e.loader&&(e.loader.hide(),e._network.stopSimulation()),e._network.storePositions(),yi(e._network),ni(e._network),e._hasFilter||yo(null===(t=e.props.snapshot)||void 0===t?void 0:t.id,e.props.isHierarchy,e._dataSet),_i(e._network),e.props.isHierarchy&&e._network.setOptions({groups:{}}),e._stabilized=!0,Zi(e._network),Oi(e._network,e._dataSet,e.props.isHierarchy)})),Mo(To(e),"_onBeforeDrawing",(function(e){return Di(e)})),Mo(To(e),"_setNetworkEventListeners",(function(t){e._network=t,e._network.on("click",e._onClick),e._network.on("hoverNode",(function(){e._network.canvas.body.container.style.cursor="pointer"})),e._network.on("blurNode",(function(){e._network.canvas.body.container.style.cursor="default"})),e._network.on("doubleClick",e._onDoubleClick),e._network.on("zoom",e._onZoom),e._network.on("stabilizationIterationsDone",e._onStabilizationIterationsDone),e._network.on("beforeDrawing",e._onBeforeDrawing)})),e}return So(i,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:(t=_regeneratorRuntime.mark((function e(t){var n,r,i,o,a,s,u,l,c;return _regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=2;break}return e.abrupt("return");case 2:if(i=(n=this.props).edges,o=n.filteredNodes,a=n.isHierarchy,this._hasFilter=(r=n.nodes)&&o&&r.length!==o.length,!(r&&i&&o)){e.next=24;break}return this.loader&&this.loader.show(),fo.edges.smooth.enabled=a,fo.layout.hierarchical.enabled=a,fo.physics.stabilization.iterations=Po(r),e.prev=9,u=so(this.props),e.next=13,vo(null===(s=this.props.snapshot)||void 0===s?void 0:s.id,a);case 13:(l=e.sent)&&!a&&(fo.physics.stabilization.iterations=0),(null==l?void 0:l.nodes)&&(c=l.nodes,u.nodes.map((function(e){e.x=c[e.id].x,e.y=c[e.id].y}))),this._dataSet=y(u),this._stabilized=!1,b(this._setNetworkEventListeners,this.props.onError,"network-graph-container",this._dataSet,fo),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(9),this.props.onError(e.t0);case 24:case"end":return e.stop()}}),e,this,[[9,21]])})),n=function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(e){bo(o,r,i,a,s,"next",e)}function s(e){bo(o,r,i,a,s,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)})},{key:"render",value:function(){var e=this;return o.a.createElement("div",{className:"graph-root",tabIndex:0},o.a.createElement(Lo,{ref:function(t){return e.loader=t}}),o.a.createElement("div",{id:"network-graph-container"}))}}]),i}(o.a.Component);Mo(Ro,"propTypes",{edges:l.PropTypes.arrayOf(l.PropTypes.object).affectsRendering,nodes:l.PropTypes.arrayOf(l.PropTypes.object).affectsRendering,filteredNodes:l.PropTypes.arrayOf(l.PropTypes.object).affectsRendering,onHoverNode:l.PropTypes.func,onBlurNode:l.PropTypes.func,onError:l.PropTypes.func,onSelectNode:l.PropTypes.func,onClickOutsideNode:l.PropTypes.func,onDoubleClick:l.PropTypes.func,isHierarchy:l.PropTypes.bool.affectsRendering});var Bo=function(){return(Bo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},jo=function(e){var t=e.data,n=e.onDeviceClick,r=e.onOutsideDeviceClick;return o.a.createElement(o.a.Fragment,null,o.a.createElement(Ro,{onSelectNode:function(e){!function(e){var i=t["network-devices"].data.find((function(t){return t.id===e.resourceId})),o=i.relationships&&i.relationships.interfaces&&i.relationships.interfaces.data&&i.relationships.interfaces.data.length&&i.relationships.interfaces.data[0]&&i.relationships.interfaces.data[0].id,a=t["network-devices"].included.find((function(e){return e.id===o}));a?(i.referenceAttributes=Bo({},a.attributes),n(i)):r(e)}(e)},onClickOutsideNode:function(e){!function(e){r(e)}(e)},onDoubleClick:function(e){!function(e){console.log(e)}(e)},edges:t.connections.data,nodes:t["network-devices"].data,filteredNodes:t["network-devices"].included,isHierarchy:!1}))}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}n.r(t);var o=n(42),a=n.n(o),s=n(16),u=n.n(s),l=(n(335),u.a.createContext({}));function c(e,t){var n=Object(s.useContext)(l);return e||n[t]||t}function d(e,t,n){return Math.round((e-t)/(n-t)*100*1e3)/1e3}function f(e,t){var n,o=e.min,s=e.now,l=e.max,c=e.label,f=e.srOnly,h=e.striped,p=e.animated,m=e.className,v=e.style,g=e.variant,y=e.bsPrefix,b=i(e,["min","now","max","label","srOnly","striped","animated","className","style","variant","bsPrefix"]);return u.a.createElement("div",r({ref:t},b,{role:"progressbar",className:a()(m,y+"-bar",(n={},n["bg-"+g]=g,n[y+"-bar-animated"]=p,n[y+"-bar-striped"]=p||h,n)),style:r({width:d(s,o,l)+"%"},v),"aria-valuenow":s,"aria-valuemin":o,"aria-valuemax":l}),f?u.a.createElement("span",{className:"sr-only"},c):c)}var h=u.a.forwardRef((function(e,t){var n=e.isChild,o=i(e,["isChild"]);if(o.bsPrefix=c(o.bsPrefix,"progress"),n)return f(o,t);var l=o.min,d=o.now,h=o.max,p=o.label,m=o.srOnly,v=o.striped,g=o.animated,y=o.bsPrefix,b=o.variant,_=o.className,w=o.children,E=i(o,["min","now","max","label","srOnly","striped","animated","bsPrefix","variant","className","children"]);return u.a.createElement("div",r({ref:t},E,{className:a()(_,y)}),w?function(e,t){return u.a.Children.map(e,(function(e){return u.a.isValidElement(e)?function(e){return Object(s.cloneElement)(e,{isChild:!0})}(e):e}))}(w):f({min:l,now:d,max:h,label:p,srOnly:m,striped:v,animated:g,bsPrefix:y,variant:b},t))}));h.displayName="ProgressBar",h.defaultProps={min:0,max:100,animated:!1,isChild:!1,srOnly:!1,striped:!1},t.default=h}])},module.exports=t()},"V/h/":function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return Y}));var i="undefined"!=typeof Symbol?Symbol("immer-nothing"):((r={})["immer-nothing"]=!0,r),o="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-draftable"):"__$immer_draftable",a="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-state"):"__$immer_state";function s(e){return!!e&&!!e[a]}function u(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return!0;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||!!e[o]||!!e.constructor[o])}var l=Object.assign||function(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return e},c="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function d(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();var n=Object.create(Object.getPrototypeOf(e));return c(e).forEach((function(r){if(r!==a){var i=Object.getOwnPropertyDescriptor(e,r),o=i.value;if(i.get){if(!t)throw new Error("Immer drafts cannot have computed properties");o=i.get.call(e)}i.enumerable?n[r]=o:Object.defineProperty(n,r,{value:o,writable:!0,configurable:!0})}})),n}function f(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(n,e[n],e);else c(e).forEach((function(n){return t(n,e[n],e)}))}function h(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!!n&&n.enumerable}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function v(e){if(!u(e))return e;if(Array.isArray(e))return e.map(v);var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=v(e[n]);return t}var g=function(e){this.drafts=[],this.parent=e,this.canAutoFreeze=!0,this.patches=null};function y(e){e[a].revoke()}g.prototype.usePatches=function(e){e&&(this.patches=[],this.inversePatches=[],this.patchListener=e)},g.prototype.revoke=function(){this.leave(),this.drafts.forEach(y),this.drafts=null},g.prototype.leave=function(){this===g.current&&(g.current=this.parent)},g.current=null,g.enter=function(){return this.current=new g(this.current)};var b={};function _(){this.revoked=!0}function w(e){return e.copy||e.base}function E(e,t){var n=e[a];if(n&&!n.finalizing){n.finalizing=!0;var r=e[t];return n.finalizing=!1,r}return e[t]}function C(e){e.modified||(e.modified=!0,e.parent&&C(e.parent))}function A(e){e.copy||(e.copy=k(e.base))}function k(e){var t=e&&e[a];if(t){t.finalizing=!0;var n=d(t.draft,!0);return t.finalizing=!1,n}return d(e)}function S(e){if(!0===e.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(w(e)))}function x(e){for(var t=e.length-1;t>=0;t--){var n=e[t][a];n.modified||(Array.isArray(n.base)?O(n)&&C(n):D(n)&&C(n))}}function D(e){for(var t=e.base,n=e.draft,r=Object.keys(n),i=r.length-1;i>=0;i--){var o=r[i],s=t[o];if(void 0===s&&!p(t,o))return!0;var u=n[o],l=u&&u[a];if(l?l.base!==s:!m(u,s))return!0}return r.length!==Object.keys(t).length}function O(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var T=Object.freeze({willFinalize:function(e,t,n){e.drafts.forEach((function(e){e[a].finalizing=!0})),n?s(t)&&t[a].scope===e&&x(e.drafts):(e.patches&&function e(t){if(t&&"object"==typeof t){var n=t[a];if(n){var r=n.base,i=n.draft,o=n.assigned;if(Array.isArray(t)){if(O(n)){if(C(n),o.length=!0,i.length<r.length)for(var s=i.length;s<r.length;s++)o[s]=!1;else for(var u=r.length;u<i.length;u++)o[u]=!0;for(var l=0;l<i.length;l++)void 0===o[l]&&e(i[l])}}else Object.keys(i).forEach((function(t){void 0!==r[t]||p(r,t)?o[t]||e(i[t]):(o[t]=!0,C(n))})),Object.keys(r).forEach((function(e){void 0!==i[e]||p(i,e)||(o[e]=!1,C(n))}))}}}(e.drafts[0]),x(e.drafts))},createProxy:function e(t,n){var r=Array.isArray(t),i=k(t);f(i,(function(n){!function(t,n,r){var i=b[n];i?i.enumerable=r:b[n]=i={configurable:!0,enumerable:r,get:function(){return function(t,n){S(t);var r=E(w(t),n);return t.finalizing?r:r===E(t.base,n)&&u(r)?(A(t),t.copy[n]=e(r,t)):r}(this[a],n)},set:function(e){!function(e,t,n){if(S(e),e.assigned[t]=!0,!e.modified){if(m(n,E(w(e),t)))return;C(e),A(e)}e.copy[t]=n}(this[a],n,e)}},Object.defineProperty(t,n,i)}(i,n,r||h(t,n))}));var o=n?n.scope:g.current;return Object.defineProperty(i,a,{value:{scope:o,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:n,base:t,draft:i,copy:null,revoke:_,revoked:!1},enumerable:!1,writable:!0}),o.drafts.push(i),i}});function F(e,t){var n=t?t.scope:g.current,r={scope:n,modified:!1,finalized:!1,assigned:{},parent:t,base:e,draft:null,drafts:{},copy:null,revoke:null},i=Array.isArray(e)?Proxy.revocable([r],P):Proxy.revocable(r,M),o=i.revoke,a=i.proxy;return r.draft=a,r.revoke=o,n.drafts.push(a),a}var M={get:function(e,t){if(t===a)return e;var n=e.drafts;if(!e.modified&&p(n,t))return n[t];var r=L(e)[t];if(e.finalized||!u(r))return r;if(e.modified){if(r!==R(e.base,t))return r;n=e.copy}return n[t]=F(r,e)},has:function(e,t){return t in L(e)},ownKeys:function(e){return Reflect.ownKeys(L(e))},set:function(e,t,n){if(!e.modified){var r=R(e.base,t);if(n?m(r,n)||n===e.drafts[t]:m(r,n)&&t in e.base)return!0;B(e)}return e.assigned[t]=!0,e.copy[t]=n,!0},deleteProperty:function(e,t){return void 0!==R(e.base,t)||t in e.base?(e.assigned[t]=!1,B(e)):e.assigned[t]&&delete e.assigned[t],e.copy&&delete e.copy[t],!0},getOwnPropertyDescriptor:function(e,t){var n=L(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&(r.writable=!0,r.configurable=!Array.isArray(n)||"length"!==t),r},defineProperty:function(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(e){return Object.getPrototypeOf(e.base)},setPrototypeOf:function(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},P={};function L(e){return e.copy||e.base}function R(e,t){var n=e[a],r=Reflect.getOwnPropertyDescriptor(n?L(n):e,t);return r&&r.value}function B(e){e.modified||(e.modified=!0,e.copy=l(d(e.base),e.drafts),e.drafts=null,e.parent&&B(e.parent))}f(M,(function(e,t){P[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),P.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw new Error("Immer only supports deleting array indices");return M.deleteProperty.call(this,e[0],t)},P.set=function(e,t,n){if("length"!==t&&isNaN(parseInt(t)))throw new Error("Immer only supports setting array indices and the 'length' property");return M.set.call(this,e[0],t,n)};var j=Object.freeze({willFinalize:function(){},createProxy:F}),I=function(e,t){for(var n=0,r=t;n<r.length;n+=1){var i=r[n],o=i.path,a=i.op,s=v(i.value);if(!o.length)throw new Error("Illegal state");for(var u=e,l=0;l<o.length-1;l++)if(!(u=u[o[l]])||"object"!=typeof u)throw new Error("Cannot apply patch, path doesn't resolve: "+o.join("/"));var c=o[o.length-1];switch(a){case"replace":u[c]=s;break;case"add":Array.isArray(u)?u.splice(c,0,s):u[c]=s;break;case"remove":Array.isArray(u)?u.splice(c,1):delete u[c];break;default:throw new Error("Unsupported patch operation: "+a)}}return e},N={useProxies:"undefined"!=typeof Proxy&&"undefined"!=typeof Reflect,autoFreeze:"undefined"==typeof process&&"verifyMinified"===(function(){}).name,onAssign:null,onDelete:null,onCopy:null},H=function(e){l(this,N,e),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this)};H.prototype.produce=function(e,t,n){var r,o=this;if("function"==typeof e&&"function"!=typeof t){var a=t;t=e;var s=this;return function(e){var n=this;void 0===e&&(e=a);for(var r=[],i=arguments.length-1;i-- >0;)r[i]=arguments[i+1];return s.produce(e,(function(e){return t.call.apply(t,[n,e].concat(r))}))}}if("function"!=typeof t)throw new Error("The first or second argument to `produce` must be a function");if(void 0!==n&&"function"!=typeof n)throw new Error("The third argument to `produce` must be a function or undefined");if(u(e)){var l=g.enter(),c=this.createProxy(e),d=!0;try{r=t(c),d=!1}finally{d?l.revoke():l.leave()}return r instanceof Promise?r.then((function(e){return l.usePatches(n),o.processResult(e,l)}),(function(e){throw l.revoke(),e})):(l.usePatches(n),this.processResult(r,l))}return void 0===(r=t(e))?e:r!==i?r:void 0},H.prototype.produceWithPatches=function(e,t,n){var r,i,o=this;if("function"==typeof e)return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return o.produceWithPatches(t,(function(t){return e.apply(void 0,[t].concat(n))}))};if(n)throw new Error("A patch listener cannot be passed to produceWithPatches");return[this.produce(e,t,(function(e,t){r=e,i=t})),r,i]},H.prototype.createDraft=function(e){if(!u(e))throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var t=g.enter(),n=this.createProxy(e);return n[a].isManual=!0,t.leave(),n},H.prototype.finishDraft=function(e,t){var n=e&&e[a];if(!n||!n.isManual)throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(n.finalized)throw new Error("The given draft is already finalized");var r=n.scope;return r.usePatches(t),this.processResult(void 0,r)},H.prototype.setAutoFreeze=function(e){this.autoFreeze=e},H.prototype.setUseProxies=function(e){this.useProxies=e,l(this,e?j:T)},H.prototype.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}return s(e)?I(e,t):this.produce(e,(function(e){return I(e,t.slice(n+1))}))},H.prototype.processResult=function(e,t){var n=t.drafts[0],r=void 0!==e&&e!==n;if(this.willFinalize(t,e,r),r){if(n[a].modified)throw t.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");u(e)&&(e=this.finalize(e,null,t)),t.patches&&(t.patches.push({op:"replace",path:[],value:e}),t.inversePatches.push({op:"replace",path:[],value:n[a].base}))}else e=this.finalize(n,[],t);return t.revoke(),t.patches&&t.patchListener(t.patches,t.inversePatches),e!==i?e:void 0},H.prototype.finalize=function(e,t,n){var r=this,i=e[a];if(!i)return Object.isFrozen(e)?e:this.finalizeTree(e,null,n);if(i.scope!==n)return e;if(!i.modified)return i.base;if(!i.finalized){if(i.finalized=!0,this.finalizeTree(i.draft,t,n),this.onDelete)if(this.useProxies){var o=i.assigned;for(var s in o)o[s]||this.onDelete(i,s)}else{var u=i.copy;f(i.base,(function(e){p(u,e)||r.onDelete(i,e)}))}this.onCopy&&this.onCopy(i),this.autoFreeze&&n.canAutoFreeze&&Object.freeze(i.copy),t&&n.patches&&function(e,t,n,r){Array.isArray(e.base)?function(e,t,n,r){var i,o,a=e.base,s=e.copy,u=e.assigned;s.length<a.length&&(a=(i=[s,a])[0],s=i[1],n=(o=[r,n])[0],r=o[1]);for(var l=s.length-a.length,c=0;a[c]===s[c]&&c<a.length;)++c;for(var d=a.length;d>c&&a[d-1]===s[d+l-1];)--d;for(var f=c;f<d;++f)if(u[f]&&s[f]!==a[f]){var h=t.concat([f]);n.push({op:"replace",path:h,value:s[f]}),r.push({op:"replace",path:h,value:a[f]})}for(var p=n.length,m=d+l-1;m>=d;--m){var v=t.concat([m]);n[p+m-d]={op:"add",path:v,value:s[m]},r.push({op:"remove",path:v})}}(e,t,n,r):function(e,t,n,r){var i=e.base,o=e.copy;f(e.assigned,(function(e,a){var s=i[e],u=o[e],l=a?e in i?"replace":"add":"remove";if(s!==u||"replace"!==l){var c=t.concat(e);n.push("remove"===l?{op:l,path:c}:{op:l,path:c,value:u}),r.push("add"===l?{op:"remove",path:c}:"remove"===l?{op:"add",path:c,value:s}:{op:"replace",path:c,value:s})}}))}(e,t,n,r)}(i,t,n.patches,n.inversePatches)}return i.copy},H.prototype.finalizeTree=function(e,t,n){var r=this,i=e[a];i&&(this.useProxies||(i.copy=d(i.draft,!0)),e=i.copy);var o=!!t&&!!n.patches;return f(e,(function a(l,c,d){if(c===d)throw Error("Immer forbids circular references");var p=!!i&&d===e;if(s(c)){var v=p&&o&&!i.assigned[l]?t.concat(l):null;if(s(c=r.finalize(c,v,n))&&(n.canAutoFreeze=!1),Array.isArray(d)||h(d,l)?d[l]=c:Object.defineProperty(d,l,{value:c}),p&&c===i.base[l])return}else{if(p&&m(c,i.base[l]))return;u(c)&&!Object.isFrozen(c)&&f(c,a)}p&&r.onAssign&&r.onAssign(i,l,c)})),e};var z=new H,Y=z.produce;z.produceWithPatches.bind(z),z.setAutoFreeze.bind(z),z.setUseProxies.bind(z),z.applyPatches.bind(z),z.createDraft.bind(z),z.finishDraft.bind(z)},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),a=n("yCtX");function s(){for(var e=Number.POSITIVE_INFINITY,t=null,n=arguments.length,s=new Array(n),u=0;u<n;u++)s[u]=arguments[u];var l=s[s.length-1];return Object(i.a)(l)?(t=s.pop(),s.length>1&&"number"==typeof s[s.length-1]&&(e=s.pop())):"number"==typeof l&&(e=s.pop()),null===t&&1===s.length&&s[0]instanceof r.a?s[0]:Object(o.a)(e)(Object(a.a)(s,t))}},"VrN/":function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),u=!o&&/WebKit\//.test(e),l=u&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),f=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),v=/Android/.test(e),g=m||v||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\bCrOS\b/.test(e),_=/win/i.test(t),w=d&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(d=!1,u=!0);var E=y&&(l||d&&(null==w||w<12.11)),C=n||a&&s>=9;function A(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,S=function(e,t){var n=e.className,r=A(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function x(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function D(e,t){return x(e).appendChild(t)}function O(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function T(e,t,n,r){var i=O(e,t,n,r);return i.setAttribute("role","presentation"),i}function F(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function M(){var e;try{e=document.activeElement}catch(Te){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function P(e,t){var n=e.className;A(t).test(n)||(e.className+=(n?" ":"")+t)}function L(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!A(n[r]).test(t)&&(t+=" "+n[r]);return t}k=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(Te){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var R=function(e){e.select()};function B(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function j(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function I(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}m?R=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(R=function(e){try{e.select()}catch(t){}});var N=function(){this.id=null,this.f=null,this.time=0,this.handler=B(this.onTimeout,this)};function H(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}N.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},N.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var z={toString:function(){return"CodeMirror.Pass"}},Y={scroll:!1},U={origin:"*mouse"},V={origin:"+move"};function $(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,(i+=n-i%n)>=t)return r}}var W=[""];function G(e){for(;W.length<=e;)W.push(q(W)+" ");return W[e]}function q(e){return e[e.length-1]}function K(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function X(){}function Z(e,t){var n;return Object.create?n=Object.create(e):(X.prototype=e,n=new X),t&&j(t,n),n}var J=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Q(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||J.test(e))}function ee(e,t){return t?!!(t.source.indexOf("\\w")>-1&&Q(e))||t.test(e):Q(e)}function te(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function re(e){return e.charCodeAt(0)>=768&&ne.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&re(e.charAt(t));)t+=n;return t}function oe(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}var ae=null;function se(e,t,n){var r;ae=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ae=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ae=i)}return null!=r?r:ae}var ue=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,r=/[Lb1n]/,i=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a,s){var u="ltr"==s?"L":"R";if(0==a.length||"ltr"==s&&!e.test(a))return!1;for(var l,c=a.length,d=[],f=0;f<c;++f)d.push((l=a.charCodeAt(f))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(l):1424<=l&&l<=1524?"R":1536<=l&&l<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(l-1536):1774<=l&&l<=2220?"r":8192<=l&&l<=8203?"w":8204==l?"b":"L");for(var h=0,p=u;h<c;++h){var m=d[h];"m"==m?d[h]=p:p=m}for(var v=0,g=u;v<c;++v){var y=d[v];"1"==y&&"r"==g?d[v]="n":n.test(y)&&(g=y,"r"==y&&(d[v]="R"))}for(var b=1,_=d[0];b<c-1;++b){var w=d[b];"+"==w&&"1"==_&&"1"==d[b+1]?d[b]="1":","!=w||_!=d[b+1]||"1"!=_&&"n"!=_||(d[b]=_),_=w}for(var E=0;E<c;++E){var C=d[E];if(","==C)d[E]="N";else if("%"==C){var A=void 0;for(A=E+1;A<c&&"%"==d[A];++A);for(var k=E&&"!"==d[E-1]||A<c&&"1"==d[A]?"1":"N",S=E;S<A;++S)d[S]=k;E=A-1}}for(var x=0,D=u;x<c;++x){var O=d[x];"L"==D&&"1"==O?d[x]="L":n.test(O)&&(D=O)}for(var T=0;T<c;++T)if(t.test(d[T])){var F=void 0;for(F=T+1;F<c&&t.test(d[F]);++F);for(var M="L"==(T?d[T-1]:u),P=M==("L"==(F<c?d[F]:u))?M?"L":"R":u,L=T;L<F;++L)d[L]=P;T=F-1}for(var R,B=[],j=0;j<c;)if(r.test(d[j])){var I=j;for(++j;j<c&&r.test(d[j]);++j);B.push(new o(0,I,j))}else{var N=j,H=B.length,z="rtl"==s?1:0;for(++j;j<c&&"L"!=d[j];++j);for(var Y=N;Y<j;)if(i.test(d[Y])){N<Y&&(B.splice(H,0,new o(1,N,Y)),H+=z);var U=Y;for(++Y;Y<j&&i.test(d[Y]);++Y);B.splice(H,0,new o(2,U,Y)),H+=z,N=Y}else++Y;N<j&&B.splice(H,0,new o(1,N,j))}return"ltr"==s&&(1==B[0].level&&(R=a.match(/^\s+/))&&(B[0].from=R[0].length,B.unshift(new o(0,0,R[0].length))),1==q(B).level&&(R=a.match(/\s+$/))&&(q(B).to-=R[0].length,B.push(new o(0,c-R[0].length,c)))),"rtl"==s?B.reverse():B}}();function le(e,t){var n=e.order;return null==n&&(n=e.order=ue(e.text,t)),n}var ce=[],de=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||ce).concat(n)}};function fe(e,t){return e._handlers&&e._handlers[t]||ce}function he(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=H(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function pe(e,t){var n=fe(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function me(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),pe(e,n||t.type,e,t),we(t)||t.codemirrorIgnore}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==H(n,t[r])&&n.push(t[r])}function ge(e,t){return fe(e,t).length>0}function ye(e){e.prototype.on=function(e,t){de(this,e,t)},e.prototype.off=function(e,t){he(this,e,t)}}function be(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function _e(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function we(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ee(e){be(e),_e(e)}function Ce(e){return e.target||e.srcElement}function Ae(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var ke,Se,xe=function(){if(a&&s<9)return!1;var e=O("div");return"draggable"in e||"dragDrop"in e}();function De(e){if(null==ke){var t=O("span","\u200b");D(e,O("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(ke=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=ke?O("span","\u200b"):O("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Oe(e){if(null!=Se)return Se;var t=D(e,document.createTextNode("A\u062eA")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return x(e),!(!n||n.left==n.right)&&(Se=r.right-n.right<3)}var Te,Fe=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Me=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(Te){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(Te){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Pe="oncopy"in(Te=O("div"))||(Te.setAttribute("oncopy","return;"),"function"==typeof Te.oncopy),Le=null,Re={},Be={};function je(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Re[e]=t}function Ie(e){if("string"==typeof e&&Be.hasOwnProperty(e))e=Be[e];else if(e&&"string"==typeof e.name&&Be.hasOwnProperty(e.name)){var t=Be[e.name];"string"==typeof t&&(t={name:t}),(e=Z(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ie("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ie("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ne(e,t){t=Ie(t);var n=Re[t.name];if(!n)return Ne(e,"text/plain");var r=n(e,t);if(He.hasOwnProperty(t.name)){var i=He[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var He={};function ze(e,t){j(t,He.hasOwnProperty(e)?He[e]:He[e]={})}function Ye(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function Ue(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ve(e,t,n){return!e.startState||e.startState(t,n)}var $e=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function We(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Ge(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function qe(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Ke(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Xe(e){if(null==e.parent)return null;for(var t=e.parent,n=H(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function Ze(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function Je(e,t){return t>=e.first&&t<e.first+e.size}function Qe(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,n){if(void 0===n&&(n=null),!(this instanceof et))return new et(e,t,n);this.line=e,this.ch=t,this.sticky=n}function tt(e,t){return e.line-t.line||e.ch-t.ch}function nt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function rt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var n=e.first+e.size-1;return t.line>n?et(n,We(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?et(e.line,t):n<0?et(e.line,0):e}(t,We(e,t.line).text.length)}function ut(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=st(e,t[r]);return n}$e.prototype.eol=function(){return this.pos>=this.string.length},$e.prototype.sol=function(){return this.pos==this.lineStart},$e.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},$e.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},$e.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},$e.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},$e.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},$e.prototype.skipToEnd=function(){this.pos=this.string.length},$e.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},$e.prototype.backUp=function(e){this.pos-=e},$e.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=I(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?I(this.string,this.lineStart,this.tabSize):0)},$e.prototype.indentation=function(){return I(this.string,null,this.tabSize)-(this.lineStart?I(this.string,this.lineStart,this.tabSize):0)},$e.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},$e.prototype.current=function(){return this.string.slice(this.start,this.pos)},$e.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},$e.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},$e.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var lt=function(e,t){this.state=e,this.lookAhead=t},ct=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function dt(e,t,n,r){var i=[e.state.modeGen],o={};_t(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],u=1,l=0;n.state=!0,_t(e,t.text,s.mode,n,(function(e,t){for(var n=u;l<e;){var r=i[u];r>e&&i.splice(u,1,e,i[u+1],r),u+=2,l=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,u-n,e,"overlay "+t),u=n+2;else for(;n<u;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},u=0;u<e.state.overlays.length;++u)s(u);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function ft(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=ht(e,Xe(t)),i=t.text.length>e.options.maxHighlightLength&&Ye(e.doc.mode,r.state),o=dt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function ht(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ct(r,!0,t);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var u=We(o,s-1),l=u.stateAfter;if(l&&(!n||s+(l instanceof lt?l.lookAhead:0)<=o.modeFrontier))return s;var c=I(u.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}(e,t,n),a=o>r.first&&We(r,o-1).stateAfter,s=a?ct.fromSaved(r,a,o):new ct(r,Ve(r.mode),o);return r.iter(o,t,(function(n){pt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function pt(e,t,n,r){var i=e.doc.mode,o=new $e(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&mt(i,n.state);!o.eol();)vt(i,o,n.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Ue(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function vt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Ue(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ct.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ct.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ct.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ct.fromSaved=function(e,t,n){return t instanceof lt?new ct(e,Ye(e.mode,t.state),n,t.lookAhead):new ct(e,Ye(e.mode,t),n)},ct.prototype.save=function(e){var t=!1!==e?Ye(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new lt(t,this.maxLookAhead):t};var gt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function yt(e,t,n,r){var i,o,a=e.doc,s=a.mode,u=We(a,(t=st(a,t)).line),l=ht(e,t.line,n),c=new $e(u.text,e.options.tabSize,l);for(r&&(o=[]);(r||c.pos<t.ch)&&!c.eol();)c.start=c.pos,i=vt(s,c,l.state),r&&o.push(new gt(c,i,Ye(a.mode,l.state)));return r?o:new gt(c,i,l.state)}function bt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function _t(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var u,l=0,c=null,d=new $e(t,e.options.tabSize,r),f=e.options.addModeClass&&[null];for(""==t&&bt(mt(n,r.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&pt(e,t,r,d.pos),d.pos=t.length,u=null):u=bt(vt(n,d,r.state,f),o),f){var h=f[0].name;h&&(u="m-"+(u?h+" "+u:h))}if(!s||c!=u){for(;l<d.start;)i(l=Math.min(d.start,l+5e3),c);c=u}d.start=d.pos}for(;l<d.pos;){var p=Math.min(d.pos,l+5e3);i(p,c),l=p}}var wt=!1,Et=!1;function Ct(e,t,n){this.marker=e,this.from=t,this.to=n}function At(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function kt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function St(e,t){if(t.full)return null;var n=Je(e,t.from.line)&&We(e,t.from.line).markedSpans,r=Je(e,t.to.line)&&We(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(t.from,t.to),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;null!=o.from&&!(a.inclusiveLeft?o.from<=t:o.from<t)&&(o.from!=t||"bookmark"!=a.type||n&&o.marker.insertLeft)||(r||(r=[])).push(new Ct(a,o.from,null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)?null:o.to))}return r}(n,i,a),u=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft))&&(r||(r=[])).push(new Ct(a,null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)?null:o.from-t,null==o.to?null:o.to-t))}return r}(r,o,a),l=1==t.text.length,c=q(t.text).length+(l?i:0);if(s)for(var d=0;d<s.length;++d){var f=s[d];if(null==f.to){var h=At(u,f.marker);h?l&&(f.to=null==h.to?null:h.to+c):f.to=i}}if(u)for(var p=0;p<u.length;++p){var m=u[p];null!=m.to&&(m.to+=c),null==m.from?At(s,m.marker)||(m.from=c,l&&(s||(s=[])).push(m)):(m.from+=c,l&&(s||(s=[])).push(m))}s&&(s=xt(s)),u&&u!=s&&(u=xt(u));var v=[s];if(!l){var g,y=t.text.length-2;if(y>0&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(g||(g=[])).push(new Ct(s[b].marker,null,null));for(var _=0;_<y;++_)v.push(g);v.push(u)}return v}function xt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Dt(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Ot(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Tt(e){return e.inclusiveLeft?-1:0}function Ft(e){return e.inclusiveRight?1:0}function Mt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=tt(r.from,i.from)||Tt(e)-Tt(t);return o?-o:tt(r.to,i.to)||Ft(e)-Ft(t)||t.id-e.id}function Pt(e,t){var n,r=Et&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Mt(n,i.marker)<0)&&(n=i.marker);return n}function Lt(e){return Pt(e,!0)}function Rt(e){return Pt(e,!1)}function Bt(e,t){var n,r=Et&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Mt(n,o.marker)<0)&&(n=o.marker)}return n}function jt(e,t,n,r,i){var o=We(e,t),a=Et&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var u=a[s];if(u.marker.collapsed){var l=u.marker.find(0),c=tt(l.from,n)||Tt(u.marker)-Tt(i),d=tt(l.to,r)||Ft(u.marker)-Ft(i);if(!(c>=0&&d<=0||c<=0&&d>=0)&&(c<=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?tt(l.to,n)>=0:tt(l.to,n)>0)||c>=0&&(u.marker.inclusiveRight&&i.inclusiveLeft?tt(l.from,r)<=0:tt(l.from,r)<0)))return!0}}}function It(e){for(var t;t=Lt(e);)e=t.find(-1,!0).line;return e}function Nt(e,t){var n=We(e,t),r=It(n);return n==r?t:Xe(r)}function Ht(e,t){if(t>e.lastLine())return t;var n,r=We(e,t);if(!zt(e,r))return t;for(;n=Rt(r);)r=n.find(1,!0).line;return Xe(r)+1}function zt(e,t){var n=Et&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&Yt(e,t,r))return!0}}function Yt(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return Yt(e,r.line,At(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&Yt(e,t,i))return!0}function Ut(e){for(var t=0,n=(e=It(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function Vt(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=Lt(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=Rt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function $t(e){var t=e.display,n=e.doc;t.maxLine=We(n,n.first),t.maxLineLength=Vt(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=Vt(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var Wt=function(e,t,n){this.text=e,Ot(this,t),this.height=n?n(this):1};function Gt(e){e.parent=null,Dt(e)}Wt.prototype.lineNo=function(){return Xe(this)},ye(Wt);var qt={},Kt={};function Xt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Kt:qt;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Zt(e,t){var n=T("span",null,null,u?"padding-right: .1px":null),r={pre:T("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Qt,Oe(e.display.measure)&&(a=le(o,e.doc.direction))&&(r.addToken=en(r.addToken,a)),r.map=[],nn(o,r,ft(e,o,t!=e.display.externalMeasured&&Xe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=L(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=L(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(De(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(u){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return pe(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=L(r.pre.className,r.textClass||"")),r}function Jt(e){var t=O("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Qt(e,t,n,r,i,o,u){if(t){var l,c=e.splitSpaces?function(e,t){if(e.length>1&&!/  /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o="\xa0"),r+=o,n=" "==o}return r}(t,e.trailingSpace):t,d=e.cm.state.specialChars,f=!1;if(d.test(t)){l=document.createDocumentFragment();for(var h=0;;){d.lastIndex=h;var p=d.exec(t),m=p?p.index-h:t.length-h;if(m){var v=document.createTextNode(c.slice(h,h+m));l.appendChild(a&&s<9?O("span",[v]):v),e.map.push(e.pos,e.pos+m,v),e.col+=m,e.pos+=m}if(!p)break;h+=m+1;var g=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,b=y-e.col%y;(g=l.appendChild(O("span",G(b),"cm-tab"))).setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?((g=l.appendChild(O("span","\r"==p[0]?"\u240d":"\u2424","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),l.appendChild(a&&s<9?O("span",[g]):g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,l=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,l),a&&s<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||r||i||f||o||u){var _=n||"";r&&(_+=r),i&&(_+=i);var w=O("span",[l],_,o);if(u)for(var E in u)u.hasOwnProperty(E)&&"style"!=E&&"class"!=E&&w.setAttribute(E,u[E]);return e.content.appendChild(w)}e.content.appendChild(l)}}function en(e,t){return function(n,r,i,o,a,s,u){i=i?i+" cm-force-border":"cm-force-border";for(var l=n.pos,c=l+r.length;;){for(var d=void 0,f=0;f<t.length&&!((d=t[f]).to>l&&d.from<=l);f++);if(d.to>=c)return e(n,r,i,o,a,s,u);e(n,r.slice(0,d.to-l),i,o,null,s,u),o=null,r=r.slice(d.to-l),l=d.to}}}function tn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function nn(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,u,l,c,d,f,h=i.length,p=0,m=1,v="",g=0;;){if(g==p){u=l=c=s="",f=null,d=null,g=1/0;for(var y=[],b=void 0,_=0;_<r.length;++_){var w=r[_],E=w.marker;if("bookmark"==E.type&&w.from==p&&E.widgetNode)y.push(E);else if(w.from<=p&&(null==w.to||w.to>p||E.collapsed&&w.to==p&&w.from==p)){if(null!=w.to&&w.to!=p&&g>w.to&&(g=w.to,l=""),E.className&&(u+=" "+E.className),E.css&&(s=(s?s+";":"")+E.css),E.startStyle&&w.from==p&&(c+=" "+E.startStyle),E.endStyle&&w.to==g&&(b||(b=[])).push(E.endStyle,w.to),E.title&&((f||(f={})).title=E.title),E.attributes)for(var C in E.attributes)(f||(f={}))[C]=E.attributes[C];E.collapsed&&(!d||Mt(d.marker,E)<0)&&(d=w)}else w.from>p&&g>w.from&&(g=w.from)}if(b)for(var A=0;A<b.length;A+=2)b[A+1]==g&&(l+=" "+b[A]);if(!d||d.from==p)for(var k=0;k<y.length;++k)tn(t,0,y[k]);if(d&&(d.from||0)==p){if(tn(t,(null==d.to?h+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(p>=h)break;for(var S=Math.min(h,g);;){if(v){var x=p+v.length;if(!d){var D=x>S?v.slice(0,S-p):v;t.addToken(t,D,a?a+u:u,c,p+D.length==g?l:"",s,f)}if(x>=S){v=v.slice(S-p),p=S;break}p=x,c=""}v=i.slice(o,o=n[m++]),a=Xt(n[m++],t.cm.options)}}else for(var O=1;O<n.length;O+=2)t.addToken(t,i.slice(o,o=n[O]),Xt(n[O+1],t.cm.options))}function rn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Rt(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Xe(q(this.rest))-n+1:1,this.node=this.text=null,this.hidden=zt(e,t)}function on(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new rn(e.doc,We(e.doc,o),o);r=o+a.size,i.push(a)}return i}var an=null,sn=null;function un(e,t){var n=fe(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);an?r=an.delayedCallbacks:sn?r=sn:(r=sn=[],setTimeout(ln,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function ln(){var e=sn;sn=null;for(var t=0;t<e.length;++t)e[t]()}function cn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?hn(e,t):"gutter"==o?mn(e,t,n,r):"class"==o?pn(e,t):"widget"==o&&vn(e,t,r)}t.changes=null}function dn(e){return e.node==e.text&&(e.node=O("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function fn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Zt(e,t)}function hn(e,t){var n=t.text.className,r=fn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,pn(e,t)):n&&(t.text.className=n)}function pn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=dn(t);t.background=r.insertBefore(O("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?dn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className=""),t.text.className=(t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass)||""}function mn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=dn(t);t.gutterBackground=O("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=dn(t),s=t.gutter=O("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(O("div",Qe(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var u=0;u<e.display.gutterSpecs.length;++u){var l=e.display.gutterSpecs[u].className,c=o.hasOwnProperty(l)&&o[l];c&&s.appendChild(O("div",[c],"CodeMirror-gutter-elt","left: "+r.gutterLeft[l]+"px; width: "+r.gutterWidth[l]+"px"))}}}function vn(e,t,n){t.alignable&&(t.alignable=null);for(var r=A("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);yn(e,t,n)}function gn(e,t,n,r){var i=fn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),pn(e,t),mn(e,t,n,r),yn(e,t,r),t.node}function yn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,i){if(t.widgets)for(var o=dn(n),a=0,s=t.widgets;a<s.length;++a){var u=s[a],l=O("div",[u.node],"CodeMirror-linewidget"+(u.className?" "+u.className:""));u.handleMouseEvents||l.setAttribute("cm-ignore-events","true"),_n(u,l,n,r),e.display.input.setUneditable(l),i&&u.above?o.insertBefore(l,n.gutter||n.text):o.appendChild(l),un(u,"redraw")}}function _n(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function wn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!F(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),D(t.display.measure,O("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function En(e,t){for(var n=Ce(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Cn(e){return e.lineSpace.offsetTop}function An(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function kn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=D(e.measure,O("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Sn(e){return 50-e.display.nativeBarWidth}function xn(e){return e.display.scroller.clientWidth-Sn(e)-e.display.barWidth}function Dn(e){return e.display.scroller.clientHeight-Sn(e)-e.display.barHeight}function On(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Xe(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Tn(e,t,n,r){return Pn(e,Mn(e,t),n,r)}function Fn(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[cr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function Mn(e,t){var n=Xe(t),r=Fn(e,n);r&&!r.text?r=null:r&&r.changes&&(cn(e,r,n,or(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=Xe(t=It(t)),r=e.display.externalMeasured=new rn(e.doc,t,n);r.lineN=n;var i=r.built=Zt(e,r);return r.text=i.pre,D(e.display.lineMeasure,i.pre),r}(e,t));var i=On(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Pn(e,t,n,r,i){t.before&&(n=-1);var o,u=n+(r||"");return t.cache.hasOwnProperty(u)?o=t.cache[u]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,i=r&&xn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var u=a[s],l=a[s+1];Math.abs(u.bottom-l.bottom)>2&&o.push((u.bottom+l.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Bn(t.map,n,r),u=o.node,l=o.start,c=o.end,d=o.collapse;if(3==u.nodeType){for(var f=0;f<4;f++){for(;l&&re(t.line.text.charAt(o.coverStart+l));)--l;for(;o.coverStart+c<o.coverEnd&&re(t.line.text.charAt(o.coverStart+c));)++c;if((i=a&&s<9&&0==l&&c==o.coverEnd-o.coverStart?u.parentNode.getBoundingClientRect():jn(k(u,l,c).getClientRects(),r)).left||i.right||0==l)break;c=l,l-=1,d="right"}a&&s<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Le)return Le;var t=D(e,O("span","x")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return Le=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{var h;l>0&&(d=r="right"),i=e.options.lineWrapping&&(h=u.getClientRects()).length>1?h["right"==r?h.length-1:0]:u.getBoundingClientRect()}if(a&&s<9&&!l&&(!i||!i.left&&!i.right)){var p=u.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+ir(e.display),top:p.top,bottom:p.bottom}:Rn}for(var m=i.top-t.rect.top,v=i.bottom-t.rect.top,g=(m+v)/2,y=t.view.measure.heights,b=0;b<y.length-1&&!(g<y[b]);b++);var _={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:b?y[b-1]:0,bottom:y[b]};return i.left||i.right||(_.bogus=!0),e.options.singleCursorHeightPerLine||(_.rtop=m,_.rbottom=v),_}(e,t,n,r)).bogus||(t.cache[u]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Ln,Rn={left:0,right:0,top:0,bottom:0};function Bn(e,t,n){for(var r,i,o,a,s,u,l=0;l<e.length;l+=3)if(u=e[l+1],t<(s=e[l])?(i=0,o=1,a="left"):t<u?o=1+(i=t-s):(l==e.length-3||t==u&&e[l+3]>t)&&(i=(o=u-s)-1,t>=u&&(a="right")),null!=i){if(r=e[l+2],s==u&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;l&&e[l-2]==e[l-3]&&e[l-1].insertLeft;)r=e[2+(l-=3)],a="left";if("right"==n&&i==u-s)for(;l<e.length-3&&e[l+3]==e[l+4]&&!e[l+5].insertLeft;)r=e[(l+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:u}}function jn(e,t){var n=Rn;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function In(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Nn(e){e.display.externalMeasure=null,x(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)In(e.display.view[t])}function Hn(e){Nn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function zn(){return c&&v?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Yn(){return c&&v?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Un(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=wn(e.widgets[n]));return t}function Vn(e,t,n,r,i){if(!i){var o=Un(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=Ut(t);if("local"==r?a+=Cn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:Yn());var u=s.left+("window"==r?0:zn());n.left+=u,n.right+=u}return n.top+=a,n.bottom+=a,n}function $n(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=zn(),i-=Yn();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function Wn(e,t,n,r,i){return r||(r=We(e.doc,t.line)),Vn(e,r,Tn(e,r,t.ch,i),n)}function Gn(e,t,n,r,i,o){function a(t,a){var s=Pn(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,Vn(e,r,s,n)}r=r||We(e.doc,t.line),i||(i=Mn(e,r));var s=le(r,e.doc.direction),u=t.ch,l=t.sticky;if(u>=r.text.length?(u=r.text.length,l="before"):u<=0&&(u=0,l="after"),!s)return a("before"==l?u-1:u,"before"==l);function c(e,t,n){return a(n?e-1:e,1==s[t].level!=n)}var d=se(s,u,l),f=ae,h=c(u,d,"before"==l);return null!=f&&(h.other=c(u,f,"before"!=l)),h}function qn(e,t){var n=0;t=st(e.doc,t),e.options.lineWrapping||(n=ir(e.display)*t.ch);var r=We(e.doc,t.line),i=Ut(r)+Cn(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function Kn(e,t,n,r,i){var o=et(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function Xn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Kn(r.first,0,null,-1,-1);var i=Ze(r,n),o=r.first+r.size-1;if(i>o)return Kn(r.first+r.size-1,We(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=We(r,i);;){var s=er(e,a,i,t,n),u=Bt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!u)return s;var l=u.find(1);if(l.line==i)return l;a=We(r,i=l.line)}}function Zn(e,t,n,r){r-=Un(t);var i=t.text.length,o=oe((function(t){return Pn(e,n,t-1).bottom<=r}),i,0);return{begin:o,end:i=oe((function(t){return Pn(e,n,t).top>r}),o,i)}}function Jn(e,t,n,r){return n||(n=Mn(e,t)),Zn(e,t,n,Vn(e,t,Pn(e,n,r),"line").top)}function Qn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function er(e,t,n,r,i){i-=Ut(t);var o=Mn(e,t),a=Un(t),s=0,u=t.text.length,l=!0,c=le(t,e.doc.direction);if(c){var d=(e.options.lineWrapping?nr:tr)(e,t,n,o,c,r,i);s=(l=1!=d.level)?d.from:d.to-1,u=l?d.to:d.from-1}var f,h,p=null,m=null,v=oe((function(t){var n=Pn(e,o,t);return n.top+=a,n.bottom+=a,!!Qn(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,m=n),!0)}),s,u),g=!1;if(m){var y=r-m.left<m.right-r,b=y==l;v=p+(b?0:1),h=b?"after":"before",f=y?m.left:m.right}else{l||v!=u&&v!=s||v++,h=0==v?"after":v==t.text.length?"before":Pn(e,o,v-(l?1:0)).bottom+a<=i==l?"after":"before";var _=Gn(e,et(n,v,h),"line",t,o);f=_.left,g=i<_.top?-1:i>=_.bottom?1:0}return Kn(n,v=ie(t.text,v,1),h,g,r-f)}function tr(e,t,n,r,i,o,a){var s=oe((function(s){var u=i[s],l=1!=u.level;return Qn(Gn(e,et(n,l?u.to:u.from,l?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),u=i[s];if(s>0){var l=1!=u.level,c=Gn(e,et(n,l?u.from:u.to,l?"after":"before"),"line",t,r);Qn(c,o,a,!0)&&c.top>a&&(u=i[s-1])}return u}function nr(e,t,n,r,i,o,a){var s=Zn(e,t,r,a),u=s.begin,l=s.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var c=null,d=null,f=0;f<i.length;f++){var h=i[f];if(!(h.from>=l||h.to<=u)){var p=Pn(e,r,1!=h.level?Math.min(l,h.to)-1:Math.max(u,h.from)).right,m=p<o?o-p+1e9:p-o;(!c||d>m)&&(c=h,d=m)}}return c||(c=i[i.length-1]),c.from<u&&(c={from:u,to:c.to,level:c.level}),c.to>l&&(c={from:c.from,to:l,level:c.level}),c}function rr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ln){Ln=O("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Ln.appendChild(document.createTextNode("x")),Ln.appendChild(O("br"));Ln.appendChild(document.createTextNode("x"))}D(e.measure,Ln);var n=Ln.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),x(e.measure),n||1}function ir(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=O("span","xxxxxxxxxx"),n=O("pre",[t],"CodeMirror-line-like");D(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function or(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:ar(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function ar(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function sr(e){var t=rr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/ir(e.display)-3);return function(i){if(zt(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function ur(e){var t=e.doc,n=sr(e);t.iter((function(e){var t=n(e);t!=e.height&&Ke(e,t)}))}function lr(e,t,n,r){var i=e.display;if(!n&&"true"==Ce(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(d){return null}var u,l=Xn(e,o,a);if(r&&l.xRel>0&&(u=We(e.doc,l.line).text).length==l.ch){var c=I(u,u.length,e.options.tabSize)-u.length;l=et(l.line,Math.max(0,Math.round((o-kn(e.display).left)/ir(e.display))-c))}return l}function cr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function dr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Et&&Nt(e.doc,t)<i.viewTo&&hr(e);else if(n<=i.viewFrom)Et&&Ht(e.doc,n+r)>i.viewFrom?hr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)hr(e);else if(t<=i.viewFrom){var o=pr(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):hr(e)}else if(n>=i.viewTo){var a=pr(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):hr(e)}else{var s=pr(e,t,t,-1),u=pr(e,n,n+r,1);s&&u?(i.view=i.view.slice(0,s.index).concat(on(e,s.lineN,u.lineN)).concat(i.view.slice(u.index)),i.viewTo+=r):hr(e)}var l=i.externalMeasured;l&&(n<l.lineN?l.lineN+=r:t<l.lineN+l.size&&(i.externalMeasured=null))}function fr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[cr(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==H(a,n)&&a.push(n)}}}function hr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function pr(e,t,n,r){var i,o=cr(e,t),a=e.display.view;if(!Et||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,u=0;u<o;u++)s+=a[u].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Nt(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function mr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function vr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function gr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var u=s.empty();(u||e.options.showCursorWhenSelecting)&&yr(e,s.head,i),u||_r(e,s,o)}}return r}function yr(e,t,n){var r=Gn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(O("div","\xa0","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(O("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function br(e,t){return e.top-t.top||e.left-t.left}function _r(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=kn(e.display),s=a.left,u=Math.max(r.sizerWidth,xn(e)-r.sizer.offsetLeft)-a.right,l="ltr"==i.direction;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n                             top: "+t+"px; width: "+(null==n?u-e:n)+"px;\n                             height: "+(r-t)+"px"))}function d(t,n,r){var o,a,d=We(i,t),f=d.text.length;function h(n,r){return Wn(e,et(t,n),"div",d,r)}function p(t,n,r){var i=Jn(e,d,null,t),o="ltr"==n==("after"==r)?"left":"right";return h("after"==r?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1),o)[o]}var m=le(d,i.direction);return function(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(m,n||0,null==r?f:r,(function(e,t,i,d){var v="ltr"==i,g=h(e,v?"left":"right"),y=h(t-1,v?"right":"left"),b=null==n&&0==e,_=null==r&&t==f,w=0==d,E=!m||d==m.length-1;if(y.top-g.top<=3){var C=(l?b:_)&&w?s:(v?g:y).left;c(C,g.top,((l?_:b)&&E?u:(v?y:g).right)-C,g.bottom)}else{var A,k,S,x;v?(A=l&&b&&w?s:g.left,k=l?u:p(e,i,"before"),S=l?s:p(t,i,"after"),x=l&&_&&E?u:y.right):(A=l?p(e,i,"before"):s,k=!l&&b&&w?u:g.right,S=!l&&_&&E?s:y.left,x=l?p(t,i,"after"):u),c(A,g.top,k-A,g.bottom),g.bottom<y.top&&c(s,g.bottom,null,y.top),c(S,y.top,x-S,y.bottom)}(!o||br(g,o)<0)&&(o=g),br(y,o)<0&&(o=y),(!a||br(g,a)<0)&&(a=g),br(y,a)<0&&(a=y)})),{start:o,end:a}}var f=t.from(),h=t.to();if(f.line==h.line)d(f.line,f.ch,h.ch);else{var p=We(i,f.line),m=We(i,h.line),v=It(p)==It(m),g=d(f.line,f.ch,v?p.text.length+1:null).end,y=d(h.line,v?0:null,h.ch).start;v&&(g.top<y.top-2?(c(g.right,g.top,null,g.bottom),c(s,y.top,y.left,y.bottom)):c(g.right,g.top,y.left-g.right,g.bottom)),g.bottom<y.top&&c(s,g.bottom,null,y.top)}n.appendChild(o)}function wr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||kr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Er(e){e.state.focused||(e.display.input.focus(),Ar(e))}function Cr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,kr(e))}),100)}function Ar(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(pe(e,"focus",e,t),e.state.focused=!0,P(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),u&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),wr(e))}function kr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(pe(e,"blur",e,t),e.state.focused=!1,S(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Sr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,u=void 0,l=0;if(!i.hidden){if(a&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;u=c-n,n=c}else{var d=i.node.getBoundingClientRect();u=d.bottom-d.top,!o&&i.text.firstChild&&(l=i.text.firstChild.getBoundingClientRect().right-d.left-1)}var f=i.line.height-u;if((f>.005||f<-.005)&&(Ke(i.line,u),xr(i.line),i.rest))for(var h=0;h<i.rest.length;h++)xr(i.rest[h]);if(l>e.display.sizerWidth){var p=Math.ceil(l/ir(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function xr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function Dr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Cn(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=Ze(t,r),a=Ze(t,i);if(n&&n.ensure){var s=n.ensure.from.line,u=n.ensure.to.line;s<o?(o=s,a=Ze(t,Ut(We(t,s))+e.wrapper.clientHeight)):Math.min(u,t.lastLine())>=a&&(o=Ze(t,Ut(We(t,u))-e.wrapper.clientHeight),a=u)}return{from:o,to:Math.max(a,o+1)}}function Or(e,t){var n=e.display,r=rr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Dn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+An(n),u=t.bottom>s-r;if(t.top<i)a.scrollTop=t.top<r?0:t.top;else if(t.bottom>i+o){var l=Math.min(t.top,(u?s:t.bottom)-o);l!=i&&(a.scrollTop=l)}var c=e.options.fixedGutter?0:n.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-c,f=xn(e)-n.gutters.offsetWidth,h=t.right-t.left>f;return h&&(t.right=t.left+f),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left+c-(h?0:10)):t.right>f+d-3&&(a.scrollLeft=t.right+(h?0:10)-f),a}function Tr(e,t){null!=t&&(Pr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Fr(e){Pr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Mr(e,t,n){null==t&&null==n||Pr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Pr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Lr(e,qn(e,t.from),qn(e,t.to),t.margin))}function Lr(e,t,n,r){var i=Or(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Mr(e,i.scrollLeft,i.scrollTop)}function Rr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||ui(e,{top:t}),Br(e,t,!0),n&&ui(e),ri(e,100))}function Br(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function jr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,di(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Ir(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+An(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Sn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Nr=function(e,t,n){this.cm=n;var r=this.vert=O("div",[O("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=O("div",[O("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),de(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),de(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Nr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;return n?(this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0",this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+(e.viewHeight-(t?r:0)))+"px"):(this.vert.style.display="",this.vert.firstChild.style.height="0"),t?(this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px",this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+(e.viewWidth-e.barLeft-(n?r:0)))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0"),!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Nr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Nr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Nr.prototype.zeroWidthHack=function(){this.horiz.style.height=this.vert.style.width=y&&!h?"12px":"18px",this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new N,this.disableVert=new N},Nr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,(function r(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}))},Nr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Hr=function(){};function zr(e,t){t||(t=Ir(e));var n=e.display.barWidth,r=e.display.barHeight;Yr(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&Sr(e),Yr(e,Ir(e)),n=e.display.barWidth,r=e.display.barHeight}function Yr(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Hr.prototype.update=function(){return{bottom:0,right:0}},Hr.prototype.setScrollLeft=function(){},Hr.prototype.setScrollTop=function(){},Hr.prototype.clear=function(){};var Ur={native:Nr,null:Hr};function Vr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&S(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Ur[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),de(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?jr(e,t):Rr(e,t)}),e),e.display.scrollbars.addClass&&P(e.display.wrapper,e.display.scrollbars.addClass)}var $r=0;function Wr(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++$r},t=e.curOp,an?an.ops.push(t):t.ownsGroup=an={ops:[t],delayedCallbacks:[]}}function Gr(e){var t=e.curOp;t&&function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{an=null,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)qr(t[n]);for(var r=0;r<t.length;r++)Kr(t[r]);for(var i=0;i<t.length;i++)Xr(t[i]);for(var o=0;o<t.length;o++)Zr(t[o]);for(var a=0;a<t.length;a++)Jr(t[a])}(e)}(n)}}(t)}function qr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Sn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Sn(e)+"px",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&$t(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new oi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Kr(e){e.updatedDisplay=e.mustUpdate&&ai(e.cm,e.update)}function Xr(e){var t=e.cm,n=t.display;e.updatedDisplay&&Sr(t),e.barMeasure=Ir(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Tn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Sn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-xn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Zr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&jr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==M();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&zr(t,e.barMeasure),e.updatedDisplay&&ci(t,e.barMeasure),e.selectionChanged&&wr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Er(e.cm)}function Jr(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&si(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Br(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&jr(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!me(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=O("div","\u200b",null,"position: absolute;\n                         top: "+(t.top-n.viewOffset-Cn(e.display))+"px;\n                         height: "+(t.bottom-t.top+Sn(e)+n.barHeight)+"px;\n                         left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?et(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=Gn(e,t),u=n&&n!=t?Gn(e,n):s,l=Or(e,i={left:Math.min(s.left,u.left),top:Math.min(s.top,u.top)-r,right:Math.max(s.left,u.left),bottom:Math.max(s.bottom,u.bottom)+r}),c=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=l.scrollTop&&(Rr(e,l.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=l.scrollLeft&&(jr(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}(t,st(r,e.scrollToPos.from),st(r,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||pe(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&pe(o[s],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&pe(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Qr(e,t){if(e.curOp)return t();Wr(e);try{return t()}finally{Gr(e)}}function ei(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Wr(e);try{return t.apply(e,arguments)}finally{Gr(e)}}}function ti(e){return function(){if(this.curOp)return e.apply(this,arguments);Wr(this);try{return e.apply(this,arguments)}finally{Gr(this)}}}function ni(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Wr(t);try{return e.apply(this,arguments)}finally{Gr(t)}}}function ri(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,B(ii,e))}function ii(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=ht(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ye(t.mode,r.state):null,u=dt(e,o,r,!0);s&&(r.state=s),o.styles=u.styles;var l=o.styleClasses,c=u.classes;c?o.styleClasses=c:l&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||l!=c&&(!l||!c||l.bgClass!=c.bgClass||l.textClass!=c.textClass),f=0;!d&&f<a.length;++f)d=a[f]!=o.styles[f];d&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&pt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return ri(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Qr(e,(function(){for(var t=0;t<i.length;t++)fr(e,i[t],"text")}))}}var oi=function(e,t,n){var r=e.display;this.viewport=t,this.visible=Dr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=xn(e),this.force=n,this.dims=or(e),this.events=[]};function ai(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return hr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==mr(e))return!1;fi(e)&&(hr(e),t.dims=or(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Et&&(o=Nt(e.doc,o),a=Ht(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=on(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=on(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(cr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(on(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,cr(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=Ut(We(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=mr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=M();if(!t||!F(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&F(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return l>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return u&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var l=r.view,c=r.viewFrom,d=0;d<l.length;d++){var f=l[d];if(f.hidden);else if(f.node&&f.node.parentNode==o){for(;a!=f.node;)a=s(a);var h=i&&null!=t&&t<=c&&f.lineNumber;f.changes&&(H(f.changes,"gutter")>-1&&(h=!1),cn(e,f,c,n)),h&&(x(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(Qe(e.options,c)))),a=f.node.nextSibling}else{var p=gn(e,f,c,n);o.insertBefore(p,a)}c+=f.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=M()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&F(document.body,e.anchorNode)&&F(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(c),x(n.cursorDiv),x(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ri(e,400)),n.updateLineNumbers=null,!0}function si(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=xn(e))r&&(t.visible=Dr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+An(e.display)-Dn(e),n.top)}),t.visible=Dr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!ai(e,t))break;Sr(e);var i=Ir(e);vr(e),zr(e,i),ci(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function ui(e,t){var n=new oi(e,t);if(ai(e,n)){Sr(e),si(e,n);var r=Ir(e);vr(e),zr(e,r),ci(e,r),n.finish()}}function li(e){e.sizer.style.marginLeft=e.gutters.offsetWidth+"px"}function ci(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Sn(e)+"px"}function di(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=ar(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var u=0;u<s.length;u++)s[u].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function fi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=Qe(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(O("div",[O("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",li(e.display),!0}return!1}function hi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function pi(e){var t=e.gutters,n=e.gutterSpecs;x(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(O("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",li(e)}function mi(e){pi(e.display),dr(e),di(e)}function vi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=O("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=O("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=T("div",null,"CodeMirror-code"),o.selectionDiv=O("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=O("div",null,"CodeMirror-cursors"),o.measure=O("div",null,"CodeMirror-measure"),o.lineMeasure=O("div",null,"CodeMirror-measure"),o.lineSpace=T("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var l=T("div",[o.lineSpace],"CodeMirror-lines");o.mover=O("div",[l],null,"position: relative"),o.sizer=O("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=O("div",null,null,"position: absolute; height: 50px; width: 1px;"),o.gutters=O("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=O("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=O("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),u||n&&g||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=hi(i.gutters,i.lineNumbers),pi(o),r.init(o)}oi.prototype.signal=function(e,t){ge(e,t)&&this.events.push(arguments)},oi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)pe.apply(null,this.events[e])};var gi=0,yi=null;function bi(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function _i(e){var t=bi(e);return t.x*=yi,t.y*=yi,t}function wi(e,t){var r=bi(t),i=r.x,o=r.y,a=e.display,s=a.scroller,l=s.scrollHeight>s.clientHeight;if(i&&s.scrollWidth>s.clientWidth||o&&l){if(o&&y&&u)e:for(var c=t.target,f=a.view;c!=s;c=c.parentNode)for(var h=0;h<f.length;h++)if(f[h].node==c){e.display.currentWheelTarget=c;break e}if(i&&!n&&!d&&null!=yi)return o&&l&&Rr(e,Math.max(0,s.scrollTop+o*yi)),jr(e,Math.max(0,s.scrollLeft+i*yi)),(!o||o&&l)&&be(t),void(a.wheelStartX=null);if(o&&null!=yi){var p=o*yi,m=e.doc.scrollTop,v=m+a.wrapper.clientHeight;p<0?m=Math.max(0,m+p-50):v=Math.min(e.doc.height,v+p+50),ui(e,{top:m,bottom:v})}gi<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(yi=(yi*gi+n)/(gi+1),++gi)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?yi=-.53:n?yi=15:c?yi=-.7:f&&(yi=-1/3);var Ei=function(e,t){this.ranges=e,this.primIndex=t};Ei.prototype.primary=function(){return this.ranges[this.primIndex]},Ei.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!nt(n.anchor,r.anchor)||!nt(n.head,r.head))return!1}return!0},Ei.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Ci(rt(this.ranges[t].anchor),rt(this.ranges[t].head));return new Ei(e,this.primIndex)},Ei.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},Ei.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(tt(t,r.from())>=0&&tt(e,r.to())<=0)return n}return-1};var Ci=function(e,t){this.anchor=e,this.head=t};function Ai(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return tt(e.from(),t.from())})),n=H(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],u=tt(s.to(),a.from());if(r&&!a.empty()?u>0:u>=0){var l=ot(s.from(),a.from()),c=it(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new Ci(d?c:l,d?l:c))}}return new Ei(t,n)}function ki(e,t){return new Ei([new Ci(e,t||e)],0)}function Si(e){return e.text?et(e.from.line+e.text.length-1,q(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function xi(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return Si(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=Si(t).ch-t.to.ch),et(n,r)}function Di(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new Ci(xi(i.anchor,t),xi(i.head,t)))}return Ai(e.cm,n,e.sel.primIndex)}function Oi(e,t,n){return e.line==t.line?et(n.line,e.ch-t.ch+n.ch):et(n.line+(e.line-t.line),e.ch)}function Ti(e){e.doc.mode=Ne(e.options,e.doc.modeOption),Fi(e)}function Fi(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ri(e,100),e.state.modeGen++,e.curOp&&dr(e)}function Mi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==q(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Pi(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Dt(e),Ot(e,n);var i=r?r(e):1;i!=e.height&&Ke(e,i)}(e,n,i,r),un(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new Wt(l[o],i(o),r));return n}var s=t.from,u=t.to,l=t.text,c=We(e,s.line),d=We(e,u.line),f=q(l),h=i(l.length-1),p=u.line-s.line;if(t.full)e.insert(0,a(0,l.length)),e.remove(l.length,e.size-l.length);else if(Mi(e,t)){var m=a(0,l.length-1);o(d,d.text,h),p&&e.remove(s.line,p),m.length&&e.insert(s.line,m)}else if(c==d)if(1==l.length)o(c,c.text.slice(0,s.ch)+f+c.text.slice(u.ch),h);else{var v=a(1,l.length-1);v.push(new Wt(f+c.text.slice(u.ch),h,r)),o(c,c.text.slice(0,s.ch)+l[0],i(0)),e.insert(s.line+1,v)}else if(1==l.length)o(c,c.text.slice(0,s.ch)+l[0]+d.text.slice(u.ch),i(0)),e.remove(s.line+1,p);else{o(c,c.text.slice(0,s.ch)+l[0],i(0)),o(d,f+d.text.slice(u.ch),h);var g=a(1,l.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,g)}un(e,"change",e,t)}function Li(e,t,n){!function e(r,i,o){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=i){var u=o&&s.sharedHist;n&&!u||(t(s.doc,u),e(s.doc,r,u))}}}(e,null,!0)}function Ri(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ur(e),Ti(e),Bi(e),e.options.lineWrapping||$t(e),e.options.mode=t.modeOption,dr(e)}function Bi(e){("rtl"==e.doc.direction?P:S)(e.display.lineDiv,"CodeMirror-rtl")}function ji(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Ii(e,t){var n={from:rt(t.from),to:Si(t),text:Ge(e,t.from,t.to)};return Yi(e,n,t.from.line,t.to.line+1),Li(e,(function(e){return Yi(e,n,t.from.line,t.to.line+1)}),!0),n}function Ni(e){for(;e.length&&q(e).ranges;)e.pop()}function Hi(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Ni(e.done),q(e.done)):e.done.length&&!q(e.done).ranges?q(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),q(e.done)):void 0}(i,i.lastOp==r)))a=q(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=Si(t):o.changes.push(Ii(e,t));else{var u=q(i.done);for(u&&u.ranges||zi(e.sel,i.done),o={changes:[Ii(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||pe(e,"historyAdded")}function zi(e,t){var n=q(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Yi(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Ui(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Vi(e,t){var n=function(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(Ui(n[i]));return r}(e,t),r=St(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var u=a[s],l=0;l<o.length;++l)if(o[l].marker==u.marker)continue e;o.push(u)}else a&&(n[i]=a)}return n}function $i(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Ei.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var u=0;u<a.length;++u){var l=a[u],c=void 0;if(s.push({from:l.from,to:l.to,text:l.text}),t)for(var d in l)(c=d.match(/^spans_(\d+)$/))&&H(t,Number(c[1]))>-1&&(q(s)[d]=l[d],delete l[d])}}}return r}function Wi(e,t,n,r){if(r){var i=e.anchor;if(n){var o=tt(t,i)<0;o!=tt(n,i)<0?(i=t,t=n):o!=tt(t,n)<0&&(t=n)}return new Ci(i,t)}return new Ci(n||t,t)}function Gi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Ji(e,new Ei([Wi(e.sel.primary(),t,n,i)],0),r)}function qi(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Wi(e.sel.ranges[o],t[o],null,i);Ji(e,Ai(e.cm,r,e.sel.primIndex),n)}function Ki(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Ji(e,Ai(e.cm,i,e.sel.primIndex),r)}function Xi(e,t,n,r){Ji(e,ki(t,n),r)}function Zi(e,t,n){var r=e.history.done,i=q(r);i&&i.ranges?(r[r.length-1]=t,Qi(e,t,n)):Ji(e,t,n)}function Ji(e,t,n){Qi(e,t,n),function(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,q(i.done),t))?i.done[i.done.length-1]=t:zi(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Ni(i.undone)}(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Qi(e,t,n){(ge(e,"beforeSelectionChange")||e.cm&&ge(e.cm,"beforeSelectionChange"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new Ci(st(e,t[n].anchor),st(e,t[n].head))},origin:n&&n.origin};return pe(e,"beforeSelectionChange",e,r),e.cm&&pe(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?Ai(e.cm,r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1);eo(e,no(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Fr(e.cm)}function eo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),un(e,"cursorActivity",e))}function to(e){eo(e,no(e,e.sel,null,!1))}function no(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],u=io(e,a.anchor,s&&s.anchor,n,r),l=io(e,a.head,s&&s.head,n,r);(i||u!=a.anchor||l!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new Ci(u,l))}return i?Ai(e.cm,i,t.primIndex):t}function ro(e,t,n,r,i){var o=We(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],u=s.marker,l="selectLeft"in u?!u.selectLeft:u.inclusiveLeft,c="selectRight"in u?!u.selectRight:u.inclusiveRight;if((null==s.from||(l?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(pe(u,"beforeCursorEnter"),u.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!u.atomic)continue;if(n){var d=u.find(r<0?1:-1),f=void 0;if((r<0?c:l)&&(d=oo(e,d,-r,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(f=tt(d,n))&&(r<0?f<0:f>0))return ro(e,d,t,r,i)}var h=u.find(r<0?-1:1);return(r<0?l:c)&&(h=oo(e,h,r,h.line==t.line?o:null)),h?ro(e,h,t,r,i):null}}return t}function io(e,t,n,r,i){var o=r||1;return ro(e,t,n,o,i)||!i&&ro(e,t,n,o,!0)||ro(e,t,n,-o,i)||!i&&ro(e,t,n,-o,!0)||(e.cantEdit=!0,et(e.first,0))}function oo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:n>0&&t.ch==(r||We(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+n)}function ao(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),Y)}function so(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=st(e,t)),n&&(r.to=st(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),pe(e,"beforeChange",e,r),e.cm&&pe(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function uo(e,t,n){if(e.cm){if(!e.cm.curOp)return ei(e.cm,uo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(ge(e,"beforeChange")||e.cm&&ge(e.cm,"beforeChange"))||(t=so(e,t,!0))){var r=wt&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=H(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),u=0;u<i.length;++u){var l=i[u];if(!(tt(l.to,s.from)<0||tt(l.from,s.to)>0)){var c=[u,1],d=tt(l.from,s.from),f=tt(l.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&c.push({from:l.from,to:s.from}),(f>0||!a.inclusiveRight&&!f)&&c.push({from:s.to,to:l.to}),i.splice.apply(i,c),u+=c.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)lo(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else lo(e,t)}}function lo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=tt(t.from,t.to)){var n=Di(e,t);Hi(e,t,n,e.cm?e.cm.curOp.id:NaN),ho(e,t,n,St(e,t));var r=[];Li(e,(function(e,n){n||-1!=H(r,e.history)||(go(e.history,t),r.push(e.history)),ho(e,t,null,St(e,t))}))}}function co(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,u="undo"==t?o.undone:o.done,l=0;l<s.length&&(i=s[l],n?!i.ranges||i.equals(e.sel):i.ranges);l++);if(l!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(!(i=s.pop()).ranges){if(r)return void s.push(i);break}if(zi(i,u),n&&!i.equals(e.sel))return void Ji(e,i,{clearRedo:!1});a=i}var c=[];zi(a,u),u.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var d=ge(e,"beforeChange")||e.cm&&ge(e.cm,"beforeChange"),f=function(n){var r=i.changes[n];if(r.origin=t,d&&!so(e,r,!1))return s.length=0,{};c.push(Ii(e,r));var o=n?Di(e,r):q(s);ho(e,r,o,Vi(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:Si(r)});var a=[];Li(e,(function(e,t){t||-1!=H(a,e.history)||(go(e.history,r),a.push(e.history)),ho(e,r,null,Vi(e,r))}))},h=i.changes.length-1;h>=0;--h){var p=f(h);if(p)return p.v}}}}function fo(e,t){if(0!=t&&(e.first+=t,e.sel=new Ei(K(e.sel.ranges,(function(e){return new Ci(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){dr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)fr(e.cm,r,"gutter")}}function ho(e,t,n,r){if(e.cm&&!e.cm.curOp)return ei(e.cm,ho)(e,t,n,r);if(t.to.line<e.first)fo(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);fo(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[q(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,We(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ge(e,t.from,t.to),n||(n=Di(e,t)),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,u=o.line;e.options.lineWrapping||(u=Xe(It(We(r,o.line))),r.iter(u,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ve(e),Pi(r,t,n,sr(e)),e.options.lineWrapping||(r.iter(u,o.line+t.text.length,(function(e){var t=Vt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=We(e,r).stateAfter;if(i&&(!(i instanceof lt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,o.line),ri(e,400);var l=t.text.length-(a.line-o.line)-1;t.full?dr(e):o.line!=a.line||1!=t.text.length||Mi(e.doc,t)?dr(e,o.line,a.line+1,l):fr(e,o.line,"text");var c=ge(e,"changes"),d=ge(e,"change");if(d||c){var f={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&un(e,"change",e,f),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}(e.cm,t,r):Pi(e,t,r),Qi(e,n,Y),e.cantEdit&&io(e,et(e.firstLine(),0))&&(e.cantEdit=!1)}}function po(e,t,n,r,i){var o;r||(r=n),tt(r,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),uo(e,{from:n,to:r,text:t,origin:i})}function mo(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function vo(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)mo(o.ranges[s].anchor,t,n,r),mo(o.ranges[s].head,t,n,r)}else{for(var u=0;u<o.changes.length;++u){var l=o.changes[u];if(n<l.from.line)l.from=et(l.from.line+r,l.from.ch),l.to=et(l.to.line+r,l.to.ch);else if(t<=l.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function go(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;vo(e.done,n,r,i),vo(e.undone,n,r,i)}function yo(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=We(e,at(e,t)):i=Xe(t),null==i?null:(r(o,i)&&e.cm&&fr(e.cm,i,n),o)}function bo(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function _o(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}Ci.prototype.from=function(){return ot(this.anchor,this.head)},Ci.prototype.to=function(){return it(this.anchor,this.head)},Ci.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},bo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,Gt(i),un(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},_o.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof bo))){var s=[];this.collapse(s),this.children=[new bo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var u=new bo(i.lines.slice(s,s+=25));i.height-=u.height,this.children.splice(++r,0,u),u.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new _o(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=H(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new _o(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var wo=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function Eo(e,t,n){Ut(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Tr(e,n)}wo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Xe(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=wn(this);Ke(n,Math.max(0,n.height-o)),e&&(Qr(e,(function(){Eo(e,n,-o),fr(e,r,"widget")})),un(e,"lineWidgetCleared",e,this,r))}},wo.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=wn(this)-t;i&&(zt(this.doc,r)||Ke(r,r.height+i),n&&Qr(n,(function(){n.curOp.forceUpdate=!0,Eo(n,r,i),un(n,"lineWidgetChanged",n,e,Xe(r))})))},ye(wo);var Co=0,Ao=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++Co};function ko(e,t,n,r,i){if(r&&r.shared)return function(e,t,n,r,i){(r=j(r)).shared=!1;var o=[ko(e,t,n,r,i)],a=o[0],s=r.widgetNode;return Li(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(ko(e,st(e,t),st(e,n),r,i));for(var u=0;u<e.linked.length;++u)if(e.linked[u].isParent)return;a=q(o)})),new So(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return ei(e.cm,ko)(e,t,n,r,i);var o=new Ao(e,i),a=tt(t,n);if(r&&j(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=T("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(jt(e,t.line,t,n,o)||t.line!=n.line&&jt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Et=!0}o.addToHistory&&Hi(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,u=t.line,l=e.cm;if(e.iter(u,n.line+1,(function(e){l&&o.collapsed&&!l.options.lineWrapping&&It(e)==l.display.maxLine&&(s=!0),o.collapsed&&u!=t.line&&Ke(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Ct(o,u==t.line?t.ch:null,u==n.line?n.ch:null)),++u})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){zt(e,t)&&Ke(t,0)})),o.clearOnEnter&&de(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(wt=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++Co,o.atomic=!0),l){if(s&&(l.curOp.updateMaxLine=!0),o.collapsed)dr(l,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=n.line;c++)fr(l,c,"text");o.atomic&&to(l.doc),un(l,"markerAdded",l,o)}return o}Ao.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Wr(e),ge(this,"clear")){var n=this.find();n&&un(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=At(a.markedSpans,this);e&&!this.collapsed?fr(e,Xe(a),"text"):e&&(null!=s.to&&(i=Xe(a)),null!=s.from&&(r=Xe(a))),a.markedSpans=kt(a.markedSpans,s),null==s.from&&this.collapsed&&!zt(this.doc,a)&&e&&Ke(a,rr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var u=0;u<this.lines.length;++u){var l=It(this.lines[u]),c=Vt(l);c>e.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&dr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&to(e.doc)),e&&un(e,"markerCleared",e,this,r,i),t&&Gr(e),this.parent&&this.parent.clear()}},Ao.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=At(o.markedSpans,this);if(null!=a.from&&(n=et(t?o:Xe(o),a.from),-1==e))return n;if(null!=a.to&&(r=et(t?o:Xe(o),a.to),1==e))return r}return n&&{from:n,to:r}},Ao.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Qr(r,(function(){var i=t.line,o=Xe(t.line),a=Fn(r,o);if(a&&(In(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!zt(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var u=wn(n)-s;u&&Ke(i,i.height+u)}un(r,"markerChanged",r,e)}))},Ao.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=H(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Ao.prototype.detachLine=function(e){if(this.lines.splice(H(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},ye(Ao);var So=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function xo(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),(function(e){return e.parent}))}function Do(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];Li(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==H(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}So.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();un(this,"clear")}},So.prototype.find=function(e,t){return this.primary.find(e,t)},ye(So);var Oo=0,To=function e(t,n,r,i,o){if(!(this instanceof e))return new e(t,n,r,i,o);null==r&&(r=0),_o.call(this,[new bo([new Wt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var a=et(r,0);this.sel=ki(a),this.history=new ji(null),this.id=++Oo,this.modeOption=n,this.lineSep=i,this.direction="rtl"==o?"rtl":"ltr",this.extend=!1,"string"==typeof t&&(t=this.splitLines(t)),Pi(this,{from:a,to:a,text:t}),Ji(this,ki(a),Y)};(To.prototype=Z(_o.prototype,{constructor:To,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=qe(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:ni((function(e){var t=et(this.first,0),n=this.first+this.size-1;uo(this,{from:t,to:et(n,We(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Mr(this.cm,0,0),Ji(this,ki(t),Y)})),replaceRange:function(e,t,n,r){po(this,e,t=st(this,t),n=n?st(this,n):t,r)},getRange:function(e,t,n){var r=Ge(this,st(this,e),st(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Je(this,e))return We(this,e)},getLineNumber:function(e){return Xe(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=We(this,e)),It(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ni((function(e,t,n){Xi(this,st(this,"number"==typeof e?et(e,t||0):e),null,n)})),setSelection:ni((function(e,t,n){Xi(this,st(this,e),st(this,t||e),n)})),extendSelection:ni((function(e,t,n){Gi(this,st(this,e),t&&st(this,t),n)})),extendSelections:ni((function(e,t){qi(this,ut(this,e),t)})),extendSelectionsBy:ni((function(e,t){qi(this,ut(this,K(this.sel.ranges,e)),t)})),setSelections:ni((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new Ci(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Ji(this,Ai(this.cm,r,t),n)}})),addSelection:ni((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new Ci(st(this,e),st(this,t||e))),Ji(this,Ai(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Ge(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Ge(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:ni((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&function(e,t,n){for(var r=[],i=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],u=Oi(s.from,i,o),l=Oi(Si(s),i,o);if(i=s.to,o=l,"around"==n){var c=e.sel.ranges[a],d=tt(c.head,c.anchor)<0;r[a]=new Ci(d?l:u,d?u:l)}else r[a]=new Ci(u,u)}return new Ei(r,e.sel.primIndex)}(this,r,t),u=r.length-1;u>=0;u--)uo(this,r[u]);s?Zi(this,s):this.cm&&Fr(this.cm)})),undo:ni((function(){co(this,"undo")})),redo:ni((function(){co(this,"redo")})),undoSelection:ni((function(){co(this,"undo",!0)})),redoSelection:ni((function(){co(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new ji(this.history.maxGeneration),Li(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:$i(this.history.done),undone:$i(this.history.undone)}},setHistory:function(e){var t=this.history=new ji(this.history.maxGeneration);t.done=$i(e.done.slice(0),null,!0),t.undone=$i(e.undone.slice(0),null,!0)},setGutterMarker:ni((function(e,t,n){return yo(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&te(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:ni((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&yo(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,te(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!Je(this,e))return null;if(t=e,!(e=We(this,e)))return null}else if(null==(t=Xe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:ni((function(e,t,n){return yo(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(A(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:ni((function(e,t,n){return yo(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(A(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:ni((function(e,t,n){return function(e,t,n,r){var i=new wo(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),yo(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!zt(e,t)){var r=Ut(t)<e.scrollTop;Ke(t,t.height+wn(i)),r&&Tr(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&un(o,"lineWidgetAdded",o,i,"number"==typeof t?t:Xe(t)),i}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return ko(this,st(this,e),st(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return ko(this,e=st(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=We(this,(e=st(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=st(this,e),t=st(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var u=a[s];null!=u.to&&i==e.line&&e.ch>=u.to||null==u.from&&i!=e.line||null!=u.from&&i==t.line&&u.from>=t.ch||n&&!n(u.marker)||r.push(u.marker.parent||u.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),st(this,et(n,t))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new To(qe(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new To(qe(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(tt(o,a)){var s=ko(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,xo(this)),r},unlinkDoc:function(e){if(e instanceof ka&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Do(xo(this));break}if(e.history==this.history){var n=[e.id];Li(e,(function(e){return n.push(e.id)}),!0),e.history=new ji(null),e.history.done=$i(this.history.done,n),e.history.undone=$i(this.history.undone,n)}},iterLinkedDocs:function(e){Li(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Fe(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:ni((function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&Qr(t=this.cm,(function(){Bi(t),dr(t)})))}))})).eachLine=To.prototype.iter;var Fo=0;function Mo(e){var t=this;if(Po(t),!me(t,e)&&!En(t.display,e)){be(e),a&&(Fo=+new Date);var n=lr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,u=function(){++s==i&&ei(t,(function(){var e={from:n=st(t.doc,n),to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};uo(t.doc,e),Zi(t.doc,ki(st(t.doc,n),st(t.doc,Si(e))))}))()},l=function(e,n){if(t.options.allowDropFileTypes&&-1==H(t.options.allowDropFileTypes,e.type))u();else{var r=new FileReader;r.onerror=function(){return u()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),u()},r.readAsText(e)}},c=0;c<r.length;c++)l(r[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var d=e.dataTransfer.getData("Text");if(d){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Qi(t.doc,ki(n,n)),f)for(var h=0;h<f.length;++h)po(t.doc,"",f[h].anchor,f[h].head,"drag");t.replaceSelection(d,"around","paste"),t.display.input.focus()}}catch(p){}}}}function Po(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Lo(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Ro=!1;function Bo(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var jo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Io=0;Io<10;Io++)jo[Io+48]=jo[Io+96]=String(Io);for(var No=65;No<=90;No++)jo[No]=String.fromCharCode(No);for(var Ho=1;Ho<=12;Ho++)jo[Ho+111]=jo[Ho+63235]="F"+Ho;var zo={};function Yo(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Uo(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=K(n.split(" "),Yo),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var u=t[s];if(u){if(u!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var l in t)e[l]=t[l];return e}function Vo(e,t,n,r){var i=(t=qo(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Vo(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Vo(e,t.fallthrough[o],n,r);if(a)return a}}}function $o(e){var t="string"==typeof e?e:jo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Wo(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(E?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(E?t.ctrlKey:t.metaKey)&&"Mod"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Go(e,t){if(d&&34==e.keyCode&&e.char)return!1;var n=jo[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wo(n,e,t))}function qo(e){return"string"==typeof e?zo[e]:e}function Ko(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&tt(o.from,q(r).to)<=0;){var a=r.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Qr(e,(function(){for(var t=r.length-1;t>=0;t--)po(e.doc,"",r[t].from,r[t].to,"+delete");Fr(e)}))}function Xo(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Zo(e,t,n){var r=Xo(e,t.ch,n);return null==r?null:new et(t.line,r,n<0?"after":"before")}function Jo(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=le(n,t.doc.direction);if(o){var a,s=i<0?q(o):o[0],u=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var l=Mn(t,n),c=Pn(t,l,a=i<0?n.text.length-1:0).top;a=oe((function(e){return Pn(t,l,e).top==c}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=Xo(n,a,1))}else a=i<0?s.to:s.from;return new et(r,a,u)}}return new et(r,i<0?n.text.length:0,i<0?"before":"after")}zo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},zo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},zo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},zo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},zo.default=y?zo.macDefault:zo.pcDefault;var Qo={selectAll:ao,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Y)},killLine:function(e){return Ko(e,(function(t){if(t.empty()){var n=We(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:et(t.head.line+1,0)}:{from:t.head,to:et(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Ko(e,(function(t){return{from:et(t.from().line,0),to:st(e.doc,et(t.to().line+1,0))}}))},delLineLeft:function(e){return Ko(e,(function(e){return{from:et(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Ko(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return Ko(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return ea(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return ta(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var n=We(e.doc,t),r=function(e){for(var t;t=Rt(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=Xe(r)),Jo(!0,e,n,t,-1)}(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),V)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),V)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?ta(e,t.head):r}),V)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=I(e.getLine(o.line),o.ch,r);t.push(G(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Qr(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=We(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new et(i.line,i.ch-1)),i.ch>0)i=new et(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),et(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=We(e.doc,i.line-1).text;a&&(i=new et(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),et(i.line-1,a.length-1),i,"+transpose"))}n.push(new Ci(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Qr(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Fr(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function ea(e,t){var n=We(e.doc,t),r=It(n);return r!=n&&(t=Xe(r)),Jo(!0,e,r,t,1)}function ta(e,t){var n=ea(e,t.line),r=We(e.doc,n.line),i=le(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/));return et(n.line,t.line==n.line&&t.ch<=o&&t.ch?0:o,n.sticky)}return n}function na(e,t,n){if("string"==typeof t&&!(t=Qo[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=z}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var ra=new N;function ia(e,t,n,r){var i=e.state.keySeq;if(i){if($o(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ra.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),oa(e,i+" "+t,n,r))return!0}return oa(e,t,n,r)}function oa(e,t,n,r){var i=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Vo(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Vo(t,e.options.extraKeys,n,e)||Vo(t,e.options.keyMap,n,e)}(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&un(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(be(n),wr(e)),!!i}function aa(e,t){var n=Go(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?ia(e,"Shift-"+n,t,(function(t){return na(e,t,!0)}))||ia(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return na(e,t)})):ia(e,n,t,(function(t){return na(e,t)})))}var sa=null;function ua(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=M(),me(t,e)))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=aa(t,e);d&&(sa=i?r:null,i||88!=r||Pe||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(S(t,"CodeMirror-crosshair"),he(document,"keyup",n),he(document,"mouseover",n))}P(t,"CodeMirror-crosshair"),de(document,"keyup",n),de(document,"mouseover",n)}(t)}}function la(e){16==e.keyCode&&(this.doc.sel.shift=!1),me(this,e)}function ca(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||En(t.display,e)||me(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(d&&n==sa)return sa=null,void be(e);if(!d||e.which&&!(e.which<10)||!aa(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(function(e,t,n){return ia(e,"'"+n+"'",t,(function(t){return na(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var da,fa,ha=function(e,t,n){this.time=e,this.pos=t,this.button=n};function pa(e){var t=this,n=t.display;if(!(me(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,En(n,e))u||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ga(t,e)){var r=lr(t,e),i=Ae(e),o=r?function(e,t){var n=+new Date;return fa&&fa.compare(n,e,t)?(da=fa=null,"triple"):da&&da.compare(n,e,t)?(fa=new ha(n,e,t),da=null,"double"):(da=new ha(n,e,t),fa=null,"single")}(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),ia(e,Wo(o=(1==t?"Left":2==t?"Middle":"Right")+o,i),i,(function(t){if("string"==typeof t&&(t=Qo[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=z}finally{e.state.suppressEdits=!1}return r}))}(t,i,r,o,e)||(1==i?r?function(e,t,n,r){a?setTimeout(B(Er,e),0):e.curOp.focus=M();var i,o=function(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};return null==i.unit&&(i.unit=(b?n.shiftKey&&n.metaKey:n.altKey)?"rectangle":"single"==t?"char":"double"==t?"word":"line"),(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}(e,n,r),l=e.doc.sel;e.options.dragDrop&&xe&&!e.isReadOnly()&&"single"==n&&(i=l.contains(t))>-1&&(tt((i=l.ranges[i]).from(),t)<0||t.xRel>0)&&(tt(i.to(),t)>0||t.xRel<0)?function(e,t,n,r){var i=e.display,o=!1,l=ei(e,(function(t){u&&(i.scroller.draggable=!1),e.state.draggingText=!1,he(i.wrapper.ownerDocument,"mouseup",l),he(i.wrapper.ownerDocument,"mousemove",c),he(i.scroller,"dragstart",d),he(i.scroller,"drop",l),o||(be(t),r.addNew||Gi(e.doc,n,null,null,r.extend),u&&!f||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};u&&(i.scroller.draggable=!0),e.state.draggingText=l,l.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),de(i.wrapper.ownerDocument,"mouseup",l),de(i.wrapper.ownerDocument,"mousemove",c),de(i.scroller,"dragstart",d),de(i.scroller,"drop",l),Cr(e),setTimeout((function(){return i.input.focus()}),20)}(e,r,t,o):function(e,t,n,r){var i=e.display,o=e.doc;be(t);var a,s,u=o.sel,l=u.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?l[s]:new Ci(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new Ci(n,n)),n=lr(e,t,!0,!0),s=-1;else{var c=ma(e,n,r.unit);a=r.extend?Wi(a,c.anchor,c.head,r.extend):c}r.addNew?-1==s?(s=l.length,Ji(o,Ai(e,l.concat([a]),s),{scroll:!1,origin:"*mouse"})):l.length>1&&l[s].empty()&&"char"==r.unit&&!r.extend?(Ji(o,Ai(e,l.slice(0,s).concat(l.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),u=o.sel):Ki(o,s,a,U):(s=0,Ji(o,new Ei([a],0),U),u=o.sel);var d=n,f=i.wrapper.getBoundingClientRect(),h=0;function p(t){e.state.selectingText=!1,h=1/0,t&&(be(t),i.input.focus()),he(i.wrapper.ownerDocument,"mousemove",m),he(i.wrapper.ownerDocument,"mouseup",v),o.history.lastSelOrigin=null}var m=ei(e,(function(t){0!==t.buttons&&Ae(t)?function t(l){var c=++h,p=lr(e,l,!0,"rectangle"==r.unit);if(p)if(0!=tt(p,d)){e.curOp.focus=M(),function(t){if(0!=tt(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],l=e.options.tabSize,c=I(We(o,n.line).text,n.ch,l),f=I(We(o,t.line).text,t.ch,l),h=Math.min(c,f),p=Math.max(c,f),m=Math.min(n.line,t.line),v=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=v;m++){var g=We(o,m).text,y=$(g,h,l);h==p?i.push(new Ci(et(m,y),et(m,y))):g.length>y&&i.push(new Ci(et(m,y),et(m,$(g,p,l))))}i.length||i.push(new Ci(n,n)),Ji(o,Ai(e,u.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,_=a,w=ma(e,t,r.unit),E=_.anchor;tt(w.anchor,E)>0?(b=w.head,E=ot(_.from(),w.anchor)):(b=w.anchor,E=it(_.to(),w.head));var C=u.ranges.slice(0);C[s]=function(e,t){var n=t.anchor,r=t.head,i=We(e.doc,n.line);if(0==tt(n,r)&&n.sticky==r.sticky)return t;var o=le(i);if(!o)return t;var a=se(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var u,l=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==o.length)return t;if(r.line!=n.line)u=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=se(o,r.ch,r.sticky),d=c-a||(r.ch-n.ch)*(1==s.level?-1:1);u=c==l-1||c==l?d<0:d>0}var f=o[l+(u?-1:0)],h=u==(1==f.level),p=h?f.from:f.to,m=h?"after":"before";return n.ch==p&&n.sticky==m?t:new Ci(new et(n.line,p,m),r)}(e,new Ci(st(o,E),b)),Ji(o,Ai(e,C,s),U)}}(p);var m=Dr(i,o);(p.line>=m.to||p.line<m.from)&&setTimeout(ei(e,(function(){h==c&&t(l)})),150)}else{var v=l.clientY<f.top?-20:l.clientY>f.bottom?20:0;v&&setTimeout(ei(e,(function(){h==c&&(i.scroller.scrollTop+=v,t(l))})),50)}}(t):p(t)})),v=ei(e,p);e.state.selectingText=v,de(i.wrapper.ownerDocument,"mousemove",m),de(i.wrapper.ownerDocument,"mouseup",v)}(e,r,t,o)}(t,r,o,e):Ce(e)==n.scroller&&be(e):2==i?(r&&Gi(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(C?t.display.input.onContextMenu(e):Cr(t)))}}function ma(e,t,n){if("char"==n)return new Ci(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new Ci(et(t.line,0),st(e.doc,et(t.line+1,0)));var r=n(e,t);return new Ci(r.from,r.to)}function va(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(c){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&be(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ge(e,n))return we(t);o-=s.top-a.viewOffset;for(var u=0;u<e.display.gutterSpecs.length;++u){var l=a.gutters.childNodes[u];if(l&&l.getBoundingClientRect().right>=i)return pe(e,n,e,Ze(e.doc,o),e.display.gutterSpecs[u].className,t),we(t)}}function ga(e,t){return va(e,t,"gutterClick",!0)}function ya(e,t){En(e.display,t)||function(e,t){return!!ge(e,"gutterContextMenu")&&va(e,t,"gutterContextMenu",!1)}(e,t)||me(e,t,"contextmenu")||C||e.display.input.onContextMenu(t)}function ba(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Hn(e)}ha.prototype.compare=function(e,t,n){return this.time+400>e&&0==tt(t,this.pos)&&n==this.button};var _a={toString:function(){return"CodeMirror.Init"}},wa={},Ea={};function Ca(e,t,n){if(!t!=!(n&&n!=_a)){var r=e.display.dragFunctions,i=t?de:he;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function Aa(e){e.options.lineWrapping?(P(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(S(e.display.wrapper,"CodeMirror-wrap"),$t(e)),ur(e),dr(e),Hn(e),setTimeout((function(){return zr(e)}),100)}function ka(e,t){var n=this;if(!(this instanceof ka))return new ka(e,t);this.options=t=t?j(t):{},j(wa,t,!1);var r=t.value;"string"==typeof r?r=new To(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new ka.inputStyles[t.inputStyle](this),o=this.display=new vi(e,r,i,t);for(var l in o.wrapper.CodeMirror=this,ba(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Vr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new N,keySeq:null,specialChars:null},t.autofocus&&!g&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),function(e){var t=e.display;de(t.scroller,"mousedown",ei(e,pa)),de(t.scroller,"dblclick",a&&s<11?ei(e,(function(t){if(!me(e,t)){var n=lr(e,t);if(n&&!ga(e,t)&&!En(e.display,t)){be(t);var r=e.findWordAt(n);Gi(e.doc,r.anchor,r.head)}}})):function(t){return me(e,t)||be(t)}),de(t.scroller,"contextmenu",(function(t){return ya(e,t)})),de(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||ya(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),(r=t.activeTouch).end=+new Date)}function o(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}de(t.scroller,"touchstart",(function(i){if(!me(e,i)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!ga(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),de(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),de(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!En(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,"page");a=!r.prev||o(r,r.prev)?new Ci(s,s):!r.prev.prev||o(r,r.prev.prev)?e.findWordAt(s):new Ci(et(s.line,0),st(e.doc,et(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),be(n)}i()})),de(t.scroller,"touchcancel",i),de(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Rr(e,t.scroller.scrollTop),jr(e,t.scroller.scrollLeft,!0),pe(e,"scroll",e))})),de(t.scroller,"mousewheel",(function(t){return wi(e,t)})),de(t.scroller,"DOMMouseScroll",(function(t){return wi(e,t)})),de(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){me(e,t)||Ee(t)},over:function(t){me(e,t)||(function(e,t){var n=lr(e,t);if(n){var r=document.createDocumentFragment();yr(e,n,r),e.display.dragCursor||(e.display.dragCursor=O("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),D(e.display.dragCursor,r)}}(e,t),Ee(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Fo<100))Ee(t);else if(!me(e,t)&&!En(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!f)){var n=O("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:ei(e,Mo),leave:function(t){me(e,t)||Po(e)}};var u=t.input.getField();de(u,"keyup",(function(t){return la.call(e,t)})),de(u,"keydown",ei(e,ua)),de(u,"keypress",ei(e,ca)),de(u,"focus",(function(t){return Ar(e,t)})),de(u,"blur",(function(t){return kr(e,t)}))}(this),function(){var e;Ro||(de(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Lo(Bo)}),100))})),de(window,"blur",(function(){return Lo(kr)})),Ro=!0)}(),Wr(this),this.curOp.forceUpdate=!0,Ri(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Ar(n)}),20):kr(this),Ea)Ea.hasOwnProperty(l)&&Ea[l](this,t[l],_a);fi(this),t.finishInit&&t.finishInit(this);for(var c=0;c<Sa.length;++c)Sa[c](this);Gr(this),u&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}ka.defaults=wa,ka.optionHandlers=Ea;var Sa=[];function xa(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=ht(e,t).state:n="prev");var a=e.options.tabSize,s=We(o,t),u=I(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var l,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((l=o.mode.indent(i,s.text.slice(c.length),s.text))==z||l>150)){if(!r)return;n="prev"}}else l=0,n="not";"prev"==n?l=t>o.first?I(We(o,t-1).text,null,a):0:"add"==n?l=u+e.options.indentUnit:"subtract"==n?l=u-e.options.indentUnit:"number"==typeof n&&(l=u+n),l=Math.max(0,l);var d="",f=0;if(e.options.indentWithTabs)for(var h=Math.floor(l/a);h;--h)f+=a,d+="\t";if(f<l&&(d+=G(l-f)),d!=c)return po(o,d,et(t,0),et(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var m=o.sel.ranges[p];if(m.head.line==t&&m.head.ch<c.length){var v=et(t,c.length);Ki(o,p,new Ci(v,v));break}}}ka.defineInitHook=function(e){return Sa.push(e)};var Da=null;function Oa(e){Da=e}function Ta(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,u=Fe(t),l=null;if(s&&r.ranges.length>1)if(Da&&Da.text.join("\n")==t){if(r.ranges.length%Da.text.length==0){l=[];for(var c=0;c<Da.text.length;c++)l.push(o.splitLines(Da.text[c]))}}else u.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(l=K(u,(function(e){return[e]})));for(var d=e.curOp.updateInput,f=r.ranges.length-1;f>=0;f--){var h=r.ranges[f],p=h.from(),m=h.to();h.empty()&&(n&&n>0?p=et(p.line,p.ch-n):e.state.overwrite&&!s?m=et(m.line,Math.min(We(o,m.line).text.length,m.ch+q(u).length)):s&&Da&&Da.lineWise&&Da.text.join("\n")==u.join("\n")&&(p=m=et(p.line,0)));var v={from:p,to:m,text:l?l[f%l.length]:u,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};uo(e.doc,v),un(e,"inputRead",e,v)}t&&!s&&Ma(e,t),Fr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Fa(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Qr(t,(function(){return Ta(t,n,0,null,"paste")})),!0}function Ma(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=xa(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(We(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=xa(e,i.head.line,"smart"));a&&un(e,"electricInput",e,i.head.line)}}}function Pa(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:et(i,0),head:et(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function La(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function Ra(){var e=O("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=O("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return u?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),La(e),t}function Ba(e,t,n,r,i){var o=t,a=n,s=We(e,t.line),u=i&&"rtl"==e.direction?-n:n;function l(o){var a,l;if("codepoint"==r){var c=s.text.charCodeAt(t.ch+(r>0?0:-1));a=isNaN(c)?null:new et(t.line,Math.max(0,Math.min(s.text.length,t.ch+n*(c>=55296&&c<56320?2:1))),-n)}else a=i?function(e,t,n,r){var i=le(t,e.doc.direction);if(!i)return Zo(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=se(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Zo(t,n,r);var s,u=function(e,n){return Xo(t,e instanceof et?e.ch:e,n)},l=function(n){return e.options.lineWrapping?(s=s||Mn(e,t),Jn(e,t,s,n)):{begin:0,end:t.text.length}},c=l("before"==n.sticky?u(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==r<0,f=u(n,d?1:-1);if(null!=f&&(d?f<=a.to&&f<=c.end:f>=a.from&&f>=c.begin))return new et(n.line,f,d?"before":"after")}var h=function(e,t,r){for(var o=function(e,t){return t?new et(n.line,u(e,1),"before"):new et(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),l=s?r.begin:u(r.end,-1);if(a.from<=l&&l<a.to)return o(l,s);if(l=s?a.from:u(a.to,-1),r.begin<=l&&l<r.end)return o(l,s)}},p=h(o+r,r,c);if(p)return p;var m=r>0?c.end:u(c.begin,-1);return null==m||r>0&&m==t.text.length||!(p=h(r>0?0:i.length-1,r,l(m)))?null:p}(e.cm,s,t,n):Zo(s,t,n);if(null==a){if(o||(l=t.line+u)<e.first||l>=e.first+e.size||(t=new et(l,t.ch,t.sticky),!(s=We(e,l))))return!1;t=Jo(i,e.cm,s,t.line,u)}else t=a;return!0}if("char"==r||"codepoint"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var c=null,d="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(n<0)||l(!h);h=!1){var p=s.text.charAt(t.ch)||"\n",m=ee(p,f)?"w":d&&"\n"==p?"n":!d||/\s/.test(p)?null:"p";if(!d||h||m||(m="s"),c&&c!=m){n<0&&(n=1,l(),t.sticky="after");break}if(m&&(c=m),n>0&&!l(!h))break}var v=io(e,t,o,a,!0);return nt(o,v)&&(v.hitSide=!0),v}function ja(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var u=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(u-.5*rr(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;(o=Xn(e,s,i)).outside;){if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Ia=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new N,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Na(e,t){var n=Fn(e,t.line);if(!n||n.hidden)return null;var r=We(e.doc,t.line),i=On(n,r,t.line),o=le(r,e.doc.direction),a="left";o&&(a=se(o,t.ch)%2?"right":"left");var s=Bn(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Ha(e,t){return t&&(e.bad=!0),e}function za(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ha(e.clipPos(et(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return Ya(o,t,n)}}function Ya(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!F(r,t))return Ha(et(Xe(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?q(e.rest):e.line;return Ha(et(Xe(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var u=e.measure,l=u.maps;function c(t,n,r){for(var i=-1;i<(l?l.length:0);i++)for(var o=i<0?u.map:l[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var c=Xe(i<0?e.line:e.rest[i]),d=o[a]+r;return(r<0||s!=t)&&(d=o[a+(r?1:0)]),et(c,d)}}}var d=c(a,s,n);if(d)return Ha(d,i);for(var f=s.nextSibling,h=a?a.nodeValue.length-n:0;f;f=f.nextSibling){if(d=c(f,f.firstChild,0))return Ha(et(d.line,d.ch-h),i);h+=f.textContent.length}for(var p=s.previousSibling,m=n;p;p=p.previousSibling){if(d=c(p,p.firstChild,-1))return Ha(et(d.line,d.ch+m),i);m+=p.textContent.length}}Ia.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!me(r,e)){if(r.somethingSelected())Oa({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Pa(r);Oa({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,Y),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Da.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=Ra(),u=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),u.value=Da.text.join("\n");var l=document.activeElement;R(u),setTimeout((function(){r.display.lineSpace.removeChild(s),l.focus(),l==i&&n.showPrimarySelection()}),50)}}La(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),de(i,"paste",(function(e){!o(e)||me(r,e)||Fa(e,r)||s<=11&&setTimeout(ei(r,(function(){return t.updateFromDOM()})),20)})),de(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),de(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),de(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),de(i,"touchstart",(function(){return n.forceCompositionEnd()})),de(i,"input",(function(){t.composing||t.readFromDOMSoon()})),de(i,"copy",a),de(i,"cut",a)},Ia.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ia.prototype.prepareSelection=function(){var e=gr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Ia.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ia.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ia.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=za(t,e.anchorNode,e.anchorOffset),s=za(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=tt(ot(a,s),i)||0!=tt(it(a,s),o)){var u=t.display.view,l=i.line>=t.display.viewFrom&&Na(t,i)||{node:u[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&Na(t,o);if(!c){var d=u[u.length-1].measure,f=d.maps?d.maps[d.maps.length-1]:d.map;c={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(l&&c){var h,p=e.rangeCount&&e.getRangeAt(0);try{h=k(l.node,l.offset,c.offset,c.node)}catch(Te){}h&&(!n&&t.state.focused?(e.collapse(l.node,l.offset),h.collapsed||(e.removeAllRanges(),e.addRange(h))):(e.removeAllRanges(),e.addRange(h)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ia.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ia.prototype.showMultipleSelections=function(e){D(this.cm.display.cursorDiv,e.cursors),D(this.cm.display.selectionDiv,e.selection)},Ia.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ia.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return F(this.div,t)},Ia.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ia.prototype.blur=function(){this.div.blur()},Ia.prototype.getField=function(){return this.div},Ia.prototype.supportsTouch=function(){return!0},Ia.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Qr(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},Ia.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ia.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(v&&c&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=za(t,e.anchorNode,e.anchorOffset),r=za(t,e.focusNode,e.focusOffset);n&&r&&Qr(t,(function(){Ji(t.doc,ki(n,r),Y),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ia.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=et(a.line-1,We(r.doc,a.line-1).length)),s.ch==We(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=et(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=cr(r,a.line))?(t=Xe(i.view[0].line),n=i.view[0].node):(t=Xe(i.view[e].line),n=i.view[e-1].node.nextSibling);var u,l,c=cr(r,s.line);if(c==i.view.length-1?(u=i.viewTo-1,l=i.lineDiv.lastChild):(u=Xe(i.view[c+1].line)-1,l=i.view[c+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(function(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),u=!1;function l(){a&&(o+=s,u&&(o+=s),a=u=!1)}function c(e){e&&(l(),o+=e)}function d(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void c(n);var o,f=t.getAttribute("cm-marker");if(f){var h=e.findMarks(et(r,0),et(i+1,0),(v=+f,function(e){return e.id==v}));return void(h.length&&(o=h[0].find(0))&&c(Ge(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var p=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;p&&l();for(var m=0;m<t.childNodes.length;m++)d(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(u=!0),p&&(a=!0)}else 3==t.nodeType&&c(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var v}for(;d(t),t!=n;)t=t.nextSibling,u=!1;return o}(r,n,l,t,u)),f=Ge(r.doc,et(t,0),et(u,We(r.doc,u).text.length));d.length>1&&f.length>1;)if(q(d)==q(f))d.pop(),f.pop(),u--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),t++}for(var h=0,p=0,m=d[0],v=f[0],g=Math.min(m.length,v.length);h<g&&m.charCodeAt(h)==v.charCodeAt(h);)++h;for(var y=q(d),b=q(f),_=Math.min(y.length-(1==d.length?h:0),b.length-(1==f.length?h:0));p<_&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;if(1==d.length&&1==f.length&&t==a.line)for(;h&&h>a.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)h--,p++;d[d.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var w=et(t,h),E=et(u,f.length?q(f).length-p:0);return d.length>1||d[0]||tt(w,E)?(po(r.doc,d,w,E,"+input"),!0):void 0},Ia.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ia.prototype.reset=function(){this.forceCompositionEnd()},Ia.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ia.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Ia.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Qr(this.cm,(function(){return dr(e.cm)}))},Ia.prototype.setUneditable=function(e){e.contentEditable="false"},Ia.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ei(this.cm,Ta)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ia.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ia.prototype.onContextMenu=function(){},Ia.prototype.resetPosition=function(){},Ia.prototype.needsContentAttribute=!0;var Ua=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new N,this.hasSelection=!1,this.composing=null};Ua.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!me(r,e)){if(r.somethingSelected())Oa({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Pa(r);Oa({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,Y):(n.prevInput="",i.value=t.text.join("\n"),R(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),de(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),de(i,"paste",(function(e){me(r,e)||Fa(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),de(i,"cut",o),de(i,"copy",o),de(e.scroller,"paste",(function(t){if(!En(e,t)&&!me(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),de(e.lineSpace,"selectstart",(function(t){En(e,t)||be(t)})),de(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),de(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},Ua.prototype.createField=function(e){this.wrapper=Ra(),this.textarea=this.wrapper.firstChild},Ua.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Ua.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=gr(e);if(e.options.moveInputWithCursor){var i=Gn(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ua.prototype.showSelection=function(e){var t=this.cm.display;D(t.cursorDiv,e.cursors),D(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ua.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&R(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Ua.prototype.getField=function(){return this.textarea},Ua.prototype.supportsTouch=function(){return!1},Ua.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||M()!=this.textarea))try{this.textarea.focus()}catch(Te){}},Ua.prototype.blur=function(){this.textarea.blur()},Ua.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ua.prototype.receivedFocus=function(){this.slowPoll()},Ua.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Ua.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},Ua.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Me(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var u=0,l=Math.min(r.length,i.length);u<l&&r.charCodeAt(u)==i.charCodeAt(u);)++u;return Qr(t,(function(){Ta(t,i.slice(u),r.length-u,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Ua.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ua.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ua.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=lr(n,e),l=r.scroller.scrollTop;if(o&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&ei(n,Ji)(n.doc,ki(o),Y);var c,f=i.style.cssText,h=t.wrapper.style.cssText,p=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n      top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n      z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",u&&(c=window.scrollY),r.input.focus(),u&&window.scrollTo(null,c),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=v,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&m(),C?(Ee(e),de(window,"mouseup",(function e(){he(window,"mouseup",e),setTimeout(v,20)}))):setTimeout(v,50)}function m(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending==v&&(t.contextMenuPending=!1,t.wrapper.style.cssText=h,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=l),null!=i.selectionStart)){(!a||a&&s<9)&&m();var e=0;r.detectingSelectAll=setTimeout((function o(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?ei(n,ao)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())}),200)}}},Ua.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},Ua.prototype.setUneditable=function(){},Ua.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=_a&&i(e,t,n)}:i)}e.defineOption=n,e.Init=_a,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,Ti(e)}),!0),n("indentUnit",2,Ti,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){Fi(e),Hn(e),dr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(et(r,o))}r++}));for(var i=n.length-1;i>=0;i--)po(e.doc,t,n[i],et(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=_a&&e.refresh()})),n("specialCharPlaceholder",Jt,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!_),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){ba(e),mi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=qo(t),i=n!=_a&&qo(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Aa,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=hi(t,e.options.lineNumbers),mi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?ar(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return zr(e)}),!0),n("scrollbarStyle","native",(function(e){Vr(e),zr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=hi(e.options.gutters,t),mi(e)}),!0),n("firstLineNumber",1,mi,!0),n("lineNumberFormatter",(function(e){return e}),mi,!0),n("showCursorWhenSelecting",!1,vr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(kr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){e.display.input.screenReaderLabelChanged(t=""===t?null:t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Ca),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,vr,!0),n("singleCursorHeightPerLine",!0,vr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,Fi,!0),n("addModeClass",!1,Fi,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,Fi,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}(ka),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&ei(this,t[e])(this,n,i),pe(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](qo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:ti((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,dr(this)})),removeOverlay:ti((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void dr(this)}})),indentLine:ti((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Je(this.doc,e)&&xa(this,e,t,n)})),indentSelection:ti((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(xa(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&Fr(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var u=s;u<n;++u)xa(this,u,e);var l=this.doc.sel.ranges;0==o.ch&&t.length==l.length&&l[r].from().ch>0&&Ki(this.doc,r,new Ci(o,l[r].to()),Y)}}})),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,n=ft(this,We(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var u=0;u<i._global.length;u++){var l=i._global[u];l.pred(o,this)&&-1==H(r,l.val)&&r.push(l.val)}return r},getStateAfter:function(e,t){var n=this.doc;return ht(this,(e=at(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Gn(this,null==e?n.head:"object"==typeof e?st(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return Wn(this,st(this.doc,e),t||"page")},coordsChar:function(e,t){return Xn(this,(e=$n(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=$n(this,{top:e,left:0},t||"page").top,Ze(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=We(this.doc,e)}else r=e;return Vn(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-Ut(r):0)},defaultTextHeight:function(){return rr(this.display)},defaultCharWidth:function(){return ir(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a=this.display,s=(e=Gn(this,st(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==r)s=e.top;else if("above"==r||"near"==r){var l=Math.max(a.wrapper.clientHeight,this.doc.height),c=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?s=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(s=e.bottom),u+t.offsetWidth>c&&(u=c-t.offsetWidth)}t.style.top=s+"px",t.style.left=t.style.right="","right"==i?(u=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),n&&(null!=(o=Or(this,{left:u,top:s,right:u+t.offsetWidth,bottom:s+t.offsetHeight})).scrollTop&&Rr(this,o.scrollTop),null!=o.scrollLeft&&jr(this,o.scrollLeft))},triggerOnKeyDown:ti(ua),triggerOnKeyPress:ti(ca),triggerOnKeyUp:la,triggerOnMouseDown:ti(pa),execCommand:function(e){if(Qo.hasOwnProperty(e))return Qo[e].call(null,this)},triggerElectric:ti((function(e){Ma(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Ba(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:ti((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Ba(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),V)})),deleteH:ti((function(e,t){var n=this.doc;this.doc.sel.somethingSelected()?n.replaceSelection("",null,"+delete"):Ko(this,(function(r){var i=Ba(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=st(this.doc,e),s=0;s<t;++s){var u=Gn(this,a,"div");if(null==o?o=u.left:u.left=o,(a=ja(this,u,i,n)).hitSide)break}return a},moveV:ti((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=Gn(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var u=ja(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Tr(n,Wn(n,u,"div").top-s.top),u}),V),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=We(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=ee(o,i)?function(e){return ee(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ee(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new Ci(et(e.line,n),et(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?P(this.display.cursorDiv,"CodeMirror-overwrite"):S(this.display.cursorDiv,"CodeMirror-overwrite"),pe(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==M()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ti((function(e,t){Mr(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Sn(this)-this.display.barHeight,width:e.scrollWidth-Sn(this)-this.display.barWidth,clientHeight:Dn(this),clientWidth:xn(this)}},scrollIntoView:ti((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Pr(e),e.curOp.scrollToPos=t}(this,e):Lr(this,e.from,e.to,e.margin)})),setSize:ti((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&Nn(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){fr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,pe(this,"refresh",this)})),operation:function(e){return Qr(this,e)},startOperation:function(){return Wr(this)},endOperation:function(){return Gr(this)},refresh:ti((function(){var e=this.display.cachedTextHeight;dr(this),this.curOp.forceUpdate=!0,Hn(this),Mr(this,this.doc.scrollLeft,this.doc.scrollTop),li(this.display),(null==e||Math.abs(e-rr(this.display))>.5||this.options.lineWrapping)&&ur(this),pe(this,"refresh",this)})),swapDoc:ti((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Ri(this,e),Hn(this),this.display.input.reset(),Mr(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,un(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},ye(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(ka);var Va="iter insert remove copy getEditor constructor".split(" ");for(var $a in To.prototype)To.prototype.hasOwnProperty($a)&&H(Va,$a)<0&&(ka.prototype[$a]=function(e){return function(){return e.apply(this.doc,arguments)}}(To.prototype[$a]));return ye(To),ka.inputStyles={textarea:Ua,contenteditable:Ia},ka.defineMode=function(e){ka.defaults.mode||"null"==e||(ka.defaults.mode=e),je.apply(this,arguments)},ka.defineMIME=function(e,t){Be[e]=t},ka.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),ka.defineMIME("text/plain","null"),ka.defineExtension=function(e,t){ka.prototype[e]=t},ka.defineDocExtension=function(e,t){To.prototype[e]=t},ka.fromTextArea=function(e,t){if((t=t?j(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=M();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(de(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(Te){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(he(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=ka((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s},function(e){e.off=he,e.on=de,e.wheelEventPixels=_i,e.Doc=To,e.splitLines=Fe,e.countColumn=I,e.findColumn=$,e.isWordChar=Q,e.Pass=z,e.signal=pe,e.Line=Wt,e.changeEnd=Si,e.scrollbarModel=Ur,e.Pos=et,e.cmpPos=tt,e.modes=Re,e.mimeModes=Be,e.resolveMode=Ie,e.getMode=Ne,e.modeExtensions=He,e.extendMode=ze,e.copyState=Ye,e.startState=Ve,e.innerMode=Ue,e.commands=Qo,e.keyMap=zo,e.keyName=Go,e.isModifierKey=$o,e.lookupKey=Vo,e.normalizeKeyMap=Uo,e.StringStream=$e,e.SharedTextMarker=So,e.TextMarker=Ao,e.LineWidget=wo,e.e_preventDefault=be,e.e_stopPropagation=_e,e.e_stop=Ee,e.addClass=P,e.contains=F,e.rmClass=S,e.keyNames=jo}(ka),ka.version="5.58.2",ka}()},W6Qz:function(e,t){},WMd4:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("1OyB"),i=n("vuIU"),o=n("EY2u"),a=n("LRne"),s=n("z6cu"),u=function(){var e=function(){function e(t,n,i){Object(r.a)(this,e),this.kind=t,this.value=n,this.error=i,this.hasValue="N"===t}return Object(i.a)(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Object(a.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(o.b)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},Wp6s:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return f}));var r=n("1OyB"),i=n("R1ws"),o=n("FKr1"),a=n("fXoL"),s=["*",[["mat-card-footer"]]],u=["*","mat-card-footer"],l=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],c=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],d=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.Tb({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e}(),f=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.Tb({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e}(),h=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.Tb({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e}(),p=function(){var e=function e(){Object(r.a)(this,e),this.align="start"};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.Tb({type:e,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,t){2&e&&a.Ob("mat-card-actions-align-end","end"===t.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),e}(),m=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.Tb({type:e,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),e}(),v=function(){var e=function e(t){Object(r.a)(this,e),this._animationMode=t};return e.\u0275fac=function(t){return new(t||e)(a.Yb(i.a,8))},e.\u0275cmp=a.Sb({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&a.Ob("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:u,decls:2,vars:0,template:function(e,t){1&e&&(a.wc(s),a.vc(0),a.vc(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e}(),g=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Sb({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:c,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(a.wc(l),a.vc(0),a.ec(1,"div",0),a.vc(2,1),a.dc(),a.vc(3,2))},encapsulation:2,changeDetection:0}),e}(),y=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=a.Wb({type:e}),e.\u0275inj=a.Vb({factory:function(t){return new(t||e)},imports:[[o.j],o.j]}),e}()},XDeH:function(e,t){},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return v}));var r=n("vuIU"),i=n("ReuC"),o=n("foSv"),a=n("1OyB"),s=n("Ji7U"),u=n("LK+K"),l=n("HDdC"),c=n("7o/Q"),d=n("quSY"),f=n("9ppp"),h=n("Ylt2"),p=n("2QA8"),m=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this,e)).destination=e,r}return n}(c.a),v=function(){var e=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(r.a)(n,[{key:p.a,value:function(){return new m(this)}},{key:"lift",value:function(e){var t=new g(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new f.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new f.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new f.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new f.a;return Object(i.a)(Object(o.a)(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new f.a;return this.hasError?(e.error(this.thrownError),d.a.EMPTY):this.isStopped?(e.complete(),d.a.EMPTY):(this.observers.push(e),new h.a(this,e))}},{key:"asObservable",value:function(){var e=new l.a;return e.source=this,e}}]),n}(l.a);return e.create=function(e,t){return new g(e,t)},e}(),g=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,r){var i;return Object(a.a)(this,n),(i=t.call(this)).destination=e,i.source=r,i}return Object(r.a)(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):d.a.EMPTY}}]),n}(v)},XOnZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("iB+3"),i=function(){function e(e){this.router=e}return e.injectableHandler=function(e,t){return function(n){return r.services.$injector.invoke(t,null,{$match:n,$stateParams:e.globals.params})}},e.prototype.$get=function(){var e=this.router.urlService;return this.router.urlRouter.update(!0),e.interceptDeferred||e.listen(),this.router.urlRouter},e.prototype.rule=function(e){var t=this;if(!Object(r.isFunction)(e))throw new Error("'rule' must be a function");var n=new r.BaseUrlRule((function(){return e(r.services.$injector,t.router.locationService)}),r.identity);return this.router.urlService.rules.rule(n),this},e.prototype.otherwise=function(e){var t=this,n=this.router.urlService.rules;if(Object(r.isString)(e))n.otherwise(e);else{if(!Object(r.isFunction)(e))throw new Error("'rule' must be a string or function");n.otherwise((function(){return e(r.services.$injector,t.router.locationService)}))}return this},e.prototype.when=function(t,n){return(Object(r.isArray)(n)||Object(r.isFunction)(n))&&(n=e.injectableHandler(this.router,n)),this.router.urlService.rules.when(t,n),this},e.prototype.deferIntercept=function(e){this.router.urlService.deferIntercept(e)},e}()},XZNO:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return B}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("fXoL"),u=n("jhN1"),l=n("R0Ic"),c=n("u47x"),d=n("ofXK"),f=n("XNiG"),h=n("2Vo4"),p=n("HDdC"),m=n("D0XW"),v=n("Y7HM");function g(e){var t=e.subscriber,n=e.counter,r=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}var y=n("1G5W"),b=n("pLZG"),_=n("bTqV"),w=n("NFeN");function E(e,t){if(1&e&&s.Zb(0,"div",3),2&e){var n=s.qc(2);s.Rc("background-color",n.overlayColor)}}function C(e,t){if(1&e&&(s.ec(0,"div",0),s.ec(1,"div",1),s.vc(2),s.dc(),s.Sc(3,E,1,2,"div",2),s.dc()),2&e){var n=s.qc();s.Rc("background-image",n.image,s.Rb),s.Kb(3),s.xc("ngIf",!n.hideOverlay)}}var A=["*"],k=["carouselContainer"],S=["carouselList"];function x(e,t){if(1&e){var n=s.fc();s.ec(0,"li",7,8),s.mc("panleft",(function(e){s.Kc(n);var t=s.Gc(1);return s.qc().onPan(e,t)}))("panright",(function(e){s.Kc(n);var t=s.Gc(1);return s.qc().onPan(e,t)}))("panend",(function(e){s.Kc(n);var t=s.Gc(1);return s.qc().onPanEnd(e,t)}))("pancancel",(function(e){s.Kc(n);var t=s.Gc(1);return s.qc().onPanEnd(e,t)})),s.ac(2,9),s.dc()}if(2&e){var r=t.$implicit,i=s.qc();s.Rc("padding-bottom",i.maintainAspectRatio&&i.proportion?i.proportion+"%":"0px")("height",!i.maintainAspectRatio&&i.slideHeight?i.slideHeight:"0px"),s.Kb(2),s.xc("ngTemplateOutlet",r.templateRef)}}function D(e,t){if(1&e&&s.Zb(0,"mat-icon",13),2&e){var n=s.qc(2);s.xc("svgIcon",n.svgIconOverrides.arrowBack)}}function O(e,t){1&e&&(s.ec(0,"mat-icon"),s.Uc(1,"arrow_back"),s.dc())}function T(e,t){if(1&e){var n=s.fc();s.ec(0,"button",10),s.mc("click",(function(){return s.Kc(n),s.qc().previous()})),s.Sc(1,D,1,1,"mat-icon",11),s.Sc(2,O,2,0,"ng-template",null,12,s.Tc),s.dc()}if(2&e){var r=s.Gc(3),i=s.qc();s.xc("color",i.color)("disabled",!i.loop&&0==i.currentIndex),s.Kb(1),s.xc("ngIf",null==i.svgIconOverrides?null:i.svgIconOverrides.arrowBack)("ngIfElse",r)}}function F(e,t){if(1&e&&s.Zb(0,"mat-icon",13),2&e){var n=s.qc(2);s.xc("svgIcon",n.svgIconOverrides.arrowForward)}}function M(e,t){1&e&&(s.ec(0,"mat-icon"),s.Uc(1,"arrow_forward"),s.dc())}function P(e,t){if(1&e){var n=s.fc();s.ec(0,"button",10),s.mc("click",(function(){return s.Kc(n),s.qc().next()})),s.Sc(1,F,1,1,"mat-icon",11),s.Sc(2,M,2,0,"ng-template",null,14,s.Tc),s.dc()}if(2&e){var r=s.Gc(3),i=s.qc();s.xc("color",i.color)("disabled",!i.loop&&i.currentIndex==i.slidesList.length-1),s.Kb(1),s.xc("ngIf",null==i.svgIconOverrides?null:i.svgIconOverrides.arrowForward)("ngIfElse",r)}}function L(e,t){if(1&e){var n=s.fc();s.ec(0,"button",17),s.mc("click",(function(){s.Kc(n);var e=t.index;return s.qc(2).slideTo(e)}))("focus",(function(){return s.Kc(n),s.qc(2),s.Gc(1).focus()})),s.dc()}if(2&e){var r=t.index,i=s.qc(2);s.xc("color",i.color)("disabled",r==i.currentIndex)}}function R(e,t){if(1&e&&(s.ec(0,"div",15),s.Sc(1,L,1,2,"button",16),s.dc()),2&e){var n=s.qc();s.Rc("flex-direction","rtl"===n.orientation?"row-reverse":"row"),s.Kb(1),s.xc("ngForOf",n.slidesList)}}var B=function(){var e=function(){function e(t){Object(o.a)(this,e),this.sanitizer=t,this.overlayColor="#00000040",this.hideOverlay=!1,this.disabled=!1}return Object(a.a)(e,[{key:"ngOnInit",value:function(){this.image&&(this.image=this.sanitizer.bypassSecurityTrustStyle('url("'.concat(this.image,'")')))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Yb(u.b))},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-carousel-slide"]],viewQuery:function(e,t){var n;1&e&&s.ad(s.Q,!0),2&e&&s.Fc(n=s.nc())&&(t.templateRef=n.first)},inputs:{overlayColor:"overlayColor",hideOverlay:"hideOverlay",disabled:"disabled",image:"image"},ngContentSelectors:A,decls:1,vars:0,consts:[[1,"carousel-slide"],[1,"carousel-slide-content"],["class","carousel-slide-overlay",3,"background-color",4,"ngIf"],[1,"carousel-slide-overlay"]],template:function(e,t){1&e&&(s.wc(),s.Sc(0,C,4,3,"ng-template"))},directives:[d.k],styles:[".carousel-slide[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;z-index:auto;background-size:cover;background-repeat:no-repeat;background-position:center}.carousel-slide-overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;z-index:auto}.carousel-slide-content[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;z-index:1}"]}),e}(),j=function(){var e={Left:0,Right:1,Index:2};return e[e.Left]="Left",e[e.Right]="Right",e[e.Index]="Index",e}(),I=function(){var e=function(){function e(t,n,r){Object(o.a)(this,e),this.animationBuilder=t,this.renderer=n,this.platformId=r,this.timings="250ms ease-in",this.hideArrows=!0,this.hideIndicators=!0,this.color="accent",this.maintainAspectRatio=!0,this.proportion=25,this.slideHeight="100%",this.useKeyboard=!1,this.useMouseWheel=!1,this.change=new s.q,this._autoplay=!0,this.autoplay$=new f.a,this.interval$=new h.a(5e3),this.slides$=new h.a(null),this._maxWidth="auto",this.maxWidth$=new f.a,this._loop=!0,this.loop$=new f.a,this._orientation="ltr",this.orientation$=new f.a,this.timerStop$=new f.a,this.destroy$=new f.a,this.playing=!1}return Object(a.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this;this.listKeyManager=new c.k(this.slidesList).withVerticalOrientation(!1).withHorizontalOrientation(this._orientation).withWrap(this._loop),this.listKeyManager.updateActiveItem(0),this.listKeyManager.change.pipe(Object(y.a)(this.destroy$)).subscribe((function(){return e.playAnimation()}))}},{key:"ngAfterViewInit",value:function(){var e=this;this.autoplay$.pipe(Object(y.a)(this.destroy$)).subscribe((function(t){e.stopTimer(),e.startTimer(t)})),this.interval$.pipe(Object(y.a)(this.destroy$)).subscribe((function(t){e.stopTimer(),e.resetTimer(t),e.startTimer(e._autoplay)})),this.maxWidth$.pipe(Object(y.a)(this.destroy$)).subscribe((function(){return e.slideTo(0)})),this.loop$.pipe(Object(y.a)(this.destroy$)).subscribe((function(t){return e.listKeyManager.withWrap(t)})),this.orientation$.pipe(Object(y.a)(this.destroy$)).subscribe((function(t){return e.listKeyManager.withHorizontalOrientation(t)})),this.slides$.pipe(Object(y.a)(this.destroy$),Object(b.a)((function(t){return t&&t<e.slidesList.length}))).subscribe((function(t){return e.resetSlides(t)}))}},{key:"ngOnDestroy",value:function(){this.destroy$.next(),this.destroy$.complete()}},{key:"next",value:function(){this.goto(j.Right)}},{key:"previous",value:function(){this.goto(j.Left)}},{key:"slideTo",value:function(e){this.goto(j.Index,e)}},{key:"onKeyUp",value:function(e){this.useKeyboard&&!this.playing&&this.listKeyManager.onKeydown(e)}},{key:"onMouseEnter",value:function(){this.stopTimer()}},{key:"onMouseLeave",value:function(){this.startTimer(this._autoplay)}},{key:"onMouseWheel",value:function(e){if(this.useMouseWheel){e.preventDefault();var t=Math.sign(e.wheelDelta);t<0?this.next():t>0&&this.previous()}}},{key:"onResize",value:function(e){this.slideTo(0)}},{key:"onPan",value:function(e,t){if(!(Math.abs(e.velocityY)>Math.abs(e.velocityX))){var n=e.deltaX;this.isOutOfBounds()&&(n*=.2),this.renderer.setStyle(t,"cursor","grabbing"),this.renderer.setStyle(this.carouselList.nativeElement,"transform",this.getTranslation(this.getOffset()+n))}}},{key:"onPanEnd",value:function(e,t){if(this.renderer.removeStyle(t,"cursor"),!this.isOutOfBounds()&&Math.abs(e.deltaX)>.25*this.getWidth())return e.deltaX<=0?void this.next():void this.previous();this.playAnimation()}},{key:"isOutOfBounds",value:function(){var e=("rtl"===this.orientation?-1:1)*(this.carouselList.nativeElement.getBoundingClientRect().left-this.carouselList.nativeElement.offsetParent.getBoundingClientRect().left),t=this.slidesList.length-1,n=-this.getWidth()*t;return 0===this.listKeyManager.activeItemIndex&&e>=0||this.listKeyManager.activeItemIndex===t&&e<=n}},{key:"isVisible",value:function(){if(!Object(d.r)(this.platformId))return!1;var e=window.pageYOffset,t=e+window.innerHeight,n=this.carouselContainer.nativeElement.getBoundingClientRect(),r=e+n.top;return r+n.height<=t||r>=e}},{key:"getOffset",value:function(){var e=this.listKeyManager.activeItemIndex*this.getWidth();return("rtl"===this.orientation?1:-1)*e}},{key:"getTranslation",value:function(e){return"translateX(".concat(e,"px)")}},{key:"getWidth",value:function(){return this.carouselContainer.nativeElement.clientWidth}},{key:"goto",value:function(e,t){if(!this.playing){var n="rtl"===this.orientation;switch(e){case j.Left:return n?this.listKeyManager.setNextItemActive():this.listKeyManager.setPreviousItemActive();case j.Right:return n?this.listKeyManager.setPreviousItemActive():this.listKeyManager.setNextItemActive();case j.Index:return this.listKeyManager.setActiveItem(t)}}}},{key:"playAnimation",value:function(){var e=this,t=this.getTranslation(this.getOffset()),n=this.animationBuilder.build(Object(l.e)(this.timings,Object(l.m)({transform:t}))).create(this.carouselList.nativeElement);n.onStart((function(){return e.playing=!0})),n.onDone((function(){e.change.emit(e.currentIndex),e.playing=!1,e.renderer.setStyle(e.carouselList.nativeElement,"transform",t),n.destroy()})),n.play()}},{key:"resetSlides",value:function(e){this.slidesList.reset(this.slidesList.toArray().slice(0,e))}},{key:"resetTimer",value:function(e){this.timer$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m.a;return(!Object(v.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=m.a),new p.a((function(n){return n.add(t.schedule(g,e,{subscriber:n,counter:0,period:e})),n}))}(e)}},{key:"startTimer",value:function(e){var t=this;e&&this.timer$.pipe(Object(y.a)(this.timerStop$),Object(y.a)(this.destroy$),Object(b.a)((function(){return t.isVisible()}))).subscribe((function(){t.listKeyManager.withWrap(!0).setNextItemActive(),t.listKeyManager.withWrap(t.loop)}))}},{key:"stopTimer",value:function(){this.timerStop$.next()}},{key:"autoplay",set:function(e){this.autoplay$.next(e),this._autoplay=e}},{key:"interval",set:function(e){this.interval$.next(e)}},{key:"loop",get:function(){return this._loop},set:function(e){this.loop$.next(e),this._loop=e}},{key:"maxWidth",get:function(){return this._maxWidth},set:function(e){this._maxWidth=e,this.maxWidth$.next()}},{key:"slides",set:function(e){this.slides$.next(e)}},{key:"orientation",get:function(){return this._orientation},set:function(e){this.orientation$.next(e),this._orientation=e}},{key:"currentIndex",get:function(){return this.listKeyManager?this.listKeyManager.activeItemIndex:0}},{key:"currentSlide",get:function(){return this.listKeyManager?this.listKeyManager.activeItem:null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Yb(l.b),s.Yb(s.J),s.Yb(s.F))},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-carousel"]],contentQueries:function(e,t,n){var r;1&e&&s.Qb(n,B,!1),2&e&&s.Fc(r=s.nc())&&(t.slidesList=r)},viewQuery:function(e,t){var n;1&e&&(s.ad(k,!0),s.ad(S,!0)),2&e&&(s.Fc(n=s.nc())&&(t.carouselContainer=n.first),s.Fc(n=s.nc())&&(t.carouselList=n.first))},hostBindings:function(e,t){1&e&&s.mc("keyup",(function(e){return t.onKeyUp(e)}))("mouseenter",(function(){return t.onMouseEnter()}))("mouseleave",(function(){return t.onMouseLeave()}))("mousewheel",(function(e){return t.onMouseWheel(e)}))("resize",(function(e){return t.onResize(e)}),!1,s.Jc)},inputs:{timings:"timings",hideArrows:"hideArrows",hideIndicators:"hideIndicators",color:"color",maintainAspectRatio:"maintainAspectRatio",proportion:"proportion",slideHeight:"slideHeight",useKeyboard:"useKeyboard",useMouseWheel:"useMouseWheel",autoplay:"autoplay",interval:"interval",loop:"loop",maxWidth:"maxWidth",slides:"slides",orientation:"orientation",svgIconOverrides:"svgIconOverrides"},outputs:{change:"change"},decls:8,vars:12,consts:[["tabindex","0",1,"carousel"],["carouselContainer",""],["role","listbox",1,"carousel-list"],["carouselList",""],["class","carousel-slide","role","option",3,"padding-bottom","height","panleft","panright","panend","pancancel",4,"ngFor","ngForOf"],["mat-icon-button","","type","button","tabindex","-1",3,"color","disabled","click",4,"ngIf"],["class","carousel-indicators","tabindex","-1",3,"flex-direction",4,"ngIf"],["role","option",1,"carousel-slide",3,"panleft","panright","panend","pancancel"],["carouselSlide",""],[3,"ngTemplateOutlet"],["mat-icon-button","","type","button","tabindex","-1",3,"color","disabled","click"],[3,"svgIcon",4,"ngIf","ngIfElse"],["defaultArrowBack",""],[3,"svgIcon"],["defaultArrowForward",""],["tabindex","-1",1,"carousel-indicators"],["type","button","tabindex","-1","mat-mini-fab","",3,"color","disabled","click","focus",4,"ngFor","ngForOf"],["type","button","tabindex","-1","mat-mini-fab","",3,"color","disabled","click","focus"]],template:function(e,t){1&e&&(s.ec(0,"div",0,1),s.ec(2,"ul",2,3),s.Sc(4,x,3,5,"li",4),s.dc(),s.Sc(5,T,4,4,"button",5),s.Sc(6,P,4,4,"button",5),s.Sc(7,R,2,3,"div",6),s.dc()),2&e&&(s.Rc("max-width",t.maxWidth)("height",t.maintainAspectRatio?"auto":"100%"),s.Kb(2),s.Rc("flex-direction","rtl"===t.orientation?"row-reverse":"row")("height",t.maintainAspectRatio?"auto":"100%"),s.Kb(2),s.xc("ngForOf",t.slidesList),s.Kb(1),s.xc("ngIf",!t.hideArrows),s.Kb(1),s.xc("ngIf",!t.hideArrows),s.Kb(1),s.xc("ngIf",!t.hideIndicators))},directives:[d.j,d.k,d.p,_.b,w.a],styles:[".carousel[_ngcontent-%COMP%]{width:100%;position:relative;overflow:hidden;outline:0}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{position:absolute;z-index:1;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:first-of-type{left:30px}.carousel[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]:last-of-type{right:30px}.carousel-list[_ngcontent-%COMP%]{width:100%;margin:0;padding:0;list-style:none;display:flex;position:relative}.carousel-slide[_ngcontent-%COMP%]{width:100%;height:0;display:flex;flex-shrink:0;position:relative}.carousel-slide[_ngcontent-%COMP%]:hover{cursor:-webkit-grab;cursor:grab}.carousel-indicators[_ngcontent-%COMP%]{display:flex;position:absolute;bottom:15px;z-index:1;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);outline:0}.carousel-indicators[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{width:10px;height:10px;margin:7.5px}"]}),e}(),N=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).overrides={pinch:{enable:!1},rotate:{enable:!1}},e}return n}(u.d),H=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[{provide:u.c,useClass:N}]}}}]),e}();return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},imports:[[d.b,_.c,w.b]]}),e}()},Xa2L:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return w}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("fXoL"),u=n("ofXK"),l=n("FKr1"),c=n("8LU1"),d=n("nLfN"),f=n("R1ws");function h(e,t){if(1&e&&(s.pc(),s.Zb(0,"circle",3)),2&e){var n=s.qc();s.Rc("animation-name","mat-progress-spinner-stroke-rotate-"+n.diameter)("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),s.Lb("r",n._circleRadius)}}function p(e,t){if(1&e&&(s.pc(),s.Zb(0,"circle",3)),2&e){var n=s.qc();s.Rc("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),s.Lb("r",n._circleRadius)}}function m(e,t){if(1&e&&(s.pc(),s.Zb(0,"circle",3)),2&e){var n=s.qc();s.Rc("animation-name","mat-progress-spinner-stroke-rotate-"+n.diameter)("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),s.Lb("r",n._circleRadius)}}function v(e,t){if(1&e&&(s.pc(),s.Zb(0,"circle",3)),2&e){var n=s.qc();s.Rc("stroke-dashoffset",n._strokeDashOffset,"px")("stroke-dasharray",n._strokeCircumference,"px")("stroke-width",n._circleStrokeWidth,"%"),s.Lb("r",n._circleRadius)}}var g=function e(t){Object(a.a)(this,e),this._elementRef=t},y=Object(l.y)(g,"primary"),b=new s.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),_=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s){var u;Object(a.a)(this,n),(u=t.call(this,e))._elementRef=e,u._document=i,u._diameter=100,u._value=0,u._fallbackAnimation=!1,u.mode="determinate";var l=n._diameters;return l.has(i.head)||l.set(i.head,new Set([100])),u._fallbackAnimation=r.EDGE||r.TRIDENT,u._noopAnimations="NoopAnimations"===o&&!!s&&!s._forceAnimations,s&&(s.diameter&&(u.diameter=s.diameter),s.strokeWidth&&(u.strokeWidth=s.strokeWidth)),u}return Object(r.a)(n,[{key:"ngOnInit",value:function(){var e=this._elementRef.nativeElement;this._styleRoot=Object(d.c)(e)||this._document.head,this._attachStyleNode();var t="mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation");e.classList.add(t)}},{key:"_attachStyleNode",value:function(){var e=this._styleRoot,t=this._diameter,r=n._diameters,i=r.get(e);if(!i||!i.has(t)){var o=this._document.createElement("style");o.setAttribute("mat-spinner-animation",t+""),o.textContent=this._getAnimationText(),e.appendChild(o),i||(i=new Set,r.set(e,i)),i.add(t)}}},{key:"_getAnimationText",value:function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,"".concat(.95*this._strokeCircumference)).replace(/END_VALUE/g,"".concat(.2*this._strokeCircumference)).replace(/DIAMETER/g,"".concat(this.diameter))}},{key:"diameter",get:function(){return this._diameter},set:function(e){this._diameter=Object(c.f)(e),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=Object(c.f)(e)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,Object(c.f)(e)))}},{key:"_circleRadius",get:function(){return(this.diameter-10)/2}},{key:"_viewBox",get:function(){var e=2*this._circleRadius+this.strokeWidth;return"0 0 ".concat(e," ").concat(e)}},{key:"_strokeCircumference",get:function(){return 2*Math.PI*this._circleRadius}},{key:"_strokeDashOffset",get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}},{key:"_circleStrokeWidth",get:function(){return this.strokeWidth/this.diameter*100}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(s.Yb(s.n),s.Yb(d.a),s.Yb(u.c,8),s.Yb(f.a,8),s.Yb(b))},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(s.Lb("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),s.Rc("width",t.diameter,"px")("height",t.diameter,"px"),s.Ob("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[s.Hb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(s.pc(),s.ec(0,"svg",0),s.Sc(1,h,1,9,"circle",1),s.Sc(2,p,1,7,"circle",2),s.dc()),2&e&&(s.Rc("width",t.diameter,"px")("height",t.diameter,"px"),s.xc("ngSwitch","indeterminate"===t.mode),s.Lb("viewBox",t._viewBox),s.Kb(1),s.xc("ngSwitchCase",!0),s.Kb(1),s.xc("ngSwitchCase",!1))},directives:[u.m,u.n],styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n"],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e}(),w=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s){var u;return Object(a.a)(this,n),(u=t.call(this,e,r,i,o,s)).mode="indeterminate",u}return n}(_);return e.\u0275fac=function(t){return new(t||e)(s.Yb(s.n),s.Yb(d.a),s.Yb(u.c,8),s.Yb(f.a,8),s.Yb(b))},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(s.Rc("width",t.diameter,"px")("height",t.diameter,"px"),s.Ob("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[s.Hb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(s.pc(),s.ec(0,"svg",0),s.Sc(1,m,1,9,"circle",1),s.Sc(2,v,1,7,"circle",2),s.dc()),2&e&&(s.Rc("width",t.diameter,"px")("height",t.diameter,"px"),s.xc("ngSwitch","indeterminate"===t.mode),s.Lb("viewBox",t._viewBox),s.Kb(1),s.xc("ngSwitchCase",!0),s.Kb(1),s.xc("ngSwitchCase",!1))},directives:[u.m,u.n],styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n"],encapsulation:2,changeDetection:0}),e}(),E=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},imports:[[l.j,u.b],l.j]}),e}()},XfWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("hOic"),i=n("a4DK"),o=n("ECN7"),a=n("6EBh"),s=n("hAQ6"),u=n("TodQ"),l=n("jNJc"),c=n("kpkV"),d=n("//cU"),f=n("Fpsn"),h=n("xUBY"),p=n("O4wp"),m=0,v=Object(p.y)("LocationServices",["url","path","search","hash","onChange"]),g=Object(p.y)("LocationConfig",["port","protocol","host","baseHref","html5Mode","hashPrefix"]),y=function(){function e(e,t){void 0===e&&(e=v),void 0===t&&(t=g),this.locationService=e,this.locationConfig=t,this.$id=m++,this._disposed=!1,this._disposables=[],this.trace=h.a,this.viewService=new a.a(this),this.globals=new l.a,this.transitionService=new o.a(this),this.urlMatcherFactory=new r.a(this),this.urlRouter=new i.a(this),this.urlService=new f.a(this),this.stateRegistry=new s.a(this),this.stateService=new u.a(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlService),this.disposable(e),this.disposable(t)}return e.prototype.disposable=function(e){this._disposables.push(e)},e.prototype.dispose=function(e){var t=this;e&&Object(d.d)(e.dispose)?e.dispose(this):(this._disposed=!0,this._disposables.slice().forEach((function(e){try{"function"==typeof e.dispose&&e.dispose(t),Object(c.C)(t._disposables,e)}catch(n){}})))},e.prototype.plugin=function(e,t){void 0===t&&(t={});var n=new e(this,t);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},e.prototype.getPlugin=function(e){return e?this._plugins[e]:Object(c.L)(this._plugins)},e}()},XhcP:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return H}));var r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("nLfN"),u=n("vxfF"),l=n("ofXK"),c=n("fXoL"),d=n("FKr1"),f=n("8LU1"),h=n("FtGj"),p=n("XNiG"),m=n("xgIS"),v=n("VRyK"),g=n("pLZG"),y=n("1G5W"),b=n("/uUt"),_=n("IzEk"),w=n("lJxs"),E=n("JX91"),C=n("Kj3r"),A=n("R0Ic"),k=n("R1ws"),S=n("u47x"),x=n("cH1L"),D=["*"];function O(e,t){if(1&e){var n=c.fc();c.ec(0,"div",2),c.mc("click",(function(){return c.Kc(n),c.qc()._onBackdropClicked()})),c.dc()}if(2&e){var r=c.qc();c.Ob("mat-drawer-shown",r._isShowingBackdrop())}}function T(e,t){1&e&&(c.ec(0,"mat-drawer-content"),c.vc(1,2),c.dc())}var F=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],M=["mat-drawer","mat-drawer-content","*"],P={transformDrawer:Object(A.o)("transform",[Object(A.l)("open, open-instant",Object(A.m)({transform:"none",visibility:"visible"})),Object(A.l)("void",Object(A.m)({"box-shadow":"none",visibility:"hidden"})),Object(A.n)("void => open-instant",Object(A.e)("0ms")),Object(A.n)("void <=> open, open-instant => void",Object(A.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function L(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var R=new c.s("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),B=new c.s("MAT_DRAWER_CONTAINER"),j=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i,o,a,s){var u;return Object(r.a)(this,n),(u=t.call(this,o,a,s))._changeDetectorRef=e,u._container=i,u}return Object(i.a)(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}]),n}(u.b);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.i),c.Yb(Object(c.ab)((function(){return N}))),c.Yb(c.n),c.Yb(u.f),c.Yb(c.C))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&c.Rc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[c.Hb],ngContentSelectors:D,decls:1,vars:0,template:function(e,t){1&e&&(c.wc(),c.vc(0))},encapsulation:2,changeDetection:0}),e}(),I=function(){var e=function(){function e(t,n,i,o,a,s,u){var l=this;Object(r.a)(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=o,this._ngZone=a,this._doc=s,this._container=u,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new p.a,this._animationEnd=new p.a,this._animationState="void",this.openedChange=new c.q(!0),this._destroyed=new p.a,this.onPositionChanged=new c.q,this._modeChanged=new p.a,this.openedChange.subscribe((function(e){e?(l._doc&&(l._elementFocusedBeforeDrawerWasOpened=l._doc.activeElement),l._takeFocus()):l._restoreFocus()})),this._ngZone.runOutsideAngular((function(){Object(m.a)(l._elementRef.nativeElement,"keydown").pipe(Object(g.a)((function(e){return e.keyCode===h.h&&!l.disableClose&&!Object(h.u)(e)})),Object(y.a)(l._destroyed)).subscribe((function(e){return l._ngZone.run((function(){l.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(Object(b.a)((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&l.openedChange.emit(l._opened)}))}return Object(i.a)(e,[{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))}},{key:"_restoreFocus",value:function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(Object(_.a)(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}},{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=Object(f.c)(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=Object(f.c)(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(Object(f.c)(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(Object(g.a)((function(e){return e})),Object(w.a)((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(Object(g.a)((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),Object(w.a)((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(Object(g.a)((function(e){return!e})),Object(w.a)((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(Object(g.a)((function(e){return e.fromState!==e.toState&&"void"===e.toState})),Object(w.a)((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(S.i),c.Yb(S.h),c.Yb(s.a),c.Yb(c.C),c.Yb(l.c,8),c.Yb(B,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&c.Pb("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(c.Lb("align",null),c.Zc("@transform",t._animationState),c.Ob("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:D,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(c.wc(),c.ec(0,"div",0),c.vc(1),c.dc())},encapsulation:2,data:{animation:[P.transformDrawer]},changeDetection:0}),e}(),N=function(){var e=function(){function e(t,n,i,o,a){var s=this,u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0;Object(r.a)(this,e),this._dir=t,this._element=n,this._ngZone=i,this._changeDetectorRef=o,this._animationMode=l,this._drawers=new c.H,this.backdropClick=new c.q,this._destroyed=new p.a,this._doCheckSubject=new p.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new p.a,t&&t.change.pipe(Object(y.a)(this._destroyed)).subscribe((function(){s._validateDrawers(),s.updateContentMargins()})),a.change().pipe(Object(y.a)(this._destroyed)).subscribe((function(){return s.updateContentMargins()})),this._autosize=u}return Object(i.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Object(E.a)(this._allDrawers),Object(y.a)(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Object(E.a)(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(Object(C.a)(10),Object(y.a)(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach((function(e){return e.open()}))}},{key:"close",value:function(){this._drawers.forEach((function(e){return e.close()}))}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var r=this._left._width;t+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var i=this._right._width;n+=i,t-=i}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(Object(g.a)((function(e){return e.fromState!==e.toState})),Object(y.a)(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(Object(y.a)(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(Object(y.a)(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(_.a)(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(Object(y.a)(Object(v.a)(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&L("end"),e._end=t):(null!=e._start&&L("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=Object(f.c)(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:Object(f.c)(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(x.b,8),c.Yb(c.n),c.Yb(c.C),c.Yb(c.i),c.Yb(u.h),c.Yb(R),c.Yb(k.a,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(c.Qb(n,j,!0),c.Qb(n,I,!0)),2&e&&(c.Fc(r=c.nc())&&(t._content=r.first),c.Fc(r=c.nc())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&c.ad(j,!0),2&e&&c.Fc(n=c.nc())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&c.Ob("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[c.Jb([{provide:B,useExisting:e}])],ngContentSelectors:M,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(c.wc(F),c.Sc(0,O,1,2,"div",0),c.vc(1),c.vc(2,1),c.Sc(3,T,2,0,"mat-drawer-content",1)),2&e&&(c.xc("ngIf",t.hasBackdrop),c.Kb(3),c.xc("ngIf",!t._content))},directives:[l.k,j],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e}(),H=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[l.b,d.j,s.b,u.c],u.c,d.j]}),e}()},Xl2X:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return h}));var r,i=n("1OyB"),o=n("vuIU"),a=n("VrN/"),s=n.n(a),u=n("fXoL"),l=n("3Pt+"),c=["ref"];function d(e){return e?e.replace(/\r\n|\r/g,"\n"):e}var f=function(){var e=r=function(){function e(t,n){Object(i.a)(this,e),this._differs=t,this._ngZone=n,this.className="",this.name="codemirror",this.autoFocus=!1,this.preserveScrollPosition=!1,this.cursorActivity=new u.q,this.focusChange=new u.q,this.scroll=new u.q,this.drop=new u.q,this.value="",this.disabled=!1,this.isFocused=!1,this.onChange=function(e){},this.onTouched=function(){}}return Object(o.a)(e,[{key:"ngAfterViewInit",value:function(){var e=this;this.ref&&this._ngZone.runOutsideAngular((function(){e.codeMirror=e.codeMirrorGlobal.fromTextArea(e.ref.nativeElement,e._options),e.codeMirror.on("cursorActivity",(function(t){return e._ngZone.run((function(){return e.cursorActive(t)}))})),e.codeMirror.on("scroll",e.scrollChanged.bind(e)),e.codeMirror.on("blur",(function(){return e._ngZone.run((function(){return e.focusChanged(!1)}))})),e.codeMirror.on("focus",(function(){return e._ngZone.run((function(){return e.focusChanged(!0)}))})),e.codeMirror.on("change",(function(t,n){return e._ngZone.run((function(){return e.codemirrorValueChanged(t,n)}))})),e.codeMirror.on("drop",(function(t,n){e._ngZone.run((function(){return e.dropFiles(t,n)}))})),e.codeMirror.setValue(e.value)}))}},{key:"ngDoCheck",value:function(){var e=this;if(this._differ){var t=this._differ.diff(this._options);t&&(t.forEachChangedItem((function(t){return e.setOptionIfChanged(t.key,t.currentValue)})),t.forEachAddedItem((function(t){return e.setOptionIfChanged(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){return e.setOptionIfChanged(t.key,t.currentValue)})))}}},{key:"ngOnDestroy",value:function(){this.codeMirror&&this.codeMirror.toTextArea()}},{key:"codemirrorValueChanged",value:function(e,t){"setValue"!==t.origin&&(this.value=e.getValue(),this.onChange(this.value))}},{key:"setOptionIfChanged",value:function(e,t){this.codeMirror&&this.codeMirror.setOption(e,t)}},{key:"focusChanged",value:function(e){this.onTouched(),this.isFocused=e,this.focusChange.emit(e)}},{key:"scrollChanged",value:function(e){this.scroll.emit(e.getScrollInfo())}},{key:"cursorActive",value:function(e){this.cursorActivity.emit(e)}},{key:"dropFiles",value:function(e,t){this.drop.emit([e,t])}},{key:"writeValue",value:function(e){if(null!=e)if(this.codeMirror){var t=this.codeMirror.getValue();if(e!==t&&d(t)!==d(e))if(this.value=e,this.preserveScrollPosition){var n=this.codeMirror.getScrollInfo();this.codeMirror.setValue(this.value),this.codeMirror.scrollTo(n.left,n.top)}else this.codeMirror.setValue(this.value)}else this.value=e}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.setOptionIfChanged("readOnly",this.disabled)}},{key:"options",set:function(e){this._options=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"codeMirrorGlobal",get:function(){return this._codeMirror||(this._codeMirror="undefined"!=typeof CodeMirror?CodeMirror:s.a),this._codeMirror}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.w),u.Yb(u.C))},e.\u0275cmp=u.Sb({type:e,selectors:[["ngx-codemirror"]],viewQuery:function(e,t){var n;1&e&&u.Qc(c,!0),2&e&&u.Fc(n=u.nc())&&(t.ref=n.first)},inputs:{className:"className",name:"name",autoFocus:"autoFocus",preserveScrollPosition:"preserveScrollPosition",options:"options"},outputs:{cursorActivity:"cursorActivity",focusChange:"focusChange",scroll:"scroll",drop:"drop"},features:[u.Jb([{provide:l.l,useExisting:Object(u.ab)((function(){return r})),multi:!0}])],decls:3,vars:7,consts:[["autocomplete","off",3,"name","autofocus"],["ref",""]],template:function(e,t){1&e&&(u.ec(0,"textarea",0,1),u.Uc(2,"    "),u.dc()),2&e&&(u.Nb("ngx-codemirror ",t.className,""),u.Ob("ngx-codemirror--focused",t.isFocused),u.xc("name",t.name)("autofocus",t.autoFocus))},encapsulation:2,changeDetection:0}),e}(),h=function(){var e=function e(){Object(i.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)}}),e}()},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},XqED:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,i=n("IgSQ"),o=n("/V7M"),a=n("O4wp"),s=n("loPh");function u(e){if(!(Object(a.q)(e)||Object(a.v)(e)||Object(a.n)(i.TargetState)(e)||i.TargetState.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return Object(a.q)(e)?e:Object(a.R)(e)}r=function(e,t){var n=function(e,t){return(t.priority||0)-(e.priority||0)}(e,t);return 0!==n||0!==(n=function(e,t){var n={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1};return(n[e.type]||0)-(n[t.type]||0)}(e,t))||0!==(n=function(e,t){return e.urlMatcher&&t.urlMatcher?o.a.compare(e.urlMatcher,t.urlMatcher):0}(e,t))?n:function(e,t){var n={STATE:!0,URLMATCHER:!0};return n[e.type]&&n[t.type]?0:(e.$id||0)-(t.$id||0)}(e,t)};var l=function(){function e(e){this.router=e,this._sortFn=r,this._rules=[],this._id=0,this.urlRuleFactory=new s.b(e)}return e.prototype.dispose=function(e){this._rules=[],delete this._otherwiseFn},e.prototype.initial=function(e){var t=u(e);this.rule(this.urlRuleFactory.create((function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)}),t))},e.prototype.otherwise=function(e){var t=u(e);this._otherwiseFn=this.urlRuleFactory.create(Object(a.R)(!0),t),this._sorted=!1},e.prototype.removeRule=function(e){Object(a.F)(this._rules,e)},e.prototype.rule=function(e){var t=this;if(!s.b.isUrlRule(e))throw new Error("invalid rule");return e.$id=this._id++,e.priority=e.priority||0,this._rules.push(e),this._sorted=!1,function(){return t.removeRule(e)}},e.prototype.rules=function(){return this.ensureSorted(),this._rules.concat(this._otherwiseFn?[this._otherwiseFn]:[])},e.prototype.sort=function(e){for(var t=this.stableSort(this._rules,this._sortFn=e||this._sortFn),n=0,r=0;r<t.length;r++)t[r]._group=n,r<t.length-1&&0!==this._sortFn(t[r],t[r+1])&&n++;this._rules=t,this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.stableSort=function(e,t){var n=e.map((function(e,t){return{elem:e,idx:t}}));return n.sort((function(e,n){var r=t(e.elem,n.elem);return 0===r?e.idx-n.idx:r})),n.map((function(e){return e.elem}))},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return Object(a.p)(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e}()},Xr6o:function(e,t,n){"use strict";var r,i,o,a=n("yeBi"),s=n("iB+3");function u(e){var t=e.match(/^\s*({[^}]*})\s*$/);t&&(e="("+t[1]+")");var n=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/);if(!n||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1]||null,paramExpr:n[3]||null}}function l(e){var t=e.parent().inheritedData("$uiView"),n=Object(s.parse)("$cfg.path")(t);return n?Object(s.tail)(n).state.name:void 0}function c(e,t,n){var r=n.uiState||e.current.name,i=Object(s.extend)(function(e,t){return{relative:l(e)||t.$current,inherit:!0,source:"sref"}}(t,e),n.uiStateOpts||{}),o=e.href(r,n.uiStateParams,i);return{uiState:r,uiStateParams:n.uiStateParams,uiStateOpts:i,href:o}}function d(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function f(e,t,n,r,i){return function(o){var a=o.which||o.button,s=i();if(!(a>1||o.ctrlKey||o.metaKey||o.shiftKey||o.altKey||e.attr("target"))){var u=n((function(){e.attr("disabled")||t.go(s.uiState,s.uiStateParams,s.uiStateOpts)}));o.preventDefault();var l=r.isAnchor&&!s.href?1:0;o.preventDefault=function(){l--<=0&&n.cancel(u)}}}}function h(e,t,n,r){var i;r&&(i=r.events),Object(s.isArray)(i)||(i=["click"]);for(var o=e.on?"on":"bind",a=0,u=i;a<u.length;a++)e[o](u[a],n);t.$on("$destroy",(function(){for(var t=e.off?"off":"unbind",r=0,o=i;r<o.length;r++)e[t](o[r],n)}))}r=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,o,a){var l=d(i),p=a[1]||a[0],m=null,v={},g=function(){return c(n,i,v)},y=u(o.uiSref);function b(){var e=g();m&&m(),p&&(m=p.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&o.$set(l.attr,e.href)}if(v.uiState=y.state,v.uiStateOpts=o.uiSrefOpts?r.$eval(o.uiSrefOpts):{},y.paramExpr&&(r.$watch(y.paramExpr,(function(e){v.uiStateParams=Object(s.extend)({},e),b()}),!0),v.uiStateParams=Object(s.extend)({},r.$eval(y.paramExpr))),b(),r.$on("$destroy",e.stateRegistry.onStatesChanged(b)),r.$on("$destroy",e.transitionService.onSuccess({},b)),l.clickable){var _=f(i,n,t,l,g);h(i,r,_,v.uiStateOpts)}}}}],i=["$uiRouter","$timeout",function(e,t){var n=e.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,o,a){var u,l=d(i),p=a[1]||a[0],m=null,v={},g=function(){return c(n,i,v)},y=["uiState","uiStateParams","uiStateOpts"],b=y.reduce((function(e,t){return e[t]=s.noop,e}),{});function _(){var e=g();m&&m(),p&&(m=p.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&o.$set(l.attr,e.href)}y.forEach((function(e){v[e]=o[e]?r.$eval(o[e]):null,o.$observe(e,(function(t){b[e](),b[e]=r.$watch(t,(function(t){v[e]=t,_()}),!0)}))})),_(),r.$on("$destroy",e.stateRegistry.onStatesChanged(_)),r.$on("$destroy",e.transitionService.onSuccess({},_)),l.clickable&&(u=f(i,n,t,l,g),h(i,r,u,v.uiStateOpts))}}}],o=["$state","$stateParams","$interpolate","$uiRouter",function(e,t,n,r){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,i,o){var a,c,d,f,h,p=[];a=n(o.uiSrefActiveEq||"",!1)(t);try{c=t.$eval(o.uiSrefActive)}catch(b){}function m(e){e.promise.then(y,s.noop)}function v(e){Object(s.isObject)(e)&&(p=[],Object(s.forEach)(e,(function(e,n){var r=function(e,n){var r=u(e);g(r.state,t.$eval(r.paramExpr),n)};Object(s.isString)(e)?r(e,n):Object(s.isArray)(e)&&Object(s.forEach)(e,(function(e){r(e,n)}))})))}function g(t,n,r){var o={state:e.get(t,l(i))||{name:t},params:n,activeClass:r};return p.push(o),function(){Object(s.removeFrom)(p)(o)}}function y(){var n=function(e){return e.split(/\s/).filter(s.identity)},r=function(e){return e.map((function(e){return e.activeClass})).map(n).reduce(s.unnestR,[])},o=r(p).concat(n(a)).reduce(s.uniqR,[]),u=r(p.filter((function(t){return e.includes(t.state.name,t.params)}))),l=p.filter((function(t){return e.is(t.state.name,t.params)})).length?n(a):[],c=u.concat(l).reduce(s.uniqR,[]),d=o.filter((function(e){return!Object(s.inArray)(c,e)}));t.$evalAsync((function(){c.forEach((function(e){return i.addClass(e)})),d.forEach((function(e){return i.removeClass(e)}))}))}v(c=c||n(o.uiSrefActive||"",!1)(t)),this.$$addStateInfo=function(e,t){if(!(Object(s.isObject)(c)&&p.length>0)){var n=g(e,t,c);return y(),n}},t.$on("$destroy",(d=r.stateRegistry.onStatesChanged((function(){v(c)})),f=r.transitionService.onStart({},m),h=t.$on("$stateChangeSuccess",y),function(){d(),f(),h()})),r.globals.transition&&m(r.globals.transition),y()}]}}],a.a.module("ui.router.state").directive("uiSref",r).directive("uiSrefActive",o).directive("uiSrefActiveEq",o).directive("uiState",i)},Y7HM:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("DH7j");function i(e){return!Object(r.a)(e)&&e-parseFloat(e)+1>=0}},Y973:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("O4wp"),i={when:function(e){return new Promise((function(t,n){return t(e)}))},reject:function(e){return new Promise((function(t,n){n(e)}))},defer:function(){var e={};return e.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),e},all:function(e){if(Object(r.o)(e))return Promise.all(e);if(Object(r.u)(e)){var t=Object.keys(e).map((function(t){return e[t].then((function(e){return{key:t,val:e}}))}));return i.all(t).then((function(e){return e.reduce((function(e,t){return e[t.key]=t.val,e}),{})}))}}}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this)).subject=e,o.subscriber=i,o.closed=!1,o}return Object(i.a)(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(n("quSY").a)},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function a(e,t,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new r.a(e,n,a);if(!s.closed)return t instanceof o.a?t.subscribe(s):Object(i.a)(t)(s)}},Zy1z:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q");function u(){return function(e){return e.lift(new l)}}var l=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e))}}]),e}(),c=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e){var r;return Object(o.a)(this,n),(r=t.call(this,e)).hasPrev=!1,r}return Object(a.a)(n,[{key:"_next",value:function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}]),n}(s.a)},a3WO:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},a4DK:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("O4wp"),i=n("loPh"),o=function(){function e(e){var t=this;this.router=e,this.sync=function(e){return t.router.urlService.sync(e)},this.listen=function(e){return t.router.urlService.listen(e)},this.deferIntercept=function(e){return t.router.urlService.deferIntercept(e)},this.match=function(e){return t.router.urlService.match(e)},this.initial=function(e){return t.router.urlService.rules.initial(e)},this.otherwise=function(e){return t.router.urlService.rules.otherwise(e)},this.removeRule=function(e){return t.router.urlService.rules.removeRule(e)},this.rule=function(e){return t.router.urlService.rules.rule(e)},this.rules=function(){return t.router.urlService.rules.rules()},this.sort=function(e){return t.router.urlService.rules.sort(e)},this.when=function(e,n,r){return t.router.urlService.rules.when(e,n,r)},this.urlRuleFactory=new i.b(e)}return e.prototype.update=function(e){var t=this.router.locationService;e?this.location=t.url():t.url()!==this.location&&t.url(this.location,!0)},e.prototype.push=function(e,t,n){var r=n&&!!n.replace;this.router.urlService.url(e.format(t||{}),r)},e.prototype.href=function(e,t,n){var i=e.format(t);if(null==i)return null;n=n||{absolute:!1};var o=this.router.urlService.config,a=o.html5Mode();if(a||null===i||(i="#"+o.hashPrefix()+i),i=function(e,t,n,i){return"/"===i?e:t?Object(r.L)(i)+e:n?i.slice(1)+e:e}(i,a,n.absolute,o.baseHref()),!n.absolute||!i)return i;var s=!a&&i?"/":"",u=o.port(),l=80===u||443===u?"":":"+u;return[o.protocol(),"://",o.host(),l,s,i].join("")},Object.defineProperty(e.prototype,"interceptDeferred",{get:function(){return this.router.urlService.interceptDeferred},enumerable:!1,configurable:!0}),e}()},a4qN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,i=n("EE6W"),o=n("O4wp"),a=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){var n=e.call(this,t,!0)||this;return n._config=t.urlService.config,o.G.addEventListener("popstate",n._listener,!1),n}return a(t,e),t.prototype._getBasePrefix=function(){return Object(o.L)(this._config.baseHref())},t.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=Object(o.K)(r)[1],n=Object(o.J)(n)[1];var i=this._getBasePrefix(),a=t===this._config.baseHref(),s=t.substr(0,i.length)===i;return(t=a?"/":s?t.substring(i.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},t.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),o=n&&"/"!==n[0]?"/":"",a=""===n||"/"===n?this._config.baseHref():i+o+n;r?this._history.replaceState(e,t,a):this._history.pushState(e,t,a)},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),o.G.removeEventListener("popstate",this._listener)},t}(i.a)},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(r.a)(i.a,e)}},bSwM:function(e,t,n){"use strict";n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return S}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("8LU1"),u=n("fXoL"),l=n("3Pt+"),c=n("FKr1"),d=n("R1ws"),f=n("GU7r"),h=n("u47x"),p=["input"],m=function(){return{enterDuration:150}},v=["*"],g=new u.s("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),y=new u.s("mat-checkbox-click-action"),b=0,_={provide:l.l,useExisting:Object(u.ab)((function(){return A})),multi:!0},w=function e(){Object(a.a)(this,e)},E=function e(t){Object(a.a)(this,e),this._elementRef=t},C=Object(c.D)(Object(c.y)(Object(c.z)(Object(c.A)(E)))),A=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o,s,l,c,d){var f;return Object(a.a)(this,n),(f=t.call(this,e))._changeDetectorRef=r,f._focusMonitor=i,f._ngZone=o,f._clickAction=l,f._animationMode=c,f._options=d,f.ariaLabel="",f.ariaLabelledby=null,f._uniqueId="mat-checkbox-".concat(++b),f.id=f._uniqueId,f.labelPosition="after",f.name=null,f.change=new u.q,f.indeterminateChange=new u.q,f._onTouched=function(){},f._currentAnimationClass="",f._currentCheckState=0,f._controlValueAccessorChangeFn=function(){},f._checked=!1,f._disabled=!1,f._indeterminate=!1,f._options=f._options||{},f._options.color&&(f.color=f._options.color),f.tabIndex=parseInt(s)||0,f._focusMonitor.monitor(e,!0).subscribe((function(e){e||Promise.resolve().then((function(){f._onTouched(),r.markForCheck()}))})),f._clickAction=f._clickAction||f._options.clickAction,f}return Object(r.a)(n,[{key:"ngAfterViewInit",value:function(){this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var r=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(r)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var e=new w;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t=this;e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){t._indeterminate=!1,t.indeterminateChange.emit(t._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,e,t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(s.c)(e)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=Object(s.c)(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=Object(s.c)(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n),u.Yb(u.i),u.Yb(h.h),u.Yb(u.C),u.jc("tabindex"),u.Yb(y,8),u.Yb(d.a,8),u.Yb(g,8))},e.\u0275cmp=u.Sb({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;1&e&&(u.ad(p,!0),u.ad(c.t,!0)),2&e&&(u.Fc(n=u.nc())&&(t._inputElement=n.first),u.Fc(n=u.nc())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(u.hc("id",t.id),u.Lb("tabindex",null),u.Ob("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[u.Jb([_]),u.Hb],ngContentSelectors:v,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(u.wc(),u.ec(0,"label",0,1),u.ec(2,"div",2),u.ec(3,"input",3,4),u.mc("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),u.dc(),u.ec(5,"div",5),u.Zb(6,"div",6),u.dc(),u.Zb(7,"div",7),u.ec(8,"div",8),u.pc(),u.ec(9,"svg",9),u.Zb(10,"path",10),u.dc(),u.oc(),u.Zb(11,"div",11),u.dc(),u.dc(),u.ec(12,"span",12,13),u.mc("cdkObserveContent",(function(){return t._onLabelTextChange()})),u.ec(14,"span",14),u.Uc(15,"\xa0"),u.dc(),u.vc(16),u.dc(),u.dc()),2&e){var n=u.Gc(1),r=u.Gc(13);u.Lb("for",t.inputId),u.Kb(2),u.Ob("mat-checkbox-inner-container-no-side-margin",!r.textContent||!r.textContent.trim()),u.Kb(1),u.xc("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),u.Lb("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked()),u.Kb(2),u.xc("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",u.Ac(18,m))}},directives:[c.t,f.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e}(),k=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)}}),e}(),S=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[c.u,c.j,f.c,k],c.j,k]}),e}()},bTqV:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return b}));var r=n("uFwe"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("FKr1"),l=n("R1ws"),c=n("fXoL"),d=n("u47x"),f=["mat-button",""],h=["*"],p=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],m=function e(t){Object(s.a)(this,e),this._elementRef=t},v=Object(u.y)(Object(u.A)(Object(u.z)(m))),g=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i,o){var a;Object(s.a)(this,n),(a=t.call(this,e))._focusMonitor=i,a._animationMode=o,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var u,l=Object(r.a)(p);try{for(l.s();!(u=l.n()).done;){var c=u.value;a._hasHostAttributes(c)&&a._getHostElement().classList.add(c)}}catch(d){l.e(d)}finally{l.f()}return e.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color="accent"),a}return Object(i.a)(n,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.some((function(t){return e._getHostElement().hasAttribute(t)}))}}]),n}(v);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(d.h),c.Yb(l.a,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;1&e&&c.ad(u.t,!0),2&e&&c.Fc(n=c.nc())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(e,t){2&e&&(c.Lb("disabled",t.disabled||null),c.Ob("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[c.Hb],attrs:f,ngContentSelectors:h,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(c.wc(),c.ec(0,"span",0),c.vc(1),c.dc(),c.Zb(2,"div",1),c.Zb(3,"div",2)),2&e&&(c.Kb(2),c.Ob("mat-button-ripple-round",t.isRoundButton||t.isIconButton),c.xc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[u.t],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e}(),y=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,i){return Object(s.a)(this,n),t.call(this,r,e,i)}return Object(i.a)(n,[{key:"_haltDisabledEvents",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(c.Yb(d.h),c.Yb(c.n),c.Yb(l.a,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){1&e&&c.mc("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(c.Lb("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),c.Ob("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[c.Hb],attrs:f,ngContentSelectors:h,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(c.wc(),c.ec(0,"span",0),c.vc(1),c.dc(),c.Zb(2,"div",1),c.Zb(3,"div",2)),2&e&&(c.Kb(2),c.Ob("mat-button-ripple-round",t.isRoundButton||t.isIconButton),c.xc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[u.t],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e}(),b=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[u.u,u.j],u.j]}),e}()},bb6g:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function o(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}},"bi/7":function(e,t,n){"use strict";n.d(t,"a",(function(){return H})),n.d(t,"b",(function(){return Y}));var r=n("ODXe"),i=n("vuIU"),o=n("1OyB"),a=n("fXoL"),s=n("/POA"),u=n("R9As"),l=n("XNiG"),c=n("itXk"),d=n("ofXK"),f=n("VRyK"),h=n("EY2u"),p=n("HDdC"),m=n("vkgz"),v=n("w1tV"),g=n("JX91"),y=n("lJxs"),b=n("eIep"),_=n("3UWI"),w=n("1G5W"),E=n("5+tZ"),C=n("IzEk"),A=n("Zy1z"),k=n("pLZG");function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=Math.abs(e-t);return r<n}function x(e,t,n,r){var i={top:e.top,bottom:e.bottom,left:e.left,right:e.right};return t.top&&(i.top+=r),t.bottom&&(i.bottom+=r),t.left&&(i.left+=n),t.right&&(i.right+=n),i.height=i.bottom-i.top,i.width=i.right-i.left,i}function D(e){var t=e.clientY,n=e.rect;return t>=n.top&&t<=n.bottom}function O(e){var t=e.clientX,n=e.rect;return t>=n.left&&t<=n.right}function T(e){var t=e.clientX,n=e.clientY,r=e.allowedEdges,i=e.cursorPrecision,o=e.elm.nativeElement.getBoundingClientRect(),a={};return r.left&&S(t,o.left,i)&&D({clientY:n,rect:o})&&(a.left=!0),r.right&&S(t,o.right,i)&&D({clientY:n,rect:o})&&(a.right=!0),r.top&&S(n,o.top,i)&&O({clientX:t,rect:o})&&(a.top=!0),r.bottom&&S(n,o.bottom,i)&&O({clientX:t,rect:o})&&(a.bottom=!0),a}var F=Object.freeze({topLeft:"nw-resize",topRight:"ne-resize",bottomLeft:"sw-resize",bottomRight:"se-resize",leftOrRight:"col-resize",topOrBottom:"row-resize"});function M(e,t){return e.left&&e.top?t.topLeft:e.right&&e.top?t.topRight:e.left&&e.bottom?t.bottomLeft:e.right&&e.bottom?t.bottomRight:e.left||e.right?t.leftOrRight:e.top||e.bottom?t.topOrBottom:""}function P(e){var t=e.initialRectangle,n=e.newRectangle,r={};return Object.keys(e.edges).forEach((function(e){r[e]=(n[e]||0)-(t[e]||0)})),r}var L=function(){var e=function(){function e(t,n,r,i){Object(o.a)(this,e),this.platformId=t,this.renderer=n,this.elm=r,this.zone=i,this.resizeEdges={},this.enableGhostResize=!1,this.resizeSnapGrid={},this.resizeCursors=F,this.resizeCursorPrecision=3,this.ghostElementPositioning="fixed",this.allowNegativeResizes=!1,this.mouseMoveThrottleMS=50,this.resizeStart=new a.q,this.resizing=new a.q,this.resizeEnd=new a.q,this.mouseup=new l.a,this.mousedown=new l.a,this.mousemove=new l.a,this.destroy$=new l.a,this.resizeEdges$=new l.a,this.pointerEventListeners=R.getInstance(n,i)}return Object(i.a)(e,[{key:"ngOnInit",value:function(){var e,t=this,n=Object(f.a)(this.pointerEventListeners.pointerDown,this.mousedown),i=Object(f.a)(this.pointerEventListeners.pointerMove,this.mousemove).pipe(Object(m.a)((function(t){e&&t.event.preventDefault()})),Object(v.a)()),o=Object(f.a)(this.pointerEventListeners.pointerUp,this.mouseup),a=function(){e&&e.clonedNode&&(t.elm.nativeElement.parentElement.removeChild(e.clonedNode),t.renderer.setStyle(t.elm.nativeElement,"visibility","inherit"))},s=function(){return Object.assign({},F,t.resizeCursors)};this.resizeEdges$.pipe(Object(g.a)(this.resizeEdges),Object(y.a)((function(){return t.resizeEdges&&Object.keys(t.resizeEdges).some((function(e){return!!t.resizeEdges[e]}))})),Object(b.a)((function(e){return e?i:h.a})),Object(_.a)(this.mouseMoveThrottleMS),Object(w.a)(this.destroy$)).subscribe((function(n){var r=T({clientX:n.clientX,clientY:n.clientY,elm:t.elm,allowedEdges:t.resizeEdges,cursorPrecision:t.resizeCursorPrecision}),i=s();if(!e){var o=M(r,i);t.renderer.setStyle(t.elm.nativeElement,"cursor",o)}t.setElementClass(t.elm,"resize-left-hover",!0===r.left),t.setElementClass(t.elm,"resize-right-hover",!0===r.right),t.setElementClass(t.elm,"resize-top-hover",!0===r.top),t.setElementClass(t.elm,"resize-bottom-hover",!0===r.bottom)})),n.pipe(Object(E.a)((function(a){function s(e){return{clientX:e.clientX-a.clientX,clientY:e.clientY-a.clientY}}var u=function(){var n={x:1,y:1};return e&&(t.resizeSnapGrid.left&&e.edges.left?n.x=+t.resizeSnapGrid.left:t.resizeSnapGrid.right&&e.edges.right&&(n.x=+t.resizeSnapGrid.right),t.resizeSnapGrid.top&&e.edges.top?n.y=+t.resizeSnapGrid.top:t.resizeSnapGrid.bottom&&e.edges.bottom&&(n.y=+t.resizeSnapGrid.bottom)),n};function l(e,t){return{x:Math.ceil(e.clientX/t.x),y:Math.ceil(e.clientY/t.y)}}return Object(f.a)(i.pipe(Object(C.a)(1)).pipe(Object(y.a)((function(e){return[,e]}))),i.pipe(Object(A.a)())).pipe(Object(y.a)((function(e){var t=Object(r.a)(e,2),n=t[0],i=t[1];return[n?s(n):n,s(i)]}))).pipe(Object(k.a)((function(e){var t=Object(r.a)(e,2),n=t[0],i=t[1];if(!n)return!0;var o=u(),a=l(n,o),s=l(i,o);return a.x!==s.x||a.y!==s.y}))).pipe(Object(y.a)((function(e){var t=Object(r.a)(e,2)[1],n=u();return{clientX:Math.round(t.clientX/n.x)*n.x,clientY:Math.round(t.clientY/n.y)*n.y}}))).pipe(Object(w.a)(Object(f.a)(o,n)))}))).pipe(Object(k.a)((function(){return!!e}))).pipe(Object(y.a)((function(t){return x(e.startingRect,e.edges,t.clientX,t.clientY)}))).pipe(Object(k.a)((function(e){return t.allowNegativeResizes||!!(e.height&&e.width&&e.height>0&&e.width>0)}))).pipe(Object(k.a)((function(n){return!t.validateResize||t.validateResize({rectangle:n,edges:P({edges:e.edges,initialRectangle:e.startingRect,newRectangle:n})})})),Object(w.a)(this.destroy$)).subscribe((function(n){e&&e.clonedNode&&(t.renderer.setStyle(e.clonedNode,"height","".concat(n.height,"px")),t.renderer.setStyle(e.clonedNode,"width","".concat(n.width,"px")),t.renderer.setStyle(e.clonedNode,"top","".concat(n.top,"px")),t.renderer.setStyle(e.clonedNode,"left","".concat(n.left,"px"))),t.zone.run((function(){t.resizing.emit({edges:P({edges:e.edges,initialRectangle:e.startingRect,newRectangle:n}),rectangle:n})})),e.currentRect=n})),n.pipe(Object(y.a)((function(e){return e.edges||T({clientX:e.clientX,clientY:e.clientY,elm:t.elm,allowedEdges:t.resizeEdges,cursorPrecision:t.resizeCursorPrecision})}))).pipe(Object(k.a)((function(e){return Object.keys(e).length>0})),Object(w.a)(this.destroy$)).subscribe((function(n){e&&a();var r=function(e,t){var n=0,r=0,i=e.nativeElement.style,o=["transform","-ms-transform","-moz-transform","-o-transform"].map((function(e){return i[e]})).find((function(e){return!!e}));if(o&&o.includes("translate")&&(n=o.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$1"),r=o.replace(/.*translate3?d?\((-?[0-9]*)px, (-?[0-9]*)px.*/,"$2")),"absolute"===t)return{height:e.nativeElement.offsetHeight,width:e.nativeElement.offsetWidth,top:e.nativeElement.offsetTop-r,bottom:e.nativeElement.offsetHeight+e.nativeElement.offsetTop-r,left:e.nativeElement.offsetLeft-n,right:e.nativeElement.offsetWidth+e.nativeElement.offsetLeft-n};var a=e.nativeElement.getBoundingClientRect();return{height:a.height,width:a.width,top:a.top-r,bottom:a.bottom-r,left:a.left-n,right:a.right-n,scrollTop:e.nativeElement.scrollTop,scrollLeft:e.nativeElement.scrollLeft}}(t.elm,t.ghostElementPositioning);e={edges:n,startingRect:r,currentRect:r};var i=s(),o=M(e.edges,i);t.renderer.setStyle(document.body,"cursor",o),t.setElementClass(t.elm,"resize-active",!0),t.enableGhostResize&&(e.clonedNode=t.elm.nativeElement.cloneNode(!0),t.elm.nativeElement.parentElement.appendChild(e.clonedNode),t.renderer.setStyle(t.elm.nativeElement,"visibility","hidden"),t.renderer.setStyle(e.clonedNode,"position",t.ghostElementPositioning),t.renderer.setStyle(e.clonedNode,"left","".concat(e.startingRect.left,"px")),t.renderer.setStyle(e.clonedNode,"top","".concat(e.startingRect.top,"px")),t.renderer.setStyle(e.clonedNode,"height","".concat(e.startingRect.height,"px")),t.renderer.setStyle(e.clonedNode,"width","".concat(e.startingRect.width,"px")),t.renderer.setStyle(e.clonedNode,"cursor",M(e.edges,i)),t.renderer.addClass(e.clonedNode,"resize-ghost-element"),e.clonedNode.scrollTop=e.startingRect.scrollTop,e.clonedNode.scrollLeft=e.startingRect.scrollLeft),t.zone.run((function(){t.resizeStart.emit({edges:P({edges:n,initialRectangle:r,newRectangle:r}),rectangle:x(r,{},0,0)})}))})),o.pipe(Object(w.a)(this.destroy$)).subscribe((function(){e&&(t.renderer.removeClass(t.elm.nativeElement,"resize-active"),t.renderer.setStyle(document.body,"cursor",""),t.renderer.setStyle(t.elm.nativeElement,"cursor",""),t.zone.run((function(){t.resizeEnd.emit({edges:P({edges:e.edges,initialRectangle:e.startingRect,newRectangle:e.currentRect}),rectangle:e.currentRect})})),a(),e=null)}))}},{key:"ngOnChanges",value:function(e){e.resizeEdges&&this.resizeEdges$.next(this.resizeEdges)}},{key:"ngOnDestroy",value:function(){Object(d.r)(this.platformId)&&this.renderer.setStyle(document.body,"cursor",""),this.mousedown.complete(),this.mouseup.complete(),this.mousemove.complete(),this.resizeEdges$.complete(),this.destroy$.next()}},{key:"setElementClass",value:function(e,t,n){n?this.renderer.addClass(e.nativeElement,t):this.renderer.removeClass(e.nativeElement,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Yb(a.F),a.Yb(a.J),a.Yb(a.n),a.Yb(a.C))},e.\u0275dir=a.Tb({type:e,selectors:[["","mwlResizable",""]],inputs:{resizeEdges:"resizeEdges",enableGhostResize:"enableGhostResize",resizeSnapGrid:"resizeSnapGrid",resizeCursors:"resizeCursors",resizeCursorPrecision:"resizeCursorPrecision",ghostElementPositioning:"ghostElementPositioning",allowNegativeResizes:"allowNegativeResizes",mouseMoveThrottleMS:"mouseMoveThrottleMS",validateResize:"validateResize"},outputs:{resizeStart:"resizeStart",resizing:"resizing",resizeEnd:"resizeEnd"},features:[a.Ib]}),e}(),R=function(){function e(t,n){Object(o.a)(this,e),this.pointerDown=new p.a((function(e){var r,i;return n.runOutsideAngular((function(){r=t.listen("document","mousedown",(function(t){e.next({clientX:t.clientX,clientY:t.clientY,event:t})})),i=t.listen("document","touchstart",(function(t){e.next({clientX:t.touches[0].clientX,clientY:t.touches[0].clientY,event:t})}))})),function(){r(),i()}})).pipe(Object(v.a)()),this.pointerMove=new p.a((function(e){var r,i;return n.runOutsideAngular((function(){r=t.listen("document","mousemove",(function(t){e.next({clientX:t.clientX,clientY:t.clientY,event:t})})),i=t.listen("document","touchmove",(function(t){e.next({clientX:t.targetTouches[0].clientX,clientY:t.targetTouches[0].clientY,event:t})}))})),function(){r(),i()}})).pipe(Object(v.a)()),this.pointerUp=new p.a((function(e){var r,i,o;return n.runOutsideAngular((function(){r=t.listen("document","mouseup",(function(t){e.next({clientX:t.clientX,clientY:t.clientY,event:t})})),i=t.listen("document","touchend",(function(t){e.next({clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,event:t})})),o=t.listen("document","touchcancel",(function(t){e.next({clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,event:t})}))})),function(){r(),i(),o()}})).pipe(Object(v.a)())}return Object(i.a)(e,null,[{key:"getInstance",value:function(t,n){return e.instance||(e.instance=new e(t,n)),e.instance}}]),e}(),B=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=a.Wb({type:e}),e.\u0275inj=a.Vb({factory:function(t){return new(t||e)}}),e}(),j=["terminal"],I=function(){return{bottom:!0,right:!0}},N=function(){return{bottom:!1,right:!1}},H=function(){var e=function(){function e(){Object(o.a)(this,e),this.keyInputSubject=new l.a,this.keyEventSubject=new l.a,this.termSnippetSubject=new l.a,this.afterViewInitSubject=new l.a,this.h=Math.max(document.documentElement.clientHeight,window.innerHeight||0),this.displayOption={},this.terminalStyle={},this.keyInputEmitter=new a.q,this.keyEventEmitter=new a.q,this.termSnippetSubscription=Object(c.a)(this.termSnippetSubject,this.afterViewInitSubject).subscribe((function(e){(0,Object(r.a)(e,1)[0])()}))}return Object(i.a)(e,[{key:"observableSetup",value:function(){var e=this;this.term.onData((function(t){e.keyInputSubject.next(t)})),this.term.onKey((function(t){e.keyEventSubject.next(t)})),this.keyInputSubjectSubscription=this.keyInputSubject.subscribe((function(t){e.keyInputEmitter.emit(t)})),this.keyEventSubjectSubscription=this.keyEventSubject.subscribe((function(t){e.keyEventEmitter.emit(t)})),this.afterViewInitSubject.next()}},{key:"setTerminalBlock",value:function(e){this.terminalStyle.display=e?"block":"inline-block"}},{key:"setTerminalDimensions",value:function(e,t,n,r){this.terminalStyle.left=e?"".concat(e,"px"):void 0,this.terminalStyle.top=t?"".concat(t,"px"):void 0,this.terminalStyle.width=n?"".concat(n,"px"):void 0,this.terminalStyle.height=r?"".concat(r,"px"):void 0}},{key:"removeTerminalDimensions",value:function(){this.terminalStyle.left=void 0,this.terminalStyle.top=void 0,this.terminalStyle.width=void 0,this.terminalStyle.height=void 0}},{key:"setStyle",value:function(e){Object.assign(this.terminalStyle,e)}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewChecked",value:function(){var e=this.fitAddon.proposeDimensions();if(isNaN(e.rows)||e.rows==1/0||isNaN(e.cols)||e.cols==1/0)this.term.resize(10,10);else if(this.displayOption.fixedGrid){this.term.resize(this.displayOption.fixedGrid.cols,this.displayOption.fixedGrid.rows);var t=this.term.element.getElementsByClassName("xterm-screen")[0],n=this.term.element.getElementsByClassName("xterm-scroll-area")[0];this.setTerminalDimensions(void 0,void 0,t.clientWidth+(this.term.element.clientWidth-n.clientWidth),void 0)}else this.fitAddon.fit()}},{key:"ngAfterViewInit",value:function(){this.fitAddon=new u.FitAddon,this.term=new s.Terminal,this.term.open(this.terminalDiv.nativeElement),this.term.loadAddon(this.fitAddon),this.observableSetup()}},{key:"ngOnDestroy",value:function(){this.keyInputSubjectSubscription&&this.keyInputSubjectSubscription.unsubscribe(),this.dataSourceSubscription&&this.dataSourceSubscription.unsubscribe(),this.keyEventSubjectSubscription&&this.keyEventSubjectSubscription.unsubscribe(),this.termSnippetSubscription&&this.termSnippetSubscription.unsubscribe(),this.term&&this.term.dispose()}},{key:"write",value:function(e){this.term.write(e)}},{key:"setDisplayOption",value:function(e){e?(null!=e.fixedGrid?(console.debug("resizable will be ignored."),this.setTerminalBlock(!1),this.removeTerminalDimensions()):this.setTerminalBlock(!0),this.displayOption=e):console.warn("A falsy option is not allowed")}},{key:"onResizeEnd",value:function(e,t,n,r){this.setTerminalDimensions(e,t,n,r)}},{key:"validatorFactory",value:function(){var e=this;return function(t){var n=e.displayOption;if(n.activateDraggableOnEdge)return!(t.rectangle.width<n.activateDraggableOnEdge.minWidth||t.rectangle.height<n.activateDraggableOnEdge.minHeight)}}},{key:"_dataSource",set:function(e){var t=this;null!=this.dataSourceSubscription&&this.dataSourceSubscription.unsubscribe(),this.dataSource=e,this.dataSourceSubscription=this.dataSource.subscribe((function(e){t.write(e)}))},get:function(){return this.dataSource}},{key:"_displayOption",set:function(e){this.setDisplayOption(e)}},{key:"_style",set:function(e){this.setStyle(e)}},{key:"keyInput",get:function(){return this.keyInputSubject}},{key:"keyEventInput",get:function(){return this.keyEventSubject}},{key:"underlying",get:function(){return this.term}},{key:"isDraggableOnEdgeActivated",get:function(){return null!=this.displayOption.activateDraggableOnEdge&&null==this.displayOption.fixedGrid}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Sb({type:e,selectors:[["ng-terminal"]],viewQuery:function(e,t){var n;1&e&&a.Qc(j,!0),2&e&&a.Fc(n=a.nc())&&(t.terminalDiv=n.first)},inputs:{_dataSource:["dataSource","_dataSource"],_displayOption:["displayOption","_displayOption"],_style:["style","_style"]},outputs:{keyInputEmitter:"keyInput",keyEventEmitter:"keyEvent"},decls:3,vars:6,consts:[["mwlResizable","",1,"terminal-outer",3,"ngStyle","validateResize","enableGhostResize","resizeEdges","resizeEnd"],["terminal",""]],template:function(e,t){1&e&&(a.Zb(0,"global-style"),a.ec(1,"div",0,1),a.mc("resizeEnd",(function(e){return t.onResizeEnd(e.rectangle.left,e.rectangle.top,e.rectangle.width,e.rectangle.height)})),a.dc()),2&e&&(a.Kb(1),a.xc("ngStyle",t.terminalStyle)("validateResize",t.validatorFactory())("enableGhostResize",!0)("resizeEdges",t.isDraggableOnEdgeActivated?a.Ac(4,I):a.Ac(5,N)))},directives:function(){return[z,L,d.l]},styles:[".terminal-outer[_ngcontent-%COMP%]{box-sizing:border-box;height:100%}"]}),e}(),z=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(i.a)(e,[{key:"ngOnInit",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Sb({type:e,selectors:[["global-style"]],decls:0,vars:0,template:function(e,t){},styles:['.xterm{font-feature-settings:"liga" 0;position:relative;-moz-user-select:none;user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:text}.xterm.focus,.xterm:focus{outline:0}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility,.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:.5}.xterm-underline{text-decoration:underline}'],encapsulation:2}),e}(),Y=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=a.Wb({type:e}),e.\u0275inj=a.Vb({factory:function(t){return new(t||e)},imports:[[B,d.b]]}),e}()},bv9b:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return E}));var r=n("vuIU"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("fXoL"),u=n("ofXK"),l=n("FKr1"),c=n("8LU1"),d=n("R1ws"),f=n("quSY"),h=n("xgIS"),p=n("pLZG"),m=["primaryValueBar"],v=function e(t){Object(a.a)(this,e),this._elementRef=t},g=Object(l.y)(v,"primary"),y=new s.s("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=Object(s.cb)(u.c),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),b=0,_=function(){var e=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,r,i,o){var u;Object(a.a)(this,n),(u=t.call(this,e))._elementRef=e,u._ngZone=r,u._animationMode=i,u._isNoopAnimation=!1,u._value=0,u._bufferValue=0,u.animationEnd=new s.q,u._animationEndSubscription=f.a.EMPTY,u.mode="determinate",u.progressbarId="mat-progress-bar-".concat(b++);var l=o?o.getPathname().split("#")[0]:"";return u._rectangleFillValue="url('".concat(l,"#").concat(u.progressbarId,"')"),u._isNoopAnimation="NoopAnimations"===i,u}return Object(r.a)(n,[{key:"_primaryTransform",value:function(){return{transform:"scaleX(".concat(this.value/100,")")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scaleX(".concat(this.bufferValue/100,")")}:null}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=e._primaryValueBar.nativeElement;e._animationEndSubscription=Object(h.a)(t,"transitionend").pipe(Object(p.a)((function(e){return e.target===t}))).subscribe((function(){"determinate"!==e.mode&&"buffer"!==e.mode||e._ngZone.run((function(){return e.animationEnd.next({value:e.value})}))}))}))}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}},{key:"value",get:function(){return this._value},set:function(e){this._value=w(Object(c.f)(e)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(e){this._bufferValue=w(e||0)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(s.Yb(s.n),s.Yb(s.C),s.Yb(d.a,8),s.Yb(y,8))},e.\u0275cmp=s.Sb({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var n;1&e&&s.ad(m,!0),2&e&&s.Fc(n=s.nc())&&(t._primaryValueBar=n.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(s.Lb("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),s.Ob("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[s.Hb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(s.pc(),s.ec(0,"svg",0),s.ec(1,"defs"),s.ec(2,"pattern",1),s.Zb(3,"circle",2),s.dc(),s.dc(),s.Zb(4,"rect",3),s.dc(),s.oc(),s.Zb(5,"div",4),s.Zb(6,"div",5,6),s.Zb(8,"div",7)),2&e&&(s.Kb(2),s.xc("id",t.progressbarId),s.Kb(2),s.Lb("fill",t._rectangleFillValue),s.Kb(1),s.xc("ngStyle",t._bufferTransform()),s.Kb(1),s.xc("ngStyle",t._primaryTransform()))},directives:[u.l],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e}();function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(t,Math.min(n,e))}var E=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275mod=s.Wb({type:e}),e.\u0275inj=s.Vb({factory:function(t){return new(t||e)},imports:[[u.b,l.j],l.j]}),e}()},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},cGKQ:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u}));var r=n("O4wp"),i=function(e,t){var n=t[0],i=t[1];return e.hasOwnProperty(n)?Object(r.o)(e[n])?e[n].push(i):e[n]=[e[n],i]:e[n]=i,e},o=function(e){return e.split("&").filter(r.l).map(r.I).reduce(i,{})};function a(e){var t=function(e){return e||""},n=Object(r.J)(e).map(t),i=n[0],o=n[1],a=Object(r.K)(i).map(t);return{path:a[0],search:a[1],hash:o,url:e}}var s=function(e){var t=e.path(),n=e.search(),i=e.hash(),o=Object.keys(n).map((function(e){var t=n[e];return(Object(r.o)(t)?t:[t]).map((function(t){return e+"="+t}))})).reduce(r.Q,[]).join("&");return t+(o?"?"+o:"")+(i?"#"+i:"")};function u(e,t,n,r){return function(i){var o=i.locationService=new n(i),a=i.locationConfig=new r(i,t);return{name:e,service:o,configuration:a,dispose:function(e){e.dispose(o),e.dispose(a)}}}}},cH1L:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n("1OyB"),i=n("vuIU"),o=n("fXoL"),a=n("ofXK"),s=new o.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(o.cb)(a.c)}}),u=function(){var e=function(){function e(t){if(Object(r.a)(this,e),this.value="ltr",this.change=new o.q,t){var n=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===n||"rtl"===n?n:"ltr"}}return Object(i.a)(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.ic(s,8))},e.\u0275prov=Object(o.Ub)({factory:function(){return new e(Object(o.ic)(s,8))},token:e,providedIn:"root"}),e}(),l=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)}}),e}()},cHUV:function(e,t,n){"use strict";n("9ecK"),n("Tmnz"),n("vkO+"),n("Nr6J");var r=n("d2nv");n.d(t,"a",(function(){return r.a})),n("N5pH"),n("pn7+");var i=n("ECN7");n.d(t,"b",(function(){return i.a}))},cK63:function(e,t,n){"use strict";var r=n("W6Qz");n.o(r,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return r.BaseLocationServices})),n.o(r,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return r.BaseUrlRule})),n.o(r,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return r.BrowserLocationConfig})),n.o(r,"Param")&&n.d(t,"Param",(function(){return r.Param})),n.o(r,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return r.StateRegistry})),n.o(r,"StateService")&&n.d(t,"StateService",(function(){return r.StateService})),n.o(r,"UIRouter")&&n.d(t,"UIRouter",(function(){return r.UIRouter})),n.o(r,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return r.UIRouterGlobals})),n.o(r,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return r.UrlMatcherFactory})),n.o(r,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return r.UrlRouter})),n.o(r,"UrlService")&&n.d(t,"UrlService",(function(){return r.UrlService})),n.o(r,"ViewService")&&n.d(t,"ViewService",(function(){return r.ViewService})),n.o(r,"parseUrl")&&n.d(t,"parseUrl",(function(){return r.parseUrl})),n.o(r,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return r.servicesPlugin})),n("/V7M");var i=n("hOic");n.d(t,"UrlMatcherFactory",(function(){return i.a}));var o=n("a4DK");n.d(t,"UrlRouter",(function(){return o.a}));var a=n("loPh");n.d(t,"BaseUrlRule",(function(){return a.a}));var s=n("Fpsn");n.d(t,"UrlService",(function(){return s.a})),n("XqED"),n("Gx5h")},ciiV:function(e,t){},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("KQm4"),i=n("HDdC"),o=n("DH7j"),a=n("lJxs"),s=n("XoHu"),u=n("Cfvw");function l(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var i=t[0];if(Object(o.a)(i))return c(i,null);if(Object(s.a)(i)&&Object.getPrototypeOf(i)===Object.prototype){var u=Object.keys(i);return c(u.map((function(e){return i[e]})),u)}}if("function"==typeof t[t.length-1]){var l=t.pop();return c(t=1===t.length&&Object(o.a)(t[0])?t[0]:t,null).pipe(Object(a.a)((function(e){return l.apply(void 0,Object(r.a)(e))})))}return c(t,null)}function c(e,t){return new i.a((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var l=Object(u.a)(e[s]),c=!1;n.add(l.subscribe({next:function(e){c||(c=!0,a++),i[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&c||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},l=0;l<r;l++)s(l);else n.complete()}))}},d2nv:function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n("xUBY"),i=n("49mS"),o=n("lqow"),a=n("kpkV"),s=n("//cU"),u=n("S2Kk"),l=n("9ecK"),c=n("N5pH"),d=n("vkO+"),f=n("Tmnz"),h=n("o7Ob"),p=n("U/8i"),m=n("U4Jh"),v=n("S2B6"),g=n("Nr6J"),y=n("O4wp"),b=Object(u.k)("self"),_=function(){function e(e,t,n){var r=this;if(this._deferred=i.b.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new f.a(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,this._targetState=t,!t.valid())throw new Error(t.error());this._options=Object(a.l)({current:Object(u.m)(this)},t.options()),this.$id=n.transitionService._transitionCount++;var o=h.a.buildToPath(e,t);this._treeChanges=h.a.treeChanges(e,o,this._options.reloadState),this.createTransitionHookRegFns();var s=this._hookBuilder.buildHooksForPhase(l.a.CREATE);c.a.invokeHooks(s,(function(){return null})),this.applyViewConfigs(n)}return e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.createTransitionHookRegFns=function(){var e=this;this.router.transitionService._pluginapi._getEvents().filter((function(e){return e.hookPhase!==l.a.CREATE})).forEach((function(t){return Object(d.a)(e,e.router.transitionService,t)}))},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype.applyViewConfigs=function(e){var t=this._treeChanges.entering.map((function(e){return e.state}));h.a.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},e.prototype.$from=function(){return Object(a.G)(this._treeChanges.from).state},e.prototype.$to=function(){return Object(a.G)(this._treeChanges.to).state},e.prototype.from=function(){return this.$from().self},e.prototype.to=function(){return this.$to().self},e.prototype.targetState=function(){return this._targetState},e.prototype.is=function(t){return t instanceof e?this.is({to:t.$to().name,from:t.$from().name}):!(t.to&&!Object(d.b)(this.$to(),t.to,this)||t.from&&!Object(d.b)(this.$from(),t.from,this))},e.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map(Object(u.k)("paramValues")).reduce(a.w,{}))},e.prototype.paramsChanged=function(){var e=this.params("from"),t=this.params("to"),n=[].concat(this._treeChanges.to).concat(this._treeChanges.from).map((function(e){return e.paramSchema})).reduce(y.j,[]).reduce(y.P,[]);return p.b.changed(n,e,t).reduce((function(e,n){return e[n.id]=t[n.id],e}),{})},e.prototype.injector=function(e,t){void 0===t&&(t="to");var n=this._treeChanges[t];return e&&(n=h.a.subPath(n,(function(t){return t.state===e||t.state.name===e}))),new v.b(n).injector()},e.prototype.getResolveTokens=function(e){return void 0===e&&(e="to"),new v.b(this._treeChanges[e]).getTokens()},e.prototype.addResolvable=function(e,t){void 0===t&&(t=""),e=Object(u.e)(m.a)(e)?e:new m.a(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=Object(a.n)(r,(function(e){return e.state.name===n}));new v.b(r).addResolvables([e],i.state)},e.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},e.prototype.originalTransition=function(){var e=this.redirectedFrom();return e&&e.originalTransition()||this},e.prototype.options=function(){return this._options},e.prototype.entering=function(){return Object(a.u)(this._treeChanges.entering,Object(u.k)("state")).map(b)},e.prototype.exiting=function(){return Object(a.u)(this._treeChanges.exiting,Object(u.k)("state")).map(b).reverse()},e.prototype.retained=function(){return Object(a.u)(this._treeChanges.retained,Object(u.k)("state")).map(b)},e.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return(n=t?n.filter(Object(u.l)("state",t)):n).map(Object(u.k)("views")).filter(a.r).reduce(a.K,[])},e.prototype.treeChanges=function(e){return e?this._treeChanges[e]:this._treeChanges},e.prototype.redirect=function(e){for(var t=1,n=this;null!=(n=n.redirectedFrom());)if(++t>20)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==e.options().location&&(r.location="replace");var i=Object(a.l)({},this.options(),e.options(),r);e=e.withOptions(i,!0);var o,s=this.router.transitionService.create(this._treeChanges.from,e),l=this._treeChanges.entering;return h.a.matching(s._treeChanges.entering,l,h.a.nonDynamicParams).filter(Object(u.f)((o=e.options().reloadState,function(e){return o&&e.state.includes[o.name]}))).forEach((function(e,t){e.resolvables=l[t].resolvables})),s},e.prototype._changedParams=function(){var e=this._treeChanges;if(!(this._options.reload||e.exiting.length||e.entering.length||e.to.length!==e.from.length||Object(a.e)(e.to,e.from).map((function(e){return e[0].state!==e[1].state})).reduce(a.c,!1))){var t=e.to.map((function(e){return e.paramSchema})),n=[e.to,e.from].map((function(e){return e.map((function(e){return e.paramValues}))})),r=n[0],i=n[1];return Object(a.e)(t,r,i).map((function(e){return p.b.changed(e[0],e[1],e[2])})).reduce(a.K,[])}},e.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map((function(e){return e.dynamic})).reduce(a.c,!1)},e.prototype.ignored=function(){return!!this._ignoredReason()},e.prototype._ignoredReason=function(){var e=this.router.globals.transition,t=this._options.reloadState,n=function(e,n){if(e.length!==n.length)return!1;var r=h.a.matching(e,n);return e.length===r.filter((function(e){return!t||!e.state.includes[t.name]})).length},r=this.treeChanges(),i=e&&e.treeChanges();return i&&n(i.to,r.to)&&n(i.exiting,r.exiting)?"SameAsPending":0===r.exiting.length&&0===r.entering.length&&n(r.from,r.to)?"SameAsCurrent":void 0},e.prototype.run=function(){var e=this,t=c.a.runAllHooks,n=function(t){return e._hookBuilder.buildHooksForPhase(t)},o=n(l.a.BEFORE);return c.a.invokeHooks(o,(function(){var t=e.router.globals;return t.lastStartedTransitionId=e.$id,t.transition=e,t.transitionHistory.enqueue(e),r.a.traceTransitionStart(e),i.b.$q.when(void 0)})).then((function(){var e=n(l.a.RUN);return c.a.invokeHooks(e,(function(){return i.b.$q.when(void 0)}))})).then((function(){r.a.traceSuccess(e.$to(),e),e.success=!0,e._deferred.resolve(e.to()),t(n(l.a.SUCCESS))}),(function(i){r.a.traceError(i,e),e.success=!1,e._deferred.reject(i),e._error=i,t(n(l.a.ERROR))})),this.promise},e.prototype.valid=function(){return!this.error()||void 0!==this.success},e.prototype.abort=function(){Object(s.m)(this.success)&&(this._aborted=!0)},e.prototype.error=function(){var e=this.$to();if(e.self.abstract)return g.b.invalid("Cannot transition to abstract state '"+e.name+"'");var t=e.parameters(),n=this.params(),r=t.filter((function(e){return!e.validates(n[e.id])}));if(r.length){var i=r.map((function(e){return"["+e.id+":"+Object(o.k)(n[e.id])+"]"})).join(", ");return g.b.invalid("The following parameter values are not valid for state '"+e.name+"': "+i)}return!1===this.success?this._error:void 0},e.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!=e["#"]?e:Object(a.y)(e,["#"])};return"Transition#"+this.$id+"( '"+(Object(s.i)(e)?e.name:e)+"'"+Object(o.k)(n(this._treeChanges.from.map(Object(u.k)("paramValues")).reduce(a.w,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(Object(s.i)(t)?t.name:t)+"'"+Object(o.k)(n(this.params()))+" )"},e.diToken=e,e}()},d3UM:function(e,t,n){"use strict";n.d(t,"a",(function(){return X})),n.d(t,"b",(function(){return Z}));var r=n("KQm4"),i=n("vuIU"),o=n("JX7q"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("rDax"),c=n("ofXK"),d=n("fXoL"),f=n("FKr1"),h=n("kmnG"),p=n("vxfF"),m=n("u47x"),v=n("8LU1"),g=n("0EQZ"),y=n("FtGj"),b=n("XNiG"),_=n("NXyV"),w=n("VRyK"),E=n("JX91"),C=n("eIep"),A=n("IzEk"),k=n("pLZG"),S=n("lJxs"),x=n("/uUt"),D=n("1G5W"),O=n("R0Ic"),T=n("cH1L"),F=n("3Pt+"),M=["trigger"],P=["panel"];function L(e,t){if(1&e&&(d.ec(0,"span",8),d.Uc(1),d.dc()),2&e){var n=d.qc();d.Kb(1),d.Vc(n.placeholder||"\xa0")}}function R(e,t){if(1&e&&(d.ec(0,"span"),d.Uc(1),d.dc()),2&e){var n=d.qc(2);d.Kb(1),d.Vc(n.triggerValue||"\xa0")}}function B(e,t){1&e&&d.vc(0,0,["*ngSwitchCase","true"])}function j(e,t){if(1&e&&(d.ec(0,"span",9),d.Sc(1,R,2,1,"span",10),d.Sc(2,B,1,0,void 0,11),d.dc()),2&e){var n=d.qc();d.xc("ngSwitch",!!n.customTrigger),d.Kb(2),d.xc("ngSwitchCase",!0)}}function I(e,t){if(1&e){var n=d.fc();d.ec(0,"div",12),d.ec(1,"div",13,14),d.mc("@transformPanel.done",(function(e){return d.Kc(n),d.qc()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return d.Kc(n),d.qc()._handleKeydown(e)})),d.vc(3,1),d.dc(),d.dc()}if(2&e){var r=d.qc();d.xc("@transformPanelWrap",void 0),d.Kb(1),d.Nb("mat-select-panel ",r._getPanelTheme(),""),d.Rc("transform-origin",r._transformOrigin)("font-size",r._triggerFontSize,"px"),d.xc("ngClass",r.panelClass)("@transformPanel",r.multiple?"showing-multiple":"showing"),d.Lb("id",r.id+"-panel")}}var N=[[["mat-select-trigger"]],"*"],H=["mat-select-trigger","*"],z={transformPanelWrap:Object(O.o)("transformPanelWrap",[Object(O.n)("* => void",Object(O.i)("@transformPanel",[Object(O.f)()],{optional:!0}))]),transformPanel:Object(O.o)("transformPanel",[Object(O.l)("void",Object(O.m)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(O.l)("showing",Object(O.m)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(O.l)("showing-multiple",Object(O.m)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(O.n)("void => *",Object(O.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(O.n)("* => void",Object(O.e)("100ms 25ms linear",Object(O.m)({opacity:0})))])},Y=0,U=new d.s("mat-select-scroll-strategy"),V=new d.s("MAT_SELECT_CONFIG"),$={provide:U,deps:[l.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},W=function e(t,n){Object(u.a)(this,e),this.source=t,this.value=n},G=function e(t,n,r,i,o){Object(u.a)(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=r,this._parentFormGroup=i,this.ngControl=o},q=Object(f.z)(Object(f.D)(Object(f.A)(Object(f.B)(G)))),K=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d.Tb({type:e,selectors:[["mat-select-trigger"]]}),e}(),X=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,i,a,s,l,c,f,h,p,m,v,g,y,x){var D;return Object(u.a)(this,n),(D=t.call(this,l,s,f,h,m))._viewportRuler=e,D._changeDetectorRef=i,D._ngZone=a,D._dir=c,D._parentFormField=p,D.ngControl=m,D._liveAnnouncer=y,D._panelOpen=!1,D._required=!1,D._scrollTop=0,D._multiple=!1,D._compareWith=function(e,t){return e===t},D._uid="mat-select-".concat(Y++),D._destroy=new b.a,D._triggerFontSize=0,D._onChange=function(){},D._onTouched=function(){},D._optionIds="",D._transformOrigin="top",D._panelDoneAnimatingStream=new b.a,D._offsetY=0,D._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],D._disableOptionCentering=!1,D._focused=!1,D.controlType="mat-select",D.ariaLabel="",D.optionSelectionChanges=Object(_.a)((function(){var e=D.options;return e?e.changes.pipe(Object(E.a)(e),Object(C.a)((function(){return w.a.apply(void 0,Object(r.a)(e.map((function(e){return e.onSelectionChange}))))}))):D._ngZone.onStable.asObservable().pipe(Object(A.a)(1),Object(C.a)((function(){return D.optionSelectionChanges})))})),D.openedChange=new d.q,D._openedStream=D.openedChange.pipe(Object(k.a)((function(e){return e})),Object(S.a)((function(){}))),D._closedStream=D.openedChange.pipe(Object(k.a)((function(e){return!e})),Object(S.a)((function(){}))),D.selectionChange=new d.q,D.valueChange=new d.q,D.ngControl&&(D.ngControl.valueAccessor=Object(o.a)(D)),D._scrollStrategyFactory=g,D._scrollStrategy=D._scrollStrategyFactory(),D.tabIndex=parseInt(v)||0,D.id=D.id,x&&(null!=x.disableOptionCentering&&(D.disableOptionCentering=x.disableOptionCentering),null!=x.typeaheadDebounceInterval&&(D.typeaheadDebounceInterval=x.typeaheadDebounceInterval)),D}return Object(i.a)(n,[{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new g.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(x.a)(),Object(D.a)(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Object(D.a)(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(Object(D.a)(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(Object(E.a)(null),Object(D.a)(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Object(A.a)(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.options&&this._setSelectionByValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===y.e||t===y.r||t===y.j||t===y.n,r=t===y.g||t===y.p,i=this._keyManager;if(!i.isTyping()&&r&&!Object(y.u)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var o=this.selected;t===y.i||t===y.f?(t===y.i?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault()):i.onKeydown(e);var a=this.selected;a&&o!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,r=n===y.e||n===y.r,i=t.isTyping();if(n===y.i||n===y.f)e.preventDefault(),n===y.i?t.setFirstItemActive():t.setLastItemActive();else if(r&&e.altKey)e.preventDefault(),this.close();else if(i||n!==y.g&&n!==y.p||!t.activeItem||Object(y.u)(e))if(!i&&this._multiple&&n===y.a&&e.ctrlKey){e.preventDefault();var o=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(o?e.select():e.deselect())}))}else{var a=t.activeItemIndex;t.onKeydown(e),this._multiple&&r&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(Object(A.a)(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return Object(d.db)()&&console.warn(r),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new m.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(D.a)(this._destroy)).subscribe((function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())})),this._keyManager.change.pipe(Object(D.a)(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var e=this,t=Object(w.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(D.a)(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),w.a.apply(void 0,Object(r.a)(this.options.map((function(e){return e._stateChanges})))).pipe(Object(D.a)(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,r){return e.sortComparator?e.sortComparator(n,r,t):t.indexOf(n)-t.indexOf(r)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new W(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e=this._keyManager.activeItemIndex||0,t=Object(f.w)(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Object(f.x)(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,n,r){return void 0!==t?t:e===n?r:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),r=t*e-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Object(f.w)(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)}},{key:"_calculateOverlayScroll",value:function(e,t,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*e-t+r/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?56:32;if(this.multiple)e=40;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}r||(e*=-1);var a=0-(t.left+e-(r?i:0)),s=t.right+e-n.width+(r?0:i);a>0?e+=a+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,a=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-o))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>i?this._adjustPanelUp(a,i):o>r?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var r=Math.round(e-t);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2,n=Math.abs(this._offsetY)-t+e/2;return"50% ".concat(n,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(v.c)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Object(v.c)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Object(v.c)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Object(v.f)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(q);return e.\u0275fac=function(t){return new(t||e)(d.Yb(p.h),d.Yb(d.i),d.Yb(d.C),d.Yb(f.d),d.Yb(d.n),d.Yb(T.b,8),d.Yb(F.p,8),d.Yb(F.h,8),d.Yb(h.a,8),d.Yb(F.m,10),d.jc("tabindex"),d.Yb(U),d.Yb(m.l),d.Yb(V,8))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){var r;1&e&&(d.Qb(n,K,!0),d.Qb(n,f.o,!0),d.Qb(n,f.n,!0)),2&e&&(d.Fc(r=d.nc())&&(t.customTrigger=r.first),d.Fc(r=d.nc())&&(t.options=r),d.Fc(r=d.nc())&&(t.optionGroups=r))},viewQuery:function(e,t){var n;1&e&&(d.ad(M,!0),d.ad(P,!0),d.ad(l.a,!0)),2&e&&(d.Fc(n=d.nc())&&(t.trigger=n.first),d.Fc(n=d.nc())&&(t.panel=n.first),d.Fc(n=d.nc())&&(t.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&d.mc("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(d.Lb("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),d.Ob("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[d.Jb([{provide:h.d,useExisting:e},{provide:f.h,useExisting:e}]),d.Hb,d.Ib],ngContentSelectors:H,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(d.wc(N),d.ec(0,"div",0,1),d.mc("click",(function(){return t.toggle()})),d.ec(3,"div",2),d.Sc(4,L,2,1,"span",3),d.Sc(5,j,3,2,"span",4),d.dc(),d.ec(6,"div",5),d.Zb(7,"div",6),d.dc(),d.dc(),d.Sc(8,I,4,11,"ng-template",7),d.mc("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){var n=d.Gc(1);d.Kb(3),d.xc("ngSwitch",t.empty),d.Kb(1),d.xc("ngSwitchCase",!0),d.Kb(1),d.xc("ngSwitchCase",!1),d.Kb(3),d.xc("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[l.b,c.m,c.n,l.a,c.o,c.i],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[z.transformPanelWrap,z.transformPanel]},changeDetection:0}),e}(),Z=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=d.Wb({type:e}),e.\u0275inj=d.Vb({factory:function(t){return new(t||e)},providers:[$],imports:[[c.b,l.f,f.p,f.j],p.c,h.e,f.p,f.j]}),e}()},dNgK:function(e,t,n){"use strict";n.d(t,"a",(function(){return T})),n.d(t,"b",(function(){return D}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("rDax"),u=n("+rOU"),l=n("ofXK"),c=n("fXoL"),d=n("FKr1"),f=n("bTqV"),h=n("XNiG"),p=n("IzEk"),m=n("1G5W"),v=n("R0Ic"),g=n("u47x"),y=n("0MNC");function b(e,t){if(1&e){var n=c.fc();c.ec(0,"div",1),c.ec(1,"button",2),c.mc("click",(function(){return c.Kc(n),c.qc().action()})),c.Uc(2),c.dc(),c.dc()}if(2&e){var r=c.qc();c.Kb(2),c.Vc(r.data.action)}}function _(e,t){}var w=Math.pow(2,31)-1,E=function(){function e(t,n){var r=this;Object(o.a)(this,e),this._overlayRef=n,this._afterDismissed=new h.a,this._afterOpened=new h.a,this._onAction=new h.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe((function(){return r.dismiss()})),t._onExit.subscribe((function(){return r._finishDismiss()}))}return Object(a.a)(e,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout((function(){return t.dismiss()}),Math.min(e,w))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed.asObservable()}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction.asObservable()}}]),e}(),C=new c.s("MatSnackBarData"),A=function e(){Object(o.a)(this,e),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},k=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.snackBarRef=t,this.data=n}return Object(a.a)(e,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(E),c.Yb(C))},e.\u0275cmp=c.Sb({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(c.ec(0,"span"),c.Uc(1),c.dc(),c.Sc(2,b,3,1,"div",0)),2&e&&(c.Kb(1),c.Vc(t.data.message),c.Kb(1),c.xc("ngIf",t.hasAction))},directives:[l.k,f.b],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e}(),S={snackBarState:Object(v.o)("state",[Object(v.l)("void, hidden",Object(v.m)({transform:"scale(0.8)",opacity:0})),Object(v.l)("visible",Object(v.m)({transform:"scale(1)",opacity:1})),Object(v.n)("* => visible",Object(v.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(v.n)("* => void, * => hidden",Object(v.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(v.m)({opacity:0})))])},x=function(){var e=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r,i,a){var s;return Object(o.a)(this,n),(s=t.call(this))._ngZone=e,s._elementRef=r,s._changeDetectorRef=i,s.snackBarConfig=a,s._destroyed=!1,s._onExit=new h.a,s._onEnter=new h.a,s._animationState="void",s.attachDomPortal=function(e){return s._assertNotAttached(),s._applySnackBarClasses(),s._portalOutlet.attachDomPortal(e)},s._role="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?null:"status":"alert",s}return Object(a.a)(n,[{key:"attachComponentPortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}},{key:"onAnimationEnd",value:function(e){var t=e.toState;if(("void"===t&&"void"!==e.fromState||"hidden"===t)&&this._completeExit(),"visible"===t){var n=this._onEnter;this._ngZone.run((function(){n.next(),n.complete()}))}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var e=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(p.a)(1)).subscribe((function(){e._onExit.next(),e._onExit.complete()}))}},{key:"_applySnackBarClasses",value:function(){var e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach((function(t){return e.classList.add(t)})):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}]),n}(u.a);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.C),c.Yb(c.n),c.Yb(c.i),c.Yb(A))},e.\u0275cmp=c.Sb({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var n;1&e&&c.Qc(u.c,!0),2&e&&c.Fc(n=c.nc())&&(t._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(e,t){1&e&&c.Pb("@state.done",(function(e){return t.onAnimationEnd(e)})),2&e&&(c.Lb("role",t._role),c.Zc("@state",t._animationState))},features:[c.Hb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&c.Sc(0,_,0,0,"ng-template",0)},directives:[u.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[S.snackBarState]}}),e}(),D=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[s.f,u.h,l.b,f.c,d.j],d.j]}),e}(),O=new c.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new A}}),T=function(){var e=function(){function e(t,n,r,i,a,s){Object(o.a)(this,e),this._overlay=t,this._live=n,this._injector=r,this._breakpointObserver=i,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null}return Object(a.a)(e,[{key:"openFromComponent",value:function(e,t){return this._attach(e,t)}},{key:"openFromTemplate",value:function(e,t){return this._attach(e,t)}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=Object.assign(Object.assign({},this._defaultConfig),n);return r.data={message:e,action:t},r.announcementMessage||(r.announcementMessage=e),this.openFromComponent(k,r)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(e,t){var n=new u.g(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[A,t]])),r=new u.d(x,t.viewContainerRef,n),i=e.attach(r);return i.instance.snackBarConfig=t,i.instance}},{key:"_attach",value:function(e,t){var n=Object.assign(Object.assign(Object.assign({},new A),this._defaultConfig),t),r=this._createOverlay(n),i=this._attachSnackBarContainer(r,n),o=new E(i,r);if(e instanceof c.Q){var a=new u.i(e,null,{$implicit:n.data,snackBarRef:o});o.instance=i.attachTemplatePortal(a)}else{var s=this._createInjector(n,o),l=new u.d(e,void 0,s),d=i.attachComponentPortal(l);o.instance=d.instance}return this._breakpointObserver.observe(y.b.HandsetPortrait).pipe(Object(m.a)(r.detachments())).subscribe((function(e){var t=r.overlayElement.classList;e.matches?t.add("mat-snack-bar-handset"):t.remove("mat-snack-bar-handset")})),this._animateSnackBar(o,n),this._openedSnackBarRef=o,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(e,t){var n=this;e.afterDismissed().subscribe((function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){e.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe((function(){return e._dismissAfter(t.duration)})),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)}},{key:"_createOverlay",value:function(e){var t=new s.d;t.direction=e.direction;var n=this._overlay.position().global(),r="rtl"===e.direction,i="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!r||"end"===e.horizontalPosition&&r,o=!i&&"center"!==e.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){return new u.g(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[E,t],[C,e.data]]))}},{key:"_openedSnackBarRef",get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(s.c),c.ic(g.l),c.ic(c.t),c.ic(y.a),c.ic(e,12),c.ic(O))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(s.c),Object(c.ic)(g.l),Object(c.ic)(c.r),Object(c.ic)(y.a),Object(c.ic)(e,12),Object(c.ic)(O))},token:e,providedIn:D}),e}()},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("ReuC"),i=n("foSv"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("vuIU"),l=n("l7GE"),c=n("51Dv"),d=n("ZUHj"),f=n("lJxs"),h=n("Cfvw");function p(e,t){return"function"==typeof t?function(n){return n.pipe(p((function(n,r){return Object(h.a)(e(n,r)).pipe(Object(f.a)((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new m(e))}}var m=function(){function e(t){Object(s.a)(this,e),this.project=t}return Object(u.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new v(e,this.project))}}]),e}(),v=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r){var i;return Object(s.a)(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return Object(u.a)(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new c.a(this,t,n),o=this.destination;o.add(i),this.innerSubscription=Object(d.a)(this,e,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||Object(r.a)(Object(i.a)(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&Object(r.a)(Object(i.a)(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}]),n}(l.a)},f0Cb:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("1OyB"),i=(n("vuIU"),n("8LU1"),n("FKr1")),o=n("fXoL"),a=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)},imports:[[i.j],i.j]}),e}()},fLJh:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return A}));var r=n("1OyB"),i=n("vuIU"),o=n("AcyG"),a=n("3Pt+"),s=n("XNiG"),u=n("pLZG"),l=n("1G5W"),c=n("/uUt"),d=n("Kj3r"),f=n("fXoL"),h=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Update Form Status"}}]),e}(),p=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Update Form Value"}}]),e}(),m=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Update Form"}}]),e}(),v=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Update Form Dirty"}}]),e}(),g=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Set Form Dirty"}}]),e}(),y=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Set Form Pristine"}}]),e}(),b=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Update Form Errors"}}]),e}(),_=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Set Form Disabled"}}]),e}(),w=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Set Form Enabled"}}]),e}(),E=function(){function e(t){Object(r.a)(this,e),this.payload=t}return Object(i.a)(e,null,[{key:"type",get:function(){return"[Forms] Reset Form"}}]),e}(),C=function(){var e=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,[{key:"handle",value:function(e,t,n){var r=Object(o.k)(t),i=e;if(r===p.type||r===m.type||r===E.type){var a=t.payload.value,s=Array.isArray(a)?a.slice():Object.assign({},a),u=this.joinPathWithPropertyPath(t);i=Object(o.p)(i,u,s)}if(r===E.type){var l=Object(o.m)(i,"".concat(t.payload.path,".model"));i=Object(o.p)(i,"".concat(t.payload.path),{model:l})}return r!==h.type&&r!==m.type||(i=Object(o.p)(i,"".concat(t.payload.path,".status"),t.payload.status)),r!==b.type&&r!==m.type||(i=Object(o.p)(i,"".concat(t.payload.path,".errors"),Object.assign({},t.payload.errors))),r!==v.type&&r!==m.type||(i=Object(o.p)(i,"".concat(t.payload.path,".dirty"),t.payload.dirty)),r===g.type&&(i=Object(o.p)(i,"".concat(t.payload,".dirty"),!0)),r===y.type&&(i=Object(o.p)(i,"".concat(t.payload,".dirty"),!1)),r===_.type&&(i=Object(o.p)(i,"".concat(t.payload,".disabled"),!0)),r===w.type&&(i=Object(o.p)(i,"".concat(t.payload,".disabled"),!1)),n(i,t)}},{key:"joinPathWithPropertyPath",value:function(e){var t=e.payload,n="".concat(t.path,".model");return t.propertyPath&&(n+=".".concat(t.propertyPath)),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=f.Ub({token:e,factory:e.\u0275fac}),e}(),A=function(){var e=function(){function e(t,n,i,o){Object(r.a)(this,e),this._actions$=t,this._store=n,this._formGroupDirective=i,this._cd=o,this.path=null,this.debounce=100,this._clearDestroy=!1,this._destroy$=new s.a,this._updating=!1}return Object(i.a)(e,[{key:"ngOnInit",value:function(){var e=this;this._actions$.pipe(Object(o.n)(E),Object(u.a)((function(t){return t.payload.path===e.path})),Object(l.a)(this._destroy$)).subscribe((function(t){e.form.reset(t.payload.value),e.updateFormStateWithRawValue(!0),e._cd.markForCheck()})),this.getStateStream("".concat(this.path,".model")).subscribe((function(t){!e._updating&&t&&(e.form.patchValue(t),e._cd.markForCheck())})),this.getStateStream("".concat(this.path,".dirty")).subscribe((function(t){e.form.dirty!==t&&"boolean"==typeof t&&(t?e.form.markAsDirty():e.form.markAsPristine(),e._cd.markForCheck())})),this._store.selectOnce((function(t){return Object(o.m)(t,e.path)})).subscribe((function(){e._store.dispatch([new p({path:e.path,value:e.form.getRawValue()}),new h({path:e.path,status:e.form.status}),new v({path:e.path,dirty:e.form.dirty})])})),this.getStateStream("".concat(this.path,".disabled")).subscribe((function(t){e.form.disabled!==t&&"boolean"==typeof t&&(t?e.form.disable():e.form.enable(),e._cd.markForCheck())})),this._formGroupDirective.valueChanges.pipe(this.debounceChange()).subscribe((function(){e.updateFormStateWithRawValue()})),this._formGroupDirective.statusChanges.pipe(Object(c.a)(),this.debounceChange()).subscribe((function(t){e._store.dispatch(new h({status:t,path:e.path}))}))}},{key:"updateFormStateWithRawValue",value:function(e){var t=this;if(!this._updating){var n=this._formGroupDirective.control.getRawValue(),r=[new p({path:this.path,value:n}),new v({path:this.path,dirty:this._formGroupDirective.dirty}),new b({path:this.path,errors:this._formGroupDirective.errors})];e&&r.push(new h({path:this.path,status:this._formGroupDirective.status})),this._updating=!0,this._store.dispatch(r).subscribe({error:function(){return t._updating=!1},complete:function(){return t._updating=!1}})}}},{key:"ngOnDestroy",value:function(){this._destroy$.next(),this._destroy$.complete(),this.clearDestroy&&this._store.dispatch(new m({path:this.path,value:null,dirty:null,status:null,errors:null}))}},{key:"debounceChange",value:function(){var e=this;return"change"!==this._formGroupDirective.control.updateOn||this.debounce<0?function(t){return t.pipe(Object(l.a)(e._destroy$))}:function(t){return t.pipe(Object(d.a)(e.debounce),Object(l.a)(e._destroy$))}}},{key:"getStateStream",value:function(e){return this._store.select((function(t){return Object(o.m)(t,e)})).pipe(Object(l.a)(this._destroy$))}},{key:"clearDestroy",set:function(e){this._clearDestroy=null!=e&&"false"!=="".concat(e)},get:function(){return this._clearDestroy}},{key:"form",get:function(){return this._formGroupDirective.form}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.Yb(o.b),f.Yb(o.i),f.Yb(a.h),f.Yb(f.i))},e.\u0275dir=f.Tb({type:e,selectors:[["","ngxsForm",""]],inputs:{path:["ngxsForm","path"],debounce:["ngxsFormDebounce","debounce"],clearDestroy:["ngxsFormClearOnDestroy","clearDestroy"]}}),e}(),k=function(){var e=function(){function e(){Object(r.a)(this,e)}return Object(i.a)(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[{provide:o.d,useClass:C,multi:!0}]}}}]),e}();return e.\u0275mod=f.Wb({type:e}),e.\u0275inj=f.Vb({factory:function(t){return new(t||e)},imports:[[a.t]]}),e}()},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ta})),n.d(t,"b",(function(){return cc})),n.d(t,"c",(function(){return oc})),n.d(t,"d",(function(){return rc})),n.d(t,"e",(function(){return ic})),n.d(t,"f",(function(){return ed})),n.d(t,"g",(function(){return Gc})),n.d(t,"h",(function(){return Ec})),n.d(t,"i",(function(){return Io})),n.d(t,"j",(function(){return wc})),n.d(t,"k",(function(){return Eu})),n.d(t,"l",(function(){return Ma})),n.d(t,"m",(function(){return hc})),n.d(t,"n",(function(){return Cu})),n.d(t,"o",(function(){return Xc})),n.d(t,"p",(function(){return Vn})),n.d(t,"q",(function(){return Fl})),n.d(t,"r",(function(){return le})),n.d(t,"s",(function(){return ue})),n.d(t,"t",(function(){return ca})),n.d(t,"u",(function(){return tc})),n.d(t,"v",(function(){return Yu})),n.d(t,"w",(function(){return Uu})),n.d(t,"x",(function(){return fc})),n.d(t,"y",(function(){return Ae})),n.d(t,"z",(function(){return Kc})),n.d(t,"A",(function(){return Ce})),n.d(t,"B",(function(){return Hc})),n.d(t,"C",(function(){return kc})),n.d(t,"D",(function(){return x})),n.d(t,"E",(function(){return nc})),n.d(t,"F",(function(){return lc})),n.d(t,"G",(function(){return uc})),n.d(t,"H",(function(){return Pl})),n.d(t,"I",(function(){return Da})),n.d(t,"J",(function(){return xu})),n.d(t,"K",(function(){return ku})),n.d(t,"L",(function(){return Su})),n.d(t,"M",(function(){return Ou})),n.d(t,"N",(function(){return Fr})),n.d(t,"O",(function(){return au})),n.d(t,"P",(function(){return O})),n.d(t,"Q",(function(){return Gu})),n.d(t,"R",(function(){return Pc})),n.d(t,"S",(function(){return Lc})),n.d(t,"T",(function(){return Tu})),n.d(t,"U",(function(){return Pa})),n.d(t,"V",(function(){return Ku})),n.d(t,"W",(function(){return Pe})),n.d(t,"X",(function(){return za})),n.d(t,"Y",(function(){return Yc})),n.d(t,"Z",(function(){return ur})),n.d(t,"ab",(function(){return W})),n.d(t,"bb",(function(){return Vc})),n.d(t,"cb",(function(){return ye})),n.d(t,"db",(function(){return sr})),n.d(t,"eb",(function(){return Jc})),n.d(t,"fb",(function(){return Rc})),n.d(t,"gb",(function(){return dc})),n.d(t,"hb",(function(){return Ko})),n.d(t,"ib",(function(){return dl})),n.d(t,"jb",(function(){return Zu})),n.d(t,"kb",(function(){return Or})),n.d(t,"lb",(function(){return Lr})),n.d(t,"mb",(function(){return fr})),n.d(t,"nb",(function(){return Jn})),n.d(t,"ob",(function(){return er})),n.d(t,"pb",(function(){return ir})),n.d(t,"qb",(function(){return nr})),n.d(t,"rb",(function(){return tr})),n.d(t,"sb",(function(){return rr})),n.d(t,"tb",(function(){return sl})),n.d(t,"ub",(function(){return Zc})),n.d(t,"vb",(function(){return ul})),n.d(t,"wb",(function(){return ll})),n.d(t,"xb",(function(){return Qn})),n.d(t,"yb",(function(){return ee})),n.d(t,"zb",(function(){return Ya})),n.d(t,"Ab",(function(){return fs})),n.d(t,"Bb",(function(){return ds})),n.d(t,"Cb",(function(){return Ha})),n.d(t,"Db",(function(){return al})),n.d(t,"Eb",(function(){return rt})),n.d(t,"Fb",(function(){return U})),n.d(t,"Gb",(function(){return Zn})),n.d(t,"Hb",(function(){return tu})),n.d(t,"Ib",(function(){return su})),n.d(t,"Jb",(function(){return yu})),n.d(t,"Kb",(function(){return ai})),n.d(t,"Lb",(function(){return Ka})),n.d(t,"Mb",(function(){return Ls})),n.d(t,"Nb",(function(){return Zs})),n.d(t,"Ob",(function(){return Ps})),n.d(t,"Pb",(function(){return ps})),n.d(t,"Qb",(function(){return Wl})),n.d(t,"Rb",(function(){return Nr})),n.d(t,"Sb",(function(){return je})),n.d(t,"Tb",(function(){return Ve})),n.d(t,"Ub",(function(){return P})),n.d(t,"Vb",(function(){return L})),n.d(t,"Wb",(function(){return ze})),n.d(t,"Xb",(function(){return $e})),n.d(t,"Yb",(function(){return Qa})),n.d(t,"Zb",(function(){return as})),n.d(t,"ac",(function(){return ls})),n.d(t,"bc",(function(){return us})),n.d(t,"cc",(function(){return ss})),n.d(t,"dc",(function(){return os})),n.d(t,"ec",(function(){return is})),n.d(t,"fc",(function(){return cs})),n.d(t,"gc",(function(){return Hn})),n.d(t,"hc",(function(){return Js})),n.d(t,"ic",(function(){return ge})),n.d(t,"jc",(function(){return es})),n.d(t,"kc",(function(){return ec})),n.d(t,"lc",(function(){return ts})),n.d(t,"mc",(function(){return hs})),n.d(t,"nc",(function(){return Kl})),n.d(t,"oc",(function(){return Zt})),n.d(t,"pc",(function(){return Xt})),n.d(t,"qc",(function(){return bs})),n.d(t,"rc",(function(){return kl})),n.d(t,"sc",(function(){return Sl})),n.d(t,"tc",(function(){return xl})),n.d(t,"uc",(function(){return Dl})),n.d(t,"vc",(function(){return Es})),n.d(t,"wc",(function(){return ws})),n.d(t,"xc",(function(){return ns})),n.d(t,"yc",(function(){return Cs})),n.d(t,"zc",(function(){return As})),n.d(t,"Ac",(function(){return vl})),n.d(t,"Bc",(function(){return gl})),n.d(t,"Cc",(function(){return yl})),n.d(t,"Dc",(function(){return bl})),n.d(t,"Ec",(function(){return _l})),n.d(t,"Fc",(function(){return Yl})),n.d(t,"Gc",(function(){return Ja})),n.d(t,"Hc",(function(){return _n})),n.d(t,"Ic",(function(){return bn})),n.d(t,"Jc",(function(){return yn})),n.d(t,"Kc",(function(){return Ct})),n.d(t,"Lc",(function(){return Rr})),n.d(t,"Mc",(function(){return Ir})),n.d(t,"Nc",(function(){return jr})),n.d(t,"Oc",(function(){return Ye})),n.d(t,"Pc",(function(){return Gl})),n.d(t,"Qc",(function(){return Ul})),n.d(t,"Rc",(function(){return Ms})),n.d(t,"Sc",(function(){return Za})),n.d(t,"Tc",(function(){return Ql})),n.d(t,"Uc",(function(){return Ws})),n.d(t,"Vc",(function(){return Gs})),n.d(t,"Wc",(function(){return qs})),n.d(t,"Xc",(function(){return Ks})),n.d(t,"Yc",(function(){return Xs})),n.d(t,"Zc",(function(){return Qs})),n.d(t,"ad",(function(){return Vl}));var r=n("ReuC"),i=n("foSv"),o=n("JX7q"),a=(n("ODXe"),n("KQm4")),s=(n("rePB"),n("T5bk"),n("uFwe")),u=n("Ji7U"),l=n("LK+K"),c=n("1OyB"),d=n("vuIU"),f=n("s4An"),h=n("2WcH");function p(e,t,n){return(p=Object(h.a)()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Object(f.a)(i,n.prototype),i}).apply(null,arguments)}var m=n("quSY"),v=n("XNiG"),g=n("HDdC"),y=n("VRyK"),b=n("w1tV");function _(e){return{toString:e}.toString()}var w="__parameters__",E="__prop__metadata__";function C(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}function A(e,t,n){return _((function(){var r=C(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=p(i,t);return a.annotation=o,a;function a(e,t,n){for(var r=e.hasOwnProperty(w)?e[w]:Object.defineProperty(e,w,{value:[]})[w];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}function k(e,t,n,r){return _((function(){var i=C(t);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof o)return i.apply(this,t),this;var a=p(o,t);function s(e,n){var i=e.constructor,o=i.hasOwnProperty(E)?i[E]:Object.defineProperty(i,E,{value:{}})[E];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(a),r&&r.apply(void 0,[e,n].concat(t))}return s}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}var S=A("Inject",(function(e){return{token:e}})),x=A("Optional"),D=A("Self"),O=A("SkipSelf"),T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function F(e){for(var t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function M(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function L(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function R(e){return B(e,e[I])||B(e,e[z])}function B(e,t){return t&&t.token===e?t:null}function j(e){return e&&(e.hasOwnProperty(N)||e.hasOwnProperty(Y))?e[N]:null}var I=F({"\u0275prov":F}),N=F({"\u0275inj":F}),H=F({"\u0275provFallback":F}),z=F({ngInjectableDef:F}),Y=F({ngInjectorDef:F});function U(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(U).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function V(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var $=F({__forward_ref__:F});function W(e){return e.__forward_ref__=W,e.toString=function(){return U(this())},e}function G(e){return q(e)?e():e}function q(e){return"function"==typeof e&&e.hasOwnProperty($)&&e.__forward_ref__===W}var K,X="undefined"!=typeof globalThis&&globalThis,Z="undefined"!=typeof window&&window,J="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Q="undefined"!=typeof global&&global,ee=X||Q||Z||J,te=F({"\u0275cmp":F}),ne=F({"\u0275dir":F}),re=F({"\u0275pipe":F}),ie=F({"\u0275mod":F}),oe=F({"\u0275loc":F}),ae=F({"\u0275fac":F}),se=F({__NG_ELEMENT_ID__:F}),ue=function(){function e(t,n){Object(c.a)(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=P({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return Object(d.a)(e,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}(),le=new ue("INJECTOR",-1),ce={},de=/\n/gm,fe=F({provide:String,useValue:F}),he=void 0;function pe(e){var t=he;return he=e,t}function me(e){var t=K;return K=e,t}function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.Default;if(void 0===he)throw new Error("inject() must be called from an injection context");return null===he?be(e,void 0,t):he.get(e,t&T.Optional?null:void 0,t)}function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.Default;return(K||ve)(G(e),t)}var ye=ge;function be(e,t,n){var r=R(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&T.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(U(e),"]"))}function _e(e){for(var t=[],n=0;n<e.length;n++){var r=G(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=T.Default,a=0;a<r.length;a++){var s=r[a];s instanceof x||"Optional"===s.ngMetadataName||s===x?o|=T.Optional:s instanceof O||"SkipSelf"===s.ngMetadataName||s===O?o|=T.SkipSelf:s instanceof D||"Self"===s.ngMetadataName||s===D?o|=T.Self:i=s instanceof S||s===S?s.token:s}t.push(ge(i,o))}else t.push(ge(r))}return t}var we=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce;if(t===ce){var n=new Error("NullInjectorError: No provider for ".concat(U(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}();function Ee(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=U(t);if(Array.isArray(t))i=t.map(U).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):U(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(de,"\n  "))}("\n"+e.message,i,n,r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}var Ce=function e(){Object(c.a)(this,e)},Ae=function e(){Object(c.a)(this,e)};function ke(e,t){e.forEach((function(e){return Array.isArray(e)?ke(e,t):t(e)}))}function Se(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function xe(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function De(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function Oe(e,t,n){var r=Fe(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Te(e,t){var n=Fe(e,t);if(n>=0)return e[1|n]}function Fe(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var Me=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),Pe=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Le={},Re=[],Be=0;function je(e){return _((function(){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===Me.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Pe.Emulated,id:"c",styles:e.styles||Re,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return i.id+=Be++,i.inputs=Ue(e.inputs,r),i.outputs=Ue(e.outputs),a&&a.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(Ie)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(Ne)}:null,i}))}function Ie(e){return We(e)||function(e){return e[ne]||null}(e)}function Ne(e){return function(e){return e[re]||null}(e)}var He={};function ze(e){var t={type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&_((function(){He[e.id]=e.type})),t}function Ye(e,t){return _((function(){var n=qe(e,!0);n.declarations=t.declarations||Re,n.imports=t.imports||Re,n.exports=t.exports||Re}))}function Ue(e,t){if(null==e)return Le;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var Ve=je;function $e(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function We(e){return e[te]||null}function Ge(e,t){return e.hasOwnProperty(ae)?e[ae]:null}function qe(e,t){var n=e[ie]||null;if(!n&&!0===t)throw new Error("Type ".concat(U(e)," does not have '\u0275mod' property."));return n}function Ke(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xe(e){return Array.isArray(e)&&!0===e[1]}function Ze(e){return 0!=(8&e.flags)}function Je(e){return 2==(2&e.flags)}function Qe(e){return 1==(1&e.flags)}function et(e){return null!==e.template}function tt(e){return 0!=(512&e[2])}var nt=void 0;function rt(e){nt=e}function it(){return void 0!==nt?nt:"undefined"!=typeof document?document:void 0}function ot(e){return!!e.listen}var at={createRenderer:function(e,t){return it()}};function st(e){for(;Array.isArray(e);)e=e[0];return e}function ut(e,t){return st(t[e+20])}function lt(e,t){return st(t[e.index])}function ct(e,t){return e.data[t+20]}function dt(e,t){return e[t+20]}function ft(e,t){var n=t[e];return Ke(n)?n:n[0]}function ht(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function pt(e){return 4==(4&e[2])}function mt(e){return 128==(128&e[2])}function vt(e,t){return null===e||null==t?null:e[t]}function gt(e){e[18]=0}function yt(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var bt={lFrame:Yt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function _t(){return bt.bindingsEnabled}function wt(){return bt.lFrame.lView}function Et(){return bt.lFrame.tView}function Ct(e){bt.lFrame.contextLView=e}function At(){return bt.lFrame.previousOrParentTNode}function kt(e,t){bt.lFrame.previousOrParentTNode=e,bt.lFrame.isParent=t}function St(){return bt.lFrame.isParent}function xt(){bt.lFrame.isParent=!1}function Dt(){return bt.checkNoChangesMode}function Ot(e){bt.checkNoChangesMode=e}function Tt(){var e=bt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ft(){return bt.lFrame.bindingIndex}function Mt(){return bt.lFrame.bindingIndex++}function Pt(e){var t=bt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Lt(e,t){var n=bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Rt(t)}function Rt(e){bt.lFrame.currentDirectiveIndex=e}function Bt(e){var t=bt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function jt(){return bt.lFrame.currentQueryIndex}function It(e){bt.lFrame.currentQueryIndex=e}function Nt(e,t){var n=zt();bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function Ht(e,t){var n=zt(),r=e[1];bt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function zt(){var e=bt.lFrame,t=null===e?null:e.child;return null===t?Yt(e):t}function Yt(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Ut(){var e=bt.lFrame;return bt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var Vt=Ut;function $t(){var e=Ut();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Wt(e){return(bt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,bt.lFrame.contextLView))[8]}function Gt(){return bt.lFrame.selectedIndex}function qt(e){bt.lFrame.selectedIndex=e}function Kt(){var e=bt.lFrame;return ct(e.tView,e.selectedIndex)}function Xt(){bt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Zt(){bt.lFrame.currentNamespace=null}function Jt(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n];i.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,i.afterContentInit),i.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,i.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i.afterContentChecked)),i.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,i.afterViewInit),i.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,i.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i.afterViewChecked)),null!=i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i.onDestroy)}}function Qt(e,t,n){nn(e,t,3,n)}function en(e,t,n,r){(3&e[2])===n&&nn(e,t,n,r)}function tn(e,t){var n=e[2];(3&n)===t&&(n&=2047,e[2]=n+=1)}function nn(e,t,n,r){for(var i=null!=r?r:-1,o=0,a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(rn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function rn(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var on=function e(t,n,r){Object(c.a)(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function an(e,t,n){for(var r=ot(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var a=n[i++],s=n[i++],u=n[i++];r?e.setAttribute(t,s,u,a):t.setAttributeNS(a,s,u)}else{var l=o,c=n[++i];un(l)?r&&e.setProperty(t,l,c):r?e.setAttribute(t,l,c):t.setAttribute(l,c),i++}}return i}function sn(e){return 3===e||4===e||6===e}function un(e){return 64===e.charCodeAt(0)}function ln(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||cn(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function cn(e,t,n,r,i){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var u=e[o];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function dn(e){return-1!==e}function fn(e){return 32767&e}function hn(e){return e>>16}function pn(e,t){for(var n=hn(e),r=t;n>0;)r=r[15],n--;return r}function mn(e){return"string"==typeof e?e:null==e?"":""+e}function vn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():mn(e)}var gn=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ee)}();function yn(e){return{name:"window",target:e.ownerDocument.defaultView}}function bn(e){return{name:"document",target:e.ownerDocument}}function _n(e){return{name:"body",target:e.ownerDocument.body}}function wn(e){return e instanceof Function?e():e}var En=!0;function Cn(e){var t=En;return En=e,t}var An=0;function kn(e,t){var n=xn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Sn(r.data,e),Sn(t,null),Sn(r.blueprint,null));var i=Dn(e,t),o=e.injectorIndex;if(dn(i))for(var a=fn(i),s=pn(i,t),u=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|u[a+l];return t[o+8]=i,o}function Sn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Dn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function On(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[se]:n.charCodeAt(0)||0;null==r&&(r=n[se]=An++);var i=255&r,o=1<<i,a=64&i,s=32&i,u=t.data;128&i?a?s?u[e+7]|=o:u[e+6]|=o:s?u[e+5]|=o:u[e+4]|=o:a?s?u[e+3]|=o:u[e+2]|=o:s?u[e+1]|=o:u[e]|=o}(e,t,n)}function Tn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:T.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=Rn(n);if("function"==typeof o){Nt(t,e);try{var a=o();if(null!=a||r&T.Optional)return a;throw new Error("No provider for ".concat(vn(n),"!"))}finally{Vt()}}else if("number"==typeof o){if(-1===o)return new In(e,t);var s=null,u=xn(e,t),l=-1,c=r&T.Host?t[16][6]:null;for((-1===u||r&T.SkipSelf)&&(l=-1===u?Dn(e,t):t[u+8],jn(r,!1)?(s=t[1],u=fn(l),t=pn(l,t)):u=-1);-1!==u;){l=t[u+8];var d=t[1];if(Bn(o,u,d.data)){var f=Mn(u,t,n,s,r,c);if(f!==Fn)return f}jn(r,t[1].data[u+8]===c)&&Bn(o,u,t)?(s=d,u=fn(l),t=pn(l,t)):u=-1}}}if(r&T.Optional&&void 0===i&&(i=null),0==(r&(T.Self|T.Host))){var h=t[9],p=me(void 0);try{return h?h.get(n,i,r&T.Optional):be(n,i,r&T.Optional)}finally{me(p)}}if(r&T.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(vn(n),"]"))}var Fn={};function Mn(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],u=Pn(s,a,n,null==r?Je(s)&&En:r!=a&&3===s.type,i&T.Host&&o===s);return null!==u?Ln(t,a,u,s):Fn}function Pn(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,u=e.directiveStart,l=o>>16,c=i?s+l:e.directiveEnd,d=r?s:s+l;d<c;d++){var f=a[d];if(d<u&&n===f||d>=u&&f.type===n)return d}if(i){var h=a[u];if(h&&et(h)&&h.type===n)return u}return null}function Ln(e,t,n,r){var i=e[n],o=t.data;if(i instanceof on){var a=i;if(a.resolving)throw new Error("Circular dep for ".concat(vn(o[n])));var s,u=Cn(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=me(a.injectImpl)),Nt(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,i=t.onInit,o=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&me(s),Cn(u),a.resolving=!1,Vt()}}return i}function Rn(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[se];return"number"==typeof t&&t>0?255&t:t}function Bn(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function jn(e,t){return!(e&T.Self||e&T.Host&&t)}var In=function(){function e(t,n){Object(c.a)(this,e),this._tNode=t,this._lView=n}return Object(d.a)(e,[{key:"get",value:function(e,t){return Tn(this._tNode,this._lView,e,void 0,t)}}]),e}();function Nn(e){var t=e;if(q(e))return function(){var e=Nn(G(t));return e?e():null};var n=Ge(t);if(null===n){var r=j(t);n=r&&r.factory}return n||null}function Hn(e){return _((function(){for(var t=e.prototype.constructor,n=t[ae]||Nn(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[ae]||Nn(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}}))}function zn(e){return e.ngDebugContext}function Yn(e){return e.ngOriginalError}function Un(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var Vn=function(){function e(){Object(c.a)(this,e),this._console=console}return Object(d.a)(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Un}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?zn(e)?zn(e):this._findContext(Yn(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=Yn(e);t&&Yn(t);)t=Yn(t);return t}}]),e}(),$n=function(){function e(t){Object(c.a)(this,e),this.changingThisBreaksApplicationSecurity=t}return Object(d.a)(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see http://g.co/ng/security#xss)"}}]),e}(),Wn=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(d.a)(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}($n),Gn=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(d.a)(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}($n),qn=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(d.a)(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}($n),Kn=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(d.a)(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}($n),Xn=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(d.a)(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}($n);function Zn(e){return e instanceof $n?e.changingThisBreaksApplicationSecurity:e}function Jn(e,t){var n=Qn(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function Qn(e){return e instanceof $n&&e.getTypeName()||null}function er(e){return new Wn(e)}function tr(e){return new Gn(e)}function nr(e){return new qn(e)}function rr(e){return new Kn(e)}function ir(e){return new Xn(e)}var or=!0,ar=!1;function sr(){return ar=!0,or}function ur(){if(ar)throw new Error("Cannot enable prod mode after platform setup.");or=!1}var lr=function(){function e(t){Object(c.a)(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var n=this.inertDocument.body;if(null==n){var r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r),n=this.inertDocument.createElement("body"),r.appendChild(n)}n.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!n.querySelector||n.querySelector("svg")?(n.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return Object(d.a)(e,[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),cr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,dr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function fr(e){return(e=String(e)).match(cr)||e.match(dr)?e:(sr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function hr(e){var t,n={},r=Object(s.a)(e.split(","));try{for(r.s();!(t=r.n()).done;)n[t.value]=!0}catch(i){r.e(i)}finally{r.f()}return n}function pr(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var mr,vr=hr("area,br,col,hr,img,wbr"),gr=hr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yr=hr("rp,rt"),br=pr(yr,gr),_r=pr(vr,pr(gr,hr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),pr(yr,hr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),br),wr=hr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Er=hr("srcset"),Cr=pr(wr,Er,hr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),hr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Ar=hr("script,style,template"),kr=function(){function e(){Object(c.a)(this,e),this.sanitizedSomething=!1,this.buf=[]}return Object(d.a)(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t,n=e.nodeName.toLowerCase();if(!_r.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ar.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,i=0;i<r.length;i++){var o=r.item(i),a=o.name,s=a.toLowerCase();if(Cr.hasOwnProperty(s)){var u=o.value;wr[s]&&(u=fr(u)),Er[s]&&(t=u,u=(t=String(t)).split(",").map((function(e){return fr(e.trim())})).join(", ")),this.buf.push(" ",a,'="',Dr(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();_r.hasOwnProperty(t)&&!vr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(Dr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),Sr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xr=/([^\#-~ |!])/g;function Dr(e){return e.replace(/&/g,"&amp;").replace(Sr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(xr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Or(e,t){var n=null;try{mr=mr||new lr(e);var r=t?String(t):"";n=mr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=mr.getInertBodyElement(r)}while(r!==o);var a=new kr,s=a.sanitizeChildren(Tr(n)||n);return sr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=Tr(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function Tr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Fr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Mr=new RegExp("^(".concat("[-,.\"'%_!# a-zA-Z0-9]+","|")+"(?:".concat("(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?","|").concat("(?:rgb|hsl)a?","|").concat("(?:repeating-)?(?:linear|radial)-gradient","|").concat("(?:attr|calc|var)",")")+"".concat("\\([-0-9.%, #a-zA-Z]+\\)",")$"),"g"),Pr=/^url\(([^)]+)\)$/;function Lr(e){if(!(e=String(e).trim()))return"";var t=e.match(Pr);return t&&fr(t[1])===t[1]||e.match(Mr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(sr()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function Rr(e){var t=Hr();return t?t.sanitize(Fr.HTML,e)||"":Jn(e,"HTML")?Zn(e):Or(it(),mn(e))}function Br(e){var t=Hr();return t?t.sanitize(Fr.STYLE,e)||"":Jn(e,"Style")?Zn(e):Lr(mn(e))}function jr(e){var t=Hr();return t?t.sanitize(Fr.URL,e)||"":Jn(e,"URL")?Zn(e):fr(mn(e))}function Ir(e){var t=Hr();if(t)return t.sanitize(Fr.RESOURCE_URL,e)||"";if(Jn(e,"ResourceURL"))return Zn(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var Nr=function(e,t,n){if(void 0===t&&void 0===n)return Br(e);var r=!0;return 1&(n=n||3)&&(r=function(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}(e)),2&n?r?Br(t):Zn(t):r};function Hr(){var e=wt();return e&&e[12]}function zr(e,t){e.__ngContext__=t}function Yr(e){throw new Error("Multiple components match node with tagname ".concat(e.tagName))}function Ur(){throw new Error("Cannot mix multi providers and regular providers")}function Vr(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function $r(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==Vr((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Wr(e){return 0===e.type&&"ng-template"!==e.tagName}function Gr(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function qr(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(sn(e[t]))return t;return e.length}(i),a=!1,s=0;s<t.length;s++){var u=t[s];if("number"!=typeof u){if(!a)if(4&r){if(r=2|1&r,""!==u&&!Gr(e,u,n)||""===u&&1===t.length){if(Kr(r))return!1;a=!0}}else{var l=8&r?u:t[++s];if(8&r&&null!==e.attrs){if(!$r(e.attrs,l,n)){if(Kr(r))return!1;a=!0}continue}var c=Xr(8&r?"class":u,i,Wr(e),n);if(-1===c){if(Kr(r))return!1;a=!0;continue}if(""!==l){var d;d=c>o?"":i[c+1].toLowerCase();var f=8&r?d:null;if(f&&-1!==Vr(f,l,0)||2&r&&l!==d){if(Kr(r))return!1;a=!0}}}}else{if(!a&&!Kr(r)&&!Kr(u))return!1;if(a&&Kr(u))continue;a=!1,r=u|1&r}}return Kr(r)||a}function Kr(e){return 0==(1&e)}function Xr(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Zr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(qr(e,t[r],n))return!0;return!1}function Jr(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Qr(e,t){return e?":not("+t.trim()+")":t}function ei(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&r){var s=e[++n];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||Kr(a)||(t+=Qr(o,i),i=""),r=a,o=o||!Kr(r);n++}return""!==i&&(t+=Qr(o,i)),t}var ti={};function ni(e){var t=e[3];return Xe(t)?t[3]:t}function ri(e){return oi(e[13])}function ii(e){return oi(e[4])}function oi(e){for(;null!==e&&!Xe(e);)e=e[4];return e}function ai(e){si(Et(),wt(),Gt()+e,Dt())}function si(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&Qt(t,i,n)}else{var o=e.preOrderHooks;null!==o&&en(t,o,0,n)}qt(n)}function ui(e,t){return e<<17|t<<2}function li(e){return e>>17&32767}function ci(e){return 2|e}function di(e){return(131068&e)>>2}function fi(e,t){return-131069&e|t<<2}function hi(e){return 1|e}function pi(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r+1];if(-1!==i){var o=e.data[i];It(n[r]),o.contentQueries(2,t[i],i)}}}function mi(e,t,n){return ot(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function vi(e,t,n,r,i,o,a,s,u,l){var c=t.blueprint.slice();return c[0]=i,c[2]=140|r,gt(c),c[3]=c[15]=e,c[8]=n,c[10]=a||e&&e[10],c[11]=s||e&&e[11],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=o,c[16]=2==t.type?e[16]:c,c}function gi(e,t,n,r,i,o){var a=n+20,s=e.data[a]||function(e,t,n,r,i,o){var a=At(),s=St(),u=s?a:a&&a.parent,l=e.data[n]=xi(0,u&&u!==t?u:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=l),a&&(!s||null!=a.child||null===l.parent&&2!==a.type?s||(a.next=l):a.child=l),l}(e,t,a,r,i,o);return kt(s,!0),s}function yi(e,t,n){Ht(t,t[6]);try{var r=e.viewQuery;null!==r&&Ki(1,r,n);var i=e.template;null!==i&&wi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&pi(e,t),e.staticViewQueries&&Ki(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)Vi(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,$t()}}function bi(e,t,n,r){var i=t[2];if(256!=(256&i)){Ht(t,t[6]);var o=Dt();try{gt(t),bt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&wi(e,t,n,2,r);var a=3==(3&i);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&Qt(t,s,null)}else{var u=e.preOrderHooks;null!==u&&en(t,u,0,null),tn(t,0)}if(function(e){for(var t=ri(e);null!==t;t=ii(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r];0==(1024&i[2])&&yt(i[3],1),i[2]|=1024}}(t),function(e){for(var t=ri(e);null!==t;t=ii(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];mt(r)&&bi(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&pi(e,t),!o)if(a){var l=e.contentCheckHooks;null!==l&&Qt(t,l)}else{var c=e.contentHooks;null!==c&&en(t,c,1),tn(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var r=e.expandoStartIndex,i=-1,o=0;o<n.length;o++){var a=n[o];"number"==typeof a?a<=0?(qt(0-a),i=r+=9+n[++o]):r+=a:(null!==a&&(Lt(r,i),a(2,t[i])),i++)}}finally{qt(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)Ui(e,t[n])}(t,d);var f=e.viewQuery;if(null!==f&&Ki(2,f,r),!o)if(a){var h=e.viewCheckHooks;null!==h&&Qt(t,h)}else{var p=e.viewHooks;null!==p&&en(t,p,2),tn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,yt(t[3],-1))}finally{$t()}}}function _i(e,t,n,r){var i=t[10],o=!Dt(),a=pt(t);try{o&&!a&&i.begin&&i.begin(),a&&yi(e,t,r),bi(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function wi(e,t,n,r,i){var o=Gt();try{qt(-1),2&r&&t.length>20&&si(e,t,0,Dt()),n(r,i)}finally{qt(o)}}function Ei(e,t,n){if(Ze(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function Ci(e,t,n){_t()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||kn(n,t),zr(r,t);for(var a=n.initialInputs,s=i;s<o;s++){var u=e.data[s],l=et(u);l&&Ni(t,n,u);var c=Ln(t,e,s,n);zr(c,t),null!==a&&Hi(0,s-i,c,u,0,a),l&&(ft(n.index,t)[8]=c)}}(e,t,n,lt(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstCreatePass,s=n.index-20,u=bt.lFrame.currentDirectiveIndex;try{qt(s);for(var l=r;l<i;l++){var c=e.data[l],d=t[l];Rt(l),null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs?Pi(c,d):a&&o.push(null)}}finally{qt(-1),Rt(u)}}(e,t,n))}function Ai(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:lt,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}function ki(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Si(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Si(e,t,n,r,i,o,a,s,u,l){var c=20+r,d=c+i,f=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:ti);return n}(c,d);return f[1]={type:e,id:t,blueprint:f,template:n,queries:null,viewQuery:s,node:null,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:u,consts:l,incompleteFirstPass:!1}}function xi(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Di(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Oi(e,t,n,r,i,o,a,s){var u,l=lt(t,n),c=t.inputs;!s&&null!=c&&(u=c[r])?(to(e,n,u,r,i),Je(t)&&function(e,t){var n=ft(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.tagName||"",r):i,ot(o)?o.setProperty(l,r,i):un(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Ti(e,t,n,r){var i=!1;if(_t()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];Zr(n,a.selectors,!1)&&(i||(i=[]),On(kn(n,t),e,a.type),et(a)?(2&n.flags&&Yr(n),Ri(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==o){var s=0;i=!0,ji(n,e.data.length,o.length);for(var u=0;u<o.length;u++){var l=o[u];l.providersResolver&&l.providersResolver(l)}Li(e,n,o.length);for(var c=!1,d=!1,f=0;f<o.length;f++){var h=o[f];n.mergedAttrs=ln(n.mergedAttrs,h.hostAttrs),Ii(e,t,h),Bi(e.data.length-1,h,a),null!==h.contentQueries&&(n.flags|=8),null===h.hostBindings&&null===h.hostAttrs&&0===h.hostVars||(n.flags|=128),!c&&(h.onChanges||h.onInit||h.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),c=!0),d||!h.onChanges&&!h.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),d=!0),Fi(e,h),s+=h.hostVars}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],a=null,s=null,u=t.directiveStart;u<n;u++){var l=r[u],c=l.inputs,d=null===i||Wr(t)?null:zi(c,i);o.push(d),a=Di(c,u,a),s=Di(l.outputs,u,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n),Mi(e,t,s)}a&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Error("Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,a)}return n.mergedAttrs=ln(n.mergedAttrs,n.attrs),i}function Fi(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Mi(e,t,n){for(var r=0;r<n;r++)t.push(ti),e.blueprint.push(ti),e.data.push(null)}function Pi(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Li(e,t,n){var r=20-t.index,i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Ri(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Bi(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;et(t)&&(n[""]=e)}}function ji(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ii(e,t,n){e.data.push(n);var r=n.factory||(n.factory=Ge(n.type)),i=new on(r,et(n),null);e.blueprint.push(i),t.push(i)}function Ni(e,t,n){var r=lt(t,e),i=ki(n),o=e[10],a=$i(e,vi(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=a}function Hi(e,t,n,r,i,o){var a=o[t];if(null!==a)for(var s=r.setInput,u=0;u<a.length;){var l=a[u++],c=a[u++],d=a[u++];null!==s?r.setInput(n,d,l,c):n[c]=d}}function zi(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Yi(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Ui(e,t){var n=ft(t,e);if(mt(n)){var r=n[1];80&n[2]?bi(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=ri(t);null!==n;n=ii(n))for(var r=10;r<n.length;r++){var i=n[r];if(1024&i[2]){var o=i[1];bi(o,i,o.template,i[8])}else i[5]>0&&e(i)}var a=t[1].components;if(null!==a)for(var s=0;s<a.length;s++){var u=ft(a[s],t);mt(u)&&u[5]>0&&e(u)}}(n)}}function Vi(e,t){var n=ft(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),yi(r,n,n[8])}function $i(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Wi(e){for(;e;){e[2]|=64;var t=ni(e);if(tt(e)&&!t)return e;e=t}return null}function Gi(e,t,n){var r=t[10];r.begin&&r.begin();try{bi(e,t,e.template,n)}catch(i){throw eo(t,i),i}finally{r.end&&r.end()}}function qi(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=ht(n),i=r[1];_i(i,r,i.template,n)}}(e[8])}function Ki(e,t,n){It(0),t(e,n)}var Xi=function(){return Promise.resolve(null)}();function Zi(e){return e[7]||(e[7]=[])}function Ji(e){return e.cleanup||(e.cleanup=[])}function Qi(e,t,n){return(null===e||et(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function eo(e,t){var n=e[9],r=n?n.get(Vn,null):null;r&&r.handleError(t)}function to(e,t,n,r,i){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],u=t[a],l=e.data[a];null!==l.setInput?l.setInput(u,i,r,s):u[s]=i}}function no(e,t,n){var r=ut(t,e),i=e[11];ot(i)?i.setValue(r,n):r.textContent=n}function ro(e,t){var n=t[3];return-1===e.index?Xe(n)?n:null:n}function io(e,t){var n=ro(e,t);return n?yo(t[11],n[7]):null}function oo(e,t,n,r,i){if(null!=r){var o,a=!1;Xe(r)?o=r:Ke(r)&&(a=!0,r=r[0]);var s=st(r);0===e&&null!==n?null==i?vo(t,n,s):mo(t,n,s,i||null):1===e&&null!==n?mo(t,n,s,i||null):2===e?function(e,t,n){var r=yo(e,t);r&&function(e,t,n,r){ot(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){var o=n[7];o!==st(n)&&oo(t,e,r,o,i);for(var a=10;a<n.length;a++){var s=n[a];Co(s[1],s,e,t,r,o)}}(t,e,o,n,i)}}function ao(e,t){return ot(t)?t.createText(e):t.createTextNode(e)}function so(e,t,n,r){var i=io(e.node,t);i&&Co(e,t,t[11],n?1:2,i,r)}function uo(e,t){var n=e[9],r=n.indexOf(t);1024&t[2]&&yt(t[3],-1),n.splice(r,1)}function lo(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&uo(i,r),t>0&&(e[n-1][4]=r[4]);var o=xe(e,10+t);so(r[1],r,!1,null);var a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function co(e,t){if(!(256&t[2])){var n=t[11];ot(n)&&n.destroyNode&&Co(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return ho(e[1],e);for(;t;){var n=null;if(Ke(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Ke(t)&&ho(t[1],t),t=fo(t,e);null===t&&(t=e),Ke(t)&&ho(t[1],t),n=t&&t[4]}t=n}}(t)}}function fo(e,t){var n;return Ke(e)&&(n=e[6])&&2===n.type?ro(n,e):e[3]===t?null:e[3]}function ho(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof on)){var o=n[r+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2)o[a+1].call(i[o[a]]);else o.call(i)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],a="function"==typeof o?o(t):st(t[o]),s=n[i+3];"boolean"==typeof s?a.removeEventListener(n[i],r[n[i+2]],s):s>=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&ot(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&Xe(t[3])){r!==t[3]&&uo(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function po(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?io(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return lt(t,n).parentNode;if(2&r.flags){var o=e.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==Pe.ShadowDom&&a!==Pe.Native)return null}return lt(r,n)}function mo(e,t,n,r){ot(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function vo(e,t,n){ot(e)?e.appendChild(t,n):t.appendChild(n)}function go(e,t,n,r){null!==r?mo(e,t,n,r):vo(e,t,n)}function yo(e,t){return ot(e)?e.parentNode(t):t.parentNode}function bo(e,t){if(2===e.type){var n=ro(e,t);return null===n?null:wo(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?lt(e,t):null}function _o(e,t,n,r){var i=po(e,r,t);if(null!=i){var o=t[11],a=bo(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)go(o,i,n[s],a);else go(o,i,n,a)}}function wo(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return function e(t,n){if(null!==n){var r=n.type;if(3===r)return lt(n,t);if(0===r)return wo(-1,t[n.index]);if(4===r||5===r){var i=n.child;if(null!==i)return e(t,i);var o=t[n.index];return Xe(o)?wo(-1,o):st(o)}var a=t[16],s=a[6],u=ni(a),l=s.projection[n.projection];return null!=l?e(u,l):e(t,n.next)}return null}(r,i)}return t[7]}function Eo(e,t,n,r,i,o,a){for(;null!=n;){var s=r[n.index],u=n.type;a&&0===t&&(s&&zr(st(s),r),n.flags|=4),64!=(64&n.flags)&&(4===u||5===u?(Eo(e,t,n.child,r,i,o,!1),oo(t,e,i,s,o)):1===u?ko(e,t,r,n,i,o):oo(t,e,i,s,o)),n=a?n.projectionNext:n.next}}function Co(e,t,n,r,i,o){Eo(n,r,e.node.child,t,i,o,!1)}function Ao(e,t,n){ko(t[11],0,t,n,po(e,n,t),bo(n.parent||t[6],t))}function ko(e,t,n,r,i,o){var a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(var u=0;u<s.length;u++)oo(t,e,i,s[u],o);else Eo(e,t,s,a[3],i,o,!0)}function So(e,t,n){ot(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function xo(e,t,n){ot(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var Do,Oo,To,Fo=function(){function e(t,n){Object(c.a)(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return Object(d.a)(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}co(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,r;t=this._lView[1],r=e,Zi(n=this._lView).push(r),t.firstCreatePass&&Ji(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){Wi(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Gi(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Ot(!0);try{Gi(e,t,n)}finally{Ot(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Co(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var s=n[r.index];if(null!==s&&i.push(st(s)),Xe(s))for(var u=10;u<s.length;u++){var l=s[u],c=l[1].firstChild;null!==c&&e(l[1],l,c,i)}var d=r.type;if(4===d||5===d)e(t,n,r.child,i);else if(1===d){var f=n[16],h=f[6],p=r.projection,m=h.projection[p];if(Array.isArray(m))i.push.apply(i,Object(a.a)(m));else{var v=ni(f);e(v[1],v,m,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),Mo=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this,e))._view=e,r}return Object(d.a)(n,[{key:"detectChanges",value:function(){qi(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Ot(!0);try{qi(e)}finally{Ot(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Fo);function Po(e,t,n){return Do||(Do=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return n}(e)),new Do(lt(t,n))}function Lo(e,t,n,r){return Oo||(Oo=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,r,i){var o;return Object(c.a)(this,n),(o=t.call(this))._declarationView=e,o._declarationTContainer=r,o.elementRef=i,o}return Object(d.a)(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=vi(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),yi(t,n,e),new Fo(n)}}]),n}(e)),0===n.type?new Oo(r,n,Po(t,n,r)):null}function Ro(e,t,n,r){var i;To||(To=function(e){Object(u.a)(r,e);var n=Object(l.a)(r);function r(e,t,i){var o;return Object(c.a)(this,r),(o=n.call(this))._lContainer=e,o._hostTNode=t,o._hostView=i,o}return Object(d.a)(r,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(Ce,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Xe(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new To(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],Se(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,s),so(r,n,!0,wo(s,this._lContainer)),e.attachToViewContainerRef(this),Se(this._lContainer[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=lo(e,t);n&&co(n[1],n)}(this._lContainer,t),xe(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=lo(this._lContainer,t);return n&&null!=xe(this._lContainer[8],t)?new Fo(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Po(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new In(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Dn(this._hostTNode,this._hostView),t=pn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=hn(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return dn(e)&&null!=n?new In(n,t):new In(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var o=r[n.index];if(Xe(o))i=o;else{var a;if(4===n.type)a=st(o);else if(a=r[11].createComment(""),tt(r)){var s=r[11],f=lt(n,r);mo(s,yo(s,f),a,function(e,t){return ot(e)?e.nextSibling(t):t.nextSibling}(s,f))}else _o(r[1],r,a,n);r[n.index]=i=Yi(o,r,a,n),$i(r,i)}return new To(i,n,r)}function Bo(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return jo(At(),wt(),e)}function jo(e,t,n){if(!n&&Je(e)){var r=ft(e.index,t);return new Fo(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Fo(t[16],t):null}var Io=function(){var e=function e(){Object(c.a)(this,e)};return e.__NG_ELEMENT_ID__=function(){return No()},e}(),No=Bo,Ho=Function;function zo(e){return"function"==typeof e}var Yo=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Uo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Vo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,$o=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Wo=function(){function e(t){Object(c.a)(this,e),this._reflect=t||ee.Reflect}return Object(d.a)(e,[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(e,n)}}},{key:"_zipTypesAndAnnotations",value:function(e,t){var n;n=De(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}},{key:"_ownParameters",value:function(e,t){if(n=e.toString(),Yo.test(n)||$o.test(n)||Uo.test(n)&&!Vo.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var i="function"==typeof r?r():r,o=i.map((function(e){return e&&e.type})),a=i.map((function(e){return e&&Go(e.decorators)}));return this._zipTypesAndAnnotations(o,a)}var s=e.hasOwnProperty(w)&&e[w],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return u||s?this._zipTypesAndAnnotations(u,s):De(e.length)}},{key:"parameters",value:function(e){if(!zo(e))return[];var t=qo(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}},{key:"_ownAnnotations",value:function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Go(e.decorators):e.hasOwnProperty("__annotations__")?e.__annotations__:null}},{key:"annotations",value:function(e){if(!zo(e))return[];var t=qo(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}},{key:"_ownPropMetadata",value:function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,i={};return Object.keys(r).forEach((function(e){i[e]=Go(r[e])})),i}return e.hasOwnProperty(E)?e[E]:null}},{key:"propMetadata",value:function(e){if(!zo(e))return{};var t=qo(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach((function(e){n[e]=r[e]}))}var i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach((function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,Object(a.a)(n[e])),t.push.apply(t,Object(a.a)(i[e])),n[e]=t})),n}},{key:"ownPropMetadata",value:function(e){return zo(e)&&this._ownPropMetadata(e,qo(e))||{}}},{key:"hasLifecycleHook",value:function(e,t){return e instanceof Ho&&t in e.prototype}},{key:"guards",value:function(e){return{}}},{key:"getter",value:function(e){return new Function("o","return o."+e+";")}},{key:"setter",value:function(e){return new Function("o","v","return o."+e+" = v;")}},{key:"method",value:function(e){var t="if (!o.".concat(e,") throw new Error('\"").concat(e,"\" is undefined');\n        return o.").concat(e,".apply(o, args);");return new Function("o","args",t)}},{key:"importUri",value:function(e){return"object"==typeof e&&e.filePath?e.filePath:"./".concat(U(e))}},{key:"resourceUri",value:function(e){return"./".concat(U(e))}},{key:"resolveIdentifier",value:function(e,t,n,r){return r}},{key:"resolveEnum",value:function(e,t){return e[t]}}]),e}();function Go(e){return e?e.map((function(e){var t=e.args?e.args:[];return p(e.type.annotationCls,Object(a.a)(t))})):[]}function qo(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var Ko=new ue("Set Injector scope."),Xo={},Zo={},Jo=[],Qo=void 0;function ea(){return void 0===Qo&&(Qo=new we),Qo}function ta(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new na(e,n,t||ea(),r)}var na=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Object(c.a)(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&ke(n,(function(e){return i.processProvider(e,t,n)})),ke([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(le,oa(void 0,this));var s=this.records.get(Ko);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:U(t))}return Object(d.a)(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T.Default;this.assertNotDestroyed();var r=pe(this);try{if(!(n&T.SkipSelf)){var i=this.records.get(e);if(void 0===i){var o=ua(e)&&R(e);i=o&&this.injectableDefInScope(o)?oa(ra(e),Xo):null,this.records.set(e,i)}if(null!=i)return this.hydrate(e,i)}var a=n&T.Self?ea():this.parent;return a.get(e,t=n&T.Optional&&t===ce?null:t)}catch(u){if("NullInjectorError"===u.name){var s=u.ngTempTokenPath=u.ngTempTokenPath||[];if(s.unshift(U(e)),r)throw u;return Ee(u,e,"R3InjectorError",this.source)}throw u}finally{pe(r)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(U(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=G(e)))return!1;var i=j(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=j(o)),null==i)return!1;if(null!=i.imports&&!s){var u;n.push(a);try{ke(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))}))}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,i=t.providers;ke(i,(function(e){return r.processProvider(e,n,i||Jo)}))},c=0;c<u.length;c++)l(c)}this.injectorDefTypes.add(a),this.records.set(a,oa(i.factory,Xo));var d=i.providers;if(null!=d&&!s){var f=e;ke(d,(function(e){return r.processProvider(e,f,d)}))}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=sa(e=G(e))?e:G(e&&e.provide),i=function(e,t,n){return aa(e)?oa(void 0,e.useValue):oa(ia(e,t,n),Xo)}(e,t,n);if(sa(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&Ur()}else{var a=this.records.get(r);a?void 0===a.multi&&Ur():((a=oa(void 0,Xo,!0)).factory=function(){return _e(a.multi)},this.records.set(r,a)),r=e,a.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===Zo?function(e){throw new Error("Cannot instantiate cyclic dependency! ".concat(e))}(U(e)):t.value===Xo&&(t.value=Zo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function ra(e){var t=R(e),n=null!==t?t.factory:Ge(e);if(null!==n)return n;var r=j(e);if(null!==r)return r.factory;if(e instanceof ue)throw new Error("Token ".concat(U(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=De(t,"?");throw new Error("Can't resolve all parameters for ".concat(U(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[I]||e[z]||e[H]&&e[H]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in v10. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ia(e,t,n){var r,i=void 0;if(sa(e)){var o=G(e);return Ge(o)||ra(o)}if(aa(e))i=function(){return G(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,Object(a.a)(_e(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return ge(G(e.useExisting))};else{var s=G(e&&(e.useClass||e.provide));if(s||function(e,t,n){var r="";if(e&&t){var i=t.map((function(e){return e==n?"?"+n+"?":"..."}));r=" - only instances of Provider and Type are allowed, got: [".concat(i.join(", "),"]")}throw new Error("Invalid provider for the NgModule '".concat(U(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return Ge(s)||ra(s);i=function(){return p(s,Object(a.a)(_e(e.deps)))}}return i}function oa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function aa(e){return null!==e&&"object"==typeof e&&fe in e}function sa(e){return"function"==typeof e}function ua(e){return"function"==typeof e||"object"==typeof e&&e instanceof ue}var la=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=ta(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},ca=function(){var e=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?la(e,t,""):la(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=ce,e.NULL=new we,e.\u0275prov=P({token:e,providedIn:"any",factory:function(){return ge(le)}}),e.__NG_ELEMENT_ID__=-1,e}();function da(e){return e.length>1?" ("+function(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map((function(e){return U(e.token)})).join(" -> ")+")":""}function fa(e,t,n,r){var i=[t],o=n(i),a=r?function(e,t){var n="".concat(e," caused by: ").concat(t instanceof Error?t.message:t),r=Error(n);return r.ngOriginalError=t,r}(o,r):Error(o);return a.addKey=ha,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a.ngOriginalError=r,a}function ha(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function pa(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r];n.push(o&&0!=o.length?o.map(U).join(" "):"?")}return Error("Cannot resolve all parameters for '"+U(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+U(e)+"' is decorated with Injectable.")}var ma=function(){function e(t,n){if(Object(c.a)(this,e),this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=U(this.token)}return Object(d.a)(e,null,[{key:"get",value:function(e){return va.get(G(e))}},{key:"numberOfKeys",get:function(){return va.numberOfKeys}}]),e}(),va=new(function(){function e(){Object(c.a)(this,e),this._allKeys=new Map}return Object(d.a)(e,[{key:"get",value:function(e){if(e instanceof ma)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new ma(e,ma.numberOfKeys);return this._allKeys.set(e,t),t}},{key:"numberOfKeys",get:function(){return this._allKeys.size}}]),e}()),ga=new(function(){function e(t){Object(c.a)(this,e),this.reflectionCapabilities=t}return Object(d.a)(e,[{key:"updateCapabilities",value:function(e){this.reflectionCapabilities=e}},{key:"factory",value:function(e){return this.reflectionCapabilities.factory(e)}},{key:"parameters",value:function(e){return this.reflectionCapabilities.parameters(e)}},{key:"annotations",value:function(e){return this.reflectionCapabilities.annotations(e)}},{key:"propMetadata",value:function(e){return this.reflectionCapabilities.propMetadata(e)}},{key:"hasLifecycleHook",value:function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}},{key:"getter",value:function(e){return this.reflectionCapabilities.getter(e)}},{key:"setter",value:function(e){return this.reflectionCapabilities.setter(e)}},{key:"method",value:function(e){return this.reflectionCapabilities.method(e)}},{key:"importUri",value:function(e){return this.reflectionCapabilities.importUri(e)}},{key:"resourceUri",value:function(e){return this.reflectionCapabilities.resourceUri(e)}},{key:"resolveIdentifier",value:function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)}},{key:"resolveEnum",value:function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}]),e}())(new Wo),ya=function(){function e(t,n,r){Object(c.a)(this,e),this.key=t,this.optional=n,this.visibility=r}return Object(d.a)(e,null,[{key:"fromKey",value:function(t){return new e(t,!1,null)}}]),e}(),ba=[],_a=function e(t,n,r){Object(c.a)(this,e),this.key=t,this.resolvedFactories=n,this.multiProvider=r,this.resolvedFactory=this.resolvedFactories[0]},wa=function e(t,n){Object(c.a)(this,e),this.factory=t,this.dependencies=n};function Ea(e){var t,n;if(e.useClass){var r=G(e.useClass);t=ga.factory(r),n=Aa(r)}else e.useExisting?(t=function(e){return e},n=[ya.fromKey(ma.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){var n=t.map((function(e){return[e]}));return t.map((function(t){return ka(e,t,n)}))}return Aa(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=ba);return new wa(t,n)}function Ca(e){return new _a(ma.get(e.provide),[Ea(e)],e.multi||!1)}function Aa(e){var t=ga.parameters(e);if(!t)return[];if(t.some((function(e){return null==e})))throw pa(e,t);return t.map((function(n){return ka(e,n,t)}))}function ka(e,t,n){var r=null,i=!1;if(!Array.isArray(t))return Sa(t instanceof S?t.token:t,i,null);for(var o=null,a=0;a<t.length;++a){var s=t[a];s instanceof Ho?r=s:s instanceof S?r=s.token:s instanceof x?i=!0:s instanceof D||s instanceof O?o=s:s instanceof ue&&(r=s)}if(null!=(r=G(r)))return Sa(r,i,o);throw pa(e,n)}function Sa(e,t,n){return new ya(ma.get(e),t,n)}var xa={},Da=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,null,[{key:"resolve",value:function(e){return function(e){var t=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw s=r,Error("Cannot mix multi providers and regular providers, got: ".concat(i," ").concat(s));if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else t.set(r.key.id,r)}else{var a;a=r.multiProvider?new _a(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}var s;return t}(function e(t,n){return t.forEach((function(t){if(t instanceof Ho)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!Array.isArray(t))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: ".concat(t));e(t,n)}})),n}(e,[]).map(Ca),new Map);return Array.from(t.values())}(e)}},{key:"resolveAndCreate",value:function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)}},{key:"fromResolvedProviders",value:function(e,t){return new Oa(e,t)}}]),e}(),Oa=function(){var e=function(){function e(t,n){Object(c.a)(this,e),this._constructionCounter=0,this._providers=t,this.parent=n||null;var r=t.length;this.keyIds=[],this.objs=[];for(var i=0;i<r;i++)this.keyIds[i]=t[i].key.id,this.objs[i]=xa}return Object(d.a)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce;return this._getByKey(ma.get(e),null,t)}},{key:"resolveAndCreateChild",value:function(e){var t=Da.resolve(e);return this.createChildFromResolved(t)}},{key:"createChildFromResolved",value:function(t){var n=new e(t);return n.parent=this,n}},{key:"resolveAndInstantiate",value:function(e){return this.instantiateResolved(Da.resolve([e])[0])}},{key:"instantiateResolved",value:function(e){return this._instantiateProvider(e)}},{key:"getProviderAtIndex",value:function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index ".concat(e," is out-of-bounds."))}(e);return this._providers[e]}},{key:"_new",value:function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw fa(this,e.key,(function(e){return"Cannot instantiate cyclic dependency!".concat(da(e))}));return this._instantiateProvider(e)}},{key:"_getMaxNumberOfObjects",value:function(){return this.objs.length}},{key:"_instantiateProvider",value:function(e){if(e.multiProvider){for(var t=[],n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}},{key:"_instantiate",value:function(e,t){var n,r,i,o=this,s=t.factory;try{n=t.dependencies.map((function(e){return o._getByReflectiveDependency(e)}))}catch(u){throw u.addKey&&u.addKey(this,e.key),u}try{r=s.apply(void 0,Object(a.a)(n))}catch(u){throw fa(this,e.key,(function(e){var t=U(e[0].token);return"".concat(i.message,": Error during instantiation of ").concat(t,"!").concat(da(e),".")}),i=u)}return r}},{key:"_getByReflectiveDependency",value:function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ce)}},{key:"_getByKey",value:function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof D?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)}},{key:"_getObjByKeyId",value:function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===xa&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return xa}},{key:"_throwOrNull",value:function(e,t){if(t!==ce)return t;throw function(e,t){return fa(e,t,(function(e){var t=U(e[0].token);return"No provider for ".concat(t,"!").concat(da(e))}))}(this,e)}},{key:"_getByKeySelf",value:function(e,t){var n=this._getObjByKeyId(e.id);return n!==xa?n:this._throwOrNull(e,t)}},{key:"_getByKeyDefault",value:function(t,n,r){var i;for(i=r instanceof O?this.parent:this;i instanceof e;){var o=i,a=o._getObjByKeyId(t.id);if(a!==xa)return a;i=o.parent}return null!==i?i.get(t.token,n):this._throwOrNull(t,n)}},{key:"toString",value:function(){return this.displayName}},{key:"displayName",get:function(){var e=function(e,t){for(var n=[],r=0;r<e._providers.length;++r)n[r]=' "'+e.getProviderAtIndex(r).key.displayName+'" ';return n}(this).join(", ");return"ReflectiveInjector(providers: [".concat(e,"])")}}]),e}();return e.INJECTOR_KEY=ma.get(ca),e}(),Ta=new ue("AnalyzeForEntryComponents"),Fa=function e(){Object(c.a)(this,e)},Ma=k("ContentChild",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)}),Fa),Pa=k("ViewChild",(function(e,t){return Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)}),Fa),La=new Map,Ra=new Set;function Ba(e){return"string"==typeof e?e:e.text()}function ja(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?i=V(i,s):2==o&&(r=V(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var Ia=null;function Na(){if(!Ia){var e=ee.Symbol;if(e&&e.iterator)Ia=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ia=r)}}return Ia}function Ha(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var za=function(){function e(t){Object(c.a)(this,e),this.wrapped=t}return Object(d.a)(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function Ya(e){return!!Ua(e)&&(Array.isArray(e)||!(e instanceof Map)&&Na()in e)}function Ua(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Va(e,t,n){return e[t]=n}function $a(e,t){return e[t]}function Wa(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ga(e,t,n,r){var i=Wa(e,t,n);return Wa(e,t+1,r)||i}function qa(e,t,n,r,i){var o=Ga(e,t,n,r);return Wa(e,t+2,i)||o}function Ka(e,t,n,r){var i=wt();return Wa(i,Mt(),t)&&(Et(),function(e,t,n,r,i,o){var a=lt(e,t),s=t[11];if(null==r)ot(s)?s.removeAttribute(a,n,o):a.removeAttribute(n);else{var u=null==i?mn(r):i(r,e.tagName||"",n);ot(s)?s.setAttribute(a,n,u,o):o?a.setAttributeNS(o,n,u):a.setAttribute(n,u)}}(Kt(),i,e,t,n,r)),Ka}function Xa(e,t,n,r){return Wa(e,Mt(),n)?t+mn(n)+r:ti}function Za(e,t,n,r,i,o,a,s){var u=wt(),l=Et(),c=e+20,d=l.firstCreatePass?function(e,t,n,r,i,o,a,s,u){var l=t.consts,c=gi(t,n[6],e,0,a||null,vt(l,s));Ti(t,n,c,vt(l,u)),Jt(t,c);var d=c.tViews=Si(2,-1,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),f=xi(0,null,2,-1,null,null);return f.injectorIndex=c.injectorIndex,d.node=f,null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(e,l,u,t,n,r,i,o,a):l.data[c];kt(d,!1);var f=u[11].createComment("");_o(l,u,f,d),zr(f,u),$i(u,u[c]=Yi(f,u,f,d)),Qe(d)&&Ci(l,u,d),null!=a&&Ai(u,d,s)}function Ja(e){return dt(bt.lFrame.contextLView,e)}function Qa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.Default,n=wt();if(null==n)return ge(e,t);var r=At();return Tn(r,n,G(e),t)}function es(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(sn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}(At(),e)}function ts(){throw new Error("invalid")}function ns(e,t,n){var r=wt();return Wa(r,Mt(),t)&&Oi(Et(),Kt(),r,e,t,r[11],n,!1),ns}function rs(e,t,n,r,i){var o=i?"class":"style";to(e,n,t.inputs[o],o,r)}function is(e,t,n,r){var i=wt(),o=Et(),a=20+e,s=i[11],u=i[a]=mi(t,s,bt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,u=vt(s,o),l=gi(t,n[6],e,3,i,u);return Ti(t,n,l,vt(s,a)),null!==l.attrs&&ja(l,l.attrs,!1),null!==l.mergedAttrs&&ja(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,o,i,0,t,n,r):o.data[a];kt(l,!0);var c=l.mergedAttrs;null!==c&&an(s,u,c);var d=l.classes;null!==d&&xo(s,u,d);var f=l.styles;null!==f&&So(s,u,f),_o(o,i,u,l),0===bt.lFrame.elementDepthCount&&zr(u,i),bt.lFrame.elementDepthCount++,Qe(l)&&(Ci(o,i,l),Ei(o,l,i)),null!==r&&Ai(i,l)}function os(){var e=At();St()?xt():kt(e=e.parent,!1);var t=e;bt.lFrame.elementDepthCount--;var n=Et();n.firstCreatePass&&(Jt(n,e),Ze(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&rs(n,t,wt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&rs(n,t,wt(),t.stylesWithoutHost,!1)}function as(e,t,n,r){is(e,t,n,r),os()}function ss(e,t,n){var r=wt(),i=Et(),o=e+20,a=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,a=vt(o,r),s=gi(t,n[6],e,4,"ng-container",a);return null!==a&&ja(s,a,!0),Ti(t,n,s,vt(o,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,i,r,t,n):i.data[o];kt(a,!0);var s=r[o]=r[11].createComment("");_o(i,r,s,a),zr(s,r),Qe(a)&&(Ci(i,r,a),Ei(i,a,r)),null!=n&&Ai(r,a)}function us(){var e=At(),t=Et();St()?xt():kt(e=e.parent,!1),t.firstCreatePass&&(Jt(t,e),Ze(e)&&t.queries.elementEnd(e))}function ls(e,t,n){ss(e,t,n),us()}function cs(){return wt()}function ds(e){return!!e&&"function"==typeof e.then}function fs(e){return!!e&&"function"==typeof e.subscribe}function hs(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=wt(),o=Et(),a=At();return vs(o,i,i[11],a,e,t,n,r),hs}function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=At(),o=wt(),a=Et(),s=Bt(a.data),u=Qi(s,i,o);return vs(a,o,u,i,e,t,n,r),ps}function ms(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var a=i[o];if(a===n&&i[o+1]===r){var s=t[7],u=i[o+2];return s.length>u?s[u]:null}"string"==typeof a&&(o+=2)}return null}function vs(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,u=Qe(r),l=e.firstCreatePass,c=l&&(e.cleanup||(e.cleanup=[])),d=Zi(t),f=!0;if(3===r.type){var h=lt(r,t),p=s?s(h):Le,m=p.target||h,v=d.length,g=s?function(e){return s(st(e[r.index])).target}:r.index;if(ot(n)){var y=null;if(!s&&u&&(y=ms(e,t,i,r.index)),null!==y){var b=y.__ngLastListenerFn__||y;b.__ngNextListenerFn__=o,y.__ngLastListenerFn__=o,f=!1}else{o=ys(r,t,o,!1);var _=n.listen(p.name||m,i,o);d.push(o,_),c&&c.push(i,g,v,v+1)}}else o=ys(r,t,o,!0),m.addEventListener(i,o,a),d.push(o),c&&c.push(i,g,v,a)}var w,E=r.outputs;if(f&&null!==E&&(w=E[i])){var C=w.length;if(C)for(var A=0;A<C;A+=2){var k=w[A],S=w[A+1],x=t[k],D=x[S],O=D.subscribe(o),T=d.length;d.push(o,O),c&&c.push(i,r.index,T,-(T+1))}}}function gs(e,t,n){try{return!1!==t(n)}catch(r){return eo(e,r),!1}}function ys(e,t,n,r){return function i(o){if(o===Function)return n;var a=2&e.flags?ft(e.index,t):t;0==(32&t[2])&&Wi(a);for(var s=gs(t,n,o),u=i.__ngNextListenerFn__;u;)s=gs(t,u,o)&&s,u=u.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function bs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Wt(e)}function _s(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?Zr(e,o,!0):Jr(r,o))return i}else n=i}return n}function ws(e){var t=wt()[16][6];if(!t.projection)for(var n=t.projection=De(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?_s(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function Es(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=wt(),i=Et(),o=gi(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),xt(),Ao(i,r,o)}function Cs(e,t,n){return As(e,"",t,"",n),Cs}function As(e,t,n,r,i){var o=wt(),a=Xa(o,t,n,r);return a!==ti&&Oi(Et(),Kt(),o,e,a,o[11],i,!1),As}var ks=[];function Ss(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?li(o):di(o),u=!1;0!==s&&(!1===u||a);){var l=e[s+1];xs(e[s],t)&&(u=!0,e[s+1]=r?hi(l):ci(l)),s=r?li(l):di(l)}u&&(e[n+1]=r?ci(o):hi(o))}function xs(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Fe(e,t)>=0}var Ds={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Os(e){return e.substring(Ds.key,Ds.keyEnd)}function Ts(e,t){var n=Ds.textEnd;return n===t?-1:(t=Ds.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ds.key=t,n),Fs(e,t,n))}function Fs(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ms(e,t,n){return Bs(e,t,n,!1),Ms}function Ps(e,t){return Bs(e,t,null,!0),Ps}function Ls(e){js(Oe,Rs,e,!0)}function Rs(e,t){for(var n=function(e){return function(e){Ds.key=0,Ds.keyEnd=0,Ds.value=0,Ds.valueEnd=0,Ds.textEnd=e.length}(e),Ts(e,Fs(e,0,Ds.textEnd))}(t);n>=0;n=Ts(t,n))Oe(e,Os(t),!0)}function Bs(e,t,n,r){var i,o,a=wt(),s=Et(),u=Pt(2);s.firstUpdatePass&&Ns(s,e,u,r),t!==ti&&Wa(a,u,t)&&(null==n&&(i=null===(o=bt.lFrame)?null:o.currentSanitizer)&&(n=i),Ys(s,s.data[Gt()+20],a,a[11],e,a[u+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=U(Zn(e)))),e}(t,n),r,u))}function js(e,t,n,r){var i=Et(),o=Pt(2);i.firstUpdatePass&&Ns(i,null,o,r);var a=wt();if(n!==ti&&Wa(a,o,n)){var s=i.data[Gt()+20];if($s(s,r)&&!Is(i,o)){var u=r?s.classesWithoutHost:s.stylesWithoutHost;null!==u&&(n=V(u,n||"")),rs(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===ti&&(i=ks);for(var u=0,l=0,c=0<i.length?i[0]:null,d=0<o.length?o[0]:null;null!==c||null!==d;){var f=u<i.length?i[u+1]:void 0,h=l<o.length?o[l+1]:void 0,p=null,m=void 0;c===d?(u+=2,l+=2,f!==h&&(p=d,m=h)):null===d||null!==c&&c<d?(u+=2,p=c):(l+=2,p=d,m=h),null!==p&&Ys(e,t,n,r,p,m,a,s),c=u<i.length?i[u]:null,d=l<o.length?o[l]:null}}(i,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return ks;var r=[],i=Zn(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function Is(e,t){return t>=e.expandoStartIndex}function Ns(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[Gt()+20],a=Is(e,n);$s(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=Bt(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=zs(n=Hs(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Hs(i,e,t,n,r),null===o){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==di(r))return e[li(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[li(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=zs(s=Hs(null,e,t,s[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=zs(r,e[o].hostAttrs,n);return zs(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var a=o?t.classBindings:t.styleBindings,s=li(a),u=di(a);e[r]=n;var l,c=!1;if(Array.isArray(n)?(null===(l=n[1])||Fe(n,l)>0)&&(c=!0):l=n,i)if(0!==u){var d=li(e[s+1]);e[r+1]=ui(d,s),0!==d&&(e[d+1]=fi(e[d+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=ui(s,0),0!==s&&(e[s+1]=fi(e[s+1],r)),s=r;else e[r+1]=ui(u,0),0===s?s=r:e[u+1]=fi(e[u+1],r),u=r;c&&(e[r+1]=ci(e[r+1])),Ss(e,l,r,!0),Ss(e,l,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Fe(o,t)>=0&&(n[r+1]=hi(n[r+1]))}(t,l,e,r,o),a=ui(s,u),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function Hs(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=zs(r,(o=t[s]).hostAttrs,i),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function zs(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Oe(e,a,!!n||t[++o]))}return void 0===e?null:e}function Ys(e,t,n,r,i,o,a,s){if(3===t.type){var u=e.data,l=u[s+1];Vs(1==(1&l)?Us(u,t,n,i,di(l),a):void 0)||(Vs(o)||function(e){return 2==(2&e)}(l)&&(o=Us(u,null,n,i,s,a)),function(e,t,n,r,i){var o=ot(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var a=-1==r.indexOf("-")?void 0:2;null==i?o?e.removeStyle(n,r,a):n.style.removeProperty(r):o?e.setStyle(n,r,i,a):n.style.setProperty(r,i)}}(r,a,ut(Gt(),n),i,o))}}function Us(e,t,n,r,i,o){for(var a=null===t,s=void 0;i>0;){var u=e[i],l=Array.isArray(u),c=l?u[1]:u,d=null===c,f=n[i+1];f===ti&&(f=d?ks:void 0);var h=d?Te(f,r):c===r?f:void 0;if(l&&!Vs(h)&&(h=Te(u,r)),Vs(h)&&(s=h,a))return s;var p=e[i+1];i=a?li(p):di(p)}if(null!==t){var m=o?t.residualClasses:t.residualStyles;null!=m&&(s=Te(m,r))}return s}function Vs(e){return void 0!==e}function $s(e,t){return 0!=(e.flags&(t?16:32))}function Ws(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=wt(),r=Et(),i=e+20,o=r.firstCreatePass?gi(r,n[6],e,3,null,null):r.data[i],a=n[i]=ao(t,n[11]);_o(r,n,a,o),kt(o,!1)}function Gs(e){return qs("",e,""),Gs}function qs(e,t,n){var r=wt(),i=Xa(r,e,t,n);return i!==ti&&no(r,Gt(),i),qs}function Ks(e,t,n,r,i){var o=wt(),a=function(e,t,n,r,i,o){var a=Ga(e,Ft(),n,i);return Pt(2),a?t+mn(n)+r+mn(i)+o:ti}(o,e,t,n,r,i);return a!==ti&&no(o,Gt(),a),Ks}function Xs(e,t,n,r,i,o,a){var s=wt(),u=function(e,t,n,r,i,o,a,s){var u=qa(e,Ft(),n,i,a);return Pt(3),u?t+mn(n)+r+mn(i)+o+mn(a)+s:ti}(s,e,t,n,r,i,o,a);return u!==ti&&no(s,Gt(),u),Xs}function Zs(e,t,n){js(Oe,Rs,Xa(wt(),e,t,n),!0)}function Js(e,t,n){var r=wt();return Wa(r,Mt(),t)&&Oi(Et(),Kt(),r,e,t,r[11],n,!0),Js}function Qs(e,t,n){var r=wt();if(Wa(r,Mt(),t)){var i=Et(),o=Kt();Oi(i,o,r,e,t,Qi(Bt(i.data),o,r),n,!0)}return Qs}function eu(e,t){var n=ht(e)[1],r=n.data.length-1;Jt(n,{directiveStart:r,directiveEnd:r+1})}function tu(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(et(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=nu(e.inputs),o.declaredInputs=nu(e.declaredInputs),o.outputs=nu(e.outputs);var a=i.hostBindings;a&&ou(e,a);var s=i.viewQuery,u=i.contentQueries;if(s&&ru(e,s),u&&iu(e,u),M(e.inputs,i.inputs),M(e.declaredInputs,i.declaredInputs),M(e.outputs,i.outputs),et(i)&&i.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=e.afterContentInit||i.afterContentInit,o.afterViewChecked=e.afterViewChecked||i.afterViewChecked,o.afterViewInit=e.afterViewInit||i.afterViewInit,o.doCheck=e.doCheck||i.doCheck,o.onDestroy=e.onDestroy||i.onDestroy,o.onInit=e.onInit||i.onInit}var c=i.features;if(c)for(var d=0;d<c.length;d++){var f=c[d];f&&f.ngInherit&&f(e),f===tu&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=ln(i.hostAttrs,n=ln(n,i.hostAttrs))}}(r)}function nu(e){return e===Le?{}:e===Re?[]:e}function ru(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function iu(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function ou(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var au=function(){function e(t,n,r){Object(c.a)(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return Object(d.a)(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function su(e){e.type.prototype.ngOnChanges&&(e.setInput=uu,e.onChanges=function(){var e=lu(this),t=e&&e.current;if(t){var n=e.previous;if(n===Le)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function uu(e,t,n,r){var i=lu(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Le,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],u=a[s];o[s]=new au(u&&u.currentValue,t,a===Le),e[r]=t}function lu(e){return e.__ngSimpleChanges__||null}function cu(e,t,n){var r=Et();if(r.firstCreatePass){var i=et(e);du(n,r.data,r.blueprint,i,!0),du(t,r.data,r.blueprint,i,!1)}}function du(e,t,n,r,i){if(e=G(e),Array.isArray(e))for(var o=0;o<e.length;o++)du(e[o],t,n,r,i);else{var a=Et(),s=wt(),u=sa(e)?e:G(e.provide),l=ia(e),c=At(),d=65535&c.providerIndexes,f=c.directiveStart,h=c.providerIndexes>>16;if(sa(e)||!e.multi){var p=new on(l,i,Qa),m=pu(u,t,i?d:d+h,f);-1===m?(On(kn(c,s),a,u),fu(a,e,t.length),t.push(u),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var v=pu(u,t,d+h,f),g=pu(u,t,d,d+h),y=g>=0&&n[g];if(i&&!y||!i&&!(v>=0&&n[v])){On(kn(c,s),a,u);var b=function(e,t,n,r,i){var o=new on(e,n,Qa);return o.multi=[],o.index=t,o.componentProviders=0,hu(o,i,r&&!n),o}(i?vu:mu,n.length,i,r,l);!i&&y&&(n[g].providerFactory=b),fu(a,e,t.length,0),t.push(u),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(b),s.push(b)}else fu(a,e,v>-1?v:g,hu(n[i?g:v],l,!i&&r));!i&&r&&y&&n[g].componentProviders++}}}function fu(e,t,n,r){var i=sa(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function hu(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function pu(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function mu(e,t,n,r){return gu(this.multi,[])}function vu(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=Ln(n,n[1],this.providerFactory.index,r);gu(o,i=s.slice(0,a));for(var u=a;u<s.length;u++)i.push(s[u])}else gu(o,i=[]);return i}function gu(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function yu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return cu(n,r?r(e):e,t)}}}su.ngInherit=!0;var bu=function e(){Object(c.a)(this,e)},_u=function e(){Object(c.a)(this,e)},wu=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(U(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Eu=function(){var e=function e(){Object(c.a)(this,e)};return e.NULL=new wu,e}(),Cu=function(){var e=function e(t){Object(c.a)(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Au(e)},e}(),Au=function(e){return Po(e,At(),wt())},ku=function e(){Object(c.a)(this,e)},Su=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),xu=function(){var e=function e(){Object(c.a)(this,e)};return e.__NG_ELEMENT_ID__=function(){return Du()},e}(),Du=function(){var e=wt(),t=ft(At().index,e);return function(e){var t=e[11];if(ot(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ke(t)?t:e)},Ou=function(){var e=function e(){Object(c.a)(this,e)};return e.\u0275prov=P({token:e,providedIn:"root",factory:function(){return null}}),e}(),Tu=function e(t){Object(c.a)(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Fu=new Tu("9.1.12"),Mu=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"supports",value:function(e){return Ya(e)}},{key:"create",value:function(e){return new Lu(e)}}]),e}(),Pu=function(e,t){return t},Lu=function(){function e(t){Object(c.a)(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Pu}return Object(d.a)(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<Iu(n,r,i)?t:n,a=Iu(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var u=a-r,l=s-r;if(u!=l){for(var c=0;c<u;c++){var d=c<i.length?i[c]:i[c]=0,f=d+c;l<=f&&f<u&&(i[c]=d+1)}i[o.previousIndex]=l-u}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Ya(e))throw new Error("Error trying to diff '".concat(U(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)i=this._trackByFn(s,r=e[s]),null!==o&&Ha(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Ha(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[Na()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&Ha(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),Ha(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),a=!0),o=o._next,n++})),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Ha(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ha(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new Ru(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new ju),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ju),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),Ru=function e(t,n){Object(c.a)(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Bu=function(){function e(){Object(c.a)(this,e),this._head=null,this._tail=null}return Object(d.a)(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Ha(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),ju=function(){function e(){Object(c.a)(this,e),this.map=new Map}return Object(d.a)(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Bu,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function Iu(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var Nu=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"supports",value:function(e){return e instanceof Map||Ua(e)}},{key:"create",value:function(){return new Hu}}]),e}(),Hu=function(){function e(){Object(c.a)(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object(d.a)(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Ua(e)))throw new Error("Error trying to diff '".concat(U(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new zu(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){Ha(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),zu=function e(t){Object(c.a)(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Yu=function(){var e=function(){function e(t){Object(c.a)(this,e),this.factories=t}return Object(d.a)(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new O,new x]]}}}]),e}();return e.\u0275prov=P({token:e,providedIn:"root",factory:function(){return new e([new Mu])}}),e}(),Uu=function(){var e=function(){function e(t){Object(c.a)(this,e),this.factories=t}return Object(d.a)(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new O,new x]]}}}]),e}();return e.\u0275prov=P({token:e,providedIn:"root",factory:function(){return new e([new Nu])}}),e}(),Vu=[new Nu],$u=new Yu([new Mu]),Wu=new Uu(Vu),Gu=function(){var e=function e(){Object(c.a)(this,e)};return e.__NG_ELEMENT_ID__=function(){return qu(e,Cu)},e}(),qu=function(e,t){return Lo(e,t,At(),wt())},Ku=function(){var e=function e(){Object(c.a)(this,e)};return e.__NG_ELEMENT_ID__=function(){return Xu(e,Cu)},e}(),Xu=function(e,t){return Ro(e,t,At(),wt())},Zu={},Ju=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this)).ngModule=e,r}return Object(d.a)(n,[{key:"resolveComponentFactory",value:function(e){var t=We(e);return new tl(t,this.ngModule)}}]),n}(Eu);function Qu(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var el=new ue("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return gn}}),tl=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,r){var i;return Object(c.a)(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(ei).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return Object(d.a)(n,[{key:"create",value:function(e,t,n,r){var i,o,a=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,Zu,i);return o!==Zu||r===Zu?o:t.get(n,r,i)}}}(e,r.injector):e,s=a.get(ku,at),u=a.get(Ou,null),l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(ot(e))return e.selectRootElement(t,n===Pe.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):mi(c,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),f=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),p={components:[],scheduler:gn,clean:Xi,playerHandler:null,flags:0},m=Si(0,-1,null,1,0,null,null,null,null,null),v=vi(null,m,p,f,null,null,s,l,u,a);Ht(v,null);try{var g=function(e,t,n,r,i,o){var a=n[1];n[20]=e;var s=gi(a,null,0,3,null,null),u=s.mergedAttrs=t.hostAttrs;null!==u&&(ja(s,u,!0),null!==e&&(an(i,e,u),null!==s.classes&&xo(i,e,s.classes),null!==s.styles&&So(i,e,s.styles)));var l=r.createRenderer(e,t),c=vi(n,ki(t),null,t.onPush?64:16,n[20],s,r,l,void 0);return a.firstCreatePass&&(On(kn(s,n),a,t.type),Ri(a,s),ji(s,n.length,1)),$i(n,c),n[20]=c}(d,this.componentDef,v,s,l);if(d)if(n)an(l,d,["ng-version",Fu.full]);else{var y=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!Kr(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),b=y.attrs,_=y.classes;b&&an(l,d,b),_&&_.length>0&&xo(l,d,_.join(" "))}if(o=ct(m,0),void 0!==t)for(var w=o.projection=[],E=0;E<this.ngContentSelectors.length;E++){var C=t[E];w.push(null!=C?Array.from(C):null)}i=function(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=At();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Li(e,r,1),Ii(e,t,n));var i=Ln(t,e,t.length-1,r);zr(i,t);var o=lt(r,t);return o&&zr(o,t),i}(o,n,t);r.components.push(a),e[8]=a,i&&i.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=At();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){qt(s.index-20);var u=n[1];Fi(u,t),Mi(u,n,t.hostVars),Pi(t,a)}return a}(g,this.componentDef,v,p,[eu]),yi(m,v,null)}finally{$t()}var A=new nl(this.componentType,i,Po(Cu,o,v),v,o);return n&&!h||(m.node.child=o),A}},{key:"inputs",get:function(){return Qu(this.componentDef.inputs)}},{key:"outputs",get:function(){return Qu(this.componentDef.outputs)}}]),n}(_u),nl=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,r,i,o,a){var s,u,l,d;return Object(c.a)(this,n),(s=t.call(this)).location=i,s._rootLView=o,s._tNode=a,s.destroyCbs=[],s.instance=r,s.hostView=s.changeDetectorRef=new Mo(o),l=o,null==(d=(u=o[1]).node)&&(u.node=d=xi(0,null,2,-1,null,null)),l[6]=d,s.componentType=e,s}return Object(d.a)(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new In(this._tNode,this._rootLView)}}]),n}(bu),rl=void 0,il=["en",[["a","p"],["AM","PM"],rl],[["AM","PM"],rl,rl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],rl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],rl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",rl,"{1} 'at' {0}",rl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],ol={};function al(e,t,n){"string"!=typeof t&&(n=t,t=e[dl.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ol[t]=e,n&&(ol[t][dl.ExtraData]=n)}function sl(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=cl(t);if(n)return n;var r=t.split("-")[0];if(n=cl(r))return n;if("en"===r)return il;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function ul(e){return sl(e)[dl.CurrencyCode]||null}function ll(e){return sl(e)[dl.PluralCase]}function cl(e){return e in ol||(ol[e]=ee.ng&&ee.ng.common&&ee.ng.common.locales&&ee.ng.common.locales[e]),ol[e]}var dl=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();function fl(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+" [Expected=> ".concat(null," ").concat("!="," ").concat(t," <=Actual]"))}(n,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var hl=new Map,pl=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,r){var i;Object(c.a)(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=Object(o.a)(i),i.destroyCbs=[],i.componentFactoryResolver=new Ju(Object(o.a)(i));var a=qe(e),s=e[oe]||null;return s&&fl(s),i._bootstrapComponents=wn(a.bootstrap),i._r3Injector=ta(e,r,[{provide:Ce,useValue:Object(o.a)(i)},{provide:Eu,useValue:i.componentFactoryResolver}],U(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return Object(d.a)(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ca.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T.Default;return e===ca||e===Ce||e===le?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(Ce),ml=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(c.a)(this,n),(r=t.call(this)).moduleType=e,null!==qe(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(U(t)," vs ").concat(U(t.name)))})(n,hl.get(n),t),hl.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),r}return Object(d.a)(n,[{key:"create",value:function(e){return new pl(this.moduleType,e)}}]),n}(Ae);function vl(e,t,n){var r=Tt()+e,i=wt();return i[r]===ti?Va(i,r,n?t.call(n):t()):$a(i,r)}function gl(e,t,n,r){return El(wt(),Tt(),e,t,n,r)}function yl(e,t,n,r,i){return Cl(wt(),Tt(),e,t,n,r,i)}function bl(e,t,n,r,i,o){return Al(wt(),Tt(),e,t,n,r,i,o)}function _l(e,t,n,r,i,o,a,s){var u=Tt()+e,l=wt(),c=function(e,t,n,r,i,o){var a=Ga(e,t,n,r);return Ga(e,t+2,i,o)||a}(l,u,n,r,i,o);return Wa(l,u+4,a)||c?Va(l,u+5,s?t.call(s,n,r,i,o,a):t(n,r,i,o,a)):$a(l,u+5)}function wl(e,t){var n=e[t];return n===ti?void 0:n}function El(e,t,n,r,i,o){var a=t+n;return Wa(e,a,i)?Va(e,a+1,o?r.call(o,i):r(i)):wl(e,a+1)}function Cl(e,t,n,r,i,o,a){var s=t+n;return Ga(e,s,i,o)?Va(e,s+2,a?r.call(a,i,o):r(i,o)):wl(e,s+2)}function Al(e,t,n,r,i,o,a,s){var u=t+n;return qa(e,u,i,o,a)?Va(e,u+3,s?r.call(s,i,o,a):r(i,o,a)):wl(e,u+3)}function kl(e,t){var n,r=Et(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=Ge(n.type)),a=me(Qa),s=Cn(!1),u=o();return Cn(s),me(a),function(e,t,n,r){var i=n+20;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}(r,wt(),e,u),u}function Sl(e,t,n){var r=wt(),i=dt(r,e);return Tl(r,Ol(r,e)?El(r,Tt(),t,i.transform,n,i):i.transform(n))}function xl(e,t,n,r){var i=wt(),o=dt(i,e);return Tl(i,Ol(i,e)?Cl(i,Tt(),t,o.transform,n,r,o):o.transform(n,r))}function Dl(e,t,n,r,i){var o=wt(),a=dt(o,e);return Tl(o,Ol(o,e)?Al(o,Tt(),t,a.transform,n,r,i,a):a.transform(n,r,i))}function Ol(e,t){return e[1].data[t+20].pure}function Tl(e,t){return za.isWrapped(t)&&(t=za.unwrap(t),e[Ft()]=ti),t}var Fl=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(c.a)(this,n),(e=t.call(this)).__isAsync=r,e}return Object(d.a)(n,[{key:"emit",value:function(e){Object(r.a)(Object(i.a)(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,o){var a,s=function(e){return null},u=function(){return null};e&&"object"==typeof e?(a=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(s=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(u=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(a=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(s=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),o&&(u=this.__isAsync?function(){setTimeout((function(){return o()}))}:function(){o()}));var l=Object(r.a)(Object(i.a)(n.prototype),"subscribe",this).call(this,a,s,u);return e instanceof m.a&&e.add(l),l}}]),n}(v.a);function Ml(){return this._results[Na()]()}var Pl=function(){function e(){Object(c.a)(this,e),this.dirty=!0,this._results=[],this.changes=new Fl,this.length=0;var t=Na(),n=e.prototype;n[t]||(n[t]=Ml)}return Object(d.a)(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Ll=function(){function e(t){Object(c.a)(this,e),this.queryList=t,this.matches=null}return Object(d.a)(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Rl=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Object(c.a)(this,e),this.queries=t}return Object(d.a)(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==Jl(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Bl=function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Object(c.a)(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},jl=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Object(c.a)(this,e),this.queries=t}return Object(d.a)(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"track",value:function(e){this.queries.push(e)}},{key:"length",get:function(){return this.queries.length}}]),e}(),Il=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;Object(c.a)(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return Object(d.a)(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,Nl(t,n[r]));else{var i=this.metadata.predicate;i===Gu?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Pn(t,e,i,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Cu||r===Ku||r===Gu&&0===t.type)this.addMatch(t.index,-2);else{var i=Pn(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Nl(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Hl(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Po(Cu,e,t):0===e.type?Lo(Gu,Cu,e,t):null}(t,e):-2===n?function(e,t,n){return n===Cu?Po(Cu,t,e):n===Gu?Lo(Gu,Cu,t,e):n===Ku?Ro(Ku,Cu,t,e):void 0}(e,t,r):Ln(e,e[1],n,t)}function zl(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,a=n.matches,s=[],u=0;u<a.length;u+=2){var l=a[u];s.push(l<0?null:Hl(t,o[l],a[u+1],n.metadata.read))}i.matches=s}return i.matches}function Yl(e){var t=wt(),n=Et(),r=jt();It(r+1);var i=Jl(n,r);if(e.dirty&&pt(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?function e(t,n,r,i){var o=t.queries.getByIndex(r),a=o.matches;if(null!==a)for(var s=zl(t,n,o,r),u=0;u<a.length;u+=2){var l=a[u];if(l>0)i.push(s[u/2]);else{for(var c=a[u+1],d=n[-l],f=10;f<d.length;f++){var h=d[f];h[17]===h[3]&&e(h[1],h,c,i)}if(null!==d[9])for(var p=d[9],m=0;m<p.length;m++){var v=p[m];e(v[1],v,c,i)}}}return i}(n,t,r,[]):zl(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function Ul(e,t,n){$l(Et(),wt(),e,t,n,!0)}function Vl(e,t,n){$l(Et(),wt(),e,t,n,!1)}function $l(e,t,n,r,i,o){e.firstCreatePass&&(Zl(e,new Bl(n,r,o,i),-1),o&&(e.staticViewQueries=!0)),Xl(e,t)}function Wl(e,t,n,r){ql(Et(),wt(),t,n,r,!1,At(),e)}function Gl(e,t,n,r){ql(Et(),wt(),t,n,r,!0,At(),e)}function ql(e,t,n,r,i,o,a,s){e.firstCreatePass&&(Zl(e,new Bl(n,r,o,i),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s),o&&(e.staticContentQueries=!0)),Xl(e,t)}function Kl(){return e=wt(),t=jt(),e[19].queries[t].queryList;var e,t}function Xl(e,t){var n=new Pl;!function(e,t,n,r){var i=Zi(t);i.push(n),e.firstCreatePass&&Ji(e).push(r,i.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Rl),t[19].queries.push(new Ll(n))}function Zl(e,t,n){null===e.queries&&(e.queries=new jl),e.queries.track(new Il(t,n))}function Jl(e,t){return e.queries.getByIndex(t)}function Ql(e,t){return Lo(Gu,Cu,e,t)}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T.Default,t=Bo(!0);if(null!=t||e&T.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var tc=k("Input",(function(e){return{bindingPropertyName:e}})),nc=k("Output",(function(e){return{bindingPropertyName:e}})),rc=new ue("Application Initializer"),ic=function(){var e=function(){function e(t){var n=this;Object(c.a)(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return Object(d.a)(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();ds(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ge(rc,8))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}(),oc=new ue("AppId"),ac={provide:oc,useFactory:function(){return"".concat(sc()).concat(sc()).concat(sc())},deps:[]};function sc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var uc=new ue("Platform Initializer"),lc=new ue("Platform ID"),cc=new ue("appBootstrapListener"),dc=function(){var e=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}(),fc=new ue("LocaleId"),hc=new ue("DefaultCurrencyCode"),pc=function e(t,n){Object(c.a)(this,e),this.ngModuleFactory=t,this.componentFactories=n},mc=function(e){return new ml(e)},vc=mc,gc=function(e){return Promise.resolve(mc(e))},yc=function(e){var t=mc(e),n=wn(qe(e).declarations).reduce((function(e,t){var n=We(t);return n&&e.push(new tl(n)),e}),[]);return new pc(t,n)},bc=yc,_c=function(e){return Promise.resolve(yc(e))},wc=function(){var e=function(){function e(){Object(c.a)(this,e),this.compileModuleSync=vc,this.compileModuleAsync=gc,this.compileModuleAndAllComponentsSync=bc,this.compileModuleAndAllComponentsAsync=_c}return Object(d.a)(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}(),Ec=new ue("compilerOptions"),Cc=function(){return Promise.resolve(0)}();function Ac(e){"undefined"==typeof Zone?Cc.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var kc=function(){function e(t){var n,r,i=t.enableLongStackTrace,o=void 0!==i&&i,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a;if(Object(c.a)(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Fl(!1),this.onMicrotaskEmpty=new Fl(!1),this.onStable=new Fl(!1),this.onError=new Fl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=ee.requestAnimationFrame,t=ee.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,r=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ee,(function(){e.lastRequestAnimationFrameId=-1,Oc(e),Dc(e)})),Oc(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,i,o,a,s){try{return Tc(n),e.invokeTask(i,o,a,s)}finally{r&&"eventTask"===o.type&&r(),Fc(n)}},onInvoke:function(e,t,r,i,o,a,s){try{return Tc(n),e.invoke(r,i,o,a,s)}finally{Fc(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,Oc(n),Dc(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular((function(){return n.onError.emit(i)})),!1}})}return Object(d.a)(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,xc,Sc,Sc);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function Sc(){}var xc={};function Dc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Oc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Tc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fc(e){e._nesting--,Dc(e)}var Mc=function(){function e(){Object(c.a)(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Fl,this.onMicrotaskEmpty=new Fl,this.onStable=new Fl,this.onError=new Fl}return Object(d.a)(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),Pc=function(){var e=function(){function e(t){var n=this;Object(c.a)(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return Object(d.a)(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){kc.assertNotInAngularZone(),Ac((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Ac((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ge(kc))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}(),Lc=function(){var e=function(){function e(){Object(c.a)(this,e),this._applications=new Map,jc.addToWindow(this)}return Object(d.a)(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return jc.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}();function Rc(e){jc=e}var Bc,jc=new(function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Ic=function(e,t,n){var r=e.get(Ec,[]).concat(t),i=new ml(n);if(0===La.size)return Promise.resolve(i);var o,s,u=(o=r.map((function(e){return e.providers})),s=[],o.forEach((function(e){return e&&s.push.apply(s,Object(a.a)(e))})),s);if(0===u.length)return Promise.resolve(i);var l=function(){var e=ee.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),c=ca.create({providers:u}).get(l.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(c.get(e))}(e);n.set(e,t=r.then(Ba))}return t}return La.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),i.push(r(t).then((function(r){a[s+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var u=Promise.all(i).then((function(){return function(e){Ra.delete(e)}(n)}));t.push(u)})),La=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},Nc=new ue("AllowMultipleToken"),Hc=function e(t,n){Object(c.a)(this,e),this.name=t,this.token=n};function zc(e){if(Bc&&!Bc.destroyed&&!Bc.injector.get(Nc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Bc=e.get($c);var t=e.get(uc,null);return t&&t.forEach((function(e){return e()})),Bc}function Yc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(t),i=new ue(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Vc();if(!o||o.injector.get(Nc,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:Ko,useValue:"platform"});zc(ca.create({providers:a,name:r}))}return Uc(i)}}function Uc(e){var t=Vc();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Vc(){return Bc&&!Bc.destroyed?Bc:null}var $c=function(){var e=function(){function e(t){Object(c.a)(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return Object(d.a)(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(r=t&&t.ngZoneEventCoalescing||!1,"noop"===(n=t?t.ngZone:void 0)?new Mc:("zone.js"===n?void 0:n)||new kc({enableLongStackTrace:sr(),shouldCoalesceEventChangeDetection:r})),a=[{provide:kc,useValue:o}];return o.run((function(){var t=ca.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Vn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return qc(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(ic)).runInitializers(),a.donePromise.then((function(){return fl(n.injector.get(fc,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return ds(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Wc({},n);return Ic(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Gc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(U(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ge(ca))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}();function Wc(e,t){return Array.isArray(t)?t.reduce(Wc,e):Object.assign(Object.assign({},e),t)}var Gc=function(){var e=function(){function e(t,n,r,i,o,a){var s=this;Object(c.a)(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=sr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var u=new g.a((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),l=new g.a((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){kc.assertNotInAngularZone(),Ac((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){kc.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(y.a)(u,l.pipe(Object(b.a)()))}return Object(d.a)(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof _u?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(Ce),o=n.create(ca.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(Pc,null);return a&&o.injector.get(Lc).registerApplication(o.location.nativeElement,a),this._loadComponent(o),sr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=Object(s.a)(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(o){n.e(o)}finally{n.f()}if(this._enforceNoNewChanges){var r,i=Object(s.a)(this._views);try{for(i.s();!(r=i.n()).done;)r.value.checkNoChanges()}catch(o){i.e(o)}finally{i.f()}}}catch(a){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(a)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;qc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(cc,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),qc(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(ge(kc),ge(dc),ge(ca),ge(Vn),ge(Eu),ge(ic))},e.\u0275prov=P({token:e,factory:e.\u0275fac}),e}();function qc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Kc=function e(){Object(c.a)(this,e)},Xc=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return n}(function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return n}(Io)),Zc=function(e){return null},Jc=Yc(null,"core",[{provide:lc,useValue:"unknown"},{provide:$c,deps:[ca]},{provide:Lc,deps:[]},{provide:dc,deps:[]}]),Qc=[{provide:Gc,useClass:Gc,deps:[kc,dc,ca,Vn,Eu,ic]},{provide:el,deps:[kc],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:ic,useClass:ic,deps:[[new x,rc]]},{provide:wc,useClass:wc,deps:[]},ac,{provide:Yu,useFactory:function(){return $u},deps:[]},{provide:Uu,useFactory:function(){return Wu},deps:[]},{provide:fc,useFactory:function(e){return fl(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new S(fc),new x,new O]]},{provide:hc,useValue:"USD"}],ed=function(){var e=function e(t){Object(c.a)(this,e)};return e.\u0275mod=ze({type:e}),e.\u0275inj=L({factory:function(t){return new(t||e)(ge(Gc))},providers:Qc}),e}()},foSv:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},fqbi:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("//cU"),i=n("lqow"),o=n("O4wp"),a=function(){function e(e,t,n,r){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=Object(o.h)({},n||{}),this._options=Object(o.h)({},r||{}),this._definition=e.matcher.find(t,this._options.relative)}return e.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},e.prototype.identifier=function(){return this._identifier},e.prototype.params=function(){return this._params},e.prototype.$state=function(){return this._definition},e.prototype.state=function(){return this._definition&&this._definition.self},e.prototype.options=function(){return this._options},e.prototype.exists=function(){return!(!this._definition||!this._definition.self)},e.prototype.valid=function(){return!this.error()},e.prototype.error=function(){var e=this.options().relative;if(!this._definition&&e){var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"}return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'"},e.prototype.toString=function(){return"'"+this.name()+"'"+Object(i.k)(this.params())},e.prototype.withState=function(t){return new e(this._stateRegistry,t,this._params,this._options)},e.prototype.withParams=function(t,n){void 0===n&&(n=!1);var r=n?t:Object(o.h)({},this._params,t);return new e(this._stateRegistry,this._identifier,r,this._options)},e.prototype.withOptions=function(t,n){void 0===n&&(n=!1);var r=n?t:Object(o.h)({},this._options,t);return new e(this._stateRegistry,this._identifier,this._params,r)},e.isDef=function(e){return e&&e.state&&(Object(r.l)(e.state)||Object(r.i)(e.state)&&Object(r.l)(e.state.name))},e}()},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},gfTr:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return m}));var r=n("vuIU"),i=n("1OyB"),o=n("fXoL"),a=n("PqYM"),s=n("ofXK"),u=["fileSelector"];function l(e,t){if(1&e&&(o.ec(0,"div",8),o.Uc(1),o.dc()),2&e){var n=o.qc(2);o.Kb(1),o.Vc(n.dropZoneLabel)}}function c(e,t){if(1&e){var n=o.fc();o.ec(0,"div"),o.ec(1,"input",9),o.mc("click",(function(e){return o.Kc(n),o.qc(2).openFileSelector(e)})),o.dc(),o.dc()}if(2&e){var r=o.qc(2);o.Kb(1),o.yc("value",r.browseBtnLabel),o.xc("className",r.browseBtnClassName)}}function d(e,t){if(1&e&&(o.Sc(0,l,2,1,"div",6),o.Sc(1,c,2,2,"div",7)),2&e){var n=o.qc();o.xc("ngIf",n.dropZoneLabel),o.Kb(1),o.xc("ngIf",n.showBrowseBtn)}}function f(e,t){}var h=function(e){return{openFileSelector:e}},p=function e(t,n){Object(i.a)(this,e),this.relativePath=t,this.fileEntry=n},m=function(){var e=function e(t){Object(i.a)(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.Q))},e.\u0275dir=o.Tb({type:e,selectors:[["","ngx-file-drop-content-tmp",""]]}),e}(),v=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},g=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},y=function(){var e=function(){function e(t,n){var r=this;Object(i.a)(this,e),this.zone=t,this.renderer=n,this.accept="*",this.directory=!1,this.multiple=!0,this.dropZoneLabel="",this.dropZoneClassName="ngx-file-drop__drop-zone",this.useDragEnter=!1,this.contentClassName="ngx-file-drop__content",this.showBrowseBtn=!1,this.browseBtnClassName="btn btn-primary btn-xs ngx-file-drop__browse-btn",this.browseBtnLabel="Browse files",this.onFileDrop=new o.q,this.onFileOver=new o.q,this.onFileLeave=new o.q,this.isDraggingOverDropZone=!1,this.globalDraggingInProgress=!1,this.files=[],this.numOfActiveReadEntries=0,this.helperFormEl=null,this.fileInputPlaceholderEl=null,this.dropEventTimerSubscription=null,this._disabled=!1,this.openFileSelector=function(e){r.fileSelector&&r.fileSelector.nativeElement&&r.fileSelector.nativeElement.click()},this.globalDragStartListener=this.renderer.listen("document","dragstart",(function(e){r.globalDraggingInProgress=!0})),this.globalDragEndListener=this.renderer.listen("document","dragend",(function(e){r.globalDraggingInProgress=!1}))}return Object(r.a)(e,[{key:"ngOnDestroy",value:function(){this.dropEventTimerSubscription&&(this.dropEventTimerSubscription.unsubscribe(),this.dropEventTimerSubscription=null),this.globalDragStartListener(),this.globalDragEndListener(),this.files=[],this.helperFormEl=null,this.fileInputPlaceholderEl=null}},{key:"onDragOver",value:function(e){this.useDragEnter?this.preventAndStop(e):this.isDropzoneDisabled()||this.useDragEnter||(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(e)),this.preventAndStop(e))}},{key:"onDragEnter",value:function(e){!this.isDropzoneDisabled()&&this.useDragEnter&&(this.isDraggingOverDropZone||(this.isDraggingOverDropZone=!0,this.onFileOver.emit(e)),this.preventAndStop(e))}},{key:"onDragLeave",value:function(e){this.isDropzoneDisabled()||(this.isDraggingOverDropZone&&(this.isDraggingOverDropZone=!1,this.onFileLeave.emit(e)),this.preventAndStop(e))}},{key:"dropFiles",value:function(e){var t;this.isDropzoneDisabled()||(this.isDraggingOverDropZone=!1,e.dataTransfer&&(e.dataTransfer.dropEffect="copy",t=e.dataTransfer.items?e.dataTransfer.items:e.dataTransfer.files,this.preventAndStop(e),this.checkFiles(t)))}},{key:"uploadFiles",value:function(e){this.isDropzoneDisabled()||e.target&&(this.checkFiles(e.target.files||[]),this.resetFileInput())}},{key:"checkFiles",value:function(e){for(var t=this,n=function(n){var r=e[n],i=null;if(t.canGetAsEntry(r)&&(i=r.webkitGetAsEntry()),i)if(i.isFile){var o=new p(i.name,i);t.addToQueue(o)}else i.isDirectory&&t.traverseFileTree(i,i.name);else if(r){var a={name:r.name,isDirectory:!1,isFile:!0,file:function(e){e(r)}},s=new p(a.name,a);t.addToQueue(s)}},r=0;r<e.length;r++)n(r);this.dropEventTimerSubscription&&this.dropEventTimerSubscription.unsubscribe(),this.dropEventTimerSubscription=Object(a.a)(200,200).subscribe((function(){if(t.files.length>0&&0===t.numOfActiveReadEntries){var e=t.files;t.files=[],t.onFileDrop.emit(e)}}))}},{key:"traverseFileTree",value:function(e,t){var n=this;if(e.isFile){var r=new p(t,e);this.files.push(r)}else{t+="/";var i=e.createReader(),o=[];!function r(){n.numOfActiveReadEntries++,i.readEntries((function(i){if(i.length)o=o.concat(i),r();else if(0===o.length){var a=new p(t,e);n.zone.run((function(){n.addToQueue(a)}))}else for(var s=function(e){n.zone.run((function(){n.traverseFileTree(o[e],t+o[e].name)}))},u=0;u<o.length;u++)s(u);n.numOfActiveReadEntries--}))}()}}},{key:"resetFileInput",value:function(){if(this.fileSelector&&this.fileSelector.nativeElement){var e=this.fileSelector.nativeElement,t=e.parentElement,n=this.getHelperFormElement(),r=this.getFileInputPlaceholderElement();t!==n&&(this.renderer.insertBefore(t,r,e),this.renderer.appendChild(n,e),n.reset(),this.renderer.insertBefore(t,e,r),this.renderer.removeChild(t,r))}}},{key:"getHelperFormElement",value:function(){return this.helperFormEl||(this.helperFormEl=this.renderer.createElement("form")),this.helperFormEl}},{key:"getFileInputPlaceholderElement",value:function(){return this.fileInputPlaceholderEl||(this.fileInputPlaceholderEl=this.renderer.createElement("div")),this.fileInputPlaceholderEl}},{key:"canGetAsEntry",value:function(e){return!!e.webkitGetAsEntry}},{key:"isDropzoneDisabled",value:function(){return this.globalDraggingInProgress||this.disabled}},{key:"addToQueue",value:function(e){this.files.push(e)}},{key:"preventAndStop",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=null!=e&&"false"!=="".concat(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Yb(o.C),o.Yb(o.J))},e.\u0275cmp=o.Sb({type:e,selectors:[["ngx-file-drop"]],contentQueries:function(e,t,n){var r;1&e&&o.Qb(n,m,!0,o.Q),2&e&&o.Fc(r=o.nc())&&(t.contentTemplate=r.first)},viewQuery:function(e,t){var n;1&e&&o.Qc(u,!0),2&e&&o.Fc(n=o.nc())&&(t.fileSelector=n.first)},inputs:{accept:"accept",directory:"directory",multiple:"multiple",dropZoneLabel:"dropZoneLabel",dropZoneClassName:"dropZoneClassName",useDragEnter:"useDragEnter",contentClassName:"contentClassName",showBrowseBtn:"showBrowseBtn",browseBtnClassName:"browseBtnClassName",browseBtnLabel:"browseBtnLabel",disabled:"disabled"},outputs:{onFileDrop:"onFileDrop",onFileOver:"onFileOver",onFileLeave:"onFileLeave"},decls:7,vars:15,consts:[[3,"className","drop","dragover","dragenter","dragleave"],[3,"className"],["type","file",1,"ngx-file-drop__file-input",3,"accept","multiple","change"],["fileSelector",""],["defaultContentTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","ngx-file-drop__drop-zone-label",4,"ngIf"],[4,"ngIf"],[1,"ngx-file-drop__drop-zone-label"],["type","button",3,"className","value","click"]],template:function(e,t){if(1&e&&(o.ec(0,"div",0),o.mc("drop",(function(e){return t.dropFiles(e)}))("dragover",(function(e){return t.onDragOver(e)}))("dragenter",(function(e){return t.onDragEnter(e)}))("dragleave",(function(e){return t.onDragLeave(e)})),o.ec(1,"div",1),o.ec(2,"input",2,3),o.mc("change",(function(e){return t.uploadFiles(e)})),o.dc(),o.Sc(4,d,2,2,"ng-template",null,4,o.Tc),o.Sc(6,f,0,0,"ng-template",5),o.dc(),o.dc()),2&e){var n=o.Gc(5);o.Ob("ngx-file-drop__drop-zone--over",t.isDraggingOverDropZone),o.xc("className",t.dropZoneClassName),o.Kb(1),o.xc("className",t.contentClassName),o.Kb(1),o.xc("accept",t.accept)("multiple",t.multiple),o.Lb("directory",t.directory||void 0)("webkitdirectory",t.directory||void 0)("mozdirectory",t.directory||void 0)("msdirectory",t.directory||void 0)("odirectory",t.directory||void 0),o.Kb(4),o.xc("ngTemplateOutlet",t.contentTemplate||n)("ngTemplateOutletContext",o.Bc(13,h,t.openFileSelector))}},directives:[s.p,s.k],styles:[".ngx-file-drop__drop-zone[_ngcontent-%COMP%]{height:100px;margin:auto;border:2px dotted #0782d0;border-radius:30px}.ngx-file-drop__drop-zone--over[_ngcontent-%COMP%]{background-color:rgba(147,147,147,.5)}.ngx-file-drop__content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100px;color:#0782d0}.ngx-file-drop__drop-zone-label[_ngcontent-%COMP%]{text-align:center}.ngx-file-drop__file-input[_ngcontent-%COMP%]{display:none}"]}),v([Object(o.u)(),g("design:type",String)],e.prototype,"accept",void 0),v([Object(o.u)(),g("design:type",Boolean)],e.prototype,"directory",void 0),v([Object(o.u)(),g("design:type",Boolean)],e.prototype,"multiple",void 0),v([Object(o.u)(),g("design:type",String)],e.prototype,"dropZoneLabel",void 0),v([Object(o.u)(),g("design:type",String)],e.prototype,"dropZoneClassName",void 0),v([Object(o.u)(),g("design:type",Boolean)],e.prototype,"useDragEnter",void 0),v([Object(o.u)(),g("design:type",String)],e.prototype,"contentClassName",void 0),v([Object(o.u)(),g("design:type",Boolean),g("design:paramtypes",[Boolean])],e.prototype,"disabled",null),v([Object(o.u)(),g("design:type",Boolean)],e.prototype,"showBrowseBtn",void 0),v([Object(o.u)(),g("design:type",String)],e.prototype,"browseBtnClassName",void 0),v([Object(o.u)(),g("design:type",String)],e.prototype,"browseBtnLabel",void 0),v([Object(o.E)(),g("design:type",o.q)],e.prototype,"onFileDrop",void 0),v([Object(o.E)(),g("design:type",o.q)],e.prototype,"onFileOver",void 0),v([Object(o.E)(),g("design:type",o.q)],e.prototype,"onFileLeave",void 0),v([Object(o.l)(m,{read:o.Q}),g("design:type",o.Q)],e.prototype,"contentTemplate",void 0),v([Object(o.U)("fileSelector",{static:!0}),g("design:type",o.n)],e.prototype,"fileSelector",void 0),e=v([g("design:paramtypes",[o.C,o.J])],e)}(),b=function(){var e=function e(){Object(i.a)(this,e)};return e.\u0275mod=o.Wb({type:e,bootstrap:function(){return[y]}}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)},providers:[],imports:[[s.b]]}),e}()},h8IG:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,i=n("O4wp"),o=n("EE6W"),a=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){var n=e.call(this,t,!1)||this;return i.G.addEventListener("hashchange",n._listener,!1),n}return a(t,e),t.prototype._get=function(){return Object(i.O)(this._location.hash)},t.prototype._set=function(e,t,n,r){this._location.hash=n},t.prototype.dispose=function(t){e.prototype.dispose.call(this,t),i.G.removeEventListener("hashchange",this._listener)},t}(o.a)},hAQ6:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("SQef"),i=n("2hdp"),o=n("yxkQ"),a=n("kpkV"),s=n("S2Kk"),u=function(){function e(e){this.router=e,this.states={},this.listeners=[],this.matcher=new r.a(this.states),this.builder=new i.a(this.matcher,e.urlMatcherFactory),this.stateQueue=new o.a(e,this.states,this.builder,this.listeners),this._registerRoot()}return e.prototype._registerRoot=function(){(this._root=this.stateQueue.register({name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0})).navigable=null},e.prototype.dispose=function(){var e=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach((function(t){return e.get(t)&&e.deregister(t)}))},e.prototype.onStatesChanged=function(e){return this.listeners.push(e),(function(){Object(a.C)(this.listeners)(e)}).bind(this)},e.prototype.root=function(){return this._root},e.prototype.register=function(e){return this.stateQueue.register(e)},e.prototype._deregisterTree=function(e){var t=this,n=this.get().map((function(e){return e.$$state()})),r=function e(t){var r=n.filter((function(e){return-1!==t.indexOf(e.parent)}));return 0===r.length?r:r.concat(e(r))}([e]),i=[e].concat(r).reverse();return i.forEach((function(e){var n=t.router.urlService.rules;n.rules().filter(Object(s.l)("state",e)).forEach((function(e){return n.removeRule(e)})),delete t.states[e.name]})),i},e.prototype.deregister=function(e){var t=this.get(e);if(!t)throw new Error("Can't deregister state; not found: "+e);var n=this._deregisterTree(t.$$state());return this.listeners.forEach((function(e){return e("deregistered",n.map((function(e){return e.self})))})),n},e.prototype.get=function(e,t){var n=this;if(0===arguments.length)return Object.keys(this.states).map((function(e){return n.states[e].self}));var r=this.matcher.find(e,t);return r&&r.self||null},e.prototype.decorator=function(e,t){return this.builder.builder(e,t)},e}()},hOic:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("O4wp"),i=n("/V7M"),o=n("jGPC"),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(){function e(e){this.router=e}return e.prototype.fromConfig=function(e,t,n){return new o.Param(e,t,o.DefType.CONFIG,this.router.urlService.config,n)},e.prototype.fromPath=function(e,t,n){return new o.Param(e,t,o.DefType.PATH,this.router.urlService.config,n)},e.prototype.fromSearch=function(e,t,n){return new o.Param(e,t,o.DefType.SEARCH,this.router.urlService.config,n)},e}(),u=function(){function e(e){var t=this;this.router=e,this.paramFactory=new s(this.router),this.UrlMatcher=i.a,this.Param=o.Param,this.caseInsensitive=function(e){return t.router.urlService.config.caseInsensitive(e)},this.defaultSquashPolicy=function(e){return t.router.urlService.config.defaultSquashPolicy(e)},this.strictMode=function(e){return t.router.urlService.config.strictMode(e)},this.type=function(e,n,r){return t.router.urlService.config.type(e,n,r)||t}}return e.prototype.compile=function(e,t){var n=this.router.urlService.config,o=t&&!t.state&&t.params;t=o?a({state:{params:o}},t):t;var s={strict:n._isStrictMode,caseInsensitive:n._isCaseInsensitive,decodeParams:n._decodeParams};return new i.a(e,n.paramTypes,this.paramFactory,Object(r.h)(s,t))},e.prototype.isMatcher=function(e){if(!Object(r.u)(e))return!1;var t=!0;return Object(r.k)(i.a.prototype,(function(n,i){Object(r.q)(n)&&(t=t&&Object(r.p)(e[i])&&Object(r.q)(e[i]))})),t},e.prototype.$get=function(){var e=this.router.urlService.config;return e.paramTypes.enqueue=!1,e.paramTypes._flushTypeQueue(),this},e}()},i8i4:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n("yl30")},"iB+3":function(e,t,n){"use strict";var r=n("O4wp");n.d(t,"anyTrueR",(function(){return r.b})),n.d(t,"applyPairs",(function(){return r.c})),n.d(t,"createProxyFunctions",(function(){return r.e})),n.d(t,"extend",(function(){return r.h})),n.d(t,"filter",(function(){return r.i})),n.d(t,"forEach",(function(){return r.k})),n.d(t,"identity",(function(){return r.l})),n.d(t,"inArray",(function(){return r.m})),n.d(t,"is",(function(){return r.n})),n.d(t,"isArray",(function(){return r.o})),n.d(t,"isDefined",(function(){return r.p})),n.d(t,"isFunction",(function(){return r.q})),n.d(t,"isInjectable",(function(){return r.r})),n.d(t,"isNullOrUndefined",(function(){return r.s})),n.d(t,"isNumber",(function(){return r.t})),n.d(t,"isObject",(function(){return r.u})),n.d(t,"isString",(function(){return r.v})),n.d(t,"kebobString",(function(){return r.x})),n.d(t,"noop",(function(){return r.A})),n.d(t,"parse",(function(){return r.B})),n.d(t,"pick",(function(){return r.D})),n.d(t,"removeFrom",(function(){return r.F})),n.d(t,"services",(function(){return r.H})),n.d(t,"tail",(function(){return r.M})),n.d(t,"trace",(function(){return r.N})),n.d(t,"uniqR",(function(){return r.P})),n.d(t,"unnestR",(function(){return r.Q})),n.d(t,"val",(function(){return r.R}));var i=n("jGPC");n.o(i,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return i.BaseLocationServices})),n.o(i,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return i.BaseUrlRule})),n.o(i,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return i.BrowserLocationConfig})),n.o(i,"NATIVE_INJECTOR_TOKEN")&&n.d(t,"NATIVE_INJECTOR_TOKEN",(function(){return i.NATIVE_INJECTOR_TOKEN})),n.o(i,"Param")&&n.d(t,"Param",(function(){return i.Param})),n.o(i,"PathUtils")&&n.d(t,"PathUtils",(function(){return i.PathUtils})),n.o(i,"Resolvable")&&n.d(t,"Resolvable",(function(){return i.Resolvable})),n.o(i,"ResolveContext")&&n.d(t,"ResolveContext",(function(){return i.ResolveContext})),n.o(i,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return i.StateRegistry})),n.o(i,"StateService")&&n.d(t,"StateService",(function(){return i.StateService})),n.o(i,"Transition")&&n.d(t,"Transition",(function(){return i.Transition})),n.o(i,"TransitionService")&&n.d(t,"TransitionService",(function(){return i.TransitionService})),n.o(i,"UIRouter")&&n.d(t,"UIRouter",(function(){return i.UIRouter})),n.o(i,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return i.UIRouterGlobals})),n.o(i,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return i.UrlMatcherFactory})),n.o(i,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return i.UrlRouter})),n.o(i,"UrlService")&&n.d(t,"UrlService",(function(){return i.UrlService})),n.o(i,"ViewService")&&n.d(t,"ViewService",(function(){return i.ViewService})),n.o(i,"parseUrl")&&n.d(t,"parseUrl",(function(){return i.parseUrl})),n.o(i,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return i.servicesPlugin}));var o=n("w0k8");n.d(t,"PathUtils",(function(){return o.a}));var a=n("vvJ7");n.d(t,"NATIVE_INJECTOR_TOKEN",(function(){return a.a})),n.d(t,"Resolvable",(function(){return a.b})),n.d(t,"ResolveContext",(function(){return a.c}));var s=n("IgSQ");n.o(s,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return s.BaseLocationServices})),n.o(s,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return s.BaseUrlRule})),n.o(s,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return s.BrowserLocationConfig})),n.o(s,"Param")&&n.d(t,"Param",(function(){return s.Param})),n.o(s,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return s.StateRegistry})),n.o(s,"StateService")&&n.d(t,"StateService",(function(){return s.StateService})),n.o(s,"Transition")&&n.d(t,"Transition",(function(){return s.Transition})),n.o(s,"TransitionService")&&n.d(t,"TransitionService",(function(){return s.TransitionService})),n.o(s,"UIRouter")&&n.d(t,"UIRouter",(function(){return s.UIRouter})),n.o(s,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return s.UIRouterGlobals})),n.o(s,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return s.UrlMatcherFactory})),n.o(s,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return s.UrlRouter})),n.o(s,"UrlService")&&n.d(t,"UrlService",(function(){return s.UrlService})),n.o(s,"ViewService")&&n.d(t,"ViewService",(function(){return s.ViewService})),n.o(s,"parseUrl")&&n.d(t,"parseUrl",(function(){return s.parseUrl})),n.o(s,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return s.servicesPlugin}));var u=n("cHUV");n.d(t,"Transition",(function(){return u.a})),n.d(t,"TransitionService",(function(){return u.b}));var l=n("cK63");n.o(l,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return l.BaseLocationServices})),n.o(l,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return l.BaseUrlRule})),n.o(l,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return l.BrowserLocationConfig})),n.o(l,"Param")&&n.d(t,"Param",(function(){return l.Param})),n.o(l,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return l.StateRegistry})),n.o(l,"StateService")&&n.d(t,"StateService",(function(){return l.StateService})),n.o(l,"UIRouter")&&n.d(t,"UIRouter",(function(){return l.UIRouter})),n.o(l,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return l.UIRouterGlobals})),n.o(l,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return l.UrlMatcherFactory})),n.o(l,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return l.UrlRouter})),n.o(l,"UrlService")&&n.d(t,"UrlService",(function(){return l.UrlService})),n.o(l,"ViewService")&&n.d(t,"ViewService",(function(){return l.ViewService})),n.o(l,"parseUrl")&&n.d(t,"parseUrl",(function(){return l.parseUrl})),n.o(l,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return l.servicesPlugin}));var c=n("E5G9");n.o(c,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return c.BaseLocationServices})),n.o(c,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return c.BaseUrlRule})),n.o(c,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return c.BrowserLocationConfig})),n.o(c,"Param")&&n.d(t,"Param",(function(){return c.Param})),n.o(c,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return c.StateRegistry})),n.o(c,"StateService")&&n.d(t,"StateService",(function(){return c.StateService})),n.o(c,"UIRouter")&&n.d(t,"UIRouter",(function(){return c.UIRouter})),n.o(c,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return c.UIRouterGlobals})),n.o(c,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return c.UrlMatcherFactory})),n.o(c,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return c.UrlRouter})),n.o(c,"UrlService")&&n.d(t,"UrlService",(function(){return c.UrlService})),n.o(c,"ViewService")&&n.d(t,"ViewService",(function(){return c.ViewService})),n.o(c,"parseUrl")&&n.d(t,"parseUrl",(function(){return c.parseUrl})),n.o(c,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return c.servicesPlugin}));var d=n("jNJc");n.d(t,"UIRouterGlobals",(function(){return d.a}));var f=n("XfWO");n.d(t,"UIRouter",(function(){return f.a}));var h=n("Tv01");n.o(h,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return h.BaseLocationServices})),n.o(h,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return h.BaseUrlRule})),n.o(h,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return h.BrowserLocationConfig})),n.o(h,"Param")&&n.d(t,"Param",(function(){return h.Param})),n.o(h,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return h.StateRegistry})),n.o(h,"StateService")&&n.d(t,"StateService",(function(){return h.StateService})),n.o(h,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return h.UrlMatcherFactory})),n.o(h,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return h.UrlRouter})),n.o(h,"UrlService")&&n.d(t,"UrlService",(function(){return h.UrlService})),n.o(h,"ViewService")&&n.d(t,"ViewService",(function(){return h.ViewService})),n.o(h,"parseUrl")&&n.d(t,"parseUrl",(function(){return h.parseUrl})),n.o(h,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return h.servicesPlugin})),n("vYq3")},iadO:function(e,t,n){"use strict";n.d(t,"a",(function(){return ce})),n.d(t,"b",(function(){return pe})),n.d(t,"c",(function(){return ge})),n.d(t,"d",(function(){return ve}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("u47x"),u=n("rDax"),l=n("+rOU"),c=n("ofXK"),d=n("fXoL"),f=n("bTqV"),h=n("0IaG"),p=n("vxfF"),m=n("FKr1"),v=n("XNiG"),g=n("quSY"),y=n("VRyK"),b=n("LRne"),_=n("FtGj"),w=n("IzEk"),E=n("JX91"),C=n("pLZG"),A=n("8LU1"),k=n("R0Ic"),S=n("3Pt+"),x=n("kmnG"),D=n("qFsG"),O=n("cH1L"),T=["mat-calendar-body",""];function F(e,t){if(1&e&&(d.ec(0,"tr",2),d.ec(1,"td",3),d.Uc(2),d.dc(),d.dc()),2&e){var n=d.qc();d.Kb(1),d.Rc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),d.Lb("colspan",n.numCols),d.Kb(1),d.Wc(" ",n.label," ")}}function M(e,t){if(1&e&&(d.ec(0,"td",7),d.Uc(1),d.dc()),2&e){var n=d.qc(2);d.Rc("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),d.Lb("colspan",n._firstRowOffset),d.Kb(1),d.Wc(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function P(e,t){if(1&e){var n=d.fc();d.ec(0,"td",8),d.mc("click",(function(){d.Kc(n);var e=t.$implicit;return d.qc(2)._cellClicked(e)})),d.ec(1,"div",9),d.Uc(2),d.dc(),d.dc()}if(2&e){var r=t.$implicit,i=t.index,o=d.qc().index,a=d.qc();d.Rc("width",a._cellWidth)("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),d.Ob("mat-calendar-body-disabled",!r.enabled)("mat-calendar-body-active",a._isActiveCell(o,i)),d.xc("ngClass",r.cssClasses)("tabindex",a._isActiveCell(o,i)?0:-1),d.Lb("aria-label",r.ariaLabel)("aria-disabled",!r.enabled||null)("aria-selected",a.selectedValue===r.value),d.Kb(1),d.Ob("mat-calendar-body-selected",a.selectedValue===r.value)("mat-calendar-body-today",a.todayValue===r.value),d.Kb(1),d.Wc(" ",r.displayValue," ")}}function L(e,t){if(1&e&&(d.ec(0,"tr",4),d.Sc(1,M,2,6,"td",5),d.Sc(2,P,3,20,"td",6),d.dc()),2&e){var n=t.$implicit,r=t.index,i=d.qc();d.Kb(1),d.xc("ngIf",0===r&&i._firstRowOffset),d.Kb(1),d.xc("ngForOf",n)}}function R(e,t){if(1&e&&(d.ec(0,"th",5),d.Uc(1),d.dc()),2&e){var n=t.$implicit;d.Lb("aria-label",n.long),d.Kb(1),d.Vc(n.narrow)}}var B=["*"];function j(e,t){}function I(e,t){if(1&e){var n=d.fc();d.ec(0,"mat-month-view",5),d.mc("activeDateChange",(function(e){return d.Kc(n),d.qc().activeDate=e}))("selectedChange",(function(e){return d.Kc(n),d.qc()._dateSelected(e)}))("_userSelection",(function(){return d.Kc(n),d.qc()._userSelected()})),d.dc()}if(2&e){var r=d.qc();d.xc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)("dateClass",r.dateClass)}}function N(e,t){if(1&e){var n=d.fc();d.ec(0,"mat-year-view",6),d.mc("activeDateChange",(function(e){return d.Kc(n),d.qc().activeDate=e}))("monthSelected",(function(e){return d.Kc(n),d.qc()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return d.Kc(n),d.qc()._goToDateInView(e,"month")})),d.dc()}if(2&e){var r=d.qc();d.xc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)}}function H(e,t){if(1&e){var n=d.fc();d.ec(0,"mat-multi-year-view",7),d.mc("activeDateChange",(function(e){return d.Kc(n),d.qc().activeDate=e}))("yearSelected",(function(e){return d.Kc(n),d.qc()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return d.Kc(n),d.qc()._goToDateInView(e,"year")})),d.dc()}if(2&e){var r=d.qc();d.xc("activeDate",r.activeDate)("selected",r.selected)("dateFilter",r.dateFilter)("maxDate",r.maxDate)("minDate",r.minDate)}}var z=["button"];function Y(e,t){1&e&&(d.pc(),d.ec(0,"svg",3),d.Zb(1,"path",4),d.dc())}var U=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"];function $(e){return Error("MatDatepicker: No provider found for ".concat(e,". You must import one of the following ")+"modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var W=function(){var e=function(){function e(){Object(o.a)(this,e),this.changes=new v.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return Object(a.a)(e,[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(d.Ub)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),G=function e(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};Object(o.a)(this,e),this.value=t,this.displayValue=n,this.ariaLabel=r,this.enabled=i,this.cssClasses=a},q=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this._elementRef=t,this._ngZone=n,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new d.q}return Object(a.a)(e,[{key:"_cellClicked",value:function(e){e.enabled&&this.selectedValueChange.emit(e.value)}},{key:"ngOnChanges",value:function(e){var t=e.numCols,n=this.rows,r=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?r-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding="".concat(50*this.cellAspectRatio/r,"%")),!t&&this._cellWidth||(this._cellWidth="".concat(100/r,"%"))}},{key:"_isActiveCell",value:function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Object(w.a)(1)).subscribe((function(){var t=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()}))}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.n),d.Yb(d.C))},e.\u0275cmp=d.Sb({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[d.Ib],attrs:T,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(d.Sc(0,F,3,6,"tr",0),d.Sc(1,L,3,2,"tr",1)),2&e&&(d.xc("ngIf",t._firstRowOffset<t.labelMinRequiredCells),d.Kb(1),d.xc("ngForOf",t.rows))},directives:[c.k,c.j,c.i],styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n"],encapsulation:2,changeDetection:0}),e}(),K=function(){var e=function(){function e(t,n,r,i){if(Object(o.a)(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=r,this._dir=i,this._rerenderSubscription=g.a.EMPTY,this.selectedChange=new d.q,this._userSelection=new d.q,this.activeDateChange=new d.q,!this._dateAdapter)throw $("DateAdapter");if(!this._dateFormats)throw $("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return Object(a.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(E.a)(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){if(this._selectedDate!=e){var t=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(t,n,e);this.selectedChange.emit(r)}this._userSelection.emit()}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case _.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case _.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case _.r:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case _.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case _.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case _.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case _.m:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case _.l:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case _.g:case _.p:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map((function(e,n){return{long:e,narrow:t[n]}}));this._weekdays=n.slice(e).concat(n.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,r=this._firstWeekOffset;n<e;n++,r++){7==r&&(this._weeks.push([]),r=0);var i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),o=this._shouldEnableDate(i),a=this._dateAdapter.format(i,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(i):void 0;this._weeks[this._weeks.length-1].push(new G(n+1,t[n],a,o,s))}}},{key:"_shouldEnableDate",value:function(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.i),d.Yb(m.e,8),d.Yb(m.c,8),d.Yb(O.b,8))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var n;1&e&&d.ad(q,!0),2&e&&d.Fc(n=d.nc())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(d.ec(0,"table",0),d.ec(1,"thead",1),d.ec(2,"tr"),d.Sc(3,R,2,2,"th",2),d.dc(),d.ec(4,"tr"),d.Zb(5,"th",3),d.dc(),d.dc(),d.ec(6,"tbody",4),d.mc("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),d.dc(),d.dc()),2&e&&(d.Kb(3),d.xc("ngForOf",t._weekdays),d.Kb(3),d.xc("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[c.j,q],encapsulation:2,changeDetection:0}),e}(),X=function(){var e=function(){function e(t,n,r){if(Object(o.a)(this,e),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=r,this._rerenderSubscription=g.a.EMPTY,this.selectedChange=new d.q,this.yearSelected=new d.q,this.activeDateChange=new d.q,!this._dateAdapter)throw $("DateAdapter");this._activeDate=this._dateAdapter.today()}return Object(a.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(E.a)(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-J(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,r=[];n<24;n++)r.push(t+n),4==r.length&&(this._years.push(r.map((function(t){return e._createCellForYear(t)}))),r=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var t=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case _.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case _.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case _.r:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case _.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case _.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-J(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case _.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-J(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case _.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case _.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case _.g:case _.p:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return J(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new G(e,t,t,this._shouldEnableYear(e))}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),Z(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.i),d.Yb(m.c,8),d.Yb(O.b,8))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-multi-year-view"]],viewQuery:function(e,t){var n;1&e&&d.ad(q,!0),2&e&&d.Fc(n=d.nc())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:6,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","selectedValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(d.ec(0,"table",0),d.ec(1,"thead",1),d.ec(2,"tr"),d.Zb(3,"th",2),d.dc(),d.dc(),d.ec(4,"tbody",3),d.mc("selectedValueChange",(function(e){return t._yearSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),d.dc(),d.dc()),2&e&&(d.Kb(4),d.xc("rows",t._years)("todayValue",t._todayYear)("selectedValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},directives:[q],encapsulation:2,changeDetection:0}),e}();function Z(e,t,n,r,i){var o=e.getYear(t),a=e.getYear(n),s=Q(e,r,i);return Math.floor((o-s)/24)===Math.floor((a-s)/24)}function J(e,t,n,r){return((e.getYear(t)-Q(e,n,r))%24+24)%24}function Q(e,t,n){var r=0;return n?r=e.getYear(n)-24+1:t&&(r=e.getYear(t)),r}var ee=function(){var e=function(){function e(t,n,r,i){if(Object(o.a)(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=r,this._dir=i,this._rerenderSubscription=g.a.EMPTY,this.selectedChange=new d.q,this.monthSelected=new d.q,this.activeDateChange=new d.q,!this._dateAdapter)throw $("DateAdapter");if(!this._dateFormats)throw $("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return Object(a.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(E.a)(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(e){var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);var n=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case _.j:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case _.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case _.r:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case _.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case _.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case _.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case _.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case _.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case _.g:case _.p:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){var e=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map((function(n){return n.map((function(n){return e._createCellForMonth(n,t[n])}))})),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}},{key:"_createCellForMonth",value:function(e,t){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new G(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e))}},{key:"_shouldEnableMonth",value:function(e){var t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(e,t){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>r}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return e<n||e===n&&t<r}return!1}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.i),d.Yb(m.e,8),d.Yb(m.c,8),d.Yb(O.b,8))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-year-view"]],viewQuery:function(e,t){var n;1&e&&d.ad(q,!0),2&e&&d.Fc(n=d.nc())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:8,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(d.ec(0,"table",0),d.ec(1,"thead",1),d.ec(2,"tr"),d.Zb(3,"th",2),d.dc(),d.dc(),d.ec(4,"tbody",3),d.mc("selectedValueChange",(function(e){return t._monthSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),d.dc(),d.dc()),2&e&&(d.Kb(4),d.xc("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("selectedValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},directives:[q],encapsulation:2,changeDetection:0}),e}(),te=function(){var e=function(){function e(t,n,r,i,a){Object(o.a)(this,e),this._intl=t,this.calendar=n,this._dateAdapter=r,this._dateFormats=i,this.calendar.stateChanges.subscribe((function(){return a.markForCheck()}))}return Object(a.a)(e,[{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):Z(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}},{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var e=this._dateAdapter.getYear(this.calendar.activeDate)-J(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(n,r)}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(W),d.Yb(Object(d.ab)((function(){return ne}))),d.Yb(m.c,8),d.Yb(m.e,8),d.Yb(d.i))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:B,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(d.wc(),d.ec(0,"div",0),d.ec(1,"div",1),d.ec(2,"button",2),d.mc("click",(function(){return t.currentPeriodClicked()})),d.Uc(3),d.Zb(4,"div",3),d.dc(),d.Zb(5,"div",4),d.vc(6),d.ec(7,"button",5),d.mc("click",(function(){return t.previousClicked()})),d.dc(),d.ec(8,"button",6),d.mc("click",(function(){return t.nextClicked()})),d.dc(),d.dc(),d.dc()),2&e&&(d.Kb(2),d.Lb("aria-label",t.periodButtonLabel),d.Kb(1),d.Wc(" ",t.periodButtonText," "),d.Kb(1),d.Ob("mat-calendar-invert","month"!=t.calendar.currentView),d.Kb(3),d.xc("disabled",!t.previousEnabled()),d.Lb("aria-label",t.prevButtonLabel),d.Kb(1),d.xc("disabled",!t.nextEnabled()),d.Lb("aria-label",t.nextButtonLabel))},directives:[f.b,s.d],encapsulation:2,changeDetection:0}),e}(),ne=function(){var e=function(){function e(t,n,r,i){var a=this;if(Object(o.a)(this,e),this._dateAdapter=n,this._dateFormats=r,this._changeDetectorRef=i,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new d.q,this.yearSelected=new d.q,this.monthSelected=new d.q,this._userSelection=new d.q,this.stateChanges=new v.a,!this._dateAdapter)throw $("DateAdapter");if(!this._dateFormats)throw $("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe((function(){i.markForCheck(),a.stateChanges.next()}))}return Object(a.a)(e,[{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new l.d(this.headerComponent||te),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(e){var t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell()}},{key:"updateTodaysDate",value:function(){var e=this.currentView;("month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView)._init()}},{key:"_dateSelected",value:function(e){e&&!this._dateAdapter.sameDate(e,this.selected)&&this.selectedChange.emit(e)}},{key:"_yearSelectedInMultiYearView",value:function(e){this.yearSelected.emit(e)}},{key:"_monthSelectedInYearView",value:function(e){this.monthSelected.emit(e)}},{key:"_userSelected",value:function(){this._userSelection.emit()}},{key:"_goToDateInView",value:function(e,t){this.activeDate=e,this.currentView=t}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}},{key:"startAt",get:function(){return this._startAt},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(W),d.Yb(m.c,8),d.Yb(m.e,8),d.Yb(d.i))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var n;1&e&&(d.ad(K,!0),d.ad(ee,!0),d.ad(X,!0)),2&e&&(d.Fc(n=d.nc())&&(t.monthView=n.first),d.Fc(n=d.nc())&&(t.yearView=n.first),d.Fc(n=d.nc())&&(t.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[d.Ib],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(d.Sc(0,j,0,0,"ng-template",0),d.ec(1,"div",1),d.Sc(2,I,1,6,"mat-month-view",2),d.Sc(3,N,1,5,"mat-year-view",3),d.Sc(4,H,1,5,"mat-multi-year-view",4),d.dc()),2&e&&(d.xc("cdkPortalOutlet",t._calendarHeaderPortal),d.Kb(1),d.xc("ngSwitch",t.currentView),d.Kb(1),d.xc("ngSwitchCase","month"),d.Kb(1),d.xc("ngSwitchCase","year"),d.Kb(1),d.xc("ngSwitchCase","multi-year"))},directives:[l.c,s.e,c.m,c.n,K,ee,X],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e}(),re={transformPanel:Object(k.o)("transformPanel",[Object(k.l)("void",Object(k.m)({opacity:0,transform:"scale(1, 0.8)"})),Object(k.n)("void => enter",Object(k.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(k.m)({opacity:1,transform:"scale(1, 1)"}))),Object(k.n)("* => void",Object(k.e)("100ms linear",Object(k.m)({opacity:0})))]),fadeInCalendar:Object(k.o)("fadeInCalendar",[Object(k.l)("void",Object(k.m)({opacity:0})),Object(k.l)("enter",Object(k.m)({opacity:1})),Object(k.n)("void => *",Object(k.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},ie=0,oe=new d.s("mat-datepicker-scroll-strategy"),ae={provide:oe,deps:[u.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},se=function e(t){Object(o.a)(this,e),this._elementRef=t},ue=Object(m.y)(se),le=function(){var e=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i;return Object(o.a)(this,n),(i=t.call(this,e))._changeDetectorRef=r,i._animationState="enter",i._animationDone=new v.a,i}return Object(a.a)(n,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._animationDone.complete()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}]),n}(ue);return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.n),d.Yb(d.i))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var n;1&e&&d.ad(ne,!0),2&e&&d.Fc(n=d.nc())&&(t._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&d.Pb("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(d.Zc("@transformPanel",t._animationState),d.Ob("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[d.Hb],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(d.ec(0,"mat-calendar",0),d.mc("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),d.dc()),2&e&&d.xc("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[ne,s.f,c.i],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[re.transformPanel,re.fadeInCalendar]},changeDetection:0}),e}(),ce=function(){var e=function(){function e(t,n,r,i,a,s,u,l){if(Object(o.a)(this,e),this._dialog=t,this._overlay=n,this._ngZone=r,this._viewContainerRef=i,this._dateAdapter=s,this._dir=u,this._document=l,this.startView="month",this._touchUi=!1,this.yearSelected=new d.q,this.monthSelected=new d.q,this.openedStream=new d.q,this.closedStream=new d.q,this._opened=!1,this.id="mat-datepicker-".concat(ie++),this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=g.a.EMPTY,this._disabledChange=new v.a,this._selectedChanged=new v.a,!this._dateAdapter)throw $("DateAdapter");this._scrollStrategy=a}return Object(a.a)(e,[{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}},{key:"select",value:function(e){var t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_registerInput",value:function(e){var t=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(e){return t._selected=e}))}},{key:"open",value:function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var e=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(w.a)(1)).subscribe((function(){return e._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var n=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_openAsDialog",value:function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(le,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe((function(){return e.close()})),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}},{key:"_openAsPopup",value:function(){var e=this,t=new l.d(le,this._viewContainerRef);this._destroyPopup(),this._createPopup();var n=this._popupComponentRef=this._popupRef.attach(t);n.instance.datepicker=this,n.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Object(w.a)(1)).subscribe((function(){e._popupRef.updatePosition()}))}},{key:"_createPopup",value:function(){var e=this,t=new u.d({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(y.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(C.a)((function(t){return t.keyCode===_.h||e._datepickerInput&&t.altKey&&t.keyCode===_.r})))).subscribe((function(t){t&&t.preventDefault(),e.close()}))}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"startAt",get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=Object(A.c)(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(e){var t=Object(A.c)(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}},{key:"opened",get:function(){return this._opened},set:function(e){e?this.open():this.close()}},{key:"_selected",get:function(){return this._validSelected},set:function(e){this._validSelected=e}},{key:"_minDate",get:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_maxDate",get:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_dateFilter",get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(h.b),d.Yb(u.c),d.Yb(d.C),d.Yb(d.V),d.Yb(oe),d.Yb(m.c,8),d.Yb(O.b,8),d.Yb(c.c,8))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e}(),de={provide:S.l,useExisting:Object(d.ab)((function(){return pe})),multi:!0},fe={provide:S.k,useExisting:Object(d.ab)((function(){return pe})),multi:!0},he=function e(t,n){Object(o.a)(this,e),this.target=t,this.targetElement=n,this.value=this.target.value},pe=function(){var e=function(){function e(t,n,r,i){var a=this;if(Object(o.a)(this,e),this._elementRef=t,this._dateAdapter=n,this._dateFormats=r,this._formField=i,this.dateChange=new d.q,this.dateInput=new d.q,this._valueChange=new d.q,this._disabledChange=new d.q,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=g.a.EMPTY,this._localeSubscription=g.a.EMPTY,this._parseValidator=function(){return a._lastValueValid?null:{matDatepickerParse:{text:a._elementRef.nativeElement.value}}},this._minValidator=function(e){var t=a._getValidDateOrNull(a._dateAdapter.deserialize(e.value));return!a.min||!t||a._dateAdapter.compareDate(a.min,t)<=0?null:{matDatepickerMin:{min:a.min,actual:t}}},this._maxValidator=function(e){var t=a._getValidDateOrNull(a._dateAdapter.deserialize(e.value));return!a.max||!t||a._dateAdapter.compareDate(a.max,t)>=0?null:{matDatepickerMax:{max:a.max,actual:t}}},this._filterValidator=function(e){var t=a._getValidDateOrNull(a._dateAdapter.deserialize(e.value));return a._dateFilter&&t&&!a._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=S.v.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw $("DateAdapter");if(!this._dateFormats)throw $("MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe((function(){a.value=a.value}))}return Object(a.a)(e,[{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){this._datepicker&&e.altKey&&e.keyCode===_.e&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}},{key:"_onInput",value:function(e){var t=this._lastValueValid,n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n),this._dateAdapter.sameDate(n,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new he(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new he(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"matDatepicker",set:function(e){var t=this;e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new he(t,t._elementRef.nativeElement)),t.dateChange.emit(new he(t,t._elementRef.nativeElement))})))}},{key:"matDatepickerFilter",set:function(e){this._dateFilter=e,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);var t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}},{key:"min",get:function(){return this._min},set:function(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(e){var t=Object(A.c)(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&this._isInitialized&&n.blur&&n.blur()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(d.n),d.Yb(m.c,8),d.Yb(m.e,8),d.Yb(x.a,8))},e.\u0275dir=d.Tb({type:e,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&d.mc("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(d.hc("disabled",t.disabled),d.Lb("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[d.Jb([de,fe,{provide:D.a,useExisting:e}])]}),e}(),me=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d.Tb({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e}(),ve=function(){var e=function(){function e(t,n,r){Object(o.a)(this,e),this._intl=t,this._changeDetectorRef=n,this._stateChanges=g.a.EMPTY;var i=Number(r);this.tabIndex=i||0===i?i:null}return Object(a.a)(e,[{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,t=this.datepicker?this.datepicker._disabledChange:Object(b.a)(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Object(b.a)(),r=this.datepicker?Object(y.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(b.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(y.a)(this._intl.changes,t,n,r).subscribe((function(){return e._changeDetectorRef.markForCheck()}))}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=Object(A.c)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.Yb(W),d.Yb(d.i),d.jc("tabindex"))},e.\u0275cmp=d.Sb({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){var r;1&e&&d.Qb(n,me,!0),2&e&&d.Fc(r=d.nc())&&(t._customIcon=r.first)},viewQuery:function(e,t){var n;1&e&&d.ad(z,!0),2&e&&d.Fc(n=d.nc())&&(t._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&d.mc("focus",(function(){return t._button.focus()})),2&e&&(d.Lb("tabindex",t.disabled?null:-1),d.Ob("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[d.Ib],ngContentSelectors:V,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(d.wc(U),d.ec(0,"button",0,1),d.mc("click",(function(e){return t._open(e)})),d.Sc(2,Y,2,0,"svg",2),d.vc(3),d.dc()),2&e&&(d.xc("disabled",t.disabled)("disableRipple",t.disableRipple),d.Lb("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),d.Kb(2),d.xc("ngIf",!t._customIcon))},directives:[f.b,c.k],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e}(),ge=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=d.Wb({type:e}),e.\u0275inj=d.Vb({factory:function(t){return new(t||e)},providers:[W,ae],imports:[[c.b,f.c,h.d,u.f,s.a,l.h],p.c]}),e}()},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("z+Ro"),u=n("DH7j"),l=n("l7GE"),c=n("ZUHj"),d=n("yCtX"),f={};function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=null,i=null;return Object(s.a)(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&Object(u.a)(t[0])&&(t=t[0]),Object(d.a)(t,i).lift(new p(r))}var p=function(){function e(t){Object(o.a)(this,e),this.resultSelector=t}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new m(e,this.resultSelector))}}]),e}(),m=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i;return Object(o.a)(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return Object(a.a)(n,[{key:"_next",value:function(e){this.values.push(f),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(Object(c.a)(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,i){var o=this.values,a=this.toRespond?o[n]===f?--this.toRespond:this.toRespond:0;o[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(l.a)},jGPC:function(e,t,n){"use strict";var r=n("DMCH");n.o(r,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return r.BaseLocationServices})),n.o(r,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return r.BaseUrlRule})),n.o(r,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return r.BrowserLocationConfig})),n.o(r,"DefType")&&n.d(t,"DefType",(function(){return r.DefType})),n.o(r,"NATIVE_INJECTOR_TOKEN")&&n.d(t,"NATIVE_INJECTOR_TOKEN",(function(){return r.NATIVE_INJECTOR_TOKEN})),n.o(r,"Param")&&n.d(t,"Param",(function(){return r.Param})),n.o(r,"ParamTypes")&&n.d(t,"ParamTypes",(function(){return r.ParamTypes})),n.o(r,"PathUtils")&&n.d(t,"PathUtils",(function(){return r.PathUtils})),n.o(r,"Resolvable")&&n.d(t,"Resolvable",(function(){return r.Resolvable})),n.o(r,"ResolveContext")&&n.d(t,"ResolveContext",(function(){return r.ResolveContext})),n.o(r,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return r.StateRegistry})),n.o(r,"StateService")&&n.d(t,"StateService",(function(){return r.StateService})),n.o(r,"Transition")&&n.d(t,"Transition",(function(){return r.Transition})),n.o(r,"TransitionService")&&n.d(t,"TransitionService",(function(){return r.TransitionService})),n.o(r,"UIRouter")&&n.d(t,"UIRouter",(function(){return r.UIRouter})),n.o(r,"UIRouterGlobals")&&n.d(t,"UIRouterGlobals",(function(){return r.UIRouterGlobals})),n.o(r,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return r.UrlMatcherFactory})),n.o(r,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return r.UrlRouter})),n.o(r,"UrlService")&&n.d(t,"UrlService",(function(){return r.UrlService})),n.o(r,"ViewService")&&n.d(t,"ViewService",(function(){return r.ViewService})),n.o(r,"parseUrl")&&n.d(t,"parseUrl",(function(){return r.parseUrl})),n.o(r,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return r.servicesPlugin}));var i=n("U/8i");n.d(t,"DefType",(function(){return i.a})),n.d(t,"Param",(function(){return i.b}));var o=n("Fo7A");n.d(t,"ParamTypes",(function(){return o.a})),n("Srm6"),n("NJhm")},jNJc:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("Srm6"),i=n("EBDp"),o=function(){function e(){this.params=new r.a,this.lastStartedTransitionId=-1,this.transitionHistory=new i.a([],1),this.successfulTransitions=new i.a([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}()},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a((function(n){var r=new i.a,o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return W})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return L})),n.d(t,"e",(function(){return V})),n.d(t,"f",(function(){return D}));var r,i=n("ReuC"),o=n("foSv"),a=n("1OyB"),s=n("vuIU"),u=n("Ji7U"),l=n("LK+K"),c=n("ofXK"),d=n("fXoL"),f=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=h||(h=document.querySelector("base"))?h.getAttribute("href"):null;return null==n?null:(t=n,r||(r=document.createElement("a")),r.setAttribute("href",t),"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname)}},{key:"resetBaseElement",value:function(){h=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Object(c.w)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){Object(c.x)(new n)}}]),n}(function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(){return Object(a.a)(this,n),t.call(this)}return Object(s.a)(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(c.t)),h=null,p=new d.s("TRANSITION_ID"),m=[{provide:d.d,useFactory:function(e,t,n){return function(){n.get(d.e).donePromise.then((function(){var n=Object(c.v)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[p,c.c,d.t],multi:!0}],v=function(){function e(){Object(a.a)(this,e)}return Object(s.a)(e,[{key:"addToWindow",value:function(e){d.yb.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},d.yb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},d.yb.getAllAngularRootElements=function(){return e.getAllRootElements()},d.yb.frameworkStabilizers||(d.yb.frameworkStabilizers=[]),d.yb.frameworkStabilizers.push((function(e){var t=d.yb.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Object(c.v)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(d.fb)(new e)}}]),e}(),g=new d.s("EventManagerPlugins"),y=function(){var e=function(){function e(t,n){var r=this;Object(a.a)(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return Object(s.a)(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event ".concat(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.ic(g),d.ic(d.C))},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),b=function(){function e(t){Object(a.a)(this,e),this._doc=t}return Object(s.a)(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=Object(c.v)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),_=function(){var e=function(){function e(){Object(a.a)(this,e),this._stylesSet=new Set}return Object(s.a)(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),w=function(){var e=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return Object(s.a)(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return Object(c.v)().remove(e)}))}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(d.ic(c.c))},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),E={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},C=/%COMP%/g,A="_nghost-".concat("%COMP%"),k="_ngcontent-".concat("%COMP%");function S(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?S(e,i,n):(i=i.replace(C,e),n.push(i))}return n}function x(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var D=function(){var e=function(){function e(t,n,r){Object(a.a)(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new O(t)}return Object(s.a)(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case d.W.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new T(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case d.W.Native:case d.W.ShadowDom:return new F(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=S(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d.ic(y),d.ic(w),d.ic(d.c))},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),O=function(){function e(t){Object(a.a)(this,e),this.eventManager=t,this.data=Object.create(null)}return Object(s.a)(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(E[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=E[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=E[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&d.L.DashCase?e.style.setProperty(t,n,r&d.L.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&d.L.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,x(n)):this.eventManager.addEventListener(e,t,x(n))}}]),e}(),T=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,r,i,o){var s;Object(a.a)(this,n),(s=t.call(this,e)).component=i;var u=S(o+"-"+i.id,i.styles,[]);return r.addStyles(u),s.contentAttr=k.replace(C,o+"-"+i.id),s.hostAttr=function(e){return A.replace(C,e)}(o+"-"+i.id),s}return Object(s.a)(n,[{key:"applyToHost",value:function(e){Object(i.a)(Object(o.a)(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=Object(i.a)(Object(o.a)(n.prototype),"createElement",this).call(this,e,t);return Object(i.a)(Object(o.a)(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(O),F=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e,r,i,o){var s;Object(a.a)(this,n),(s=t.call(this,e)).sharedStylesHost=r,s.hostEl=i,s.component=o,s.shadowRoot=o.encapsulation===d.W.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var u=S(o.id,o.styles,[]),l=0;l<u.length;l++){var c=document.createElement("style");c.textContent=u[l],s.shadowRoot.appendChild(c)}return s}return Object(s.a)(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return Object(i.a)(Object(o.a)(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return Object(i.a)(Object(o.a)(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return Object(i.a)(Object(o.a)(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(Object(i.a)(Object(o.a)(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(O),M=function(){var e=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){return Object(a.a)(this,n),t.call(this,e)}return Object(s.a)(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(d.ic(c.c))},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),P=new d.s("HammerGestureConfig"),L=function(){var e=function(){function e(){Object(a.a)(this,e),this.events=[],this.overrides={}}return Object(s.a)(e,[{key:"buildHammer",value:function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),R=["alt","control","meta","shift"],B={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},j={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},I={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},N=function(){var e=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){return Object(a.a)(this,n),t.call(this,e)}return Object(s.a)(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(c.v)().onAndCancel(e,i.domEventName,o)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(R.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&j.hasOwnProperty(t)&&(t=j[t]))}return B[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),R.forEach((function(r){r!=n&&(0,I[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(d.ic(c.c))},e.\u0275prov=d.Ub({token:e,factory:e.\u0275fac}),e}(),H=function(){var e=function e(){Object(a.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(d.Ub)({factory:function(){return Object(d.ic)(Y)},token:e,providedIn:"root"}),e}();function z(e){return new Y(e.get(c.c))}var Y=function(){var e=function(e){Object(u.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(a.a)(this,n),(r=t.call(this))._doc=e,r}return Object(s.a)(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case d.N.NONE:return t;case d.N.HTML:return Object(d.nb)(t,"HTML")?Object(d.Gb)(t):Object(d.kb)(this._doc,String(t));case d.N.STYLE:return Object(d.nb)(t,"Style")?Object(d.Gb)(t):Object(d.lb)(t);case d.N.SCRIPT:if(Object(d.nb)(t,"Script"))return Object(d.Gb)(t);throw new Error("unsafe value used in a script context");case d.N.URL:return Object(d.xb)(t),Object(d.nb)(t,"URL")?Object(d.Gb)(t):Object(d.mb)(String(t));case d.N.RESOURCE_URL:if(Object(d.nb)(t,"ResourceURL"))return Object(d.Gb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(d.ob)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(d.rb)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(d.qb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(d.sb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(d.pb)(e)}}]),n}(H);return e.\u0275fac=function(t){return new(t||e)(d.ic(c.c))},e.\u0275prov=Object(d.Ub)({factory:function(){return z(Object(d.ic)(d.r))},token:e,providedIn:"root"}),e}(),U=[{provide:d.F,useValue:c.u},{provide:d.G,useValue:function(){f.makeCurrent(),v.init()},multi:!0},{provide:c.c,useFactory:function(){return Object(d.Eb)(document),document},deps:[]}],V=Object(d.Y)(d.eb,"browser",U),$=[[],{provide:d.hb,useValue:"root"},{provide:d.p,useFactory:function(){return new d.p},deps:[]},{provide:g,useClass:M,multi:!0,deps:[c.c,d.C,d.F]},{provide:g,useClass:N,multi:!0,deps:[c.c]},[],{provide:D,useClass:D,deps:[y,w,d.c]},{provide:d.K,useExisting:D},{provide:_,useExisting:w},{provide:w,useClass:w,deps:[c.c]},{provide:d.R,useClass:d.R,deps:[d.C]},{provide:y,useClass:y,deps:[g,d.C]},[]],W=function(){var e=function(){function e(t){if(Object(a.a)(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return Object(s.a)(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:d.c,useValue:t.appId},{provide:p,useExisting:d.c},m]}}}]),e}();return e.\u0275mod=d.Wb({type:e}),e.\u0275inj=d.Vb({factory:function(t){return new(t||e)(d.ic(e,12))},providers:$,imports:[c.b,d.f]}),e}();"undefined"!=typeof window&&window},jtHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("1OyB"),i=n("vuIU"),o=n("ReuC"),a=n("foSv"),s=n("Ji7U"),u=n("LK+K"),l=n("XNiG"),c=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this,e,i)).scheduler=e,o.work=i,o}return Object(i.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?Object(o.a)(Object(a.a)(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?Object(o.a)(Object(a.a)(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?Object(o.a)(Object(a.a)(n.prototype),"requestAsyncId",this).call(this,e,t,r):e.flush(this)}}]),n}(n("3N8a").a),d=new(function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return n}(n("IjjT").a))(c),f=n("quSY"),h=n("7o/Q"),p=n("WMd4"),m=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,i){var o,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Object(r.a)(this,n),(o=t.call(this,e)).scheduler=i,o.delay=a,o}return Object(i.a)(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new v(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(p.a.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(p.a.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(p.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){e.notification.observe(e.destination),this.unsubscribe()}}]),n}(h.a),v=function e(t,n){Object(r.a)(this,e),this.notification=t,this.destination=n},g=n("9ppp"),y=n("Ylt2"),b=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;return Object(r.a)(this,n),(e=t.call(this)).scheduler=a,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=i<1?1:i,e._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return Object(i.a)(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),Object(o.a)(Object(a.a)(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new _(this._getNow(),e)),this._trimBufferThenGetEvents(),Object(o.a)(Object(a.a)(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new g.a;if(this.isStopped||this.hasError?t=f.a.EMPTY:(this.observers.push(e),t=new y.a(this,e)),i&&e.add(e=new m(e,i)),n)for(var a=0;a<o&&!e.closed;a++)e.next(r[a]);else for(var s=0;s<o&&!e.closed;s++)e.next(r[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||d).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}]),n}(l.a),_=function e(t,n){Object(r.a)(this,e),this.time=t,this.value=n}},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},kmnG:function(e,t,n){"use strict";n.d(t,"a",(function(){return te})),n.d(t,"b",(function(){return z})),n.d(t,"c",(function(){return ne})),n.d(t,"d",(function(){return U})),n.d(t,"e",(function(){return re})),n.d(t,"f",(function(){return W})),n.d(t,"g",(function(){return G})),n.d(t,"h",(function(){return K})),n.d(t,"i",(function(){return X}));var r=n("uFwe"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("GU7r"),l=n("ofXK"),c=n("fXoL"),d=n("FKr1"),f=n("8LU1"),h=n("XNiG"),p=n("VRyK"),m=n("xgIS"),v=n("JX91"),g=n("1G5W"),y=n("IzEk"),b=n("R0Ic"),_=n("R1ws"),w=n("cH1L"),E=n("nLfN"),C=["underline"],A=["connectionContainer"],k=["inputContainer"],S=["label"];function x(e,t){1&e&&(c.cc(0),c.ec(1,"div",14),c.Zb(2,"div",15),c.Zb(3,"div",16),c.Zb(4,"div",17),c.dc(),c.ec(5,"div",18),c.Zb(6,"div",15),c.Zb(7,"div",16),c.Zb(8,"div",17),c.dc(),c.bc())}function D(e,t){1&e&&(c.ec(0,"div",19),c.vc(1,1),c.dc())}function O(e,t){if(1&e&&(c.cc(0),c.vc(1,2),c.ec(2,"span"),c.Uc(3),c.dc(),c.bc()),2&e){var n=c.qc(2);c.Kb(3),c.Vc(n._control.placeholder)}}function T(e,t){1&e&&c.vc(0,3,["*ngSwitchCase","true"])}function F(e,t){1&e&&(c.ec(0,"span",23),c.Uc(1," *"),c.dc())}function M(e,t){if(1&e){var n=c.fc();c.ec(0,"label",20,21),c.mc("cdkObserveContent",(function(){return c.Kc(n),c.qc().updateOutlineGap()})),c.Sc(2,O,4,1,"ng-container",12),c.Sc(3,T,1,0,void 0,12),c.Sc(4,F,2,0,"span",22),c.dc()}if(2&e){var r=c.qc();c.Ob("mat-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-form-field-empty",r._control.empty&&!r._shouldAlwaysFloat)("mat-accent","accent"==r.color)("mat-warn","warn"==r.color),c.xc("cdkObserveContentDisabled","outline"!=r.appearance)("id",r._labelId)("ngSwitch",r._hasLabel()),c.Lb("for",r._control.id)("aria-owns",r._control.id),c.Kb(2),c.xc("ngSwitchCase",!1),c.Kb(1),c.xc("ngSwitchCase",!0),c.Kb(1),c.xc("ngIf",!r.hideRequiredMarker&&r._control.required&&!r._control.disabled)}}function P(e,t){1&e&&(c.ec(0,"div",24),c.vc(1,4),c.dc())}function L(e,t){if(1&e&&(c.ec(0,"div",25,26),c.Zb(2,"span",27),c.dc()),2&e){var n=c.qc();c.Kb(2),c.Ob("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function R(e,t){if(1&e&&(c.ec(0,"div"),c.vc(1,5),c.dc()),2&e){var n=c.qc();c.xc("@transitionMessages",n._subscriptAnimationState)}}function B(e,t){if(1&e&&(c.ec(0,"div",31),c.Uc(1),c.dc()),2&e){var n=c.qc(2);c.xc("id",n._hintLabelId),c.Kb(1),c.Vc(n.hintLabel)}}function j(e,t){if(1&e&&(c.ec(0,"div",28),c.Sc(1,B,2,2,"div",29),c.vc(2,6),c.Zb(3,"div",30),c.vc(4,7),c.dc()),2&e){var n=c.qc();c.xc("@transitionMessages",n._subscriptAnimationState),c.Kb(1),c.xc("ngIf",n.hintLabel)}}var I=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],N=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],H=0,z=function(){var e=function e(){Object(s.a)(this,e),this.id="mat-error-".concat(H++)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&c.Lb("id",t.id)},inputs:{id:"id"}}),e}(),Y={transitionMessages:Object(b.o)("transitionMessages",[Object(b.l)("enter",Object(b.m)({opacity:1,transform:"translateY(0%)"})),Object(b.n)("void => enter",[Object(b.m)({opacity:0,transform:"translateY(-100%)"}),Object(b.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},U=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e}),e}();function V(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var $=0,W=function(){var e=function e(){Object(s.a)(this,e),this.align="start",this.id="mat-hint-".concat($++)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(c.Lb("id",t.id)("align",null),c.Ob("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),e}(),G=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["mat-label"]]}),e}(),q=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["mat-placeholder"]]}),e}(),K=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","matPrefix",""]]}),e}(),X=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c.Tb({type:e,selectors:[["","matSuffix",""]]}),e}(),Z=0,J=function e(t){Object(s.a)(this,e),this._elementRef=t},Q=Object(d.y)(J,"primary"),ee=new c.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),te=new c.s("MatFormField"),ne=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,i,o,a,u,l,c){var d;return Object(s.a)(this,n),(d=t.call(this,e))._elementRef=e,d._changeDetectorRef=r,d._dir=o,d._defaults=a,d._platform=u,d._ngZone=l,d._outlineGapCalculationNeededImmediately=!1,d._outlineGapCalculationNeededOnStable=!1,d._destroyed=new h.a,d._showAlwaysAnimate=!1,d._subscriptAnimationState="",d._hintLabel="",d._hintLabelId="mat-hint-".concat(Z++),d._labelId="mat-form-field-label-".concat(Z++),d._labelOptions=i||{},d.floatLabel=d._getDefaultFloatLabelState(),d._animationsEnabled="NoopAnimations"!==c,d.appearance=a&&a.appearance?a.appearance:"legacy",d._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,d}return Object(i.a)(n,[{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(Object(v.a)(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(g.a)(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Object(g.a)(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),Object(p.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Object(v.a)(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Object(v.a)(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Object(g.a)(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e.updateOutlineGap()}))})):e.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(m.a)(this._label.nativeElement,"transitionend").pipe(Object(y.a)(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(r){if("start"===r.align){if(e||n.hintLabel)throw V("start");e=r}else if("end"===r.align){if(t)throw V("end");t=r}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,o=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var s=i.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var u,l=this._getStartEnd(s),c=this._getStartEnd(e.children[0].getBoundingClientRect()),d=0,f=Object(r.a)(e.children);try{for(f.s();!(u=f.n()).done;)d+=u.value.offsetWidth}catch(m){f.e(m)}finally{f.f()}t=Math.abs(c-l)-5,n=d>0?.75*d+10:0}for(var h=0;h<o.length;h++)o[h].style.width="".concat(t,"px");for(var p=0;p<a.length;p++)a[p].style.width="".concat(n,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}},{key:"_isAttachedToDOM",value:function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}},{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Object(f.c)(e)}},{key:"_shouldAlwaysFloat",get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",get:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"_labelChild",get:function(){return this._labelChildNonStatic||this._labelChildStatic}}]),n}(Q);return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(c.i),c.Yb(d.g,8),c.Yb(w.b,8),c.Yb(ee,8),c.Yb(E.a),c.Yb(c.C),c.Yb(_.a,8))},e.\u0275cmp=c.Sb({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var r;1&e&&(c.Qb(n,U,!0),c.Pc(n,U,!0),c.Qb(n,G,!0),c.Pc(n,G,!0),c.Qb(n,q,!0),c.Qb(n,z,!0),c.Qb(n,W,!0),c.Qb(n,K,!0),c.Qb(n,X,!0)),2&e&&(c.Fc(r=c.nc())&&(t._controlNonStatic=r.first),c.Fc(r=c.nc())&&(t._controlStatic=r.first),c.Fc(r=c.nc())&&(t._labelChildNonStatic=r.first),c.Fc(r=c.nc())&&(t._labelChildStatic=r.first),c.Fc(r=c.nc())&&(t._placeholderChild=r.first),c.Fc(r=c.nc())&&(t._errorChildren=r),c.Fc(r=c.nc())&&(t._hintChildren=r),c.Fc(r=c.nc())&&(t._prefixChildren=r),c.Fc(r=c.nc())&&(t._suffixChildren=r))},viewQuery:function(e,t){var n;1&e&&(c.ad(C,!0),c.Qc(A,!0),c.ad(k,!0),c.ad(S,!0)),2&e&&(c.Fc(n=c.nc())&&(t.underlineRef=n.first),c.Fc(n=c.nc())&&(t._connectionContainerRef=n.first),c.Fc(n=c.nc())&&(t._inputContainerRef=n.first),c.Fc(n=c.nc())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&c.Ob("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat)("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[c.Jb([{provide:te,useExisting:e}]),c.Hb],ngContentSelectors:N,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(c.wc(I),c.ec(0,"div",0),c.ec(1,"div",1,2),c.mc("click",(function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)})),c.Sc(3,x,9,0,"ng-container",3),c.Sc(4,D,2,0,"div",4),c.ec(5,"div",5,6),c.vc(7),c.ec(8,"span",7),c.Sc(9,M,5,16,"label",8),c.dc(),c.dc(),c.Sc(10,P,2,0,"div",9),c.dc(),c.Sc(11,L,3,4,"div",10),c.ec(12,"div",11),c.Sc(13,R,2,1,"div",12),c.Sc(14,j,5,2,"div",13),c.dc(),c.dc()),2&e&&(c.Kb(3),c.xc("ngIf","outline"==t.appearance),c.Kb(1),c.xc("ngIf",t._prefixChildren.length),c.Kb(5),c.xc("ngIf",t._hasFloatingLabel()),c.Kb(1),c.xc("ngIf",t._suffixChildren.length),c.Kb(1),c.xc("ngIf","outline"!=t.appearance),c.Kb(1),c.xc("ngSwitch",t._getDisplayedMessages()),c.Kb(1),c.xc("ngSwitchCase","error"),c.Kb(1),c.xc("ngSwitchCase","hint"))},directives:[l.k,l.m,l.n,u.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[Y.transitionMessages]},changeDetection:0}),e}(),re=function(){var e=function e(){Object(s.a)(this,e)};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)},imports:[[l.b,d.j,u.c],d.j]}),e}()},kpkV:function(e,t,n){"use strict";n.d(t,"D",(function(){return s})),n.d(t,"q",(function(){return l})),n.d(t,"H",(function(){return c})),n.d(t,"p",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"k",(function(){return h})),n.d(t,"r",(function(){return p})),n.d(t,"x",(function(){return m})),n.d(t,"h",(function(){return v})),n.d(t,"t",(function(){return g})),n.d(t,"s",(function(){return y})),n.d(t,"C",(function(){return b})),n.d(t,"B",(function(){return _})),n.d(t,"j",(function(){return w})),n.d(t,"i",(function(){return E})),n.d(t,"w",(function(){return C})),n.d(t,"b",(function(){return A})),n.d(t,"z",(function(){return k})),n.d(t,"y",(function(){return S})),n.d(t,"m",(function(){return x})),n.d(t,"n",(function(){return D})),n.d(t,"v",(function(){return O})),n.d(t,"u",(function(){return T})),n.d(t,"L",(function(){return F})),n.d(t,"a",(function(){return M})),n.d(t,"c",(function(){return P})),n.d(t,"K",(function(){return L})),n.d(t,"o",(function(){return R})),n.d(t,"A",(function(){return B})),n.d(t,"I",(function(){return j})),n.d(t,"J",(function(){return I})),n.d(t,"f",(function(){return N})),n.d(t,"e",(function(){return H})),n.d(t,"d",(function(){return z})),n.d(t,"G",(function(){return Y})),n.d(t,"g",(function(){return U})),n.d(t,"E",(function(){return V})),n.d(t,"F",(function(){return $}));var r=n("//cU"),i=n("S2Kk"),o=n("49mS"),a=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},s="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||void 0,u=s.angular||{},l=u.fromJson||JSON.parse.bind(JSON),c=u.toJson||JSON.stringify.bind(JSON),d=u.forEach||function(e,t,n){if(Object(r.a)(e))return e.forEach(t,n);Object.keys(e).forEach((function(n){return t(e[n],n)}))},f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)e[r[i]]=n[r[i]]}return e},h=u.equals||function e(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;var o=typeof t;if(o!==typeof n||"object"!==o)return!1;var a,s,u=[t,n];if(Object(i.a)(r.a)(u))return(a=t).length===(s=n).length&&H(a,s).reduce((function(t,n){return t&&e(n[0],n[1])}),!0);if(Object(i.a)(r.b)(u))return t.getTime()===n.getTime();if(Object(i.a)(r.k)(u))return t.toString()===n.toString();if(Object(i.a)(r.d)(u))return!0;if([r.d,r.a,r.b,r.k].map(i.c).reduce((function(e,t){return e||!!t(u)}),!1))return!1;var l={};for(var c in t){if(!e(t[c],n[c]))return!1;l[c]=!0}for(var c in n)if(!l[c])return!1;return!0};function p(e){return e}function m(){}function v(e,t,n,r,i){void 0===i&&(i=!1);var o=function(t){return e()[t].bind(n())};return(r=r||Object.keys(e())).reduce((function(e,n){var r;return e[n]=i?(r=n,function(){return t[r]=o(r),t[r].apply(null,arguments)}):o(n),e}),t)}var g=function(e,t){return f(Object.create(e),t)},y=Object(i.d)((function(e,t){return-1!==e.indexOf(t)})),b=Object(i.d)((function(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),e})),_=Object(i.d)((function(e,t){return e.push(t),t})),w=function(e){return e.slice().forEach((function(t){"function"==typeof t&&t(),b(e,t)}))};function E(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=f.apply(void 0,a([{}],t.reverse()));return f(r,k(e||{},Object.keys(r)))}var C=function(e,t){return f(e,t)};function A(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function k(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function S(e,t){return Object.keys(e).filter(Object(i.f)(y(t))).reduce((function(t,n){return t[n]=e[n],t}),{})}function x(e,t){var n=Object(r.a)(e),i=n?[]:{},o=n?function(e){return i.push(e)}:function(e,t){return i[t]=e};return d(e,(function(e,n){t(e,n)&&o(e,n)})),i}function D(e,t){var n;return d(e,(function(e,r){n||t(e,r)&&(n=e)})),n}var O=T;function T(e,t,n){return n=n||(Object(r.a)(e)?[]:{}),d(e,(function(e,r){return n[r]=t(e,r)})),n}var F=function(e){return Object.keys(e).map((function(t){return e[t]}))},M=function(e,t){return e&&t},P=function(e,t){return e||t},L=function(e,t){return e.concat(t)},R=function e(t,n){return Object(r.a)(n)?t.concat(n.reduce(e,[])):B(t,n)};function B(e,t){return e.push(t),e}var j=function(e,t){return y(e,t)?e:B(e,t)},I=function(e){return e.reduce(L,[])},N=function(e,t){return void 0===t&&(t="assert failure"),function(n){var i=e(n);if(!i)throw new Error(Object(r.d)(t)?t(n):t);return i}};function H(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce((function(e,t){return Math.min(t.length,e)}),9007199254740991),r=[],i=function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map((function(e){return e[t]})))}},o=0;o<n;o++)i(o);return r}function z(e,t){var n,i;if(Object(r.a)(t)&&(n=t[0],i=t[1]),!Object(r.l)(n))throw new Error("invalid parameters to applyPairs");return e[n]=i,e}function Y(e){return e.length&&e[e.length-1]||void 0}function U(e,t){return t&&Object.keys(t).forEach((function(e){return delete t[e]})),t||(t={}),f(t,e)}var V=function(e){return e.catch((function(e){return 0}))&&e},$=function(e){return V(o.b.$q.reject(e))}},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(i.a)(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(n("7o/Q").a)},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("JX7q"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("vuIU"),u=n("7o/Q");function l(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new c(e,t))}}var c=function(){function e(t,n){Object(a.a)(this,e),this.project=t,this.thisArg=n}return Object(s.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.project,this.thisArg))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,i,o){var s;return Object(a.a)(this,n),(s=t.call(this,e)).project=i,s.count=0,s.thisArg=o||Object(r.a)(s),s}return Object(s.a)(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(u.a)},lMrk:function(e,t){},loPh:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return l}));var r=n("/V7M"),i=n("//cU"),o=n("kpkV"),a=n("S2Kk"),s=n("ywKq"),u=function(){function e(e){this.router=e}return e.prototype.compile=function(e){return this.router.urlMatcherFactory.compile(e)},e.prototype.create=function(e,t){var n=this,o=s.a.isState,u=s.a.isStateDeclaration,c=Object(a.i)([[i.l,function(e){return c(n.compile(e))}],[Object(a.e)(r.a),function(e){return n.fromUrlMatcher(e,t)}],[Object(a.g)(o,u),function(e){return n.fromState(e,n.router)}],[Object(a.e)(RegExp),function(e){return n.fromRegExp(e,t)}],[i.d,function(e){return new l(e,t)}]]),d=c(e);if(!d)throw new Error("invalid 'what' in when()");return d},e.prototype.fromUrlMatcher=function(e,t){var n=t;Object(i.l)(t)&&(t=this.router.urlMatcherFactory.compile(t)),Object(a.e)(r.a)(t)&&(n=function(e){return t.format(e)});var s={urlMatcher:e,matchPriority:function(t){var n=e.parameters().filter((function(e){return e.isOptional}));return n.length?n.filter((function(e){return t[e.id]})).length/n.length:1e-6},type:"URLMATCHER"};return Object(o.l)(new l((function(t){var n=e.exec(t.path,t.search,t.hash);return e.validates(n)&&n}),n),s)},e.prototype.fromState=function(e,t){var n=s.a.isStateDeclaration(e)?e.$$state():e,r={state:n,type:"STATE"};return Object(o.l)(this.fromUrlMatcher(n.url,(function(e){var r=t.stateService,i=t.globals;r.href(n,e)!==r.href(i.current,i.params)&&r.transitionTo(n,e,{inherit:!0,source:"url"})})),r)},e.prototype.fromRegExp=function(e,t){if(e.global||e.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=Object(i.l)(t)?function(e){return t.replace(/\$(\$|\d{1,2})/,(function(t,n){return e["$"===n?0:Number(n)]}))}:t,r={regexp:e,type:"REGEXP"};return Object(o.l)(new l((function(t){return e.exec(t.path)}),n),r)},e.isUrlRule=function(e){return e&&["type","match","handler"].every((function(t){return Object(i.c)(e[t])}))},e}(),l=function(){return function(e,t){var n=this;this.match=e,this.type="RAW",this.matchPriority=function(e){return 0-n.$id},this.handler=t||o.r}}()},lqow:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return v})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return y})),n.d(t,"g",(function(){return b})),n.d(t,"m",(function(){return _})),n.d(t,"i",(function(){return w})),n.d(t,"c",(function(){return E}));var r=n("//cU"),i=n("Nr6J"),o=n("kpkV"),a=n("S2Kk");function s(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."}function u(e,t){for(;t.length<e;)t+=" ";return t}function l(e){return e.replace(/^([A-Z])/,(function(e){return e.toLowerCase()})).replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))}function c(e){var t=d(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,i=e.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function d(e){var t=Object(r.a)(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}var f=i.b.isRejectionPromise,h=Object(a.i)([[r.m,Object(a.m)("undefined")],[r.f,Object(a.m)("null")],[r.j,Object(a.m)("[Promise]")],[f,function(e){return e._transitionRejection.toString()}],[function(e){return Object(r.i)(e)&&!Object(r.a)(e)&&e.constructor!==Object&&Object(r.d)(e.toString)},function(e){return e.toString()}],[r.e,c],[Object(a.m)(!0),o.r]]);function p(e){var t=[];function n(e){if(Object(r.i)(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return h(e)}return Object(r.m)(e)?n(e):JSON.stringify(e,(function(e,t){return n(t)})).replace(/\\"/g,'"')}var m=function(e){return function(t){if(!t)return["",""];var n=t.indexOf(e);return-1===n?[t,""]:[t.substr(0,n),t.substr(n+1)]}},v=(new RegExp("^(?:[a-z]+:)?//[^/]+/"),function(e){return e.replace(/\/[^/]*$/,"")}),g=m("#"),y=m("?"),b=m("="),_=function(e){return e?e.replace(/^#/,""):""};function w(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(o.r)}}function E(e,t){return Object(r.l)(Object(o.G)(e))&&Object(r.l)(t)?e.slice(0,-1).concat(Object(o.G)(e)+t):Object(o.A)(e,t)}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("SpAZ");function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o(t)}function o(e){return 0===e.length?r.a:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}},mbIT:function(e,t,n){"use strict";t.isArray=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},"mz+W":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var r=n("SdWe"),i=n("fXoL"),o=function(){function e(){}return e.prototype.transform=function(t,n){return Array.isArray(t)?t.map((function(t){return e.transformOne(t,n)})):e.transformOne(t,n)},e.transformOne=function(e,t){return r(e,t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Xb({name:"filesize",type:e,pure:!0}),e}(),a=function(){function e(){}return e.\u0275mod=i.Wb({type:e}),e.\u0275inj=i.Vb({factory:function(t){return new(t||e)}}),e}()},n3uD:function(e,t,n){"use strict";var r=!1;t.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},nLfN:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return v}));var r,i=n("1OyB"),o=n("fXoL"),a=n("ofXK");try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){r=!1}var s,u,l,c,d=function(){var e=function e(t){Object(i.a)(this,e),this._platformId=t,this.isBrowser=this._platformId?Object(a.r)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return e.\u0275fac=function(t){return new(t||e)(o.ic(o.F,8))},e.\u0275prov=Object(o.Ub)({factory:function(){return new e(Object(o.ic)(o.F,8))},token:e,providedIn:"root"}),e}(),f=function(){var e=function e(){Object(i.a)(this,e)};return e.\u0275mod=o.Wb({type:e}),e.\u0275inj=o.Vb({factory:function(t){return new(t||e)}}),e}(),h=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(s)return s;if("object"!=typeof document||!document)return s=new Set(h);var e=document.createElement("input");return s=new Set(h.filter((function(t){return e.setAttribute("type",t),e.type===t})))}function m(e){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return u=!0}}))}finally{u=u||!1}return u}()?e:!!e.capture}function v(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function g(){if("object"!=typeof document||!document)return 0;if(null==l){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),l=0,0===e.scrollLeft&&(e.scrollLeft=1,l=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return l}function y(e){if(function(){if(null==c){var e="undefined"!=typeof document?document.head:null;c=!(!e||!e.createShadowRoot&&!e.attachShadow)}return c}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nYR2:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q"),u=n("quSY");function l(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(t){Object(o.a)(this,e),this.callback=t}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.callback))}}]),e}(),d=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i;return Object(o.a)(this,n),(i=t.call(this,e)).add(new u.a(r)),i}return n}(s.a)},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}}},nzIk:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("kpkV"),i=n("S2Kk"),o=n("U/8i"),a=function(){function e(t){if(t instanceof e){var n=t;this.state=n.state,this.paramSchema=n.paramSchema.slice(),this.paramValues=Object(r.l)({},n.paramValues),this.resolvables=n.resolvables.slice(),this.views=n.views&&n.views.slice()}else{var i=t;this.state=i,this.paramSchema=i.parameters({inherit:!1}),this.paramValues={},this.resolvables=i.resolvables.map((function(e){return e.clone()}))}}return e.prototype.clone=function(){return new e(this)},e.prototype.applyRawParams=function(e){return this.paramValues=this.paramSchema.reduce((function(t,n){return Object(r.d)(t,[(i=n).id,i.value(e[i.id])]);var i}),{}),this},e.prototype.parameter=function(e){return Object(r.n)(this.paramSchema,Object(i.l)("id",e))},e.prototype.equals=function(e,t){var n=this.diff(e,t);return n&&0===n.length},e.prototype.diff=function(e,t){if(this.state!==e.state)return!1;var n=t?t(this):this.paramSchema;return o.b.changed(n,this.paramValues,e.paramValues)},e.clone=function(e){return e.clone()},e}()},o0o1:function(e,t,n){e.exports=n("ls82")},o7Ob:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("kpkV"),i=n("S2Kk"),o=n("fqbi"),a=n("nzIk"),s=function(){function e(){}return e.makeTargetState=function(e,t){var n=Object(r.G)(t).state;return new o.a(e,n,t.map(Object(i.k)("paramValues")).reduce(r.w,{}),{})},e.buildPath=function(e){var t=e.params();return e.$state().path.map((function(e){return new a.a(e).applyRawParams(t)}))},e.buildToPath=function(t,n){var r=e.buildPath(n);return n.options().inherit?e.inheritParams(t,r,Object.keys(n.params())):r},e.applyViewConfigs=function(t,n,i){n.filter((function(e){return Object(r.s)(i,e.state)})).forEach((function(i){var o=Object(r.L)(i.state.views||{}),a=e.subPath(n,(function(e){return e===i})),s=o.map((function(e){return t.createViewConfig(a,e)}));i.views=s.reduce(r.K,[])}))},e.inheritParams=function(e,t,n){void 0===n&&(n=[]);var o=e.map((function(e){return e.paramSchema})).reduce(r.K,[]).filter((function(e){return!e.inherit})).map(Object(i.k)("id"));return t.map((function(t){var s=Object(r.l)({},t&&t.paramValues),u=Object(r.z)(s,n);s=Object(r.y)(s,n);var l,c,d,f=Object(r.y)((l=e,c=t.state,d=Object(r.n)(l,Object(i.l)("state",c)),Object(r.l)({},d&&d.paramValues)||{}),o),h=Object(r.l)(s,f,u);return new a.a(t.state).applyRawParams(h)}))},e.treeChanges=function(t,n,r){for(var i,o,a,s,u=Math.min(t.length,n.length),l=0;l<u&&t[l].state!==r&&t[l].equals(n[l],e.nonDynamicParams);)l++;o=(i=t).slice(0,l),a=i.slice(l);var c=o.map((function(e,t){var r=e.clone();return r.paramValues=n[t].paramValues,r}));return s=n.slice(l),{from:i,to:c.concat(s),retained:o,retainedWithToParams:c,exiting:a,entering:s}},e.matching=function(e,t,n){var i=!1;return Object(r.e)(e,t).reduce((function(e,t){var r=t[0];return(i=i||!r.equals(t[1],n))?e:e.concat(r)}),[])},e.equals=function(t,n,r){return t.length===n.length&&e.matching(t,n,r).length===t.length},e.subPath=function(e,t){var n=Object(r.n)(e,t),i=e.indexOf(n);return-1===i?void 0:e.slice(0,i+1)},e.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter((function(e){return!e.dynamic}))},e.paramValues=function(e){return e.reduce((function(e,t){return Object(r.l)(e,t.paramValues)}),{})},e}()},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return je})),n.d(t,"b",(function(){return He})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return Ie})),n.d(t,"e",(function(){return Ne})),n.d(t,"f",(function(){return x})),n.d(t,"g",(function(){return D})),n.d(t,"h",(function(){return C})),n.d(t,"i",(function(){return _e})),n.d(t,"j",(function(){return Ee})),n.d(t,"k",(function(){return Ae})),n.d(t,"l",(function(){return Fe})),n.d(t,"m",(function(){return De})),n.d(t,"n",(function(){return Oe})),n.d(t,"o",(function(){return Te})),n.d(t,"p",(function(){return Me})),n.d(t,"q",(function(){return S})),n.d(t,"r",(function(){return Ye})),n.d(t,"s",(function(){return Ue})),n.d(t,"t",(function(){return h})),n.d(t,"u",(function(){return ze})),n.d(t,"v",(function(){return d})),n.d(t,"w",(function(){return be})),n.d(t,"x",(function(){return f}));var r=n("uFwe"),i=n("ODXe"),o=n("vuIU"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("fXoL"),c=null;function d(){return c}function f(e){c||(c=e)}var h=function e(){Object(u.a)(this,e)},p=new l.s("DocumentToken"),m=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(l.Ub)({factory:v,token:e,providedIn:"platform"}),e}();function v(){return Object(l.ic)(g)}var g=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(u.a)(this,n),(r=t.call(this))._doc=e,r._init(),r}return Object(o.a)(n,[{key:"_init",value:function(){this.location=d().getLocation(),this._history=d().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return d().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){d().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){d().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){y()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){y()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(l.ic(p))},e.\u0275prov=Object(l.Ub)({factory:b,token:e,providedIn:"platform"}),e}();function y(){return!!window.history.pushState}function b(){return new g(Object(l.ic)(p))}function _(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function w(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function E(e){return e&&"?"!==e[0]?"?"+e:e}var C=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(l.Ub)({factory:A,token:e,providedIn:"root"}),e}();function A(e){var t=Object(l.ic)(p).location;return new S(Object(l.ic)(m),t&&t.origin||"")}var k=new l.s("appBaseHref"),S=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;if(Object(u.a)(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,i}return Object(o.a)(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return _(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+E(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(l.ic(m),l.ic(k,8))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),x=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return Object(o.a)(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=_(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(l.ic(m),l.ic(k,8))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),D=function(){var e=function(){function e(t,n){var r=this;Object(u.a)(this,e),this._subject=new l.q,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=w(T(i)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return Object(o.a)(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+E(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,T(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+E(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+E(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(C),l.ic(m))},e.normalizeQueryParams=E,e.joinWithSlash=_,e.stripTrailingSlash=w,e.\u0275prov=Object(l.Ub)({factory:O,token:e,providedIn:"root"}),e}();function O(){return new D(Object(l.ic)(C),Object(l.ic)(m))}function T(e){return e.replace(/\/index.html$/,"")}var F=function(){var e={Decimal:0,Percent:1,Currency:2,Scientific:3};return e[e.Decimal]="Decimal",e[e.Percent]="Percent",e[e.Currency]="Currency",e[e.Scientific]="Scientific",e}(),M=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),P=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),L=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),R=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),B=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function j(e,t){return U(Object(l.tb)(e)[l.ib.DateFormat],t)}function I(e,t){return U(Object(l.tb)(e)[l.ib.TimeFormat],t)}function N(e,t){return U(Object(l.tb)(e)[l.ib.DateTimeFormat],t)}function H(e,t){var n=Object(l.tb)(e),r=n[l.ib.NumberSymbols][t];if(void 0===r){if(t===B.CurrencyDecimal)return n[l.ib.NumberSymbols][B.Decimal];if(t===B.CurrencyGroup)return n[l.ib.NumberSymbols][B.Group]}return r}var z=l.wb;function Y(e){if(!e[l.ib.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[l.ib.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function U(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function V(e){var t=e.split(":"),n=Object(i.a)(t,2);return{hours:+n[0],minutes:+n[1]}}var $=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,W={},G=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,q=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),K=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),X=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function Z(e,t,n,r){var o=function(e){if(de(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=e.split("-").map((function(e){return+e})),o=Object(i.a)(r,3);return new Date(o[0],o[1]-1,o[2])}if(t=e.match($))return function(e){var t=new Date(0),n=0,r=0,i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,u=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,u,l),t}(t)}var a=new Date(e);if(!de(a))throw new Error('Unable to convert "'.concat(e,'" into a date'));return a}(e);t=function e(t,n){var r=function(e){return Object(l.tb)(e)[l.ib.LocaleId]}(t);if(W[r]=W[r]||{},W[r][n])return W[r][n];var i="";switch(n){case"shortDate":i=j(t,R.Short);break;case"mediumDate":i=j(t,R.Medium);break;case"longDate":i=j(t,R.Long);break;case"fullDate":i=j(t,R.Full);break;case"shortTime":i=I(t,R.Short);break;case"mediumTime":i=I(t,R.Medium);break;case"longTime":i=I(t,R.Long);break;case"fullTime":i=I(t,R.Full);break;case"short":var o=e(t,"shortTime"),a=e(t,"shortDate");i=J(N(t,R.Short),[o,a]);break;case"medium":var s=e(t,"mediumTime"),u=e(t,"mediumDate");i=J(N(t,R.Medium),[s,u]);break;case"long":var c=e(t,"longTime"),d=e(t,"longDate");i=J(N(t,R.Long),[c,d]);break;case"full":var f=e(t,"fullTime"),h=e(t,"fullDate");i=J(N(t,R.Full),[f,h])}return i&&(W[r][n]=i),i}(n,t)||t;for(var a,s=[];t;){if(!(a=G.exec(t))){s.push(t);break}var u=(s=s.concat(a.slice(1))).pop();if(!u)break;t=u}var c=o.getTimezoneOffset();r&&(c=ce(r,c),o=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ce(t,r)-r))}(o,r));var d="";return s.forEach((function(e){var t=function(e){if(le[e])return le[e];var t;switch(e){case"G":case"GG":case"GGG":t=re(X.Eras,L.Abbreviated);break;case"GGGG":t=re(X.Eras,L.Wide);break;case"GGGGG":t=re(X.Eras,L.Narrow);break;case"y":t=te(K.FullYear,1,0,!1,!0);break;case"yy":t=te(K.FullYear,2,0,!0,!0);break;case"yyy":t=te(K.FullYear,3,0,!1,!0);break;case"yyyy":t=te(K.FullYear,4,0,!1,!0);break;case"M":case"L":t=te(K.Month,1,1);break;case"MM":case"LL":t=te(K.Month,2,1);break;case"MMM":t=re(X.Months,L.Abbreviated);break;case"MMMM":t=re(X.Months,L.Wide);break;case"MMMMM":t=re(X.Months,L.Narrow);break;case"LLL":t=re(X.Months,L.Abbreviated,P.Standalone);break;case"LLLL":t=re(X.Months,L.Wide,P.Standalone);break;case"LLLLL":t=re(X.Months,L.Narrow,P.Standalone);break;case"w":t=ue(1);break;case"ww":t=ue(2);break;case"W":t=ue(1,!0);break;case"d":t=te(K.Date,1);break;case"dd":t=te(K.Date,2);break;case"E":case"EE":case"EEE":t=re(X.Days,L.Abbreviated);break;case"EEEE":t=re(X.Days,L.Wide);break;case"EEEEE":t=re(X.Days,L.Narrow);break;case"EEEEEE":t=re(X.Days,L.Short);break;case"a":case"aa":case"aaa":t=re(X.DayPeriods,L.Abbreviated);break;case"aaaa":t=re(X.DayPeriods,L.Wide);break;case"aaaaa":t=re(X.DayPeriods,L.Narrow);break;case"b":case"bb":case"bbb":t=re(X.DayPeriods,L.Abbreviated,P.Standalone,!0);break;case"bbbb":t=re(X.DayPeriods,L.Wide,P.Standalone,!0);break;case"bbbbb":t=re(X.DayPeriods,L.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":t=re(X.DayPeriods,L.Abbreviated,P.Format,!0);break;case"BBBB":t=re(X.DayPeriods,L.Wide,P.Format,!0);break;case"BBBBB":t=re(X.DayPeriods,L.Narrow,P.Format,!0);break;case"h":t=te(K.Hours,1,-12);break;case"hh":t=te(K.Hours,2,-12);break;case"H":t=te(K.Hours,1);break;case"HH":t=te(K.Hours,2);break;case"m":t=te(K.Minutes,1);break;case"mm":t=te(K.Minutes,2);break;case"s":t=te(K.Seconds,1);break;case"ss":t=te(K.Seconds,2);break;case"S":t=te(K.FractionalSeconds,1);break;case"SS":t=te(K.FractionalSeconds,2);break;case"SSS":t=te(K.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=oe(q.Short);break;case"ZZZZZ":t=oe(q.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=oe(q.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=oe(q.Long);break;default:return null}return le[e]=t,t}(e);d+=t?t(o,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),d}function J(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));for(var a=String(e);a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),o+a}function ee(e,t){return Q(e,3).substr(0,t)}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,a){var s=ne(e,o);if((n>0||s>-n)&&(s+=n),e===K.Hours)0===s&&-12===n&&(s=12);else if(e===K.FractionalSeconds)return ee(s,t);var u=H(a,B.MinusSign);return Q(s,t,u,r,i)}}function ne(e,t){switch(e){case K.FullYear:return t.getFullYear();case K.Month:return t.getMonth();case K.Date:return t.getDate();case K.Hours:return t.getHours();case K.Minutes:return t.getMinutes();case K.Seconds:return t.getSeconds();case K.FractionalSeconds:return t.getMilliseconds();case K.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.Format,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(i,o){return ie(i,o,e,t,n,r)}}function ie(e,t,n,r,i,o){switch(n){case X.Months:return function(e,t,n){var r=Object(l.tb)(e),i=U([r[l.ib.MonthsFormat],r[l.ib.MonthsStandalone]],t);return U(i,n)}(t,i,r)[e.getMonth()];case X.Days:return function(e,t,n){var r=Object(l.tb)(e),i=U([r[l.ib.DaysFormat],r[l.ib.DaysStandalone]],t);return U(i,n)}(t,i,r)[e.getDay()];case X.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(o){var u,c=function(e){var t=Object(l.tb)(e);return Y(t),(t[l.ib.ExtraData][2]||[]).map((function(e){return"string"==typeof e?V(e):[V(e[0]),V(e[1])]}))}(t),d=function(e,t,n){var r=Object(l.tb)(e);Y(r);var i=U([r[l.ib.ExtraData][0],r[l.ib.ExtraData][1]],t)||[];return U(i,n)||[]}(t,i,r);if(c.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],i=r.hours;a>=n.hours&&s>=n.minutes&&(a<i||a===i&&s<r.minutes)&&(u=d[t])}else e.hours===a&&e.minutes===s&&(u=d[t])})),u)return u}return function(e,t,n){var r=Object(l.tb)(e),i=U([r[l.ib.DayPeriodsFormat],r[l.ib.DayPeriodsStandalone]],t);return U(i,n)}(t,i,r)[a<12?0:1];case X.Eras:return function(e,t){return U(Object(l.tb)(e)[l.ib.Eras],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type ".concat(n))}}function oe(e){return function(t,n,r){var i=-1*r,o=H(n,B.MinusSign),a=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case q.Short:return(i>=0?"+":"")+Q(a,2,o)+Q(Math.abs(i%60),2,o);case q.ShortGMT:return"GMT"+(i>=0?"+":"")+Q(a,1,o);case q.Long:return"GMT"+(i>=0?"+":"")+Q(a,2,o)+":"+Q(Math.abs(i%60),2,o);case q.Extended:return 0===r?"Z":(i>=0?"+":"")+Q(a,2,o)+":"+Q(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function ae(e){var t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}function se(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var i;if(t){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,a=n.getDate();i=1+Math.floor((a+o)/7)}else{var s=ae(n.getFullYear()),u=se(n).getTime()-s.getTime();i=1+Math.round(u/6048e5)}return Q(i,e,H(r,B.MinusSign))}}var le={};function ce(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function de(e){return e instanceof Date&&!isNaN(e.valueOf())}var fe=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function he(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}function pe(e){var t,n,r,i,o,a=Math.abs(e)+"",s=0;for((n=a.indexOf("."))>-1&&(a=a.replace(".","")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;"0"===a.charAt(r);r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;"0"===a.charAt(o);)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=Number(a.charAt(r))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}function me(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var r=e.digits,i=r.length-e.integerLen,o=Math.min(Math.max(t,i),n),a=o+e.integerLen,s=r[a];if(a>0){r.splice(Math.max(e.integerLen,a));for(var u=a;u<r.length;u++)r[u]=0}else{i=Math.max(0,i),e.integerLen=1,r.length=Math.max(1,a=o+1),r[0]=0;for(var l=1;l<a;l++)r[l]=0}if(s>=5)if(a-1<0){for(var c=0;c>a;c--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[a-1]++;for(;i<Math.max(0,o);i++)r.push(0);var d=0!==o,f=t+e.integerLen,h=r.reduceRight((function(e,t,n,r){return r[n]=(t+=e)<10?t:t-10,d&&(0===r[n]&&n>=f?r.pop():d=!1),t>=10?1:0}),0);h&&(r.unshift(h),e.integerLen++)}function ve(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var ge=function e(){Object(u.a)(this,e)},ye=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(u.a)(this,n),(r=t.call(this)).locale=e,r}return Object(o.a)(n,[{key:"getPluralCategory",value:function(e,t){switch(z(t||this.locale)(e)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}]),n}(ge);return e.\u0275fac=function(t){return new(t||e)(l.ic(l.x))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}();function be(e,t){t=encodeURIComponent(t);var n,o=Object(r.a)(e.split(";"));try{for(o.s();!(n=o.n()).done;){var a=n.value,s=a.indexOf("="),u=-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],l=Object(i.a)(u,2),c=l[1];if(l[0].trim()===t)return decodeURIComponent(c)}}catch(d){o.e(d)}finally{o.f()}return null}var _e=function(){var e=function(){function e(t,n,r,i){Object(u.a)(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object(o.a)(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Object(l.Fb)(e.item)));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(l.zb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.v),l.Yb(l.w),l.Yb(l.n),l.Yb(l.J))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),we=function(){function e(t,n,r,i){Object(u.a)(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return Object(o.a)(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),Ee=function(){var e=function(){function e(t,n,r){Object(u.a)(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object(o.a)(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new we(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new Ce(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var u=new Ce(e,s);n.push(u)}}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var a=this._viewContainer.get(i);a.context.index=i,a.context.count=o,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}},{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(e){Object(l.db)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". ")+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.V),l.Yb(l.Q),l.Yb(l.v))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),Ce=function e(t,n){Object(u.a)(this,e),this.record=t,this.view=n},Ae=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this._viewContainer=t,this._context=new ke,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return Object(o.a)(e,[{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}},{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){Se("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){Se("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.V),l.Yb(l.Q))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),ke=function e(){Object(u.a)(this,e),this.$implicit=null,this.ngIf=null};function Se(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(l.Fb)(t),"'."))}var xe=function(){function e(t,n){Object(u.a)(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return Object(o.a)(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),De=function(){var e=function(){function e(){Object(u.a)(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object(o.a)(e,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}},{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=l.Tb({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),Oe=function(){var e=function(){function e(t,n,r){Object(u.a)(this,e),this.ngSwitch=r,r._addCase(),this._view=new xe(t,n)}return Object(o.a)(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.V),l.Yb(l.Q),l.Yb(De,1))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),Te=function(){var e=function e(t,n,r){Object(u.a)(this,e),r._addDefault(new xe(t,n))};return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.V),l.Yb(l.Q),l.Yb(De,1))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),Fe=function(){var e=function(){function e(t,n,r){Object(u.a)(this,e),this._ngEl=t,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}return Object(o.a)(e,[{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=e.split("."),r=Object(i.a)(n,2),o=r[0],a=r[1];null!=(t=null!=t&&a?"".concat(t).concat(a):t)?this._renderer.setStyle(this._ngEl.nativeElement,o,t):this._renderer.removeStyle(this._ngEl.nativeElement,o)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))}},{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.n),l.Yb(l.w),l.Yb(l.J))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),Me=function(){var e=function(){function e(t){Object(u.a)(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return Object(o.a)(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var i,o=Object(r.a)(n);try{for(o.s();!(i=o.n()).done;)if(-1===t.indexOf(i.value))return!0}catch(a){o.e(a)}finally{o.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.V))},e.\u0275dir=l.Tb({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[l.Ib]}),e}();function Pe(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(l.Fb)(e),"'"))}var Le=function(){function e(){Object(u.a)(this,e)}return Object(o.a)(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),Re=new(function(){function e(){Object(u.a)(this,e)}return Object(o.a)(e,[{key:"createSubscription",value:function(e,t){return e.then(t,(function(e){throw e}))}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),Be=new Le,je=function(){var e=function(){function e(t){Object(u.a)(this,e),this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return Object(o.a)(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Object(l.Cb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,l.X.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))}},{key:"_selectStrategy",value:function(t){if(Object(l.Bb)(t))return Re;if(Object(l.Ab)(t))return Be;throw Pe(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.kc())},e.\u0275pipe=l.Xb({name:"async",type:e,pure:!1}),e}(),Ie=function(){var e=function(){function e(t){Object(u.a)(this,e),this.locale=t}return Object(o.a)(e,[{key:"transform",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return Z(t,n,i||this.locale,r)}catch(o){throw Pe(e,o.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.x))},e.\u0275pipe=l.Xb({name:"date",type:e,pure:!0}),e}(),Ne=function(){var e=function(){function e(t){Object(u.a)(this,e),this._locale=t}return Object(o.a)(e,[{key:"transform",value:function(t,n,r){if(function(e){return null==e||""===e||e!=e}(t))return null;r=r||this._locale;try{return function(e,t,n){return function(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",u=!1;if(isFinite(e)){var l=pe(e);a&&(l=he(l));var c=t.minInt,d=t.minFrac,f=t.maxFrac;if(o){var h=o.match(fe);if(null===h)throw new Error("".concat(o," is not a valid digit info"));var p=h[1],m=h[3],v=h[5];null!=p&&(c=ve(p)),null!=m&&(d=ve(m)),null!=v?f=ve(v):null!=m&&d>f&&(f=d)}me(l,d,f);var g=l.digits,y=l.integerLen,b=l.exponent,_=[];for(u=g.every((function(e){return!e}));y<c;y++)g.unshift(0);for(;y<0;y++)g.unshift(0);y>0?_=g.splice(y,g.length):(_=g,g=[0]);var w=[];for(g.length>=t.lgSize&&w.unshift(g.splice(-t.lgSize,g.length).join(""));g.length>t.gSize;)w.unshift(g.splice(-t.gSize,g.length).join(""));g.length&&w.unshift(g.join("")),s=w.join(H(n,r)),_.length&&(s+=H(n,i)+_.join("")),b&&(s+=H(n,B.Exponential)+"+"+b)}else s=H(n,B.Infinity);return e<0&&!u?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}(e,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(";"),i=r[0],o=r[1],a=-1!==i.indexOf(".")?i.split("."):[i.substring(0,i.lastIndexOf("0")+1),i.substring(i.lastIndexOf("0")+1)],s=a[0],u=a[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var l=0;l<u.length;l++){var c=u.charAt(l);"0"===c?n.minFrac=n.maxFrac=l+1:"#"===c?n.maxFrac=l+1:n.posSuf+=c}var d=s.split(",");if(n.gSize=d[1]?d[1].length:0,n.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,o){var f=i.length-n.posPre.length-n.posSuf.length,h=o.indexOf("#");n.negPre=o.substr(0,h).replace(/'/g,""),n.negSuf=o.substr(h+f).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}(function(e,t){return Object(l.tb)(e)[l.ib.NumberFormats][t]}(t,F.Decimal),H(t,B.MinusSign)),t,B.Group,B.Decimal,n)}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error("".concat(e," is not a number"));return e}(t),r,n)}catch(i){throw Pe(e,i.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(l.x))},e.\u0275pipe=l.Xb({name:"number",type:e,pure:!0}),e}(),He=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)},providers:[{provide:ge,useClass:ye}]}),e}(),ze="browser";function Ye(e){return e===ze}function Ue(e){return"server"===e}},"p//D":function(e,t,n){"use strict";t.rxSubscriber=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),t.$$rxSubscriber=t.rxSubscriber},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q");function u(e,t){return function(n){return n.lift(new l(e,t))}}var l=function(){function e(t,n){Object(o.a)(this,e),this.predicate=t,this.thisArg=n}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.predicate,this.thisArg))}}]),e}(),c=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r,i){var a;return Object(o.a)(this,n),(a=t.call(this,e)).predicate=r,a.thisArg=i,a.count=0,a}return Object(a.a)(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(s.a)},"pn7+":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("N5pH"),i=function(){return function(e,t,n,i,o,a,s,u){void 0===o&&(o=!1),void 0===a&&(a=r.a.HANDLE_RESULT),void 0===s&&(s=r.a.REJECT_ERROR),void 0===u&&(u=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=i,this.reverseSort=o,this.getResultHandler=a,this.getErrorHandler=s,this.synchronous=u}}()},pshJ:function(e,t,n){"use strict";t.isFunction=function(e){return"function"==typeof e}},q1tI:function(e,t,n){"use strict";e.exports=n("viRO")},q3Kh:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n("FWf1");t.map=function(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}};var o=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}();t.MapOperator=o;var a=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(i.Subscriber)},qFsG:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return A}));var r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("nLfN"),u=n("fXoL"),l=n("8LU1"),c=n("EY2u"),d=n("XNiG"),f=(n("xgIS"),n("3UWI"),n("1G5W"),n("ofXK"),Object(s.f)({passive:!0})),h=function(){var e=function(){function e(t,n){Object(r.a)(this,e),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return Object(i.a)(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return c.a;var n=Object(l.e)(e),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new d.a,o="cdk-text-field-autofilled",a=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(o)&&(n.classList.remove(o),t._ngZone.run((function(){return i.next({target:e.target,isAutofilled:!1})}))):(n.classList.add(o),t._ngZone.run((function(){return i.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",a,f),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",a,f)}}),i.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Object(l.e)(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach((function(t,n){return e.stopMonitoring(n)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(s.a),u.ic(u.C))},e.\u0275prov=Object(u.Ub)({factory:function(){return new e(Object(u.ic)(s.a),Object(u.ic)(u.C))},token:e,providedIn:"root"}),e}(),p=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},imports:[[s.b]]}),e}(),m=n("FKr1"),v=n("kmnG"),g=n("3Pt+"),y=new u.s("MAT_INPUT_VALUE_ACCESSOR"),b=["button","checkbox","file","hidden","image","radio","range","reset","submit"],_=0,w=function e(t,n,i,o){Object(r.a)(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=o},E=Object(m.B)(w),C=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,i,o,a,u,l,c,f,h){var p;Object(r.a)(this,n),(p=t.call(this,l,a,u,o))._elementRef=e,p._platform=i,p.ngControl=o,p._autofillMonitor=f,p._uid="mat-input-".concat(_++),p.focused=!1,p.stateChanges=new d.a,p.controlType="mat-input",p.autofilled=!1,p._disabled=!1,p._required=!1,p._type="text",p._readonly=!1,p._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return Object(s.e)().has(e)}));var m=p._elementRef.nativeElement,v=m.nodeName.toLowerCase();return p._inputValueAccessor=c||m,p._previousNativeValue=p.value,p.id=p.id,i.IOS&&h.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),p._isServer=!p._platform.isBrowser,p._isNativeSelect="select"===v,p._isTextarea="textarea"===v,p._isNativeSelect&&(p.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select"),p}return Object(i.a)(n,[{key:"ngOnInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){if(b.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Object(l.c)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(l.c)(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Object(s.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=Object(l.c)(e)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}}]),n}(E);return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n),u.Yb(s.a),u.Yb(g.m,10),u.Yb(g.p,8),u.Yb(g.h,8),u.Yb(m.d),u.Yb(y,10),u.Yb(h),u.Yb(u.C))},e.\u0275dir=u.Tb({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&u.mc("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(u.hc("disabled",t.disabled)("required",t.required),u.Lb("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),u.Ob("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[u.Jb([{provide:v.d,useExisting:e}]),u.Hb,u.Ib]}),e}(),A=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},providers:[m.d],imports:[[p,v.e],p,v.e]}),e}()},"qZ+J":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("kpkV"),i={log:r.x,error:r.x,table:r.x},o="undefined"!=typeof document&&document.documentMode&&9===document.documentMode?window&&window.console?function(e){var t=function(t){return Function.prototype.bind.call(t,e)};return{log:t(e.log),error:t(e.log),table:t(e.log)}}(window.console):i:console.table&&console.error?console:function(e){var t=e.log.bind(e);return{log:t,error:e.error?e.error.bind(e):t,table:e.table?e.table.bind(e):t}}(console)},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("1OyB"),i=n("vuIU"),o=n("DH7j"),a=n("XoHu"),s=n("n6bG"),u=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),l=function(){var e,t=function(){function e(t){Object(r.a)(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return Object(i.a)(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var l=0;l<n.length;++l)n[l].remove(this);if(Object(s.a)(r))try{r.call(this)}catch(p){t=p instanceof u?c(p.errors):[p]}if(Object(o.a)(i))for(var d=-1,f=i.length;++d<f;){var h=i[d];if(Object(a.a)(h))try{h.unsubscribe()}catch(p){t=t||[],p instanceof u?t=t.concat(c(p.errors)):t.push(p)}}if(t)throw new u(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}();return t.EMPTY=((e=new t).closed=!0,e),t}();function c(e){return e.reduce((function(e,t){return e.concat(t instanceof u?t.errors:t)}),[])}},rDax:function(e,t,n){"use strict";n.d(t,"a",(function(){return K})),n.d(t,"b",(function(){return q})),n.d(t,"c",(function(){return $})),n.d(t,"d",(function(){return D})),n.d(t,"e",(function(){return R})),n.d(t,"f",(function(){return Z})),n.d(t,"g",(function(){return U})),n("ReuC"),n("foSv"),n("Ji7U"),n("LK+K");var r=n("ODXe"),i=n("uFwe"),o=n("1OyB"),a=n("vuIU"),s=n("vxfF"),u=n("fXoL"),l=n("nLfN"),c=n("cH1L"),d=n("ofXK"),f=n("8LU1"),h=n("+rOU"),p=n("XNiG"),m=n("quSY"),v=n("VRyK"),g=n("IzEk"),y=n("1G5W"),b=n("FtGj"),_=function(){function e(t,n){Object(o.a)(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return Object(a.a)(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(f.d)(-this._previousScrollPosition.left),e.style.top=Object(f.d)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=i}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}();function w(){return Error("Scroll strategy has already been attached.")}var E=function(){function e(t,n,r,i){var a=this;Object(o.a)(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}return Object(a.a)(e,[{key:"attach",value:function(e){if(this._overlayRef)throw w();this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),C=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function A(e,t){return t.some((function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right}))}function k(e,t){return t.some((function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right}))}var S=function(){function e(t,n,r,i){Object(o.a)(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=i,this._scrollSubscription=null}return Object(a.a)(e,[{key:"attach",value:function(e){if(this._overlayRef)throw w();this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,i=n.height;A(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),x=function(){var e=function e(t,n,r,i){var a=this;Object(o.a)(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this.noop=function(){return new C},this.close=function(e){return new E(a._scrollDispatcher,a._ngZone,a._viewportRuler,e)},this.block=function(){return new _(a._viewportRuler,a._document)},this.reposition=function(e){return new S(a._scrollDispatcher,a._viewportRuler,a._ngZone,e)},this._document=i};return e.\u0275fac=function(t){return new(t||e)(u.ic(s.f),u.ic(s.h),u.ic(u.C),u.ic(d.c))},e.\u0275prov=Object(u.Ub)({factory:function(){return new e(Object(u.ic)(s.f),Object(u.ic)(s.h),Object(u.ic)(u.C),Object(u.ic)(d.c))},token:e,providedIn:"root"}),e}(),D=function e(t){if(Object(o.a)(this,e),this.scrollStrategy=new C,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];void 0!==t[i]&&(this[i]=t[i])}},O=function e(t,n,r,i,a){Object(o.a)(this,e),this.offsetX=r,this.offsetY=i,this.panelClass=a,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY},T=function e(t,n){Object(o.a)(this,e),this.connectionPair=t,this.scrollableViewProperties=n};function F(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid ".concat(e,' "').concat(t,'". ')+'Expected "top", "bottom" or "center".')}function M(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid ".concat(e,' "').concat(t,'". ')+'Expected "start", "end" or "center".')}var P=function(){var e=function(){function e(t){var n=this;Object(o.a)(this,e),this._attachedOverlays=[],this._keydownListener=function(e){for(var t=n._attachedOverlays,r=t.length-1;r>-1;r--)if(t[r]._keydownEvents.observers.length>0){t[r]._keydownEvents.next(e);break}},this._document=t}return Object(a.a)(e,[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(d.c))},e.\u0275prov=Object(u.Ub)({factory:function(){return new e(Object(u.ic)(d.c))},token:e,providedIn:"root"}),e}(),L=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),R=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this._platform=n,this._document=t}return Object(a.a)(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||L)for(var t=this._document.querySelectorAll(".".concat("cdk-overlay-container",'[platform="server"], ')+".".concat("cdk-overlay-container",'[platform="test"]')),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);var r=this._document.createElement("div");r.classList.add("cdk-overlay-container"),L?r.setAttribute("platform","test"):e||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(d.c),u.ic(l.a))},e.\u0275prov=Object(u.Ub)({factory:function(){return new e(Object(u.ic)(d.c),Object(u.ic)(l.a))},token:e,providedIn:"root"}),e}(),B=function(){function e(t,n,r,i,a,s,u,l){var c=this;Object(o.a)(this,e),this._portalOutlet=t,this._host=n,this._pane=r,this._config=i,this._ngZone=a,this._keyboardDispatcher=s,this._document=u,this._location=l,this._backdropElement=null,this._backdropClick=new p.a,this._attachments=new p.a,this._detachments=new p.a,this._locationChanges=m.a.EMPTY,this._backdropClickHandler=function(e){return c._backdropClick.next(e)},this._keydownEvents=new p.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}return Object(a.a)(e,[{key:"attach",value:function(e){var t=this,n=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(g.a)(1)).subscribe((function(){t.hasAttached()&&t.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return t.dispose()}))),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}}},{key:"dispose",value:function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick.asObservable()}},{key:"attachments",value:function(){return this._attachments.asObservable()}},{key:"detachments",value:function(){return this._detachments.asObservable()}},{key:"keydownEvents",value:function(){return this._keydownEvents.asObservable()}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}},{key:"addPanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!0)}},{key:"removePanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!1)}},{key:"getDirection",value:function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}},{key:"updateScrollStrategy",value:function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var e=this._pane.style;e.width=Object(f.d)(this._config.width),e.height=Object(f.d)(this._config.height),e.minWidth=Object(f.d)(this._config.minWidth),e.minHeight=Object(f.d)(this._config.minHeight),e.maxWidth=Object(f.d)(this._config.maxWidth),e.maxHeight=Object(f.d)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"auto":"none"}},{key:"_attachBackdrop",value:function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var e=this,t=this._backdropElement;if(t){var n,r=function r(){t&&(t.removeEventListener("click",e._backdropClickHandler),t.removeEventListener("transitionend",r),t.parentNode&&t.parentNode.removeChild(t)),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){t.addEventListener("transitionend",r)})),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular((function(){return setTimeout(r,500)}))}}},{key:"_toggleClasses",value:function(e,t,n){var r=e.classList;Object(f.b)(t).forEach((function(e){e&&(n?r.add(e):r.remove(e))}))}},{key:"_detachContentWhenStable",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=e._ngZone.onStable.asObservable().pipe(Object(y.a)(Object(v.a)(e._attachments,e._detachments))).subscribe((function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())}))}))}},{key:"_disposeScrollStrategy",value:function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}},{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}}]),e}(),j=/([A-Za-z%]+)$/,I=function(){function e(t,n,r,i,a){Object(o.a)(this,e),this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new p.a,this._resizeSubscription=m.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}return Object(a.a)(e,[{key:"attach",value:function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){t._isInitialRender=!0,t.apply()}))}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var e,t,n=this._originRect,r=this._overlayRect,o=this._viewportRect,a=[],s=Object(i.a)(this._preferredPositions);try{for(s.s();!(t=s.n()).done;){var u=t.value,l=this._getOriginPoint(n,u),c=this._getOverlayPoint(l,r,u),d=this._getOverlayFit(c,r,o,u);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(u,l);this._canFitWithFlexibleDimensions(d,c,o)?a.push({position:u,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,u)}):(!e||e.overlayFit.visibleArea<d.visibleArea)&&(e={overlayFit:d,overlayPoint:c,originPoint:l,position:u,overlayRect:r})}}catch(y){s.e(y)}finally{s.f()}if(a.length){var f,h=null,p=-1,m=Object(i.a)(a);try{for(m.s();!(f=m.n()).done;){var v=f.value,g=v.boundingBoxRect.width*v.boundingBoxRect.height*(v.position.weight||1);g>p&&(p=g,h=v)}}catch(y){m.e(y)}finally{m.f()}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&N(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var r;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+r,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,n,r){var i=e.x,o=e.y,a=this._getOffset(r,"x"),s=this._getOffset(r,"y");a&&(i+=a),s&&(o+=s);var u=0-o,l=o+t.height-n.height,c=this._subtractOverflows(t.width,0-i,i+t.width-n.width),d=this._subtractOverflows(t.height,u,l),f=c*d;return{visibleArea:f,isCompletelyWithinViewport:t.width*t.height===f,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:c==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=H(this._overlayRef.getConfig().minHeight),a=H(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=o&&o<=r)&&(e.fitsInViewportHorizontally||null!=a&&a<=i)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,a=Math.max(e.x+t.width-o.right,0),s=Math.max(e.y+t.height-o.bottom,0),u=Math.max(o.top-n.top-e.y,0),l=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:r=t.width<=o.width?l||-a:e.x<this._viewportMargin?o.left-n.left-e.x:0,y:i=t.height<=o.height?u||-s:e.y<this._viewportMargin?o.top-n.top-e.y:0},{x:e.x+r,y:e.y+i}}},{key:"_applyPosition",value:function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),r=new T(e,n);this._positionChanges.next(r)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin="".concat(t," ").concat(r)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,r,i,o,a,s,u=this._viewportRect,l=this._isRtl();if("top"===t.overlayY)n=u.height-(r=e.y)+this._viewportMargin;else if("bottom"===t.overlayY)n=u.height-(i=u.height-e.y+2*this._viewportMargin)+this._viewportMargin;else{var c=Math.min(u.bottom-e.y+u.top,e.y),d=this._lastBoundingBoxSize.height;r=e.y-c,(n=2*c)>d&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-d/2)}if("end"===t.overlayX&&!l||"start"===t.overlayX&&l)s=u.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!l||"end"===t.overlayX&&l)a=e.x,o=u.right-e.x;else{var f=Math.min(u.right-e.x+u.left,e.x),h=this._lastBoundingBoxSize.width;a=e.x-f,(o=2*f)>h&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-h/2)}return{top:r,left:a,bottom:i,right:s,width:o,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Object(f.d)(n.height),r.top=Object(f.d)(n.top),r.bottom=Object(f.d)(n.bottom),r.width=Object(f.d)(n.width),r.left=Object(f.d)(n.left),r.right=Object(f.d)(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=Object(f.d)(i)),o&&(r.maxWidth=Object(f.d)(o))}this._lastBoundingBoxSize=n,N(this._boundingBox.style,r)}},{key:"_resetBoundingBoxStyles",value:function(){N(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){N(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(r){var a=this._viewportRuler.getViewportScrollPosition();N(n,this._getExactOverlayY(t,e,a)),N(n,this._getExactOverlayX(t,e,a))}else n.position="static";var s="",u=this._getOffset(t,"x"),l=this._getOffset(t,"y");u&&(s+="translateX(".concat(u,"px) ")),l&&(s+="translateY(".concat(l,"px)")),n.transform=s.trim(),o.maxHeight&&(r?n.maxHeight=Object(f.d)(o.maxHeight):i&&(n.maxHeight="")),o.maxWidth&&(r?n.maxWidth=Object(f.d)(o.maxWidth):i&&(n.maxWidth="")),N(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var r={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=o,"bottom"===e.overlayY?r.bottom="".concat(this._document.documentElement.clientHeight-(i.y+this._overlayRect.height),"px"):r.top=Object(f.d)(i.y),r}},{key:"_getExactOverlayX",value:function(e,t,n){var r={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?r.right="".concat(this._document.documentElement.clientWidth-(i.x+this._overlayRect.width),"px"):r.left=Object(f.d)(i.x),r}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:k(e,n),isOriginOutsideView:A(e,n),isOverlayClipped:k(t,n),isOverlayOutsideView:A(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return e-Math.max(t,0)}),e)}},{key:"_getNarrowedViewportRect",value:function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}},{key:"_validatePositions",value:function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(e){M("originX",e.originX),F("originY",e.originY),M("overlayX",e.overlayX),F("overlayY",e.overlayY)}))}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&Object(f.b)(e).forEach((function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))}))}},{key:"_clearPanelClasses",value:function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach((function(t){e._pane.classList.remove(t)})),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof u.n)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}},{key:"positions",get:function(){return this._preferredPositions}}]),e}();function N(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function H(e){if("number"!=typeof e&&null!=e){var t=e.split(j),n=Object(r.a)(t,2),i=n[1];return i&&"px"!==i?null:parseFloat(n[0])}return e||null}var z=function(){function e(t,n,r,i,a,s,u){Object(o.a)(this,e),this._preferredPositions=[],this._positionStrategy=new I(r,i,a,s,u).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n)}return Object(a.a)(e,[{key:"attach",value:function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(e){this._positionStrategy.withScrollableContainers(e)}},{key:"withFallbackPosition",value:function(e,t,n,r){var i=new O(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}},{key:"withOffsetX",value:function(e){return this._positionStrategy.withDefaultOffsetX(e),this}},{key:"withOffsetY",value:function(e){return this._positionStrategy.withDefaultOffsetY(e),this}},{key:"withLockedPosition",value:function(e){return this._positionStrategy.withLockedPosition(e),this}},{key:"withPositions",value:function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(e){return this._positionStrategy.setOrigin(e),this}},{key:"_isRtl",get:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"onPositionChange",get:function(){return this._positionStrategy.positionChanges}},{key:"positions",get:function(){return this._preferredPositions}}]),e}(),Y=function(){function e(){Object(o.a)(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return Object(a.a)(e,[{key:"attach",value:function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),r=n.width,i=n.height,o=n.maxWidth,a=n.maxHeight,s=!("100%"!==r&&"100vw"!==r||o&&"100%"!==o&&"100vw"!==o),u=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=u?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),U=function(){var e=function(){function e(t,n,r,i){Object(o.a)(this,e),this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i}return Object(a.a)(e,[{key:"global",value:function(){return new Y}},{key:"connectedTo",value:function(e,t,n){return new z(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new I(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(s.h),u.ic(d.c),u.ic(l.a),u.ic(R))},e.\u0275prov=Object(u.Ub)({factory:function(){return new e(Object(u.ic)(s.h),Object(u.ic)(d.c),Object(u.ic)(l.a),Object(u.ic)(R))},token:e,providedIn:"root"}),e}(),V=0,$=function(){var e=function(){function e(t,n,r,i,a,s,u,l,c,d){Object(o.a)(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=r,this._positionBuilder=i,this._keyboardDispatcher=a,this._injector=s,this._ngZone=u,this._document=l,this._directionality=c,this._location=d}return Object(a.a)(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new D(e);return i.direction=i.direction||this._directionality.value,new B(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-".concat(V++),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(u.g)),new h.e(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.ic(x),u.ic(R),u.ic(u.k),u.ic(U),u.ic(P),u.ic(u.t),u.ic(u.C),u.ic(d.c),u.ic(c.b),u.ic(d.g,8))},e.\u0275prov=u.Ub({token:e,factory:e.\u0275fac}),e}(),W=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],G=new u.s("cdk-connected-overlay-scroll-strategy"),q=function(){var e=function e(t){Object(o.a)(this,e),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(u.Yb(u.n))},e.\u0275dir=u.Tb({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),K=function(){var e=function(){function e(t,n,r,i,a){Object(o.a)(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=m.a.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new u.q,this.positionChange=new u.q,this.attach=new u.q,this.detach=new u.q,this.overlayKeydown=new u.q,this._templatePortal=new h.i(n,r),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}return Object(a.a)(e,[{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=W),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),t.keyCode!==b.h||Object(b.u)(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new D({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(f.c)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=Object(f.c)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Object(f.c)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Object(f.c)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=Object(f.c)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Yb($),u.Yb(u.Q),u.Yb(u.V),u.Yb(G),u.Yb(c.b,8))},e.\u0275dir=u.Tb({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[u.Ib]}),e}(),X={provide:G,deps:[$],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Z=function(){var e=function e(){Object(o.a)(this,e)};return e.\u0275mod=u.Wb({type:e}),e.\u0275inj=u.Vb({factory:function(t){return new(t||e)},providers:[$,X],imports:[[c.a,h.h,s.g],s.g]}),e}()},rFkE:function(e,t){},rZjt:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("//cU"),i=n("kpkV"),o=function(){return function(){var e=this;this.dispose=i.x,this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return e._port},this.protocol=function(){return e._protocol},this.host=function(){return e._host},this.baseHref=function(){return e._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(t){return Object(r.c)(t)?e._hashPrefix=t:e._hashPrefix}}}()},rePB:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},s4An:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},sYmb:function(e,t,n){"use strict";n.d(t,"b",(function(){return X})),n.d(t,"a",(function(){return T})),n.d(t,"d",(function(){return q})),n.d(t,"c",(function(){return K}));var r=n("uFwe"),i=n("rePB"),o=n("vuIU"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("fXoL"),c=n("LRne"),d=n("VRyK"),f=n("HDdC"),h=n("GyhO"),p=n("IzEk"),m=n("w1tV"),v=n("lJxs"),g=n("7o/Q");function y(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new b(e,t,n))}}var b=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object(u.a)(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new _(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),_=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o){var a;return Object(u.a)(this,n),(a=t.call(this,e)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return Object(o.a)(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(g.a),w=n("4I5i"),E=n("EY2u");function C(e){return function(t){return 0===e?Object(E.b)():t.lift(new A(e))}}var A=function(){function e(t){if(Object(u.a)(this,e),this.total=t,this.total<0)throw new w.a}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new k(e,this.total))}}]),e}(),k=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this,e)).total=r,i.ring=new Array,i.count=0,i}return Object(o.a)(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()}}]),n}(g.a),S=n("xbPD"),x=n("mCNh");function D(e,t,n){return 0===n?[t]:(e.push(t),e)}var O=n("eIep"),T=function e(){Object(u.a)(this,e)},F=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"getTranslation",value:function(e){return Object(c.a)({})}}]),n}(T);return e.\u0275fac=function(t){return M(t||e)},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),M=l.gc(F),P=function e(){Object(u.a)(this,e)},L=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(o.a)(e,[{key:"handle",value:function(e){return e.key}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),R=function e(){Object(u.a)(this,e)},B=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"compile",value:function(e,t){return e}},{key:"compileTranslations",value:function(e,t){return e}}]),n}(R);return e.\u0275fac=function(t){return j(t||e)},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),j=l.gc(B);function I(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o==typeof t&&"object"==o){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in i=Object.create(null),e){if(!I(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!I(e[r],t[r]))return!1;return!0}}return!1}function N(e){return null!=e}function H(e){return e&&"object"==typeof e&&!Array.isArray(e)}function z(e,t){var n=Object.assign({},e);return H(e)&&H(t)&&Object.keys(t).forEach((function(r){H(t[r])&&r in e?n[r]=z(e[r],t[r]):Object.assign(n,Object(i.a)({},r,t[r]))})),n}var Y=function e(){Object(u.a)(this,e)},U=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(u.a)(this,n),(e=t.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,e}return Object(o.a)(n,[{key:"interpolate",value:function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e}},{key:"getValue",value:function(e,t){var n=t.split(".");t="";do{t+=n.shift(),!N(e)||!N(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}},{key:"interpolateFunction",value:function(e,t){return e(t)}},{key:"interpolateString",value:function(e,t){var n=this;return t?e.replace(this.templateMatcher,(function(e,r){var i=n.getValue(t,r);return N(i)?i:e})):e}}]),n}(Y);return e.\u0275fac=function(t){return V(t||e)},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),V=l.gc(U),$=function e(){Object(u.a)(this,e),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new l.q,this.onLangChange=new l.q,this.onDefaultLangChange=new l.q},W=new l.s("USE_STORE"),G=new l.s("USE_DEFAULT_LANG"),q=function(){var e=function(){function e(t,n,r,i,o){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6];Object(u.a)(this,e),this.store=t,this.currentLoader=n,this.compiler=r,this.parser=i,this.missingTranslationHandler=o,this.useDefaultLang=a,this.isolate=s,this.pending=!1,this._onTranslationChange=new l.q,this._onLangChange=new l.q,this._onDefaultLangChange=new l.q,this._langs=[],this._translations={},this._translationRequests={}}return Object(o.a)(e,[{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(this.defaultLang||(this.defaultLang=e),n.pipe(Object(p.a)(1)).subscribe((function(n){t.changeDefaultLang(e)}))):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return Object(c.a)(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(Object(p.a)(1)).subscribe((function(n){t.changeLang(e)})),n):(this.changeLang(e),Object(c.a)(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return void 0===this.translations[e]&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(Object(m.a)());return this.loadingTranslations=n.pipe(Object(p.a)(1),Object(v.a)((function(n){return t.compiler.compileTranslations(n,e)})),Object(m.a)()),this.loadingTranslations.subscribe((function(n){t.translations[e]=n,t.updateLangs(),t.pending=!1}),(function(e){t.pending=!1})),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=n&&this.translations[e]?z(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach((function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)}))}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var i;if(t instanceof Array){var o,a={},s=!1,u=Object(r.a)(t);try{for(u.s();!(o=u.n()).done;){var l=o.value;a[l]=this.getParsedResult(e,l,n),"function"==typeof a[l].subscribe&&(s=!0)}}catch(_){u.e(_)}finally{u.f()}if(s){var f,h,p=Object(r.a)(t);try{for(p.s();!(h=p.n()).done;){var m=h.value,g="function"==typeof a[m].subscribe?a[m]:Object(c.a)(a[m]);f=void 0===f?g:Object(d.a)(f,g)}}catch(_){p.e(_)}finally{p.f()}return f.pipe(function(e,t){return arguments.length>=2?function(n){return Object(x.a)(y(e,t),C(1),Object(S.a)(t))(n)}:function(t){return Object(x.a)(y((function(t,n,r){return e(t,n,r+1)})),C(1))(t)}}(D,[]),Object(v.a)((function(e){var n={};return e.forEach((function(e,r){n[t[r]]=e})),n})))}return a}if(e&&(i=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===i&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===i){var b={key:t,translateService:this};void 0!==n&&(b.interpolateParams=n),i=this.missingTranslationHandler.handle(b)}return void 0!==i?i:t}},{key:"get",value:function(e,t){var n=this;if(!N(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return f.a.create((function(r){var i=function(e){r.next(e),r.complete()},o=function(e){r.error(e)};n.loadingTranslations.subscribe((function(r){"function"==typeof(r=n.getParsedResult(r,e,t)).subscribe?r.subscribe(i,o):i(r)}),o)}));var r=this.getParsedResult(this.translations[this.currentLang],e,t);return"function"==typeof r.subscribe?r:Object(c.a)(r)}},{key:"stream",value:function(e,t){var n=this;if(!N(e)||!e.length)throw new Error('Parameter "key" required');return Object(h.a)(this.get(e,t),this.onLangChange.pipe(Object(O.a)((function(r){var i=n.getParsedResult(r.translations,e,t);return"function"==typeof i.subscribe?i:Object(c.a)(i)}))))}},{key:"instant",value:function(e,t){if(!N(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(void 0!==n.subscribe){if(e instanceof Array){var r={};return e.forEach((function(t,n){r[e[n]]=e[n]})),r}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),this.defaultLang||this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator)return(window.navigator.languages?window.navigator.languages[0]:null)||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}},{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic($),l.ic(T),l.ic(R),l.ic(Y),l.ic(P),l.ic(G),l.ic(W))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),K=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this.translate=t,this._ref=n,this.value=""}return Object(o.a)(e,[{key:"updateValue",value:function(e,t,n){var r=this,i=function(t){r.value=void 0!==t?t:e,r.lastKey=e,r._ref.markForCheck()};if(n){var o=this.translate.getParsedResult(n,e,t);"function"==typeof o.subscribe?o.subscribe(i):i(o)}this.translate.get(e,t).subscribe(i)}},{key:"transform",value:function(e){var t,n=this;if(!e||0===e.length)return e;for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(I(e,this.lastKey)&&I(i,this.lastParams))return this.value;if(N(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){var a=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(a)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: ".concat(i[0]))}}else"object"!=typeof i[0]||Array.isArray(i[0])||(t=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe((function(r){n.lastKey&&r.lang===n.translate.currentLang&&(n.lastKey=null,n.updateValue(e,t,r.translations))}))),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe((function(r){n.lastKey&&(n.lastKey=null,n.updateValue(e,t,r.translations))}))),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe((function(){n.lastKey&&(n.lastKey=null,n.updateValue(e,t))}))),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Yb(q),l.kc())},e.\u0275pipe=l.Xb({name:"translate",type:e,pure:!1}),e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),X=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(o.a)(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:T,useClass:F},t.compiler||{provide:R,useClass:B},t.parser||{provide:Y,useClass:U},t.missingTranslationHandler||{provide:P,useClass:L},$,{provide:W,useValue:t.isolate},{provide:G,useValue:t.useDefaultLang},q]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:T,useClass:F},t.compiler||{provide:R,useClass:B},t.parser||{provide:Y,useClass:U},t.missingTranslationHandler||{provide:P,useClass:L},{provide:W,useValue:t.isolate},{provide:G,useValue:t.useDefaultLang},q]}}}]),e}();return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)}}),e}()},saOp:function(e,t,n){"use strict";var r=n("xMbT");n.o(r,"BaseLocationServices")&&n.d(t,"BaseLocationServices",(function(){return r.BaseLocationServices})),n.o(r,"BaseUrlRule")&&n.d(t,"BaseUrlRule",(function(){return r.BaseUrlRule})),n.o(r,"BrowserLocationConfig")&&n.d(t,"BrowserLocationConfig",(function(){return r.BrowserLocationConfig})),n.o(r,"Param")&&n.d(t,"Param",(function(){return r.Param})),n.o(r,"StateRegistry")&&n.d(t,"StateRegistry",(function(){return r.StateRegistry})),n.o(r,"StateService")&&n.d(t,"StateService",(function(){return r.StateService})),n.o(r,"UrlMatcherFactory")&&n.d(t,"UrlMatcherFactory",(function(){return r.UrlMatcherFactory})),n.o(r,"UrlRouter")&&n.d(t,"UrlRouter",(function(){return r.UrlRouter})),n.o(r,"UrlService")&&n.d(t,"UrlService",(function(){return r.UrlService})),n.o(r,"ViewService")&&n.d(t,"ViewService",(function(){return r.ViewService})),n.o(r,"parseUrl")&&n.d(t,"parseUrl",(function(){return r.parseUrl})),n.o(r,"servicesPlugin")&&n.d(t,"servicesPlugin",(function(){return r.servicesPlugin})),n("Y973"),n("MYbi");var i=n("EE6W");n.d(t,"BaseLocationServices",(function(){return i.a})),n("h8IG"),n("3Nip"),n("a4qN"),n("rZjt");var o=n("F7p8");n.d(t,"BrowserLocationConfig",(function(){return o.a}));var a=n("cGKQ");n.d(t,"parseUrl",(function(){return a.d}));var s=n("PMp9");n.d(t,"servicesPlugin",(function(){return s.a}))},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return K})),n.d(t,"d",(function(){return q})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return F}));var r=n("Ji7U"),i=n("LK+K"),o=n("ODXe"),a=n("KQm4"),s=n("vuIU"),u=n("1OyB"),l=n("fXoL"),c=n("LRne"),d=n("HDdC"),f=n("5+tZ");function h(e,t){return Object(f.a)(e,t,1)}var p=n("pLZG"),m=n("lJxs"),v=n("ofXK"),g=function e(){Object(u.a)(this,e)},y=function e(){Object(u.a)(this,e)},b=function(){function e(t){var n=this;Object(u.a)(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),i=r.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))}))}:this.headers=new Map}return Object(s.a)(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,Object(a.a)(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter((function(e){return-1===i.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),_=function(){function e(){Object(u.a)(this,e)}return Object(s.a)(e,[{key:"encodeKey",value:function(e){return E(e)}},{key:"encodeValue",value:function(e){return E(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function w(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var r=e.indexOf("="),i=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],a=Object(o.a)(i,2),s=a[0],u=a[1],l=n.get(s)||[];l.push(u),n.set(s,l)})),n}function E(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var C=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object(u.a)(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new _,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=w(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var r=n.fromObject[e];t.map.set(e,Array.isArray(r)?r:[r])}))):this.map=null}return Object(s.a)(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function A(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function k(e){return"undefined"!=typeof Blob&&e instanceof Blob}function S(e){return"undefined"!=typeof FormData&&e instanceof FormData}var x=function(){function e(t,n,r,i){var o;if(Object(u.a)(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new b),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new C,this.urlWithParams=n}return Object(s.a)(e,[{key:"serializeBody",value:function(){return null===this.body?null:A(this.body)||k(this.body)||S(this.body)||"string"==typeof this.body?this.body:this.body instanceof C?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||S(this.body)?null:k(this.body)?this.body.type||null:A(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof C?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,r,o,{params:l,headers:u,reportProgress:s,responseType:i,withCredentials:a})}}]),e}(),D=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),O=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";Object(u.a)(this,e),this.headers=t.headers||new b,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},T=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(u.a)(this,n),(e=t.call(this,r)).type=D.ResponseHeader,e}return Object(s.a)(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(O),F=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(u.a)(this,n),(e=t.call(this,r)).type=D.Response,e.body=void 0!==r.body?r.body:null,e}return Object(s.a)(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(O),M=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e){var r;return Object(u.a)(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(O);function P(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var L=function(){var e=function(){function e(t){Object(u.a)(this,e),this.handler=t}return Object(s.a)(e,[{key:"request",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof x)n=e;else{var o=void 0;o=i.headers instanceof b?i.headers:new b(i.headers);var a=void 0;i.params&&(a=i.params instanceof C?i.params:new C({fromObject:i.params})),n=new x(e,t,void 0!==i.body?i.body:null,{headers:o,params:a,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}var s=Object(c.a)(n).pipe(h((function(e){return r.handler.handle(e)})));if(e instanceof x||"events"===i.observe)return s;var u=s.pipe(Object(p.a)((function(e){return e instanceof F})));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return u.pipe(Object(m.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return u.pipe(Object(m.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return u.pipe(Object(m.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return u.pipe(Object(m.a)((function(e){return e.body})))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type ".concat(i.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new C).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,P(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,P(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,P(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(g))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),R=function(){function e(t,n){Object(u.a)(this,e),this.next=t,this.interceptor=n}return Object(s.a)(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),B=new l.s("HTTP_INTERCEPTORS"),j=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(s.a)(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),I=/^\)\]\}',?\n/,N=function e(){Object(u.a)(this,e)},H=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(s.a)(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),z=function(){var e=function(){function e(t){Object(u.a)(this,e),this.xhrFactory=t}return Object(s.a)(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new d.a((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new b(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new T({headers:i,status:t,statusText:n,url:o})},l=function(){var t=u(),i=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===r.response?r.responseText:r.response),0===o&&(o=l?200:0);var c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var d=l;l=l.replace(I,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=d,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new F({body:l,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new M({error:l,headers:i,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=u(),i=new M({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t.url||void 0});n.error(i)},d=!1,f=function(t){d||(n.next(u()),d=!0);var i={type:D.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},h=function(e){var t={type:D.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",h)),r.send(a),n.next({type:D.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(N))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),Y=new l.s("XSRF_COOKIE_NAME"),U=new l.s("XSRF_HEADER_NAME"),V=function e(){Object(u.a)(this,e)},$=function(){var e=function(){function e(t,n,r){Object(u.a)(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return Object(s.a)(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(v.w)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(v.c),l.ic(l.F),l.ic(Y))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),W=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this.tokenService=t,this.headerName=n}return Object(s.a)(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(V),l.ic(U))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),G=function(){var e=function(){function e(t,n){Object(u.a)(this,e),this.backend=t,this.injector=n,this.chain=null}return Object(s.a)(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(B,[]);this.chain=t.reduceRight((function(e,t){return new R(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.ic(y),l.ic(l.t))},e.\u0275prov=l.Ub({token:e,factory:e.\u0275fac}),e}(),q=function(){var e=function(){function e(){Object(u.a)(this,e)}return Object(s.a)(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:W,useClass:j}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:Y,useValue:t.cookieName}:[],t.headerName?{provide:U,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)},providers:[W,{provide:B,useExisting:W,multi:!0},{provide:V,useClass:$},{provide:Y,useValue:"XSRF-TOKEN"},{provide:U,useValue:"X-XSRF-TOKEN"}]}),e}(),K=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=l.Wb({type:e}),e.\u0275inj=l.Vb({factory:function(t){return new(t||e)},providers:[L,{provide:g,useClass:G},z,{provide:y,useExisting:z},H,{provide:N,useExisting:H}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},tkUl:function(e,t,n){"use strict";function r(e){return"function"==typeof e}function i(e){return"function"==typeof e}function o(e){return"number"==typeof e}function a(e){return Number.isNaN(e)||-1===e}function s(e,t){return function(n){if(function(e){return null===e||function(e){return void 0===e}(e)}(e)&&n)return n;if(!Array.isArray(n))return[e];var r=n.slice(),i=0;return t>0&&(i=t),r.splice(i,0,e),r}}function u(e){return function(t){var n=null;for(var i in e){var o=e[i],a=t[i],s=r(o)?o(a):o;s!==a&&(n||(n=Object.assign({},t)),n[i]=s)}return n||t}}function l(e,t){return function(n){var s,u=-1;if(i(e)?u=n.findIndex(e):o(e)&&(u=e),a(u))return n;if((s=r(t)?t(n[u]):t)===n[u])return n;var l=n.slice();return l[u]=s,l}}function c(e){return function(t){var n=-1;if(i(e)?n=t.findIndex(e):o(e)&&(n=e),a(n))return t;var r=t.slice();return r.splice(n,1),r}}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l}))},twue:function(e,t,n){"use strict";n.d(t,"b",(function(){return F})),n.d(t,"a",(function(){return M}));var r=n("ODXe"),i=n("vuIU"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("KQm4"),l=n("T5bk"),c=n("LRne"),d=n("PqYM"),f=n("EY2u"),h=n("XNiG"),p=n("l7GE"),m=n("ZUHj"),v=function(){function e(t,n,r){Object(s.a)(this,e),this.project=t,this.concurrent=n,this.scheduler=r}return Object(i.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new g(e,this.project,this.concurrent,this.scheduler))}}]),e}(),g=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(e,r,i,o){var a;return Object(s.a)(this,n),(a=t.call(this,e)).project=r,a.concurrent=i,a.scheduler=o,a.index=0,a.active=0,a.hasCompleted=!1,i<Number.POSITIVE_INFINITY&&(a.buffer=[]),a}return Object(i.a)(n,[{key:"_next",value:function(e){var t=this.destination;if(t.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){t.next(e);try{var i=(0,this.project)(e,r);this.scheduler?this.destination.add(this.scheduler.schedule(n.dispatch,0,{subscriber:this,result:i,value:e,index:r})):this.subscribeToProjection(i,e,r)}catch(o){t.error(o)}}else this.buffer.push(e)}}},{key:"subscribeToProjection",value:function(e,t,n){this.active++,this.destination.add(Object(m.a)(this,e,t,n))}},{key:"_complete",value:function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this._next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.destination.remove(e),this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}],[{key:"dispatch",value:function(e){e.subscriber.subscribeToProjection(e.result,e.value,e.index)}}]),n}(p.a),y=n("zP0r"),b=n("pLZG"),_=n("fXoL");function w(e){return null!=e}function E(e){return null!=e&&"false"!=="".concat(e)}function C(e){var t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;var n=String(e).match(/\d+/g);if(null===n||n.length<=2)return t;var r=n.map((function(e){return parseInt(e,10)})),i=Object(l.a)(r),o=i[0],a=i[1],s=i.slice(2);return new Date(Date.UTC.apply(Date,[o,a-1].concat(Object(u.a)(s))))}var A=function e(){Object(s.a)(this,e)},k=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(s.a)(this,n),t.apply(this,arguments)}return Object(i.a)(n,[{key:"tick",value:function(e){return Object(c.a)(0).pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(r){return r.lift(new v(e,t,n))}}((function(){var t=Date.now(),n=Math.round(Math.abs(t-e)/1e3),r=n<60?1e3:n<3600?6e4:n<86400?36e5:0;return r?Object(d.a)(r):Object(f.b)()})),Object(y.a)(1))}}]),n}(A);return e.\u0275fac=function(t){return S(t||e)},e.\u0275prov=_.Ub({token:e,factory:e.\u0275fac}),e}(),S=_.gc(k),x=function(){var e=function e(){Object(s.a)(this,e),this.changes=new h.a};return e.\u0275prov=_.Ub({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),D=function e(){Object(s.a)(this,e)},O=function(){var e=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(s.a)(this,n),t.apply(this,arguments)}return Object(i.a)(n,[{key:"format",value:function(e){var t=function(e){var t=Date.now(),n=Math.round(Math.abs(t-e)/1e3),i=e<t?"ago":"from now",o=n<60?[Math.round(n),"second"]:n<3600?[Math.round(n/60),"minute"]:n<86400?[Math.round(n/3600),"hour"]:n<604800?[Math.round(n/86400),"day"]:n<2592e3?[Math.round(n/604800),"week"]:n<31536e3?[Math.round(n/2592e3),"month"]:[Math.round(n/31536e3),"year"],a=Object(r.a)(o,2);return{value:a[0],unit:a[1],suffix:i}}(e);return this.parse(t.value,t.unit,t.suffix)}},{key:"parse",value:function(e,t,n){return 1!==e&&(t+="s"),e+" "+t+" "+n}}]),n}(D);return e.\u0275fac=function(t){return T(t||e)},e.\u0275prov=_.Ub({token:e,factory:e.\u0275fac}),e}(),T=_.gc(O),F=function(){var e=function(){function e(t,n,r,i){var o=this;Object(s.a)(this,e),this.clock=i,this.live=!0,this.stateChanges=new h.a,t&&(this.intlSubscription=t.changes.subscribe((function(){return o.stateChanges.next()}))),this.stateChanges.subscribe((function(){o.value=r.format(o.date),n.markForCheck()}))}return Object(i.a)(e,[{key:"transform",value:function(e){var t,n=this,r=C(e).valueOf();if(t=w(arguments.length<=1?void 0:arguments[1])?E(arguments.length<=1?void 0:arguments[1]):this.live,this.date===r&&this.live===t)return this.value;if(this.date=r,this.live=t,!this.date)throw new SyntaxError("Wrong parameter in TimeagoPipe. Expected a valid date, received: ".concat(e));return this.clockSubscription&&(this.clockSubscription.unsubscribe(),this.clockSubscription=void 0),this.clockSubscription=this.clock.tick(this.date).pipe(Object(b.a)((function(){return n.live}),this)).subscribe((function(){return n.stateChanges.next()})),this.stateChanges.next(),this.value}},{key:"ngOnDestroy",value:function(){this.intlSubscription&&(this.intlSubscription.unsubscribe(),this.intlSubscription=void 0),this.clockSubscription&&(this.clockSubscription.unsubscribe(),this.clockSubscription=void 0),this.stateChanges.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(_.Yb(x,8),_.kc(),_.Yb(D),_.Yb(A))},e.\u0275pipe=_.Xb({name:"timeago",type:e,pure:!1}),e.\u0275prov=_.Ub({token:e,factory:e.\u0275fac}),e}(),M=function(){var e=function(){function e(){Object(s.a)(this,e)}return Object(i.a)(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.clock||{provide:A,useClass:k},t.intl||[],t.formatter||{provide:D,useClass:O}]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.clock||{provide:A,useClass:k},t.intl||[],t.formatter||{provide:D,useClass:O}]}}}]),e}();return e.\u0275mod=_.Wb({type:e}),e.\u0275inj=_.Vb({factory:function(t){return new(t||e)}}),e}()},u47x:function(e,t,n){"use strict";n.d(t,"a",(function(){return q})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return H})),n.d(t,"e",(function(){return W})),n.d(t,"f",(function(){return B})),n.d(t,"g",(function(){return T})),n.d(t,"h",(function(){return V})),n.d(t,"i",(function(){return R})),n.d(t,"j",(function(){return G})),n.d(t,"k",(function(){return D})),n.d(t,"l",(function(){return N})),n.d(t,"m",(function(){return z})),n("JX7q");var r=n("ReuC"),i=n("foSv"),o=n("Ji7U"),a=n("LK+K"),s=n("1OyB"),u=n("vuIU"),l=n("ofXK"),c=n("fXoL"),d=n("XNiG"),f=n("quSY"),h=n("LRne"),p=n("FtGj"),m=n("vkgz"),v=n("Kj3r"),g=n("pLZG"),y=n("lJxs"),b=n("IzEk"),_=n("8LU1"),w=n("nLfN"),E=n("GU7r");function C(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var A=0,k=new Map,S=null,x=function(){var e=function(){function e(t){Object(s.a)(this,e),this._document=t}return Object(u.a)(e,[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),k.set(t,{messageElement:t,referenceCount:0})):k.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=k.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}S&&0===S.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[".concat("cdk-describedby-host","]")),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");S&&this._deleteMessagesContainer(),k.clear()}},{key:"_createMessageElement",value:function(e){var t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),S.appendChild(t),k.set(e,{messageElement:t,referenceCount:0})}},{key:"_setMessageId",value:function(e){e.id||(e.id="".concat("cdk-describedby-message","-").concat(A++))}},{key:"_deleteMessageElement",value:function(e){var t=k.get(e),n=t&&t.messageElement;S&&n&&S.removeChild(n),k.delete(e)}},{key:"_createMessagesContainer",value:function(){if(!S){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(S=this._document.createElement("div")).id="cdk-describedby-message-container",S.setAttribute("aria-hidden","true"),S.style.display="none",this._document.body.appendChild(S)}}},{key:"_deleteMessagesContainer",value:function(){S&&S.parentNode&&(S.parentNode.removeChild(S),S=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(e){var t=C(e,"aria-describedby").filter((function(e){return 0!=e.indexOf("cdk-describedby-message")}));e.setAttribute("aria-describedby",t.join(" "))}},{key:"_addMessageReference",value:function(e,t){var n,r,i,o=k.get(t);r=o.messageElement.id,(i=C(n=e,"aria-describedby")).some((function(e){return e.trim()==r.trim()}))||(i.push(r.trim()),n.setAttribute("aria-describedby",i.join(" "))),e.setAttribute("cdk-describedby-host",""),o.referenceCount++}},{key:"_removeMessageReference",value:function(e,t){var n,r,i,o,a=k.get(t);a.referenceCount--,i=a.messageElement.id,(o=C(n=e,r="aria-describedby").filter((function(e){return e!=i.trim()}))).length?n.setAttribute(r,o.join(" ")):n.removeAttribute(r),e.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(e,t){var n=C(e,"aria-describedby"),r=k.get(t),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)}},{key:"_canBeDescribed",value:function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":"".concat(t).trim(),r=e.getAttribute("aria-label");return!(!n||r&&r.trim()===n)}},{key:"_isElementNode",value:function(e){return e.nodeType===this._document.ELEMENT_NODE}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(l.c))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(l.c))},token:e,providedIn:"root"}),e}(),D=function(){function e(t){var n=this;Object(s.a)(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new d.a,this._typeaheadSubscription=f.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new d.a,this.change=new d.a,t instanceof c.H&&t.changes.subscribe((function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}}))}return Object(u.a)(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(m.a)((function(t){return e._pressedLetters.push(t)})),Object(v.a)(t),Object(g.a)((function(){return e._pressedLetters.length>0})),Object(y.a)((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),r=1;r<n.length+1;r++){var i=(e._activeItemIndex+r)%n.length,o=n[i];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(i);break}}e._pressedLetters=[]})),this}},{key:"setActiveItem",value:function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every((function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1}));switch(n){case p.q:return void this.tabOut.next();case p.e:if(this._vertical&&r){this.setNextItemActive();break}return;case p.r:if(this._vertical&&r){this.setPreviousItemActive();break}return;case p.n:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.j:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||Object(p.u)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=p.a&&n<=p.s||n>=p.t&&n<=p.k)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof c.H?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),e}(),O=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){return Object(s.a)(this,n),t.apply(this,arguments)}return Object(u.a)(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),Object(r.a)(Object(i.a)(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(D),T=function(e){Object(o.a)(n,e);var t=Object(a.a)(n);function n(){var e;return Object(s.a)(this,n),(e=t.apply(this,arguments))._origin="program",e}return Object(u.a)(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){Object(r.a)(Object(i.a)(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(D),F=function(){var e=function(){function e(t){Object(s.a)(this,e),this._platform=t}return Object(u.a)(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===P(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),o=P(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||M(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(w.a))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(w.a))},token:e,providedIn:"root"}),e}();function M(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function P(e){if(!M(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var L=function(){function e(t,n,r,i){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Object(s.a)(this,e),this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return Object(u.a)(e,[{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-".concat(e))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', ")+"use 'cdkFocusRegion".concat(e,"' instead. The deprecated ")+"attribute will be removed in 8.0.0.",t[n]):t[n].hasAttribute("cdk-focus-region-".concat(e))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', ")+"use 'cdkFocusRegion".concat(e,"' instead. The deprecated attribute ")+"will be removed in 8.0.0.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),Object(c.db)()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Object(b.a)(1)).subscribe(e)}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}}]),e}(),R=function(){var e=function(){function e(t,n,r){Object(s.a)(this,e),this._checker=t,this._ngZone=n,this._document=r}return Object(u.a)(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new L(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(F),c.ic(c.C),c.ic(l.c))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(F),Object(c.ic)(c.C),Object(c.ic)(l.c))},token:e,providedIn:"root"}),e}(),B=function(){var e=function(){function e(t,n,r){Object(s.a)(this,e),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=r,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object(u.a)(e,[{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=Object(_.c)(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=Object(_.c)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(R),c.Yb(l.c))},e.\u0275dir=c.Tb({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),e}();"undefined"!=typeof Element&&Element;var j=new c.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),I=new c.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),N=function(){var e=function(){function e(t,n,r,i){Object(s.a)(this,e),this._ngZone=n,this._defaultOptions=i,this._document=r,this._liveElement=t||this._createLiveElement()}return Object(u.a)(e,[{key:"announce",value:function(e){for(var t,n,r=this,i=this._defaultOptions,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return 1===a.length&&"number"==typeof a[0]?n=a[0]:(t=a[0],n=a[1]),this.clear(),clearTimeout(this._previousTimeout),t||(t=i&&i.politeness?i.politeness:"polite"),null==n&&i&&(n=i.duration),this._liveElement.setAttribute("aria-live",t),this._ngZone.runOutsideAngular((function(){return new Promise((function(t){clearTimeout(r._previousTimeout),r._previousTimeout=setTimeout((function(){r._liveElement.textContent=e,t(),"number"==typeof n&&(r._previousTimeout=setTimeout((function(){return r.clear()}),n))}),100)}))}))}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(j,8),c.ic(c.C),c.ic(l.c),c.ic(I,8))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(j,8),Object(c.ic)(c.C),Object(c.ic)(l.c),Object(c.ic)(I,8))},token:e,providedIn:"root"}),e}(),H=function(){var e=function(){function e(t,n,r,i){Object(s.a)(this,e),this._elementRef=t,this._liveAnnouncer=n,this._contentObserver=r,this._ngZone=i,this._politeness="off"}return Object(u.a)(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}},{key:"politeness",get:function(){return this._politeness},set:function(e){var t=this;this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((function(){return t._contentObserver.observe(t._elementRef).subscribe((function(){var e=t._elementRef.nativeElement.textContent;e!==t._previousAnnouncedText&&(t._liveAnnouncer.announce(e,t._politeness),t._previousAnnouncedText=e)}))})))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(N),c.Yb(E.b),c.Yb(c.C))},e.\u0275dir=c.Tb({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e}();function z(e){return 0===e.buttons}var Y=new c.s("cdk-focus-monitor-default-options"),U=Object(w.f)({passive:!0,capture:!0}),V=function(){var e=function(){function e(t,n,r,i){var o=this;Object(s.a)(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=z(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=$(e),o._touchTimeoutId=setTimeout((function(){return o._lastTouchTarget=null}),650)},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout((function(){return o._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=$(e),n="focus"===e.type?o._onFocus:o._onBlur,r=t;r;r=r.parentElement)n.call(o,e,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return Object(u.a)(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Object(h.a)(null);var n=Object(_.e)(e),r=Object(w.c)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject.asObservable();var o={checkChildren:t,subject:new d.a,rootNode:r};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Object(_.e)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=Object(_.e)(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(e){var t=$(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===$(e))){var r=this._getFocusOrigin(e);this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,U),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,U)})),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,U),e.addEventListener("mousedown",t._documentMousedownListener,U),e.addEventListener("touchstart",t._documentTouchstartListener,U),n.addEventListener("focus",t._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,U),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,U),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,U),r.removeEventListener("mousedown",this._documentMousedownListener,U),r.removeEventListener("touchstart",this._documentTouchstartListener,U),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(c.C),c.ic(w.a),c.ic(l.c,8),c.ic(Y,8))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(c.C),Object(c.ic)(w.a),Object(c.ic)(l.c,8),Object(c.ic)(Y,8))},token:e,providedIn:"root"}),e}();function $(e){return e.composedPath?e.composedPath()[0]:e.target}var W=function(){var e=function(){function e(t,n){var r=this;Object(s.a)(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new c.q,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return r.cdkFocusChange.emit(e)}))}return Object(u.a)(e,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Yb(c.n),c.Yb(V))},e.\u0275dir=c.Tb({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),G=function(){var e=function(){function e(t,n){Object(s.a)(this,e),this._platform=t,this._document=n}return Object(u.a)(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.ic(w.a),c.ic(l.c))},e.\u0275prov=Object(c.Ub)({factory:function(){return new e(Object(c.ic)(w.a),Object(c.ic)(l.c))},token:e,providedIn:"root"}),e}(),q=function(){var e=function e(t){Object(s.a)(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275mod=c.Wb({type:e}),e.\u0275inj=c.Vb({factory:function(t){return new(t||e)(c.ic(G))},imports:[[w.b,E.c]]}),e}()},uFwe:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("BsWD");function i(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=Object(r.a)(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i.return||i.return()}finally{if(s)throw o}}}}},ul0m:function(e,t,n){"use strict";var r=n("rFkE");n.o(r,"Ng1ViewConfig")&&n.d(t,"Ng1ViewConfig",(function(){return r.Ng1ViewConfig})),n("CMGN");var i=n("Ui1d");n.d(t,"Ng1ViewConfig",(function(){return i.a})),n("9BOg"),n("XOnZ"),n("R5V4"),n("Xr6o"),n("AlQ9"),n("yP38"),n("urmN"),n("iB+3")},urmN:function(e,t,n){"use strict";n("yeBi").a.module("ui.router.state").provider("$uiViewScroll",(function(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,n){return e?t:function(e){return n((function(){e[0].scrollIntoView()}),0,!1)}}]}))},vYq3:function(e,t,n){},viRO:function(e,t,n){"use strict";var r=n("MgzW"),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var C=E.prototype=new w;C.constructor=E,r(C,_.prototype),C.isPureReactComponent=!0;var A={current:null},k=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:A.current}}function D(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g,T=[];function F(e,t,n,r){if(T.length){var i=T.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>T.length&&T.push(e)}function P(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+L(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var c=n+L(s=t[l],l);u+=e(s,c,r,i)}else if("function"==typeof(c=null===t||"object"!=typeof t?null:"function"==typeof(c=v&&t[v]||t["@@iterator"])?c:null))for(t=c.call(t),l=0;!(s=t.next()).done;)u+=e(s=s.value,c=n+L(s,l++),r,i);else if("object"===s)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function B(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,r,n,(function(e){return e})):null!=e&&(D(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function j(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(O,"$&/")+"/"),P(e,B,t=F(t,o,r,i)),M(t)}var I={current:null};function N(){var e=I.current;if(null===e)throw Error(g(321));return e}var H={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:A,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return j(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;P(e,R,t=F(null,null,t,n)),M(t)},count:function(e){return P(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!D(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=l,t.PureComponent=E,t.StrictMode=u,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=A.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=D,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="16.14.0"},"vkO+":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n("O4wp"),i=n("9ecK");function o(e,t,n){var i=Object(r.v)(t)?[t]:t;return!!(Object(r.q)(i)?i:function(e){for(var t=i,n=0;n<t.length;n++){var o=new r.a(t[n]);if(o&&o.matches(e.name)||!o&&t[n]===e.name)return!0}return!1})(e,n)}var a=function(){function e(e,t,n,r,i,o){void 0===o&&(o={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=o.priority||0,this.bind=o.bind||null,this.invokeLimit=o.invokeLimit}return e.prototype._matchingNodes=function(e,t,n){if(!0===t)return e;var r=e.filter((function(e){return o(e.state,t,n)}));return r.length?r:null},e.prototype._getDefaultMatchCriteria=function(){return Object(r.z)(this.tranSvc._pluginapi._getPathTypes(),(function(){return!0}))},e.prototype._getMatchingNodes=function(e,t){var n=this,o=Object(r.h)(this._getDefaultMatchCriteria(),this.matchCriteria);return Object(r.S)(this.tranSvc._pluginapi._getPathTypes()).reduce((function(a,s){var u=e[s.name]||[],l=s.scope===i.b.STATE?u:[Object(r.M)(u)];return a[s.name]=n._matchingNodes(l,o[s.name],t),a}),{})},e.prototype.matches=function(e,t){var n=this._getMatchingNodes(e,t);return Object(r.S)(n).every(r.l)?n:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}();function s(e,t,n){var i=(e._registeredHooks=e._registeredHooks||{})[n.name]=[],o=Object(r.F)(i);function s(e,r,s){void 0===s&&(s={});var u=new a(t,n,r,e,o,s);return i.push(u),u.deregister.bind(u)}return e[n.name]=s,s}},vkgz:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("JX7q"),i=n("Ji7U"),o=n("LK+K"),a=n("1OyB"),s=n("vuIU"),u=n("7o/Q");function l(){}var c=n("n6bG");function d(e,t,n){return function(r){return r.lift(new f(e,t,n))}}var f=function(){function e(t,n,r){Object(a.a)(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return Object(s.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),h=function(e){Object(i.a)(n,e);var t=Object(o.a)(n);function n(e,i,o,s){var u;return Object(a.a)(this,n),(u=t.call(this,e))._tapNext=l,u._tapError=l,u._tapComplete=l,u._tapError=o||l,u._tapComplete=s||l,Object(c.a)(i)?(u._context=Object(r.a)(u),u._tapNext=i):i&&(u._context=i,u._tapNext=i.next||l,u._tapError=i.error||l,u._tapComplete=i.complete||l),u}return Object(s.a)(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(u.a)},vuIU:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},vvJ7:function(e,t,n){"use strict";n("C16F");var r=n("U4Jh");n.d(t,"b",(function(){return r.a}));var i=n("S2B6");n.d(t,"a",(function(){return i.a})),n.d(t,"c",(function(){return i.b}))},vxfF:function(e,t,n){"use strict";n.d(t,"a",(function(){return H})),n.d(t,"b",(function(){return Y})),n.d(t,"c",(function(){return q})),n.d(t,"d",(function(){return G})),n.d(t,"e",(function(){return $})),n.d(t,"f",(function(){return z})),n.d(t,"g",(function(){return K})),n.d(t,"h",(function(){return U}));var r=n("ODXe"),i=n("uFwe"),o=n("ReuC"),a=n("foSv"),s=n("Ji7U"),u=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("8LU1"),f=n("fXoL"),h=n("XNiG"),p=n("LRne"),m=n("HDdC"),v=n("xgIS"),g=n("VRyK"),y=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,r){var i;return Object(l.a)(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i}return Object(c.a)(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?Object(o.a)(Object(a.a)(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return Object(o.a)(Object(a.a)(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(n("3N8a").a),b=new(function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(n("IjjT").a))(y),_=n("7Hc7"),w=n("quSY"),E=n("7+OI"),C=n("/uUt"),A=n("3UWI"),k=n("pLZG"),S=n("1G5W"),x=n("JX91"),D=n("Zy1z"),O=n("eIep"),T=n("UXun"),F=n("nLfN"),M=n("ofXK"),P=n("cH1L"),L=n("0EQZ"),R=["contentWrapper"],B=["*"],j=new f.s("VIRTUAL_SCROLL_STRATEGY"),I=function(){function e(t,n,r){Object(l.a)(this,e),this._scrolledIndexChange=new h.a,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Object(C.a)()),this._viewport=null,this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=r}return Object(c.a)(e,[{key:"attach",value:function(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"detach",value:function(){this._scrolledIndexChange.complete(),this._viewport=null}},{key:"updateItemAndBufferSize",value:function(e,t,n){if(n<t)throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentScrolled",value:function(){this._updateRenderedRange()}},{key:"onDataLengthChanged",value:function(){this._updateTotalContentSize(),this._updateRenderedRange()}},{key:"onContentRendered",value:function(){}},{key:"onRenderedOffsetChanged",value:function(){}},{key:"scrollToIndex",value:function(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}},{key:"_updateTotalContentSize",value:function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}},{key:"_updateRenderedRange",value:function(){if(this._viewport){var e=this._viewport.measureScrollOffset(),t=e/this._itemSize,n=this._viewport.getRenderedRange(),r={start:n.start,end:n.end},i=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),a=e-r.start*this._itemSize;if(a<this._minBufferPx&&0!=r.start){var s=Math.ceil((this._maxBufferPx-a)/this._itemSize);r.start=Math.max(0,r.start-s),r.end=Math.min(o,Math.ceil(t+(i+this._minBufferPx)/this._itemSize))}else{var u=r.end*this._itemSize-(e+i);if(u<this._minBufferPx&&r.end!=o){var l=Math.ceil((this._maxBufferPx-u)/this._itemSize);l>0&&(r.end=Math.min(o,r.end+l),r.start=Math.max(0,Math.floor(t-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(r),this._viewport.setRenderedContentOffset(this._itemSize*r.start),this._scrolledIndexChange.next(Math.floor(t))}}}]),e}();function N(e){return e._scrollStrategy}var H=function(){var e=function(){function e(){Object(l.a)(this,e),this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new I(this.itemSize,this.minBufferPx,this.maxBufferPx)}return Object(c.a)(e,[{key:"ngOnChanges",value:function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}},{key:"itemSize",get:function(){return this._itemSize},set:function(e){this._itemSize=Object(d.f)(e)}},{key:"minBufferPx",get:function(){return this._minBufferPx},set:function(e){this._minBufferPx=Object(d.f)(e)}},{key:"maxBufferPx",get:function(){return this._maxBufferPx},set:function(e){this._maxBufferPx=Object(d.f)(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=f.Tb({type:e,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[f.Jb([{provide:j,useFactory:N,deps:[Object(f.ab)((function(){return e}))]}]),f.Ib]}),e}(),z=function(){var e=function(){function e(t,n,r){Object(l.a)(this,e),this._ngZone=t,this._platform=n,this._scrolled=new h.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return Object(c.a)(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new m.a((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(A.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):Object(p.a)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(k.a)((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){var t=e._getWindow();return Object(v.a)(t.document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(f.C),f.ic(F.a),f.ic(M.c,8))},e.\u0275prov=Object(f.Ub)({factory:function(){return new e(Object(f.ic)(f.C),Object(f.ic)(F.a),Object(f.ic)(M.c,8))},token:e,providedIn:"root"}),e}(),Y=function(){var e=function(){function e(t,n,r,i){var o=this;Object(l.a)(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=i,this._destroyed=new h.a,this._elementScrolled=new m.a((function(e){return o.ngZone.runOutsideAngular((function(){return Object(v.a)(o.elementRef.nativeElement,"scroll").pipe(Object(S.a)(o._destroyed)).subscribe(e)}))}))}return Object(c.a)(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Object(F.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(F.d)()?e.left=e.right:1==Object(F.d)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;Object(F.g)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==Object(F.d)()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Object(F.d)()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.Yb(f.n),f.Yb(z),f.Yb(f.C),f.Yb(P.b,8))},e.\u0275dir=f.Tb({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e}(),U=function(){var e=function(){function e(t,n,r){var i=this;Object(l.a)(this,e),this._platform=t,this._document=r,n.runOutsideAngular((function(){var e=i._getWindow();i._change=t.isBrowser?Object(g.a)(Object(v.a)(e,"resize"),Object(v.a)(e,"orientationchange")):Object(p.a)(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return Object(c.a)(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(Object(A.a)(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.ic(F.a),f.ic(f.C),f.ic(M.c,8))},e.\u0275prov=Object(f.Ub)({factory:function(){return new e(Object(f.ic)(F.a),Object(f.ic)(f.C),Object(f.ic)(M.c,8))},token:e,providedIn:"root"}),e}(),V="undefined"!=typeof requestAnimationFrame?b:_.a,$=function(){var e=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,r,i,o,a,s,u){var c;if(Object(l.a)(this,n),(c=t.call(this,e,s,i,a)).elementRef=e,c._changeDetectorRef=r,c._scrollStrategy=o,c._detachedSubject=new h.a,c._renderedRangeSubject=new h.a,c._orientation="vertical",c.scrolledIndexChange=new m.a((function(e){return c._scrollStrategy.scrolledIndexChange.subscribe((function(t){return Promise.resolve().then((function(){return c.ngZone.run((function(){return e.next(t)}))}))}))})),c.renderedRangeStream=c._renderedRangeSubject.asObservable(),c._totalContentSize=0,c._totalContentWidth="",c._totalContentHeight="",c._renderedRange={start:0,end:0},c._dataLength=0,c._viewportSize=0,c._renderedContentOffset=0,c._renderedContentOffsetNeedsRewrite=!1,c._isChangeDetectionPending=!1,c._runAfterChangeDetection=[],c._viewportChanges=w.a.EMPTY,!o)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return u&&(c._viewportChanges=u.change().subscribe((function(){c.checkViewportSize()}))),c}return Object(c.a)(n,[{key:"ngOnInit",value:function(){var e=this;Object(o.a)(Object(a.a)(n.prototype),"ngOnInit",this).call(this),this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){e._measureViewportSize(),e._scrollStrategy.attach(e),e.elementScrolled().pipe(Object(x.a)(null),Object(A.a)(0,V)).subscribe((function(){return e._scrollStrategy.onContentScrolled()})),e._markChangeDetectionNeeded()}))}))}},{key:"ngOnDestroy",value:function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),Object(o.a)(Object(a.a)(n.prototype),"ngOnDestroy",this).call(this)}},{key:"attach",value:function(e){var t=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((function(){t._forOf=e,t._forOf.dataStream.pipe(Object(S.a)(t._detachedSubject)).subscribe((function(e){var n=e.length;n!==t._dataLength&&(t._dataLength=n,t._scrollStrategy.onDataLengthChanged()),t._doChangeDetection()}))}))}},{key:"detach",value:function(){this._forOf=null,this._detachedSubject.next()}},{key:"getDataLength",value:function(){return this._dataLength}},{key:"getViewportSize",value:function(){return this._viewportSize}},{key:"getRenderedRange",value:function(){return this._renderedRange}},{key:"setTotalContentSize",value:function(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}},{key:"setRenderedRange",value:function(e){var t,n,r=this;((t=this._renderedRange).start!=(n=e).start||t.end!=n.end)&&(this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded((function(){return r._scrollStrategy.onContentRendered()})))}},{key:"getOffsetToRenderedContentStart",value:function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}},{key:"setRenderedContentOffset",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"to-start",r=this.dir&&"rtl"==this.dir.value,i="horizontal"==this.orientation,o=i?"X":"Y",a=i&&r?-1:1,s="translate".concat(o,"(").concat(Number(a*e),"px)");this._renderedContentOffset=e,"to-end"===n&&(s+=" translate".concat(o,"(-100%)"),this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=s&&(this._renderedContentTransform=s,this._markChangeDetectionNeeded((function(){t._renderedContentOffsetNeedsRewrite?(t._renderedContentOffset-=t.measureRenderedContentSize(),t._renderedContentOffsetNeedsRewrite=!1,t.setRenderedContentOffset(t._renderedContentOffset)):t._scrollStrategy.onRenderedOffsetChanged()})))}},{key:"scrollToOffset",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n={behavior:t};"horizontal"===this.orientation?n.start=e:n.top=e,this.scrollTo(n)}},{key:"scrollToIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";this._scrollStrategy.scrollToIndex(e,t)}},{key:"measureScrollOffset",value:function(e){return e?Object(o.a)(Object(a.a)(n.prototype),"measureScrollOffset",this).call(this,e):Object(o.a)(Object(a.a)(n.prototype),"measureScrollOffset",this).call(this,"horizontal"===this.orientation?"start":"top")}},{key:"measureRenderedContentSize",value:function(){var e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}},{key:"measureRangeSize",value:function(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}},{key:"checkViewportSize",value:function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}},{key:"_measureViewportSize",value:function(){var e=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?e.clientWidth:e.clientHeight}},{key:"_markChangeDetectionNeeded",value:function(e){var t=this;e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){t._doChangeDetection()}))})))}},{key:"_doChangeDetection",value:function(){var e=this;this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run((function(){return e._changeDetectorRef.markForCheck()}));var t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];var n,r=Object(i.a)(t);try{for(r.s();!(n=r.n()).done;)(0,n.value)()}catch(o){r.e(o)}finally{r.f()}}},{key:"_calculateSpacerSize",value:function(){this._totalContentHeight="horizontal"===this.orientation?"":"".concat(this._totalContentSize,"px"),this._totalContentWidth="horizontal"===this.orientation?"".concat(this._totalContentSize,"px"):""}},{key:"orientation",get:function(){return this._orientation},set:function(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}}]),n}(Y);return e.\u0275fac=function(t){return new(t||e)(f.Yb(f.n),f.Yb(f.i),f.Yb(f.C),f.Yb(j,8),f.Yb(P.b,8),f.Yb(z),f.Yb(U,8))},e.\u0275cmp=f.Sb({type:e,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){var n;1&e&&f.Qc(R,!0),2&e&&f.Fc(n=f.nc())&&(t._contentWrapper=n.first)},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&f.Ob("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[f.Jb([{provide:Y,useExisting:e}]),f.Hb],ngContentSelectors:B,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(f.wc(),f.ec(0,"div",0,1),f.vc(2),f.dc(),f.Zb(3,"div",2)),2&e&&(f.Kb(3),f.Rc("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),e}();function W(e,t){if(!t.getBoundingClientRect)return 0;var n=t.getBoundingClientRect();return"horizontal"==e?n.width:n.height}var G=function(){var e=function(){function e(t,n,i,o,a){var s=this;Object(l.a)(this,e),this._viewContainerRef=t,this._template=n,this._differs=i,this._viewport=o,this.viewChange=new h.a,this._dataSourceChanges=new h.a,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Object(x.a)(null),Object(D.a)(),Object(O.a)((function(e){var t=Object(r.a)(e,2);return s._changeDataSource(t[0],t[1])})),Object(T.a)(1)),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new h.a,this.dataStream.subscribe((function(e){s._data=e,s._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(Object(S.a)(this._destroyed)).subscribe((function(e){s._renderedRange=e,a.run((function(){return s.viewChange.next(s._renderedRange)})),s._onRenderedDataChange()})),this._viewport.attach(this)}return Object(c.a)(e,[{key:"measureRangeSize",value:function(e,t){if(e.start>=e.end)return 0;if(e.start<this._renderedRange.start||e.end>this._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var n=e.start-this._renderedRange.start,r=0,i=e.end-e.start;i--;)for(var o=this._viewContainerRef.get(i+n),a=o?o.rootNodes.length:0;a--;)r+=W(t,o.rootNodes[a]);return r}},{key:"ngDoCheck",value:function(){if(this._differ&&this._needsUpdate){var e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}},{key:"ngOnDestroy",value:function(){this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();var e,t=Object(i.a)(this._templateCache);try{for(t.s();!(e=t.n()).done;)e.value.destroy()}catch(n){t.e(n)}finally{t.f()}}},{key:"_onRenderedDataChange",value:function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)}},{key:"_changeDataSource",value:function(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):Object(p.a)()}},{key:"_updateContext",value:function(){for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var n=this._viewContainerRef.get(t);n.context.index=this._renderedRange.start+t,n.context.count=e,this._updateComputedContextProperties(n.context),n.detectChanges()}}},{key:"_applyChanges",value:function(e){var t=this;e.forEachOperation((function(e,n,r){if(null==e.previousIndex)t._insertViewForNewItem(r).context.$implicit=e.item;else if(null==r)t._cacheView(t._detachView(n));else{var i=t._viewContainerRef.get(n);t._viewContainerRef.move(i,r),i.context.$implicit=e.item}})),e.forEachIdentityChange((function(e){t._viewContainerRef.get(e.currentIndex).context.$implicit=e.item}));for(var n=this._data.length,r=this._viewContainerRef.length;r--;){var i=this._viewContainerRef.get(r);i.context.index=this._renderedRange.start+r,i.context.count=n,this._updateComputedContextProperties(i.context)}}},{key:"_cacheView",value:function(e){if(this._templateCache.length<this.cdkVirtualForTemplateCacheSize)this._templateCache.push(e);else{var t=this._viewContainerRef.indexOf(e);-1===t?e.destroy():this._viewContainerRef.remove(t)}}},{key:"_insertViewForNewItem",value:function(e){return this._insertViewFromCache(e)||this._createEmbeddedViewAt(e)}},{key:"_updateComputedContextProperties",value:function(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}},{key:"_createEmbeddedViewAt",value:function(e){return this._viewContainerRef.createEmbeddedView(this._template,{$implicit:null,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},e)}},{key:"_insertViewFromCache",value:function(e){var t=this._templateCache.pop();return t&&this._viewContainerRef.insert(t,e),t||null}},{key:"_detachView",value:function(e){return this._viewContainerRef.detach(e)}},{key:"cdkVirtualForOf",get:function(){return this._cdkVirtualForOf},set:function(e){this._cdkVirtualForOf=e,Object(L.e)(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new L.a(Object(E.a)(e)?e:Array.prototype.slice.call(e||[])))}},{key:"cdkVirtualForTrackBy",get:function(){return this._cdkVirtualForTrackBy},set:function(e){var t=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?function(n,r){return e(n+(t._renderedRange?t._renderedRange.start:0),r)}:void 0}},{key:"cdkVirtualForTemplate",set:function(e){e&&(this._needsUpdate=!0,this._template=e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(f.Yb(f.V),f.Yb(f.Q),f.Yb(f.v),f.Yb($,4),f.Yb(f.C))},e.\u0275dir=f.Tb({type:e,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize",cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate"}}),e}(),q=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=f.Wb({type:e}),e.\u0275inj=f.Vb({factory:function(t){return new(t||e)}}),e}(),K=function(){var e=function e(){Object(l.a)(this,e)};return e.\u0275mod=f.Wb({type:e}),e.\u0275inj=f.Vb({factory:function(t){return new(t||e)},imports:[[P.a,F.b,q],P.a,q]}),e}()},w0k8:function(e,t,n){"use strict";n("nzIk");var r=n("o7Ob");n.d(t,"a",(function(){return r.a}))},w1tV:function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n("1OyB"),i=n("vuIU"),o=n("ReuC"),a=n("foSv"),s=n("Ji7U"),u=n("LK+K"),l=n("XNiG"),c=n("HDdC"),d=n("7o/Q"),f=n("quSY");function h(){return function(e){return e.lift(new p(e))}}var p=function(){function e(t){Object(r.a)(this,e),this.connectable=t}return Object(i.a)(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new m(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),m=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this,e)).connectable=i,o}return Object(i.a)(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(d.a),v=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this)).source=e,o.subjectFactory=i,o._refCount=0,o._isComplete=!1,o}return Object(i.a)(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new f.a).add(this.source.subscribe(new y(this.getSubject(),this))),e.closed&&(this._connection=null,e=f.a.EMPTY)),e}},{key:"refCount",value:function(){return h()(this)}}]),n}(c.a),g=function(){var e=v.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),y=function(e){Object(s.a)(n,e);var t=Object(u.a)(n);function n(e,i){var o;return Object(r.a)(this,n),(o=t.call(this,e)).connectable=i,o}return Object(i.a)(n,[{key:"_error",value:function(e){this._unsubscribe(),Object(o.a)(Object(a.a)(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),Object(o.a)(Object(a.a)(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(l.b);function b(){return new l.a}function _(){return function(e){return h()((t=b,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,g);return r.source=e,r.subjectFactory=n,r})(e));var t}}},wZkO:function(e,t,n){"use strict";n.d(t,"a",(function(){return ne})),n.d(t,"b",(function(){return he})),n.d(t,"c",(function(){return we})),n("JX7q");var r=n("KQm4"),i=n("ReuC"),o=n("foSv"),a=n("Ji7U"),s=n("LK+K"),u=n("1OyB"),l=n("vuIU"),c=n("u47x"),d=n("GU7r"),f=n("+rOU"),h=n("ofXK"),p=n("fXoL"),m=n("FKr1"),v=n("R1ws"),g=n("XNiG"),y=n("quSY"),b=n("VRyK"),_=n("xgIS"),w=n("LRne"),E=n("PqYM"),C=n("R0Ic"),A=n("JX91"),k=n("/uUt"),S=n("1G5W"),x=n("8LU1"),D=n("nLfN"),O=n("FtGj"),T=n("cH1L"),F=n("vxfF");function M(e,t){1&e&&p.vc(0)}var P=["*"];function L(e,t){}var R=function(e){return{animationDuration:e}},B=function(e,t){return{value:e,params:t}},j=["tabBodyWrapper"],I=["tabHeader"];function N(e,t){}function H(e,t){if(1&e&&p.Sc(0,N,0,0,"ng-template",9),2&e){var n=p.qc().$implicit;p.xc("cdkPortalOutlet",n.templateLabel)}}function z(e,t){if(1&e&&p.Uc(0),2&e){var n=p.qc().$implicit;p.Vc(n.textLabel)}}function Y(e,t){if(1&e){var n=p.fc();p.ec(0,"div",6),p.mc("click",(function(){p.Kc(n);var e=t.$implicit,r=t.index,i=p.qc(),o=p.Gc(1);return i._handleClick(e,o,r)})),p.ec(1,"div",7),p.Sc(2,H,1,1,"ng-template",8),p.Sc(3,z,1,1,"ng-template",8),p.dc(),p.dc()}if(2&e){var r=t.$implicit,i=t.index,o=p.qc();p.Ob("mat-tab-label-active",o.selectedIndex==i),p.xc("id",o._getTabLabelId(i))("disabled",r.disabled)("matRippleDisabled",r.disabled||o.disableRipple),p.Lb("tabIndex",o._getTabIndex(r,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex==i)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),p.Kb(2),p.xc("ngIf",r.templateLabel),p.Kb(1),p.xc("ngIf",!r.templateLabel)}}function U(e,t){if(1&e){var n=p.fc();p.ec(0,"mat-tab-body",10),p.mc("_onCentered",(function(){return p.Kc(n),p.qc()._removeTabBodyWrapperHeight()}))("_onCentering",(function(e){return p.Kc(n),p.qc()._setTabBodyWrapperHeight(e)})),p.dc()}if(2&e){var r=t.$implicit,i=t.index,o=p.qc();p.Ob("mat-tab-body-active",o.selectedIndex==i),p.xc("id",o._getTabContentId(i))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",o.animationDuration),p.Lb("aria-labelledby",o._getTabLabelId(i))}}var V=["tabListContainer"],$=["tabList"],W=["nextPaginator"],G=["previousPaginator"],q=new p.s("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),K=function(){var e=function(){function e(t,n,r,i){Object(u.a)(this,e),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=r,this._animationMode=i}return Object(l.a)(e,[{key:"alignToElement",value:function(e){var t=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t._setStyles(e)}))})):this._setStyles(e)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(e){var t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(p.C),p.Yb(q),p.Yb(v.a,8))},e.\u0275dir=p.Tb({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&p.Ob("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e}(),X=function(){var e=function e(t){Object(u.a)(this,e),this.template=t};return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.Q))},e.\u0275dir=p.Tb({type:e,selectors:[["","matTabContent",""]]}),e}(),Z=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(){return Object(u.a)(this,n),t.apply(this,arguments)}return n}(f.b);return e.\u0275fac=function(t){return J(t||e)},e.\u0275dir=p.Tb({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[p.Hb]}),e}(),J=p.gc(Z),Q=function e(){Object(u.a)(this,e)},ee=Object(m.A)(Q),te=new p.s("MAT_TAB_GROUP"),ne=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r){var i;return Object(u.a)(this,n),(i=t.call(this))._viewContainerRef=e,i._closestTabGroup=r,i.textLabel="",i._contentPortal=null,i._stateChanges=new g.a,i.position=null,i.origin=null,i.isActive=!1,i}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new f.i(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(e){e&&(this._templateLabel=e)}},{key:"content",get:function(){return this._contentPortal}}]),n}(ee);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.V),p.Yb(te,8))},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,n){var r;1&e&&(p.Qb(n,Z,!0),p.Pc(n,X,!0,p.Q)),2&e&&(p.Fc(r=p.nc())&&(t.templateLabel=r.first),p.Fc(r=p.nc())&&(t._explicitContent=r.first))},viewQuery:function(e,t){var n;1&e&&p.Qc(p.Q,!0),2&e&&p.Fc(n=p.nc())&&(t._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[p.Hb,p.Ib],ngContentSelectors:P,decls:1,vars:0,template:function(e,t){1&e&&(p.wc(),p.Sc(0,M,1,0,"ng-template"))},encapsulation:2}),e}(),re={translateTab:Object(C.o)("translateTab",[Object(C.l)("center, void, left-origin-center, right-origin-center",Object(C.m)({transform:"none"})),Object(C.l)("left",Object(C.m)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(C.l)("right",Object(C.m)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(C.n)("* => left, * => right, left => center, right => center",Object(C.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(C.n)("void => left-origin-center",[Object(C.m)({transform:"translate3d(-100%, 0, 0)"}),Object(C.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(C.n)("void => right-origin-center",[Object(C.m)({transform:"translate3d(100%, 0, 0)"}),Object(C.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},ie=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o){var a;return Object(u.a)(this,n),(a=t.call(this,e,r,o))._host=i,a._centeringSub=y.a.EMPTY,a._leavingSub=y.a.EMPTY,a}return Object(l.a)(n,[{key:"ngOnInit",value:function(){var e=this;Object(i.a)(Object(o.a)(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(A.a)(this._host._isCenterPosition(this._host._position))).subscribe((function(t){t&&!e.hasAttached()&&e.attach(e._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){e.detach()}))}},{key:"ngOnDestroy",value:function(){Object(i.a)(Object(o.a)(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(f.c);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.k),p.Yb(p.V),p.Yb(Object(p.ab)((function(){return ae}))),p.Yb(h.c))},e.\u0275dir=p.Tb({type:e,selectors:[["","matTabBodyHost",""]],features:[p.Hb]}),e}(),oe=function(){var e=function(){function e(t,n,r){var i=this;Object(u.a)(this,e),this._elementRef=t,this._dir=n,this._dirChangeSubscription=y.a.EMPTY,this._translateTabComplete=new g.a,this._onCentering=new p.q,this._beforeCentering=new p.q,this._afterLeavingCenter=new p.q,this._onCentered=new p.q(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe((function(e){i._computePositionAnimationState(e),r.markForCheck()}))),this._translateTabComplete.pipe(Object(k.a)((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){i._isCenterPosition(e.toState)&&i._isCenterPosition(i._position)&&i._onCentered.emit(),i._isCenterPosition(e.fromState)&&!i._isCenterPosition(i._position)&&i._afterLeavingCenter.emit()}))}return Object(l.a)(e,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}},{key:"_computePositionAnimationState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(e){var t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(e){this._positionIndex=e,this._computePositionAnimationState()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(T.b,8),p.Yb(p.i))},e.\u0275dir=p.Tb({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e}(),ae=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i){return Object(u.a)(this,n),t.call(this,e,r,i)}return n}(oe);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(T.b,8),p.Yb(p.i))},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var n;1&e&&p.ad(f.f,!0),2&e&&p.Fc(n=p.nc())&&(t._portalHost=n.first)},hostAttrs:[1,"mat-tab-body"],features:[p.Hb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(p.ec(0,"div",0,1),p.mc("@translateTab.start",(function(e){return t._onTranslateTabStarted(e)}))("@translateTab.done",(function(e){return t._translateTabComplete.next(e)})),p.Sc(2,L,0,0,"ng-template",2),p.dc()),2&e&&p.xc("@translateTab",p.Cc(3,B,t._position,p.Bc(1,R,t.animationDuration)))},directives:[ie],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[re.translateTab]}}),e}(),se=new p.s("MAT_TABS_CONFIG"),ue=0,le=function e(){Object(u.a)(this,e)},ce=function e(t){Object(u.a)(this,e),this._elementRef=t},de=Object(m.y)(Object(m.z)(ce),"primary"),fe=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o){var a;return Object(u.a)(this,n),(a=t.call(this,e))._changeDetectorRef=r,a._animationMode=o,a._tabs=new p.H,a._indexToSelect=0,a._tabBodyWrapperHeight=0,a._tabsSubscription=y.a.EMPTY,a._tabLabelSubscription=y.a.EMPTY,a._dynamicHeight=!1,a._selectedIndex=null,a.headerPosition="above",a.selectedIndexChange=new p.q,a.focusChange=new p.q,a.animationDone=new p.q,a.selectedTabChange=new p.q(!0),a._groupId=ue++,a.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",a.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination,a}return Object(l.a)(n,[{key:"ngAfterContentChecked",value:function(){var e=this,t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(t)),Promise.resolve().then((function(){e._tabs.forEach((function(e,n){return e.isActive=n===t})),n||e.selectedIndexChange.emit(t)}))}this._tabs.forEach((function(n,r){n.position=r-t,null==e._selectedIndex||0!=n.position||n.origin||(n.origin=t-e._selectedIndex)})),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var e=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(e._clampTabIndex(e._indexToSelect)===e._selectedIndex)for(var t=e._tabs.toArray(),n=0;n<t.length;n++)if(t[n].isActive){e._indexToSelect=e._selectedIndex=n;break}e._changeDetectorRef.markForCheck()}))}},{key:"_subscribeToAllTabChanges",value:function(){var e=this;this._allTabs.changes.pipe(Object(A.a)(this._allTabs)).subscribe((function(t){e._tabs.reset(t.filter((function(t){return!t._closestTabGroup||t._closestTabGroup===e}))),e._tabs.notifyOnChanges()}))}},{key:"ngOnDestroy",value:function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}},{key:"realignInkBar",value:function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}},{key:"_focusChanged",value:function(e){this.focusChange.emit(this._createChangeEvent(e))}},{key:"_createChangeEvent",value:function(e){var t=new le;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}},{key:"_subscribeToTabLabels",value:function(){var e=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=b.a.apply(void 0,Object(r.a)(this._tabs.map((function(e){return e._stateChanges})))).subscribe((function(){return e._changeDetectorRef.markForCheck()}))}},{key:"_clampTabIndex",value:function(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}},{key:"_getTabLabelId",value:function(e){return"mat-tab-label-".concat(this._groupId,"-").concat(e)}},{key:"_getTabContentId",value:function(e){return"mat-tab-content-".concat(this._groupId,"-").concat(e)}},{key:"_setTabBodyWrapperHeight",value:function(e){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}}},{key:"_removeTabBodyWrapperHeight",value:function(){var e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}},{key:"_handleClick",value:function(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)}},{key:"_getTabIndex",value:function(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}},{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=Object(x.c)(e)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){this._indexToSelect=Object(x.f)(e,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement;t.classList.remove("mat-background-".concat(this.backgroundColor)),e&&t.classList.add("mat-background-".concat(e)),this._backgroundColor=e}}]),n}(de);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(p.i),p.Yb(se,8),p.Yb(v.a,8))},e.\u0275dir=p.Tb({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[p.Hb]}),e}(),he=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o){return Object(u.a)(this,n),t.call(this,e,r,i,o)}return n}(fe);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(p.i),p.Yb(se,8),p.Yb(v.a,8))},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,n){var r;1&e&&p.Qb(n,ne,!0),2&e&&p.Fc(r=p.nc())&&(t._allTabs=r)},viewQuery:function(e,t){var n;1&e&&(p.ad(j,!0),p.ad(I,!0)),2&e&&(p.Fc(n=p.nc())&&(t._tabBodyWrapper=n.first),p.Fc(n=p.nc())&&(t._tabHeader=n.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&p.Ob("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[p.Jb([{provide:te,useExisting:e}]),p.Hb],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(p.ec(0,"mat-tab-header",0,1),p.mc("indexFocused",(function(e){return t._focusChanged(e)}))("selectFocusedIndex",(function(e){return t.selectedIndex=e})),p.Sc(2,Y,4,14,"div",2),p.dc(),p.ec(3,"div",3,4),p.Sc(5,U,1,8,"mat-tab-body",5),p.dc()),2&e&&(p.xc("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),p.Kb(2),p.xc("ngForOf",t._tabs),p.Kb(1),p.Ob("_mat-animation-noopable","NoopAnimations"===t._animationMode),p.Kb(2),p.xc("ngForOf",t._tabs))},directives:function(){return[_e,h.j,ve,m.t,c.e,h.k,f.c,ae]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e}(),pe=function e(){Object(u.a)(this,e)},me=Object(m.A)(pe),ve=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(u.a)(this,n),(r=t.call(this)).elementRef=e,r}return Object(l.a)(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(me);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n))},e.\u0275dir=p.Tb({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(p.Lb("aria-disabled",!!t.disabled),p.Ob("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[p.Hb]}),e}(),ge=Object(D.f)({passive:!0}),ye=function(){var e=function(){function e(t,n,r,i,o,a,s){var l=this;Object(u.a)(this,e),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=r,this._dir=i,this._ngZone=o,this._platform=a,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new g.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new g.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new p.q,this.indexFocused=new p.q,o.runOutsideAngular((function(){Object(_.a)(t.nativeElement,"mouseleave").pipe(Object(S.a)(l._destroyed)).subscribe((function(){l._stopInterval()}))}))}return Object(l.a)(e,[{key:"ngAfterViewInit",value:function(){var e=this;Object(_.a)(this._previousPaginator.nativeElement,"touchstart",ge).pipe(Object(S.a)(this._destroyed)).subscribe((function(){e._handlePaginatorPress("before")})),Object(_.a)(this._nextPaginator.nativeElement,"touchstart",ge).pipe(Object(S.a)(this._destroyed)).subscribe((function(){e._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var e=this,t=this._dir?this._dir.change:Object(w.a)(null),n=this._viewportRuler.change(150),r=function(){e.updatePagination(),e._alignInkBarToSelectedTab()};this._keyManager=new c.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),Object(b.a)(t,n,this._items.changes).pipe(Object(S.a)(this._destroyed)).subscribe((function(){Promise.resolve().then(r),e._keyManager.withHorizontalOrientation(e._getLayoutDirection())})),this._keyManager.change.pipe(Object(S.a)(this._destroyed)).subscribe((function(t){e.indexFocused.emit(t),e._setTabFocus(t)}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(e){if(!Object(O.u)(e))switch(e.keyCode){case O.i:this._keyManager.setFirstItemActive(),e.preventDefault();break;case O.f:this._keyManager.setLastItemActive(),e.preventDefault();break;case O.g:case O.p:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}},{key:"_onContentChanges",value:function(){var e=this,t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run((function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()})))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(e){if(!this._items)return!0;var t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}},{key:"_setTabFocus",value:function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var e=this.scrollDistance,t=this._platform,n="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(n),"px)"),t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"_scrollHeader",value:function(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(e){this._stopInterval(),this._scrollHeader(e)}},{key:"_scrollToLabel",value:function(e){if(!this.disablePagination){var t=this._items?this._items.toArray()[e]:null;if(t){var n,r,i=this._tabListContainer.nativeElement.offsetWidth,o=t.elementRef.nativeElement,a=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=a)+s:n=(r=this._tabList.nativeElement.offsetWidth-a)-s;var u=this.scrollDistance,l=this.scrollDistance+i;n<u?this.scrollDistance-=u-n+60:r>l&&(this.scrollDistance+=r-l+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(e,t){var n=this;t&&null!=t.button&&0!==t.button||(this._stopInterval(),Object(E.a)(650,100).pipe(Object(S.a)(Object(b.a)(this._stopScrolling,this._destroyed))).subscribe((function(){var t=n._scrollHeader(e),r=t.distance;(0===r||r>=t.maxScrollDistance)&&n._stopInterval()})))}},{key:"_scrollTo",value:function(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){e=Object(x.f)(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(p.i),p.Yb(F.h),p.Yb(T.b,8),p.Yb(p.C),p.Yb(D.a),p.Yb(v.a,8))},e.\u0275dir=p.Tb({type:e,inputs:{disablePagination:"disablePagination"}}),e}(),be=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o,a,s,l){var c;return Object(u.a)(this,n),(c=t.call(this,e,r,i,o,a,s,l))._disableRipple=!1,c}return Object(l.a)(n,[{key:"_itemSelected",value:function(e){e.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(x.c)(e)}}]),n}(ye);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(p.i),p.Yb(F.h),p.Yb(T.b,8),p.Yb(p.C),p.Yb(D.a),p.Yb(v.a,8))},e.\u0275dir=p.Tb({type:e,inputs:{disableRipple:"disableRipple"},features:[p.Hb]}),e}(),_e=function(){var e=function(e){Object(a.a)(n,e);var t=Object(s.a)(n);function n(e,r,i,o,a,s,l){return Object(u.a)(this,n),t.call(this,e,r,i,o,a,s,l)}return n}(be);return e.\u0275fac=function(t){return new(t||e)(p.Yb(p.n),p.Yb(p.i),p.Yb(F.h),p.Yb(T.b,8),p.Yb(p.C),p.Yb(D.a),p.Yb(v.a,8))},e.\u0275cmp=p.Sb({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,n){var r;1&e&&p.Qb(n,ve,!1),2&e&&p.Fc(r=p.nc())&&(t._items=r)},viewQuery:function(e,t){var n;1&e&&(p.Qc(K,!0),p.Qc(V,!0),p.Qc($,!0),p.ad(W,!0),p.ad(G,!0)),2&e&&(p.Fc(n=p.nc())&&(t._inkBar=n.first),p.Fc(n=p.nc())&&(t._tabListContainer=n.first),p.Fc(n=p.nc())&&(t._tabList=n.first),p.Fc(n=p.nc())&&(t._nextPaginator=n.first),p.Fc(n=p.nc())&&(t._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&p.Ob("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[p.Hb],ngContentSelectors:P,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(p.wc(),p.ec(0,"div",0,1),p.mc("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),p.Zb(2,"div",2),p.dc(),p.ec(3,"div",3,4),p.mc("keydown",(function(e){return t._handleKeydown(e)})),p.ec(5,"div",5,6),p.mc("cdkObserveContent",(function(){return t._onContentChanges()})),p.ec(7,"div",7),p.vc(8),p.dc(),p.Zb(9,"mat-ink-bar"),p.dc(),p.dc(),p.ec(10,"div",8,9),p.mc("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),p.Zb(12,"div",2),p.dc()),2&e&&(p.Ob("mat-tab-header-pagination-disabled",t._disableScrollBefore),p.xc("matRippleDisabled",t._disableScrollBefore||t.disableRipple),p.Kb(5),p.Ob("_mat-animation-noopable","NoopAnimations"===t._animationMode),p.Kb(5),p.Ob("mat-tab-header-pagination-disabled",t._disableScrollAfter),p.xc("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[m.t,d.a,K],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e}(),we=function(){var e=function e(){Object(u.a)(this,e)};return e.\u0275mod=p.Wb({type:e}),e.\u0275inj=p.Vb({factory:function(t){return new(t||e)},imports:[[h.b,m.j,f.h,m.u,d.c,c.a],m.j]}),e}()},xMbT:function(e,t){},xUBY:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("S2Kk"),i=n("//cU"),o=n("lqow"),a=n("qZ+J");function s(e){return e?"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+(e.creationContext?e.creationContext.name||"(root)":"(none)")+")]":"ui-view (defunct)"}function u(e){return Object(i.h)(e)?l[e]:l[l[e]]}var l=function(e){return e[e.RESOLVE=0]="RESOLVE",e[e.TRANSITION=1]="TRANSITION",e[e.HOOK=2]="HOOK",e[e.UIVIEW=3]="UIVIEW",e[e.VIEWCONFIG=4]="VIEWCONFIG",e}({}),c=Object(r.h)("$id"),d=Object(r.h)("router.$id"),f=function(e){return"Transition #"+c(e)+"-"+d(e)},h=new(function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(e,t){var n=this;t.length||(t=Object.keys(l).map((function(e){return parseInt(e,10)})).filter((function(e){return!isNaN(e)})).map((function(e){return l[e]}))),t.map(u).forEach((function(t){return n._enabled[t]=e}))},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[u(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(l.TRANSITION)&&a.a.log(f(e)+": Started  -> "+Object(o.k)(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(l.TRANSITION)&&a.a.log(f(e)+": Ignored  <> "+Object(o.k)(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(l.HOOK)){var i=Object(r.h)("traceData.hookType")(n)||"internal",s=Object(r.h)("traceData.context.state.name")(n)||Object(r.h)("traceData.context")(n)||"unknown",u=Object(o.b)(e.registeredHook.callback);a.a.log(f(t)+":   Hook -> "+i+" context: "+s+", "+Object(o.e)(200,u))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(l.HOOK)&&a.a.log(f(t)+":   <- Hook returned: "+Object(o.e)(200,Object(o.k)(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(l.RESOLVE)&&a.a.log(f(n)+":         Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(l.RESOLVE)&&a.a.log(f(t)+":               <- Resolved  "+e+" to: "+Object(o.e)(200,Object(o.k)(e.data)))},e.prototype.traceError=function(e,t){this.enabled(l.TRANSITION)&&a.a.log(f(t)+": <- Rejected "+Object(o.k)(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(l.TRANSITION)&&a.a.log(f(t)+": <- Success  "+Object(o.k)(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(l.UIVIEW)&&a.a.log("ui-view: "+Object(o.f)(30,e)+" "+s(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(l.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(l.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+Object(o.e)(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(l.VIEWCONFIG)){var t="uiview component fqn",n=e.map((function(e){var n,r=e.uiView,i=e.viewConfig,o=i&&i.viewDecl.$context.name+": ("+i.viewDecl.$name+")";return(n={})[t]=r&&r.fqn,n["view config state (view name)"]=o,n})).sort((function(e,n){return(e[t]||"").localeCompare(n[t]||"")}));a.a.table(n)}},e.prototype.traceViewServiceEvent=function(e,t){this.enabled(l.VIEWCONFIG)&&a.a.log("VIEWCONFIG: "+e+" "+function(e){var t=e.viewDecl;return"[View#"+e.$id+" from '"+(t.$context.name||"(root)")+"' state]: target ui-view: '"+t.$uiViewName+"@"+t.$uiViewContextAnchor+"'"}(t))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(l.VIEWCONFIG)&&a.a.log("VIEWCONFIG: "+e+" "+s(t))},e}())},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q");function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new l(e))}}var l=function(){function e(t){Object(o.a)(this,e),this.defaultValue=t}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.defaultValue))}}]),e}(),c=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i;return Object(o.a)(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return Object(a.a)(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(s.a)},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("KQm4"),i=n("HDdC"),o=n("DH7j"),a=n("n6bG"),s=n("lJxs");function u(e,t,n,l){return Object(a.a)(n)&&(l=n,n=void 0),l?u(e,t,n).pipe(Object(s.a)((function(e){return Object(o.a)(e)?l.apply(void 0,Object(r.a)(e)):l(e)}))):new i.a((function(r){!function e(t,n,r,i,o){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var u=t;t.on(n,r),a=function(){return u.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,r),a=function(){return l.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,d=t.length;c<d;c++)e(t[c],n,r,i,o)}i.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)}))}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},yP38:function(e,t,n){"use strict";var r,i=n("iB+3"),o=n("yeBi"),a=n("CMGN"),s=n("Ui1d");function u(e,t,n,r,s){var u=Object(i.parse)("viewDecl.controllerAs"),l=Object(i.parse)("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(r){var c=r.html();return r.empty(),function(r,f){var h=f.data("$uiView");if(!h)return f.html(c),void e(f.contents())(r);var p=h.$cfg||{viewDecl:{},getTemplate:i.noop},m=p.path&&new i.ResolveContext(p.path);f.html(p.getTemplate(f,m)||c),i.trace.traceUIViewFill(h.$uiView,f.html());var v=e(f.contents()),g=p.controller,y=u(p),b=l(p),_=m&&Object(a.a)(m);if(r[b]=_,g){var w=t(g,Object(i.extend)({},_,{$scope:r,$element:f}));y&&(r[y]=w,r[y][b]=_),f.data("$ngControllerController",w),f.children().data("$ngControllerController",w),d(s,n,w,r,p)}if(Object(i.isString)(p.component))var E=Object(i.kebobString)(p.component),C=new RegExp("^(x-|data-)?"+E+"$","i"),A=r.$watch((function(){var e=[].slice.call(f[0].children).filter((function(e){return e&&e.tagName&&C.exec(e.tagName)}));return e&&o.a.element(e).data("$"+p.component+"Controller")}),(function(e){e&&(d(s,n,e,r,p),A())}));v(r)}}}}r=["$view","$animate","$uiViewScroll","$interpolate","$q",function(e,t,n,r,a){var u={$cfg:{viewDecl:{$context:e._pluginapi._rootViewContext()}},$uiView:{}},l={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(c,d,f){return function(c,d,h){var p,m,v,g,y=h.onload||"",b=h.autoscroll,_=d.inheritedData("$uiView")||u,w=r(h.uiView||h.name||"")(c)||"$default",E={$type:"ng1",id:l.count++,name:w,fqn:_.$uiView.fqn?_.$uiView.fqn+"."+w:w,config:null,configUpdated:function(e){(!e||e instanceof s.a)&&g!==e&&(i.trace.traceUIViewConfigUpdated(E,e&&e.viewDecl&&e.viewDecl.$context),g=e,A(e))},get creationContext(){var e=Object(i.parse)("$cfg.viewDecl.$context")(_),t=Object(i.parse)("$uiView.creationContext")(_);return e||t}};i.trace.traceUIViewEvent("Linking",E),d.data("$uiView",{$uiView:E}),A();var C=e.registerUIView(E);function A(e){var r=c.$new(),s=a.defer(),u=a.defer(),l={$cfg:e,$uiView:E},h={$animEnter:s.promise,$animLeave:u.promise,$$animLeave:u};r.$emit("$viewContentLoading",w);var _=f(r,(function(e){var r,a,u;e.data("$uiViewAnim",h),e.data("$uiView",l),r=e,a=d,u=function(){s.resolve(),v&&v.$emit("$viewContentAnimationEnded"),(Object(i.isDefined)(b)&&!b||c.$eval(b))&&n(e)},o.a.version.minor>2?t.enter(r,null,a).then(u):t.enter(r,null,a,u),function(){if(p&&(i.trace.traceUIViewEvent("Removing (previous) el",p.data("$uiView")),p.remove(),p=null),v&&(i.trace.traceUIViewEvent("Destroying scope",E),v.$destroy(),v=null),m){var e=m.data("$uiViewAnim");i.trace.traceUIViewEvent("Animate out",e),function(e,n){o.a.version.minor>2?t.leave(e).then(n):t.leave(e,n)}(m,(function(){e.$$animLeave.resolve(),p=null})),p=m,m=null}}()}));m=_,(v=r).$emit("$viewContentLoaded",e||g),v.$eval(y)}c.$on("$destroy",(function(){i.trace.traceUIViewEvent("Destroying/Unregistering",E),C()}))}}};return l}],u.$inject=["$compile","$controller","$transitions","$view","$q"];var l="function"==typeof o.a.module("ui.router").component,c=0;function d(e,t,n,r,o){!Object(i.isFunction)(n.$onInit)||(o.viewDecl.component||o.viewDecl.componentProvider)&&l||n.$onInit();var a=Object(i.tail)(o.path).state.self,s={bind:n};if(Object(i.isFunction)(n.uiOnParamsChanged)){var u=new i.ResolveContext(o.path).getResolvable("$transition$").data;r.$on("$destroy",t.onSuccess({},(function(e){if(e!==u&&-1===e.exiting().indexOf(a)){var t=e.params("to"),r=e.params("from"),o=function(e){return e.paramSchema},s=e.treeChanges("to").map(o).reduce(i.unnestR,[]),l=e.treeChanges("from").map(o).reduce(i.unnestR,[]),c=s.filter((function(e){var n=l.indexOf(e);return-1===n||!l[n].type.equals(t[e.id],r[e.id])}));if(c.length){var d=c.map((function(e){return e.id})),f=Object(i.filter)(t,(function(e,t){return-1!==d.indexOf(t)}));n.uiOnParamsChanged(f,e)}}}),s))}if(Object(i.isFunction)(n.uiCanExit)){var d=c++;r.$on("$destroy",t.onBefore({exiting:a.name},(function(t){var r,i=t._uiCanExitIds=t._uiCanExitIds||{};return function e(t){return!!t&&(t._uiCanExitIds&&!0===t._uiCanExitIds[d]||e(t.redirectedFrom()))}(t)||(r=e.when(n.uiCanExit(t))).then((function(e){return i[d]=!1!==e})),r}),s))}}o.a.module("ui.router.state").directive("uiView",r),o.a.module("ui.router.state").directive("uiView",u)},yeBi:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("KHwQ"),i=angular,o=r&&r.module?r:i},yl30:function(e,t,n){"use strict";var r=n("q1tI"),i=n("MgzW"),o=n("QCnb");function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(c){this.onError(c)}}var u=!1,l=null,c=!1,d=null,f={onError:function(e){u=!0,l=e}};function h(e,t,n,r,i,o,a,c,d){u=!1,l=null,s.apply(f,arguments)}var p=null,m=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,o,s,f,p){if(h.apply(this,arguments),u){if(!u)throw Error(a(198));var m=l;u=!1,l=null,c||(c=!0,d=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function _(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!E[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in E[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,u=r;if(C.hasOwnProperty(u))throw Error(a(99,u));C[u]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&w(l[i],s,u);i=!0}else o.registrationName?(w(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function w(e,t,n){if(A[e])throw Error(a(100,e));A[e]=t,k[e]=t.eventTypes[n].dependencies}var E=[],C={},A={},k={};function S(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&_()}var x=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),D=null,O=null,T=null;function F(e){if(e=m(e)){if("function"!=typeof D)throw Error(a(280));var t=e.stateNode;t&&(t=p(t),D(e.stateNode,e.type,t))}}function M(e){O?T?T.push(e):T=[e]:O=e}function P(){if(O){var e=O,t=T;if(T=O=null,F(e),t)for(e=0;e<t.length;e++)F(t[e])}}function L(e,t){return e(t)}function R(e,t,n,r,i){return e(t,n,r,i)}function B(){}var j=L,I=!1,N=!1;function H(){null===O&&null===T||(B(),P())}function z(e,t,n){if(N)return e(t,n);N=!0;try{return j(e,t,n)}finally{N=!1,H()}}var Y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U=Object.prototype.hasOwnProperty,V={},$={};function W(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){G[e]=new W(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];G[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){G[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){G[e]=new W(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){G[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){G[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){G[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){G[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){G[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var q=/[\-:]([a-z])/g;function K(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new W(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(q,K);G[t]=new W(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(q,K);G[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){G[e]=new W(e,1,!1,e.toLowerCase(),null,!1)})),G.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){G[e]=new W(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function Z(e,t,n,r){var i=G.hasOwnProperty(t)?G[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!U.call($,e)||!U.call(V,e)&&(Y.test(e)?$[e]=!0:(V[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var J=/^(.*)[\\\/]/,Q="function"==typeof Symbol&&Symbol.for,ee=Q?Symbol.for("react.element"):60103,te=Q?Symbol.for("react.portal"):60106,ne=Q?Symbol.for("react.fragment"):60107,re=Q?Symbol.for("react.strict_mode"):60108,ie=Q?Symbol.for("react.profiler"):60114,oe=Q?Symbol.for("react.provider"):60109,ae=Q?Symbol.for("react.context"):60110,se=Q?Symbol.for("react.concurrent_mode"):60111,ue=Q?Symbol.for("react.forward_ref"):60112,le=Q?Symbol.for("react.suspense"):60113,ce=Q?Symbol.for("react.suspense_list"):60120,de=Q?Symbol.for("react.memo"):60115,fe=Q?Symbol.for("react.lazy"):60116,he=Q?Symbol.for("react.block"):60121,pe="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=pe&&e[pe]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case le:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case ue:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ve(e.type);case he:return ve(e.render);case fe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(J,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function _e(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ce(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ae(e,t){null!=(t=t.checked)&&Z(e,"checked",t,!1)}function ke(e,t){Ae(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?xe(e,t.type,n):t.hasOwnProperty("defaultValue")&&xe(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&null==t.value)return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function xe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function De(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Te(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Me(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Pe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Re(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Be,je=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Be=Be||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Be.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ie(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ne(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ne("Animation","AnimationEnd"),animationiteration:Ne("Animation","AnimationIteration"),animationstart:Ne("Animation","AnimationStart"),transitionend:Ne("Transition","TransitionEnd")},ze={},Ye={};function Ue(e){if(ze[e])return ze[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ye)return ze[e]=n[t];return e}x&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ve=Ue("animationend"),$e=Ue("animationiteration"),We=Ue("animationstart"),Ge=Ue("transitionend"),qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ke=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Ke.get(e);return void 0===t&&(t=new Map,Ke.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Qe(e){if(Ze(e)!==e)throw Error(a(188))}function et(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Qe(i),e;if(o===r)return Qe(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function tt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function nt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var rt=null;function it(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ot(e){if(null!==e&&(rt=tt(rt,e)),e=rt,rt=null,e){if(nt(e,it),rt)throw Error(a(95));if(c)throw e=d,c=!1,d=null,e}}function at(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!x)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function lt(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function ct(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=kn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=at(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<E.length;u++){var l=E[u];l&&(l=l.extractEvents(r,t,o,i,a))&&(s=tt(s,l))}ot(s)}}function ft(e,t,n){if(!n.has(e)){switch(e){case"scroll":Wt(t,"scroll",!0);break;case"focus":case"blur":Wt(t,"focus",!0),Wt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&Wt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===qe.indexOf(e)&&$t(e,t)}n.set(e,null)}}var ht,pt,mt,vt=!1,gt=[],yt=null,bt=null,_t=null,wt=new Map,Et=new Map,Ct=[],At="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),kt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function St(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function xt(e,t){switch(e){case"focus":case"blur":yt=null;break;case"dragenter":case"dragleave":bt=null;break;case"mouseover":case"mouseout":_t=null;break;case"pointerover":case"pointerout":wt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Et.delete(t.pointerId)}}function Dt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=St(t,n,r,i,o),null!==t&&null!==(t=Sn(t))&&pt(t),e):(e.eventSystemFlags|=r,e)}function Ot(e){var t=kn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){mt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Sn(t);return null!==n&&pt(n),e.blockedOn=t,!1}return!0}function Ft(e,t,n){Tt(e)&&n.delete(t)}function Mt(){for(vt=!1;0<gt.length;){var e=gt[0];if(null!==e.blockedOn){null!==(e=Sn(e.blockedOn))&&ht(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:gt.shift()}null!==yt&&Tt(yt)&&(yt=null),null!==bt&&Tt(bt)&&(bt=null),null!==_t&&Tt(_t)&&(_t=null),wt.forEach(Ft),Et.forEach(Ft)}function Pt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Mt)))}function Lt(e){function t(t){return Pt(t,e)}if(0<gt.length){Pt(gt[0],e);for(var n=1;n<gt.length;n++){var r=gt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==yt&&Pt(yt,e),null!==bt&&Pt(bt,e),null!==_t&&Pt(_t,e),wt.forEach(t),Et.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)Ot(n),null===n.blockedOn&&Ct.shift()}var Rt={},Bt=new Map,jt=new Map,It=["abort","abort",Ve,"animationEnd",$e,"animationIteration",We,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ge,"transitionEnd","waiting","waiting"];function Nt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},jt.set(r,t),Bt.set(r,o),Rt[i]=o}}Nt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Nt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Nt(It,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),zt=0;zt<Ht.length;zt++)jt.set(Ht[zt],0);var Yt=o.unstable_UserBlockingPriority,Ut=o.unstable_runWithPriority,Vt=!0;function $t(e,t){Wt(t,e,!1)}function Wt(e,t,n){var r=jt.get(t);switch(void 0===r?2:r){case 0:r=Gt.bind(null,t,1,e);break;case 1:r=qt.bind(null,t,1,e);break;default:r=Kt.bind(null,t,1,e)}e.addEventListener(t,r,!!n)}function Gt(e,t,n,r){I||B();var i=Kt,o=I;I=!0;try{R(i,e,t,n,r)}finally{(I=o)||H()}}function qt(e,t,n,r){Ut(Yt,Kt.bind(null,e,t,n,r))}function Kt(e,t,n,r){if(Vt)if(0<gt.length&&-1<At.indexOf(e))e=St(null,e,t,n,r),gt.push(e);else{var i=Xt(e,t,n,r);if(null===i)xt(e,r);else if(-1<At.indexOf(e))e=St(i,e,t,n,r),gt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return yt=Dt(yt,e,t,n,r,i),!0;case"dragenter":return bt=Dt(bt,e,t,n,r,i),!0;case"mouseover":return _t=Dt(_t,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return wt.set(o,Dt(wt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return Et.set(o=i.pointerId,Dt(Et.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){xt(e,r),e=ct(e,r,null,t);try{z(dt,e)}finally{lt(e)}}}}function Xt(e,t,n,r){if(null!==(n=kn(n=at(r)))){var i=Ze(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=Je(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ct(e,r,n,t);try{z(dt,e)}finally{lt(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Jt=["Webkit","ms","Moz","O"];function Qt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function en(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Qt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Zt).forEach((function(e){Jt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var tn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nn(e,t){if(t){if(tn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function rn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var on="http://www.w3.org/1999/xhtml";function an(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=k[t];for(var r=0;r<t.length;r++)ft(t[r],e,n)}function sn(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(Vu){return e.body}}function ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cn(e,t){var n,r=ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ln(r)}}function dn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hn=null,pn=null;function mn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var gn="function"==typeof setTimeout?setTimeout:void 0,yn="function"==typeof clearTimeout?clearTimeout:void 0;function bn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function _n(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var wn=Math.random().toString(36).slice(2),En="__reactInternalInstance$"+wn,Cn="__reactEventHandlers$"+wn,An="__reactContainere$"+wn;function kn(e){var t=e[En];if(t)return t;for(var n=e.parentNode;n;){if(t=n[An]||n[En]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=_n(e);null!==e;){if(n=e[En])return n;e=_n(e)}return t}n=(e=n).parentNode}return null}function Sn(e){return!(e=e[En]||e[An])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[Cn]||null}function On(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Tn(e,t){var n=e.stateNode;if(!n)return null;var r=p(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function Fn(e,t,n){(t=Tn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=tt(n._dispatchListeners,t),n._dispatchInstances=tt(n._dispatchInstances,e))}function Mn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=On(t);for(t=n.length;0<t--;)Fn(n[t],"captured",e);for(t=0;t<n.length;t++)Fn(n[t],"bubbled",e)}}function Pn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Tn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=tt(n._dispatchListeners,t),n._dispatchInstances=tt(n._dispatchInstances,e))}function Ln(e){e&&e.dispatchConfig.registrationName&&Pn(e._targetInst,null,e)}function Rn(e){nt(e,Mn)}var Bn=null,jn=null,In=null;function Nn(){if(In)return In;var e,t,n=jn,r=n.length,i="value"in Bn?Bn.value:Bn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return In=i.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function zn(){return!1}function Yn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:zn,this.isPropagationStopped=zn,this}function Un(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Vn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Un,e.release=Vn}i(Yn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:zn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=zn,this._dispatchInstances=this._dispatchListeners=null}}),Yn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Yn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),(n.prototype=o).constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,$n(n),n},$n(Yn);var Wn=Yn.extend({data:null}),Gn=Yn.extend({data:null}),qn=[9,13,27,32],Kn=x&&"CompositionEvent"in window,Xn=null;x&&"documentMode"in document&&(Xn=document.documentMode);var Zn=x&&"TextEvent"in window&&!Xn,Jn=x&&(!Kn||Xn&&8<Xn&&11>=Xn),Qn=String.fromCharCode(32),er={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},tr=!1;function nr(e,t){switch(e){case"keyup":return-1!==qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function rr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ir=!1,or={eventTypes:er,extractEvents:function(e,t,n,r){var i;if(Kn)e:{switch(e){case"compositionstart":var o=er.compositionStart;break e;case"compositionend":o=er.compositionEnd;break e;case"compositionupdate":o=er.compositionUpdate;break e}o=void 0}else ir?nr(e,n)&&(o=er.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=er.compositionStart);return o?(Jn&&"ko"!==n.locale&&(ir||o!==er.compositionStart?o===er.compositionEnd&&ir&&(i=Nn()):(jn="value"in(Bn=r)?Bn.value:Bn.textContent,ir=!0)),o=Wn.getPooled(o,t,n,r),(i||null!==(i=rr(n)))&&(o.data=i),Rn(o),i=o):i=null,(e=Zn?function(e,t){switch(e){case"compositionend":return rr(t);case"keypress":return 32!==t.which?null:(tr=!0,Qn);case"textInput":return(e=t.data)===Qn&&tr?null:e;default:return null}}(e,n):function(e,t){if(ir)return"compositionend"===e||!Kn&&nr(e,t)?(e=Nn(),In=jn=Bn=null,ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Jn&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Gn.getPooled(er.beforeInput,t,n,r)).data=e,Rn(t)):t=null,null===i?t:null===t?i:[i,t]}},ar={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ar[e.type]:"textarea"===t}var ur={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function lr(e,t,n){return(e=Yn.getPooled(ur.change,e,t,n)).type="change",M(n),Rn(e),e}var cr=null,dr=null;function fr(e){ot(e)}function hr(e){if(we(xn(e)))return e}function pr(e,t){if("change"===e)return t}var mr=!1;function vr(){cr&&(cr.detachEvent("onpropertychange",gr),dr=cr=null)}function gr(e){if("value"===e.propertyName&&hr(dr))if(e=lr(dr,e,at(e)),I)ot(e);else{I=!0;try{L(fr,e)}finally{I=!1,H()}}}function yr(e,t,n){"focus"===e?(vr(),dr=n,(cr=t).attachEvent("onpropertychange",gr)):"blur"===e&&vr()}function br(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hr(dr)}function _r(e,t){if("click"===e)return hr(t)}function wr(e,t){if("input"===e||"change"===e)return hr(t)}x&&(mr=st("input")&&(!document.documentMode||9<document.documentMode));var Er={eventTypes:ur,_isInputEventSupported:mr,extractEvents:function(e,t,n,r){var i=t?xn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=pr;else if(sr(i))if(mr)a=wr;else{a=br;var s=yr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=_r);if(a&&(a=a(e,t)))return lr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&xe(i,"number",i.value)}},Cr=Yn.extend({view:null,detail:null}),Ar={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ar[e])&&!!t[e]}function Sr(){return kr}var xr=0,Dr=0,Or=!1,Tr=!1,Fr=Cr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Sr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=xr;return xr=e.screenX,Or?"mousemove"===e.type?e.screenX-t:0:(Or=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,Tr?"mousemove"===e.type?e.screenY-t:0:(Tr=!0,0)}}),Mr=Fr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Pr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Lr={eventTypes:Pr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?kn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var s=Fr,u=Pr.mouseLeave,l=Pr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Mr,u=Pr.pointerLeave,l=Pr.pointerEnter,c="pointer");if(e=null==a?o:xn(a),o=null==t?o:xn(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(l,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(l=c,a=0,e=s=r;e;e=On(e))a++;for(e=0,t=l;t;t=On(t))e++;for(;0<a-e;)s=On(s),a--;for(;0<e-a;)l=On(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=On(s),l=On(l)}s=null}else s=null;for(l=s,s=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)s.push(r),r=On(r);for(r=[];c&&c!==l&&(null===(a=c.alternate)||a!==l);)r.push(c),c=On(c);for(c=0;c<s.length;c++)Pn(s[c],"bubbled",u);for(c=r.length;0<c--;)Pn(r[c],"captured",n);return 0==(64&i)?[u]:[u,n]}},Rr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Br=Object.prototype.hasOwnProperty;function jr(e,t){if(Rr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Br.call(t,n[r])||!Rr(e[n[r]],t[n[r]]))return!1;return!0}var Ir=x&&"documentMode"in document&&11>=document.documentMode,Nr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,zr=null,Yr=null,Ur=!1;function Vr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Ur||null==Hr||Hr!==un(n)?null:(n="selectionStart"in(n=Hr)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Yr&&jr(Yr,n)?null:(Yr=n,(e=Yn.getPooled(Nr.select,zr,e,t)).type="select",e.target=Hr,Rn(e),e))}var $r={eventTypes:Nr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=k.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?xn(t):window,e){case"focus":(sr(i)||"true"===i.contentEditable)&&(Hr=i,zr=t,Yr=null);break;case"blur":Yr=zr=Hr=null;break;case"mousedown":Ur=!0;break;case"contextmenu":case"mouseup":case"dragend":return Ur=!1,Vr(n,r);case"selectionchange":if(Ir)break;case"keydown":case"keyup":return Vr(n,r)}return null}},Wr=Yn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Gr=Yn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qr=Cr.extend({relatedTarget:null});function Kr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Jr=Cr.extend({key:function(e){if(e.key){var t=Xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Sr,charCode:function(e){return"keypress"===e.type?Kr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Qr=Fr.extend({dataTransfer:null}),ei=Cr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Sr}),ti=Yn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ni=Fr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ri={eventTypes:Rt,extractEvents:function(e,t,n,r){var i=Bt.get(e);if(!i)return null;switch(e){case"keypress":if(0===Kr(n))return null;case"keydown":case"keyup":e=Jr;break;case"blur":case"focus":e=qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=Qr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ei;break;case Ve:case $e:case We:e=Wr;break;case Ge:e=ti;break;case"scroll":e=Cr;break;case"wheel":e=ni;break;case"copy":case"cut":case"paste":e=Gr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Mr;break;default:e=Yn}return Rn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),p=Dn,m=Sn,v=xn,S({SimpleEventPlugin:ri,EnterLeaveEventPlugin:Lr,ChangeEventPlugin:Er,SelectEventPlugin:$r,BeforeInputEventPlugin:or});var ii=[],oi=-1;function ai(e){0>oi||(e.current=ii[oi],ii[oi]=null,oi--)}function si(e,t){oi++,ii[oi]=e.current,e.current=t}var ui={},li={current:ui},ci={current:!1},di=ui;function fi(e,t){var n=e.type.contextTypes;if(!n)return ui;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hi(e){return null!=e.childContextTypes}function pi(){ai(ci),ai(li)}function mi(e,t,n){if(li.current!==ui)throw Error(a(168));si(li,t),si(ci,n)}function vi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||"Unknown",o));return i({},n,{},r)}function gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ui,di=li.current,si(li,e),si(ci,ci.current),!0}function yi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=vi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,ai(ci),ai(li),si(li,e)):ai(ci),si(ci,n)}var bi=o.unstable_runWithPriority,_i=o.unstable_scheduleCallback,wi=o.unstable_cancelCallback,Ei=o.unstable_requestPaint,Ci=o.unstable_now,Ai=o.unstable_getCurrentPriorityLevel,ki=o.unstable_ImmediatePriority,Si=o.unstable_UserBlockingPriority,xi=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Oi=o.unstable_IdlePriority,Ti={},Fi=o.unstable_shouldYield,Mi=void 0!==Ei?Ei:function(){},Pi=null,Li=null,Ri=!1,Bi=Ci(),ji=1e4>Bi?Ci:function(){return Ci()-Bi};function Ii(){switch(Ai()){case ki:return 99;case Si:return 98;case xi:return 97;case Di:return 96;case Oi:return 95;default:throw Error(a(332))}}function Ni(e){switch(e){case 99:return ki;case 98:return Si;case 97:return xi;case 96:return Di;case 95:return Oi;default:throw Error(a(332))}}function Hi(e,t){return e=Ni(e),bi(e,t)}function zi(e,t,n){return e=Ni(e),_i(e,t,n)}function Yi(e){return null===Pi?(Pi=[e],Li=_i(ki,Vi)):Pi.push(e),Ti}function Ui(){if(null!==Li){var e=Li;Li=null,wi(e)}Vi()}function Vi(){if(!Ri&&null!==Pi){Ri=!0;var e=0;try{var t=Pi;Hi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Pi=null}catch(n){throw null!==Pi&&(Pi=Pi.slice(e+1)),_i(ki,Ui),n}finally{Ri=!1}}}function $i(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Wi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Gi={current:null},qi=null,Ki=null,Xi=null;function Zi(){Xi=Ki=qi=null}function Ji(e){var t=Gi.current;ai(Gi),e.type._context._currentValue=t}function Qi(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function eo(e,t){qi=e,Xi=Ki=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function to(e,t){if(Xi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Xi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ki){if(null===qi)throw Error(a(308));Ki=t,qi.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ki=Ki.next=t;return e._currentValue}var no=!1;function ro(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function io(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function oo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ao(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function so(e,t){var n=e.alternate;null!==n&&io(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function uo(e,t,n,r){var o=e.updateQueue;no=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,o.shared.pending=null,null!==(u=e.alternate)&&null!==(u=u.updateQueue)&&(u.baseQueue=s)}if(null!==a){var l=o.baseState,c=0,d=null,f=null,h=null;if(null!==(u=a.next))for(var p=u;;){if((s=p.expirationTime)<r){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===h?(f=h=m,d=l):h=h.next=m,s>c&&(c=s)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),ru(s,p.suspenseConfig);e:{var v=e,g=p;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){l=v.call(m,l,s);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,l,s):v))break e;l=i({},l,s);break e;case 2:no=!0}}null!==p.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[p]:s.push(p))}if(null===(p=p.next)||p===u){if(null===(s=o.shared.pending))break;p=a.next=s.next,s.next=u,o.baseQueue=a=s,o.shared.pending=null}}null===h?d=l:h.next=f,o.baseState=d,o.baseQueue=h,iu(c),e.expirationTime=c,e.memoizedState=l}}function lo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var co=X.ReactCurrentBatchConfig,fo=(new r.Component).refs;function ho(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var po={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Vs(),i=co.suspense;(i=oo(r=$s(r,e,i),i)).payload=t,null!=n&&(i.callback=n),ao(e,i),Ws(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Vs(),i=co.suspense;(i=oo(r=$s(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),ao(e,i),Ws(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Vs(),r=co.suspense;(r=oo(n=$s(n,e,r),r)).tag=2,null!=t&&(r.callback=t),ao(e,r),Ws(e,n)}};function mo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&jr(n,r)&&jr(i,o))}function vo(e,t,n){var r=!1,i=ui,o=t.contextType;return"object"==typeof o&&null!==o?o=to(o):(i=hi(t)?di:li.current,o=(r=null!=(r=t.contextTypes))?fi(e,i):ui),t=new t(n,o),e.memoizedState=null!=t.state?t.state:null,t.updater=po,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function go(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&po.enqueueReplaceState(t,t.state,null)}function yo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=fo,ro(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=to(o):(o=hi(t)?di:li.current,i.context=fi(e,o)),uo(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(ho(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&po.enqueueReplaceState(i,i.state,null),uo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var bo=Array.isArray;function _o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===fo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function wo(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Eo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)e.set(null!==t.key?t.key:t.index,t),t=t.sibling;return e}function i(e,t){return(e=Au(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=xu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=ku(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Du(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Su(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=xu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=ku(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case te:return(t=Du(t,e.mode,n)).return=e,t}if(bo(t)||me(t))return(t=Su(t,e.mode,n,null)).return=e,t;wo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):l(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(bo(n)||me(n))return null!==i?null:d(e,t,n,r,null);wo(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):l(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(bo(r)||me(r))return d(t,e=e.get(n)||null,r,i,null);wo(t,r)}return null}function m(i,a,s,u){for(var l=null,c=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=h(i,d,s[m],u);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===c?l=g:c.sibling=g,c=g,d=v}if(m===s.length)return n(i,d),l;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],u))&&(a=o(d,a,m),null===c?l=d:c.sibling=d,c=d);return l}for(d=r(i,d);m<s.length;m++)null!==(v=p(d,i,m,s[m],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===c?l=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(i,e)})),l}function v(i,s,u,l){var c=me(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var d=c=null,m=s,v=s=0,g=null,y=u.next();null!==m&&!y.done;v++,y=u.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=h(i,m,y.value,l);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=u.next())null!==(y=f(i,y.value,l))&&(s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(i,m);!y.done;v++,y=u.next())null!==(y=p(m,i,v,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var l="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){switch(l.tag){case 7:if(o.type===ne){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}break;default:if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=_o(e,l,o),r.return=e,e=r;break e}}n(e,l);break}t(e,l),l=l.sibling}o.type===ne?((r=Su(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=ku(o.type,o.key,o.props,null,e.mode,u)).ref=_o(e,r,o),u.return=e,e=u)}return s(e);case te:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Du(o,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=xu(o,e.mode,u)).return=e,e=r),s(e);if(bo(o))return m(e,r,o,u);if(me(o))return v(e,r,o,u);if(c&&wo(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Co=Eo(!0),Ao=Eo(!1),ko={},So={current:ko},xo={current:ko},Do={current:ko};function Oo(e){if(e===ko)throw Error(a(174));return e}function To(e,t){switch(si(Do,t),si(xo,e),si(So,ko),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Re(null,"");break;default:t=Re(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ai(So),si(So,t)}function Fo(){ai(So),ai(xo),ai(Do)}function Mo(e){Oo(Do.current);var t=Oo(So.current),n=Re(t,e.type);t!==n&&(si(xo,e),si(So,n))}function Po(e){xo.current===e&&(ai(So),ai(xo))}var Lo={current:0};function Ro(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Bo(e,t){return{responder:e,props:t}}var jo=X.ReactCurrentDispatcher,Io=X.ReactCurrentBatchConfig,No=0,Ho=null,zo=null,Yo=null,Uo=!1;function Vo(){throw Error(a(321))}function $o(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Rr(e[n],t[n]))return!1;return!0}function Wo(e,t,n,r,i,o){if(No=o,Ho=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,jo.current=null===e||null===e.memoizedState?ma:va,e=n(r,i),t.expirationTime===No){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Yo=zo=null,t.updateQueue=null,jo.current=ga,e=n(r,i)}while(t.expirationTime===No)}if(jo.current=pa,t=null!==zo&&null!==zo.next,No=0,Yo=zo=Ho=null,Uo=!1,t)throw Error(a(300));return e}function Go(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Yo?Ho.memoizedState=Yo=e:Yo=Yo.next=e,Yo}function qo(){if(null===zo){var e=Ho.alternate;e=null!==e?e.memoizedState:null}else e=zo.next;var t=null===Yo?Ho.memoizedState:Yo.next;if(null!==t)Yo=t,zo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(zo=e).memoizedState,baseState:zo.baseState,baseQueue:zo.baseQueue,queue:zo.queue,next:null},null===Yo?Ho.memoizedState=Yo=e:Yo=Yo.next=e}return Yo}function Ko(e,t){return"function"==typeof t?t(e):t}function Xo(e){var t=qo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=zo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){r=r.baseState;var u=s=o=null,l=i=i.next;do{var c=l.expirationTime;if(c<No){var d={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===u?(s=u=d,o=r):u=u.next=d,c>Ho.expirationTime&&(Ho.expirationTime=c,iu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),ru(c,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==i);null===u?o=r:u.next=s,Rr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zo(e){var t=qo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Rr(o,t.memoizedState)||(Da=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Jo(e){var t=Go();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ko,lastRenderedState:e}).dispatch=ha.bind(null,Ho,e),[t.memoizedState,e]}function Qo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ho.updateQueue)?(Ho.updateQueue=t={lastEffect:null},t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ea(){return qo().memoizedState}function ta(e,t,n,r){var i=Go();Ho.effectTag|=e,i.memoizedState=Qo(1|t,n,void 0,void 0===r?null:r)}function na(e,t,n,r){var i=qo();r=void 0===r?null:r;var o=void 0;if(null!==zo){var a=zo.memoizedState;if(o=a.destroy,null!==r&&$o(r,a.deps))return void Qo(t,n,o,r)}Ho.effectTag|=e,i.memoizedState=Qo(1|t,n,o,r)}function ra(e,t){return ta(516,4,e,t)}function ia(e,t){return na(516,4,e,t)}function oa(e,t){return na(4,2,e,t)}function aa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function sa(e,t,n){return n=null!=n?n.concat([e]):null,na(4,2,aa.bind(null,t,e),n)}function ua(){}function la(e,t){return Go().memoizedState=[e,void 0===t?null:t],e}function ca(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function da(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$o(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fa(e,t,n){var r=Ii();Hi(98>r?98:r,(function(){e(!0)})),Hi(97<r?97:r,(function(){var r=Io.suspense;Io.suspense=void 0===t?null:t;try{e(!1),n()}finally{Io.suspense=r}}))}function ha(e,t,n){var r=Vs(),i=co.suspense;i={expirationTime:r=$s(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Ho||null!==o&&o===Ho)Uo=!0,i.expirationTime=No,Ho.expirationTime=No;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Rr(s,a))return}catch(u){}Ws(e,r)}}var pa={readContext:to,useCallback:Vo,useContext:Vo,useEffect:Vo,useImperativeHandle:Vo,useLayoutEffect:Vo,useMemo:Vo,useReducer:Vo,useRef:Vo,useState:Vo,useDebugValue:Vo,useResponder:Vo,useDeferredValue:Vo,useTransition:Vo},ma={readContext:to,useCallback:la,useContext:to,useEffect:ra,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ta(4,2,aa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ta(4,2,e,t)},useMemo:function(e,t){var n=Go();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Go();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ha.bind(null,Ho,e),[r.memoizedState,e]},useRef:function(e){return Go().memoizedState={current:e}},useState:Jo,useDebugValue:ua,useResponder:Bo,useDeferredValue:function(e,t){var n=Jo(e),r=n[0],i=n[1];return ra((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{i(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Jo(!1),n=t[0];return[la(fa.bind(null,t=t[1],e),[t,e]),n]}},va={readContext:to,useCallback:ca,useContext:to,useEffect:ia,useImperativeHandle:sa,useLayoutEffect:oa,useMemo:da,useReducer:Xo,useRef:ea,useState:function(){return Xo(Ko)},useDebugValue:ua,useResponder:Bo,useDeferredValue:function(e,t){var n=Xo(Ko),r=n[0],i=n[1];return ia((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{i(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Xo(Ko),n=t[0];return[ca(fa.bind(null,t=t[1],e),[t,e]),n]}},ga={readContext:to,useCallback:ca,useContext:to,useEffect:ia,useImperativeHandle:sa,useLayoutEffect:oa,useMemo:da,useReducer:Zo,useRef:ea,useState:function(){return Zo(Ko)},useDebugValue:ua,useResponder:Bo,useDeferredValue:function(e,t){var n=Zo(Ko),r=n[0],i=n[1];return ia((function(){var n=Io.suspense;Io.suspense=void 0===t?null:t;try{i(e)}finally{Io.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zo(Ko),n=t[0];return[ca(fa.bind(null,t=t[1],e),[t,e]),n]}},ya=null,ba=null,_a=!1;function wa(e,t){var n=Eu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ea(e,t){switch(e.tag){case 5:return null!==(t=1!==t.nodeType||e.type.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ca(e){if(_a){var t=ba;if(t){var n=t;if(!Ea(e,t)){if(!(t=bn(n.nextSibling))||!Ea(e,t))return e.effectTag=-1025&e.effectTag|2,_a=!1,void(ya=e);wa(ya,n)}ya=e,ba=bn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,_a=!1,ya=e}}function Aa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ya=e}function ka(e){if(e!==ya)return!1;if(!_a)return Aa(e),_a=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=ba;t;)wa(e,t),t=bn(t.nextSibling);if(Aa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ba=bn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ba=null}}else ba=ya?bn(e.stateNode.nextSibling):null;return!0}function Sa(){ba=ya=null,_a=!1}var xa=X.ReactCurrentOwner,Da=!1;function Oa(e,t,n,r){t.child=null===e?Ao(t,null,n,r):Co(t,e.child,n,r)}function Ta(e,t,n,r,i){n=n.render;var o=t.ref;return eo(t,i),r=Wo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,Oa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wa(e,t,i))}function Fa(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Cu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ku(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ma(e,t,a,r,i,o))}return a=e.child,i<o&&(n=null!==(n=n.compare)?n:jr)(i=a.memoizedProps,r)&&e.ref===t.ref?Wa(e,t,o):(t.effectTag|=1,(e=Au(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ma(e,t,n,r,i,o){return null!==e&&jr(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,i<o)?(t.expirationTime=e.expirationTime,Wa(e,t,o)):La(e,t,n,r,o)}function Pa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function La(e,t,n,r,i){var o=hi(n)?di:li.current;return o=fi(t,o),eo(t,i),n=Wo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,Oa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Wa(e,t,i))}function Ra(e,t,n,r,i){if(hi(n)){var o=!0;gi(t)}else o=!1;if(eo(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vo(t,n,r),yo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;l="object"==typeof l&&null!==l?to(l):fi(t,l=hi(n)?di:li.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&go(t,a,r,l),no=!1;var f=t.memoizedState;a.state=f,uo(t,r,a,i),u=t.memoizedState,s!==r||f!==u||ci.current||no?("function"==typeof c&&(ho(t,n,c,r),u=t.memoizedState),(s=no||mo(t,n,s,r,f,u,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,io(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Wi(t.type,s),u=a.context,l="object"==typeof(l=n.contextType)&&null!==l?to(l):fi(t,l=hi(n)?di:li.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&go(t,a,r,l),no=!1,a.state=u=t.memoizedState,uo(t,r,a,i),f=t.memoizedState,s!==r||u!==f||ci.current||no?("function"==typeof c&&(ho(t,n,c,r),f=t.memoizedState),(c=no||mo(t,n,s,r,u,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Ba(e,t,n,r,o,i)}function Ba(e,t,n,r,i,o){Pa(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&yi(t,n,!1),Wa(e,t,o);r=t.stateNode,xa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Co(t,e.child,null,o),t.child=Co(t,null,s,o)):Oa(e,t,s,o),t.memoizedState=r.state,i&&yi(t,n,!0),t.child}function ja(e){var t=e.stateNode;t.pendingContext?mi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&mi(0,t.context,!1),To(e,t.containerInfo)}var Ia,Na,Ha,za={dehydrated:null,retryTime:0};function Ya(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Lo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),si(Lo,1&a),null===e){if(void 0!==o.fallback&&Ca(t),s){if(s=o.fallback,(o=Su(null,i,0,null)).return=t,0==(2&t.mode))for(o.child=e=null!==t.memoizedState?t.child.child:t.child;null!==e;)e.return=o,e=e.sibling;return(n=Su(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=za,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Ao(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Au(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Au(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=za,t.child=n,i}return n=Co(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Su(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(o.child=e=null!==t.memoizedState?t.child.child:t.child;null!==e;)e.return=o,e=e.sibling;return(n=Su(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=za,t.child=o,n}return t.memoizedState=null,t.child=Co(t,e,o.children,n)}function Ua(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),Qi(e.return,t)}function Va(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function $a(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Oa(e,t,r.children,n),0!=(2&(r=Lo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ua(e,n);else if(19===e.tag)Ua(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(si(Lo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ro(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Va(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ro(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Va(t,!0,n,null,o,t.lastEffect);break;case"together":Va(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Wa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&iu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Au(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Au(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ga(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function qa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return hi(t.type)&&pi(),null;case 3:return Fo(),ai(ci),ai(li),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!ka(t)||(t.effectTag|=4),null;case 5:Po(t),n=Oo(Do.current);var o=t.type;if(null!==e&&null!=t.stateNode)Na(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Oo(So.current),ka(t)){o=t.type;var s=t.memoizedProps;switch((r=t.stateNode)[En]=t,r[Cn]=s,o){case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(e=0;e<qe.length;e++)$t(qe[e],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"form":$t("reset",r),$t("submit",r);break;case"details":$t("toggle",r);break;case"input":Ce(r,s),$t("invalid",r),an(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},$t("invalid",r),an(n,"onChange");break;case"textarea":Fe(r,s),$t("invalid",r),an(n,"onChange")}for(var u in nn(o,s),e=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"==typeof l?r.textContent!==l&&(e=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(e=["children",""+l]):A.hasOwnProperty(u)&&null!=l&&an(n,u)}switch(o){case"input":_e(r),Se(r,s,!0);break;case"textarea":_e(r),Pe(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=sn)}t.updateQueue=n=e,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===on&&(e=Le(o)),e===on?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(o,{is:r.is}):(e=u.createElement(o),"select"===o&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,o),e[En]=t,e[Cn]=r,Ia(e,t),t.stateNode=e,u=rn(o,r),o){case"iframe":case"object":case"embed":$t("load",e),l=r;break;case"video":case"audio":for(l=0;l<qe.length;l++)$t(qe[l],e);l=r;break;case"source":$t("error",e),l=r;break;case"img":case"image":case"link":$t("error",e),$t("load",e),l=r;break;case"form":$t("reset",e),$t("submit",e),l=r;break;case"details":$t("toggle",e),l=r;break;case"input":Ce(e,r),l=Ee(e,r),$t("invalid",e),an(n,"onChange");break;case"option":l=De(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=i({},r,{value:void 0}),$t("invalid",e),an(n,"onChange");break;case"textarea":Fe(e,r),l=Te(e,r),$t("invalid",e),an(n,"onChange");break;default:l=r}nn(o,l);var c=l;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?en(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&je(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&Ie(e,d):"number"==typeof d&&Ie(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(A.hasOwnProperty(s)?null!=d&&an(n,s):null!=d&&Z(e,s,d,u))}switch(o){case"input":_e(e),Se(e,r,!1);break;case"textarea":_e(e),Pe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=sn)}mn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Oo(Do.current),Oo(So.current),ka(t)?(r=t.memoizedProps,(n=t.stateNode)[En]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[En]=t,t.stateNode=n)}return null;case 13:return ai(Lo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&ka(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Lo.current)?ks===ys&&(ks=bs):(ks!==ys&&ks!==bs||(ks=_s),0!==Ts&&null!==Es&&(Fu(Es,As),Mu(Es,Ts)))),(n||r)&&(t.effectTag|=4),null);case 4:return Fo(),null;case 10:return Ji(t),null;case 17:return hi(t.type)&&pi(),null;case 19:if(ai(Lo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Ga(r,!1);else if(ks!==ys||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ro(s))){for(t.effectTag|=64,Ga(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,o.dependencies=null===(s=e.dependencies)?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return si(Lo,1&Lo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Ro(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ga(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*ji()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Ga(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=ji()+500),r.rendering=n=r.tail,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=ji(),n.sibling=null,t=Lo.current,si(Lo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Ka(e){switch(e.tag){case 1:hi(e.type)&&pi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Fo(),ai(ci),ai(li),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Po(e),null;case 13:return ai(Lo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ai(Lo),null;case 4:return Fo(),null;case 10:return Ji(e),null;default:return null}}function Xa(e,t){return{value:e,source:t,stack:ge(t)}}Ia=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Na=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,l=t.stateNode;switch(Oo(So.current),e=null,n){case"input":a=Ee(l,a),r=Ee(l,r),e=[];break;case"option":a=De(l,a),r=De(l,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Te(l,a),r=Te(l,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(l.onclick=sn)}for(s in nn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in l=a[s])l.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(A.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,null!=(c=c?c.__html:void 0)&&l!==c&&(e=e||[]).push(s,c)):"children"===s?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(A.hasOwnProperty(s)?(null!=c&&an(o,s),e||l===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),(t.updateQueue=o=e)&&(t.effectTag|=4)}},Ha=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Za="function"==typeof WeakSet?WeakSet:Set;function Ja(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function Qa(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){vu(e,n)}else t.current=null}function es(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Wi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ts(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ns(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{(n.tag&e)===e&&(n.destroy=(0,n.create)()),n=n.next}while(n!==t)}}function rs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ns(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Wi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&lo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}lo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&mn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function is(e,t,n){switch("function"==typeof _u&&_u(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Hi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(o){vu(i,o)}}e=e.next}while(e!==r)}))}break;case 1:Qa(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){vu(e,n)}}(t,n);break;case 5:Qa(t);break;case 4:us(e,t,n)}}function os(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&os(t)}function as(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:{for(var t=e.return;null!==t;){if(as(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ie(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||as(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=sn));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,o=5===i||6===i;if(o)t=o?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function us(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,c=n,d=l;;)if(is(u,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===l)break e;for(;null===d.sibling;){if(null===d.return||d.return===l)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(l=o.stateNode,8===(u=r).nodeType?u.parentNode.removeChild(l):u.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(is(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ls(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ts(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Cn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Ae(n,r),rn(e,i),t=rn(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?en(n,u):"dangerouslySetInnerHTML"===s?je(n,u):"children"===s?Ie(n,u):Z(n,s,u,t)}switch(e){case"input":ke(n,r);break;case"textarea":Me(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ms=ji()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=Qt("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void cs(t);case 19:return void cs(t);case 17:return}throw Error(a(163))}function cs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Za),t.forEach((function(t){var r=yu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ds="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=oo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ls||(Ls=!0,Rs=r),Ja(e,t)},n}function hs(e,t,n){(n=oo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Ja(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bs?Bs=new Set([this]):Bs.add(this),Ja(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ps,ms=Math.ceil,vs=X.ReactCurrentDispatcher,gs=X.ReactCurrentOwner,ys=0,bs=3,_s=4,ws=0,Es=null,Cs=null,As=0,ks=ys,Ss=null,xs=1073741823,Ds=1073741823,Os=null,Ts=0,Fs=!1,Ms=0,Ps=null,Ls=!1,Rs=null,Bs=null,js=!1,Is=null,Ns=90,Hs=null,zs=0,Ys=null,Us=0;function Vs(){return 0!=(48&ws)?1073741821-(ji()/10|0):0!==Us?Us:Us=1073741821-(ji()/10|0)}function $s(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ii();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&ws))return As;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Es&&e===As&&--e,e}function Ws(e,t){if(50<zs)throw zs=0,Ys=null,Error(a(185));if(null!==(e=Gs(e,t))){var n=Ii();1073741823===t?0!=(8&ws)&&0==(48&ws)?Zs(e):(Ks(e),0===ws&&Ui()):Ks(e),0==(4&ws)||98!==n&&99!==n||(null===Hs?Hs=new Map([[e,t]]):(void 0===(n=Hs.get(e))||n>t)&&Hs.set(e,t))}}function Gs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Es===i&&(iu(t),ks===_s&&Fu(i,As)),Mu(i,t)),i}function qs(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Tu(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Ks(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yi(Zs.bind(null,e));else{var t=qs(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Vs();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){if(e.callbackExpirationTime===t&&e.callbackPriority>=r)return;n!==Ti&&wi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Yi(Zs.bind(null,e)):zi(r,Xs.bind(null,e),{timeout:10*(1073741821-t)-ji()}),e.callbackNode=t}}}function Xs(e,t){if(Us=0,t)return Pu(e,t=Vs()),Ks(e),null;var n=qs(e);if(0!==n){if(t=e.callbackNode,0!=(48&ws))throw Error(a(327));if(hu(),e===Es&&n===As||eu(e,n),null!==Cs){var r=ws;ws|=16;for(var i=nu();;)try{au();break}catch(u){tu(e,u)}if(Zi(),ws=r,vs.current=i,1===ks)throw t=Ss,eu(e,n),Fu(e,n),Ks(e),t;if(null===Cs)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=ks,Es=null,r){case ys:case 1:throw Error(a(345));case 2:Pu(e,2<n?2:n);break;case bs:if(Fu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=lu(i)),1073741823===xs&&10<(i=Ms+500-ji())){if(Fs){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,eu(e,n);break}}if(0!==(o=qs(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=gn(cu.bind(null,e),i);break}cu(e);break;case _s:if(Fu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=lu(i)),Fs&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,eu(e,n);break}if(0!==(i=qs(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ds?r=10*(1073741821-Ds)-ji():1073741823===xs?r=0:(r=10*(1073741821-xs)-5e3,0>(r=(i=ji())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ms(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=gn(cu.bind(null,e),r);break}cu(e);break;case 5:if(1073741823!==xs&&null!==Os){o=xs;var s=Os;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=ji()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Fu(e,n),e.timeoutHandle=gn(cu.bind(null,e),r);break}}cu(e);break;default:throw Error(a(329))}if(Ks(e),e.callbackNode===t)return Xs.bind(null,e)}}return null}function Zs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&ws))throw Error(a(327));if(hu(),e===Es&&t===As||eu(e,t),null!==Cs){var n=ws;ws|=16;for(var r=nu();;)try{ou();break}catch(i){tu(e,i)}if(Zi(),ws=n,vs.current=r,1===ks)throw n=Ss,eu(e,t),Fu(e,t),Ks(e),n;if(null!==Cs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Es=null,cu(e),Ks(e)}return null}function Js(e,t){var n=ws;ws|=1;try{return e(t)}finally{0===(ws=n)&&Ui()}}function Qs(e,t){var n=ws;ws&=-2,ws|=8;try{return e(t)}finally{0===(ws=n)&&Ui()}}function eu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,yn(n)),null!==Cs)for(n=Cs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&pi();break;case 3:Fo(),ai(ci),ai(li);break;case 5:Po(r);break;case 4:Fo();break;case 13:case 19:ai(Lo);break;case 10:Ji(r)}n=n.return}Es=e,Cs=Au(e.current,null),As=t,ks=ys,Ss=null,Ds=xs=1073741823,Os=null,Ts=0,Fs=!1}function tu(e,t){for(;;){try{if(Zi(),jo.current=pa,Uo)for(var n=Ho.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(No=0,Yo=zo=Ho=null,Uo=!1,null===Cs||null===Cs.return)return ks=1,Ss=t,Cs=null;e:{var i=e,o=Cs.return,a=Cs,s=t;if(t=As,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&a.mode)){var l=a.alternate;l?(a.updateQueue=l.updateQueue,a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Lo.current),d=o;do{var f;if(f=13===d.tag){var h=d.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var p=d.memoizedProps;f=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!c)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(u),d.updateQueue=v}else m.add(u);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=oo(1073741823,null);g.tag=2,ao(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(a)){s.add(a);var b=gu.bind(null,i,u,a);u.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}5!==ks&&(ks=2),s=Xa(s,a),d=o;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=t,so(d,fs(d,u,t));break e;case 1:u=s;var _=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof d.type.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Bs||!Bs.has(_)))){d.effectTag|=4096,d.expirationTime=t,so(d,hs(d,u,t));break e}}d=d.return}while(null!==d)}Cs=uu(Cs)}catch(w){t=w;continue}break}}function nu(){var e=vs.current;return vs.current=pa,null===e?pa:e}function ru(e,t){e<xs&&2<e&&(xs=e),null!==t&&e<Ds&&2<e&&(Ds=e,Os=t)}function iu(e){e>Ts&&(Ts=e)}function ou(){for(;null!==Cs;)Cs=su(Cs)}function au(){for(;null!==Cs&&!Fi();)Cs=su(Cs)}function su(e){var t=ps(e.alternate,e,As);return e.memoizedProps=e.pendingProps,null===t&&(t=uu(e)),gs.current=null,t}function uu(e){Cs=e;do{var t=Cs.alternate;if(e=Cs.return,0==(2048&Cs.effectTag)){if(t=qa(t,Cs,As),1===As||1!==Cs.childExpirationTime){for(var n=0,r=Cs.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Cs.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Cs.firstEffect),null!==Cs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Cs.firstEffect),e.lastEffect=Cs.lastEffect),1<Cs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Cs:e.firstEffect=Cs,e.lastEffect=Cs))}else{if(null!==(t=Ka(Cs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Cs.sibling))return t;Cs=e}while(null!==Cs);return ks===ys&&(ks=5),null}function lu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function cu(e){var t=Ii();return Hi(99,du.bind(null,e,t)),null}function du(e,t){do{hu()}while(null!==Is);if(0!=(48&ws))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=lu(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Es&&(Cs=Es=null,As=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=ws;ws|=32,gs.current=null,hn=Vt;var s=dn();if(fn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else{var l=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;var f=0,h=-1,p=-1,m=0,v=0,g=s,y=null;e:for(;;){for(var b;g!==u||0!==c&&3!==g.nodeType||(h=f+c),g!==d||0!==l&&3!==g.nodeType||(p=f+l),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break e;if(y===u&&++m===c&&(h=f),y===d&&++v===l&&(p=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}u=-1===h||-1===p?null:{start:h,end:p}}else u=null}u=u||{start:0,end:0}}else u=null;pn={activeElementDetached:null,focusedElem:s,selectionRange:u},Vt=!1,Ps=i;do{try{fu()}catch(S){if(null===Ps)throw Error(a(330));vu(Ps,S),Ps=Ps.nextEffect}}while(null!==Ps);Ps=i;do{try{for(s=e,u=t;null!==Ps;){var _=Ps.effectTag;if(16&_&&Ie(Ps.stateNode,""),128&_){var w=Ps.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&_){case 2:ss(Ps),Ps.effectTag&=-3;break;case 6:ss(Ps),Ps.effectTag&=-3,ls(Ps.alternate,Ps);break;case 1024:Ps.effectTag&=-1025;break;case 1028:Ps.effectTag&=-1025,ls(Ps.alternate,Ps);break;case 4:ls(Ps.alternate,Ps);break;case 8:us(s,c=Ps,u),os(c)}Ps=Ps.nextEffect}}catch(S){if(null===Ps)throw Error(a(330));vu(Ps,S),Ps=Ps.nextEffect}}while(null!==Ps);if(E=pn,w=dn(),u=E.selectionRange,w!==(_=E.focusedElem)&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==u&&fn(_)&&(w=u.start,void 0===(E=u.end)&&(E=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(E,_.value.length)):(E=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),c=_.textContent.length,s=Math.min(u.start,c),u=void 0===u.end?s:Math.min(u.end,c),!E.extend&&s>u&&(c=u,u=s,s=c),c=cn(_,s),d=cn(_,u),c&&d&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((w=w.createRange()).setStart(c.node,c.offset),E.removeAllRanges(),s>u?(E.addRange(w),E.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),E.addRange(w))))),w=[];for(E=_;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(E=w[_]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Vt=!!hn,pn=hn=null,e.current=n,Ps=i;do{try{for(_=e;null!==Ps;){var C=Ps.effectTag;if(36&C&&rs(_,Ps.alternate,Ps),128&C){w=void 0;var A=Ps.ref;if(null!==A){var k=Ps.stateNode;switch(Ps.tag){case 5:w=k;break;default:w=k}"function"==typeof A?A(w):A.current=w}}Ps=Ps.nextEffect}}catch(S){if(null===Ps)throw Error(a(330));vu(Ps,S),Ps=Ps.nextEffect}}while(null!==Ps);Ps=null,Mi(),ws=o}else e.current=n;if(js)js=!1,Is=e,Ns=t;else for(Ps=i;null!==Ps;)t=Ps.nextEffect,Ps.nextEffect=null,Ps=t;if(0===(t=e.firstPendingTime)&&(Bs=null),1073741823===t?e===Ys?zs++:(zs=0,Ys=e):zs=0,"function"==typeof bu&&bu(n.stateNode,r),Ks(e),Ls)throw Ls=!1,e=Rs,Rs=null,e;return 0!=(8&ws)||Ui(),null}function fu(){for(;null!==Ps;){var e=Ps.effectTag;0!=(256&e)&&es(Ps.alternate,Ps),0==(512&e)||js||(js=!0,zi(97,(function(){return hu(),null}))),Ps=Ps.nextEffect}}function hu(){if(90!==Ns){var e=97<Ns?97:Ns;return Ns=90,Hi(e,pu)}}function pu(){if(null===Is)return!1;var e=Is;if(Is=null,0!=(48&ws))throw Error(a(331));var t=ws;for(ws|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ts(5,n),ns(5,n)}}catch(r){if(null===e)throw Error(a(330));vu(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return ws=t,Ui(),!0}function mu(e,t,n){ao(e,t=fs(e,t=Xa(n,t),1073741823)),null!==(e=Gs(e,1073741823))&&Ks(e)}function vu(e,t){if(3===e.tag)mu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){mu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bs||!Bs.has(r))){ao(n,e=hs(n,e=Xa(t,e),1073741823)),null!==(n=Gs(n,1073741823))&&Ks(n);break}}n=n.return}}function gu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Es===e&&As===n?ks===_s||ks===bs&&1073741823===xs&&ji()-Ms<500?eu(e,As):Fs=!0:Tu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Ks(e)))}function yu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=$s(t=Vs(),e,null)),null!==(e=Gs(e,t))&&Ks(e)}ps=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||ci.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:ja(t),Sa();break;case 5:if(Mo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:hi(t.type)&&gi(t);break;case 4:To(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,si(Gi,(i=t.type._context)._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ya(e,t,n):(si(Lo,1&Lo.current),null!==(t=Wa(e,t,n))?t.sibling:null);si(Lo,1&Lo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return $a(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),si(Lo,Lo.current),!r)return null}return Wa(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=fi(t,li.current),eo(t,n),i=Wo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hi(r)){var o=!0;gi(t)}else o=!1;t.memoizedState=null!=i.state?i.state:null,ro(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&ho(t,r,s,e),i.updater=po,t.stateNode=i,i._reactInternalFiber=t,yo(t,r,e,n),t=Ba(null,t,r,!0,o,n)}else t.tag=0,Oa(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(t.type=i=i._result,o=t.tag=function(e){if("function"==typeof e)return Cu(e)?1:0;if(null!=e){if((e=e.$$typeof)===ue)return 11;if(e===de)return 14}return 2}(i),e=Wi(i,e),o){case 0:t=La(null,t,i,e,n);break e;case 1:t=Ra(null,t,i,e,n);break e;case 11:t=Ta(null,t,i,e,n);break e;case 14:t=Fa(null,t,i,Wi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return i=t.pendingProps,La(e,t,r=t.type,i=t.elementType===r?i:Wi(r,i),n);case 1:return i=t.pendingProps,Ra(e,t,r=t.type,i=t.elementType===r?i:Wi(r,i),n);case 3:if(ja(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,io(e,t),uo(t,r,null,n),(r=t.memoizedState.element)===i)Sa(),t=Wa(e,t,n);else{if((i=t.stateNode.hydrate)&&(ba=bn(t.stateNode.containerInfo.firstChild),ya=t,i=_a=!0),i)for(n=Ao(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Oa(e,t,r,n),Sa();t=t.child}return t;case 5:return Mo(t),null===e&&Ca(t),o=null!==e?e.memoizedProps:null,s=(i=t.pendingProps).children,vn(r=t.type,i)?s=null:null!==o&&vn(r,o)&&(t.effectTag|=16),Pa(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Oa(e,t,s,n),t=t.child),t;case 6:return null===e&&Ca(t),null;case 13:return Ya(e,t,n);case 4:return To(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Co(t,null,r,n):Oa(e,t,r,n),t.child;case 11:return i=t.pendingProps,Ta(e,t,r=t.type,i=t.elementType===r?i:Wi(r,i),n);case 7:return Oa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,s=t.memoizedProps,o=(i=t.pendingProps).value;var u=t.type._context;if(si(Gi,u._currentValue),u._currentValue=o,null!==s)if(0==(o=Rr(u=s.value,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!ci.current){t=Wa(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){s=u.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===u.tag&&((c=oo(n,null)).tag=2,ao(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),Qi(u.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Oa(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,eo(t,n),r=r(i=to(i,o.unstable_observedBits)),t.effectTag|=1,Oa(e,t,r,n),t.child;case 14:return o=Wi(i=t.type,t.pendingProps),Fa(e,t,i,o=Wi(i.type,o),r,n);case 15:return Ma(e,t,t.type,t.pendingProps,r,n);case 17:return i=t.pendingProps,i=t.elementType===(r=t.type)?i:Wi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,hi(r)?(e=!0,gi(t)):e=!1,eo(t,n),vo(t,r,i),yo(t,r,i,n),Ba(null,t,r,!0,e,n);case 19:return $a(e,t,n)}throw Error(a(156,t.tag))};var bu=null,_u=null;function wu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Eu(e,t,n,r){return new wu(e,t,n,r)}function Cu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var n=e.alternate;return null===n?((n=Eu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ku(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Cu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Su(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Eu(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case le:return(e=Eu(13,n,t,i)).type=le,e.elementType=le,e.expirationTime=o,e;case ce:return(e=Eu(19,n,t,i)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case ue:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case he:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Eu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Su(e,t,n,r){return(e=Eu(7,e,r,t)).expirationTime=n,e}function xu(e,t,n){return(e=Eu(6,e,null,t)).expirationTime=n,e}function Du(e,t,n){return(t=Eu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ou(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Tu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Fu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Mu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Pu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Lu(e,t,n,r){var i=t.current,o=Vs(),s=co.suspense;o=$s(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(hi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(hi(l)){n=vi(n,l,u);break e}}n=u}else n=ui;return null===t.context?t.context=n:t.pendingContext=n,(t=oo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ao(i,t),Ws(i,o),o}function Ru(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function ju(e,t){Bu(e,t),(e=e.alternate)&&Bu(e,t)}function Iu(e,t,n){var r=new Ou(e,t,n=null!=n&&!0===n.hydrate),i=Eu(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,ro(i),e[An]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);At.forEach((function(e){ft(e,t,n)})),kt.forEach((function(e){ft(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hu(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Ru(a);s.call(e)}}Lu(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Iu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=Ru(a);u.call(e)}}Qs((function(){Lu(t,a,e,i)}))}return Ru(a)}function zu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Nu(t))throw Error(a(200));return zu(e,t,null,n)}Iu.prototype.render=function(e){Lu(e,this._internalRoot,null,null)},Iu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Lu(null,e,null,(function(){t[An]=null}))},ht=function(e){if(13===e.tag){var t=$i(Vs(),150,100);Ws(e,t),ju(e,t)}},pt=function(e){13===e.tag&&(Ws(e,3),ju(e,3))},mt=function(e){if(13===e.tag){var t=Vs();Ws(e,t=$s(t,e,null)),ju(e,t)}},D=function(e,t,n){switch(t){case"input":if(ke(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Dn(r);if(!i)throw Error(a(90));we(r),ke(r,i)}}}break;case"textarea":Me(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},L=Js,R=function(e,t,n,r,i){var o=ws;ws|=4;try{return Hi(98,e.bind(null,t,n,r,i))}finally{0===(ws=o)&&Ui()}},B=function(){0==(49&ws)&&(function(){if(null!==Hs){var e=Hs;Hs=null,e.forEach((function(e,t){Pu(t,e),Ks(t)})),Ui()}}(),hu())},j=function(e,t){var n=ws;ws|=2;try{return e(t)}finally{0===(ws=n)&&Ui()}};var Uu,Vu,$u={Events:[Sn,xn,Dn,S,C,Rn,function(e){nt(e,Ln)},M,P,Kt,ot,hu,{current:!1}]};Vu=(Uu={findFiberByHostInstance:kn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);bu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(r){}},_u=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}}(i({},Uu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=et(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vu?Vu(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null})),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$u,t.createPortal=Yu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=et(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&ws))throw Error(a(187));var n=ws;ws|=1;try{return Hi(99,e.bind(null,t))}finally{ws=n,Ui()}},t.hydrate=function(e,t,n){if(!Nu(t))throw Error(a(200));return Hu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Nu(t))throw Error(a(200));return Hu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Nu(e))throw Error(a(40));return!!e._reactRootContainer&&(Qs((function(){Hu(null,null,e,!1,(function(){e._reactRootContainer=null,e[An]=null}))})),!0)},t.unstable_batchedUpdates=Js,t.unstable_createPortal=function(e,t){return Yu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hu(e,t,n,!1,r)},t.version="16.14.0"},ywKq:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("kpkV"),i=n("S2Kk"),o=n("QZHI"),a=n("//cU"),s=function(){function e(t){return e.create(t||{})}return e.create=function(t){t=e.isStateClass(t)?new t:t;var n=Object(r.t)(Object(r.t)(t,e.prototype));return t.$$state=function(){return n},n.self=t,n.__stateObjectCache={nameGlob:o.a.fromString(n.name)},n},e.prototype.is=function(e){return this===e||this.self===e||this.fqn()===e},e.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var e=this.parent.fqn();return e?e+"."+this.name:this.name},e.prototype.root=function(){return this.parent&&this.parent.root()||this},e.prototype.parameters=function(e){return((e=Object(r.i)(e,{inherit:!0,matchingKeys:null})).inherit&&this.parent&&this.parent.parameters()||[]).concat(Object(r.L)(this.params)).filter((function(t){return!e.matchingKeys||e.matchingKeys.hasOwnProperty(t.id)}))},e.prototype.parameter=function(e,t){return void 0===t&&(t={}),this.url&&this.url.parameter(e,t)||Object(r.n)(Object(r.L)(this.params),Object(i.l)("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},e.prototype.toString=function(){return this.fqn()},e.isStateClass=function(e){return Object(a.d)(e)&&!0===e.__uiRouterState},e.isStateDeclaration=function(e){return Object(a.d)(e.$$state)},e.isState=function(e){return Object(a.i)(e.__stateObjectCache)},e}()},yxkQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("O4wp"),i=n("ywKq"),o=function(){function e(e,t,n,r){this.router=e,this.states=t,this.builder=n,this.listeners=r,this.queue=[]}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=i.a.create(e),o=n.name;if(!Object(r.v)(o))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(o)||Object(r.m)(t.map(Object(r.E)("name")),o))throw new Error("State '"+o+"' is already defined");return t.push(n),this.flush(),n},e.prototype.flush=function(){for(var e=this,t=this.queue,n=this.states,r=this.builder,i=[],o=[],a={},s=function(t){return e.states.hasOwnProperty(t)&&e.states[t]},u=function(){i.length&&e.listeners.forEach((function(e){return e("registered",i.map((function(e){return e.self})))}))};t.length>0;){var l=t.shift(),c=l.name,d=r.build(l),f=o.indexOf(l);if(d){var h=s(c);if(h&&h.name===c)throw new Error("State '"+c+"' is already defined");var p=s(c+".**");p&&this.router.stateRegistry.deregister(p),n[c]=l,this.attachRoute(l),f>=0&&o.splice(f,1),i.push(l)}else{var m=a[c];if(a[c]=t.length,f>=0&&m===t.length)return t.push(l),u(),n;f<0&&o.push(l),t.push(l)}}return u(),n},e.prototype.attachRoute=function(e){if(!e.abstract&&e.url){var t=this.router.urlService.rules;t.rule(t.urlRuleFactory.create(e))}},e}()},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},z6cu:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC");function i(e,t){return new r.a(t?function(n){return t.schedule(o,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function o(e){e.subscriber.error(e.error)}},"zB/H":function(e,t,n){"use strict";var r=n("mbIT"),i=n("GMZp"),o=n("pshJ"),a=n("LBXl");function s(e){return e.reduce((function(e,t){return e.concat(t instanceof a.UnsubscriptionError?t.errors:t)}),[])}t.Subscription=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,u=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c)n[c].remove(this);if(o.isFunction(u))try{u.call(this)}catch(h){t=h instanceof a.UnsubscriptionError?s(h.errors):[h]}if(r.isArray(l)){c=-1;for(var d=l.length;++c<d;){var f=l[c];if(i.isObject(f))try{f.unsubscribe()}catch(h){t=t||[],h instanceof a.UnsubscriptionError?t=t.concat(s(h.errors)):t.push(h)}}}if(t)throw new a.UnsubscriptionError(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}()},zP0r:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Ji7U"),i=n("LK+K"),o=n("1OyB"),a=n("vuIU"),s=n("7o/Q");function u(e){return function(t){return t.lift(new l(e))}}var l=function(){function e(t){Object(o.a)(this,e),this.total=t}return Object(a.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.total))}}]),e}(),c=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(e,r){var i;return Object(o.a)(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return Object(a.a)(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(s.a)},zkoq:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n("ReuC"),n("foSv"),n("Ji7U"),n("LK+K"),n("KQm4");var r=n("1OyB"),i=(n("vuIU"),n("fXoL")),o=n("FKr1");n("8LU1"),n("cH1L");var a=function(){var e=function e(){Object(r.a)(this,e)};return e.\u0275mod=i.Wb({type:e}),e.\u0275inj=i.Vb({factory:function(t){return new(t||e)},imports:[[o.l,o.j],o.l,o.j]}),e}()}}]);;
!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],p=0,s=[];p<a.length;p++)i=a[p],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++)0!==o[t[a]]&&(n=!1);n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={0:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({}[e]||e)+".js"}(e);var c=new Error;u=function(r){a.onerror=a.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,(function(r){return e[r]}).bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="ClientApp/dist/",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([]);;
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+2oP":function(t,e,n){"use strict";var r=n("I+eb"),o=n("hh1v"),i=n("6LWA"),a=n("I8vh"),c=n("UMSQ"),u=n("/GqU"),s=n("hBjN"),f=n("tiKp"),l=n("Hd5f"),p=n("rkAj"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h<v;h++,f++)h in l&&s(r,f,l[h]);return r.length=f,r}})},"/5zm":function(t,e,n){var r=n("I+eb"),o=n("jrUv"),i=Math.cosh,a=Math.abs,c=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*c*c))*(c/2)}})},"/GqU":function(t,e,n){var r=n("RK3t"),o=n("HYAF");t.exports=function(t){return r(o(t))}},"/b8u":function(t,e,n){var r=n("STAE");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"/byt":function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"07d7":function(t,e,n){var r=n("AO7/"),o=n("busE"),i=n("sEFX");r||o(Object.prototype,"toString",i,{unsafe:!0})},"0BK2":function(t,e){t.exports={}},"0Dky":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"0GbY":function(t,e,n){var r=n("Qo9l"),o=n("2oRo"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"0TWp":function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}var a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var c=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==j.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return P.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return D},enumerable:!0,configurable:!0}),e.__load_patch=function(o,i){if(j.hasOwnProperty(o)){if(a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){var c="Zone:"+o;n(c),j[o]=i(t,e,R),r(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{P=P.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{P=P.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");if(t.state!==k||t.type!==I&&t.type!==T){var r=t.state!=E;r&&t._transitionTo(E,x),t.runCount++;var o=D;D=t,P={parent:P,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==k&&t.state!==O&&(t.type==I||t.data&&t.data.isPeriodic?r&&t._transitionTo(x,E):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(k,E,k))),P=P.parent,D=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(S,k);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(O,S,k),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==S&&t._transitionTo(x,S),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(w,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(T,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(I,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||m).name+"; Execution: "+this.name+")");t._transitionTo(_,x,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(O,_),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(k,_),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(t.type,e)},e}();c.__symbol__=i;var u,s={name:"",onHasTask:function(t,e,n,r){return t.hasTask(n,r)},onScheduleTask:function(t,e,n,r){return t.scheduleTask(n,r)},onInvokeTask:function(t,e,n,r,o,i){return t.invokeTask(n,r,o,i)},onCancelTask:function(t,e,n,r){return t.cancelTask(n,r)}},f=function(){function t(t,e,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||e&&e._hasTaskZS)&&(this._hasTaskZS=r?n:s,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,n.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return t.prototype.fork=function(t,e){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,t,e):new c(t,e)},t.prototype.intercept=function(t,e,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,t,e,n):e},t.prototype.invoke=function(t,e,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,t,e,n,r,o):e.apply(n,r)},t.prototype.handleError=function(t,e){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,t,e)},t.prototype.scheduleTask=function(t,e){var n=e;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,t,e))||(n=e);else if(e.scheduleFn)e.scheduleFn(e);else{if(e.type!=w)throw new Error("Task is missing scheduleFn.");y(e)}return n},t.prototype.invokeTask=function(t,e,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,t,e,n,r):e.callback.apply(n,r)},t.prototype.cancelTask=function(t,e){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,t,e);else{if(!e.cancelFn)throw Error("Task is not cancelable");n=e.cancelFn(e)}return n},t.prototype.hasTask=function(t,e){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,t,e)}catch(n){this.handleError(t,n)}},t.prototype._updateTaskCount=function(t,e){var n=this._taskCounts,r=n[t],o=n[t]=r+e;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),l=function(){function e(n,r,o,i,a,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var u=this;this.invoke=n===I&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),M++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==M&&b(),M--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(k,S)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==k&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(e){if(0===M&&0===d.length)if(u||t[h]&&(u=t[h].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,b)}else t[p](b,0);e&&d.push(e)}function b(){if(!g){for(g=!0;d.length;){var t=d;d=[];for(var e=0;e<t.length;e++){var n=t[e];try{n.zone.runTask(n,null,null)}catch(r){R.onUnhandledError(r)}}}R.microtaskDrainDone(),g=!1}}var m={name:"NO ZONE"},k="notScheduled",S="scheduling",x="scheduled",E="running",_="canceling",O="unknown",w="microTask",T="macroTask",I="eventTask",j={},R={symbol:i,currentZoneFrame:function(){return P},onUnhandledError:A,microtaskDrainDone:A,scheduleMicroTask:y,showUncaughtError:function(){return!c[i("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:A,patchMethod:function(){return A},bindArguments:function(){return[]},patchThen:function(){return A},patchMacroTask:function(){return A},setNativePromise:function(t){t&&"function"==typeof t.resolve&&(u=t.resolve(0))},patchEventPrototype:function(){return A},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return A},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return A},wrapWithCurrentZone:function(){return A},filterProperties:function(){return[]},attachOriginToPatched:function(){return A},_redefineProperty:function(){return A},patchCallbacks:function(){return A}},P={parent:null,zone:new c(null,null)},D=null,M=0;function A(){}r("Zone","Zone"),t.Zone=c}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(function(t,e,n){var r=Object.getOwnPropertyDescriptor,o=Object.defineProperty,i=n.symbol,a=[],c=!0===t[i("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=i("Promise"),s=i("then");n.onUnhandledError=function(t){if(n.showUncaughtError()){var e=t&&t.rejection;e?console.error("Unhandled Promise rejection:",e instanceof Error?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,e instanceof Error?e.stack:void 0):console.error(t)}},n.microtaskDrainDone=function(){for(var t=function(){var t=a.shift();try{t.zone.runGuarded((function(){throw t}))}catch(r){!function(t){n.onUnhandledError(t);try{var r=e[f];"function"==typeof r&&r.call(this,t)}catch(o){}}(r)}};a.length;)t()};var f=i("unhandledPromiseRejectionHandler");function l(t){return t&&t.then}function p(t){return t}function h(t){return w.reject(t)}var v=i("state"),d=i("value"),g=i("finally"),y=i("parentPromiseValue"),b=i("parentPromiseState");function m(t,e){return function(n){try{S(t,e,n)}catch(r){S(t,!1,r)}}}var k=i("currentTaskTrace");function S(t,r,i){var u,s,f=(u=!1,function(t){return function(){u||(u=!0,t.apply(null,arguments))}});if(t===i)throw new TypeError("Promise resolved with itself");if(null===t[v]){var l=null;try{"object"!=typeof i&&"function"!=typeof i||(l=i&&i.then)}catch(T){return f((function(){S(t,!1,T)}))(),t}if(!1!==r&&i instanceof w&&i.hasOwnProperty(v)&&i.hasOwnProperty(d)&&null!==i[v])E(i),S(t,i[v],i[d]);else if(!1!==r&&"function"==typeof l)try{l.call(i,f(m(t,r)),f(m(t,!1)))}catch(T){f((function(){S(t,!1,T)}))()}else{t[v]=r;var p=t[d];if(t[d]=i,t[g]===g&&!0===r&&(t[v]=t[b],t[d]=t[y]),!1===r&&i instanceof Error){var h=e.currentTask&&e.currentTask.data&&e.currentTask.data.__creationTrace__;h&&o(i,k,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var x=0;x<p.length;)_(t,p[x++],p[x++],p[x++],p[x++]);if(0==p.length&&0==r){t[v]=0;var O=i;if(!c)try{throw new Error("Uncaught (in promise): "+((s=i)&&s.toString===Object.prototype.toString?(s.constructor&&s.constructor.name||"")+": "+JSON.stringify(s):s?s.toString():Object.prototype.toString.call(s))+(i&&i.stack?"\n"+i.stack:""))}catch(T){O=T}O.rejection=i,O.promise=t,O.zone=e.current,O.task=e.currentTask,a.push(O),n.scheduleMicroTask()}}}return t}var x=i("rejectionHandledHandler");function E(t){if(0===t[v]){try{var n=e[x];n&&"function"==typeof n&&n.call(this,{rejection:t[d],promise:t})}catch(o){}t[v]=!1;for(var r=0;r<a.length;r++)t===a[r].promise&&a.splice(r,1)}}function _(t,e,n,r,o){E(t);var i=t[v],a=i?"function"==typeof r?r:p:"function"==typeof o?o:h;e.scheduleMicroTask("Promise.then",(function(){try{var r=t[d],o=!!n&&g===n[g];o&&(n[y]=r,n[b]=i);var c=e.run(a,void 0,o&&a!==h&&a!==p?[]:[r]);S(n,!0,c)}catch(u){S(n,!1,u)}}),n)}var O=function(){},w=function(){function t(e){if(!(this instanceof t))throw new Error("Must be an instanceof Promise.");this[v]=null,this[d]=[];try{e&&e(m(this,!0),m(this,!1))}catch(n){S(this,!1,n)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(t){return S(new this(null),!0,t)},t.reject=function(t){return S(new this(null),!1,t)},t.race=function(t){var e,n,r=new this((function(t,r){e=t,n=r}));function o(t){e(t)}function i(t){n(t)}for(var a=0,c=t;a<c.length;a++){var u=c[a];l(u)||(u=this.resolve(u)),u.then(o,i)}return r},t.all=function(e){return t.allWithCallback(e)},t.allSettled=function(e){return(this&&this.prototype instanceof t?this:t).allWithCallback(e,{thenCallback:function(t){return{status:"fulfilled",value:t}},errorCallback:function(t){return{status:"rejected",reason:t}}})},t.allWithCallback=function(t,e){for(var n,r,o=new this((function(t,e){n=t,r=e})),i=2,a=0,c=[],u=function(t){l(t)||(t=s.resolve(t));var o=a;try{t.then((function(t){c[o]=e?e.thenCallback(t):t,0==--i&&n(c)}),(function(t){e?(c[o]=e.errorCallback(t),0==--i&&n(c)):r(t)}))}catch(u){r(u)}i++,a++},s=this,f=0,p=t;f<p.length;f++)u(p[f]);return 0==(i-=2)&&n(c),o},Object.defineProperty(t.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,Symbol.species,{get:function(){return t},enumerable:!0,configurable:!0}),t.prototype.then=function(n,r){var o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||t);var i=new o(O),a=e.current;return null==this[v]?this[d].push(a,i,n,r):_(this,a,i,n,r),i},t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(n){var r=this.constructor[Symbol.species];r&&"function"==typeof r||(r=t);var o=new r(O);o[g]=g;var i=e.current;return null==this[v]?this[d].push(i,o,n,n):_(this,i,o,n,n),o},t}();w.resolve=w.resolve,w.reject=w.reject,w.race=w.race,w.all=w.all;var T=t[u]=t.Promise,I=e.__symbol__("ZoneAwarePromise"),j=r(t,"Promise");j&&!j.configurable||(j&&delete j.writable,j&&delete j.value,j||(j={configurable:!0,enumerable:!0}),j.get=function(){return t[I]?t[I]:t[u]},j.set=function(e){e===w?t[I]=e:(t[u]=e,e.prototype[s]||D(e),n.setNativePromise(e))},o(t,"Promise",j)),t.Promise=w;var R,P=i("thenPatched");function D(t){var e=t.prototype,n=r(e,"then");if(!n||!1!==n.writable&&n.configurable){var o=e.then;e[s]=o,t.prototype.then=function(t,e){var n=this;return new w((function(t,e){o.call(n,t,e)})).then(t,e)},t[P]=!0}}if(n.patchThen=D,T){D(T);var M=t.fetch;"function"==typeof M&&(t[n.symbol("fetch")]=M,t.fetch=(R=M,function(){var t=R.apply(this,arguments);if(t instanceof w)return t;var e=t.constructor;return e[P]||D(e),t}))}return Promise[e.__symbol__("uncaughtPromiseErrors")]=a,w}));var t=Object.getOwnPropertyDescriptor,e=Object.defineProperty,n=Object.getPrototypeOf,r=Object.create,o=Array.prototype.slice,i=Zone.__symbol__("addEventListener"),a=Zone.__symbol__("removeEventListener"),c=Zone.__symbol__("");function u(t,e){return Zone.current.wrap(t,e)}function s(t,e,n,r,o){return Zone.current.scheduleMacroTask(t,e,n,r,o)}var f=Zone.__symbol__,l="undefined"!=typeof window,p=l?window:void 0,h=l&&p||"object"==typeof self&&self||global,v=[null];function d(t,e){for(var n=t.length-1;n>=0;n--)"function"==typeof t[n]&&(t[n]=u(t[n],e+"_"+n));return t}function g(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,b=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),m=!b&&!y&&!(!l||!p.HTMLElement),k=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!l||!p.HTMLElement),S={},x=function(t){if(t=t||h.event){var e=S[t.type];e||(e=S[t.type]=f("ON_PROPERTY"+t.type));var n,r=this||t.target||h,o=r[e];if(m&&r===p&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function E(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=f("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),l=S[s];l||(l=S[s]=f("ON_PROPERTY"+s)),i.set=function(t){var e=this;e||n!==h||(e=h),e&&(e[l]&&e.removeEventListener(s,x),u&&u.apply(e,v),"function"==typeof t?(e[l]=t,e.addEventListener(s,x,!1)):e[l]=null)},i.get=function(){var t=this;if(t||n!==h||(t=h),!t)return null;var e=t[l];if(e)return e;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},e(n,r,i),n[a]=!0}}}function _(t,e,n){if(e)for(var r=0;r<e.length;r++)E(t,"on"+e[r],n);else{var o=[];for(var i in t)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)E(t,o[a],n)}}var O=f("originalInstance");function w(t){var n=h[t];if(n){h[f(t)]=n,h[t]=function(){var e=d(arguments,t);switch(e.length){case 0:this[O]=new n;break;case 1:this[O]=new n(e[0]);break;case 2:this[O]=new n(e[0],e[1]);break;case 3:this[O]=new n(e[0],e[1],e[2]);break;case 4:this[O]=new n(e[0],e[1],e[2],e[3]);break;default:throw new Error("Arg list too long.")}},j(h[t],n);var r,o=new n((function(){}));for(r in o)"XMLHttpRequest"===t&&"responseBlob"===r||function(n){"function"==typeof o[n]?h[t].prototype[n]=function(){return this[O][n].apply(this[O],arguments)}:e(h[t].prototype,n,{set:function(e){"function"==typeof e?(this[O][n]=u(e,t+"."+n),j(this[O][n],e)):this[O][n]=e},get:function(){return this[O][n]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(h[t][r]=n[r])}}function T(e,r,o){for(var i=e;i&&!i.hasOwnProperty(r);)i=n(i);!i&&e[r]&&(i=e);var a=f(r),c=null;if(i&&!(c=i[a])&&(c=i[a]=i[r],g(i&&t(i,r)))){var u=o(c,a,r);i[r]=function(){return u(this,arguments)},j(i[r],c)}return c}function I(t,e,n){var r=null;function o(t){var e=t.data;return e.args[e.cbIdx]=function(){t.invoke.apply(this,arguments)},r.apply(e.target,e.args),t}r=T(t,e,(function(t){return function(e,r){var i=n(e,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?s(i.name,r[i.cbIdx],i,o):t.apply(e,r)}}))}function j(t,e){t[f("OriginalDelegate")]=e}var R=!1,P=!1;function D(){try{var t=p.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function M(){if(R)return P;R=!0;try{var t=p.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(P=!0)}catch(e){}return P}Zone.__load_patch("toString",(function(t){var e=Function.prototype.toString,n=f("OriginalDelegate"),r=f("Promise"),o=f("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}}));var A=!1;if("undefined"!=typeof window)try{var N=Object.defineProperty({},"passive",{get:function(){A=!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch(kt){A=!1}var C={useG:!0},Z={},L={},W=new RegExp("^"+c+"(\\w+)(true|false)$"),F=f("propagationStopped");function z(t,e){var n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=c+n,i=c+r;Z[t]={},Z[t].false=o,Z[t].true=i}function U(t,e,r){var o=r&&r.add||"addEventListener",i=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",u=r&&r.rmAll||"removeAllListeners",s=f(o),l="."+o+":",p=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},h=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[Z[e.type].false];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[F]);i++)p(o[i],n,e)}},v=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[Z[e.type].true];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i<o.length&&(!e||!0!==e[F]);i++)p(o[i],n,e)}};function d(e,r){if(!e)return!1;var p=!0;r&&void 0!==r.useG&&(p=r.useG);var d=r&&r.vh,g=!0;r&&void 0!==r.chkDup&&(g=r.chkDup);var y=!1;r&&void 0!==r.rt&&(y=r.rt);for(var m=e;m&&!m.hasOwnProperty(o);)m=n(m);if(!m&&e[o]&&(m=e),!m)return!1;if(m[s])return!1;var k,S=r&&r.eventNameToString,x={},E=m[s]=m[o],_=m[f(i)]=m[i],O=m[f(a)]=m[a],w=m[f(u)]=m[u];function T(t,e){return!A&&"object"==typeof t&&t?!!t.capture:A&&e?"boolean"==typeof t?{capture:t,passive:!0}:t?"object"==typeof t&&!1!==t.passive?Object.assign(Object.assign({},t),{passive:!0}):t:{passive:!0}:t}r&&r.prepend&&(k=m[f(r.prepend)]=m[r.prepend]);var I=p?function(t){if(!x.isExisting)return E.call(x.target,x.eventName,x.capture?v:h,x.options)}:function(t){return E.call(x.target,x.eventName,t.invoke,x.options)},R=p?function(t){if(!t.isRemoved){var e=Z[t.eventName],n=void 0;e&&(n=e[t.capture?"true":"false"]);var r=n&&t.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===t){r.splice(o,1),t.isRemoved=!0,0===r.length&&(t.allRemoved=!0,t.target[n]=null);break}}if(t.allRemoved)return _.call(t.target,t.eventName,t.capture?v:h,t.options)}:function(t){return _.call(t.target,t.eventName,t.invoke,t.options)},P=r&&r.diff?r.diff:function(t,e){var n=typeof e;return"function"===n&&t.callback===e||"object"===n&&t.originalDelegate===e},D=Zone[f("BLACK_LISTED_EVENTS")],M=t[f("PASSIVE_EVENTS")],N=function(e,n,o,i,a,c){return void 0===a&&(a=!1),void 0===c&&(c=!1),function(){var u=this||t,s=arguments[0];r&&r.transferEventName&&(s=r.transferEventName(s));var f=arguments[1];if(!f)return e.apply(this,arguments);if(b&&"uncaughtException"===s)return e.apply(this,arguments);var l=!1;if("function"!=typeof f){if(!f.handleEvent)return e.apply(this,arguments);l=!0}if(!d||d(e,f,u,arguments)){var h=A&&!!M&&-1!==M.indexOf(s),v=T(arguments[2],h);if(D)for(var y=0;y<D.length;y++)if(s===D[y])return h?e.call(u,s,f,v):e.apply(this,arguments);var m=!!v&&("boolean"==typeof v||v.capture),k=!(!v||"object"!=typeof v)&&v.once,E=Zone.current,_=Z[s];_||(z(s,S),_=Z[s]);var O,w=_[m?"true":"false"],I=u[w],j=!1;if(I){if(j=!0,g)for(y=0;y<I.length;y++)if(P(I[y],f))return}else I=u[w]=[];var R=u.constructor.name,N=L[R];N&&(O=N[s]),O||(O=R+n+(S?S(s):s)),x.options=v,k&&(x.options.once=!1),x.target=u,x.capture=m,x.eventName=s,x.isExisting=j;var W=p?C:void 0;W&&(W.taskData=x);var F=E.scheduleEventTask(O,f,W,o,i);return x.target=null,W&&(W.taskData=null),k&&(v.once=!0),(A||"boolean"!=typeof F.options)&&(F.options=v),F.target=u,F.capture=m,F.eventName=s,l&&(F.originalDelegate=f),c?I.unshift(F):I.push(F),a?u:void 0}}};return m[o]=N(E,l,I,R,y),k&&(m.prependListener=N(k,".prependListener:",(function(t){return k.call(x.target,x.eventName,t.invoke,x.options)}),R,y,!0)),m[i]=function(){var e=this||t,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));var o=arguments[2],i=!!o&&("boolean"==typeof o||o.capture),a=arguments[1];if(!a)return _.apply(this,arguments);if(!d||d(_,a,e,arguments)){var u,s=Z[n];s&&(u=s[i?"true":"false"]);var f=u&&e[u];if(f)for(var l=0;l<f.length;l++){var p=f[l];if(P(p,a)){if(f.splice(l,1),p.isRemoved=!0,0===f.length&&(p.allRemoved=!0,e[u]=null,"string"==typeof n)){var h=c+"ON_PROPERTY"+n;e[h]=null}return p.zone.cancelTask(p),y?e:void 0}}return _.apply(this,arguments)}},m[a]=function(){var e=this||t,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));for(var o=[],i=B(e,S?S(n):n),a=0;a<i.length;a++){var c=i[a],u=c.originalDelegate?c.originalDelegate:c.callback;o.push(u)}return o},m[u]=function(){var e=this||t,n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));var o=Z[n];if(o){var a=o.false,c=o.true,s=e[a],f=e[c];if(s){var l=s.slice();for(v=0;v<l.length;v++)this[i].call(this,n,(p=l[v]).originalDelegate?p.originalDelegate:p.callback,p.options)}if(f)for(l=f.slice(),v=0;v<l.length;v++){var p;this[i].call(this,n,(p=l[v]).originalDelegate?p.originalDelegate:p.callback,p.options)}}}else{for(var h=Object.keys(e),v=0;v<h.length;v++){var d=h[v],g=W.exec(d),b=g&&g[1];b&&"removeListener"!==b&&this[u].call(this,b)}this[u].call(this,"removeListener")}if(y)return this},j(m[o],E),j(m[i],_),w&&j(m[u],w),O&&j(m[a],O),!0}for(var g=[],y=0;y<e.length;y++)g[y]=d(e[y],r);return g}function B(t,e){if(!e){var n=[];for(var r in t){var o=W.exec(r),i=o&&o[1];if(i&&(!e||i===e)){var a=t[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}var u=Z[e];u||(z(e),u=Z[e]);var s=t[u.false],f=t[u.true];return s?f?s.concat(f):s.slice():f?f.slice():[]}function G(t,e){var n=t.Event;n&&n.prototype&&e.patchMethod(n.prototype,"stopImmediatePropagation",(function(t){return function(e,n){e[F]=!0,t&&t.apply(e,n)}}))}function H(t,e,n,r,o){var i=Zone.__symbol__(r);if(!e[i]){var a=e[i]=e[r];e[r]=function(i,c,u){return c&&c.prototype&&o.forEach((function(e){var o=n+"."+r+"::"+e,i=c.prototype;if(i.hasOwnProperty(e)){var a=t.ObjectGetOwnPropertyDescriptor(i,e);a&&a.value?(a.value=t.wrapWithCurrentZone(a.value,o),t._redefineProperty(c.prototype,e,a)):i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))}else i[e]&&(i[e]=t.wrapWithCurrentZone(i[e],o))})),a.call(e,i,c,u)},t.attachOriginToPatched(e[r],a)}}var K,V,X,Y,q,Q=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],$=["load"],tt=["blur","error","focus","load","resize","scroll","messageerror"],et=["bounce","finish","start"],nt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],rt=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ot=["close","error","open","message"],it=["error","message"],at=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Q,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ct(t,e,n){if(!n||0===n.length)return e;var r=n.filter((function(e){return e.target===t}));if(!r||0===r.length)return e;var o=r[0].ignoreProperties;return e.filter((function(t){return-1===o.indexOf(t)}))}function ut(t,e,n,r){t&&_(t,ct(t,e,n),r)}function st(t,e){if((!b||k)&&!Zone[t.symbol("patchEvents")]){var r="undefined"!=typeof WebSocket,o=e.__Zone_ignore_on_properties;if(m){var i=window,a=D?[{target:i,ignoreProperties:["error"]}]:[];ut(i,at.concat(["messageerror"]),o?o.concat(a):o,n(i)),ut(Document.prototype,at,o),void 0!==i.SVGElement&&ut(i.SVGElement.prototype,at,o),ut(Element.prototype,at,o),ut(HTMLElement.prototype,at,o),ut(HTMLMediaElement.prototype,J,o),ut(HTMLFrameSetElement.prototype,Q.concat(tt),o),ut(HTMLBodyElement.prototype,Q.concat(tt),o),ut(HTMLFrameElement.prototype,$,o),ut(HTMLIFrameElement.prototype,$,o);var c=i.HTMLMarqueeElement;c&&ut(c.prototype,et,o);var u=i.Worker;u&&ut(u.prototype,it,o)}var s=e.XMLHttpRequest;s&&ut(s.prototype,nt,o);var f=e.XMLHttpRequestEventTarget;f&&ut(f&&f.prototype,nt,o),"undefined"!=typeof IDBIndex&&(ut(IDBIndex.prototype,rt,o),ut(IDBRequest.prototype,rt,o),ut(IDBOpenDBRequest.prototype,rt,o),ut(IDBDatabase.prototype,rt,o),ut(IDBTransaction.prototype,rt,o),ut(IDBCursor.prototype,rt,o)),r&&ut(WebSocket.prototype,ot,o)}}function ft(){K=Zone.__symbol__,V=Object[K("defineProperty")]=Object.defineProperty,X=Object[K("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,Y=Object.create,q=K("unconfigurables"),Object.defineProperty=function(t,e,n){if(pt(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=ht(t,e,n)),vt(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach((function(n){Object.defineProperty(t,n,e[n])})),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach((function(n){e[n]=ht(t,n,e[n])})),Y(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var n=X(t,e);return n&&pt(t,e)&&(n.configurable=!1),n}}function lt(t,e,n){var r=n.configurable;return vt(t,e,n=ht(t,e,n),r)}function pt(t,e){return t&&t[q]&&t[q][e]}function ht(t,e,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(t[q]||Object.isFrozen(t)||V(t,q,{writable:!0,value:{}}),t[q]&&(t[q][e]=!0)),n}function vt(t,e,n,r){try{return V(t,e,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return V(t,e,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+e+"' with descriptor '"+o+"' on object '"+t+"' and got error, giving up: "+i)}}}function dt(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),f=[],l=t.wtf,p="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");l?f=p.map((function(t){return"HTML"+t+"Element"})).concat(s):t.EventTarget?f.push("EventTarget"):f=s;for(var h=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,d=e.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},b=0;b<r.length;b++){var m=u+((_=r[b])+c),k=u+(_+a);i[_]={},i[_][c]=m,i[_][a]=k}for(b=0;b<p.length;b++)for(var S=p[b],x=o[S]={},E=0;E<r.length;E++){var _;x[_=r[E]]=S+".addEventListener:"+_}var O=[];for(b=0;b<f.length;b++){var w=t[f[b]];O.push(w&&w.prototype)}return e.patchEventTarget(t,O,{vh:function(t,e,n,r){if(!h&&d){if(v)try{var o;if("[object FunctionWrapper]"===(o=e.toString())||o==g)return t.apply(n,r),!1}catch(i){return t.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=e.toString())||o==g)return t.apply(n,r),!1}else if(v)try{e.toString()}catch(i){return t.apply(n,r),!1}return!0},transferEventName:function(t){return y[t]||t}}),Zone[e.symbol("patchEventTarget")]=!!t.EventTarget,!0}function gt(t,e){var n=t.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(t,e){var n=t.getGlobalObjects();if((n.isBrowser||n.isMix)&&!t.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=t.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){t.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return t.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var i=e.XMLHttpRequest;if(!i)return!1;var a=i.prototype,c=t.ObjectGetOwnPropertyDescriptor(a,"onreadystatechange");if(c)return t.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(s=new i).onreadystatechange,t.ObjectDefineProperty(a,"onreadystatechange",c||{}),o;var u=t.symbol("fake");t.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[u]},set:function(t){this[u]=t}});var s=new i,f=function(){};return s.onreadystatechange=f,o=s[u]===f,s.onreadystatechange=null,o}(t,e)){var r="undefined"!=typeof WebSocket;!function(t){for(var e=t.getGlobalObjects().eventNames,n=t.symbol("unbound"),r=function(r){var o=e[r],i="on"+o;self.addEventListener(o,(function(e){var r,o,a=e.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=t.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement}),!0)},o=0;o<e.length;o++)r(o)}(t),t.patchClass("XMLHttpRequest"),r&&function(t,e){var n=t.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=e.WebSocket;e.EventTarget||t.patchEventTarget(e,[i.prototype]),e.WebSocket=function(e,n){var a,c,u=arguments.length>1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach((function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}}))):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",(function(n,i,a){a.patchOnProperties=_,a.patchMethod=T,a.bindArguments=d,a.patchMacroTask=I;var s=i.__symbol__("BLACK_LISTED_EVENTS"),f=i.__symbol__("UNPATCHED_EVENTS");n[f]&&(n[s]=n[f]),n[s]&&(i[s]=i[f]=n[s]),a.patchEventPrototype=G,a.patchEventTarget=U,a.isIEOrEdge=M,a.ObjectDefineProperty=e,a.ObjectGetOwnPropertyDescriptor=t,a.ObjectCreate=r,a.ArraySlice=o,a.patchClass=w,a.wrapWithCurrentZone=u,a.filterProperties=ct,a.attachOriginToPatched=j,a._redefineProperty=Object.defineProperty,a.patchCallbacks=H,a.getGlobalObjects=function(){return{globalSources:L,zoneSymbolEventNames:Z,eventNames:at,isBrowser:m,isMix:k,isNode:b,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})),function(t){t[(t.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var e=t.Zone;e.__load_patch("defineProperty",(function(t,e,n){n._redefineProperty=lt,ft()})),e.__load_patch("registerElement",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)})),e.__load_patch("EventTargetLegacy",(function(t,e,n){dt(t,n),gt(n,t)}))}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var yt=f("zoneTask");function bt(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[yt]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=T(t,e+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var f=s(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!f)return f;var l=f.data.handleId;return"number"==typeof l?a[l]=f:l&&(l[yt]=f),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(f.ref=l.ref.bind(l),f.unref=l.unref.bind(l)),"number"==typeof l||l?l:f}return n.apply(t,i)}})),i=T(t,n,(function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[yt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[yt]=null),o.zone.cancelTask(o)):e.apply(t,r)}}))}function mt(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var s=r[u],f=c+(s+a),l=c+(s+i);o[s]={},o[s][a]=f,o[s][i]=l}var p=t.EventTarget;if(p&&p.prototype)return e.patchEventTarget(t,[p&&p.prototype]),!0}}Zone.__load_patch("legacy",(function(t){var e=t[Zone.__symbol__("legacyPatch")];e&&e()})),Zone.__load_patch("timers",(function(t){bt(t,"set","clear","Timeout"),bt(t,"set","clear","Interval"),bt(t,"set","clear","Immediate")})),Zone.__load_patch("requestAnimationFrame",(function(t){bt(t,"request","cancel","AnimationFrame"),bt(t,"mozRequest","mozCancel","AnimationFrame"),bt(t,"webkitRequest","webkitCancel","AnimationFrame")})),Zone.__load_patch("blocking",(function(t,e){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)T(t,n[r],(function(n,r,o){return function(r,i){return e.current.run(n,t,i,o)}}))})),Zone.__load_patch("EventTarget",(function(t,e,n){!function(t,e){e.patchEventPrototype(t,e)}(t,n),mt(t,n);var r=t.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(t,[r.prototype]),w("MutationObserver"),w("WebKitMutationObserver"),w("IntersectionObserver"),w("FileReader")})),Zone.__load_patch("on_property",(function(t,e,n){st(n,t)})),Zone.__load_patch("customElements",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&t.customElements&&"customElements"in t&&e.patchCallbacks(e,t.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(t,n)})),Zone.__load_patch("XHR",(function(t,e){!function(t){var p=t.XMLHttpRequest;if(p){var h=p.prototype,v=h[i],d=h[a];if(!v){var g=t.XMLHttpRequestEventTarget;if(g){var y=g.prototype;v=y[i],d=y[a]}}var b=T(h,"open",(function(){return function(t,e){return t[r]=0==e[2],t[u]=e[1],b.apply(t,e)}})),m=f("fetchTaskAborting"),k=f("fetchTaskScheduling"),S=T(h,"send",(function(){return function(t,n){if(!0===e.current[k])return S.apply(t,n);if(t[r])return S.apply(t,n);var o={target:t,url:t[u],isPeriodic:!1,args:n,aborted:!1},i=s("XMLHttpRequest.send",_,o,E,O);t&&!0===t[l]&&!o.aborted&&"scheduled"===i.state&&i.invoke()}})),x=T(h,"abort",(function(){return function(t,r){var o=t[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===e.current[m])return x.apply(t,r)}}))}function E(t){var r=t.data,u=r.target;u[c]=!1,u[l]=!1;var s=u[o];v||(v=u[i],d=u[a]),s&&d.call(u,"readystatechange",s);var f=u[o]=function(){if(u.readyState===u.DONE)if(!r.aborted&&u[c]&&"scheduled"===t.state){var n=u[e.__symbol__("loadfalse")];if(n&&n.length>0){var o=t.invoke;t.invoke=function(){for(var n=u[e.__symbol__("loadfalse")],i=0;i<n.length;i++)n[i]===t&&n.splice(i,1);r.aborted||"scheduled"!==t.state||o.call(t)},n.push(t)}else t.invoke()}else r.aborted||!1!==u[c]||(u[l]=!0)};return v.call(u,"readystatechange",f),u[n]||(u[n]=t),S.apply(u,r.args),u[c]=!0,t}function _(){}function O(t){var e=t.data;return e.aborted=!0,x.apply(e.target,e.args)}}(t);var n=f("xhrTask"),r=f("xhrSync"),o=f("xhrListener"),c=f("xhrScheduled"),u=f("xhrURL"),l=f("xhrErrorBeforeScheduled")})),Zone.__load_patch("geolocation",(function(e){e.navigator&&e.navigator.geolocation&&function(e,n){for(var r=e.constructor.name,o=function(o){var i=n[o],a=e[i];if(a){if(!g(t(e,i)))return"continue";e[i]=function(t){var e=function(){return t.apply(this,d(arguments,r+"."+i))};return j(e,t),e}(a)}},i=0;i<n.length;i++)o(i)}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])})),Zone.__load_patch("PromiseRejectionEvent",(function(t,e){function n(e){return function(n){B(t,e).forEach((function(r){var o=t.PromiseRejectionEvent;if(o){var i=new o(e,{promise:n.promise,reason:n.rejection});r.invoke(i)}}))}}t.PromiseRejectionEvent&&(e[f("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),e[f("rejectionHandledHandler")]=n("rejectionhandled"))}))})?r.call(e,n,e,t):r)||(t.exports=o)},"0eef":function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},"0oug":function(t,e,n){n("dG/n")("iterator")},"0rvr":function(t,e,n){var r=n("glrk"),o=n("O741");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},"14Sl":function(t,e,n){"use strict";n("rB9j");var r=n("busE"),o=n("0Dky"),i=n("tiKp"),a=n("kmMV"),c=n("kRJp"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],b=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=b[1];r(String.prototype,t,b[0]),r(RegExp.prototype,v,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},"1E5z":function(t,e,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"1Y/n":function(t,e,n){var r=n("HAuM"),o=n("ewvW"),i=n("RK3t"),a=n("UMSQ"),c=function(t){return function(e,n,c,u){r(n);var s=o(e),f=i(s),l=a(s.length),p=t?l-1:0,h=t?-1:1;if(c<2)for(;;){if(p in f){u=f[p],p+=h;break}if(p+=h,t?p<0:l<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:l>p;p+=h)p in f&&(u=n(u,f[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},2:function(t,e,n){t.exports=n("hN/g")},"27RR":function(t,e,n){var r=n("I+eb"),o=n("g6v/"),i=n("Vu81"),a=n("/GqU"),c=n("Bs8V"),u=n("hBjN");r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=c.f,s=i(r),f={},l=0;s.length>l;)void 0!==(n=o(r,e=s[l++]))&&u(f,e,n);return f}})},"2A+d":function(t,e,n){var r=n("I+eb"),o=n("/GqU"),i=n("UMSQ");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c<r&&a.push(String(arguments[c]));return a.join("")}})},"2B1R":function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").map,i=n("Hd5f"),a=n("rkAj"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"2oRo":function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},"33Wh":function(t,e,n){var r=n("yoRg"),o=n("eDl+");t.exports=Object.keys||function(t){return r(t,o)}},"3I1R":function(t,e,n){n("dG/n")("hasInstance")},"3KgV":function(t,e,n){var r=n("I+eb"),o=n("uy83"),i=n("0Dky"),a=n("hh1v"),c=n("8YOa").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},"3bBZ":function(t,e,n){var r=n("2oRo"),o=n("/byt"),i=n("4mDm"),a=n("kRJp"),c=n("tiKp"),u=c("iterator"),s=c("toStringTag"),f=i.values;for(var l in o){var p=r[l],h=p&&p.prototype;if(h){if(h[u]!==f)try{a(h,u,f)}catch(d){h[u]=f}if(h[s]||a(h,s,l),o[l])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},"4Brf":function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("2oRo"),a=n("UTVS"),c=n("hh1v"),u=n("m/L8").f,s=n("6JNq"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var n=d?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},"4WOD":function(t,e,n){var r=n("UTVS"),o=n("ewvW"),i=n("93I0"),a=n("4Xet"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},"4Xet":function(t,e,n){var r=n("0Dky");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"4h0Y":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},"4l63":function(t,e,n){var r=n("I+eb"),o=n("wg0c");r({global:!0,forced:parseInt!=o},{parseInt:o})},"4mDm":function(t,e,n){"use strict";var r=n("/GqU"),o=n("RNIs"),i=n("P4y1"),a=n("afO8"),c=n("fdAy"),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"4oU/":function(t,e,n){var r=n("2oRo").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},"4syw":function(t,e,n){var r=n("busE");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"5D5o":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"5DmW":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("/GqU"),a=n("Bs8V").f,c=n("g6v/"),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},"5P7u":function(t,e,n){n("pNMO"),n("zKZe"),n("uL8W"),n("eoL8"),n("HRxU"),n("T63A"),n("3KgV"),n("wfmh"),n("5DmW"),n("27RR"),n("cDke"),n("NBAS"),n("Kxld"),n("yQYn"),n("4h0Y"),n("5D5o"),n("tkto"),n("zuhW"),n("r5Og"),n("ExoC"),n("B6y2"),n("07d7"),n("Eqjn"),n("5xtp"),n("v5b1"),n("W/eh"),n("I9xj"),n("DEfu");var r=n("Qo9l");t.exports=r.Object},"5Tg+":function(t,e,n){var r=n("tiKp");e.f=r},"5Yz+":function(t,e,n){"use strict";var r=n("/GqU"),o=n("ppGB"),i=n("UMSQ"),a=n("pkCn"),c=n("rkAj"),u=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!f&&l&&p?s:function(t){if(f)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},"5uH8":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"5xtp":function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("6x0u"),a=n("ewvW"),c=n("HAuM"),u=n("m/L8");o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(t,e){u.f(a(this),t,{set:c(e),enumerable:!0,configurable:!0})}})},"6JNq":function(t,e,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s<n.length;s++){var f=n[s];r(t,f)||c(t,f,u(e,f))}}},"6LWA":function(t,e,n){var r=n("xrYK");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"6VoE":function(t,e,n){var r=n("tiKp"),o=n("P4y1"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"6hpn":function(t,e,n){n("Uydy"),n("eajv"),n("n/mU"),n("PqOI"),n("QNnp"),n("/5zm"),n("CsgD"),n("9mRW"),n("QFcT"),n("vAFs"),n("a5NK"),n("yiG3"),n("kNcU"),n("KvGi"),n("AmFO"),n("eJiR"),n("I9xj"),n("tl/u");var r=n("Qo9l");t.exports=r.Math},"6x0u":function(t,e,n){"use strict";var r=n("xDBR"),o=n("2oRo"),i=n("0Dky");t.exports=r||!i((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete o[t]}))},"7+kd":function(t,e,n){n("dG/n")("isConcatSpreadable")},"7+zs":function(t,e,n){var r=n("kRJp"),o=n("UesL"),i=n("tiKp")("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},"7sbD":function(t,e,n){n("qePV"),n("NbN+"),n("8AyJ"),n("i6QF"),n("kSko"),n("WDsR"),n("r/Vq"),n("5uH8"),n("w1rZ"),n("JevA"),n("toAj"),n("VC3L");var r=n("Qo9l");t.exports=r.Number},"7ueG":function(t,e,n){"use strict";var r=n("I+eb"),o=n("WKiH").start,i=n("yNLB")("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},"8AyJ":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{isFinite:n("4oU/")})},"8YOa":function(t,e,n){var r=n("0BK2"),o=n("hh1v"),i=n("UTVS"),a=n("m/L8").f,c=n("kOOl"),u=n("uy83"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},h=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},getWeakData:function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},onFreeze:function(t){return u&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t}};r[s]=!0},"90hW":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},"93I0":function(t,e,n){var r=n("VpIT"),o=n("kOOl"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"94Xl":function(t,e,n){n("JiZb")("Array")},"9LPj":function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("wE6v");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"9N29":function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n").right,i=n("pkCn"),a=n("rkAj"),c=i("reduceRight"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"9bJ7":function(t,e,n){"use strict";var r=n("I+eb"),o=n("ZUd8").codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},"9d/t":function(t,e,n){var r=n("AO7/"),o=n("xrYK"),i=n("tiKp")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"9mRW":function(t,e,n){n("I+eb")({target:"Math",stat:!0},{fround:n("vo4V")})},"9tb/":function(t,e,n){var r=n("I+eb"),o=n("I8vh"),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},A2ZE:function(t,e,n){var r=n("HAuM");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},ALS0:function(t,e,n){"use strict";n("rB9j");var r,o,i=n("I+eb"),a=n("hh1v"),c=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),u=/./.test;i({target:"RegExp",proto:!0,forced:!c},{test:function(t){if("function"!=typeof this.exec)return u.call(this,t);var e=this.exec(t);if(null!==e&&!a(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}})},"AO7/":function(t,e,n){var r={};r[n("tiKp")("toStringTag")]="z",t.exports="[object z]"===String(r)},AmFO:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("jrUv"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},B6y2:function(t,e,n){var r=n("I+eb"),o=n("b1O7").values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},BIHw:function(t,e,n){"use strict";var r=n("I+eb"),o=n("or9q"),i=n("ewvW"),a=n("UMSQ"),c=n("ppGB"),u=n("ZfDv");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:c(t)),r}})},BNMt:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("blink")},{blink:function(){return o(this,"blink","","")}})},BTho:function(t,e,n){"use strict";var r=n("HAuM"),o=n("hh1v"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?c(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(a.prototype=e.prototype),a}},"BX/b":function(t,e,n){var r=n("/GqU"),o=n("JBy8").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},Bs8V:function(t,e,n){var r=n("g6v/"),o=n("0eef"),i=n("XGwC"),a=n("/GqU"),c=n("wE6v"),u=n("UTVS"),s=n("DPsx"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},CQOm:function(t,e,n){n("4l63");var r=n("Qo9l");t.exports=r.parseInt},CsgD:function(t,e,n){var r=n("I+eb"),o=n("jrUv");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},DEfu:function(t,e,n){var r=n("2oRo");n("1E5z")(r.JSON,"JSON",!0)},DMt2:function(t,e,n){var r=n("UMSQ"),o=n("EUja"),i=n("HYAF"),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,f=String(i(e)),l=f.length,p=void 0===c?" ":String(c),h=r(n);return h<=l||""==p?f:((s=o.call(p,a((u=h-l)/p.length))).length>u&&(s=s.slice(0,u)),t?f+s:s+f)}};t.exports={start:c(!1),end:c(!0)}},DPsx:function(t,e,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(t,e,n){var r=n("busE"),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"}))},E5NM:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("big")},{big:function(){return o(this,"big","","")}})},E9XD:function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n").left,i=n("pkCn"),a=n("rkAj"),c=i("reduce"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},ENF9:function(t,e,n){"use strict";var r,o=n("2oRo"),i=n("4syw"),a=n("8YOa"),c=n("bWFh"),u=n("rKzb"),s=n("hh1v"),f=n("afO8").enforce,l=n("f5p1"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(l&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,b=g.has,m=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),b.call(this,t)||e.frozen.has(t)}return b.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=f(this);return e.frozen||(e.frozen=new r),b.call(this,t)?m.call(this,t):e.frozen.get(t)}return m.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=f(this);n.frozen||(n.frozen=new r),b.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},EUja:function(t,e,n){"use strict";var r=n("ppGB"),o=n("HYAF");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EnZy:function(t,e,n){"use strict";var r=n("14Sl"),o=n("ROdP"),i=n("glrk"),a=n("HYAF"),c=n("SEBh"),u=n("iqWW"),s=n("UMSQ"),f=n("FMNM"),l=n("kmMV"),p=n("0Dky"),h=[].push,v=Math.min,d=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,f=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=l.call(v,r))&&!((u=v.lastIndex)>p&&(f.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(f,c.slice(1)),s=c[0].length,p=u,f.length>=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||f.push(""):f.push(r.slice(p)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var l=i(t),p=String(this),h=c(l,RegExp),g=l.unicode,y=new h(d?l:"^(?:"+l.source+")",(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g")),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===f(y,p)?[p]:[];for(var m=0,k=0,S=[];k<p.length;){y.lastIndex=d?k:0;var x,E=f(y,d?p:p.slice(k));if(null===E||(x=v(s(y.lastIndex+(d?0:k)),p.length))===m)k=u(p,k,g);else{if(S.push(p.slice(m,k)),S.length===b)return S;for(var _=1;_<=E.length-1;_++)if(S.push(E[_]),S.length===b)return S;k=m=x}}return S.push(p.slice(m)),S}]}),!d)},Ep9I:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},Eqjn:function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("6x0u"),a=n("ewvW"),c=n("HAuM"),u=n("m/L8");o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(t,e){u.f(a(this),t,{get:c(e),enumerable:!0,configurable:!0})}})},ExoC:function(t,e,n){n("I+eb")({target:"Object",stat:!0},{setPrototypeOf:n("0rvr")})},F8JR:function(t,e,n){"use strict";var r=n("tycR").forEach,o=n("pkCn"),i=n("rkAj"),a=o("forEach"),c=i("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},FF6l:function(t,e,n){"use strict";var r=n("ewvW"),o=n("I8vh"),i=n("UMSQ"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s<u&&u<s+l&&(p=-1,s+=l-1,u+=l-1);l-- >0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},FMNM:function(t,e,n){var r=n("xrYK"),o=n("kmMV");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"G+Rx":function(t,e,n){var r=n("0GbY");t.exports=r("document","documentElement")},GKVU:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},GRPF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},GXvd:function(t,e,n){n("dG/n")("species")},GarU:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},H0pb:function(t,e,n){n("ma9I"),n("07d7"),n("pNMO"),n("tjZM"),n("4Brf"),n("3I1R"),n("7+kd"),n("0oug"),n("KhsS"),n("jt2F"),n("gOCb"),n("a57n"),n("GXvd"),n("I1Gw"),n("gXIK"),n("lEou"),n("gbiT"),n("I9xj"),n("DEfu");var r=n("Qo9l");t.exports=r.Symbol},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HH4o:function(t,e,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},HRxU:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("N+g0")})},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var r=n("0Dky"),o=n("tiKp"),i=n("LQDL"),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},HiXI:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WKiH").end,i=n("yNLB")("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},HsHA:function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},"I+eb":function(t,e,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("kRJp"),a=n("busE"),c=n("zk60"),u=n("6JNq"),s=n("lMq5");t.exports=function(t,e){var n,f,l,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(d?f:v+(g?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(n,f,p,t)}}},I1Gw:function(t,e,n){n("dG/n")("split")},I8vh:function(t,e,n){var r=n("ppGB"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},I9xj:function(t,e,n){n("1E5z")(Math,"Math",!0)},ImZN:function(t,e,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("A2ZE"),c=n("NaFW"),u=n("m92n"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,h,v,d,g,y,b,m=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=f?m(r(b=t[v])[0],b[1]):m(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(b=y.call(p)).done;)if("object"==typeof(g=u(p,m,b.value,f))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},IxXR:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("strike")},{strike:function(){return o(this,"strike","","")}})},J30X:function(t,e,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(t,e,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},JTJg:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WjRb"),i=n("HYAF");r({target:"String",proto:!0,forced:!n("qxPZ")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},JevA:function(t,e,n){var r=n("I+eb"),o=n("wg0c");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},JfAA:function(t,e,n){"use strict";var r=n("busE"),o=n("glrk"),i=n("0Dky"),a=n("rW0t"),c=RegExp.prototype,u=c.toString;(i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))||"toString"!=u.name)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)}),{unsafe:!0})},JiZb:function(t,e,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("tiKp"),a=n("g6v/"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},Junv:function(t,e,n){"use strict";var r=n("I+eb"),o=n("6LWA"),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},KhsS:function(t,e,n){n("dG/n")("match")},Kv9l:function(t,e,n){n("TWNs"),n("JfAA"),n("rB9j"),n("U3f4"),n("LD7m"),n("ALS0"),n("Rm1S"),n("UxlC"),n("hByQ"),n("EnZy")},KvGi:function(t,e,n){n("I+eb")({target:"Math",stat:!0},{sign:n("90hW")})},Kxld:function(t,e,n){n("I+eb")({target:"Object",stat:!0},{is:n("Ep9I")})},LD7m:function(t,e,n){var r=n("g6v/"),o=n("n3/R").UNSUPPORTED_Y,i=n("m/L8").f,a=n("afO8").get,c=RegExp.prototype;r&&o&&i(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==c){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},LKBx:function(t,e,n){"use strict";var r,o=n("I+eb"),i=n("Bs8V").f,a=n("UMSQ"),c=n("WjRb"),u=n("HYAF"),s=n("qxPZ"),f=n("xDBR"),l="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return l?l.call(e,r,n):e.slice(n,n+r.length)===r}})},LQDL:function(t,e,n){var r,o,i=n("2oRo"),a=n("NC/Y"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},"N+g0":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},NBAS:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("4WOD"),c=n("4Xet");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"NC/Y":function(t,e,n){var r=n("0GbY");t.exports=r("navigator","userAgent")||""},NaFW:function(t,e,n){var r=n("9d/t"),o=n("P4y1"),i=n("tiKp")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"NbN+":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},O741:function(t,e,n){var r=n("hh1v");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},OM9Z:function(t,e,n){n("I+eb")({target:"String",proto:!0},{repeat:n("EUja")})},P4y1:function(t,e){t.exports={}},PKPk:function(t,e,n){"use strict";var r=n("ZUd8").charAt,o=n("afO8"),i=n("fdAy"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},PqOI:function(t,e,n){var r=n("I+eb"),o=n("90hW"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},QFcT:function(t,e,n){var r=n("I+eb"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c<u;)s<(n=i(arguments[c++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},QGkA:function(t,e,n){n("RNIs")("flat")},QIpd:function(t,e,n){var r=n("xrYK");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},QNnp:function(t,e,n){var r=n("I+eb"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},QWBl:function(t,e,n){"use strict";var r=n("I+eb"),o=n("F8JR");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},Qo9l:function(t,e,n){var r=n("2oRo");t.exports=r},RK3t:function(t,e,n){var r=n("0Dky"),o=n("xrYK"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},RNIs:function(t,e,n){var r=n("tiKp"),o=n("fHMY"),i=n("m/L8"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},ROdP:function(t,e,n){var r=n("hh1v"),o=n("xrYK"),i=n("tiKp")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},Rfxz:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").some,i=n("pkCn"),a=n("rkAj"),c=i("some"),u=a("some");r({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Rm1S:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("UMSQ"),a=n("HYAF"),c=n("iqWW"),u=n("FMNM");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},SEBh:function(t,e,n){var r=n("glrk"),o=n("HAuM"),i=n("tiKp")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},STAE:function(t,e,n){var r=n("0Dky");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},SYor:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WKiH").trim;r({target:"String",proto:!0,forced:n("yNLB")("trim")},{trim:function(){return o(this)}})},T63A:function(t,e,n){var r=n("I+eb"),o=n("b1O7").entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},TFPT:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("sub")},{sub:function(){return o(this,"sub","","")}})},TWNs:function(t,e,n){var r=n("g6v/"),o=n("2oRo"),i=n("lMq5"),a=n("cVYH"),c=n("m/L8").f,u=n("JBy8").f,s=n("ROdP"),f=n("rW0t"),l=n("n3/R"),p=n("busE"),h=n("0Dky"),v=n("afO8").set,d=n("JiZb"),g=n("tiKp")("match"),y=o.RegExp,b=y.prototype,m=/a/g,k=/a/g,S=new y(m)!==m,x=l.UNSUPPORTED_Y;if(r&&i("RegExp",!S||x||h((function(){return k[g]=!1,y(m)!=m||y(k)==k||"/a/i"!=y(m,"i")})))){for(var E=function(t,e){var n,r=this instanceof E,o=s(t),i=void 0===e;if(!r&&o&&t.constructor===E&&i)return t;S?o&&!i&&(t=t.source):t instanceof E&&(i&&(e=f.call(t)),t=t.source),x&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var c=a(S?new y(t,e):y(t,e),r?this:b,E);return x&&n&&v(c,{sticky:n}),c},_=function(t){t in E||c(E,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},O=u(y),w=0;O.length>w;)_(O[w++]);b.constructor=E,E.prototype=b,p(o,"RegExp",E)}d("RegExp")},TWQb:function(t,e,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},TZCg:function(t,e,n){"use strict";var r=n("I+eb"),o=n("DMt2").start;r({target:"String",proto:!0,forced:n("mgyK")},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},TeQF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").filter,i=n("Hd5f"),a=n("rkAj"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},TfTi:function(t,e,n){"use strict";var r=n("A2ZE"),o=n("ewvW"),i=n("m92n"),a=n("6VoE"),c=n("UMSQ"),u=n("hBjN"),s=n("NaFW");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,b=void 0!==y,m=s(v),k=0;if(b&&(y=r(y,g>2?arguments[2]:void 0,2)),null==m||d==Array&&a(m))for(n=new d(e=c(v.length));e>k;k++)h=b?y(v[k],k):v[k],u(n,k,h);else for(p=(l=m.call(v)).next,n=new d;!(f=p.call(l)).done;k++)h=b?i(l,y,[f.value,k],!0):f.value,u(n,k,h);return n.length=k,n}},ToJy:function(t,e,n){"use strict";var r=n("I+eb"),o=n("HAuM"),i=n("ewvW"),a=n("0Dky"),c=n("pkCn"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},Tskq:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},U3f4:function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("rW0t"),a=n("n3/R").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},UMSQ:function(t,e,n){var r=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},UesL:function(t,e,n){"use strict";var r=n("glrk"),o=n("wE6v");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},UxlC:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("ewvW"),a=n("UMSQ"),c=n("ppGB"),u=n("HYAF"),s=n("iqWW"),f=n("FMNM"),l=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,b=g?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!g&&y||"string"==typeof r&&-1===r.indexOf(b)){var i=n(e,t,this,r);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof r;v||(r=String(r));var d=u.global;if(d){var k=u.unicode;u.lastIndex=0}for(var S=[];;){var x=f(u,h);if(null===x)break;if(S.push(x),!d)break;""===String(x[0])&&(u.lastIndex=s(h,a(u.lastIndex),k))}for(var E,_="",O=0,w=0;w<S.length;w++){x=S[w];for(var T=String(x[0]),I=l(p(c(x.index),h.length),0),j=[],R=1;R<x.length;R++)j.push(void 0===(E=x[R])?E:String(E));var P=x.groups;if(v){var D=[T].concat(j,I,h);void 0!==P&&D.push(P);var M=String(r.apply(void 0,D))}else M=m(T,h,I,j,P,r);I>=O&&(_+=h.slice(O,I)+M,O=I+T.length)}return _+h.slice(O)}];function m(t,n,r,o,a,c){var u=r+t.length,s=o.length,f=d;return void 0!==a&&(a=i(a),f=v),e.call(c,f,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var l=h(f/10);return 0===l?e:l<=s?void 0===o[l-1]?i.charAt(1):o[l-1]+i.charAt(1):e}c=o[f-1]}return void 0===c?"":c}))}}))},Uydy:function(t,e,n){var r=n("I+eb"),o=n("HsHA"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},VC3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("QIpd"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},VpIT:function(t,e,n){var r=n("xDBR"),o=n("xs3f");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var r=n("0GbY"),o=n("JBy8"),i=n("dBg+"),a=n("glrk");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},"W/eh":function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("6x0u"),a=n("ewvW"),c=n("wE6v"),u=n("4WOD"),s=n("Bs8V").f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(t){var e,n=a(this),r=c(t,!0);do{if(e=s(n,r))return e.set}while(n=u(n))}})},WDsR:function(t,e,n){var r=n("I+eb"),o=n("Xol8"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},WJkJ:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(t,e,n){var r=n("HYAF"),o="["+n("WJkJ")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},WjRb:function(t,e,n){var r=n("ROdP");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},XbcX:function(t,e,n){"use strict";var r=n("I+eb"),o=n("or9q"),i=n("ewvW"),a=n("UMSQ"),c=n("HAuM"),u=n("ZfDv");r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return c(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},Xe3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("hBjN");r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},Xol8:function(t,e,n){var r=n("hh1v"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},Xv9K:function(t,e,n){n("Tskq"),n("07d7"),n("PKPk"),n("3bBZ");var r=n("Qo9l");t.exports=r.Map},YGK4:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},YNrV:function(t,e,n){"use strict";var r=n("g6v/"),o=n("0Dky"),i=n("33Wh"),a=n("dBg+"),c=n("0eef"),u=n("ewvW"),s=n("RK3t"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},ZOXb:function(t,e,n){"use strict";var r=n("0Dky"),o=n("DMt2").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},ZUd8:function(t,e,n){var r=n("ppGB"),o=n("HYAF"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},ZWaQ:function(t,e,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("A2ZE"),c=n("GarU"),u=n("ImZN"),s=n("fdAy"),f=n("JiZb"),l=n("g6v/"),p=n("8YOa").fastKey,h=n("afO8"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var f=t((function(t,r){c(t,f,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=r&&u(r,t[s],t,n)})),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),l?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(f.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(f.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),l&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,(function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(e)}}},ZfDv:function(t,e,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},Zk8X:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("sup")},{sup:function(){return o(this,"sup","","")}})},a57n:function(t,e,n){n("dG/n")("search")},a5NK:function(t,e,n){var r=n("I+eb"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},afO8:function(t,e,n){var r,o,i,a=n("f5p1"),c=n("2oRo"),u=n("hh1v"),s=n("kRJp"),f=n("UTVS"),l=n("93I0"),p=n("0BK2");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=l("state");p[y]=!0,r=function(t,e){return s(t,y,e),e},o=function(t){return f(t,y)?t[y]:{}},i=function(t){return f(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},b1O7:function(t,e,n){var r=n("g6v/"),o=n("33Wh"),i=n("/GqU"),a=n("0eef").f,c=function(t){return function(e){for(var n,c=i(e),u=o(c),s=u.length,f=0,l=[];s>f;)n=u[f++],r&&!a.call(c,n)||l.push(t?[n,c[n]]:c[n]);return l}};t.exports={entries:c(!0),values:c(!1)}},bWFh:function(t,e,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),c=n("8YOa"),u=n("ImZN"),s=n("GarU"),f=n("hh1v"),l=n("0Dky"),p=n("HH4o"),h=n("1E5z"),v=n("cVYH");t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",b=o[t],m=b&&b.prototype,k=b,S={},x=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof b||!(g||m.forEach&&!l((function(){(new b).entries().next()})))))k=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var E=new k,_=E[y](g?{}:-0,1)!=E,O=l((function(){E.has(1)})),w=p((function(t){new b(t)})),T=!g&&l((function(){for(var t=new b,e=5;e--;)t[y](e,e);return!t.has(-0)}));w||((k=e((function(e,n){s(e,k,t);var r=v(new b,e,k);return null!=n&&u(n,r[y],r,d),r}))).prototype=m,m.constructor=k),(O||T)&&(x("delete"),x("has"),d&&x("get")),(T||_)&&x(y),g&&m.clear&&delete m.clear}return S[t]=k,r({global:!0,forced:k!=b},S),h(k,t),g||n.setStrong(k,t,d),k}},brp2:function(t,e,n){n("I+eb")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},busE:function(t,e,n){var r=n("2oRo"),o=n("kRJp"),i=n("UTVS"),a=n("zk60"),c=n("iSVu"),u=n("afO8"),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),f(n).source=l.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:o(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},c9m3:function(t,e,n){n("RNIs")("flatMap")},cDke:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("BX/b").f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},cGxN:function(t,e,n){n("wLYn"),n("sMBO"),n("tW5y");var r=n("Qo9l");t.exports=r.Function},cVYH:function(t,e,n){var r=n("hh1v"),o=n("0rvr");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var r=n("Qo9l"),o=n("UTVS"),i=n("5Tg+"),a=n("m/L8").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eJiR:function(t,e,n){var r=n("I+eb"),o=n("jrUv"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},eajv:function(t,e,n){var r=n("I+eb"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},eoL8:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("m/L8").f})},ewvW:function(t,e,n){var r=n("HYAF");t.exports=function(t){return Object(r(t))}},f5p1:function(t,e,n){var r=n("2oRo"),o=n("iSVu"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},fHMY:function(t,e,n){var r,o=n("glrk"),i=n("N+g0"),a=n("eDl+"),c=n("0BK2"),u=n("G+Rx"),s=n("zBJ4"),f=n("93I0")("IE_PROTO"),l=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},fbCW:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").find,i=n("RNIs"),a=n("rkAj"),c=!0,u=a("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},fdAy:function(t,e,n){"use strict";var r=n("I+eb"),o=n("ntOU"),i=n("4WOD"),a=n("0rvr"),c=n("1E5z"),u=n("kRJp"),s=n("busE"),f=n("tiKp"),l=n("xDBR"),p=n("P4y1"),h=n("rpNk"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y=function(){return this};t.exports=function(t,e,n,f,h,b,m){o(n,e,f);var k,S,x,E=function(t){if(t===h&&I)return I;if(!d&&t in w)return w[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},_=e+" Iterator",O=!1,w=t.prototype,T=w[g]||w["@@iterator"]||h&&w[h],I=!d&&T||E(h),j="Array"==e&&w.entries||T;if(j&&(k=i(j.call(new t)),v!==Object.prototype&&k.next&&(l||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&u(k,g,y)),c(k,_,!0,!0),l&&(p[_]=y))),"values"==h&&T&&"values"!==T.name&&(O=!0,I=function(){return T.call(this)}),l&&!m||w[g]===I||u(w,g,I),p[e]=I,h)if(S={values:E("values"),keys:b?I:E("keys"),entries:E("entries")},m)for(x in S)(d||O||!(x in w))&&s(w,x,S[x]);else r({target:e,proto:!0,forced:d||O},S);return S}},fhKU:function(t,e,n){var r=n("2oRo"),o=n("WKiH").trim,i=n("WJkJ"),a=r.parseFloat,c=1/a(i+"-0")!=-1/0;t.exports=c?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},ftKg:function(t,e,n){n("brp2"),n("9LPj"),n("rMz7"),n("DQNa"),n("7+zs");var r=n("Qo9l");t.exports=r.Date},"g6v/":function(t,e,n){var r=n("0Dky");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},gOCb:function(t,e,n){n("dG/n")("replace")},gXIK:function(t,e,n){n("dG/n")("toPrimitive")},gbiT:function(t,e,n){n("dG/n")("unscopables")},gdVl:function(t,e,n){"use strict";var r=n("ewvW"),o=n("I8vh"),i=n("UMSQ");t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,s=void 0===u?n:o(u,n);s>c;)e[c++]=t;return e}},glrk:function(t,e,n){var r=n("hh1v");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},hBjN:function(t,e,n){"use strict";var r=n("wE6v"),o=n("m/L8"),i=n("XGwC");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},hByQ:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("HYAF"),a=n("Ep9I"),c=n("FMNM");r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),s=i.lastIndex;a(s,0)||(i.lastIndex=0);var f=c(i,u);return a(i.lastIndex,s)||(i.lastIndex=s),null===f?-1:f.index}]}))},hDyC:function(t,e,n){"use strict";var r=n("I+eb"),o=n("DMt2").end;r({target:"String",proto:!0,forced:n("mgyK")},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"hN/g":function(t,e,n){"use strict";n.r(e);var r=n("mrSG");n("H0pb"),n("5P7u"),n("cGxN"),n("CQOm"),n("tgv2"),n("7sbD"),n("6hpn"),n("mCUB"),n("ftKg"),n("l0aJ"),n("Kv9l"),n("Xv9K"),n("rWPW"),n("mjWP"),n("0TWp"),window.process={env:{PRODUCT:"desktop"}},window.global=Object(r.a)({},window)},hXpO:function(t,e,n){var r=n("HYAF"),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),c="<"+e;return""!==n&&(c+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),c+">"+a+"</"+e+">"}},hh1v:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},i6QF:function(t,e,n){n("I+eb")({target:"Number",stat:!0},{isInteger:n("Xol8")})},iSVu:function(t,e,n){var r=n("xs3f"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},inlA:function(t,e,n){"use strict";var r,o=n("I+eb"),i=n("Bs8V").f,a=n("UMSQ"),c=n("WjRb"),u=n("HYAF"),s=n("qxPZ"),f=n("xDBR"),l="".endsWith,p=Math.min,h=s("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||h)},{endsWith:function(t){var e=String(u(this));c(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),o=void 0===n?r:p(a(n),r),i=String(t);return l?l.call(e,i,o):e.slice(o-i.length,o)===i}})},iqWW:function(t,e,n){"use strict";var r=n("ZUd8").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},jrUv:function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},jt2F:function(t,e,n){n("dG/n")("matchAll")},kNcU:function(t,e,n){var r=n("I+eb"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},kOOl:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},kRJp:function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("XGwC");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},kSko:function(t,e,n){n("I+eb")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},kmMV:function(t,e,n){"use strict";var r,o,i=n("rW0t"),a=n("n3/R"),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(o=/b*/g,c.call(r=/a/,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var e,n,r,o,a=this,s=l&&a.sticky,h=i.call(a),v=a.source,d=0,g=t;return s&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,d++),n=new RegExp("^(?:"+v+")",h)),p&&(n=new RegExp("^"+v+"$(?!\\s)",h)),f&&(e=a.lastIndex),r=c.call(s?n:a,g),s?r?(r.input=r.input.slice(d),r[0]=r[0].slice(d),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=s},l0aJ:function(t,e,n){n("PKPk"),n("pjDv"),n("J30X"),n("Xe3L"),n("ma9I"),n("qHT+"),n("piMb"),n("yyme"),n("TeQF"),n("fbCW"),n("x0AG"),n("BIHw"),n("XbcX"),n("QWBl"),n("yq1k"),n("yXV3"),n("4mDm"),n("oVuX"),n("uqXc"),n("2B1R"),n("E9XD"),n("9N29"),n("Junv"),n("+2oP"),n("Rfxz"),n("ToJy"),n("94Xl"),n("pDQq"),n("QGkA"),n("c9m3");var r=n("Qo9l");t.exports=r.Array},l2dK:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},lEou:function(t,e,n){n("dG/n")("toStringTag")},lMq5:function(t,e,n){var r=n("0Dky"),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},"m/L8":function(t,e,n){var r=n("g6v/"),o=n("DPsx"),i=n("glrk"),a=n("wE6v"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},m92n:function(t,e,n){var r=n("glrk");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},mCUB:function(t,e,n){n("rB9j"),n("9tb/"),n("2A+d"),n("9bJ7"),n("inlA"),n("JTJg"),n("Rm1S"),n("ofBz"),n("hDyC"),n("TZCg"),n("OM9Z"),n("UxlC"),n("hByQ"),n("EnZy"),n("LKBx"),n("SYor"),n("7ueG"),n("HiXI"),n("PKPk"),n("GKVU"),n("E5NM"),n("BNMt"),n("zHFu"),n("x83w"),n("l2dK"),n("GRPF"),n("xdBZ"),n("mRH6"),n("yWo2"),n("IxXR"),n("TFPT"),n("Zk8X");var r=n("Qo9l");t.exports=r.String},mRH6:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("link")},{link:function(t){return o(this,"a","href",t)}})},ma9I:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("6LWA"),a=n("hh1v"),c=n("ewvW"),u=n("UMSQ"),s=n("hBjN"),f=n("ZfDv"),l=n("Hd5f"),p=n("tiKp"),h=n("LQDL"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?a:arguments[e])){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},mgyK:function(t,e,n){var r=n("NC/Y");t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},mjWP:function(t,e,n){n("YGK4"),n("07d7"),n("PKPk"),n("3bBZ");var r=n("Qo9l");t.exports=r.Set},mrSG:function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"h",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"f",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return f})),n.d(e,"j",(function(){return l})),n.d(e,"g",(function(){return p})),n.d(e,"i",(function(){return h}));var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function c(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function s(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(e){i(e)}}function c(t){try{u(r.throw(t))}catch(e){i(e)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,c)}u((r=r.apply(t,e||[])).next())}))}function f(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(c){i=[6,c],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function l(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(c){o={error:c}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function h(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}},"n/mU":function(t,e,n){var r=n("I+eb"),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},"n3/R":function(t,e,n){"use strict";var r=n("0Dky");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},ntOU:function(t,e,n){"use strict";var r=n("rpNk").IteratorPrototype,o=n("fHMY"),i=n("XGwC"),a=n("1E5z"),c=n("P4y1"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},oVuX:function(t,e,n){"use strict";var r=n("I+eb"),o=n("RK3t"),i=n("/GqU"),a=n("pkCn"),c=[].join,u=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},ofBz:function(t,e,n){"use strict";var r=n("I+eb"),o=n("ntOU"),i=n("HYAF"),a=n("UMSQ"),c=n("HAuM"),u=n("glrk"),s=n("xrYK"),f=n("ROdP"),l=n("rW0t"),p=n("kRJp"),h=n("0Dky"),v=n("tiKp"),d=n("SEBh"),g=n("iqWW"),y=n("afO8"),b=n("xDBR"),m=v("matchAll"),k=y.set,S=y.getterFor("RegExp String Iterator"),x=RegExp.prototype,E=x.exec,_="".matchAll,O=!!_&&!h((function(){"a".matchAll(/./)})),w=o((function(t,e,n,r){k(this,{type:"RegExp String Iterator",regexp:t,string:e,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var t=S(this);if(t.done)return{value:void 0,done:!0};var e=t.regexp,n=t.string,r=function(t,e){var n,r=t.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(t,e)))throw TypeError("Incorrect exec result");return n}return E.call(t,e)}(e,n);return null===r?{value:void 0,done:t.done=!0}:t.global?(""==String(r[0])&&(e.lastIndex=g(n,a(e.lastIndex),t.unicode)),{value:r,done:!1}):(t.done=!0,{value:r,done:!1})})),T=function(t){var e,n,r,o,i,c,s=u(this),f=String(t);return e=d(s,RegExp),void 0===(n=s.flags)&&s instanceof RegExp&&!("flags"in x)&&(n=l.call(s)),r=void 0===n?"":String(n),o=new e(e===RegExp?s.source:s,r),i=!!~r.indexOf("g"),c=!!~r.indexOf("u"),o.lastIndex=a(s.lastIndex),new w(o,f,i,c)};r({target:"String",proto:!0,forced:O},{matchAll:function(t){var e,n,r,o=i(this);if(null!=t){if(f(t)&&!~String(i("flags"in x?t.flags:l.call(t))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(O)return _.apply(o,arguments);if(void 0===(n=t[m])&&b&&"RegExp"==s(t)&&(n=T),null!=n)return c(n).call(t,o)}else if(O)return _.apply(o,arguments);return e=String(o),r=new RegExp(t,"g"),b?T.call(r,e):r[m](e)}}),b||m in x||p(x,m,T)},or9q:function(t,e,n){"use strict";var r=n("6LWA"),o=n("UMSQ"),i=n("A2ZE"),a=function(t,e,n,c,u,s,f,l){for(var p,h=u,v=0,d=!!f&&i(f,l,3);v<c;){if(v in n){if(p=d?d(n[v],v,e):n[v],s>0&&r(p))h=a(t,e,p,o(p.length),h,s-1)-1;else{if(h>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[h]=p}h++}v++}return h};t.exports=a},pDQq:function(t,e,n){"use strict";var r=n("I+eb"),o=n("I8vh"),i=n("ppGB"),a=n("UMSQ"),c=n("ewvW"),u=n("ZfDv"),s=n("hBjN"),f=n("Hd5f"),l=n("rkAj"),p=f("splice"),h=l("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,d=Math.min;r({target:"Array",proto:!0,forced:!p||!h},{splice:function(t,e){var n,r,f,l,p,h,g=c(this),y=a(g.length),b=o(t,y),m=arguments.length;if(0===m?n=r=0:1===m?(n=0,r=y-b):(n=m-2,r=d(v(i(e),0),y-b)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=u(g,r),l=0;l<r;l++)(p=b+l)in g&&s(f,l,g[p]);if(f.length=r,n<r){for(l=b;l<y-r;l++)h=l+n,(p=l+r)in g?g[h]=g[p]:delete g[h];for(l=y;l>y-r+n;l--)delete g[l-1]}else if(n>r)for(l=y-r;l>b;l--)h=l+n-1,(p=l+r-1)in g?g[h]=g[p]:delete g[h];for(l=0;l<n;l++)g[l+b]=arguments[l+2];return g.length=y-r+n,f}})},pNMO:function(t,e,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("0GbY"),a=n("xDBR"),c=n("g6v/"),u=n("STAE"),s=n("/b8u"),f=n("0Dky"),l=n("UTVS"),p=n("6LWA"),h=n("hh1v"),v=n("glrk"),d=n("ewvW"),g=n("/GqU"),y=n("wE6v"),b=n("XGwC"),m=n("fHMY"),k=n("33Wh"),S=n("JBy8"),x=n("BX/b"),E=n("dBg+"),_=n("Bs8V"),O=n("m/L8"),w=n("0eef"),T=n("kRJp"),I=n("busE"),j=n("VpIT"),R=n("93I0"),P=n("0BK2"),D=n("kOOl"),M=n("tiKp"),A=n("5Tg+"),N=n("dG/n"),C=n("1E5z"),Z=n("afO8"),L=n("tycR").forEach,W=R("hidden"),F=M("toPrimitive"),z=Z.set,U=Z.getterFor("Symbol"),B=Object.prototype,G=o.Symbol,H=i("JSON","stringify"),K=_.f,V=O.f,X=x.f,Y=w.f,q=j("symbols"),Q=j("op-symbols"),J=j("string-to-symbol-registry"),$=j("symbol-to-string-registry"),tt=j("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=c&&f((function(){return 7!=m(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=K(B,e);r&&delete B[e],V(t,e,n),r&&t!==B&&V(B,e,r)}:V,ot=function(t,e){var n=q[t]=m(G.prototype);return z(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof G},at=function(t,e,n){t===B&&at(Q,e,n),v(t);var r=y(e,!0);return v(n),l(q,r)?(n.enumerable?(l(t,W)&&t[W][r]&&(t[W][r]=!1),n=m(n,{enumerable:b(0,!1)})):(l(t,W)||V(t,W,b(1,{})),t[W][r]=!0),rt(t,r,n)):V(t,r,n)},ct=function(t,e){v(t);var n=g(e),r=k(n).concat(lt(n));return L(r,(function(e){c&&!ut.call(n,e)||at(t,e,n[e])})),t},ut=function(t){var e=y(t,!0),n=Y.call(this,e);return!(this===B&&l(q,e)&&!l(Q,e))&&(!(n||!l(this,e)||!l(q,e)||l(this,W)&&this[W][e])||n)},st=function(t,e){var n=g(t),r=y(e,!0);if(n!==B||!l(q,r)||l(Q,r)){var o=K(n,r);return!o||!l(q,r)||l(n,W)&&n[W][r]||(o.enumerable=!0),o}},ft=function(t){var e=X(g(t)),n=[];return L(e,(function(t){l(q,t)||l(P,t)||n.push(t)})),n},lt=function(t){var e=t===B,n=X(e?Q:g(t)),r=[];return L(n,(function(t){!l(q,t)||e&&!l(B,t)||r.push(q[t])})),r};u||(I((G=function(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=D(t),n=function(t){this===B&&n.call(Q,t),l(this,W)&&l(this[W],e)&&(this[W][e]=!1),rt(this,e,b(1,t))};return c&&nt&&rt(B,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",(function(){return U(this).tag})),I(G,"withoutSetter",(function(t){return ot(D(t),t)})),w.f=ut,O.f=at,_.f=st,S.f=x.f=ft,E.f=lt,A.f=function(t){return ot(M(t),t)},c&&(V(G.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||I(B,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),L(k(tt),(function(t){N(t)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(J,e))return J[e];var n=G(e);return J[e]=n,$[n]=e,n},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l($,t))return $[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:at,defineProperties:ct,getOwnPropertyDescriptor:st}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:f((function(){E.f(1)}))},{getOwnPropertySymbols:function(t){return E.f(d(t))}}),H&&r({target:"JSON",stat:!0,forced:!u||f((function(){var t=G();return"[null]"!=H([t])||"{}"!=H({a:t})||"{}"!=H(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(h(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!it(e))return e}),o[1]=e,H.apply(null,o)}}),G.prototype[F]||T(G.prototype,F,G.prototype.valueOf),C(G,"Symbol"),P[W]=!0},piMb:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").every,i=n("pkCn"),a=n("rkAj"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},pjDv:function(t,e,n){var r=n("I+eb"),o=n("TfTi");r({target:"Array",stat:!0,forced:!n("HH4o")((function(t){Array.from(t)}))},{from:o})},pkCn:function(t,e,n){"use strict";var r=n("0Dky");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},ppGB:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"qHT+":function(t,e,n){var r=n("I+eb"),o=n("FF6l"),i=n("RNIs");r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},qePV:function(t,e,n){"use strict";var r=n("g6v/"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),c=n("UTVS"),u=n("xrYK"),s=n("cVYH"),f=n("wE6v"),l=n("0Dky"),p=n("fHMY"),h=n("JBy8").f,v=n("Bs8V").f,d=n("m/L8").f,g=n("WKiH").trim,y=o.Number,b=y.prototype,m="Number"==u(p(b)),k=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var S,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(m?l((function(){b.valueOf.call(n)})):"Number"!=u(n))?s(new y(k(e)),n,x):k(e)},E=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;E.length>_;_++)c(y,S=E[_])&&!c(x,S)&&d(x,S,v(y,S));x.prototype=b,b.constructor=x,a(o,"Number",x)}},qxPZ:function(t,e,n){var r=n("tiKp")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"r/Vq":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},r5Og:function(t,e,n){var r=n("I+eb"),o=n("hh1v"),i=n("8YOa").onFreeze,a=n("uy83"),c=n("0Dky"),u=Object.seal;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},rB9j:function(t,e,n){"use strict";var r=n("I+eb"),o=n("kmMV");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},rKzb:function(t,e,n){"use strict";var r=n("4syw"),o=n("8YOa").getWeakData,i=n("glrk"),a=n("hh1v"),c=n("GarU"),u=n("ImZN"),s=n("tycR"),f=n("UTVS"),l=n("afO8"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new b)},b=function(){this.entries=[]},m=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};b.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t((function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],t,n)})),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},rMz7:function(t,e,n){var r=n("I+eb"),o=n("ZOXb");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},rNhl:function(t,e,n){var r=n("I+eb"),o=n("fhKU");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},rW0t:function(t,e,n){"use strict";var r=n("glrk");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},rWPW:function(t,e,n){n("07d7"),n("ENF9"),n("3bBZ");var r=n("Qo9l");t.exports=r.WeakMap},rkAj:function(t,e,n){var r=n("g6v/"),o=n("0Dky"),i=n("UTVS"),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(i(c,t))return c[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,f=i(e,0)?e[0]:u,l=i(e,1)?e[1]:void 0;return c[t]=!!n&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,f,l)}))}},rpNk:function(t,e,n){"use strict";var r,o,i,a=n("4WOD"),c=n("kRJp"),u=n("UTVS"),s=n("tiKp"),f=n("xDBR"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},rwPt:function(t,e,n){var r=n("0Dky");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},sEFX:function(t,e,n){"use strict";var r=n("AO7/"),o=n("9d/t");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},sMBO:function(t,e,n){var r=n("g6v/"),o=n("m/L8").f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(t){return""}}})},tW5y:function(t,e,n){"use strict";var r=n("hh1v"),o=n("m/L8"),i=n("4WOD"),a=n("tiKp")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},tgv2:function(t,e,n){n("rNhl");var r=n("Qo9l");t.exports=r.parseFloat},tiKp:function(t,e,n){var r=n("2oRo"),o=n("VpIT"),i=n("UTVS"),a=n("kOOl"),c=n("STAE"),u=n("/b8u"),s=o("wks"),f=r.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)||(s[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),s[t]}},tjZM:function(t,e,n){n("dG/n")("asyncIterator")},tkto:function(t,e,n){var r=n("I+eb"),o=n("ewvW"),i=n("33Wh");r({target:"Object",stat:!0,forced:n("0Dky")((function(){i(1)}))},{keys:function(t){return i(o(t))}})},"tl/u":function(t,e,n){var r=n("I+eb"),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},toAj:function(t,e,n){"use strict";var r=n("I+eb"),o=n("ppGB"),i=n("QIpd"),a=n("EUja"),c=n("0Dky"),u=1..toFixed,s=Math.floor,f=function(t,e,n){return 0===e?n:e%2==1?f(t,e-1,n*t):f(t*t,e/2,n)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){u.call({})}))},{toFixed:function(t){var e,n,r,c,u=i(this),l=o(t),p=[0,0,0,0,0,0],h="",v="0",d=function(t,e){for(var n=-1,r=e;++n<6;)p[n]=(r+=t*p[n])%1e7,r=s(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<<r),d(1,1),g(2),v=y()}else d(0,n),d(1<<-e,0),v=y()+a.call("0",l);return l>0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},tycR:function(t,e,n){var r=n("A2ZE"),o=n("RK3t"),i=n("ewvW"),a=n("UMSQ"),c=n("ZfDv"),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(h,v,d,g){for(var y,b,m=i(h),k=o(m),S=r(v,d,3),x=a(k.length),E=0,_=g||c,O=e?_(h,x):n?_(h,0):void 0;x>E;E++)if((p||E in k)&&(b=S(y=k[E],E,m),t))if(e)O[E]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return E;case 2:u.call(O,y)}else if(f)return!1;return l?-1:s||f?f:O}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},uL8W:function(t,e,n){n("I+eb")({target:"Object",stat:!0,sham:!n("g6v/")},{create:n("fHMY")})},uqXc:function(t,e,n){var r=n("I+eb"),o=n("5Yz+");r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},uy83:function(t,e,n){var r=n("0Dky");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},v5b1:function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("6x0u"),a=n("ewvW"),c=n("wE6v"),u=n("4WOD"),s=n("Bs8V").f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(t){var e,n=a(this),r=c(t,!0);do{if(e=s(n,r))return e.get}while(n=u(n))}})},vAFs:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},vo4V:function(t,e,n){var r=n("90hW"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return i<s?f*(i/s/c+1/a-1/a)*s*c:(n=(e=(1+c/a)*i)-(e-i))>u||n!=n?f*(1/0):f*n}},w1rZ:function(t,e,n){var r=n("I+eb"),o=n("fhKU");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},wE6v:function(t,e,n){var r=n("hh1v");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},wLYn:function(t,e,n){n("I+eb")({target:"Function",proto:!0},{bind:n("BTho")})},wfmh:function(t,e,n){var r=n("I+eb"),o=n("ImZN"),i=n("hBjN");r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,(function(t,n){i(e,t,n)}),void 0,!0),e}})},wg0c:function(t,e,n){var r=n("2oRo"),o=n("WKiH").trim,i=n("WJkJ"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},x0AG:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").findIndex,i=n("RNIs"),a=n("rkAj"),c=!0,u=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},x83w:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fixed")},{fixed:function(){return o(this,"tt","","")}})},xDBR:function(t,e){t.exports=!1},xdBZ:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("italics")},{italics:function(){return o(this,"i","","")}})},xrYK:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},xs3f:function(t,e,n){var r=n("2oRo"),o=n("zk60"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},yNLB:function(t,e,n){var r=n("0Dky"),o=n("WJkJ");t.exports=function(t){return r((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},yQYn:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},yWo2:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("small")},{small:function(){return o(this,"small","","")}})},yXV3:function(t,e,n){"use strict";var r=n("I+eb"),o=n("TWQb").indexOf,i=n("pkCn"),a=n("rkAj"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},yiG3:function(t,e,n){n("I+eb")({target:"Math",stat:!0},{log1p:n("HsHA")})},yoRg:function(t,e,n){var r=n("UTVS"),o=n("/GqU"),i=n("TWQb").indexOf,a=n("0BK2");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},yq1k:function(t,e,n){"use strict";var r=n("I+eb"),o=n("TWQb").includes,i=n("RNIs");r({target:"Array",proto:!0,forced:!n("rkAj")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},yyme:function(t,e,n){var r=n("I+eb"),o=n("gdVl"),i=n("RNIs");r({target:"Array",proto:!0},{fill:o}),i("fill")},zBJ4:function(t,e,n){var r=n("2oRo"),o=n("hh1v"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},zHFu:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("bold")},{bold:function(){return o(this,"b","","")}})},zKZe:function(t,e,n){var r=n("I+eb"),o=n("YNrV");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},zk60:function(t,e,n){var r=n("2oRo"),o=n("kRJp");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},zuhW:function(t,e,n){var r=n("I+eb"),o=n("hh1v"),i=n("8YOa").onFreeze,a=n("uy83"),c=n("0Dky"),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})}},[[2,0]]]);;
if(function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){var n=[],i=n.slice,r=n.concat,o=n.push,a=n.indexOf,s={},l=s.toString,c=s.hasOwnProperty,u={},d=e.document,p="2.1.4",h=function(e,t){return new h.fn.init(e,t)},f=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,g=/^-ms-/,m=/-([\da-z])/gi,v=function(e,t){return t.toUpperCase()};function b(e){var t="length"in e&&e.length,n=h.type(e);return"function"!==n&&!h.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}h.fn=h.prototype={jquery:p,constructor:h,selector:"",length:0,toArray:function(){return i.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:i.call(this)},pushStack:function(e){var t=h.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return h.each(this,e,t)},map:function(e){return this.pushStack(h.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:o,sort:n.sort,splice:n.splice},h.extend=h.fn.extend=function(){var e,t,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||h.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(i=e[t])&&(c&&i&&(h.isPlainObject(i)||(r=h.isArray(i)))?(r?(r=!1,o=n&&h.isArray(n)?n:[]):o=n&&h.isPlainObject(n)?n:{},a[t]=h.extend(c,o,i)):void 0!==i&&(a[t]=i));return a},h.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===h.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!h.isArray(e)&&e-parseFloat(e)+1>=0},isPlainObject:function(e){return!("object"!==h.type(e)||e.nodeType||h.isWindow(e)||e.constructor&&!c.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s[l.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=h.trim(e))&&(1===e.indexOf("use strict")?((t=d.createElement("script")).text=e,d.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(g,"ms-").replace(m,v)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var i=0,r=e.length,o=b(e);if(n){if(o)for(;r>i&&!1!==t.apply(e[i],n);i++);else for(i in e)if(!1===t.apply(e[i],n))break}else if(o)for(;r>i&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},trim:function(e){return null==e?"":(e+"").replace(f,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(b(Object(e))?h.merge(n,"string"==typeof e?[e]:e):o.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;n>i;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,a=!n;o>r;r++)!t(e[r],r)!==a&&i.push(e[r]);return i},map:function(e,t,n){var i,o=0,a=e.length,s=[];if(b(e))for(;a>o;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return r.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;return"string"==typeof t&&(n=e[t],t=e,e=n),h.isFunction(e)?(r=i.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(i.call(arguments)))}).guid=e.guid=e.guid||h.guid++,o):void 0},now:Date.now,support:u}),h.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){s["[object "+t+"]"]=t.toLowerCase()}));var y=function(e){var t,n,i,r,o,a,s,l,c,u,d,p,h,f,g,m,v,b,y,M="sizzle"+1*new Date,w=e.document,C=0,A=0,x=ae(),S=ae(),z=ae(),T=function(e,t){return e===t&&(d=!0),0},k={}.hasOwnProperty,$=[],_=$.pop,O=$.push,E=$.push,L=$.slice,N=function(e,t){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",q="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=q.replace("w","w#"),R="\\["+P+"*("+q+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+W+"))|)"+P+"*\\]",I=":("+q+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(P+"+","g"),F=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),H=new RegExp("^"+P+"*,"+P+"*"),X=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),j=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),V=new RegExp(I),U=new RegExp("^"+W+"$"),G={ID:new RegExp("^#("+q+")"),CLASS:new RegExp("^\\.("+q+")"),TAG:new RegExp("^("+q.replace("w","w*")+")"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),ne=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},re=function(){p()};try{E.apply($=L.call(w.childNodes),w.childNodes)}catch(ie){E={apply:$.length?function(e,t){O.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function oe(e,t,i,r){var o,s,c,u,d,f,v,b,C,A;if((t?t.ownerDocument||t:w)!==h&&p(t),i=i||[],u=(t=t||h).nodeType,"string"!=typeof e||!e||1!==u&&9!==u&&11!==u)return i;if(!r&&g){if(11!==u&&(o=J.exec(e)))if(c=o[1]){if(9===u){if(!(s=t.getElementById(c))||!s.parentNode)return i;if(s.id===c)return i.push(s),i}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(c))&&y(t,s)&&s.id===c)return i.push(s),i}else{if(o[2])return E.apply(i,t.getElementsByTagName(e)),i;if((c=o[3])&&n.getElementsByClassName)return E.apply(i,t.getElementsByClassName(c)),i}if(n.qsa&&(!m||!m.test(e))){if(b=v=M,C=t,A=1!==u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){for(f=a(e),(v=t.getAttribute("id"))?b=v.replace(ee,"\\$&"):t.setAttribute("id",b),b="[id='"+b+"'] ",d=f.length;d--;)f[d]=b+me(f[d]);C=Z.test(e)&&fe(t.parentNode)||t,A=f.join(",")}if(A)try{return E.apply(i,C.querySelectorAll(A)),i}catch(x){}finally{v||t.removeAttribute("id")}}}return l(e.replace(F,"$1"),t,i,r)}function ae(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function se(e){return e[M]=!0,e}function le(e){var t=h.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),r=e.length;r--;)i.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return se((function(t){return t=+t,se((function(n,i){for(var r,o=e([],n.length,t),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))}))}))}function fe(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:w;return a!==h&&9===a.nodeType&&a.documentElement?(h=a,f=a.documentElement,(r=a.defaultView)&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",re,!1):r.attachEvent&&r.attachEvent("onunload",re)),g=!o(a),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(a.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(a.getElementsByClassName),n.getById=le((function(e){return f.appendChild(e).id=M,!a.getElementsByName||!a.getElementsByName(M).length})),n.getById?(i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),i.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,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){return g?t.getElementsByClassName(e):void 0},v=[],m=[],(n.qsa=Q.test(a.querySelectorAll))&&(le((function(e){f.appendChild(e).innerHTML="<a id='"+M+"'></a><select id='"+M+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+P+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+M+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+M+"+*").length||m.push(".#.+[+~]")})),le((function(e){var t=a.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+P+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Q.test(b=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&le((function(e){n.disconnectedMatch=b.call(e,"div"),b.call(e,"[s!='']:x"),v.push("!=",I)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(f.compareDocumentPosition),y=t||Q.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e===a||e.ownerDocument===w&&y(w,e)?-1:t===a||t.ownerDocument===w&&y(w,t)?1:u?N(u,e)-N(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],l=[t];if(!r||!o)return e===a?-1:t===a?1:r?-1:o?1:u?N(u,e)-N(u,t):0;if(r===o)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?ue(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},a):h},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&p(e),t=t.replace(j,"='$1']"),!(!n.matchesSelector||!g||v&&v.test(t)||m&&m.test(t)))try{var i=b.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(r){}return oe(t,h,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==h&&p(e),y(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==h&&p(e);var r=i.attrHandle[t.toLowerCase()],o=r&&k.call(i.attrHandle,t.toLowerCase())?r(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return u=null,e},r=oe.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=oe.selectors={cacheLength:50,createPseudo:se,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||oe.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]&&oe.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&&V.test(n)&&(t=a(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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&x(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(i){var r=oe.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,h,f,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?m.firstChild:m.lastChild],a&&b){for(p=(c=(u=m[M]||(m[M]={}))[e]||[])[0]===C&&c[2],d=(h=c[0]===C&&c[1])&&m.childNodes[h];d=++h&&d&&d[g]||(p=h=0)||f.pop();)if(1===d.nodeType&&++p&&d===t){u[e]=[C,h,p];break}}else if(b&&(c=(t[M]||(t[M]={}))[e])&&c[0]===C)p=c[1];else for(;(d=++h&&d&&d[g]||(p=h=0)||f.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++p||(b&&((d[M]||(d[M]={}))[e]=[C,p]),d!==t)););return(p-=r)===i||p%i==0&&p/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return r[M]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?se((function(e,n){for(var i,o=r(e,t),a=o.length;a--;)e[i=N(e,o[a])]=!(n[i]=o[a])})):function(e){return r(e,0,n)}):r}},pseudos:{not:se((function(e){var t=[],n=[],i=s(e.replace(F,"$1"));return i[M]?se((function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:se((function(e){return function(t){return oe(e,t).length>0}})),contains:se((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||t.innerText||r(t)).indexOf(e)>-1}})),lang:se((function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?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===f},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!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!i.pseudos.empty(e)},header:function(e){return K.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:he((function(){return[0]})),last:he((function(e,t){return[t-1]})),eq:he((function(e,t,n){return[0>n?n+t:n]})),even:he((function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e})),odd:he((function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e})),lt:he((function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e})),gt:he((function(e,t,n){for(var i=0>n?n+t:n;++i<t;)e.push(i);return e}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=pe(t);function ge(){}function me(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function ve(e,t,n){var i=t.dir,r=n&&"parentNode"===i,o=A++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,o)}:function(t,n,a){var s,l,c=[C,o];if(a){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,a))return!0}else for(;t=t[i];)if(1===t.nodeType||r){if((s=(l=t[M]||(t[M]={}))[i])&&s[0]===C&&s[1]===o)return c[2]=s[2];if(l[i]=c,c[2]=e(t,n,a))return!0}}}function be(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function ye(e,t,n,i,r){for(var o,a=[],s=0,l=e.length,c=null!=t;l>s;s++)(o=e[s])&&(!n||n(o,i,r))&&(a.push(o),c&&t.push(s));return a}function Me(e,t,n,i,r,o){return i&&!i[M]&&(i=Me(i)),r&&!r[M]&&(r=Me(r,o)),se((function(o,a,s,l){var c,u,d,p=[],h=[],f=a.length,g=o||function(e,t,n){for(var i=0,r=t.length;r>i;i++)oe(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:ye(g,p,e,s,l),v=n?r||(o?e:f||i)?[]:a:m;if(n&&n(m,v,s,l),i)for(c=ye(v,h),i(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[h[u]]=!(m[h[u]]=d));if(o){if(r||e){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(m[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=r?N(o,d):p[u])>-1&&(o[c]=!(a[c]=d))}}else v=ye(v===a?v.splice(f,v.length):v),r?r(null,a,v,l):E.apply(a,v)}))}function we(e){for(var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,u=ve((function(e){return e===t}),s,!0),d=ve((function(e){return N(t,e)>-1}),s,!0),p=[function(e,n,i){var r=!a&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,r}];o>l;l++)if(n=i.relative[e[l].type])p=[ve(be(p),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[M]){for(r=++l;o>r&&!i.relative[e[r].type];r++);return Me(l>1&&be(p),l>1&&me(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(F,"$1"),n,r>l&&we(e.slice(l,r)),o>r&&we(e=e.slice(r)),o>r&&me(e))}p.push(n)}return be(p)}function Ce(e,t){var n=t.length>0,r=e.length>0,o=function(o,a,s,l,u){var d,p,f,g=0,m="0",v=o&&[],b=[],y=c,M=o||r&&i.find.TAG("*",u),w=C+=null==y?1:Math.random()||.1,A=M.length;for(u&&(c=a!==h&&a);m!==A&&null!=(d=M[m]);m++){if(r&&d){for(p=0;f=e[p++];)if(f(d,a,s)){l.push(d);break}u&&(C=w)}n&&((d=!f&&d)&&g--,o&&v.push(d))}if(g+=m,n&&m!==g){for(p=0;f=t[p++];)f(v,b,a,s);if(o){if(g>0)for(;m--;)v[m]||b[m]||(b[m]=_.call(l));b=ye(b)}E.apply(l,b),u&&!o&&b.length>0&&g+t.length>1&&oe.uniqueSort(l)}return u&&(C=w,c=y),v};return n?se(o):o}return ge.prototype=i.filters=i.pseudos,i.setFilters=new ge,a=oe.tokenize=function(e,t){var n,r,o,a,s,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=i.preFilter;s;){for(a in(!n||(r=H.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=X.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(F," ")}),s=s.slice(n.length)),i.filter)!(r=G[a].exec(s))||c[a]&&!(r=c[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):S(e,l).slice(0)},s=oe.compile=function(e,t){var n,i=[],r=[],o=z[e+" "];if(!o){for(t||(t=a(e)),n=t.length;n--;)(o=we(t[n]))[M]?i.push(o):r.push(o);(o=z(e,Ce(r,i))).selector=e}return o},l=oe.select=function(e,t,r,o){var l,c,u,d,p,h="function"==typeof e&&e,f=!o&&a(e=h.selector||e);if(r=r||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&n.getById&&9===t.nodeType&&g&&i.relative[c[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return r;h&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(l=G.needsContext.test(e)?0:c.length;l--&&!i.relative[d=(u=c[l]).type];)if((p=i.find[d])&&(o=p(u.matches[0].replace(te,ne),Z.test(c[0].type)&&fe(t.parentNode)||t))){if(c.splice(l,1),!(e=o.length&&me(c)))return E.apply(r,o),r;break}}return(h||s(e,f))(o,t,!g,r,Z.test(e)&&fe(t.parentNode)||t),r},n.sortStable=M.split("").sort(T).join("")===M,n.detectDuplicates=!!d,p(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(h.createElement("div"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ce("type|href|height|width",(function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ce("value",(function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||ce(D,(function(e,t,n){var i;return n?void 0:!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),oe}(e);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var M=h.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,C=/^.[^:#\[\.,]*$/;function A(e,t,n){if(h.isFunction(t))return h.grep(e,(function(e,i){return!!t.call(e,i,e)!==n}));if(t.nodeType)return h.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(C.test(t))return h.filter(t,e,n);t=h.filter(t,e)}return h.grep(e,(function(e){return a.call(t,e)>=0!==n}))}h.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?h.find.matchesSelector(i,e)?[i]:[]:h.find.matches(e,h.grep(t,(function(e){return 1===e.nodeType})))},h.fn.extend({find:function(e){var t,n=this.length,i=[],r=this;if("string"!=typeof e)return this.pushStack(h(e).filter((function(){for(t=0;n>t;t++)if(h.contains(r[t],this))return!0})));for(t=0;n>t;t++)h.find(e,r[t],i);return(i=this.pushStack(n>1?h.unique(i):i)).selector=this.selector?this.selector+" "+e:e,i},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&M.test(e)?h(e):e||[],!1).length}});var x,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(h.fn.init=function(e,t){var n,i;if(!e)return this;if("string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:S.exec(e))||!n[1]&&t)return!t||t.jquery?(t||x).find(e):this.constructor(t).find(e);if(n[1]){if(h.merge(this,h.parseHTML(n[1],(t=t instanceof h?t[0]:t)&&t.nodeType?t.ownerDocument||t:d,!0)),w.test(n[1])&&h.isPlainObject(t))for(n in t)h.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=d.getElementById(n[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=d,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):h.isFunction(e)?void 0!==x.ready?x.ready(e):e(h):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this))}).prototype=h.fn,x=h(d);var z=/^(?:parents|prev(?:Until|All))/,T={children:!0,contents:!0,next:!0,prev:!0};function k(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}h.extend({dir:function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&h(e).is(n))break;i.push(e)}return i},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),h.fn.extend({has:function(e){var t=h(e,this),n=t.length;return this.filter((function(){for(var e=0;n>e;e++)if(h.contains(this,t[e]))return!0}))},closest:function(e,t){for(var n,i=0,r=this.length,o=[],a=M.test(e)||"string"!=typeof e?h(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&h.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?h.unique(o):o)},index:function(e){return e?"string"==typeof e?a.call(h(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(h.unique(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),h.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h.dir(e,"parentNode")},parentsUntil:function(e,t,n){return h.dir(e,"parentNode",n)},next:function(e){return k(e,"nextSibling")},prev:function(e){return k(e,"previousSibling")},nextAll:function(e){return h.dir(e,"nextSibling")},prevAll:function(e){return h.dir(e,"previousSibling")},nextUntil:function(e,t,n){return h.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return h.dir(e,"previousSibling",n)},siblings:function(e){return h.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return h.sibling(e.firstChild)},contents:function(e){return e.contentDocument||h.merge([],e.childNodes)}},(function(e,t){h.fn[e]=function(n,i){var r=h.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=h.filter(i,r)),this.length>1&&(T[e]||h.unique(r),z.test(e)&&r.reverse()),this.pushStack(r)}}));var $,_=/\S+/g,O={};function E(){d.removeEventListener("DOMContentLoaded",E,!1),e.removeEventListener("load",E,!1),h.ready()}h.Callbacks=function(e){e="string"==typeof e?O[e]||function(e){var t=O[e]={};return h.each(e.match(_)||[],(function(e,n){t[n]=!0})),t}(e):h.extend({},e);var t,n,i,r,o,a,s=[],l=!e.once&&[],c=function(d){for(t=e.memory&&d,n=!0,a=r||0,r=0,o=s.length,i=!0;s&&o>a;a++)if(!1===s[a].apply(d[0],d[1])&&e.stopOnFalse){t=!1;break}i=!1,s&&(l?l.length&&c(l.shift()):t?s=[]:u.disable())},u={add:function(){if(s){var n=s.length;!function t(n){h.each(n,(function(n,i){var r=h.type(i);"function"===r?e.unique&&u.has(i)||s.push(i):i&&i.length&&"string"!==r&&t(i)}))}(arguments),i?o=s.length:t&&(r=n,c(t))}return this},remove:function(){return s&&h.each(arguments,(function(e,t){for(var n;(n=h.inArray(t,s,n))>-1;)s.splice(n,1),i&&(o>=n&&o--,a>=n&&a--)})),this},has:function(e){return e?h.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],o=0,this},disable:function(){return s=l=t=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,t||u.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!s||n&&!l||(t=[e,(t=t||[]).slice?t.slice():t],i?l.push(t):c(t)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return h.Deferred((function(n){h.each(t,(function(t,o){var a=h.isFunction(e[t])&&e[t];r[o[1]]((function(){var e=a&&a.apply(this,arguments);e&&h.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,a?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?h.extend(e,i):i}},r={};return i.pipe=i.then,h.each(t,(function(e,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add((function(){n=s}),t[1^e][2].disable,t[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith})),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,r,o=0,a=i.call(arguments),s=a.length,l=1!==s||e&&h.isFunction(e.promise)?s:0,c=1===l?e:h.Deferred(),u=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?i.call(arguments):o,r===t?c.notifyWith(n,r):--l||c.resolveWith(n,r)}};if(s>1)for(t=new Array(s),n=new Array(s),r=new Array(s);s>o;o++)a[o]&&h.isFunction(a[o].promise)?a[o].promise().done(u(o,r,a)).fail(c.reject).progress(u(o,n,t)):--l;return l||c.resolveWith(r,a),c.promise()}}),h.fn.ready=function(e){return h.ready.promise().done(e),this},h.extend({isReady:!1,readyWait:1,holdReady:function(e){e?h.readyWait++:h.ready(!0)},ready:function(e){(!0===e?--h.readyWait:h.isReady)||(h.isReady=!0,!0!==e&&--h.readyWait>0||($.resolveWith(d,[h]),h.fn.triggerHandler&&(h(d).triggerHandler("ready"),h(d).off("ready"))))}}),h.ready.promise=function(t){return $||($=h.Deferred(),"complete"===d.readyState?setTimeout(h.ready):(d.addEventListener("DOMContentLoaded",E,!1),e.addEventListener("load",E,!1))),$.promise(t)},h.ready.promise();var L=h.access=function(e,t,n,i,r,o,a){var s=0,l=e.length,c=null==n;if("object"===h.type(n))for(s in r=!0,n)h.access(e,t,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,h.isFunction(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(h(e),n)})),t))for(;l>s;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return r?e:c?t.call(e):l?t(e[0],n):o};function N(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=h.expando+N.uid++}h.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},N.uid=1,N.accepts=h.acceptData,N.prototype={key:function(e){if(!N.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=N.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(i){t[this.expando]=n,h.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var i,r=this.key(e),o=this.cache[r];if("string"==typeof t)o[t]=n;else if(h.isEmptyObject(o))h.extend(this.cache[r],t);else for(i in t)o[i]=t[i];return o},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var i;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(i=this.get(e,t))?i:this.get(e,h.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i,r,o=this.key(e),a=this.cache[o];if(void 0===t)this.cache[o]={};else{h.isArray(t)?i=t.concat(t.map(h.camelCase)):(r=h.camelCase(t),i=t in a?[t,r]:(i=r)in a?[i]:i.match(_)||[]),n=i.length;for(;n--;)delete a[i[n]]}},hasData:function(e){return!h.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var D=new N,P=new N,q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,W=/([A-Z])/g;function R(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(W,"-$1").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:q.test(n)?h.parseJSON(n):n)}catch(r){}P.set(e,t,n)}else n=void 0;return n}h.extend({hasData:function(e){return P.hasData(e)||D.hasData(e)},data:function(e,t,n){return P.access(e,t,n)},removeData:function(e,t){P.remove(e,t)},_data:function(e,t,n){return D.access(e,t,n)},_removeData:function(e,t){D.remove(e,t)}}),h.fn.extend({data:function(e,t){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(r=P.get(o),1===o.nodeType&&!D.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=h.camelCase(i.slice(5)),R(o,i,r[i]));D.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){P.set(this,e)})):L(this,(function(t){var n,i=h.camelCase(e);if(o&&void 0===t){if(void 0!==(n=P.get(o,e)))return n;if(void 0!==(n=P.get(o,i)))return n;if(void 0!==(n=R(o,i,void 0)))return n}else this.each((function(){var n=P.get(this,i);P.set(this,i,t),-1!==e.indexOf("-")&&void 0!==n&&P.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){P.remove(this,e)}))}}),h.extend({queue:function(e,t,n){var i;return e?(i=D.get(e,t=(t||"fx")+"queue"),n&&(!i||h.isArray(n)?i=D.access(e,t,h.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(e,t){var n=h.queue(e,t=t||"fx"),i=n.length,r=n.shift(),o=h._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,(function(){h.dequeue(e,t)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return D.get(e,n)||D.access(e,n,{empty:h.Callbacks("once memory").add((function(){D.remove(e,[t+"queue",n])}))})}}),h.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?h.queue(this[0],e):void 0===t?this:this.each((function(){var n=h.queue(this,e,t);h._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&h.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){h.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=h.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=D.get(o[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(t)}});var I=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,B=["Top","Right","Bottom","Left"],F=function(e,t){return"none"===h.css(e=t||e,"display")||!h.contains(e.ownerDocument,e)},H=/^(?:checkbox|radio)$/i;!function(){var e=d.createDocumentFragment().appendChild(d.createElement("div")),t=d.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),u.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",u.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var X="undefined";u.focusinBubbles="onfocusin"in e;var j=/^key/,V=/^(?:mouse|pointer|contextmenu)|click/,U=/^(?:focusinfocus|focusoutblur)$/,G=/^([^.]*)(?:\.(.+)|)$/;function Y(){return!0}function K(){return!1}function Q(){try{return d.activeElement}catch(e){}}h.event={global:{},add:function(e,t,n,i,r){var o,a,s,l,c,u,d,p,f,g,m,v=D.get(e);if(v)for(n.handler&&(n=(o=n).handler,r=o.selector),n.guid||(n.guid=h.guid++),(l=v.events)||(l=v.events={}),(a=v.handle)||(a=v.handle=function(t){return typeof h!==X&&h.event.triggered!==t.type?h.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(_)||[""]).length;c--;)f=m=(s=G.exec(t[c])||[])[1],g=(s[2]||"").split(".").sort(),f&&(d=h.event.special[f]||{},d=h.event.special[f=(r?d.delegateType:d.bindType)||f]||{},u=h.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&h.expr.match.needsContext.test(r),namespace:g.join(".")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,g,a)||e.addEventListener&&e.addEventListener(f,a,!1)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),h.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,a,s,l,c,u,d,p,f,g,m,v=D.hasData(e)&&D.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(_)||[""]).length;c--;)if(f=m=(s=G.exec(t[c])||[])[1],g=(s[2]||"").split(".").sort(),f){for(d=h.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)u=p[o],!r&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,g,v.handle)||h.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)h.event.remove(e,f+t[c],n,i,!0);h.isEmptyObject(l)&&(delete v.handle,D.remove(e,"events"))}},trigger:function(t,n,i,r){var o,a,s,l,u,p,f,g=[i||d],m=c.call(t,"type")?t.type:t,v=c.call(t,"namespace")?t.namespace.split("."):[];if(a=s=i=i||d,3!==i.nodeType&&8!==i.nodeType&&!U.test(m+h.event.triggered)&&(m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(t=t[h.expando]?t:new h.Event(m,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:h.makeArray(n,[t]),f=h.event.special[m]||{},r||!f.trigger||!1!==f.trigger.apply(i,n))){if(!r&&!f.noBubble&&!h.isWindow(i)){for(U.test((l=f.delegateType||m)+m)||(a=a.parentNode);a;a=a.parentNode)g.push(a),s=a;s===(i.ownerDocument||d)&&g.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=g[o++])&&!t.isPropagationStopped();)t.type=o>1?l:f.bindType||m,(p=(D.get(a,"events")||{})[t.type]&&D.get(a,"handle"))&&p.apply(a,n),(p=u&&a[u])&&p.apply&&h.acceptData(a)&&(t.result=p.apply(a,n),!1===t.result&&t.preventDefault());return t.type=m,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(g.pop(),n)||!h.acceptData(i)||u&&h.isFunction(i[m])&&!h.isWindow(i)&&((s=i[u])&&(i[u]=null),h.event.triggered=m,i[m](),h.event.triggered=void 0,s&&(i[u]=s)),t.result}},dispatch:function(e){e=h.event.fix(e);var t,n,r,o,a,s=[],l=i.call(arguments),c=(D.get(this,"events")||{})[e.type]||[],u=h.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(s=h.event.handlers.call(this,e,c),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(a.namespace))&&(e.handleObj=a,e.data=a.data,void 0!==(r=((h.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,l))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,i,r,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==e.type){for(i=[],n=0;s>n;n++)void 0===i[r=(o=t[n]).selector+" "]&&(i[r]=o.needsContext?h(r,this).index(l)>=0:h.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,r,o=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||d).body,e.pageX=t.clientX+((i=n.documentElement)&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[h.expando])return e;var t,n,i,r=e.type,o=e,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=V.test(r)?this.mouseHooks:j.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,e=new h.Event(o),t=i.length;t--;)e[n=i[t]]=o[n];return e.target||(e.target=d),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==Q()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===Q()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&h.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return h.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=h.extend(new h.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?h.event.trigger(r,null,t):h.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},h.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},h.Event=function(e,t){return this instanceof h.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Y:K):this.type=e,t&&h.extend(this,t),this.timeStamp=e&&e.timeStamp||h.now(),void(this[h.expando]=!0)):new h.Event(e,t)},h.Event.prototype={isDefaultPrevented:K,isPropagationStopped:K,isImmediatePropagationStopped:K,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Y,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Y,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Y,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},h.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){h.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return(!r||r!==i&&!h.contains(i,r))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),u.focusinBubbles||h.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){h.event.simulate(t,e.target,h.event.fix(e),!0)};h.event.special[t]={setup:function(){var i=this.ownerDocument||this,r=D.access(i,t);r||i.addEventListener(e,n,!0),D.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=D.access(i,t)-1;r?D.access(i,t,r):(i.removeEventListener(e,n,!0),D.remove(i,t))}}})),h.fn.extend({on:function(e,t,n,i,r){var o,a;if("object"==typeof e){for(a in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(a,t,n,e[a],r);return this}if(null==n&&null==i?(i=t,n=t=void 0):null==i&&("string"==typeof t?(i=n,n=void 0):(i=n,n=t,t=void 0)),!1===i)i=K;else if(!i)return this;return 1===r&&(o=i,(i=function(e){return h().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=h.guid++)),this.each((function(){h.event.add(this,e,i,n,t)}))},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,h(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return(!1===t||"function"==typeof t)&&(n=t,t=void 0),!1===n&&(n=K),this.each((function(){h.event.remove(this,e,n,t)}))},trigger:function(e,t){return this.each((function(){h.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];return n?h.event.trigger(e,t,n,!0):void 0}});var J=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Z=/<([\w:]+)/,ee=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,ie=/^$|\/(?:java|ecma)script/i,re=/^true\/(.*)/,oe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ae={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function se(e,t){return h.nodeName(e,"table")&&h.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ce(e){var t=re.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ue(e,t){for(var n=0,i=e.length;i>n;n++)D.set(e[n],"globalEval",!t||D.get(t[n],"globalEval"))}function de(e,t){var n,i,r,o,a,s,l,c;if(1===t.nodeType){if(D.hasData(e)&&(o=D.access(e),a=D.set(t,o),c=o.events))for(r in delete a.handle,a.events={},c)for(n=0,i=c[r].length;i>n;n++)h.event.add(t,r,c[r][n]);P.hasData(e)&&(s=P.access(e),l=h.extend({},s),P.set(t,l))}}function pe(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&h.nodeName(e,t)?h.merge([e],n):n}function he(e,t){var n=t.nodeName.toLowerCase();"input"===n&&H.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}ae.optgroup=ae.option,ae.tbody=ae.tfoot=ae.colgroup=ae.caption=ae.thead,ae.th=ae.td,h.extend({clone:function(e,t,n){var i,r,o,a,s=e.cloneNode(!0),l=h.contains(e.ownerDocument,e);if(!(u.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||h.isXMLDoc(e)))for(a=pe(s),i=0,r=(o=pe(e)).length;r>i;i++)he(o[i],a[i]);if(t)if(n)for(o=o||pe(e),a=a||pe(s),i=0,r=o.length;r>i;i++)de(o[i],a[i]);else de(e,s);return(a=pe(s,"script")).length>0&&ue(a,!l&&pe(e,"script")),s},buildFragment:function(e,t,n,i){for(var r,o,a,s,l,c,u=t.createDocumentFragment(),d=[],p=0,f=e.length;f>p;p++)if((r=e[p])||0===r)if("object"===h.type(r))h.merge(d,r.nodeType?[r]:r);else if(ee.test(r)){for(o=o||u.appendChild(t.createElement("div")),a=(Z.exec(r)||["",""])[1].toLowerCase(),o.innerHTML=(s=ae[a]||ae._default)[1]+r.replace(J,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;h.merge(d,o.childNodes),(o=u.firstChild).textContent=""}else d.push(t.createTextNode(r));for(u.textContent="",p=0;r=d[p++];)if((!i||-1===h.inArray(r,i))&&(l=h.contains(r.ownerDocument,r),o=pe(u.appendChild(r),"script"),l&&ue(o),n))for(c=0;r=o[c++];)ie.test(r.type||"")&&n.push(r);return u},cleanData:function(e){for(var t,n,i,r,o=h.event.special,a=0;void 0!==(n=e[a]);a++){if(h.acceptData(n)&&(r=n[D.expando])&&(t=D.cache[r])){if(t.events)for(i in t.events)o[i]?h.event.remove(n,i):h.removeEvent(n,i,t.handle);D.cache[r]&&delete D.cache[r]}delete P.cache[n[P.expando]]}}}),h.fn.extend({text:function(e){return L(this,(function(e){return void 0===e?h.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 this.domManip(arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||se(this,e).appendChild(e)}))},prepend:function(){return this.domManip(arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=se(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},remove:function(e,t){for(var n,i=e?h.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||h.cleanData(pe(n)),n.parentNode&&(t&&h.contains(n.ownerDocument,n)&&ue(pe(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(h.cleanData(pe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return h.clone(this,e,t)}))},html:function(e){return L(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!te.test(e)&&!ae[(Z.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(J,"<$1></$2>");try{for(;i>n;n++)1===(t=this[n]||{}).nodeType&&(h.cleanData(pe(t,!1)),t.innerHTML=e);t=0}catch(r){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,(function(t){e=this.parentNode,h.cleanData(pe(this)),e&&e.replaceChild(t,this)})),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=r.apply([],e);var n,i,o,a,s,l,c=0,d=this.length,p=this,f=d-1,g=e[0],m=h.isFunction(g);if(m||d>1&&"string"==typeof g&&!u.checkClone&&ne.test(g))return this.each((function(n){var i=p.eq(n);m&&(e[0]=g.call(this,n,i.html())),i.domManip(e,t)}));if(d&&(i=(n=h.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=i),i)){for(a=(o=h.map(pe(n,"script"),le)).length;d>c;c++)s=n,c!==f&&(s=h.clone(s,!0,!0),a&&h.merge(o,pe(s,"script"))),t.call(this[c],s,c);if(a)for(l=o[o.length-1].ownerDocument,h.map(o,ce),c=0;a>c;c++)ie.test((s=o[c]).type||"")&&!D.access(s,"globalEval")&&h.contains(l,s)&&(s.src?h._evalUrl&&h._evalUrl(s.src):h.globalEval(s.textContent.replace(oe,"")))}return this}}),h.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){h.fn[e]=function(e){for(var n,i=[],r=h(e),a=r.length-1,s=0;a>=s;s++)n=s===a?this:this.clone(!0),h(r[s])[t](n),o.apply(i,n.get());return this.pushStack(i)}}));var fe,ge={};function me(t,n){var i,r=h(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(i=e.getDefaultComputedStyle(r[0]))?i.display:h.css(r[0],"display");return r.detach(),o}function ve(e){var t=d,n=ge[e];return n||("none"!==(n=me(e,t))&&n||((t=(fe=(fe||h("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=me(e,t),fe.detach()),ge[e]=n),n}var be=/^margin/,ye=new RegExp("^("+I+")(?!px)[a-z%]+$","i"),Me=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):e.getComputedStyle(t,null)};function we(e,t,n){var i,r,o,a,s=e.style;return(n=n||Me(e))&&(a=n.getPropertyValue(t)||n[t]),n&&(""!==a||h.contains(e.ownerDocument,e)||(a=h.style(e,t)),ye.test(a)&&be.test(t)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Ce(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){var t,n,i=d.documentElement,r=d.createElement("div"),o=d.createElement("div");if(o.style){function a(){o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",o.innerHTML="",i.appendChild(r);var a=e.getComputedStyle(o,null);t="1%"!==a.top,n="4px"===a.width,i.removeChild(r)}o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",u.clearCloneStyle="content-box"===o.style.backgroundClip,r.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",r.appendChild(o),e.getComputedStyle&&h.extend(u,{pixelPosition:function(){return a(),t},boxSizingReliable:function(){return null==n&&a(),n},reliableMarginRight:function(){var t,n=o.appendChild(d.createElement("div"));return n.style.cssText=o.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",o.style.width="1px",i.appendChild(r),t=!parseFloat(e.getComputedStyle(n,null).marginRight),i.removeChild(r),o.removeChild(n),t}})}}(),h.swap=function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=a[o];return r};var Ae=/^(none|table(?!-c[ea]).+)/,xe=new RegExp("^("+I+")(.*)$","i"),Se=new RegExp("^([+-])=("+I+")","i"),ze={position:"absolute",visibility:"hidden",display:"block"},Te={letterSpacing:"0",fontWeight:"400"},ke=["Webkit","O","Moz","ms"];function $e(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),i=t,r=ke.length;r--;)if((t=ke[r]+n)in e)return t;return i}function _e(e,t,n){var i=xe.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function Oe(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=h.css(e,n+B[o],!0,r)),i?("content"===n&&(a-=h.css(e,"padding"+B[o],!0,r)),"margin"!==n&&(a-=h.css(e,"border"+B[o]+"Width",!0,r))):(a+=h.css(e,"padding"+B[o],!0,r),"padding"!==n&&(a+=h.css(e,"border"+B[o]+"Width",!0,r)));return a}function Ee(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,o=Me(e),a="border-box"===h.css(e,"boxSizing",!1,o);if(0>=r||null==r){if((0>(r=we(e,t,o))||null==r)&&(r=e.style[t]),ye.test(r))return r;i=a&&(u.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+Oe(e,t,n||(a?"border":"content"),i,o)+"px"}function Le(e,t){for(var n,i,r,o=[],a=0,s=e.length;s>a;a++)(i=e[a]).style&&(o[a]=D.get(i,"olddisplay"),n=i.style.display,t?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&F(i)&&(o[a]=D.access(i,"olddisplay",ve(i.nodeName)))):(r=F(i),"none"===n&&r||D.set(i,"olddisplay",r?n:h.css(i,"display"))));for(a=0;s>a;a++)(i=e[a]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?o[a]||"":"none"));return e}function Ne(e,t,n,i,r){return new Ne.prototype.init(e,t,n,i,r)}h.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=we(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,a,s=h.camelCase(t),l=e.style;return t=h.cssProps[s]||(h.cssProps[s]=$e(l,s)),a=h.cssHooks[t]||h.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(r=a.get(e,!1,i))?r:l[t]:("string"==(o=typeof n)&&(r=Se.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(h.css(e,t)),o="number"),void(null!=n&&n==n&&("number"!==o||h.cssNumber[s]||(n+="px"),u.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l[t]=n))))}},css:function(e,t,n,i){var r,o,a,s=h.camelCase(t);return t=h.cssProps[s]||(h.cssProps[s]=$e(e.style,s)),(a=h.cssHooks[t]||h.cssHooks[s])&&"get"in a&&(r=a.get(e,!0,n)),void 0===r&&(r=we(e,t,i)),"normal"===r&&t in Te&&(r=Te[t]),""===n||n?(o=parseFloat(r),!0===n||h.isNumeric(o)?o||0:r):r}}),h.each(["height","width"],(function(e,t){h.cssHooks[t]={get:function(e,n,i){return n?Ae.test(h.css(e,"display"))&&0===e.offsetWidth?h.swap(e,ze,(function(){return Ee(e,t,i)})):Ee(e,t,i):void 0},set:function(e,n,i){var r=i&&Me(e);return _e(0,n,i?Oe(e,t,i,"border-box"===h.css(e,"boxSizing",!1,r),r):0)}}})),h.cssHooks.marginRight=Ce(u.reliableMarginRight,(function(e,t){return t?h.swap(e,{display:"inline-block"},we,[e,"marginRight"]):void 0})),h.each({margin:"",padding:"",border:"Width"},(function(e,t){h.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+B[i]+t]=o[i]||o[i-2]||o[0];return r}},be.test(e)||(h.cssHooks[e+t].set=_e)})),h.fn.extend({css:function(e,t){return L(this,(function(e,t,n){var i,r,o={},a=0;if(h.isArray(t)){for(i=Me(e),r=t.length;r>a;a++)o[t[a]]=h.css(e,t[a],!1,i);return o}return void 0!==n?h.style(e,t,n):h.css(e,t)}),e,t,arguments.length>1)},show:function(){return Le(this,!0)},hide:function(){return Le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){F(this)?h(this).show():h(this).hide()}))}}),h.Tween=Ne,(Ne.prototype={constructor:Ne,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(h.cssNumber[n]?"":"px")},cur:function(){var e=Ne.propHooks[this.prop];return e&&e.get?e.get(this):Ne.propHooks._default.get(this)},run:function(e){var t,n=Ne.propHooks[this.prop];return this.pos=t=this.options.duration?h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):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):Ne.propHooks._default.set(this),this}}).init.prototype=Ne.prototype,(Ne.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=h.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){h.fx.step[e.prop]?h.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[h.cssProps[e.prop]]||h.cssHooks[e.prop])?h.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=Ne.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},h.fx=Ne.prototype.init,h.fx.step={};var De,Pe,qe=/^(?:toggle|show|hide)$/,We=new RegExp("^(?:([+-])=|)("+I+")([a-z%]*)$","i"),Re=/queueHooks$/,Ie=[function(e,t,n){var i,r,o,a,s,l,c,u=this,d={},p=e.style,f=e.nodeType&&F(e),g=D.get(e,"fxshow");for(i in n.queue||(null==(s=h._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always((function(){u.always((function(){s.unqueued--,h.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===("none"===(c=h.css(e,"display"))?D.get(e,"olddisplay")||ve(e.nodeName):c)&&"none"===h.css(e,"float")&&(p.display="inline-block")),n.overflow&&(p.overflow="hidden",u.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),t)if(qe.exec(r=t[i])){if(delete t[i],o=o||"toggle"===r,r===(f?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;f=!0}d[i]=g&&g[i]||h.style(e,i)}else c=void 0;if(h.isEmptyObject(d))"inline"===("none"===c?ve(e.nodeName):c)&&(p.display=c);else for(i in g?"hidden"in g&&(f=g.hidden):g=D.access(e,"fxshow",{}),o&&(g.hidden=!f),f?h(e).show():u.done((function(){h(e).hide()})),u.done((function(){var t;for(t in D.remove(e,"fxshow"),d)h.style(e,t,d[t])})),d)a=Xe(f?g[i]:0,i,u),i in g||(g[i]=a.start,f&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}],Be={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=We.exec(t),o=r&&r[3]||(h.cssNumber[e]?"":"px"),a=(h.cssNumber[e]||"px"!==o&&+i)&&We.exec(h.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],r=r||[],a=+i||1;do{h.style(n.elem,e,(a/=s=s||".5")+o)}while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(a=n.start=+a||+i||0,n.unit=o,n.end=r[1]?a+(r[1]+1)*r[2]:+r[2]),n}]};function Fe(){return setTimeout((function(){De=void 0})),De=h.now()}function He(e,t){var n,i=0,r={height:e};for(t=t?1:0;4>i;i+=2-t)r["margin"+(n=B[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function Xe(e,t,n){for(var i,r=(Be[t]||[]).concat(Be["*"]),o=0,a=r.length;a>o;o++)if(i=r[o].call(n,t,e))return i}function je(e,t,n){var i,r,o=0,a=Ie.length,s=h.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var t=De||Fe(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),o=0,a=c.tweens.length;a>o;o++)c.tweens[o].run(i);return s.notifyWith(e,[c,i,n]),1>i&&a?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:h.extend({},t),opts:h.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:De||Fe(),duration:n.duration,tweens:[],createTween:function(t,n){var i=h.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)c.tweens[n].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,r,o,a;for(n in e)if(r=t[i=h.camelCase(n)],h.isArray(o=e[n])&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(a=h.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,c.opts.specialEasing);a>o;o++)if(i=Ie[o].call(c,e,u,c.opts))return i;return h.map(u,Xe,c),h.isFunction(c.opts.start)&&c.opts.start.call(e,c),h.fx.timer(h.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}h.Animation=h.extend(je,{tweener:function(e,t){h.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;r>i;i++)Be[n=e[i]]=Be[n]||[],Be[n].unshift(t)},prefilter:function(e,t){t?Ie.unshift(e):Ie.push(e)}}),h.speed=function(e,t,n){var i=e&&"object"==typeof e?h.extend({},e):{complete:n||!n&&t||h.isFunction(e)&&e,duration:e,easing:n&&t||t&&!h.isFunction(t)&&t};return i.duration=h.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in h.fx.speeds?h.fx.speeds[i.duration]:h.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){h.isFunction(i.old)&&i.old.call(this),i.queue&&h.dequeue(this,i.queue)},i},h.fn.extend({fadeTo:function(e,t,n,i){return this.filter(F).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=h.isEmptyObject(e),o=h.speed(t,n,i),a=function(){var t=je(this,h.extend({},e),o);(r||D.get(this,"finish"))&&t.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=h.timers,a=D.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&Re.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));(t||!n)&&h.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=D.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=h.timers,a=i?i.length:0;for(n.finish=!0,h.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),h.each(["toggle","show","hide"],(function(e,t){var n=h.fn[t];h.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(He(t,!0),e,i,r)}})),h.each({slideDown:He("show"),slideUp:He("hide"),slideToggle:He("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){h.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),h.timers=[],h.fx.tick=function(){var e,t=0,n=h.timers;for(De=h.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||h.fx.stop(),De=void 0},h.fx.timer=function(e){h.timers.push(e),e()?h.fx.start():h.timers.pop()},h.fx.interval=13,h.fx.start=function(){Pe||(Pe=setInterval(h.fx.tick,h.fx.interval))},h.fx.stop=function(){clearInterval(Pe),Pe=null},h.fx.speeds={slow:600,fast:200,_default:400},h.fn.delay=function(e,t){return e=h.fx&&h.fx.speeds[e]||e,this.queue(t=t||"fx",(function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}}))},function(){var e=d.createElement("input"),t=d.createElement("select"),n=t.appendChild(d.createElement("option"));e.type="checkbox",u.checkOn=""!==e.value,u.optSelected=n.selected,t.disabled=!0,u.optDisabled=!n.disabled,(e=d.createElement("input")).value="t",e.type="radio",u.radioValue="t"===e.value}();var Ve,Ue=h.expr.attrHandle;h.fn.extend({attr:function(e,t){return L(this,h.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){h.removeAttr(this,e)}))}}),h.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===X?h.prop(e,t,n):(1===o&&h.isXMLDoc(e)||(t=t.toLowerCase(),i=h.attrHooks[t]||(h.expr.match.bool.test(t)?Ve:void 0)),void 0===n?i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=h.find.attr(e,t))?void 0:r:null!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):void h.removeAttr(e,t))},removeAttr:function(e,t){var n,i,r=0,o=t&&t.match(_);if(o&&1===e.nodeType)for(;n=o[r++];)i=h.propFix[n]||n,h.expr.match.bool.test(n)&&(e[i]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!u.radioValue&&"radio"===t&&h.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Ve={set:function(e,t,n){return!1===t?h.removeAttr(e,n):e.setAttribute(n,n),n}},h.each(h.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Ue[t]||h.find.attr;Ue[t]=function(e,t,i){var r,o;return i||(o=Ue[t],Ue[t]=r,r=null!=n(e,t,i)?t.toLowerCase():null,Ue[t]=o),r}}));var Ge=/^(?:input|select|textarea|button)$/i;h.fn.extend({prop:function(e,t){return L(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[h.propFix[e]||e]}))}}),h.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var i,r,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!h.isXMLDoc(e))&&(r=h.propHooks[t=h.propFix[t]||t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ge.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),u.optSelected||(h.propHooks.selected={get:function(e){return null}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){h.propFix[this.toLowerCase()]=this}));var Ye=/[\t\r\n\f]/g;h.fn.extend({addClass:function(e){var t,n,i,r,o,a,s="string"==typeof e&&e,l=0,c=this.length;if(h.isFunction(e))return this.each((function(t){h(this).addClass(e.call(this,t,this.className))}));if(s)for(t=(e||"").match(_)||[];c>l;l++)if(i=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(Ye," "):" ")){for(o=0;r=t[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");a=h.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,i,r,o,a,s=0===arguments.length||"string"==typeof e&&e,l=0,c=this.length;if(h.isFunction(e))return this.each((function(t){h(this).removeClass(e.call(this,t,this.className))}));if(s)for(t=(e||"").match(_)||[];c>l;l++)if(i=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(Ye," "):"")){for(o=0;r=t[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");a=e?h.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):this.each(h.isFunction(e)?function(n){h(this).toggleClass(e.call(this,n,this.className,t),t)}:function(){if("string"===n)for(var t,i=0,r=h(this),o=e.match(_)||[];t=o[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(n===X||"boolean"===n)&&(this.className&&D.set(this,"__className__",this.className),this.className=this.className||!1===e?"":D.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Ye," ").indexOf(t)>=0)return!0;return!1}});var Ke=/\r/g;h.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=h.isFunction(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,h(this).val()):e)?r="":"number"==typeof r?r+="":h.isArray(r)&&(r=h.map(r,(function(e){return null==e?"":e+""}))),(t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=h.valHooks[r.type]||h.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(Ke,""):null==n?"":n:void 0}}),h.extend({valHooks:{option:{get:function(e){var t=h.find.attr(e,"value");return null!=t?t:h.trim(h.text(e))}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,o="select-one"===e.type||0>r,a=o?null:[],s=o?r+1:i.length,l=0>r?s:o?r:0;s>l;l++)if(!(!(n=i[l]).selected&&l!==r||(u.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&h.nodeName(n.parentNode,"optgroup"))){if(t=h(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=h.makeArray(t),a=r.length;a--;)((i=r[a]).selected=h.inArray(i.value,o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),h.each(["radio","checkbox"],(function(){h.valHooks[this]={set:function(e,t){return h.isArray(t)?e.checked=h.inArray(h(e).val(),t)>=0:void 0}},u.checkOn||(h.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Qe=h.now(),Je=/\?/;h.parseJSON=function(e){return JSON.parse(e+"")},h.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(i){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&h.error("Invalid XML: "+e),t};var Ze=/#.*$/,et=/([?&])_=[^&]*/,tt=/^(.*?):[ \t]*([^\r\n]*)$/gm,nt=/^(?:GET|HEAD)$/,it=/^\/\//,rt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ot={},at={},st="*/".concat("*"),lt=e.location.href,ct=rt.exec(lt.toLowerCase())||[];function ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(_)||[];if(h.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function dt(e,t,n,i){var r={},o=e===at;function a(s){var l;return r[s]=!0,h.each(e[s]||[],(function(e,s){var c=s(t,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!r["*"]&&a("*")}function pt(e,t){var n,i,r=h.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&h.extend(!0,e,i),e}h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":st,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?pt(pt(e,h.ajaxSettings),t):pt(h.ajaxSettings,e)},ajaxPrefilter:ut(ot),ajaxTransport:ut(at),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var n,i,r,o,a,s,l,c,u=h.ajaxSetup({},t=t||{}),d=u.context||u,p=u.context&&(d.nodeType||d.jquery)?h(d):h.event,f=h.Deferred(),g=h.Callbacks("once memory"),m=u.statusCode||{},v={},b={},y=0,M="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!o)for(o={};t=tt.exec(r);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?r:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return y||(e=b[n]=b[n]||e,v[e]=t),this},overrideMimeType:function(e){return y||(u.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>y)for(t in e)m[t]=[m[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||M;return n&&n.abort(t),A(0,t),this}};if(f.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,u.url=((e||u.url||lt)+"").replace(Ze,"").replace(it,ct[1]+"//"),u.type=t.method||t.type||u.method||u.type,u.dataTypes=h.trim(u.dataType||"*").toLowerCase().match(_)||[""],null==u.crossDomain&&(s=rt.exec(u.url.toLowerCase()),u.crossDomain=!(!s||s[1]===ct[1]&&s[2]===ct[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(ct[3]||("http:"===ct[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=h.param(u.data,u.traditional)),dt(ot,u,t,w),2===y)return w;for(c in(l=h.event&&u.global)&&0==h.active++&&h.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!nt.test(u.type),i=u.url,u.hasContent||(u.data&&(i=u.url+=(Je.test(i)?"&":"?")+u.data,delete u.data),!1===u.cache&&(u.url=et.test(i)?i.replace(et,"$1_="+Qe++):i+(Je.test(i)?"&":"?")+"_="+Qe++)),u.ifModified&&(h.lastModified[i]&&w.setRequestHeader("If-Modified-Since",h.lastModified[i]),h.etag[i]&&w.setRequestHeader("If-None-Match",h.etag[i])),(u.data&&u.hasContent&&!1!==u.contentType||t.contentType)&&w.setRequestHeader("Content-Type",u.contentType),w.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+st+"; q=0.01":""):u.accepts["*"]),u.headers)w.setRequestHeader(c,u.headers[c]);if(u.beforeSend&&(!1===u.beforeSend.call(d,w,u)||2===y))return w.abort();for(c in M="abort",{success:1,error:1,complete:1})w[c](u[c]);if(n=dt(at,u,t,w)){w.readyState=1,l&&p.trigger("ajaxSend",[w,u]),u.async&&u.timeout>0&&(a=setTimeout((function(){w.abort("timeout")}),u.timeout));try{y=1,n.send(v,A)}catch(C){if(!(2>y))throw C;A(-1,C)}}else A(-1,"No Transport");function A(e,t,o,s){var c,v,b,M,C,A=t;2!==y&&(y=2,a&&clearTimeout(a),n=void 0,r=s||"",w.readyState=e>0?4:0,c=e>=200&&300>e||304===e,o&&(M=function(e,t,n){for(var i,r,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}(u,w,o)),M=function(e,t,n,i){var r,o,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(d){return{state:"parsererror",error:a?d:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(u,M,w,c),c?(u.ifModified&&((C=w.getResponseHeader("Last-Modified"))&&(h.lastModified[i]=C),(C=w.getResponseHeader("etag"))&&(h.etag[i]=C)),204===e||"HEAD"===u.type?A="nocontent":304===e?A="notmodified":(A=M.state,v=M.data,c=!(b=M.error))):(b=A,(e||!A)&&(A="error",0>e&&(e=0))),w.status=e,w.statusText=(t||A)+"",c?f.resolveWith(d,[v,A,w]):f.rejectWith(d,[w,A,b]),w.statusCode(m),m=void 0,l&&p.trigger(c?"ajaxSuccess":"ajaxError",[w,u,c?v:b]),g.fireWith(d,[w,A]),l&&(p.trigger("ajaxComplete",[w,u]),--h.active||h.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,void 0,t,"script")}}),h.each(["get","post"],(function(e,t){h[t]=function(e,n,i,r){return h.isFunction(n)&&(r=r||i,i=n,n=void 0),h.ajax({url:e,type:t,dataType:r,data:n,success:i})}})),h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},h.fn.extend({wrapAll:function(e){var t;return h.isFunction(e)?this.each((function(t){h(this).wrapAll(e.call(this,t))})):(this[0]&&(t=h(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 this.each(h.isFunction(e)?function(t){h(this).wrapInner(e.call(this,t))}:function(){var t=h(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h.isFunction(e);return this.each((function(n){h(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)})).end()}}),h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var ht=/%20/g,ft=/\[\]$/,gt=/\r?\n/g,mt=/^(?:submit|button|image|reset|file)$/i,vt=/^(?:input|select|textarea|keygen)/i;function bt(e,t,n,i){var r;if(h.isArray(t))h.each(t,(function(t,r){n||ft.test(e)?i(e,r):bt(e+"["+("object"==typeof r?t:"")+"]",r,n,i)}));else if(n||"object"!==h.type(t))i(e,t);else for(r in t)bt(e+"["+r+"]",t[r],n,i)}h.param=function(e,t){var n,i=[],r=function(e,t){t=h.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=h.ajaxSettings&&h.ajaxSettings.traditional),h.isArray(e)||e.jquery&&!h.isPlainObject(e))h.each(e,(function(){r(this.name,this.value)}));else for(n in e)bt(n,e[n],t,r);return i.join("&").replace(ht,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&vt.test(this.nodeName)&&!mt.test(e)&&(this.checked||!H.test(e))})).map((function(e,t){var n=h(this).val();return null==n?null:h.isArray(n)?h.map(n,(function(e){return{name:t.name,value:e.replace(gt,"\r\n")}})):{name:t.name,value:n.replace(gt,"\r\n")}})).get()}}),h.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var yt=0,Mt={},wt={0:200,1223:204},Ct=h.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",(function(){for(var e in Mt)Mt[e]()})),u.cors=!!Ct&&"withCredentials"in Ct,u.ajax=Ct=!!Ct,h.ajaxTransport((function(e){var t;return u.cors||Ct&&!e.crossDomain?{send:function(n,i){var r,o=e.xhr(),a=++yt;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(r in e.xhrFields)o[r]=e.xhrFields[r];for(r in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)o.setRequestHeader(r,n[r]);t=function(e){return function(){t&&(delete Mt[a],t=o.onload=o.onerror=null,"abort"===e?o.abort():"error"===e?i(o.status,o.statusText):i(wt[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=t(),o.onerror=t("error"),t=Mt[a]=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}:void 0})),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return h.globalEval(e),e}}}),h.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),h.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain)return{send:function(i,r){t=h("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),d.head.appendChild(t[0])},abort:function(){n&&n()}}}));var At=[],xt=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=At.pop()||h.expando+"_"+Qe++;return this[e]=!0,e}}),h.ajaxPrefilter("json jsonp",(function(t,n,i){var r,o,a,s=!1!==t.jsonp&&(xt.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&xt.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(xt,"$1"+r):!1!==t.jsonp&&(t.url+=(Je.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||h.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=e[r],e[r]=function(){a=arguments},i.always((function(){e[r]=o,t[r]&&(t.jsonpCallback=n.jsonpCallback,At.push(r)),a&&h.isFunction(o)&&o(a[0]),a=o=void 0})),"script"):void 0})),h.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||d;var i=w.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=h.buildFragment([e],t,r),r&&r.length&&h(r).remove(),h.merge([],i.childNodes))};var St=h.fn.load;h.fn.load=function(e,t,n){if("string"!=typeof e&&St)return St.apply(this,arguments);var i,r,o,a=this,s=e.indexOf(" ");return s>=0&&(i=h.trim(e.slice(s)),e=e.slice(0,s)),h.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),a.length>0&&h.ajax({url:e,type:r,dataType:"html",data:t}).done((function(e){o=arguments,a.html(i?h("<div>").append(h.parseHTML(e)).find(i):e)})).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])}),this},h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){h.fn[t]=function(e){return this.on(t,e)}})),h.expr.filters.animated=function(e){return h.grep(h.timers,(function(t){return e===t.elem})).length};var zt=e.document.documentElement;function Tt(e){return h.isWindow(e)?e:9===e.nodeType&&e.defaultView}h.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,c=h.css(e,"position"),u=h(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),o=h.css(e,"top"),l=h.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(i=u.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),h.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):u.css(d)}},h.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){h.offset.setOffset(this,e,t)}));var t,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;return o?h.contains(t=o.documentElement,i)?(typeof i.getBoundingClientRect!==X&&(r=i.getBoundingClientRect()),n=Tt(o),{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r:void 0},position:function(){if(this[0]){var e,t,n=this[0],i={top:0,left:0};return"fixed"===h.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),h.nodeName(e[0],"html")||(i=e.offset()),i.top+=h.css(e[0],"borderTopWidth",!0),i.left+=h.css(e[0],"borderLeftWidth",!0)),{top:t.top-i.top-h.css(n,"marginTop",!0),left:t.left-i.left-h.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||zt;e&&!h.nodeName(e,"html")&&"static"===h.css(e,"position");)e=e.offsetParent;return e||zt}))}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,n){var i="pageYOffset"===n;h.fn[t]=function(r){return L(this,(function(t,r,o){var a=Tt(t);return void 0===o?a?a[n]:t[r]:void(a?a.scrollTo(i?e.pageXOffset:o,i?o:e.pageYOffset):t[r]=o)}),t,r,arguments.length,null)}})),h.each(["top","left"],(function(e,t){h.cssHooks[t]=Ce(u.pixelPosition,(function(e,n){return n?(n=we(e,t),ye.test(n)?h(e).position()[t]+"px":n):void 0}))})),h.each({Height:"height",Width:"width"},(function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){h.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===r?"margin":"border");return L(this,(function(t,n,i){var r;return h.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===i?h.css(t,n,a):h.style(t,n,i,a)}),t,o?i:void 0,o,null)}}))})),h.fn.size=function(){return this.length},h.fn.andSelf=h.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return h}));var kt=e.jQuery,$t=e.$;return h.noConflict=function(t){return e.$===h&&(e.$=$t),t&&e.jQuery===h&&(e.jQuery=kt),h},typeof t===X&&(e.jQuery=e.$=h),h})),function(e,t,n){"use strict";function i(e,t){return t=t||Error,function(){var n,i,r=2,o=arguments,a=o[0],s="["+(e?e+":":"")+a+"] ",l=o[1];for(s+=l.replace(/\{\d+\}/g,(function(e){var t=+e.slice(1,-1)+r;return t<o.length?qe(o[t]):e})),s+="\nhttp://errors.angularjs.org/1.4.4/"+(e?e+"/":"")+a,i=r,n="?";i<o.length;i++,n="&")s+=n+"p"+(i-r)+"="+encodeURIComponent(qe(o[i]));return new t(s)}}var r=/^\/(.+)\/([a-z]*)$/,o=function(e){return R(e)?e.toLowerCase():e},a=Object.prototype.hasOwnProperty,s=function(e){return R(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(o=function(e){return R(e)?e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(32|e.charCodeAt(0))})):e},s=function(e){return R(e)?e.replace(/[a-z]/g,(function(e){return String.fromCharCode(-33&e.charCodeAt(0))})):e});var l,c,u,d,p=[].slice,h=[].splice,f=[].push,g=Object.prototype.toString,m=Object.getPrototypeOf,v=i("ng"),b=e.angular||(e.angular={}),y=0;function M(e){if(null==e||j(e))return!1;var t="length"in Object(e)&&e.length;return!(e.nodeType!==De||!t)||R(e)||F(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function w(e,t,n){var i,r;if(e)if(H(e))for(i in e)"prototype"==i||"length"==i||"name"==i||e.hasOwnProperty&&!e.hasOwnProperty(i)||t.call(n,e[i],i,e);else if(F(e)||M(e)){var o="object"!=typeof e;for(i=0,r=e.length;i<r;i++)(o||i in e)&&t.call(n,e[i],i,e)}else if(e.forEach&&e.forEach!==w)e.forEach(t,n,e);else if(W(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)a.call(e,i)&&t.call(n,e[i],i,e);return e}function C(e,t,n){for(var i=Object.keys(e).sort(),r=0;r<i.length;r++)t.call(n,e[i[r]],i[r]);return i}function A(e){return function(t,n){e(n,t)}}function x(){return++y}function S(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function z(e,t,n){for(var i=e.$$hashKey,r=0,o=t.length;r<o;++r){var a=t[r];if(q(a)||H(a))for(var s=Object.keys(a),l=0,c=s.length;l<c;l++){var u=s[l],d=a[u];n&&q(d)?B(d)?e[u]=new Date(d.valueOf()):X(d)?e[u]=new RegExp(d):(q(e[u])||(e[u]=F(d)?[]:{}),z(e[u],[d],!0)):e[u]=d}}return S(e,i),e}function T(e){return z(e,p.call(arguments,1),!1)}function k(e){return z(e,p.call(arguments,1),!0)}function $(e){return parseInt(e,10)}function _(e,t){return T(Object.create(e),t)}function O(){}function E(e){return e}function L(e){return function(){return e}}function N(e){return H(e.toString)&&e.toString!==Object.prototype.toString}function D(e){return void 0===e}function P(e){return void 0!==e}function q(e){return null!==e&&"object"==typeof e}function W(e){return null!==e&&"object"==typeof e&&!m(e)}function R(e){return"string"==typeof e}function I(e){return"number"==typeof e}function B(e){return"[object Date]"===g.call(e)}l=t.documentMode,O.$inject=[],E.$inject=[];var F=Array.isArray;function H(e){return"function"==typeof e}function X(e){return"[object RegExp]"===g.call(e)}function j(e){return e&&e.window===e}function V(e){return e&&e.$evalAsync&&e.$watch}function U(e){return"boolean"==typeof e}function G(e){return e&&H(e.then)}var Y=/^\[object (Uint8(Clamped)?)|(Uint16)|(Uint32)|(Int8)|(Int16)|(Int32)|(Float(32)|(64))Array\]$/;function K(e){return Y.test(g.call(e))}var Q=function(e){return R(e)?e.trim():e},J=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function Z(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function ee(e){return o(e.nodeName||e[0]&&e[0].nodeName)}function te(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ne(e,t,n,i){if(j(e)||V(e))throw v("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(K(t))throw v("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t){if(e===t)throw v("cpi","Can't copy! Source and destination are identical.");var r;if(n=n||[],i=i||[],q(e)&&(n.push(e),i.push(t)),F(e)){t.length=0;for(var o=0;o<e.length;o++)t.push(ne(e[o],null,n,i))}else{var s=t.$$hashKey;if(F(t)?t.length=0:w(t,(function(e,n){delete t[n]})),W(e))for(r in e)t[r]=ne(e[r],null,n,i);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=ne(e[r],null,n,i));else for(r in e)a.call(e,r)&&(t[r]=ne(e[r],null,n,i));S(t,s)}}else if(t=e,q(e)){var l;if(n&&-1!==(l=n.indexOf(e)))return i[l];if(F(e))return ne(e,[],n,i);if(K(e))t=new e.constructor(e);else if(B(e))t=new Date(e.getTime());else{if(!X(e))return ne(e,Object.create(m(e)),n,i);(t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0])).lastIndex=e.lastIndex}i&&(n.push(e),i.push(t))}return t}function ie(e,t){if(F(e)){t=t||[];for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}else if(q(e))for(var r in t=t||{},e)"$"===r.charAt(0)&&"$"===r.charAt(1)||(t[r]=e[r]);return t||e}function re(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i,r,o=typeof e;if(o==typeof t&&"object"==o){if(!F(e)){if(B(e))return!!B(t)&&re(e.getTime(),t.getTime());if(X(e))return!!X(t)&&e.toString()==t.toString();if(V(e)||V(t)||j(e)||j(t)||F(t)||B(t)||X(t))return!1;for(i in r=Ne(),e)if("$"!==i.charAt(0)&&!H(e[i])){if(!re(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&"$"!==i.charAt(0)&&void 0!==t[i]&&!H(t[i]))return!1;return!0}if(!F(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!re(e[i],t[i]))return!1;return!0}}return!1}var oe=function(){if(!P(oe.rules)){var e=t.querySelector("[ng-csp]")||t.querySelector("[data-ng-csp]");if(e){var n=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");oe.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else oe.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return oe.rules},ae=function(){if(P(ae.name_))return ae.name_;var e,n,i,r,o=we.length;for(n=0;n<o;++n)if(e=t.querySelector("["+(i=we[n]).replace(":","\\:")+"jq]")){r=e.getAttribute(i+"jq");break}return ae.name_=r};function se(e,t,n){return e.concat(p.call(t,n))}function le(e,t){return p.call(e,t||0)}function ce(e,t){var n=arguments.length>2?le(arguments,2):[];return!H(t)||t instanceof RegExp?t:n.length?function(){return t.apply(e,arguments.length?se(n,arguments,0):n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function ue(e,n){var i=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=void 0:j(n)?i="$WINDOW":n&&t===n?i="$DOCUMENT":V(n)&&(i="$SCOPE"),i}function de(e,t){if(void 0!==e)return I(t)||(t=t?2:null),JSON.stringify(e,ue,t)}function pe(e){return R(e)?JSON.parse(e):e}function he(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function fe(e,t,n){n=n?-1:1;var i=he(t,e.getTimezoneOffset());return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,n*(i-e.getTimezoneOffset()))}function ge(e){e=c(e).clone();try{e.empty()}catch(n){}var t=c("<div>").append(e).html();try{return e[0].nodeType===Pe?o(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,(function(e,t){return"<"+o(t)}))}catch(n){return o(t)}}function me(e){try{return decodeURIComponent(e)}catch(t){}}function ve(e){var t={};return w((e||"").split("&"),(function(e){var n,i,r;e&&(i=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(i=e.substring(0,n),r=e.substring(n+1)),P(i=me(i))&&(r=!P(r)||me(r),a.call(t,i)?F(t[i])?t[i].push(r):t[i]=[t[i],r]:t[i]=r))})),t}function be(e){var t=[];return w(e,(function(e,n){F(e)?w(e,(function(e){t.push(Me(n,!0)+(!0===e?"":"="+Me(e,!0)))})):t.push(Me(n,!0)+(!0===e?"":"="+Me(e,!0)))})),t.length?t.join("&"):""}function ye(e){return Me(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Me(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var we=["ng-","data-ng-","ng:","x-ng-"];function Ce(n,i,r){q(r)||(r={}),r=T({strictDi:!1},r);var o=function(){if((n=c(n)).injector()){var e=n[0]===t?"document":ge(n);throw v("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"))}(i=i||[]).unshift(["$provide",function(e){e.value("$rootElement",n)}]),r.debugInfoEnabled&&i.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),i.unshift("ng");var o=Ot(i,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,i){e.$apply((function(){t.data("$injector",i),n(t)(e)}))}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&a.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!s.test(e.name))return o();e.name=e.name.replace(s,""),b.resumeBootstrap=function(e){return w(e,(function(e){i.push(e)})),o()},H(b.resumeDeferredBootstrap)&&b.resumeDeferredBootstrap()}function Ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function xe(e){var t=b.element(e).injector();if(!t)throw v("test","no injector found for element argument to getTestability");return t.get("$$testability")}var Se=/[A-Z]/g;function ze(e,t){return t=t||"_",e.replace(Se,(function(e,n){return(n?t:"")+e.toLowerCase()}))}var Te,ke=!1;function $e(e,t,n){if(!e)throw v("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function _e(e,t,n){return n&&F(e)&&(e=e[e.length-1]),$e(H(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function Oe(e,t){if("hasOwnProperty"===e)throw v("badname","hasOwnProperty is not a valid {0} name",t)}function Ee(e,t,n){if(!t)return e;for(var i=t.split("."),r=e,o=i.length,a=0;a<o;a++)e&&(e=(r=e)[i[a]]);return!n&&H(e)?ce(r,e):e}function Le(e){var t=e[0],n=e[e.length-1],i=[t];do{if(!(t=t.nextSibling))break;i.push(t)}while(t!==n);return c(i)}function Ne(){return Object.create(null)}var De=1,Pe=3;function qe(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):void 0===e?"undefined":"string"!=typeof e?function(e){var t=[];return JSON.stringify(e,(function(e,n){if(q(n=ue(e,n))){if(t.indexOf(n)>=0)return"<<already seen>>";t.push(n)}return n}))}(e):e}var We={full:"1.4.4",major:1,minor:4,dot:4,codeName:"pylon-requirement"};nt.expando="ng339";var Re=nt.cache={},Ie=1,Be=function(e,t,n){e.addEventListener(t,n,!1)},Fe=function(e,t,n){e.removeEventListener(t,n,!1)};nt._data=function(e){return this.cache[e[this.expando]]||{}};var He=/([\:\-\_]+(.))/g,Xe=/^moz([A-Z])/,je={mouseleave:"mouseout",mouseenter:"mouseover"},Ve=i("jqLite");function Ue(e){return e.replace(He,(function(e,t,n,i){return i?n.toUpperCase():n})).replace(Xe,"Moz$1")}var Ge=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Ye=/<|&#?\w+;/,Ke=/<([\w:]+)/,Qe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Je={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ze(e){return!Ye.test(e)}function et(e){var t=e.nodeType;return t===De||!t||9===t}function tt(e,t){var n,i,r,o,a=t.createDocumentFragment(),s=[];if(Ze(e))s.push(t.createTextNode(e));else{for(n=n||a.appendChild(t.createElement("div")),i=(Ke.exec(e)||["",""])[1].toLowerCase(),n.innerHTML=(r=Je[i]||Je._default)[1]+e.replace(Qe,"<$1></$2>")+r[2],o=r[0];o--;)n=n.lastChild;s=se(s,n.childNodes),(n=a.firstChild).textContent=""}return a.textContent="",a.innerHTML="",w(s,(function(e){a.appendChild(e)})),a}function nt(e){if(e instanceof nt)return e;var n,i,r,o;if(R(e)&&(e=Q(e),n=!0),!(this instanceof nt)){if(n&&"<"!=e.charAt(0))throw Ve("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new nt(e)}pt(this,n?(r=r||t,(o=Ge.exec(i=e))?[r.createElement(o[1])]:(o=tt(i,r))?o.childNodes:[]):e)}function it(e){return e.cloneNode(!0)}function rt(e,t){if(t||at(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),i=0,r=n.length;i<r;i++)at(n[i])}function ot(e,t,n,i){if(P(i))throw Ve("offargs","jqLite#off() does not support the `selector` argument");var r=st(e),o=r&&r.events,a=r&&r.handle;if(a)if(t)w(t.split(" "),(function(t){if(P(n)){var i=o[t];if(te(i||[],n),i&&i.length>0)return}Fe(e,t,a),delete o[t]}));else for(t in o)"$destroy"!==t&&Fe(e,t,a),delete o[t]}function at(e,t){var n=e.ng339,i=n&&Re[n];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),ot(e)),delete Re[n],e.ng339=void 0}}function st(e,t){var n=e.ng339,i=n&&Re[n];return t&&!i&&(e.ng339=n=++Ie,i=Re[n]={events:{},data:{},handle:void 0}),i}function lt(e,t,n){if(et(e)){var i=P(n),r=!i&&t&&!q(t),o=!t,a=st(e,!r),s=a&&a.data;if(i)s[t]=n;else{if(o)return s;if(r)return s&&s[t];T(s,t)}}}function ct(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function ut(e,t){t&&e.setAttribute&&w(t.split(" "),(function(t){e.setAttribute("class",Q((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Q(t)+" "," ")))}))}function dt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");w(t.split(" "),(function(e){e=Q(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")})),e.setAttribute("class",Q(n))}}function pt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var i=0;i<n;i++)e[e.length++]=t[i]}else e[e.length++]=t}}function ht(e,t){return ft(e,"$"+(t||"ngController")+"Controller")}function ft(e,t,n){9==e.nodeType&&(e=e.documentElement);for(var i=F(t)?t:[t];e;){for(var r=0,o=i.length;r<o;r++)if(void 0!==(n=c.data(e,i[r])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function gt(e){for(rt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function mt(e,t){t||rt(e);var n=e.parentNode;n&&n.removeChild(e)}Je.optgroup=Je.option,Je.tbody=Je.tfoot=Je.colgroup=Je.caption=Je.thead,Je.th=Je.td;var vt=nt.prototype={ready:function(n){var i=!1;function r(){i||(i=!0,n())}"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),nt(e).on("load",r))},toString:function(){var e=[];return w(this,(function(t){e.push(""+t)})),"["+e.join(", ")+"]"},eq:function(e){return c(e>=0?this[e]:this[this.length+e])},length:0,push:f,sort:[].sort,splice:[].splice},bt={};w("multiple,selected,checked,disabled,readOnly,required,open".split(","),(function(e){bt[o(e)]=e}));var yt={};w("input,select,option,textarea,button,form,details".split(","),(function(e){yt[e]=!0}));var Mt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function wt(e,t){var n=bt[t.toLowerCase()];return n&&yt[ee(e)]&&n}function Ct(){this.$get=function(){return T(nt,{hasClass:function(e,t){return e.attr&&(e=e[0]),ct(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),dt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),ut(e,t)}})}}function At(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var i=typeof e;return"function"==i||"object"==i&&null!==e?e.$$hashKey=i+":"+(t||x)():i+":"+e}function xt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}w(e,this.put,this)}w({data:lt,removeData:at,hasData:function(e){for(var t in Re[e.ng339])return!0;return!1}},(function(e,t){nt[t]=e})),w({data:lt,inheritedData:ft,scope:function(e){return c.data(e,"$scope")||ft(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return c.data(e,"$isolateScope")||c.data(e,"$isolateScopeNoTemplate")},controller:ht,injector:function(e){return ft(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ct,css:function(e,t,n){if(t=Ue(t),!P(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var i=e.nodeType;if(i!==Pe&&2!==i&&8!==i){var r=o(t);if(bt[r]){if(!P(n))return e[t]||(e.attributes.getNamedItem(t)||O).specified?r:void 0;n?(e[t]=!0,e.setAttribute(t,r)):(e[t]=!1,e.removeAttribute(r))}else if(P(n))e.setAttribute(t,n);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?void 0:a}}},prop:function(e,t,n){if(!P(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(D(t)){var n=e.nodeType;return n===De||n===Pe?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(D(t)){if(e.multiple&&"select"===ee(e)){var n=[];return w(e.options,(function(e){e.selected&&n.push(e.value||e.text)})),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(D(t))return e.innerHTML;rt(e,!0),e.innerHTML=t},empty:gt},(function(e,t){nt.prototype[t]=function(t,n){var i,r,o=this.length;if(e!==gt&&void 0===(2==e.length&&e!==ct&&e!==ht?t:n)){if(q(t)){for(i=0;i<o;i++)if(e===lt)e(this[i],t);else for(r in t)e(this[i],r,t[r]);return this}for(var a=e.$dv,s=void 0===a?Math.min(o,1):o,l=0;l<s;l++){var c=e(this[l],t,n);a=a?a+c:c}return a}for(i=0;i<o;i++)e(this[i],t,n);return this}})),w({removeData:at,on:function e(t,n,i,r){if(P(r))throw Ve("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(et(t)){var o=st(t,!0),a=o.events,s=o.handle;s||(s=o.handle=function(e,t){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var r=t[i||n.type],o=r?r.length:0;if(o){if(D(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped},o>1&&(r=ie(r));for(var s=0;s<o;s++)n.isImmediatePropagationStopped()||r[s].call(e,n)}};return n.elem=e,n}(t,a));for(var l=n.indexOf(" ")>=0?n.split(" "):[n],c=l.length;c--;){var u=a[n=l[c]];u||(a[n]=[],"mouseenter"===n||"mouseleave"===n?e(t,je[n],(function(e){var t=e.relatedTarget;t&&(t===this||this.contains(t))||s(e,n)})):"$destroy"!==n&&Be(t,n,s),u=a[n]),u.push(i)}}},off:ot,one:function(e,t,n){(e=c(e)).on(t,(function i(){e.off(t,n),e.off(t,i)})),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;rt(e),w(new nt(t),(function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t}))},children:function(e){var t=[];return w(e.childNodes,(function(e){e.nodeType===De&&t.push(e)})),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===De||11===n)for(var i=0,r=(t=new nt(t)).length;i<r;i++)e.appendChild(t[i])},prepend:function(e,t){if(e.nodeType===De){var n=e.firstChild;w(new nt(t),(function(t){e.insertBefore(t,n)}))}},wrap:function(e,t){t=c(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:mt,detach:function(e){mt(e,!0)},after:function(e,t){for(var n=e,i=e.parentNode,r=0,o=(t=new nt(t)).length;r<o;r++){var a=t[r];i.insertBefore(a,n.nextSibling),n=a}},addClass:dt,removeClass:ut,toggleClass:function(e,t,n){t&&w(t.split(" "),(function(t){var i=n;D(i)&&(i=!ct(e,t)),(i?dt:ut)(e,t)}))},parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:it,triggerHandler:function(e,t,n){var i,r,o,a=t.type||t,s=st(e),l=s&&s.events,c=l&&l[a];c&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:O,type:a,target:e},t.type&&(i=T(i,t)),r=ie(c),o=n?[i].concat(n):[i],w(r,(function(t){i.isImmediatePropagationStopped()||t.apply(e,o)})))}},(function(e,t){nt.prototype[t]=function(t,n,i){for(var r,o=0,a=this.length;o<a;o++)D(r)?P(r=e(this[o],t,n,i))&&(r=c(r)):pt(r,e(this[o],t,n,i));return P(r)?r:this},nt.prototype.bind=nt.prototype.on,nt.prototype.unbind=nt.prototype.off})),xt.prototype={put:function(e,t){this[At(e,this.nextUid)]=t},get:function(e){return this[At(e,this.nextUid)]},remove:function(e){var t=this[e=At(e,this.nextUid)];return delete this[e],t}};var St=[function(){this.$get=[function(){return xt}]}],zt=/^[^\(]*\(\s*([^\)]*)\)/m,Tt=/,/,kt=/^\s*(_?)(\S+?)\1\s*$/,$t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,_t=i("$injector");function Ot(e,t){t=!0===t;var n={},i=[],r=new xt([],!0),o={$provide:{provider:c(u),factory:c(h),service:c((function(e,t){return h(e,["$injector",function(e){return e.instantiate(t)}])})),value:c((function(e,t){return h(e,L(t),!1)})),constant:c((function(e,t){Oe(e,"constant"),o[e]=t,s[e]=t})),decorator:function(e,t){var n=a.get(e+"Provider"),i=n.$get;n.$get=function(){var e=l.invoke(i,n);return l.invoke(t,null,{$delegate:e})}}}},a=o.$injector=f(o,(function(e,t){throw b.isString(t)&&i.push(t),_t("unpr","Unknown provider: {0}",i.join(" <- "))})),s={},l=s.$injector=f(s,(function(e,t){var n=a.get(e+"Provider",t);return l.invoke(n.$get,n,void 0,e)}));return w(function e(t){$e(D(t)||F(t),"modulesToLoad","not an array");var n,i=[];return w(t,(function(t){if(!r.get(t)){r.put(t,!0);try{R(t)?(n=d(t),i=i.concat(e(n.requires)).concat(n._runBlocks),o(n._invokeQueue),o(n._configBlocks)):H(t)||F(t)?i.push(a.invoke(t)):_e(t,"module")}catch(s){throw F(t)&&(t=t[t.length-1]),s.message&&s.stack&&-1==s.stack.indexOf(s.message)&&(s=s.message+"\n"+s.stack),_t("modulerr","Failed to instantiate module {0} due to:\n{1}",t,s.stack||s.message||s)}}function o(e){var t,n;for(t=0,n=e.length;t<n;t++){var i=e[t],r=a.get(i[0]);r[i[1]].apply(r,i[2])}}})),i}(e),(function(e){e&&l.invoke(e)})),l;function c(e){return function(t,n){if(!q(t))return e(t,n);w(t,A(e))}}function u(e,t){if(Oe(e,"service"),(H(t)||F(t))&&(t=a.instantiate(t)),!t.$get)throw _t("pget","Provider '{0}' must define $get factory method.",e);return o[e+"Provider"]=t}function p(e,t){return function(){var n=l.invoke(t,this);if(D(n))throw _t("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function h(e,t,n){return u(e,{$get:!1!==n?p(e,t):t})}function f(e,r){function a(t,o){if(e.hasOwnProperty(t)){if(e[t]===n)throw _t("cdep","Circular dependency found: {0}",t+" <- "+i.join(" <- "));return e[t]}try{return i.unshift(t),e[t]=n,e[t]=r(t,o)}catch(a){throw e[t]===n&&delete e[t],a}finally{i.shift()}}function s(e,n,i,r){"string"==typeof i&&(r=i,i=null);var o,s,l,c=[],u=Ot.$$annotate(e,t,r);for(s=0,o=u.length;s<o;s++){if("string"!=typeof(l=u[s]))throw _t("itkn","Incorrect injection token! Expected service name as string, got {0}",l);c.push(i&&i.hasOwnProperty(l)?i[l]:a(l,r))}return F(e)&&(e=e[o]),e.apply(n,c)}return{invoke:s,instantiate:function(e,t,n){var i=Object.create((F(e)?e[e.length-1]:e).prototype||null),r=s(e,i,t,n);return q(r)||H(r)?r:i},get:a,annotate:Ot.$$annotate,has:function(t){return o.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}}function Et(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,i,r){var o=n.document;function a(e){if(e){e.scrollIntoView();var t=function(){var e=s.yOffset;if(H(e))e=e();else if(Z(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else I(e)||(e=0);return e}();if(t){var i=e.getBoundingClientRect().top;n.scrollBy(0,i-t)}}else n.scrollTo(0,0)}function s(e){var t,n,r;(e=R(e)?e:i.hash())?(t=o.getElementById(e))?a(t):(n=o.getElementsByName(e),r=null,Array.prototype.some.call(n,(function(e){if("a"===ee(e))return r=e,!0})),(t=r)?a(t):"top"===e&&a(null)):a(null)}return t&&r.$watch((function(){return i.hash()}),(function(t,n){var i,o;t===n&&""===t||(i=function(){r.$evalAsync(s)},"complete"===(o=o||e).document.readyState?o.setTimeout(i):c(o).on("load",i))})),s}]}Ot.$$annotate=function(e,t,n){var i,r;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw R(n)&&n||(n=e.name||function(e){var t=e.toString().replace($t,"").match(zt);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),_t("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);w(e.toString().replace($t,"").match(zt)[1].split(Tt),(function(e){e.replace(kt,(function(e,t,n){i.push(n)}))}))}e.$inject=i}}else F(e)?(_e(e[r=e.length-1],"fn"),i=e.slice(0,r)):_e(e,"fn",!0);return i};var Lt=i("$animate");function Nt(e,t){return e||t?e?t?(F(e)&&(e=e.join(" ")),F(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Dt(e){return q(e)?e:{}}var Pt=function(){this.$get=["$q","$$rAF",function(e,t){function n(){}return n.all=O,n.chain=O,n.prototype={end:O,cancel:O,resume:O,pause:O,complete:O,then:function(n,i){return e((function(e){t((function(){e()}))})).then(n,i)}},n}]},qt=function(){var e=new xt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){return{enabled:O,on:O,off:O,pin:O,push:function(r,o,a,s){return s&&s(),(a=a||{}).from&&r.css(a.from),a.to&&r.css(a.to),(a.addClass||a.removeClass)&&function(n,r,o){var a=e.get(n);a||(e.put(n,a={}),t.push(n));var s=function(e,t){var n=!1;return e&&w(e=R(e)?e.split(" "):F(e)?e:[],(function(e){e&&(n=!0,a[e]=t)})),n},l=s(r,!0),c=s(o,!1);!l&&!c||t.length>1||i.$$postDigest((function(){w(t,(function(t){var n=e.get(t);if(n){var i=function(e){R(e)&&(e=e.split(" "));var t=Ne();return w(e,(function(e){e.length&&(t[e]=!0)})),t}(t.attr("class")),r="",o="";w(n,(function(e,t){e!==!!i[t]&&(e?r+=(r.length?" ":"")+t:o+=(o.length?" ":"")+t)})),w(t,(function(e){r&&dt(e,r),o&&ut(e,o)})),e.remove(t)}})),t.length=0}))}(r,a.addClass,a.removeClass),new n}}}]},Wt=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw Lt("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var r=n+"-animation";t.$$registeredAnimations[n.substr(1)]=r,e.factory(r,i)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)ng-animate(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Lt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var i=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(1===n.nodeType)return n}}(n);!i||i.parentNode||i.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,i,r,o){return i=i&&c(i),r=r&&c(r),t(n,i=i||r.parent(),r),e.push(n,"enter",Dt(o))},move:function(n,i,r,o){return i=i&&c(i),r=r&&c(r),t(n,i=i||r.parent(),r),e.push(n,"move",Dt(o))},leave:function(t,n){return e.push(t,"leave",Dt(n),(function(){t.remove()}))},addClass:function(t,n,i){return(i=Dt(i)).addClass=Nt(i.addclass,n),e.push(t,"addClass",i)},removeClass:function(t,n,i){return(i=Dt(i)).removeClass=Nt(i.removeClass,n),e.push(t,"removeClass",i)},setClass:function(t,n,i,r){return(r=Dt(r)).addClass=Nt(r.addClass,n),r.removeClass=Nt(r.removeClass,i),e.push(t,"setClass",r)},animate:function(t,n,i,r,o){return(o=Dt(o)).from=o.from?T(o.from,n):n,o.to=o.to?T(o.to,i):i,o.tempClasses=Nt(o.tempClasses,r=r||"ng-inline-animate"),e.push(t,"animate",o)}}}]}],Rt=function(){this.$get=["$$rAF","$q",function(e,t){var n=function(){};return n.prototype={done:function(e){this.defer&&this.defer[!0===e?"reject":"resolve"]()},end:function(){this.done()},cancel:function(){this.done(!0)},getPromise:function(){return this.defer||(this.defer=t.defer()),this.defer.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)}},function(t,i){i.from&&(t.css(i.from),i.from=null);var r,o=new n;return{start:a,end:a};function a(){return e((function(){i.addClass&&(t.addClass(i.addClass),i.addClass=null),i.removeClass&&(t.removeClass(i.removeClass),i.removeClass=null),i.to&&(t.css(i.to),i.to=null),r||o.done(),r=!0})),o}}}]};function It(e,t,n,i){var r=this,o=e.location,a=e.history,s=e.setTimeout,l=e.clearTimeout,u={};r.isMock=!1;var d=0,p=[];function h(e){try{e.apply(null,le(arguments,1))}finally{if(0==--d)for(;p.length;)try{p.pop()()}catch(t){n.error(t)}}}r.$$completeOutstandingRequest=h,r.$$incOutstandingRequestCount=function(){d++},r.notifyWhenNoOutstandingRequests=function(e){0===d?e():p.push(e)};var f,g,m=o.href,v=t.find("base"),b=null;x(),g=f,r.url=function(t,n,s){if(D(s)&&(s=null),o!==e.location&&(o=e.location),a!==e.history&&(a=e.history),t){var l=g===s;if(m===t&&(!i.history||l))return r;var c=m&&_n(m)===_n(t);return m=t,g=s,!i.history||c&&l?(c&&!b||(b=t),n?o.replace(t):c?o.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t)}(t):o.href=t):(a[n?"replaceState":"pushState"](s,"",t),x(),g=f),r}return b||o.href.replace(/%27/g,"'")},r.state=function(){return f};var y=[],M=!1;function C(){x(),S()}var A=null;function x(){re(f=D(f=function(){try{return a.state}catch(e){}}())?null:f,A)&&(f=A),A=f}function S(){m===r.url()&&g===f||(m=r.url(),g=f,w(y,(function(e){e(r.url(),f)})))}r.onUrlChange=function(t){return M||(i.history&&c(e).on("popstate",C),c(e).on("hashchange",C),M=!0),y.push(t),t},r.$$applicationDestroyed=function(){c(e).off("hashchange popstate",C)},r.$$checkUrlChange=S,r.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},r.defer=function(e,t){var n;return d++,n=s((function(){delete u[n],h(e)}),t||0),u[n]=!0,n},r.defer.cancel=function(e){return!!u[e]&&(delete u[e],l(e),h(O),!0)}}function Bt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,i){return new It(e,i,t,n)}]}function Ft(){this.$get=function(){var e={};function t(t,n){if(t in e)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var r=0,o=T({},n,{id:t}),a={},s=n&&n.capacity||Number.MAX_VALUE,l={},c=null,u=null;return e[t]={put:function(e,t){if(!D(t))return s<Number.MAX_VALUE&&d(l[e]||(l[e]={key:e})),e in a||r++,a[e]=t,r>s&&this.remove(u.key),t},get:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;d(t)}return a[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;t==c&&(c=t.p),t==u&&(u=t.n),p(t.n,t.p),delete l[e]}delete a[e],r--},removeAll:function(){a={},r=0,l={},c=u=null},destroy:function(){a=null,o=null,l=null,delete e[t]},info:function(){return T({},o,{size:r})}};function d(e){e!=c&&(u?u==e&&(u=e.n):u=e,p(e.n,e.p),p(e,c),(c=e).n=null)}function p(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return w(e,(function(e,n){t[n]=e.info()})),t},t.get=function(t){return e[t]},t}}function Ht(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var Xt=i("$compile");function jt(e,n){var i={},r=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,s=/(([\w\-]+)(?:\:([^;]+))?;?)/,d=function(e){var t,n={},i="ngSrc,ngSrcset,src,srcset".split(",");for(t=0;t<i.length;t++)n[i[t]]=!0;return n}(),p=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,h=/^(on[a-z]+|formaction)$/;function f(e,t,n){var i=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,r={};return w(e,(function(e,o){var a=e.match(i);if(!a)throw Xt("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,o,e,n?"controller bindings definition":"isolate scope definition");r[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o}})),r}this.directive=function t(n,r){return Oe(n,"directive"),R(n)?(function(e){var t=e.charAt(0);if(!t||t!==o(t))throw Xt("baddir","Directive name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Xt("baddir","Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),$e(r,"directiveFactory"),i.hasOwnProperty(n)||(i[n]=[],e.factory(n+"Directive",["$injector","$exceptionHandler",function(e,t){var r=[];return w(i[n],(function(i,o){try{var a=e.invoke(i);H(a)?a={compile:L(a)}:!a.compile&&a.link&&(a.compile=L(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"EA";var s=a.$$bindings=function(e,t){var n={isolateScope:null,bindToController:null};if(q(e.scope)&&(!0===e.bindToController?(n.bindToController=f(e.scope,t,!0),n.isolateScope={}):n.isolateScope=f(e.scope,t,!1)),q(e.bindToController)&&(n.bindToController=f(e.bindToController,t,!0)),q(n.bindToController)){var i=e.controller,r=e.controllerAs;if(!i)throw Xt("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!function(e,t){if(t&&R(t))return t;if(R(e)){var n=Qt.exec(e);if(n)return n[3]}}(i,r))throw Xt("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}(a,a.name);q(s.isolateScope)&&(a.$$isolateBindings=s.isolateScope),a.$$moduleName=i.$$moduleName,r.push(a)}catch(l){t(l)}})),r}])),i[n].push(r)):w(n,A(t)),this},this.aHrefSanitizationWhitelist=function(e){return P(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return P(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var g=!0;this.debugInfoEnabled=function(e){return P(e)?(g=e,this):g},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,n,f,m,v,b,y,M,C,A,x){var S=function(e,t){if(t){var n,i,r,o=Object.keys(t);for(n=0,i=o.length;n<i;n++)this[r=o[n]]=t[r]}else this.$attr={};this.$$element=e};function z(e,t){try{e.addClass(t)}catch(n){}}S.prototype={$normalize:Ut,$addClass:function(e){e&&e.length>0&&A.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&A.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Gt(e,t);n&&n.length&&A.addClass(this.$$element,n);var i=Gt(t,e);i&&i.length&&A.removeClass(this.$$element,i)},$set:function(e,t,n,i){var r,o=this.$$element[0],a=wt(o,e),s=function(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&Mt[t]}(o,e),l=e;if(a?(this.$$element.prop(e,t),i=a):s&&(this[s]=t,l=s),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=ze(e,"-")),"a"===(r=ee(this.$$element))&&"href"===e||"img"===r&&"src"===e)this[e]=t=x(t,"src"===e);else if("img"===r&&"srcset"===e){for(var c="",u=Q(t),d=/\s/.test(u)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,p=u.split(d),h=Math.floor(p.length/2),g=0;g<h;g++){var m=2*g;c+=x(Q(p[m]),!0),c+=" "+Q(p[m+1])}var v=Q(p[2*g]).split(/\s/);c+=x(Q(v[0]),!0),2===v.length&&(c+=" "+Q(v[1])),this[e]=t=c}!1!==n&&(null==t?this.$$element.removeAttr(i):this.$$element.attr(i,t));var b=this.$$observers;b&&w(b[l],(function(e){try{e(t)}catch(n){f(n)}}))},$observe:function(e,t){var n=this,i=n.$$observers||(n.$$observers=Ne()),r=i[e]||(i[e]=[]);return r.push(t),y.$evalAsync((function(){r.$$inter||!n.hasOwnProperty(e)||D(n[e])||t(n[e])})),function(){te(r,t)}}};var k=n.startSymbol(),$=n.endSymbol(),L="{{"==k||"}}"==$?E:function(e){return e.replace(/\{\{/g,k).replace(/}}/g,$)},N=/^ngAttr[A-Z]/;return P.$$addBindingInfo=g?function(e,t){var n=e.data("$binding")||[];F(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:O,P.$$addBindingClass=g?function(e){z(e,"ng-binding")}:O,P.$$addScopeInfo=g?function(e,t,n,i){e.data(n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:O,P.$$addScopeClass=g?function(e,t){z(e,t?"ng-isolate-scope":"ng-scope")}:O,P;function P(e,t,n,i,r){e instanceof c||(e=c(e)),w(e,(function(t,n){t.nodeType==Pe&&t.nodeValue.match(/\S+/)&&(e[n]=c(t).wrap("<span></span>").parent()[0])}));var o=W(e,t,e,n,i,r);P.$$addScopeClass(e);var a=null;return function(t,n,i){$e(t,"scope");var r,s,l,u=(i=i||{}).parentBoundTranscludeFn,d=i.transcludeControllers;if(u&&u.$$boundTransclude&&(u=u.$$boundTransclude),a||(a=(s=(r=i.futureParentElement)&&r[0])&&"foreignobject"!==ee(s)&&s.toString().match(/SVG/)?"svg":"html"),l="html"!==a?c(oe(a,c("<div>").append(e).html())):n?vt.clone.call(e):e,d)for(var p in d)l.data("$"+p+"Controller",d[p].instance);return P.$$addScopeInfo(l,t),n&&n(l,t),o&&o(t,l,l,u),l}}function W(e,t,n,i,r,o){for(var a,s,l,u,d,p,h,f=[],g=0;g<e.length;g++)a=new S,(l=(s=B(e[g],[],a,0===g?i:void 0,r)).length?U(s,e[g],a,t,n,null,[],[],o):null)&&l.scope&&P.$$addScopeClass(a.$$element),d=l&&l.terminal||!(u=e[g].childNodes)||!u.length?null:W(u,l?(l.transcludeOnThisElement||!l.templateOnThisElement)&&l.transclude:t),(l||d)&&(f.push(g,l,d),p=!0,h=h||l),o=null;return p?function(e,n,i,r){var o,a,s,l,u,d,p,g;if(h)for(g=new Array(n.length),u=0;u<f.length;u+=3)g[p=f[u]]=n[p];else g=n;for(u=0,d=f.length;u<d;)if(s=g[f[u++]],o=f[u++],a=f[u++],o){if(o.scope){l=e.$new(),P.$$addScopeInfo(c(s),l);var m=o.$$destroyBindings;m&&(o.$$destroyBindings=null,l.$on("$destroyed",m))}else l=e;o(a,l,s,i,o.transcludeOnThisElement?I(e,o.transclude,r):!o.templateOnThisElement&&r?r:!r&&t?I(e,t):null,o)}else a&&a(e,s.childNodes,void 0,r)}:null}function I(e,t,n){return function(i,r,o,a,s){return i||((i=e.$new(!1,s)).$$transcluded=!0),t(i,r,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}}function B(e,t,i,o,a){var c,u,d=i.$attr;switch(e.nodeType){case De:Y(t,Ut(ee(e)),"E",o,a);for(var p,h,f,g,m,v,b=e.attributes,y=0,M=b&&b.length;y<M;y++){var w=!1,C=!1;h=(p=b[y]).name,m=Q(p.value),g=Ut(h),(v=N.test(g))&&(h=h.replace(Vt,"").substr(8).replace(/_(.)/g,(function(e,t){return t.toUpperCase()})));var A=g.replace(/(Start|End)$/,"");K(A)&&g===A+"Start"&&(w=h,C=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),d[f=Ut(h.toLowerCase())]=h,!v&&i.hasOwnProperty(f)||(i[f]=m,wt(e,f)&&(i[f]=!0)),ae(e,t,m,f,v),Y(t,f,"A",o,a,w,C)}if(q(u=e.className)&&(u=u.animVal),R(u)&&""!==u)for(;c=s.exec(u);)Y(t,f=Ut(c[2]),"C",o,a)&&(i[f]=Q(c[3])),u=u.substr(c.index+c[0].length);break;case Pe:if(11===l)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===Pe;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);!function(e,t){var i=n(t,!0);i&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&P.$$addBindingClass(t),function(e,t){var r=t.parent();n||P.$$addBindingClass(r),P.$$addBindingInfo(r,i.expressions),e.$watch(i,(function(e){t[0].nodeValue=e}))}}})}(t,e.nodeValue);break;case 8:try{(c=r.exec(e.nodeValue))&&Y(t,f=Ut(c[1]),"M",o,a)&&(i[f]=Q(c[2]))}catch(x){}}return t.sort(ne),t}function X(e,t,n){var i=[],r=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Xt("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==De&&(e.hasAttribute(t)&&r++,e.hasAttribute(n)&&r--),i.push(e),e=e.nextSibling}while(r>0);else i.push(e);return c(i)}function j(e,t,n){return function(i,r,o,a,s){return r=X(r[0],t,n),e(i,r,o,a,s)}}function U(e,n,i,r,o,a,s,l,u){u=u||{};for(var d,h,g,m,v,y=-Number.MAX_VALUE,M=u.newScopeDirective,w=u.controllerDirectives,C=u.newIsolateScopeDirective,A=u.templateDirective,x=u.nonTlbTranscludeDirective,z=!1,T=!1,k=u.hasElementTranscludeDirective,$=i.$$element=c(n),_=a,O=r,E=0,N=e.length;E<N;E++){var D=(d=e[E]).$$start,W=d.$$end;if(D&&($=X(n,D,W)),g=void 0,y>d.priority)break;if((v=d.scope)&&(d.templateUrl||(q(v)?(ie("new/isolated scope",C||M,d,$),C=d):ie("new/isolated scope",C,d,$)),M=M||d),h=d.name,!d.templateUrl&&d.controller&&(v=d.controller,w=w||Ne(),ie("'"+h+"' controller",w[h],d,$),w[h]=d),(v=d.transclude)&&(z=!0,d.$$tlb||(ie("transclusion",x,d,$),x=d),"element"==v?(k=!0,y=d.priority,g=$,$=i.$$element=c(t.createComment(" "+h+": "+i[h]+" ")),n=$[0],se(o,le(g),n),O=P(g,r,y,_&&_.name,{nonTlbTranscludeDirective:x})):(g=c(it(n)).contents(),$.empty(),O=P(g,r))),d.template)if(T=!0,ie("template",A,d,$),A=d,v=H(d.template)?d.template($,i):d.template,v=L(v),d.replace){if(_=d,g=Ze(v)?[]:Yt(oe(d.templateNamespace,Q(v))),n=g[0],1!=g.length||n.nodeType!==De)throw Xt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h,"");se(o,$,n);var I={$attr:{}},U=B(n,[],I),Y=e.splice(E+1,e.length-(E+1));C&&G(U),e=e.concat(U).concat(Y),J(i,I),N=e.length}else $.html(v);if(d.templateUrl)T=!0,ie("template",A,d,$),A=d,d.replace&&(_=d),te=Z(e.splice(E,e.length-E),$,i,o,z&&O,s,l,{controllerDirectives:w,newScopeDirective:M!==d&&M,newIsolateScopeDirective:C,templateDirective:A,nonTlbTranscludeDirective:x}),N=e.length;else if(d.compile)try{H(m=d.compile($,i,O))?K(null,m,D,W):m&&K(m.pre,m.post,D,W)}catch(ne){f(ne,ge($))}d.terminal&&(te.terminal=!0,y=Math.max(y,d.priority))}return te.scope=M&&!0===M.scope,te.transcludeOnThisElement=z,te.templateOnThisElement=T,te.transclude=O,u.hasElementTranscludeDirective=k,te;function K(e,t,n,i){e&&(n&&(e=j(e,n,i)),e.require=d.require,e.directiveName=h,(C===d||d.$$isolateScope)&&(e=ce(e,{isolateScope:!0})),s.push(e)),t&&(n&&(t=j(t,n,i)),t.require=d.require,t.directiveName=h,(C===d||d.$$isolateScope)&&(t=ce(t,{isolateScope:!0})),l.push(t))}function ee(e,t,n,i){var r;if(R(t)){var o=t.match(p),a=t.substring(o[0].length),s=o[1]||o[3],l="?"===o[2];if("^^"===s?n=n.parent():r=(r=i&&i[a])&&r.instance,!r){var c="$"+a+"Controller";r=s?n.inheritedData(c):n.data(c)}if(!r&&!l)throw Xt("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(F(t)){r=[];for(var u=0,d=t.length;u<d;u++)r[u]=ee(e,t[u],n,i)}return r||null}function te(e,t,r,o,a,u){var d,p,h,f,g,m,v,y,x;if(n===r?(x=i,y=i.$$element):(y=c(r),x=new S(y,i)),C&&(g=t.$new(!0)),a&&((v=function(e,t,n){var i;return V(e)||(n=t,t=e,e=void 0),k&&(i=m),n||(n=k?y.parent():y),a(e,t,i,n,O)}).$$boundTransclude=a),w&&(m=function(e,t,n,i,r,o){var a=Ne();for(var s in i){var l=i[s],c=l.controller;"@"==c&&(c=t[l.name]);var u=b(c,{$scope:l===C||l.$$isolateScope?r:o,$element:e,$attrs:t,$transclude:n},!0,l.controllerAs);a[l.name]=u,k||e.data("$"+l.name+"Controller",u.instance)}return a}(y,x,v,w,g,t)),C&&(P.$$addScopeInfo(y,g,!0,!(A&&(A===C||A===C.$$originalDirective))),P.$$addScopeClass(y,!0),g.$$isolateBindings=C.$$isolateBindings,de(t,x,g,g.$$isolateBindings,C,g)),m){var z,T,$=C||M;for(d in $&&m[$.name]&&(z=$.$$bindings.bindToController,(f=m[$.name])&&f.identifier&&z&&(T=f,u.$$destroyBindings=de(t,x,f.instance,z,$))),m){var _=(f=m[d])();_!==f.instance&&(f.instance=_,y.data("$"+d+"Controller",_),f===T&&(u.$$destroyBindings(),u.$$destroyBindings=de(t,x,_,z,$)))}}for(d=0,p=s.length;d<p;d++)ue(h=s[d],h.isolateScope?g:t,y,x,h.require&&ee(h.directiveName,h.require,y,m),v);var O=t;for(C&&(C.template||null===C.templateUrl)&&(O=g),e&&e(O,r.childNodes,void 0,a),d=l.length-1;d>=0;d--)ue(h=l[d],h.isolateScope?g:t,y,x,h.require&&ee(h.directiveName,h.require,y,m),v)}}function G(e){for(var t=0,n=e.length;t<n;t++)e[t]=_(e[t],{$$isolateScope:!0})}function Y(t,n,r,o,a,s,l){if(n===a)return null;var c=null;if(i.hasOwnProperty(n))for(var u,d=e.get(n+"Directive"),p=0,h=d.length;p<h;p++)try{u=d[p],(void 0===o||o>u.priority)&&-1!=u.restrict.indexOf(r)&&(s&&(u=_(u,{$$start:s,$$end:l})),t.push(u),c=u)}catch(g){f(g)}return c}function K(t){if(i.hasOwnProperty(t))for(var n=e.get(t+"Directive"),r=0,o=n.length;r<o;r++)if(n[r].multiElement)return!0;return!1}function J(e,t){var n=t.$attr,i=e.$attr,r=e.$$element;w(e,(function(i,r){"$"!=r.charAt(0)&&(t[r]&&t[r]!==i&&(i+=("style"===r?";":" ")+t[r]),e.$set(r,i,!0,n[r]))})),w(t,(function(t,o){"class"==o?(z(r,t),e.class=(e.class?e.class+" ":"")+t):"style"==o?(r.attr("style",r.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,i[o]=n[o])}))}function Z(e,t,n,i,r,o,a,s){var l,u,d=[],p=t[0],h=e.shift(),f=_(h,{templateUrl:null,transclude:null,replace:null,$$originalDirective:h}),g=H(h.templateUrl)?h.templateUrl(t,n):h.templateUrl,v=h.templateNamespace;return t.empty(),m(g).then((function(m){var b,y,M,C;if(m=L(m),h.replace){if(M=Ze(m)?[]:Yt(oe(v,Q(m))),b=M[0],1!=M.length||b.nodeType!==De)throw Xt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h.name,g);y={$attr:{}},se(i,t,b);var A=B(b,[],y);q(h.scope)&&G(A),e=A.concat(e),J(n,y)}else b=p,t.html(m);for(e.unshift(f),l=U(e,b,n,r,t,h,o,a,s),w(i,(function(e,n){e==b&&(i[n]=t[0])})),u=W(t[0].childNodes,r);d.length;){var x=d.shift(),S=d.shift(),T=d.shift(),k=d.shift(),$=t[0];if(!x.$$destroyed){if(S!==p){var _=S.className;s.hasElementTranscludeDirective&&h.replace||($=it(b)),se(T,c(S),$),z(c($),_)}C=l.transcludeOnThisElement?I(x,l.transclude,k):k,l(u,x,$,i,C,l)}}d=null})),function(e,t,n,i,r){var o=r;t.$$destroyed||(d?d.push(t,n,i,o):(l.transcludeOnThisElement&&(o=I(t,l.transclude,r)),l(u,t,n,i,o,l)))}}function ne(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function ie(e,t,n,i){function r(e){return e?" (module: "+e+")":""}if(t)throw Xt("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,r(t.$$moduleName),n.name,r(n.$$moduleName),e,ge(i))}function oe(e,n){switch(e=o(e||"html")){case"svg":case"math":var i=t.createElement("div");return i.innerHTML="<"+e+">"+n+"</"+e+">",i.childNodes[0].childNodes;default:return n}}function ae(e,t,i,r,o){var a=function(e,t){if("srcdoc"==t)return C.HTML;var n=ee(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?C.RESOURCE_URL:void 0}(e,r),s=n(i,!0,a,o=d[r]||o);if(s){if("multiple"===r&&"select"===ee(e))throw Xt("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ge(e));t.push({priority:100,compile:function(){return{pre:function(e,t,l){var c=l.$$observers||(l.$$observers={});if(h.test(r))throw Xt("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");var u=l[r];u!==i&&(s=u&&n(u,!0,a,o),i=u),s&&(l[r]=s(e),(c[r]||(c[r]=[])).$$inter=!0,(l.$$observers&&l.$$observers[r].$$scope||e).$watch(s,(function(e,t){"class"===r&&e!=t?l.$updateClass(e,t):l.$set(r,e)})))}}}})}}function se(e,n,i){var r,o,a=n[0],s=n.length,l=a.parentNode;if(e)for(r=0,o=e.length;r<o;r++)if(e[r]==a){e[r++]=i;for(var d=r,p=d+s-1,h=e.length;d<h;d++,p++)p<h?e[d]=e[p]:delete e[d];e.length-=s-1,e.context===a&&(e.context=i);break}l&&l.replaceChild(i,a);var f=t.createDocumentFragment();f.appendChild(a),c.hasData(a)&&(c(i).data(c(a).data()),u?(Te=!0,u.cleanData([a])):delete c.cache[a[c.expando]]);for(var g=1,m=n.length;g<m;g++){var v=n[g];c(v).remove(),f.appendChild(v),delete n[g]}n[0]=i,n.length=1}function ce(e,t){return T((function(){return e.apply(null,arguments)}),e,t)}function ue(e,t,n,i,r,o){try{e(t,n,i,r,o)}catch(a){f(a,ge(n))}}function de(e,t,i,r,o,s){var l;w(r,(function(r,s){var c,u,d,p,h=r.attrName,f=r.optional;switch(r.mode){case"@":f||a.call(t,h)||(i[s]=t[h]=void 0),t.$observe(h,(function(e){R(e)&&(i[s]=e)})),t.$$observers[h].$$scope=e,R(t[h])&&(i[s]=n(t[h])(e));break;case"=":if(!a.call(t,h)){if(f)break;t[h]=void 0}if(f&&!t[h])break;u=v(t[h]),p=u.literal?re:function(e,t){return e===t||e!=e&&t!=t},d=u.assign||function(){throw c=i[s]=u(e),Xt("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",t[h],o.name)},c=i[s]=u(e);var g,m=function(t){return p(t,i[s])||(p(t,c)?d(e,t=i[s]):i[s]=t),c=t};m.$stateful=!0,g=r.collection?e.$watchCollection(t[h],m):e.$watch(v(t[h],m),null,u.literal),(l=l||[]).push(g);break;case"&":if((u=t.hasOwnProperty(h)?v(t[h]):O)===O&&f)break;i[s]=function(t){return u(e,t)}}}));var c=l?function(){for(var e=0,t=l.length;e<t;++e)l[e]()}:O;return s&&c!==O?(s.$on("$destroy",c),O):c}}]}jt.$inject=["$provide","$$sanitizeUriProvider"];var Vt=/^((?:x|data)[\:\-_])/i;function Ut(e){return Ue(e.replace(Vt,""))}function Gt(e,t){var n="",i=e.split(/\s+/),r=t.split(/\s+/);e:for(var o=0;o<i.length;o++){for(var a=i[o],s=0;s<r.length;s++)if(a==r[s])continue e;n+=(n.length>0?" ":"")+a}return n}function Yt(e){var t=(e=c(e)).length;if(t<=1)return e;for(;t--;)8===e[t].nodeType&&h.call(e,t,1);return e}var Kt=i("$controller"),Qt=/^(\S+)(\s+as\s+(\w+))?$/;function Jt(){var e={},t=!1;this.register=function(t,n){Oe(t,"controller"),q(t)?T(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(n,r){return function(i,a,s,l){var c,u,d,p;if(s=!0===s,l&&R(l)&&(p=l),R(i)){if(!(u=i.match(Qt)))throw Kt("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",i);p=p||u[3],_e(i=e.hasOwnProperty(d=u[1])?e[d]:Ee(a.$scope,d,!0)||(t?Ee(r,d,!0):void 0),d,!0)}if(s){var h=(F(i)?i[i.length-1]:i).prototype;return c=Object.create(h||null),p&&o(a,p,c,d||i.name),T((function(){var e=n.invoke(i,c,a,d);return e!==c&&(q(e)||H(e))&&(c=e,p&&o(a,p,c,d||i.name)),c}),{instance:c,identifier:p})}return c=n.instantiate(i,a,d),p&&o(a,p,c,d||i.name),c};function o(e,t,n,r){if(!e||!q(e.$scope))throw i("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function Zt(){this.$get=["$window",function(e){return c(e.document)}]}function en(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var tn=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof c&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},nn={"Content-Type":"application/json;charset=utf-8"},rn=/^\[|^\{(?!\{)/,on={"[":/]$/,"{":/}$/},an=/^\)\]\}',?\n/,sn=i("$http"),ln=function(e){return function(){throw sn("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}};function cn(e){return q(e)?B(e)?e.toISOString():de(e):e}function un(){this.$get=function(){return function(e){if(!e)return"";var t=[];return C(e,(function(e,n){null===e||D(e)||(F(e)?w(e,(function(e,i){t.push(Me(n)+"="+Me(cn(e)))})):t.push(Me(n)+"="+Me(cn(e))))})),t.join("&")}}}function dn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,i,r){null===n||D(n)||(F(n)?w(n,(function(t,n){e(t,i+"["+(q(t)?n:"")+"]")})):q(n)&&!B(n)?C(n,(function(t,n){e(t,i+(r?"":"[")+n+(r?"":"]"))})):t.push(Me(i)+"="+Me(cn(n))))}(e,"",!0),t.join("&")}}}function pn(e,t){if(R(e)){var n=e.replace(an,"").trim();if(n){var i=t("Content-Type");(i&&0===i.indexOf("application/json")||(o=(r=n).match(rn))&&on[o[0]].test(r))&&(e=pe(n))}}var r,o;return e}function hn(e){var t,n=Ne();function i(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return R(e)?w(e.split("\n"),(function(e){t=e.indexOf(":"),i(o(Q(e.substr(0,t))),Q(e.substr(t+1)))})):q(e)&&w(e,(function(e,t){i(o(t),Q(e))})),n}function fn(e){var t;return function(n){if(t||(t=hn(e)),n){var i=t[o(n)];return void 0===i&&(i=null),i}return t}}function gn(e,t,n,i){return H(i)?i(e,t,n):(w(i,(function(i){e=i(e,t,n)})),e)}function mn(e){return 200<=e&&e<300}function vn(){var e=this.defaults={transformResponse:[pn],transformRequest:[function(e){return!q(e)||"[object File]"===g.call(e)||function(e){return"[object Blob]"===g.call(e)}(e)||function(e){return"[object FormData]"===g.call(e)}(e)?e:de(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ie(nn),put:ie(nn),patch:ie(nn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return P(e)?(t=!!e,this):t};var n=!0;this.useLegacyPromiseExtensions=function(e){return P(e)?(n=!!e,this):n};var r=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,l,c,u,d,p){var h=c("$http");e.paramSerializer=R(e.paramSerializer)?p.get(e.paramSerializer):e.paramSerializer;var f=[];function g(r){if(!b.isObject(r))throw i("$http")("badreq","Http request configuration must be an object.  Received: {0}",r);var c=T({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},r);c.headers=function(t){var n,i,r,a=e.headers,s=T({},t.headers);a=T({},a.common,a[o(t.method)]);e:for(n in a){for(r in i=o(n),s)if(o(r)===i)continue e;s[n]=a[n]}return function(e,t){var n,i={};return w(e,(function(e,r){H(e)?null!=(n=e(t))&&(i[r]=n):i[r]=e})),i}(s,ie(t))}(r),c.method=s(c.method),c.paramSerializer=R(c.paramSerializer)?p.get(c.paramSerializer):c.paramSerializer;var m=[function(n){var i=n.headers,r=gn(n.data,fn(i),void 0,n.transformRequest);return D(r)&&w(i,(function(e,t){"content-type"===o(t)&&delete i[t]})),D(n.withCredentials)&&!D(e.withCredentials)&&(n.withCredentials=e.withCredentials),function(n,i){var r,o,s=d.defer(),c=s.promise,p=n.headers,f=function(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}(n.url,n.paramSerializer(n.params));if(g.pendingRequests.push(n),c.then(y,y),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(r=q(n.cache)?n.cache:q(e.cache)?e.cache:h),r&&(P(o=r.get(f))?G(o)?o.then(b,b):F(o)?v(o[1],o[0],ie(o[2]),o[3]):v(o,200,{},"OK"):r.put(f,c)),D(o)){var m=Oi(n.url)?l()[n.xsrfCookieName||e.xsrfCookieName]:void 0;m&&(p[n.xsrfHeaderName||e.xsrfHeaderName]=m),a(n.method,f,i,(function(e,n,i,o){function a(){v(n,e,i,o)}r&&(mn(e)?r.put(f,[e,n,hn(i),o]):r.remove(f)),t?u.$applyAsync(a):(a(),u.$$phase||u.$apply())}),p,n.timeout,n.withCredentials,n.responseType)}return c;function v(e,t,i,r){(mn(t=Math.max(t,0))?s.resolve:s.reject)({data:e,status:t,headers:fn(i),config:n,statusText:r})}function b(e){v(e.data,e.status,ie(e.headers()),e.statusText)}function y(){var e=g.pendingRequests.indexOf(n);-1!==e&&g.pendingRequests.splice(e,1)}}(n,r).then(C,C)},void 0],v=d.when(c);for(w(f,(function(e){(e.request||e.requestError)&&m.unshift(e.request,e.requestError),(e.response||e.responseError)&&m.push(e.response,e.responseError)}));m.length;){var y=m.shift(),M=m.shift();v=v.then(y,M)}return n?(v.success=function(e){return _e(e,"fn"),v.then((function(t){e(t.data,t.status,t.headers,c)})),v},v.error=function(e){return _e(e,"fn"),v.then(null,(function(t){e(t.data,t.status,t.headers,c)})),v}):(v.success=ln("success"),v.error=ln("error")),v;function C(e){var t=T({},e);return t.data=e.data?gn(e.data,e.headers,e.status,c.transformResponse):e.data,mn(e.status)?t:d.reject(t)}}return w(r,(function(e){f.unshift(R(e)?p.get(e):p.invoke(e))})),g.pendingRequests=[],function(e){w(arguments,(function(e){g[e]=function(t,n){return g(T({},n||{},{method:e,url:t}))}}))}("get","delete","head","jsonp"),function(e){w(arguments,(function(e){g[e]=function(t,n,i){return g(T({},i||{},{method:e,url:t,data:n}))}}))}("post","put","patch"),g.defaults=e,g}]}function bn(){return new e.XMLHttpRequest}function yn(){this.$get=["$browser","$window","$document",function(e,t,n){return function(e,t,n,i,r){return function(a,s,l,c,u,d,p,h){if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==o(a)){var f="_"+(i.counter++).toString(36);i[f]=function(e){i[f].data=e,i[f].called=!0};var g=function(e,t,n){var o=r.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){Fe(o,"load",a),Fe(o,"error",a),r.body.removeChild(o),o=null;var s=-1,l="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},Be(o,"load",a),Be(o,"error",a),r.body.appendChild(o),a}(s.replace("JSON_CALLBACK","angular.callbacks."+f),f,(function(e,t){M(c,e,i[f].data,"",t),i[f]=O}))}else{var m=t();m.open(a,s,!0),w(u,(function(e,t){P(e)&&m.setRequestHeader(t,e)})),m.onload=function(){var e=m.statusText||"",t="response"in m?m.response:m.responseText,n=1223===m.status?204:m.status;0===n&&(n=t?200:"file"==_i(s).protocol?404:0),M(c,n,t,m.getAllResponseHeaders(),e)};var v=function(){M(c,-1,null,null,"")};if(m.onerror=v,m.onabort=v,p&&(m.withCredentials=!0),h)try{m.responseType=h}catch(C){if("json"!==h)throw C}m.send(l)}if(d>0)var b=n(y,d);else G(d)&&d.then(y);function y(){g&&g(),m&&m.abort()}function M(t,i,r,o,a){void 0!==b&&n.cancel(b),g=m=null,t(i,r,o,a),e.$$completeOutstandingRequest(O)}}}(e,bn,e.defer,t.angular.callbacks,n[0])}]}var Mn=b.$interpolateMinErr=i("$interpolate");function wn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,i,r){var o=e.length,a=t.length,s=new RegExp(e.replace(/./g,c),"g"),l=new RegExp(t.replace(/./g,c),"g");function c(e){return"\\\\\\"+e}function u(n){return n.replace(s,e).replace(l,t)}function d(s,l,c,d){d=!!d;for(var p,h,f,g=0,m=[],v=[],b=s.length,y=[],M=[];g<b;){if(-1==(p=s.indexOf(e,g))||-1==(h=s.indexOf(t,p+o))){g!==b&&y.push(u(s.substring(g)));break}g!==p&&y.push(u(s.substring(g,p))),f=s.substring(p+o,h),m.push(f),v.push(n(f,A)),g=h+a,M.push(y.length),y.push("")}if(c&&y.length>1&&Mn.throwNoconcat(s),!l||m.length){var w=function(e){for(var t=0,n=m.length;t<n;t++){if(d&&D(e[t]))return;y[M[t]]=e[t]}return y.join("")},C=function(e){return c?r.getTrusted(c,e):r.valueOf(e)};return T((function(e){var t=0,n=m.length,r=new Array(n);try{for(;t<n;t++)r[t]=v[t](e);return w(r)}catch(o){i(Mn.interr(s,o))}}),{exp:s,expressions:m,$$watchDelegate:function(e,t){var n;return e.$watchGroup(v,(function(i,r){var o=w(i);H(t)&&t.call(this,o,i!==r?n:o,e),n=o}))}})}function A(e){try{return e=C(e),d&&!P(e)?e:function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=de(e)}return e}(e)}catch(t){i(Mn.interr(s,t))}}}return d.startSymbol=function(){return e},d.endSymbol=function(){return t},d}]}function Cn(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,i){var r={};function o(o,a,s,l){var c=arguments.length>4,u=c?le(arguments,4):[],d=t.setInterval,p=t.clearInterval,h=0,f=P(l)&&!l,g=(f?i:n).defer(),m=g.promise;return s=P(s)?s:0,m.then(null,null,c?function(){o.apply(null,u)}:o),m.$$intervalId=d((function(){g.notify(h++),s>0&&h>=s&&(g.resolve(h),p(m.$$intervalId),delete r[m.$$intervalId]),f||e.$apply()}),a),r[m.$$intervalId]=g,m}return o.cancel=function(e){return!(!e||!(e.$$intervalId in r)||(r[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete r[e.$$intervalId],0))},o}]}Mn.throwNoconcat=function(e){throw Mn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},Mn.interr=function(e,t){return Mn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var An=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,xn={http:80,https:443,ftp:21},Sn=i("$location");function zn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ye(t[n]);return t.join("/")}function Tn(e,t){var n=_i(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=$(n.port)||xn[n.protocol]||null}function kn(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var i=_i(e);t.$$path=decodeURIComponent(n&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),t.$$search=ve(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function $n(e,t){if(0===t.indexOf(e))return t.substr(e.length)}function _n(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function On(e){return e.replace(/(#.+)|#$/,"$1")}function En(e,t,n){this.$$html5=!0,n=n||"",Tn(e,this),this.$$parse=function(e){var n=$n(t,e);if(!R(n))throw Sn("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);kn(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=be(this.$$search),n=this.$$hash?"#"+ye(this.$$hash):"";this.$$url=zn(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(void 0!==(o=$n(e,i))?(a=o,s=void 0!==(o=$n(n,o))?t+($n("/",o)||o):e+a):void 0!==(o=$n(t,i))?s=t+o:t==i+"/"&&(s=t),s&&this.$$parse(s),!!s);var o,a,s}}function Ln(e,t,n){Tn(e,this),this.$$parse=function(i){var r,o=$n(e,i)||$n(t,i);D(o)||"#"!==o.charAt(0)?this.$$html5?r=o:(r="",D(o)&&(e=i,this.replace())):D(r=$n(n,o))&&(r=o),kn(r,this),this.$$path=function(e,t,n){var i,r=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),r.exec(t)?e:(i=r.exec(e))?i[1]:e}(this.$$path,r,e),this.$$compose()},this.$$compose=function(){var t=be(this.$$search),i=this.$$hash?"#"+ye(this.$$hash):"";this.$$url=zn(this.$$path)+(t?"?"+t:"")+i,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return _n(e)==_n(t)&&(this.$$parse(t),!0)}}function Nn(e,t,n){this.$$html5=!0,Ln.apply(this,arguments),this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(e==_n(i)?o=i:(a=$n(t,i))?o=e+n+a:t===i+"/"&&(o=t),o&&this.$$parse(o),!!o);var o,a},this.$$compose=function(){var t=be(this.$$search),i=this.$$hash?"#"+ye(this.$$hash):"";this.$$url=zn(this.$$path)+(t?"?"+t:"")+i,this.$$absUrl=e+n+this.$$url}}var Dn={$$html5:!1,$$replace:!1,absUrl:Pn("$$absUrl"),url:function(e){if(D(e))return this.$$url;var t=An.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Pn("$$protocol"),host:Pn("$$host"),port:Pn("$$port"),path:qn("$$path",(function(e){return"/"==(e=null!==e?e.toString():"").charAt(0)?e:"/"+e})),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(R(e)||I(e))e=e.toString(),this.$$search=ve(e);else{if(!q(e))throw Sn("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");w(e=ne(e,{}),(function(t,n){null==t&&delete e[n]})),this.$$search=e}break;default:D(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:qn("$$hash",(function(e){return null!==e?e.toString():""})),replace:function(){return this.$$replace=!0,this}};function Pn(e){return function(){return this[e]}}function qn(e,t){return function(n){return D(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Wn(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return P(t)?(e=t,this):e},this.html5Mode=function(e){return U(e)?(t.enabled=e,this):q(e)?(U(e.enabled)&&(t.enabled=e.enabled),U(e.requireBase)&&(t.requireBase=e.requireBase),U(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,r,o,a){var s,l,u,d,p=i.baseHref(),h=i.url();if(t.enabled){if(!p&&t.requireBase)throw Sn("nobase","$location in HTML5 mode requires a <base> tag to be present!");u=(d=h).substring(0,d.indexOf("/",d.indexOf("//")+2))+(p||"/"),l=r.history?En:Nn}else u=_n(h),l=Ln;var f=function(e){return e.substr(0,_n(e).lastIndexOf("/")+1)}(u);(s=new l(u,f,"#"+e)).$$parseLinkUrl(h,h),s.$$state=i.state();var g=/^\s*(javascript|mailto):/i;function m(e,t,n){var r=s.url(),o=s.$$state;try{i.url(e,t,n),s.$$state=i.state()}catch(a){throw s.url(r),s.$$state=o,a}}o.on("click",(function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var r=c(e.target);"a"!==ee(r[0]);)if(r[0]===o[0]||!(r=r.parent())[0])return;var l=r.prop("href"),u=r.attr("href")||r.attr("xlink:href");q(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=_i(l.animVal).href),g.test(l)||!l||r.attr("target")||e.isDefaultPrevented()||s.$$parseLinkUrl(l,u)&&(e.preventDefault(),s.absUrl()!=i.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}})),On(s.absUrl())!=On(h)&&i.url(s.absUrl(),!0);var v=!0;return i.onUrlChange((function(e,t){D($n(f,e))?a.location.href=e:(n.$evalAsync((function(){var i,r=s.absUrl(),o=s.$$state;s.$$parse(e),s.$$state=t,i=n.$broadcast("$locationChangeStart",e,r,t,o).defaultPrevented,s.absUrl()===e&&(i?(s.$$parse(r),s.$$state=o,m(r,!1,o)):(v=!1,b(r,o)))})),n.$$phase||n.$digest())})),n.$watch((function(){var e=On(i.url()),t=On(s.absUrl()),o=i.state(),a=s.$$replace,l=e!==t||s.$$html5&&r.history&&o!==s.$$state;(v||l)&&(v=!1,n.$evalAsync((function(){var t=s.absUrl(),i=n.$broadcast("$locationChangeStart",t,e,s.$$state,o).defaultPrevented;s.absUrl()===t&&(i?(s.$$parse(e),s.$$state=o):(l&&m(t,a,o===s.$$state?null:s.$$state),b(e,o)))}))),s.$$replace=!1})),s;function b(e,t){n.$broadcast("$locationChangeSuccess",s.absUrl(),e,s.$$state,t)}}]}function Rn(){var e=!0,t=this;this.debugEnabled=function(t){return P(t)?(e=t,this):e},this.$get=["$window",function(n){return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:(i=o("debug"),function(){e&&i.apply(t,arguments)})};var i;function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},i=t[e]||t.log||O,o=!1;try{o=!!i.apply}catch(a){}return o?function(){var e=[];return w(arguments,(function(t){e.push(r(t))})),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}}]}w([Nn,Ln,En],(function(e){e.prototype=Object.create(Dn),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==En||!this.$$html5)throw Sn("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=D(t)?null:t,this}}));var In=i("$parse");function Bn(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw In("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Fn(e,t){if(e){if(e.constructor===e)throw In("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw In("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw In("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw In("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}var Hn=Function.prototype.call,Xn=Function.prototype.apply,jn=Function.prototype.bind;function Vn(e,t){if(e){if(e.constructor===e)throw In("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===Hn||e===Xn||e===jn)throw In("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}var Un=Ne();w("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(e){Un[e]=!0}));var Gn={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Yn=function(e){this.options=e};Yn.prototype={constructor:Yn,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),i=n+this.peek(2),r=Un[n],o=Un[i];if(Un[t]||r||o){var a=o?i:r?n:t;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||"\xa0"===e},isIdent:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var i=P(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw In("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,i,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=o(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var i=this.peek();if("e"==n&&this.isExpOperator(i))e+=n;else if(this.isExpOperator(n)&&i&&this.isNumber(i)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||i&&this.isNumber(i)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){for(var e=this.index;this.index<this.text.length;){var t=this.text.charAt(this.index);if(!this.isIdent(t)&&!this.isNumber(t))break;this.index++}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",i=e,r=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(i+=o,r){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else n+=Gn[o]||o;r=!1}else if("\\"===o)r=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:i,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var Kn=function(e,t){this.lexer=e,this.options=t};function Qn(e,t){return void 0!==e?e:t}function Jn(e,t){return void 0===e?t:void 0===t?e:e+t}function Zn(e,t){return!e(t).$stateful}function ei(e,t){var n,i;switch(e.type){case Kn.Program:n=!0,w(e.body,(function(e){ei(e.expression,t),n=n&&e.expression.constant})),e.constant=n;break;case Kn.Literal:e.constant=!0,e.toWatch=[];break;case Kn.UnaryExpression:ei(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Kn.BinaryExpression:ei(e.left,t),ei(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Kn.LogicalExpression:ei(e.left,t),ei(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Kn.ConditionalExpression:ei(e.test,t),ei(e.alternate,t),ei(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Kn.Identifier:e.constant=!1,e.toWatch=[e];break;case Kn.MemberExpression:ei(e.object,t),e.computed&&ei(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Kn.CallExpression:n=!!e.filter&&Zn(t,e.callee.name),i=[],w(e.arguments,(function(e){ei(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)})),e.constant=n,e.toWatch=e.filter&&Zn(t,e.callee.name)?i:[e];break;case Kn.AssignmentExpression:ei(e.left,t),ei(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Kn.ArrayExpression:n=!0,i=[],w(e.elements,(function(e){ei(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)})),e.constant=n,e.toWatch=i;break;case Kn.ObjectExpression:n=!0,i=[],w(e.properties,(function(e){ei(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)})),e.constant=n,e.toWatch=i;break;case Kn.ThisExpression:e.constant=!1,e.toWatch=[]}}function ti(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length||n[0]!==t?n:void 0}}function ni(e){return e.type===Kn.Identifier||e.type===Kn.MemberExpression}function ii(e){if(1===e.body.length&&ni(e.body[0].expression))return{type:Kn.AssignmentExpression,left:e.body[0].expression,right:{type:Kn.NGValueParameter},operator:"="}}function ri(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Kn.Literal||e.body[0].expression.type===Kn.ArrayExpression||e.body[0].expression.type===Kn.ObjectExpression)}function oi(e){return e.constant}function ai(e,t){this.astBuilder=e,this.$filter=t}function si(e,t){this.astBuilder=e,this.$filter=t}Kn.Program="Program",Kn.ExpressionStatement="ExpressionStatement",Kn.AssignmentExpression="AssignmentExpression",Kn.ConditionalExpression="ConditionalExpression",Kn.LogicalExpression="LogicalExpression",Kn.BinaryExpression="BinaryExpression",Kn.UnaryExpression="UnaryExpression",Kn.CallExpression="CallExpression",Kn.MemberExpression="MemberExpression",Kn.Identifier="Identifier",Kn.Literal="Literal",Kn.ArrayExpression="ArrayExpression",Kn.Property="Property",Kn.ObjectExpression="ObjectExpression",Kn.ThisExpression="ThisExpression",Kn.NGValueParameter="NGValueParameter",Kn.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Kn.Program,body:e}},expressionStatement:function(){return{type:Kn.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:Kn.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Kn.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Kn.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Kn.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Kn.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Kn.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Kn.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Kn.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Kn.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.constants.hasOwnProperty(this.peek().text)?e=ne(this.constants[this.consume().text]):this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:Kn.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Kn.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Kn.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Kn.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.expression())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Kn.Identifier,name:e.text}},constant:function(){return{type:Kn.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Kn.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Kn.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Kn.ObjectExpression,properties:t}},throwError:function(e,t){throw In("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw In("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw In("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,i){return this.peekAhead(0,e,t,n,i)},peekAhead:function(e,t,n,i,r){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===i||a===r||!t&&!n&&!i&&!r)return o}return!1},expect:function(e,t,n,i){var r=this.peek(e,t,n,i);return!!r&&(this.tokens.shift(),r)},constants:{true:{type:Kn.Literal,value:!0},false:{type:Kn.Literal,value:!1},null:{type:Kn.Literal,value:null},undefined:{type:Kn.Literal,value:void 0},this:{type:Kn.ThisExpression}}},ai.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ei(i,n.$filter);var r,o="";if(this.stage="assign",r=ii(i)){this.state.computing="assign";var a=this.nextId();this.recurse(r,a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=ti(i.body);n.stage="inputs",w(s,(function(e,t){var i="fn"+t;n.state[i]={vars:[],body:[],own:{}},n.state.computing=i;var r=n.nextId();n.recurse(e,r),n.return_(r),n.state.inputs.push(i),e.watchId=t})),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","ifDefined","plus","text",l)(this.$filter,Bn,Fn,Vn,Qn,Jn,e);return this.state=this.stage=void 0,c.literal=ri(i),c.constant=oi(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return w(t,(function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))})),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return w(this.state.filters,(function(n,i){e.push(n+"=$filter("+t.escape(i)+")")})),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,r,o){var a,s,l,c,u=this;if(i=i||O,!o&&P(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,r,!0));switch(e.type){case Kn.Program:w(e.body,(function(t,n){u.recurse(t.expression,void 0,void 0,(function(e){s=e})),n!==e.body.length-1?u.current().body.push(s,";"):u.return_(s)}));break;case Kn.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case Kn.UnaryExpression:this.recurse(e.argument,void 0,void 0,(function(e){s=e})),c=e.operator+"("+this.ifDefined(s,0)+")",this.assign(t,c),i(c);break;case Kn.BinaryExpression:this.recurse(e.left,void 0,void 0,(function(e){a=e})),this.recurse(e.right,void 0,void 0,(function(e){s=e})),c="+"===e.operator?this.plus(a,s):"-"===e.operator?this.ifDefined(a,0)+e.operator+this.ifDefined(s,0):"("+a+")"+e.operator+"("+s+")",this.assign(t,c),i(c);break;case Kn.LogicalExpression:t=t||this.nextId(),u.recurse(e.left,t),u.if_("&&"===e.operator?t:u.not(t),u.lazyRecurse(e.right,t)),i(t);break;case Kn.ConditionalExpression:t=t||this.nextId(),u.recurse(e.test,t),u.if_(t,u.lazyRecurse(e.alternate,t),u.lazyRecurse(e.consequent,t)),i(t);break;case Kn.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===u.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Bn(e.name),u.if_("inputs"===u.stage||u.not(u.getHasOwnProperty("l",e.name)),(function(){u.if_("inputs"===u.stage||"s",(function(){r&&1!==r&&u.if_(u.not(u.nonComputedMember("s",e.name)),u.lazyAssign(u.nonComputedMember("s",e.name),"{}")),u.assign(t,u.nonComputedMember("s",e.name))}))}),t&&u.lazyAssign(t,u.nonComputedMember("l",e.name))),(u.state.expensiveChecks||ci(e.name))&&u.addEnsureSafeObject(t),i(t);break;case Kn.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),u.recurse(e.object,a,void 0,(function(){u.if_(u.notNull(a),(function(){e.computed?(s=u.nextId(),u.recurse(e.property,s),u.addEnsureSafeMemberName(s),r&&1!==r&&u.if_(u.not(u.computedMember(a,s)),u.lazyAssign(u.computedMember(a,s),"{}")),c=u.ensureSafeObject(u.computedMember(a,s)),u.assign(t,c),n&&(n.computed=!0,n.name=s)):(Bn(e.property.name),r&&1!==r&&u.if_(u.not(u.nonComputedMember(a,e.property.name)),u.lazyAssign(u.nonComputedMember(a,e.property.name),"{}")),c=u.nonComputedMember(a,e.property.name),(u.state.expensiveChecks||ci(e.property.name))&&(c=u.ensureSafeObject(c)),u.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))}),(function(){u.assign(t,"undefined")})),i(t)}),!!r);break;case Kn.CallExpression:t=t||this.nextId(),e.filter?(s=u.filter(e.callee.name),l=[],w(e.arguments,(function(e){var t=u.nextId();u.recurse(e,t),l.push(t)})),c=s+"("+l.join(",")+")",u.assign(t,c),i(t)):(s=u.nextId(),l=[],u.recurse(e.callee,s,a={},(function(){u.if_(u.notNull(s),(function(){u.addEnsureSafeFunction(s),w(e.arguments,(function(e){u.recurse(e,u.nextId(),void 0,(function(e){l.push(u.ensureSafeObject(e))}))})),a.name?(u.state.expensiveChecks||u.addEnsureSafeObject(a.context),c=u.member(a.context,a.name,a.computed)+"("+l.join(",")+")"):c=s+"("+l.join(",")+")",c=u.ensureSafeObject(c),u.assign(t,c)}),(function(){u.assign(t,"undefined")})),i(t)})));break;case Kn.AssignmentExpression:if(s=this.nextId(),a={},!ni(e.left))throw In("lval","Trying to assing a value to a non l-value");this.recurse(e.left,void 0,a,(function(){u.if_(u.notNull(a.context),(function(){u.recurse(e.right,s),u.addEnsureSafeObject(u.member(a.context,a.name,a.computed)),c=u.member(a.context,a.name,a.computed)+e.operator+s,u.assign(t,c),i(t||c)}))}),1);break;case Kn.ArrayExpression:l=[],w(e.elements,(function(e){u.recurse(e,u.nextId(),void 0,(function(e){l.push(e)}))})),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case Kn.ObjectExpression:l=[],w(e.properties,(function(e){u.recurse(e.value,u.nextId(),void 0,(function(t){l.push(u.escape(e.key.type===Kn.Identifier?e.key.name:""+e.key.value)+":"+t)}))})),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case Kn.ThisExpression:this.assign(t,"s"),i("s");break;case Kn.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,i=this.current().own;return i.hasOwnProperty(n)||(i[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),i[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var i=this.current().body;i.push("if(",e,"){"),t(),i.push("}"),n&&(i.push("else{"),n(),i.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},lazyRecurse:function(e,t,n,i,r,o){var a=this;return function(){a.recurse(e,t,n,i,r,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(R(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(I(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw In("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},si.prototype={compile:function(e,t){var n,i,r=this,o=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ei(o,r.$filter),(n=ii(o))&&(i=this.recurse(n));var a,s=ti(o.body);s&&(a=[],w(s,(function(e,t){var n=r.recurse(e);e.input=n,a.push(n),e.watchId=t})));var l=[];w(o.body,(function(e){l.push(r.recurse(e.expression))}));var c=0===o.body.length?function(){}:1===o.body.length?l[0]:function(e,t){var n;return w(l,(function(i){n=i(e,t)})),n};return i&&(c.assign=function(e,t,n){return i(e,n,t)}),a&&(c.inputs=a),c.literal=ri(o),c.constant=oi(o),c},recurse:function(e,t,n){var i,r,o,a=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Kn.Literal:return this.value(e.value,t);case Kn.UnaryExpression:return r=this.recurse(e.argument),this["unary"+e.operator](r,t);case Kn.BinaryExpression:case Kn.LogicalExpression:return i=this.recurse(e.left),r=this.recurse(e.right),this["binary"+e.operator](i,r,t);case Kn.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Kn.Identifier:return Bn(e.name,a.expression),a.identifier(e.name,a.expensiveChecks||ci(e.name),t,n,a.expression);case Kn.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Bn(e.property.name,a.expression),r=e.property.name),e.computed&&(r=this.recurse(e.property)),e.computed?this.computedMember(i,r,t,n,a.expression):this.nonComputedMember(i,r,a.expensiveChecks,t,n,a.expression);case Kn.CallExpression:return o=[],w(e.arguments,(function(e){o.push(a.recurse(e))})),e.filter&&(r=this.$filter(e.callee.name)),e.filter||(r=this.recurse(e.callee,!0)),e.filter?function(e,n,i,a){for(var s=[],l=0;l<o.length;++l)s.push(o[l](e,n,i,a));var c=r.apply(void 0,s,a);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,i,s){var l,c=r(e,n,i,s);if(null!=c.value){Fn(c.context,a.expression),Vn(c.value,a.expression);for(var u=[],d=0;d<o.length;++d)u.push(Fn(o[d](e,n,i,s),a.expression));l=Fn(c.value.apply(c.context,u),a.expression)}return t?{value:l}:l};case Kn.AssignmentExpression:return i=this.recurse(e.left,!0,1),r=this.recurse(e.right),function(e,n,o,s){var l=i(e,n,o,s),c=r(e,n,o,s);return Fn(l.value,a.expression),l.context[l.name]=c,t?{value:c}:c};case Kn.ArrayExpression:return o=[],w(e.elements,(function(e){o.push(a.recurse(e))})),function(e,n,i,r){for(var a=[],s=0;s<o.length;++s)a.push(o[s](e,n,i,r));return t?{value:a}:a};case Kn.ObjectExpression:return o=[],w(e.properties,(function(e){o.push({key:e.key.type===Kn.Identifier?e.key.name:""+e.key.value,value:a.recurse(e.value)})})),function(e,n,i,r){for(var a={},s=0;s<o.length;++s)a[o[s].key]=o[s].value(e,n,i,r);return t?{value:a}:a};case Kn.ThisExpression:return function(e){return t?{value:e}:e};case Kn.NGValueParameter:return function(e,n,i,r){return t?{value:i}:i}}},"unary+":function(e,t){return function(n,i,r,o){var a=e(n,i,r,o);return a=P(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,i,r,o){var a=e(n,i,r,o);return a=P(a)?-a:0,t?{value:a}:a}},"unary!":function(e,t){return function(n,i,r,o){var a=!e(n,i,r,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(i,r,o,a){var s=Jn(e(i,r,o,a),t(i,r,o,a));return n?{value:s}:s}},"binary-":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a),l=t(i,r,o,a),c=(P(s)?s:0)-(P(l)?l:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)*t(i,r,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)/t(i,r,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)%t(i,r,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)===t(i,r,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)!==t(i,r,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)==t(i,r,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)!=t(i,r,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)<t(i,r,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)>t(i,r,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)<=t(i,r,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)>=t(i,r,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)&&t(i,r,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(i,r,o,a){var s=e(i,r,o,a)||t(i,r,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,i){return function(r,o,a,s){var l=e(r,o,a,s)?t(r,o,a,s):n(r,o,a,s);return i?{value:l}:l}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,i,r){return function(o,a,s,l){var c=a&&e in a?a:o;i&&1!==i&&c&&!c[e]&&(c[e]={});var u=c?c[e]:void 0;return t&&Fn(u,r),n?{context:c,name:e,value:u}:u}},computedMember:function(e,t,n,i,r){return function(o,a,s,l){var c,u,d=e(o,a,s,l);return null!=d&&(Bn(c=t(o,a,s,l),r),i&&1!==i&&d&&!d[c]&&(d[c]={}),Fn(u=d[c],r)),n?{context:d,name:c,value:u}:u}},nonComputedMember:function(e,t,n,i,r,o){return function(a,s,l,c){var u=e(a,s,l,c);r&&1!==r&&u&&!u[t]&&(u[t]={});var d=null!=u?u[t]:void 0;return(n||ci(t))&&Fn(d,o),i?{context:u,name:t,value:d}:d}},inputs:function(e,t){return function(n,i,r,o){return o?o[t]:e(n,i,r)}}};var li=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new Kn(this.lexer),this.astCompiler=n.csp?new si(this.ast,t):new ai(this.ast,t)};function ci(e){return"constructor"==e}li.prototype={constructor:li,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}},Ne(),Ne();var ui=Object.prototype.valueOf;function di(e){return H(e.valueOf)?e.valueOf():ui.call(e)}function pi(){var e=Ne(),t=Ne();this.$get=["$filter",function(n){var i=oe().noUnsafeEval,r={csp:i,expensiveChecks:!1},o={csp:i,expensiveChecks:!0};return function(i,a,p){var h,f,g;switch(typeof i){case"string":i=i.trim();var m=p?t:e;if(!(h=m[g=i])){":"===i.charAt(0)&&":"===i.charAt(1)&&(f=!0,i=i.substring(2));var v=p?o:r,b=new Yn(v);(h=new li(b,n,v).parse(i)).constant?h.$$watchDelegate=u:f?h.$$watchDelegate=h.literal?c:l:h.inputs&&(h.$$watchDelegate=s),m[g]=h}return d(h,a);case"function":return d(i,a);default:return O}};function a(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=di(e)))&&(e===t||e!=e&&t!=t)}function s(e,t,n,i,r){var o,s=i.inputs;if(1===s.length){var l=a;return s=s[0],e.$watch((function(e){var t=s(e);return a(t,l)||(o=i(e,void 0,void 0,[t]),l=t&&di(t)),o}),t,n,r)}for(var c=[],u=[],d=0,p=s.length;d<p;d++)c[d]=a,u[d]=null;return e.$watch((function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var l=s[n](e);(t||(t=!a(l,c[n])))&&(u[n]=l,c[n]=l&&di(l))}return t&&(o=i(e,void 0,void 0,u)),o}),t,n,r)}function l(e,t,n,i){var r,o;return r=e.$watch((function(e){return i(e)}),(function(e,n,i){o=e,H(t)&&t.apply(this,arguments),P(e)&&i.$$postDigest((function(){P(o)&&r()}))}),n)}function c(e,t,n,i){var r,o;return r=e.$watch((function(e){return i(e)}),(function(e,n,i){o=e,H(t)&&t.call(this,e,n,i),a(e)&&i.$$postDigest((function(){a(o)&&r()}))}),n);function a(e){var t=!0;return w(e,(function(e){P(e)||(t=!1)})),t}}function u(e,t,n,i){var r;return r=e.$watch((function(e){return i(e)}),(function(e,n,i){H(t)&&t.apply(this,arguments),r()}),n)}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,i=n!==c&&n!==l?function(n,i,r,o){var a=e(n,i,r,o);return t(a,n,i)}:function(n,i,r,o){var a=e(n,i,r,o),s=t(a,n,i);return P(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==s?i.$$watchDelegate=e.$$watchDelegate:t.$stateful||(i.$$watchDelegate=s,i.inputs=e.inputs?e.inputs:[e]),i}}]}function hi(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return gi((function(t){e.$evalAsync(t)}),t)}]}function fi(){this.$get=["$browser","$exceptionHandler",function(e,t){return gi((function(t){e.defer(t)}),t)}]}function gi(e,t){var n=i("$q",TypeError);function r(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(n){!n.processScheduled&&n.pending&&(n.processScheduled=!0,e((function(){!function(e){var n,i,r;r=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=r.length;o<a;++o){i=r[o][0],n=r[o][e.status];try{H(n)?i.resolve(n(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(s){i.reject(s),t(s)}}}(n)})))}function s(){this.promise=new r,this.resolve=o(this,this.resolve),this.reject=o(this,this.reject),this.notify=o(this,this.notify)}T(r.prototype,{then:function(e,t,n){if(D(e)&&D(t)&&D(n))return this;var i=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,e,t,n]),this.$$state.status>0&&a(this.$$state),i.promise},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then((function(t){return c(t,!0,e)}),(function(t){return c(t,!1,e)}),t)}}),T(s.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(n("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var n,i;i=function(e,t,n){var i=!1;function r(t){return function(n){i||(i=!0,t.call(e,n))}}return[r(t),r(n)]}(this,this.$$resolve,this.$$reject);try{(q(e)||H(e))&&(n=e&&e.then),H(n)?(this.promise.$$state.status=-1,n.call(e,i[0],i[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,a(this.promise.$$state))}catch(r){i[1](r),t(r)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,a(this.promise.$$state)},notify:function(n){var i=this.promise.$$state.pending;this.promise.$$state.status<=0&&i&&i.length&&e((function(){for(var e,r,o=0,a=i.length;o<a;o++){r=i[o][0],e=i[o][3];try{r.notify(H(e)?e(n):n)}catch(s){t(s)}}}))}});var l=function(e,t){var n=new s;return t?n.resolve(e):n.reject(e),n.promise},c=function(e,t,n){var i=null;try{H(n)&&(i=n())}catch(r){return l(r,!1)}return G(i)?i.then((function(){return l(e,t)}),(function(e){return l(e,!1)})):l(e,t)},u=function(e,t,n,i){var r=new s;return r.resolve(e),r.promise.then(t,n,i)},d=u,p=function e(t){if(!H(t))throw n("norslvr","Expected resolverFn, got '{0}'",t);if(!(this instanceof e))return new e(t);var i=new s;return t((function(e){i.resolve(e)}),(function(e){i.reject(e)})),i.promise};return p.defer=function(){return new s},p.reject=function(e){var t=new s;return t.reject(e),t.promise},p.when=u,p.resolve=d,p.all=function(e){var t=new s,n=0,i=F(e)?[]:{};return w(e,(function(e,r){n++,u(e).then((function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))}),(function(e){i.hasOwnProperty(r)||t.reject(e)}))})),0===n&&t.resolve(i),t.promise},p}function mi(){this.$get=["$window","$timeout",function(e,t){var n,i=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,o=!!i,a=o?function(e){var t=i(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};u.supported=o;var s=0,l=[];return u;function c(){for(var e=0;e<l.length;e++){var t=l[e];t&&(l[e]=null,t())}s=l.length=0}function u(e){var t=l.length;return s++,l.push(e),0===t&&(n=a(c)),function(){t>=0&&(l[t]=null,t=null,0==--s&&n&&(n(),n=null,l.length=0))}}}]}function vi(){var e=10,t=i("$rootScope"),n=null,r=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(i,o,s,l){function c(e){e.currentScope.$$destroyed=!0}function u(){this.$id=x(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}u.prototype={constructor:u,$new:function(e,t){var n;return t=t||this,e?(n=new u).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=x(),this.$$ChildScope=null}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!=this)&&n.$on("$destroy",c),n},$watch:function(e,t,i,r){var o=s(e);if(o.$$watchDelegate)return o.$$watchDelegate(this,t,i,o,e);var a=this,l=a.$$watchers,c={fn:t,last:y,get:o,exp:r||e,eq:!!i};return n=null,H(t)||(c.fn=O),l||(l=a.$$watchers=[]),l.unshift(c),v(this,1),function(){te(l,c)>=0&&v(a,-1),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),i=new Array(e.length),r=[],o=this,a=!1,s=!0;if(!e.length){var l=!0;return o.$evalAsync((function(){l&&t(i,i,o)})),function(){l=!1}}if(1===e.length)return this.$watch(e[0],(function(e,r,o){i[0]=e,n[0]=r,t(i,e===r?i:n,o)}));function c(){a=!1,s?(s=!1,t(i,i,o)):t(i,n,o)}return w(e,(function(e,t){var s=o.$watch(e,(function(e,r){i[t]=e,n[t]=r,a||(a=!0,o.$evalAsync(c))}));r.push(s)})),function(){for(;r.length;)r.shift()()}},$watchCollection:function(e,t){g.$stateful=!0;var n,i,r,o=this,l=t.length>1,c=0,u=s(e,g),d=[],p={},h=!0,f=0;function g(e){var t,r,o,a;if(!D(n=e)){if(q(n))if(M(n)){i!==d&&(f=(i=d).length=0,c++),f!==(t=n.length)&&(c++,i.length=f=t);for(var s=0;s<t;s++)o=n[s],(a=i[s])!=a&&o!=o||a===o||(c++,i[s]=o)}else{for(r in i!==p&&(i=p={},f=0,c++),t=0,n)n.hasOwnProperty(r)&&(t++,o=n[r],a=i[r],r in i?a!=a&&o!=o||a===o||(c++,i[r]=o):(f++,i[r]=o,c++));if(f>t)for(r in c++,i)n.hasOwnProperty(r)||(f--,delete i[r])}else i!==n&&(i=n,c++);return c}}return this.$watch(u,(function(){if(h?(h=!1,t(n,n,o)):t(n,r,o),l)if(q(n))if(M(n)){r=new Array(n.length);for(var e=0;e<n.length;e++)r[e]=n[e]}else for(var i in r={},n)a.call(n,i)&&(r[i]=n[i]);else r=n}))},$digest:function(){var i,a,s,c,u,f,v,b,M,w,A=e,x=[];g("$digest"),l.$$checkUrlChange(),this===d&&null!==r&&(l.defer.cancel(r),C()),n=null;do{for(f=!1,b=this;p.length;){try{(w=p.shift()).scope.$eval(w.expression,w.locals)}catch(S){o(S)}n=null}e:do{if(c=b.$$watchers)for(u=c.length;u--;)try{if(i=c[u])if((a=i.get(b))===(s=i.last)||(i.eq?re(a,s):"number"==typeof a&&"number"==typeof s&&isNaN(a)&&isNaN(s))){if(i===n){f=!1;break e}}else f=!0,n=i,i.last=i.eq?ne(a,null):a,i.fn(a,s===y?a:s,b),A<5&&(x[M=4-A]||(x[M]=[]),x[M].push({msg:H(i.exp)?"fn: "+(i.exp.name||i.exp.toString()):i.exp,newVal:a,oldVal:s}))}catch(S){o(S)}if(!(v=b.$$watchersCount&&b.$$childHead||b!==this&&b.$$nextSibling))for(;b!==this&&!(v=b.$$nextSibling);)b=b.$parent}while(b=v);if((f||p.length)&&!A--)throw m(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,x)}while(f||p.length);for(m();h.length;)try{h.shift()()}catch(S){o(S)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===d&&l.$$applicationDestroyed(),v(this,-this.$$watchersCount),this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=O,this.$on=this.$watch=this.$watchGroup=function(){return O},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}},$eval:function(e,t){return s(e)(this,t)},$evalAsync:function(e,t){d.$$phase||p.length||l.defer((function(){p.length&&d.$digest()})),p.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){h.push(e)},$apply:function(e){try{g("$apply");try{return this.$eval(e)}finally{m()}}catch(t){o(t)}finally{try{d.$digest()}catch(t){throw o(t),t}}},$applyAsync:function(e){var t=this;e&&f.push((function(){t.$eval(e)})),null===r&&(r=l.defer((function(){d.$apply(C)})))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var i=this;do{i.$$listenerCount[e]||(i.$$listenerCount[e]=0),i.$$listenerCount[e]++}while(i=i.$parent);var r=this;return function(){var i=n.indexOf(t);-1!==i&&(n[i]=null,b(r,1,e))}},$emit:function(e,t){var n,i,r,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=se([c],arguments,1);do{for(n=s.$$listeners[e]||a,c.currentScope=s,i=0,r=n.length;i<r;i++)if(n[i])try{n[i].apply(null,u)}catch(d){o(d)}else n.splice(i,1),i--,r--;if(l)return c.currentScope=null,c;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,i=n,r=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,l,c,u=se([a],arguments,1);i=r;){for(a.currentScope=i,l=0,c=(s=i.$$listeners[e]||[]).length;l<c;l++)if(s[l])try{s[l].apply(null,u)}catch(d){o(d)}else s.splice(l,1),l--,c--;if(!(r=i.$$listenerCount[e]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(r=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var d=new u,p=d.$$asyncQueue=[],h=d.$$postDigestQueue=[],f=d.$$applyAsyncQueue=[];return d;function g(e){if(d.$$phase)throw t("inprog","{0} already in progress",d.$$phase);d.$$phase=e}function m(){d.$$phase=null}function v(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function y(){}function C(){for(;f.length;)try{f.shift()()}catch(e){o(e)}r=null}}]}function bi(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return P(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return P(e)?(t=e,this):t},this.$get=function(){return function(n,i){var r,o=i?t:e;return""===(r=_i(n).href)||r.match(o)?n:"unsafe:"+r}}}var yi=i("$sce"),Mi={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function wi(e){var t=[];return P(e)&&w(e,(function(e){t.push(function(e){if("self"===e)return e;if(R(e)){if(e.indexOf("***")>-1)throw yi("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=J(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(X(e))return new RegExp("^"+e.source+"$");throw yi("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))})),t}function Ci(){this.SCE_CONTEXTS=Mi;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=wi(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=wi(e)),t},this.$get=["$injector",function(n){var i=function(e){throw yi("unsafe","Attempting to use an unsafe value in a safe context.")};function r(e,t){return"self"===e?Oi(t):!!e.exec(t.href)}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}n.has("$sanitize")&&(i=n.get("$sanitize"));var a=o(),s={};return s[Mi.HTML]=o(a),s[Mi.CSS]=o(a),s[Mi.URL]=o(a),s[Mi.JS]=o(a),s[Mi.RESOURCE_URL]=o(s[Mi.URL]),{trustAs:function(e,t){var n=s.hasOwnProperty(e)?s[e]:null;if(!n)throw yi("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null==t||""===t)return t;if("string"!=typeof t)throw yi("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(n,o){if(null==o||""===o)return o;var a=s.hasOwnProperty(n)?s[n]:null;if(a&&o instanceof a)return o.$$unwrapTrustedValue();if(n===Mi.RESOURCE_URL){if(function(n){var i,o,a=_i(n.toString()),s=!1;for(i=0,o=e.length;i<o;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;i<o;i++)if(r(t[i],a)){s=!1;break}return s}(o))return o;throw yi("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",o.toString())}if(n===Mi.HTML)return i(o);throw yi("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof a?e.$$unwrapTrustedValue():e}}}]}function Ai(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&l<8)throw yi("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ie(Mi);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=E),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,(function(t){return i.getTrusted(e,t)}))};var r=i.parseAs,a=i.getTrusted,s=i.trustAs;return w(Mi,(function(e,t){var n=o(t);i[Ue("parse_as_"+n)]=function(t){return r(e,t)},i[Ue("get_trusted_"+n)]=function(t){return a(e,t)},i[Ue("trust_as_"+n)]=function(t){return s(e,t)}})),i}]}function xi(){this.$get=["$window","$document",function(e,t){var n,i,r={},a=$((/android (\d+)/.exec(o((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),c=t[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,d=c.body&&c.body.style,p=!1,h=!1;if(d){for(var f in d)if(i=u.exec(f)){n=(n=i[0]).substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),p=!(!("transition"in d)&&!(n+"Transition"in d)),h=!(!("animation"in d)&&!(n+"Animation"in d)),!a||p&&h||(p=R(d.webkitTransition),h=R(d.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||a<4||s),hasEvent:function(e){if("input"===e&&l<=11)return!1;if(D(r[e])){var t=c.createElement("div");r[e]="on"+e in t}return r[e]},csp:oe(),vendorPrefix:n,transitions:p,animations:h,android:a}}]}function Si(){this.$get=["$templateCache","$http","$q","$sce",function(e,t,n,i){function r(o,a){r.totalPendingRequests++,R(o)&&e.get(o)||(o=i.getTrustedResourceUrl(o));var s=t.defaults&&t.defaults.transformResponse;return F(s)?s=s.filter((function(e){return e!==pn})):s===pn&&(s=null),t.get(o,{cache:e,transformResponse:s}).finally((function(){r.totalPendingRequests--})).then((function(t){return e.put(o,t.data),t.data}),(function(e){if(!a)throw Xt("tpload","Failed to load template: {0} (HTTP status: {1} {2})",o,e.status,e.statusText);return n.reject(e)}))}return r.totalPendingRequests=0,r}]}function zi(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){var i=e.getElementsByClassName("ng-binding"),r=[];return w(i,(function(e){var i=b.element(e).data("$binding");i&&w(i,(function(i){n?new RegExp("(^|\\s)"+J(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!=i.indexOf(t)&&r.push(e)}))})),r},findModels:function(e,t,n){for(var i=["ng-","data-ng-","ng\\:"],r=0;r<i.length;++r){var o=e.querySelectorAll("["+i[r]+"model"+(n?"=":"*=")+'"'+t+'"]');if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}function Ti(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,i,r){var o={};function a(a,s,l){H(a)||(l=s,s=a,a=O);var c,u=le(arguments,3),d=P(l)&&!l,p=(d?i:n).defer(),h=p.promise;return c=t.defer((function(){try{p.resolve(a.apply(null,u))}catch(t){p.reject(t),r(t)}finally{delete o[h.$$timeoutId]}d||e.$apply()}),s),h.$$timeoutId=c,o[c]=p,h}return a.cancel=function(e){return!(!e||!(e.$$timeoutId in o))&&(o[e.$$timeoutId].reject("canceled"),delete o[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},a}]}Xt=i("$compile");var ki=t.createElement("a"),$i=_i(e.location.href);function _i(e){var t=e;return l&&(ki.setAttribute("href",t),t=ki.href),ki.setAttribute("href",t),{href:ki.href,protocol:ki.protocol?ki.protocol.replace(/:$/,""):"",host:ki.host,search:ki.search?ki.search.replace(/^\?/,""):"",hash:ki.hash?ki.hash.replace(/^#/,""):"",hostname:ki.hostname,port:ki.port,pathname:"/"===ki.pathname.charAt(0)?ki.pathname:"/"+ki.pathname}}function Oi(e){var t=R(e)?_i(e):e;return t.protocol===$i.protocol&&t.host===$i.host}function Ei(){this.$get=L(e)}function Li(e){var t=e[0]||{},n={},i="";function r(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,o,a,s,l,c=t.cookie||"";if(c!==i)for(e=(i=c).split("; "),n={},a=0;a<e.length;a++)(s=(o=e[a]).indexOf("="))>0&&(l=r(o.substring(0,s)),void 0===n[l]&&(n[l]=r(o.substring(s+1))));return n}}function Ni(){this.$get=Li}function Di(e){function t(n,i){if(q(n)){var r={};return w(n,(function(e,n){r[n]=t(n,e)})),r}return e.factory(n+"Filter",i)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",Ri),t("date",Qi),t("filter",Pi),t("json",Ji),t("limitTo",tr),t("lowercase",Zi),t("number",Ii),t("orderBy",nr),t("uppercase",er)}function Pi(){return function(e,t,n){if(!M(e)){if(null==e)return e;throw i("filter")("notarray","Expected array but received: {0}",e)}var r,a;switch(Wi(t)){case"function":r=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":r=function(e,t,n){var i=q(e)&&"$"in e;return!0===t?t=re:H(t)||(t=function(e,t){return!(D(e)||(null===e||null===t?e!==t:q(t)||q(e)&&!N(e)||(e=o(""+e),t=o(""+t),-1===e.indexOf(t))))}),function(r){return i&&!q(r)?qi(r,e.$,t,!1):qi(r,e,t,n)}}(t,n,a);break;default:return e}return Array.prototype.filter.call(e,r)}}function qi(e,t,n,i,r){var o=Wi(e),a=Wi(t);if("string"===a&&"!"===t.charAt(0))return!qi(e,t.substring(1),n,i);if(F(e))return e.some((function(e){return qi(e,t,n,i)}));switch(o){case"object":var s;if(i){for(s in e)if("$"!==s.charAt(0)&&qi(e[s],t,n,!0))return!0;return!r&&qi(e,t,n,!1)}if("object"===a){for(s in t){var l=t[s];if(!H(l)&&!D(l)){var c="$"===s;if(!qi(c?e:e[s],l,n,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Wi(e){return null===e?"null":typeof e}function Ri(e){var t=e.NUMBER_FORMATS;return function(e,n,i){return D(n)&&(n=t.CURRENCY_SYM),D(i)&&(i=t.PATTERNS[1].maxFrac),null==e?e:Bi(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,i).replace(/\u00A4/g,n)}}function Ii(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Bi(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Bi(e,t,n,i,r){if(q(e))return"";var o=e<0,a=(e=Math.abs(e))===1/0;if(!a&&!isFinite(e))return"";var s=e+"",l="",c=!1,u=[];if(a&&(l="\u221e"),!a&&-1!==s.indexOf("e")){var d=s.match(/([\d\.]+)e(-?)(\d+)/);d&&"-"==d[2]&&d[3]>r+1?e=0:(l=s,c=!0)}if(a||c)r>0&&e<1&&(l=e.toFixed(r),e=parseFloat(l));else{var p=(s.split(".")[1]||"").length;D(r)&&(r=Math.min(Math.max(t.minFrac,p),t.maxFrac));var h=(""+(e=+(Math.round(+(e.toString()+"e"+r)).toString()+"e"+-r))).split("."),f=h[0];h=h[1]||"";var g,m=0,v=t.lgSize,b=t.gSize;if(f.length>=v+b)for(m=f.length-v,g=0;g<m;g++)(m-g)%b==0&&0!==g&&(l+=n),l+=f.charAt(g);for(g=m;g<f.length;g++)(f.length-g)%v==0&&0!==g&&(l+=n),l+=f.charAt(g);for(;h.length<r;)h+="0";r&&"0"!==r&&(l+=i+h.substr(0,r))}return 0===e&&(o=!1),u.push(o?t.negPre:t.posPre,l,o?t.negSuf:t.posSuf),u.join("")}function Fi(e,t,n){var i="";for(e<0&&(i="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),i+e}function Hi(e,t,n,i){return n=n||0,function(r){var o=r["get"+e]();return(n>0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Fi(o,t,i)}}function Xi(e,t){return function(n,i){var r=n["get"+e]();return i[s(t?"SHORT"+e:e)][r]}}function ji(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Vi(e){return function(t){var n,i=ji(t.getFullYear()),r=(n=t,new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay())));return Fi(1+Math.round((+r-+i)/6048e5),e)}}function Ui(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}Li.$inject=["$document"],Di.$inject=["$provide"],Ri.$inject=["$locale"],Ii.$inject=["$locale"];var Gi={yyyy:Hi("FullYear",4),yy:Hi("FullYear",2,0,!0),y:Hi("FullYear",1),MMMM:Xi("Month"),MMM:Xi("Month",!0),MM:Hi("Month",2,1),M:Hi("Month",1,1),dd:Hi("Date",2),d:Hi("Date",1),HH:Hi("Hours",2),H:Hi("Hours",1),hh:Hi("Hours",2,-12),h:Hi("Hours",1,-12),mm:Hi("Minutes",2),m:Hi("Minutes",1),ss:Hi("Seconds",2),s:Hi("Seconds",1),sss:Hi("Milliseconds",3),EEEE:Xi("Day"),EEE:Xi("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var i=-1*n;return(i>=0?"+":"")+(Fi(Math[i>0?"floor":"ceil"](i/60),2)+Fi(Math.abs(i%60),2))},ww:Vi(2),w:Vi(1),G:Ui,GG:Ui,GGG:Ui,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},Yi=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Ki=/^\-?\d+$/;function Qi(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,r){var o,a,s="",l=[];if(i=e.DATETIME_FORMATS[i=i||"mediumDate"]||i,R(n)&&(n=Ki.test(n)?$(n):function(e){var n;if(n=e.match(t)){var i=new Date(0),r=0,o=0,a=n[8]?i.setUTCFullYear:i.setFullYear,s=n[8]?i.setUTCHours:i.setHours;n[9]&&(r=$(n[9]+n[10]),o=$(n[9]+n[11])),a.call(i,$(n[1]),$(n[2])-1,$(n[3]));var l=$(n[4]||0)-r,c=$(n[5]||0)-o,u=$(n[6]||0),d=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(i,l,c,u,d),i}return e}(n)),I(n)&&(n=new Date(n)),!B(n)||!isFinite(n.getTime()))return n;for(;i;)(a=Yi.exec(i))?i=(l=se(l,a,1)).pop():(l.push(i),i=null);var c=n.getTimezoneOffset();return r&&(c=he(r,n.getTimezoneOffset()),n=fe(n,r,!0)),w(l,(function(t){s+=(o=Gi[t])?o(n,e.DATETIME_FORMATS,c):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),s}}function Ji(){return function(e,t){return D(t)&&(t=2),de(e,t)}}Qi.$inject=["$locale"];var Zi=L(o),er=L(s);function tr(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):$(t),isNaN(t)?e:(I(e)&&(e=e.toString()),F(e)||R(e)?(n=(n=!n||isNaN(n)?0:$(n))<0&&n>=-e.length?e.length+n:n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function nr(e){return function(i,r,o){if(!M(i))return i;F(r)||(r=[r]),0===r.length&&(r=["+"]);var a=function(t,n){return n=n?-1:1,t.map((function(t){var i=1,r=E;if(H(t))r=t;else if(R(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(i="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t)).constant)){var o=r();r=function(e){return e[o]}}return{get:r,descending:i*n}}))}(r,o);a.push({get:function(){return{}},descending:o?-1:1});var s=Array.prototype.map.call(i,(function(e,n){return{value:e,predicateValues:a.map((function(i){return function(e,n){var i=typeof e;return null===e?(i="string",e="null"):"string"===i?e=e.toLowerCase():"object"===i&&(e=function(e,n){return"function"==typeof e.valueOf&&t(e=e.valueOf())||N(e)&&t(e=e.toString())?e:n}(e,n)),{value:e,type:i}}(i.get(e),n)}))}}));return s.sort((function(e,t){for(var i=0,r=0,o=a.length;r<o&&!(i=n(e.predicateValues[r],t.predicateValues[r])*a[r].descending);++r);return i})),s.map((function(e){return e.value}))};function t(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function n(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.value<t.value?-1:1):n=e.type<t.type?-1:1,n}}function ir(e){return H(e)&&(e={link:e}),e.restrict=e.restrict||"AC",L(e)}nr.$inject=["$parse"];var rr=L({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===g.call(t.prop("href"))?"xlink:href":"href";t.on("click",(function(e){t.attr(n)||e.preventDefault()}))}}}}),or={};w(bt,(function(e,t){if("multiple"!=e){var n=Ut("ng-"+t),i=r;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[n]&&r(e,0,i)}),or[n]=function(){return{restrict:"A",priority:100,link:i}}}function r(e,i,r){e.$watch(r[n],(function(e){r.$set(t,!!e)}))}})),w(Mt,(function(e,t){or[t]=function(){return{priority:100,link:function(e,n,i){if("ngPattern"===t&&"/"==i.ngPattern.charAt(0)){var o=i.ngPattern.match(r);if(o)return void i.$set("ngPattern",new RegExp(o[1],o[2]))}e.$watch(i[t],(function(e){i.$set(t,e)}))}}}})),w(["src","srcset","href"],(function(e){var t=Ut("ng-"+e);or[t]=function(){return{priority:99,link:function(n,i,r){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===g.call(i.prop("href"))&&(r.$attr[a="xlinkHref"]="xlink:href",o=null),r.$observe(t,(function(t){t?(r.$set(a,t),l&&o&&i.prop(o,r[a])):"href"===e&&r.$set(a,null)}))}}}}));var ar={$addControl:O,$$renameControl:function(e,t){e.$name=t},$removeControl:O,$setValidity:O,$setDirty:O,$setPristine:O,$setSubmitted:O};function sr(e,t,n,i,r){var o=this,a=[],s=o.$$parentForm=e.parent().controller("form")||ar;o.$error={},o.$$success={},o.$pending=void 0,o.$name=r(t.name||t.ngForm||"")(n),o.$dirty=!1,o.$pristine=!0,o.$valid=!0,o.$invalid=!1,o.$submitted=!1,s.$addControl(o),o.$rollbackViewValue=function(){w(a,(function(e){e.$rollbackViewValue()}))},o.$commitViewValue=function(){w(a,(function(e){e.$commitViewValue()}))},o.$addControl=function(e){Oe(e.$name,"input"),a.push(e),e.$name&&(o[e.$name]=e)},o.$$renameControl=function(e,t){var n=e.$name;o[n]===e&&delete o[n],o[t]=e,e.$name=t},o.$removeControl=function(e){e.$name&&o[e.$name]===e&&delete o[e.$name],w(o.$pending,(function(t,n){o.$setValidity(n,null,e)})),w(o.$error,(function(t,n){o.$setValidity(n,null,e)})),w(o.$$success,(function(t,n){o.$setValidity(n,null,e)})),te(a,e)},to({ctrl:this,$element:e,set:function(e,t,n){var i=e[t];i?-1===i.indexOf(n)&&i.push(n):e[t]=[n]},unset:function(e,t,n){var i=e[t];i&&(te(i,n),0===i.length&&delete e[t])},parentForm:s,$animate:i}),o.$setDirty=function(){i.removeClass(e,Gr),i.addClass(e,Yr),o.$dirty=!0,o.$pristine=!1,s.$setDirty()},o.$setPristine=function(){i.setClass(e,Gr,Yr+" ng-submitted"),o.$dirty=!1,o.$pristine=!0,o.$submitted=!1,w(a,(function(e){e.$setPristine()}))},o.$setUntouched=function(){w(a,(function(e){e.$setUntouched()}))},o.$setSubmitted=function(){i.addClass(e,"ng-submitted"),o.$submitted=!0,s.$setSubmitted()}}sr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var lr=function(e){return["$timeout","$parse",function(t,n){return{name:"form",restrict:e?"EAC":"E",controller:sr,compile:function(n,r){n.addClass(Gr).addClass(Ur);var o=r.name?"name":!(!e||!r.ngForm)&&"ngForm";return{pre:function(e,n,r,a){if(!("action"in r)){var s=function(t){e.$apply((function(){a.$commitViewValue(),a.$setSubmitted()})),t.preventDefault()};Be(n[0],"submit",s),n.on("$destroy",(function(){t((function(){Fe(n[0],"submit",s)}),0,!1)}))}var l=a.$$parentForm,c=o?i(a.$name):O;o&&(c(e,a),r.$observe(o,(function(t){a.$name!==t&&(c(e,void 0),l.$$renameControl(a,t),(c=i(a.$name))(e,a))}))),n.on("$destroy",(function(){l.$removeControl(a),c(e,void 0),T(a,ar)}))}}}};function i(e){return""===e?n('this[""]').assign:n(e).assign||O}}]},cr=lr(),ur=lr(!0),dr=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,pr=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,hr=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,fr=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,gr=/^(\d{4})-(\d{2})-(\d{2})$/,mr=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,vr=/^(\d{4})-W(\d\d)$/,br=/^(\d{4})-(\d\d)$/,yr=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Mr={text:function(e,t,n,i,r,o){Cr(0,t,n,i,r,o),wr(i)},date:xr("date",gr,Ar(gr,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":xr("datetimelocal",mr,Ar(mr,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:xr("time",yr,Ar(yr,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:xr("week",vr,(function(e,t){if(B(e))return e;if(R(e)){vr.lastIndex=0;var n=vr.exec(e);if(n){var i=+n[1],r=+n[2],o=0,a=0,s=0,l=0,c=ji(i),u=7*(r-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(i,0,c.getDate()+u,o,a,s,l)}}return NaN}),"yyyy-Www"),month:xr("month",br,Ar(br,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,i,r,o){var a,s;Sr(0,t,0,i),Cr(0,t,n,i,r,o),i.$$parserName="number",i.$parsers.push((function(e){return i.$isEmpty(e)?null:fr.test(e)?parseFloat(e):void 0})),i.$formatters.push((function(e){if(!i.$isEmpty(e)){if(!I(e))throw Kr("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})),(P(n.min)||n.ngMin)&&(i.$validators.min=function(e){return i.$isEmpty(e)||D(a)||e>=a},n.$observe("min",(function(e){P(e)&&!I(e)&&(e=parseFloat(e,10)),a=I(e)&&!isNaN(e)?e:void 0,i.$validate()}))),(P(n.max)||n.ngMax)&&(i.$validators.max=function(e){return i.$isEmpty(e)||D(s)||e<=s},n.$observe("max",(function(e){P(e)&&!I(e)&&(e=parseFloat(e,10)),s=I(e)&&!isNaN(e)?e:void 0,i.$validate()})))},url:function(e,t,n,i,r,o){Cr(0,t,n,i,r,o),wr(i),i.$$parserName="url",i.$validators.url=function(e,t){var n=e||t;return i.$isEmpty(n)||pr.test(n)}},email:function(e,t,n,i,r,o){Cr(0,t,n,i,r,o),wr(i),i.$$parserName="email",i.$validators.email=function(e,t){var n=e||t;return i.$isEmpty(n)||hr.test(n)}},radio:function(e,t,n,i){D(n.name)&&t.attr("name",x()),t.on("click",(function(e){t[0].checked&&i.$setViewValue(n.value,e&&e.type)})),i.$render=function(){t[0].checked=n.value==i.$viewValue},n.$observe("value",i.$render)},checkbox:function(e,t,n,i,r,o,a,s){var l=zr(s,e,"ngTrueValue",n.ngTrueValue,!0),c=zr(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",(function(e){i.$setViewValue(t[0].checked,e&&e.type)})),i.$render=function(){t[0].checked=i.$viewValue},i.$isEmpty=function(e){return!1===e},i.$formatters.push((function(e){return re(e,l)})),i.$parsers.push((function(e){return e?l:c}))},hidden:O,button:O,submit:O,reset:O,file:O};function wr(e){e.$formatters.push((function(t){return e.$isEmpty(t)?t:t.toString()}))}function Cr(e,t,n,i,r,a){var s=o(t[0].type);if(!r.android){var l=!1;t.on("compositionstart",(function(e){l=!0})),t.on("compositionend",(function(){l=!1,c()}))}var c=function(e){if(u&&(a.defer.cancel(u),u=null),!l){var r=t.val(),o=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(r=Q(r)),(i.$viewValue!==r||""===r&&i.$$hasNativeValidators)&&i.$setViewValue(r,o)}};if(r.hasEvent("input"))t.on("input",c);else{var u,d=function(e,t,n){u||(u=a.defer((function(){u=null,t&&t.value===n||c(e)})))};t.on("keydown",(function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||d(e,this,this.value)})),r.hasEvent("paste")&&t.on("paste cut",d)}t.on("change",c),i.$render=function(){var e=i.$isEmpty(i.$viewValue)?"":i.$viewValue;t.val()!==e&&t.val(e)}}function Ar(e,t){return function(n,i){var r,o;if(B(n))return n;if(R(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),dr.test(n))return new Date(n);if(e.lastIndex=0,r=e.exec(n))return r.shift(),o=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},w(r,(function(e,n){n<t.length&&(o[t[n]]=+e)})),new Date(o.yyyy,o.MM-1,o.dd,o.HH,o.mm,o.ss||0,1e3*o.sss||0)}return NaN}}function xr(e,t,n,i){return function(r,o,a,s,l,c,u){Sr(0,o,0,s),Cr(0,o,a,s,l,c);var d,p,h,f=s&&s.$options&&s.$options.timezone;function g(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function m(e){return P(e)?B(e)?e:n(e):void 0}s.$$parserName=e,s.$parsers.push((function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var i=n(e,d);return f&&(i=fe(i,f)),i}})),s.$formatters.push((function(e){if(e&&!B(e))throw Kr("datefmt","Expected `{0}` to be a date",e);return g(e)?((d=e)&&f&&(d=fe(d,f,!0)),u("date")(e,i,f)):(d=null,"")})),(P(a.min)||a.ngMin)&&(s.$validators.min=function(e){return!g(e)||D(p)||n(e)>=p},a.$observe("min",(function(e){p=m(e),s.$validate()}))),(P(a.max)||a.ngMax)&&(s.$validators.max=function(e){return!g(e)||D(h)||n(e)<=h},a.$observe("max",(function(e){h=m(e),s.$validate()})))}}function Sr(e,t,n,i){(i.$$hasNativeValidators=q(t[0].validity))&&i.$parsers.push((function(e){var n=t.prop("validity")||{};return n.badInput&&!n.typeMismatch?void 0:e}))}function zr(e,t,n,i,r){var o;if(P(i)){if(!(o=e(i)).constant)throw Kr("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return o(t)}return r}var Tr=["$browser","$sniffer","$filter","$parse",function(e,t,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(r,a,s,l){l[0]&&(Mr[o(s.type)]||Mr.text)(r,a,s,l[0],t,e,n,i)}}}}],kr=/^(true|false|\d+)$/,$r=function(){return{restrict:"A",priority:100,compile:function(e,t){return kr.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,(function(e){n.$set("value",e)}))}}}},_r=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,i){e.$$addBindingInfo(n,i.ngBind),n=n[0],t.$watch(i.ngBind,(function(e){n.textContent=void 0===e?"":e}))}}}}],Or=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,i,r){var o=e(i.attr(r.$attr.ngBindTemplate));t.$$addBindingInfo(i,o.expressions),i=i[0],r.$observe("ngBindTemplate",(function(e){i.textContent=void 0===e?"":e}))}}}}],Er=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(i,r){var o=t(r.ngBindHtml),a=t(r.ngBindHtml,(function(e){return(e||"").toString()}));return n.$$addBindingClass(i),function(t,i,r){n.$$addBindingInfo(i,r.ngBindHtml),t.$watch(a,(function(){i.html(e.getTrustedHtml(o(t))||"")}))}}}}],Lr=L({restrict:"A",require:"ngModel",link:function(e,t,n,i){i.$viewChangeListeners.push((function(){e.$eval(n.ngChange)}))}});function Nr(e,t){return e="ngClass"+e,["$animate",function(n){return{restrict:"AC",link:function(o,a,s){var l;function c(e){var t=u(e,1);s.$addClass(t)}function u(e,t){var n=a.data("$classCounts")||Ne(),i=[];return w(e,(function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))})),a.data("$classCounts",n),i.join(" ")}function d(e){if(!0===t||o.$index%2===t){var s=r(e||[]);l?re(e,l)||function(e,t){var r=i(t,e),o=i(e,t);r=u(r,1),o=u(o,-1),r&&r.length&&n.addClass(a,r),o&&o.length&&n.removeClass(a,o)}(r(l),s):c(s)}l=ie(e)}o.$watch(s[e],d,!0),s.$observe("class",(function(t){d(o.$eval(s[e]))})),"ngClass"!==e&&o.$watch("$index",(function(n,i){var a=1&n;if(a!==(1&i)){var l=r(o.$eval(s[e]));a===t?c(l):function(e){var t=u(e,-1);s.$removeClass(t)}(l)}}))}};function i(e,t){var n=[];e:for(var i=0;i<e.length;i++){for(var r=e[i],o=0;o<t.length;o++)if(r==t[o])continue e;n.push(r)}return n}function r(e){var t=[];return F(e)?(w(e,(function(e){t=t.concat(r(e))})),t):R(e)?e.split(" "):q(e)?(w(e,(function(e,n){e&&(t=t.concat(n.split(" ")))})),t):e}}]}var Dr=Nr("",!0),Pr=Nr("Odd",0),qr=Nr("Even",1),Wr=ir({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Rr=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ir={},Br={blur:!0,focus:!0};w("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(e){var t=Ut("ng-"+e);Ir[t]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(r,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,(function(n){var r=function(){a(t,{$event:n})};Br[e]&&i.$$phase?t.$evalAsync(r):t.$apply(r)}))}}}}]}));var Fr=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,r,o,a){var s,l,c;n.$watch(r.ngIf,(function(n){n?l||a((function(n,o){l=o,n[n.length++]=t.createComment(" end ngIf: "+r.ngIf+" "),s={clone:n},e.enter(n,i.parent(),i)})):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=Le(s.clone),e.leave(c).then((function(){c=null})),s=null))}))}}}],Hr=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:b.noop,compile:function(i,r){var o=r.ngInclude||r.src,a=r.onload||"",s=r.autoscroll;return function(i,r,l,c,u){var d,p,h,f=0,g=function(){p&&(p.remove(),p=null),d&&(d.$destroy(),d=null),h&&(n.leave(h).then((function(){p=null})),p=h,h=null)};i.$watch(o,(function(o){var l=function(){!P(s)||s&&!i.$eval(s)||t()},p=++f;o?(e(o,!0).then((function(e){if(p===f){var t=i.$new();c.template=e;var s=u(t,(function(e){g(),n.enter(e,null,r).then(l)}));h=s,(d=t).$emit("$includeContentLoaded",o),i.$eval(a)}}),(function(){p===f&&(g(),i.$emit("$includeContentError",o))})),i.$emit("$includeContentRequested",o)):(g(),c.template=null)}))}}}}],Xr=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,r,o){if(/SVG/.test(i[0].toString()))return i.empty(),void e(tt(o.template,t).childNodes)(n,(function(e){i.append(e)}),{futureParentElement:i});i.html(o.template),e(i.contents())(n)}}}],jr=ir({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Vr=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var r=t.attr(n.$attr.ngList)||", ",o="false"!==n.ngTrim,a=o?Q(r):r;i.$parsers.push((function(e){if(!D(e)){var t=[];return e&&w(e.split(a),(function(e){e&&t.push(o?Q(e):e)})),t}})),i.$formatters.push((function(e){if(F(e))return e.join(r)})),i.$isEmpty=function(e){return!e||!e.length}}}},Ur="ng-valid",Gr="ng-pristine",Yr="ng-dirty",Kr=i("ngModel"),Qr=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,r,o,a,s,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e);var u,d=r(n.ngModel),p=d.assign,h=d,f=p,g=null,m=this;this.$$setOptions=function(e){if(m.$options=e,e&&e.getterSetter){var t=r(n.ngModel+"()"),o=r(n.ngModel+"($$$p)");h=function(e){var n=d(e);return H(n)&&(n=t(e)),n},f=function(e,t){H(d(e))?o(e,{$$$p:m.$modelValue}):p(e,m.$modelValue)}}else if(!d.assign)throw Kr("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,ge(i))},this.$render=O,this.$isEmpty=function(e){return D(e)||""===e||null===e||e!=e};var v=i.inheritedData("$formController")||ar,b=0;to({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:v,$animate:o}),this.$setPristine=function(){m.$dirty=!1,m.$pristine=!0,o.removeClass(i,Yr),o.addClass(i,Gr)},this.$setDirty=function(){m.$dirty=!0,m.$pristine=!1,o.removeClass(i,Gr),o.addClass(i,Yr),v.$setDirty()},this.$setUntouched=function(){m.$touched=!1,m.$untouched=!0,o.setClass(i,"ng-untouched","ng-touched")},this.$setTouched=function(){m.$touched=!0,m.$untouched=!1,o.setClass(i,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){a.cancel(g),m.$viewValue=m.$$lastCommittedViewValue,m.$render()},this.$validate=function(){if(!I(m.$modelValue)||!isNaN(m.$modelValue)){var e=m.$$rawModelValue,t=m.$valid,n=m.$modelValue,i=m.$options&&m.$options.allowInvalid;m.$$runValidators(e,m.$$lastCommittedViewValue,(function(r){i||t===r||(m.$modelValue=r?e:void 0,m.$modelValue!==n&&m.$$writeModelToScope())}))}},this.$$runValidators=function(e,t,n){var i,r,o,a,s=++b;function c(e,t){s===b&&m.$setValidity(e,t)}function d(e){s===b&&n(e)}a=m.$$parserName||"parse",(void 0!==u?(u||(w(m.$validators,(function(e,t){c(t,null)})),w(m.$asyncValidators,(function(e,t){c(t,null)}))),c(a,u),u):(c(a,null),1))?(o=!0,w(m.$validators,(function(n,i){var r=n(e,t);o=o&&r,c(i,r)})),!o&&(w(m.$asyncValidators,(function(e,t){c(t,null)})),1)?d(!1):(i=[],r=!0,w(m.$asyncValidators,(function(n,o){var a=n(e,t);if(!G(a))throw Kr("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",a);c(o,void 0),i.push(a.then((function(){c(o,!0)}),(function(e){r=!1,c(o,!1)})))})),i.length?l.all(i).then((function(){d(r)}),O):d(!0))):d(!1)},this.$commitViewValue=function(){var e=m.$viewValue;a.cancel(g),(m.$$lastCommittedViewValue!==e||""===e&&m.$$hasNativeValidators)&&(m.$$lastCommittedViewValue=e,m.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=m.$$lastCommittedViewValue;if(u=!D(t)||void 0)for(var n=0;n<m.$parsers.length;n++)if(D(t=m.$parsers[n](t))){u=!1;break}I(m.$modelValue)&&isNaN(m.$modelValue)&&(m.$modelValue=h(e));var i=m.$modelValue,r=m.$options&&m.$options.allowInvalid;function o(){m.$modelValue!==i&&m.$$writeModelToScope()}m.$$rawModelValue=t,r&&(m.$modelValue=t,o()),m.$$runValidators(t,m.$$lastCommittedViewValue,(function(e){r||(m.$modelValue=e?t:void 0,o())}))},this.$$writeModelToScope=function(){f(e,m.$modelValue),w(m.$viewChangeListeners,(function(e){try{e()}catch(n){t(n)}}))},this.$setViewValue=function(e,t){m.$viewValue=e,m.$options&&!m.$options.updateOnDefault||m.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,i=0,r=m.$options;r&&P(r.debounce)&&(I(n=r.debounce)?i=n:I(n[t])?i=n[t]:I(n.default)&&(i=n.default)),a.cancel(g),i?g=a((function(){m.$commitViewValue()}),i):s.$$phase?m.$commitViewValue():e.$apply((function(){m.$commitViewValue()}))},e.$watch((function(){var t=h(e);if(t!==m.$modelValue&&(m.$modelValue==m.$modelValue||t==t)){m.$modelValue=m.$$rawModelValue=t,u=void 0;for(var n=m.$formatters,i=n.length,r=t;i--;)r=n[i](r);m.$viewValue!==r&&(m.$viewValue=m.$$lastCommittedViewValue=r,m.$render(),m.$$runValidators(t,r,O))}return t}))}],Jr=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Qr,priority:1,compile:function(t){return t.addClass(Gr).addClass("ng-untouched").addClass(Ur),{pre:function(e,t,n,i){var r=i[0],o=i[1]||ar;r.$$setOptions(i[2]&&i[2].$options),o.$addControl(r),n.$observe("name",(function(e){r.$name!==e&&o.$$renameControl(r,e)})),e.$on("$destroy",(function(){o.$removeControl(r)}))},post:function(t,n,i,r){var o=r[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,(function(e){o.$$debounceViewValueCommit(e&&e.type)})),n.on("blur",(function(n){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))}))}}}}}],Zr=/(\s+|^)default(\s+|$)/,eo=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=ne(e.$eval(t.ngModelOptions)),void 0!==this.$options.updateOn?(this.$options.updateOnDefault=!1,this.$options.updateOn=Q(this.$options.updateOn.replace(Zr,(function(){return n.$options.updateOnDefault=!0," "})))):this.$options.updateOnDefault=!0}]}};function to(e){var t=e.ctrl,n=e.$element,i={},r=e.set,o=e.unset,a=e.parentForm,s=e.$animate;function l(e,t){t&&!i[e]?(s.addClass(n,e),i[e]=!0):!t&&i[e]&&(s.removeClass(n,e),i[e]=!1)}function c(e,t){e=e?"-"+ze(e,"-"):"",l(Ur+e,!0===t),l("ng-invalid"+e,!1===t)}i["ng-invalid"]=!(i[Ur]=n.hasClass(Ur)),t.$setValidity=function(e,n,i){var s;void 0===n?function(e,n,i){t[e]||(t[e]={}),r(t[e],n,i)}("$pending",e,i):function(e,n,i){t[e]&&o(t[e],n,i),no(t[e])&&(t[e]=void 0)}("$pending",e,i),U(n)?n?(o(t.$error,e,i),r(t.$$success,e,i)):(r(t.$error,e,i),o(t.$$success,e,i)):(o(t.$error,e,i),o(t.$$success,e,i)),t.$pending?(l("ng-pending",!0),t.$valid=t.$invalid=void 0,c("",null)):(l("ng-pending",!1),t.$valid=no(t.$error),t.$invalid=!t.$valid,c("",t.$valid)),c(e,s=t.$pending&&t.$pending[e]?void 0:!t.$error[e]&&(!!t.$$success[e]||null)),a.$setValidity(e,s,t)}}function no(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var io=ir({terminal:!0,priority:1e3}),ro=i("ngOptions"),oo=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,ao=["$compile","$parse",function(e,n){var i=t.createElement("option"),r=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:function(t,a,s,l){var u=l[1];if(u){for(var d,p=l[0],h=s.multiple,f=0,g=a.children(),m=g.length;f<m;f++)if(""===g[f].value){d=g.eq(f);break}var v,y=!!d,C=c(i.cloneNode(!1));C.val("?");var A=function(e,t,i){var r=e.match(oo);if(!r)throw ro("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,ge(t));var o=r[5]||r[7],a=r[6],s=/ as /.test(r[0])&&r[1],l=r[9],c=n(r[2]?r[1]:o),u=s&&n(s)||c,d=l&&n(l),p=l?function(e,t){return d(i,t)}:function(e){return At(e)},h=function(e,t){return p(e,w(e,t))},f=n(r[2]||r[1]),g=n(r[3]||""),m=n(r[4]||""),v=n(r[8]),y={},w=a?function(e,t){return y[a]=t,y[o]=e,y}:function(e){return y[o]=e,y};function C(e,t,n,i,r){this.selectValue=e,this.viewValue=t,this.label=n,this.group=i,this.disabled=r}function A(e){var t;if(!a&&M(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:l,getTrackByValue:h,getWatchables:n(v,(function(e){for(var t=[],n=A(e=e||[]),o=n.length,a=0;a<o;a++){var s=e===n?a:n[a],l=w(e[s],s),c=p(e[s],l);if(t.push(c),r[2]||r[1]){var u=f(i,l);t.push(u)}if(r[4]){var d=m(i,l);t.push(d)}}return t})),getOptions:function(){for(var e=[],t={},n=v(i)||[],r=A(n),o=r.length,a=0;a<o;a++){var s=n===r?a:r[a],c=w(n[s],s),d=u(i,c),y=p(d,c),M=new C(y,d,f(i,c),g(i,c),m(i,c));e.push(M),t[y]=M}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return l?b.copy(e.viewValue):e.viewValue}}}}}(s.ngOptions,a,t),x=function(){y||d.remove()},S=function(){C.remove()};h?(u.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){v.items.forEach((function(e){e.element.selected=!1})),e&&e.forEach((function(e){var t=v.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)}))},p.readValue=function(){var e=a.val()||[],t=[];return w(e,(function(e){var n=v.selectValueMap[e];n&&!n.disabled&&t.push(v.getViewValueFromOption(n))})),t},A.trackBy&&t.$watchCollection((function(){if(F(u.$viewValue))return u.$viewValue.map((function(e){return A.getTrackByValue(e)}))}),(function(){u.$render()}))):(p.writeValue=function(e){var t=v.getOptionFromViewValue(e);t&&!t.disabled?a[0].value!==t.selectValue&&(S(),x(),a[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||y?(S(),y||a.prepend(d),a.val(""),d.prop("selected",!0),d.attr("selected",!0)):(x(),a.prepend(C),a.val("?"),C.prop("selected",!0),C.attr("selected",!0))},p.readValue=function(){var e=v.selectValueMap[a.val()];return e&&!e.disabled?(x(),S(),v.getViewValueFromOption(e)):null},A.trackBy&&t.$watch((function(){return A.getTrackByValue(u.$viewValue)}),(function(){u.$render()}))),y?(d.remove(),e(d)(t),d.removeClass("ng-scope")):d=c(i.cloneNode(!1)),$(),t.$watchCollection(A.getWatchables,$)}function z(e,t){e.element=t,t.disabled=e.disabled,e.value!==t.value&&(t.value=e.selectValue),e.label!==t.label&&(t.label=e.label,t.textContent=e.label)}function T(e,t,n,i){var r;return t&&o(t.nodeName)===n?r=t:(r=i.cloneNode(!1),t?e.insertBefore(r,t):e.appendChild(r)),r}function k(e){for(var t;e;)t=e.nextSibling,mt(e),e=t}function $(){var e=v&&p.readValue();v=A.getOptions();var t={},n=a[0].firstChild;if(y&&a.prepend(d),n=function(e){var t=d&&d[0],n=C&&C[0];if(t||n)for(;e&&(e===t||e===n);)e=e.nextSibling;return e}(n),v.items.forEach((function(e){var o,s,l;e.group?((o=t[e.group])||(s=T(a[0],n,"optgroup",r),n=s.nextSibling,s.label=e.group,o=t[e.group]={groupElement:s,currentOptionElement:s.firstChild}),z(e,l=T(o.groupElement,o.currentOptionElement,"option",i)),o.currentOptionElement=l.nextSibling):(z(e,l=T(a[0],n,"option",i)),n=l.nextSibling)})),Object.keys(t).forEach((function(e){k(t[e].currentOptionElement)})),k(n),u.$render(),!u.$isEmpty(e)){var o=p.readValue();(A.trackBy?re(e,o):e===o)||(u.$setViewValue(o),u.$render())}}}}}],so=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(a,s,l){var c,u=l.count,d=l.$attr.when&&s.attr(l.$attr.when),p=l.offset||0,h=a.$eval(d)||{},f={},g=t.startSymbol(),m=t.endSymbol(),v=g+u+"-"+p+m,y=b.noop;function M(e){s.text(e||"")}w(l,(function(e,t){var n=r.exec(t);if(n){var i=(n[1]?"-":"")+o(n[2]);h[i]=s.attr(l.$attr[t])}})),w(h,(function(e,n){f[n]=t(e.replace(i,v))})),a.$watch(u,(function(t){var i=parseFloat(t),r=isNaN(i);if(r||i in h||(i=e.pluralCat(i-p)),i!==c&&!(r&&I(c)&&isNaN(c))){y();var o=f[i];D(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+d),y=O,M()):y=a.$watch(o,M),c=i}}))}}}],lo=["$parse","$animate",function(e,n){var r=i("ngRepeat"),o=function(e,t,n,i,r,o,a){e[n]=i,r&&(e[r]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},a=function(e){return e.clone[0]},s=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,l){var u=l.ngRepeat,d=t.createComment(" end ngRepeat: "+u+" "),p=u.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw r("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",u);var h=p[1],f=p[2],g=p[3],m=p[4];if(!(p=h.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/)))throw r("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",h);var v,b,y,C,A=p[3]||p[1],x=p[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw r("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var S={$id:At};return m?v=e(m):(y=function(e,t){return At(t)},C=function(e){return e}),function(e,t,i,l,p){v&&(b=function(t,n,i){return x&&(S[x]=t),S[A]=n,S.$index=i,v(e,S)});var h=Ne();e.$watchCollection(f,(function(i){var l,f,m,v,S,z,T,k,$,_,O,E,L=t[0],N=Ne();if(g&&(e[g]=i),M(i))$=i,k=b||y;else for(var D in k=b||C,$=[],i)i.hasOwnProperty(D)&&"$"!==D.charAt(0)&&$.push(D);for(v=$.length,O=new Array(v),l=0;l<v;l++)if(T=k(S=i===$?l:$[l],z=i[S],l),h[T])_=h[T],delete h[T],N[T]=_,O[l]=_;else{if(N[T])throw w(O,(function(e){e&&e.scope&&(h[e.id]=e)})),r("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",u,T,z);O[l]={id:T,scope:void 0,clone:void 0},N[T]=!0}for(var P in h){if(E=Le((_=h[P]).clone),n.leave(E),E[0].parentNode)for(l=0,f=E.length;l<f;l++)E[l].$$NG_REMOVED=!0;_.scope.$destroy()}for(l=0;l<v;l++)if(z=i[S=i===$?l:$[l]],(_=O[l]).scope){m=L;do{m=m.nextSibling}while(m&&m.$$NG_REMOVED);a(_)!=m&&n.move(Le(_.clone),null,c(L)),L=s(_),o(_.scope,l,A,z,x,S,v)}else p((function(e,t){_.scope=t;var i=d.cloneNode(!1);e[e.length++]=i,n.enter(e,null,c(L)),L=i,_.clone=e,N[_.id]=_,o(_.scope,l,A,z,x,S,v)}));h=N}))}}}}],co=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngShow,(function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],uo=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngHide,(function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],po=ir((function(e,t,n){e.$watch(n.ngStyle,(function(e,n){n&&e!==n&&w(n,(function(e,n){t.css(n,"")})),e&&t.css(e)}),!0)})),ho=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,r,o){var a=[],s=[],l=[],c=[],u=function(e,t){return function(){e.splice(t,1)}};n.$watch(r.ngSwitch||r.on,(function(n){var i,r;for(i=0,r=l.length;i<r;++i)e.cancel(l[i]);for(l.length=0,i=0,r=c.length;i<r;++i){var d=Le(s[i].clone);c[i].$destroy(),(l[i]=e.leave(d)).then(u(l,i))}s.length=0,c.length=0,(a=o.cases["!"+n]||o.cases["?"])&&w(a,(function(n){n.transclude((function(i,r){c.push(r);var o=n.element;i[i.length++]=t.createComment(" end ngSwitchWhen: "),s.push({clone:i}),e.enter(i,o.parent(),o)}))}))}))}}}],fo=ir({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,r){i.cases["!"+n.ngSwitchWhen]=i.cases["!"+n.ngSwitchWhen]||[],i.cases["!"+n.ngSwitchWhen].push({transclude:r,element:t})}}),go=ir({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,r){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:r,element:t})}}),mo=ir({restrict:"EAC",link:function(e,t,n,r,o){if(!o)throw i("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ge(t));o((function(e){t.empty(),t.append(e)}))}}),vo=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"==n.type&&e.put(n.id,t[0].text)}}}],bo={$setViewValue:O,$render:O},yo=["$element","$scope","$attrs",function(e,n,i){var r=this,o=new xt;r.ngModelCtrl=bo,r.unknownOption=c(t.createElement("option")),r.renderUnknownOption=function(t){var n="? "+At(t)+" ?";r.unknownOption.val(n),e.prepend(r.unknownOption),e.val(n)},n.$on("$destroy",(function(){r.renderUnknownOption=O})),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),e.val()},r.writeValue=function(t){r.hasOption(t)?(r.removeUnknownOption(),e.val(t),""===t&&r.emptyOption.prop("selected",!0)):null==t&&r.emptyOption?(r.removeUnknownOption(),e.val("")):r.renderUnknownOption(t)},r.addOption=function(e,t){Oe(e,'"option value"'),""===e&&(r.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1)},r.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(r.emptyOption=void 0)):o.put(e,t-1))},r.hasOption=function(e){return!!o.get(e)}}],Mo=function(){return{restrict:"E",require:["select","?ngModel"],controller:yo,link:function(e,t,n,i){var r=i[1];if(r){var o=i[0];if(o.ngModelCtrl=r,r.$render=function(){o.writeValue(r.$viewValue)},t.on("change",(function(){e.$apply((function(){r.$setViewValue(o.readValue())}))})),n.multiple){o.readValue=function(){var e=[];return w(t.find("option"),(function(t){t.selected&&e.push(t.value)})),e},o.writeValue=function(e){var n=new xt(e);w(t.find("option"),(function(e){e.selected=P(n.get(e.value))}))};var a,s=NaN;e.$watch((function(){s!==r.$viewValue||re(a,r.$viewValue)||(a=ie(r.$viewValue),r.$render()),s=r.$viewValue})),r.$isEmpty=function(e){return!e||0===e.length}}}}}},wo=["$interpolate",function(e){function t(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}return{restrict:"E",priority:100,compile:function(n,i){if(D(i.value)){var r=e(n.text(),!0);r||i.$set("value",n.text())}return function(e,n,i){var o=n.parent(),a=o.data("$selectController")||o.parent().data("$selectController");a&&a.ngModelCtrl&&(r?e.$watch(r,(function(e,r){i.$set("value",e),r!==e&&a.removeOption(r),a.addOption(e,n),a.ngModelCtrl.$render(),t(n)})):(a.addOption(i.value,n),a.ngModelCtrl.$render(),t(n)),n.on("$destroy",(function(){a.removeOption(i.value),a.ngModelCtrl.$render()})))}}}}],Co=L({restrict:"E",terminal:!1}),Ao=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){i&&(n.required=!0,i.$validators.required=function(e,t){return!n.required||!i.$isEmpty(t)},n.$observe("required",(function(){i.$validate()})))}}},xo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var o,a=n.ngPattern||n.pattern;n.$observe("pattern",(function(e){if(R(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw i("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,ge(t));o=e||void 0,r.$validate()})),r.$validators.pattern=function(e){return r.$isEmpty(e)||D(o)||o.test(e)}}}}},So=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var r=-1;n.$observe("maxlength",(function(e){var t=$(e);r=isNaN(t)?-1:t,i.$validate()})),i.$validators.maxlength=function(e,t){return r<0||i.$isEmpty(t)||t.length<=r}}}}},zo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var r=0;n.$observe("minlength",(function(e){r=$(e)||0,i.$validate()})),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=r}}}}};e.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(function(){var t;if(!ke){var n=ae();u=e.jQuery,P(n)&&(u=null===n?void 0:e[n]),u&&u.fn.on?(c=u,T(u.fn,{scope:vt.scope,isolateScope:vt.isolateScope,controller:vt.controller,injector:vt.injector,inheritedData:vt.inheritedData}),t=u.cleanData,u.cleanData=function(e){var n;if(Te)Te=!1;else for(var i,r=0;null!=(i=e[r]);r++)(n=u._data(i,"events"))&&n.$destroy&&u(i).triggerHandler("$destroy");t(e)}):c=nt,b.element=c,ke=!0}}(),function(t){T(t,{bootstrap:Ce,copy:ne,extend:T,merge:k,equals:re,element:c,forEach:w,injector:Ot,noop:O,bind:ce,toJson:de,fromJson:pe,identity:E,isUndefined:D,isDefined:P,isString:R,isFunction:H,isObject:q,isNumber:I,isElement:Z,isArray:F,version:We,isDate:B,lowercase:o,uppercase:s,callbacks:{counter:0},getTestability:xe,$$minErr:i,$$csp:oe,reloadWithDebugInfo:Ae}),(d=function(e){var t=i("$injector"),n=i("ng");function r(e,t,n){return e[t]||(e[t]=n())}var o=r(e,"angular",Object);return o.$$minErr=o.$$minErr||i,r(o,"module",(function(){var e={};return function(i,o,a){return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name","module")}(i),o&&e.hasOwnProperty(i)&&(e[i]=null),r(e,i,(function(){if(!o)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",i);var e=[],n=[],r=[],s=c("$injector","invoke","push",n),l={_invokeQueue:e,_configBlocks:n,_runBlocks:r,requires:o,name:i,provider:u("$provide","provider"),factory:u("$provide","factory"),service:u("$provide","service"),value:c("$provide","value"),constant:c("$provide","constant","unshift"),decorator:u("$provide","decorator"),animation:u("$animateProvider","register"),filter:u("$filterProvider","register"),controller:u("$controllerProvider","register"),directive:u("$compileProvider","directive"),config:s,run:function(e){return r.push(e),this}};return a&&s(a),l;function c(t,n,i,r){return r||(r=e),function(){return r[i||"push"]([t,n,arguments]),l}}function u(t,n){return function(r,o){return o&&H(o)&&(o.$$moduleName=i),e.push([t,n,arguments]),l}}}))}}))}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:bi}),e.provider("$compile",jt).directive({a:rr,input:Tr,textarea:Tr,form:cr,script:vo,select:Mo,style:Co,option:wo,ngBind:_r,ngBindHtml:Er,ngBindTemplate:Or,ngClass:Dr,ngClassEven:qr,ngClassOdd:Pr,ngCloak:Wr,ngController:Rr,ngForm:ur,ngHide:uo,ngIf:Fr,ngInclude:Hr,ngInit:jr,ngNonBindable:io,ngPluralize:so,ngRepeat:lo,ngShow:co,ngStyle:po,ngSwitch:ho,ngSwitchWhen:fo,ngSwitchDefault:go,ngOptions:ao,ngTransclude:mo,ngModel:Jr,ngList:Vr,ngChange:Lr,pattern:xo,ngPattern:xo,required:Ao,ngRequired:Ao,minlength:zo,ngMinlength:zo,maxlength:So,ngMaxlength:So,ngValue:$r,ngModelOptions:eo}).directive({ngInclude:Xr}).directive(or).directive(Ir),e.provider({$anchorScroll:Et,$animate:Wt,$animateCss:Rt,$$animateQueue:qt,$$AnimateRunner:Pt,$browser:Bt,$cacheFactory:Ft,$controller:Jt,$document:Zt,$exceptionHandler:en,$filter:Di,$$forceReflow:tn,$interpolate:wn,$interval:Cn,$http:vn,$httpParamSerializer:un,$httpParamSerializerJQLike:dn,$httpBackend:yn,$location:Wn,$log:Rn,$parse:pi,$rootScope:vi,$q:hi,$$q:fi,$sce:Ai,$sceDelegate:Ci,$sniffer:xi,$templateCache:Ht,$templateRequest:Si,$$testability:zi,$timeout:Ti,$window:Ei,$$rAF:mi,$$jqLite:Ct,$$HashMap:St,$$cookieReader:Ni})}])}(b),b.module("ngLocale",[],["$provide",function(e){e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\xa4",negSuf:"",posPre:"\xa4",posSuf:""}]},id:"en-us",pluralCat:function(e,t){var n=0|e,i=function(e,t){var n=t;void 0===n&&(n=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3));var i=Math.pow(10,n);return{v:n,f:(e*i|0)%i}}(e,t);return 1==n&&0==i.v?"one":"other"}})}]),c(t).ready((function(){!function(e,t){var n,i,r={};w(we,(function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))})),w(we,(function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))})),n&&(r.strictDi=null!==function(e,t){var n,i,r=we.length;for(i=0;i<r;++i)if(R(n=e.getAttribute(n=we[i]+"strict-di")))return n;return null}(n),t(n,i?[i]:[],r))}(t,Ce)})))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(e,t,n){"use strict";function i(e,n){var i,r={},o=e.split(",");for(i=0;i<o.length;i++)r[n?t.lowercase(o[i]):o[i]]=!0;return r}function r(e){return e?(z.innerHTML=e.replace(/</g,"&lt;"),z.textContent):""}function o(e){return e.replace(/&/g,"&amp;").replace(m,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+((e=e.charCodeAt(1))-56320)+65536)+";"})).replace(v,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function a(e,n){var i=!1,r=t.bind(e,e.push);return{start:function(e,a,s){e=t.lowercase(e),!i&&C[e]&&(i=e),i||!0!==A[e]||(r("<"),r(e),t.forEach(a,(function(i,a){var s=t.lowercase(a);!0!==S[s]||!0===x[s]&&!n(i,"img"===e&&"src"===s||"background"===s)||(r(" "),r(a),r('="'),r(o(i)),r('"'))})),r(s?"/>":">"))},end:function(e){e=t.lowercase(e),i||!0!==A[e]||(r("</"),r(e),r(">")),e==i&&(i=!1)},chars:function(e){i||r(o(e))}}}var s=t.$$minErr("$sanitize"),l=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,c=/^<\/\s*([\w:-]+)[^>]*>/,u=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,d=/^</,p=/^<\//,h=/\x3c!--(.*?)--\x3e/g,f=/<!DOCTYPE([^>]*?)>/i,g=/<!\[CDATA\[(.*?)]]\x3e/g,m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v=/([^\#-~| |!])/g,b=i("area,br,col,hr,img,wbr");e=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),n=i("rp,rt");var y=t.extend({},n,e),M=t.extend({},e,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),w=t.extend({},n,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"));e=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan,use");var C=i("script,style"),A=t.extend({},b,M,w,y,e),x=i("background,cite,href,longdesc,src,usemap,xlink:href");e=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),n=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0);var S=t.extend({},x,n,e),z=document.createElement("pre");t.module("ngSanitize",[]).provider("$sanitize",(function(){this.$get=["$$sanitizeUri",function(e){return function(n){var i=[];return function(e,n){function i(e,i,a,s){if(i=t.lowercase(i),M[i])for(;A.last()&&w[A.last()];)o(0,A.last());y[i]&&A.last()==i&&o(0,i),(s=b[i]||!!s)||A.push(i);var l={};a.replace(u,(function(e,t,n,i,o){l[t]=r(n||i||o||"")})),n.start&&n.start(i,l,s)}function o(e,i){var r,o=0;if(i=t.lowercase(i))for(o=A.length-1;0<=o&&A[o]!=i;o--);if(0<=o){for(r=A.length-1;r>=o;r--)n.end&&n.end(A[r]);A.length=o}}"string"!=typeof e&&(e=null==e?"":""+e);var a,m,v,A=[],x=e;for(A.last=function(){return A[A.length-1]};e;){if(v="",m=!0,A.last()&&C[A.last()]?(e=e.replace(new RegExp("([\\W\\w]*)<\\s*\\/\\s*"+A.last()+"[^>]*>","i"),(function(e,t){return t=t.replace(h,"$1").replace(g,"$1"),n.chars&&n.chars(r(t)),""})),o(0,A.last())):(0===e.indexOf("\x3c!--")?0<=(a=e.indexOf("--",4))&&e.lastIndexOf("--\x3e",a)===a&&(n.comment&&n.comment(e.substring(4,a)),e=e.substring(a+3),m=!1):f.test(e)?(a=e.match(f))&&(e=e.replace(a[0],""),m=!1):p.test(e)?(a=e.match(c))&&(e=e.substring(a[0].length),a[0].replace(c,o),m=!1):d.test(e)&&((a=e.match(l))?(a[4]&&(e=e.substring(a[0].length),a[0].replace(l,i)),m=!1):(v+="<",e=e.substring(1))),m&&(v+=0>(a=e.indexOf("<"))?e:e.substring(0,a),e=0>a?"":e.substring(a),n.chars&&n.chars(r(v)))),e==x)throw s("badparse",e);x=e}o()}(n,a(i,(function(t,n){return!/^unsafe/.test(e(t,n))}))),i.join("")}}]})),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i;return function(r,o){function s(e){e&&h.push(function(e){var n=[];return a(n,t.noop).chars(e),n.join("")}(e))}function l(e,n){h.push("<a "),t.isDefined(o)&&h.push('target="',o,'" '),h.push('href="',e.replace(/"/g,"&quot;"),'">'),s(n),h.push("</a>")}if(!r)return r;for(var c,u,d,p=r,h=[];c=p.match(n);)u=c[0],c[2]||c[4]||(u=(c[3]?"http://":"mailto:")+u),s(p.substr(0,d=c.index)),l(u,c[0].replace(i,"")),p=p.substring(d+c[0].length);return s(p),e(h.join(""))}}])}(window,window.angular),function(e,t,n){"use strict";function i(e,t,n){if(!e)throw ngMinErr("areq",t||"?",n||"required");return e}function r(e,t){return e||t?e?t?(O(e)&&(e=e.join(" ")),O(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function o(e,t,n){var i="";return e=O(e)?e:e&&E(e)&&e.length?e.split(/\s+/):[],_(e,(function(e,r){e&&0<e.length&&(i+=0<r?" ":"",i+=n?t+e:e+t)})),i}function a(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(1==n.nodeType)return n}}function s(e){return function(t,n){n.addClass&&(function(e,t,n){_(t,(function(t){e.addClass(t,n)}))}(e,t,n.addClass),n.addClass=null),n.removeClass&&(function(e,t,n){_(t,(function(t){e.removeClass(t,n)}))}(e,t,n.removeClass),n.removeClass=null)}}function l(e){if(!(e=e||{}).$$prepared){var t=e.domOperation||T;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=T},e.$$prepared=!0}return e}function c(e,t){u(e,t),d(e,t)}function u(e,t){t.from&&(e.css(t.from),t.from=null)}function d(e,t){t.to&&(e.css(t.to),t.to=null)}function p(e,t,n){var i=(t.addClass||"")+" "+(n.addClass||""),r=(t.removeClass||"")+" "+(n.removeClass||"");return e=function(e,t,n){function i(e){E(e)&&(e=e.split(" "));var t={};return _(e,(function(e){e.length&&(t[e]=!0)})),t}var r={};e=i(e),t=i(t),_(t,(function(e,t){r[t]=1})),n=i(n),_(n,(function(e,t){r[t]=1===r[t]?null:-1}));var o={addClass:"",removeClass:""};return _(r,(function(t,n){var i,r;1===t?(i="addClass",r=!e[n]):-1===t&&(i="removeClass",r=e[n]),r&&(o[i].length&&(o[i]+=" "),o[i]+=n)})),o}(e.attr("class"),i,r),n.preparationClasses&&(t.preparationClasses=b(n.preparationClasses,t.preparationClasses),delete n.preparationClasses),i=t.domOperation!==T?t.domOperation:null,k(t,n),i&&(t.domOperation=i),t.addClass=e.addClass?e.addClass:null,t.removeClass=e.removeClass?e.removeClass:null,t}function h(e){return e instanceof t.element?e[0]:e}function f(e,t,n){var i="";t&&(i=o(t,"ng-",!0)),n.addClass&&(i=b(i,o(n.addClass,"-add"))),n.removeClass&&(i=b(i,o(n.removeClass,"-remove"))),i.length&&(n.preparationClasses=i,e.addClass(i))}function g(e,t){var n=t?"-"+t+"s":"";return v(e,[I,n]),[I,n]}function m(e,t){var n=t?"paused":"",i=S+"PlayState";return v(e,[i,n]),[i,n]}function v(e,t){e.style[t[0]]=t[1]}function b(e,t){return e?t?e+" "+t:e:t}function y(e,t,n){var i=Object.create(null),r=e.getComputedStyle(t)||{};return _(n,(function(e,t){var n=r[e];if(n){var o=n.charAt(0);("-"===o||"+"===o||0<=o)&&(n=function(e){var t=0;return e=e.split(/\s*,\s*/),_(e,(function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e})),t}(n)),0===n&&(n=null),i[t]=n}})),i}function M(e){return 0===e||null!=e}function w(e,t){var n=A,i=e+"s";return t?n+="Duration":i+=" linear all",[n,i]}function C(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){return(t=e[t])?t.total:0},get:function(t){return(t=e[t])&&t.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}var A,x,S,z,T=t.noop,k=t.extend,$=t.element,_=t.forEach,O=t.isArray,E=t.isString,L=t.isObject,N=t.isUndefined,D=t.isDefined,P=t.isFunction,q=t.isElement;e.ontransitionend===n&&e.onwebkittransitionend!==n?(A="WebkitTransition",x="webkitTransitionEnd transitionend"):(A="transition",x="transitionend"),e.onanimationend===n&&e.onwebkitanimationend!==n?(S="WebkitAnimation",z="webkitAnimationEnd animationend"):(S="animation",z="animationend");var W=S+"Delay",R=S+"Duration",I=A+"Delay",B={transitionDuration:e=A+"Duration",transitionDelay:I,transitionProperty:A+"Property",animationDuration:R,animationDelay:W,animationIterationCount:S+"IterationCount"},F={transitionDuration:e,transitionDelay:I,animationDuration:R,animationDelay:W};t.module("ngAnimate",[]).provider("$$body",(function(){this.$get=["$document",function(e){return $(e[0].body)}]})).directive("ngAnimateChildren",[function(){return function(e,n,i){t.isString(e=i.ngAnimateChildren)&&0===e.length?n.data("$$ngAnimateChildren",!0):i.$observe("ngAnimateChildren",(function(e){n.data("$$ngAnimateChildren","on"===e||"true"===e)}))}}]).factory("$$rAFMutex",["$$rAF",function(e){return function(){var t=!1;return e((function(){t=!0})),function(n){t?n():e(n)}}}]).factory("$$AnimateRunner",["$q","$$rAFMutex",function(e,t){function n(e){this.setHost(e),this._doneCallbacks=[],this._runInAnimationFrame=t(),this._state=0}return n.chain=function(e,t){var n=0;!function i(){n===e.length?t(!0):e[n]((function(e){!1===e?t(!1):(n++,i())}))}()},n.all=function(e,t){function n(n){r=r&&n,++i===e.length&&t(r)}var i=0,r=!0;_(e,(function(e){e.done(n)}))},n.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:T,getPromise:function(){if(!this.promise){var t=this;this.promise=e((function(e,n){t.done((function(t){!1===t?n():e()}))}))}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._runInAnimationFrame((function(){t._resolve(e)})))},_resolve:function(e){2!==this._state&&(_(this._doneCallbacks,(function(t){t(e)})),this._doneCallbacks.length=0,this._state=2)}},n}]).provider("$$animateQueue",["$animateProvider",function(e){function t(e,t,n,i){return r[e].some((function(e){return e(t,n,i)}))}function n(e,t){var n=0<((e=e||{}).addClass||"").length,i=0<(e.removeClass||"").length;return t?n&&i:n||i}var r=this.rules={skip:[],cancel:[],join:[]};r.join.push((function(e,t,i){return!t.structural&&n(t.options)})),r.skip.push((function(e,t,i){return!t.structural&&!n(t.options)})),r.skip.push((function(e,t,n){return"leave"==n.event&&t.structural})),r.skip.push((function(e,t,n){return n.structural&&2===n.state&&!t.structural})),r.cancel.push((function(e,t,n){return n.structural&&t.structural})),r.cancel.push((function(e,t,n){return 2===n.state&&t.structural})),r.cancel.push((function(e,t,n){return n=n.options,(e=t.options).addClass&&e.addClass===n.removeClass||e.removeClass&&e.removeClass===n.addClass})),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$body","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(r,o,u,d,m,v,b,y,M,w,C){function A(e,t,n,i){r((function(){_(function(e,t){var n=h(e),i=[],r=H[t];return r&&_(r,(function(e){e.node.contains(n)&&i.push(e.callback)})),i}(t,e),(function(e){e(t,n,i)}))}))}function x(e,i,r){function s(t,n,i,r){A(n,e,i,r),t.progress(n,i,r)}function u(t){var n=e,i=r;i.preparationClasses&&(n.removeClass(i.preparationClasses),i.preparationClasses=null),i.activeClasses&&(n.removeClass(i.activeClasses),i.activeClasses=null),V(e,r),c(e,r),r.domOperation(),v.complete(!t)}var d,m;(e=function(e){if(e instanceof $)switch(e.length){case 0:return[];case 1:if(1===e[0].nodeType)return e;break;default:return $(a(e))}if(1===e.nodeType)return $(e)}(e))&&(d=h(e),m=e.parent()),r=l(r);var v=new y;if(O(r.addClass)&&(r.addClass=r.addClass.join(" ")),r.addClass&&!E(r.addClass)&&(r.addClass=null),O(r.removeClass)&&(r.removeClass=r.removeClass.join(" ")),r.removeClass&&!E(r.removeClass)&&(r.removeClass=null),r.from&&!L(r.from)&&(r.from=null),r.to&&!L(r.to)&&(r.to=null),!d)return u(),v;var M=[d.className,r.addClass,r.removeClass].join(" ");if(!j(M))return u(),v;var w=0<=["enter","move","leave"].indexOf(i),x=!B||I.get(d),T=!!(M=!x&&R.get(d)||{}).state;if(x||T&&1==M.state||(x=!P(e,m,i)),x)return u(),v;if(w&&S(e),m={structural:w,element:e,event:i,close:u,options:r,runner:v},T){if(t("skip",e,m,M))return 2===M.state?(u(),v):(p(e,M.options,r),M.runner);if(t("cancel",e,m,M))if(2===M.state)M.runner.end();else{if(!M.structural)return p(e,M.options,m.options),M.runner;M.close()}else if(t("join",e,m,M)){if(2!==M.state)return f(e,w?i:null,r),i=m.event=M.event,r=p(e,M.options,m.options),M.runner;p(e,r,{})}}else p(e,r,{});if((T=m.structural)||(T="animate"===m.event&&0<Object.keys(m.options.to||{}).length||n(m.options)),!T)return u(),z(e),v;f(e,w?i:null,r),g(d,9999);var k=(M.counter||0)+1;return m.counter=k,W(e,1,m),o.$$postDigest((function(){var t=!(o=R.get(d)),o=o||{},a=0<(e.parent()||[]).length&&("animate"===o.event||o.structural||n(o.options));t||o.counter!==k||!a?(t&&(V(e,r),c(e,r)),(t||w&&o.event!==i)&&(r.domOperation(),v.end()),a||z(e)):(i=!o.structural&&n(o.options,!0)?"setClass":o.event,W(e,2),(o=b(e,i,o.options,(function(e){C(),g(h(e),!1)}))).done((function(t){u(!t),(t=R.get(d))&&t.counter===k&&z(h(e)),s(v,i,"close",{})})),v.setHost(o),s(v,i,"start",{}))})),v}function S(e){e=h(e).querySelectorAll("[data-ng-animate]"),_(e,(function(e){var t=parseInt(e.getAttribute("data-ng-animate")),n=R.get(e);switch(t){case 2:n.runner.end();case 1:n&&R.remove(e)}}))}function z(e){(e=h(e)).removeAttribute("data-ng-animate"),R.remove(e)}function T(e,t){return h(e)===h(t)}function P(e,t,n){n=T(e,m)||"HTML"===e[0].nodeName;var i,r=T(e,u),o=!1;for((e=e.data("$ngAnimatePin"))&&(t=e);t&&t.length&&(r||(r=T(t,u)),1===(e=t[0]).nodeType);){var a=R.get(e)||{};if(o||(o=a.structural||I.get(e)),(N(i)||!0===i)&&(e=t.data("$$ngAnimateChildren"),D(e)&&(i=e)),o&&!1===i)break;r||(r=T(t,u))||(e=t.data("$ngAnimatePin"))&&(t=e),n||(n=T(t,m)),t=t.parent()}return(!o||i)&&r&&n}function W(e,t,n){(n=n||{}).state=t,(e=h(e)).setAttribute("data-ng-animate",t),n=(t=R.get(e))?k(t,n):n,R.put(e,n)}var R=new v,I=new v,B=null,F=o.$watch((function(){return 0===M.totalPendingRequests}),(function(e){e&&(F(),o.$$postDigest((function(){o.$$postDigest((function(){null===B&&(B=!0)}))})))})),H={},X=e.classNameFilter(),j=X?function(e){return X.test(e)}:function(){return!0},V=s(w);return{on:function(e,t,n){t=a(t),H[e]=H[e]||[],H[e].push({node:t,callback:n})},off:function(e,t,n){function i(e,t,n){var i=a(t);return e.filter((function(e){return!(e.node===i&&(!n||e.callback===n))}))}var r=H[e];r&&(H[e]=1===arguments.length?null:i(r,t,n))},pin:function(e,t){i(q(e),"element","not an element"),i(q(t),"parentElement","not an element"),e.data("$ngAnimatePin",t)},push:function(e,t,n,i){return(n=n||{}).domOperation=i,x(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!B;else if(q(e)){var i=h(e),r=I.get(i);1===n?t=!r:(t=!!t)?r&&I.remove(i):I.put(i,!0)}else t=B=!!e;return t}}}]}]).provider("$$animation",["$animateProvider",function(e){function t(e){return e.data("$$animationRunner")}var n=this.drivers=[];this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap",function(e,i,o,a,u){function d(e){function t(e){if(e.processed)return e;e.processed=!0;var n,o=e.domNode,a=o.parentNode;for(r.put(o,e);a;){if(n=r.get(a)){n.processed||(n=t(n));break}a=a.parentNode}return(n||i).children.push(e),e}var n,i={children:[]},r=new u;for(n=0;n<e.length;n++){var o=e[n];r.put(o.domNode,e[n]={domNode:o.domNode,fn:o.fn,children:[]})}for(n=0;n<e.length;n++)t(e[n]);return function(e){var t,n=[],i=[];for(t=0;t<e.children.length;t++)i.push(e.children[t]);e=i.length;var r=0,o=[];for(t=0;t<i.length;t++){var a=i[t];0>=e&&(e=r,r=0,n=n.concat(o),o=[]),o.push(a.fn),_(a.children,(function(e){r++,i.push(e)})),e--}return o.length&&(n=n.concat(o)),n}(i)}var p=[],f=s(e);return function(s,u,g,m){function v(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],i=0;i<e.length;i++){var r=e[i];if("ng-"!==r.substring(0,3))for(var o=0;o<t.length;o++)if(r===t[o]){n.push(r);break}}return n.join(" ")}function b(e,t){for(var i=n.length-1;0<=i;i--){var r=n[i];if(o.has(r)&&(r=o.get(r)(e,t)))return r}}function y(){var e=t(s);!e||"leave"===u&&g.$$domOperationFired||e.end()}function M(t){s.off("$destroy",y),s.removeData("$$animationRunner"),f(s,g),c(s,g),g.domOperation(),x&&e.removeClass(s,x),s.removeClass("ng-animate"),C.complete(!t)}g=l(g);var w=0<=["enter","move","leave"].indexOf(u),C=new a({end:function(){M()},cancel:function(){M(!0)}});if(!n.length)return M(),C;s.data("$$animationRunner",C);var A=r(s.attr("class"),r(g.addClass,g.removeClass)),x=g.tempClasses;return x&&(A+=" "+x,g.tempClasses=null),p.push({element:s,classes:A,event:u,structural:w,options:g,beforeStart:function(){s.addClass("ng-animate"),x&&e.addClass(s,x)},close:M}),s.on("$destroy",y),1<p.length||i.$$postDigest((function(){var e=[];_(p,(function(n){var i=n.element;t(i)&&h(i).parentNode?e.push(n):n.close()})),p.length=0;var n=function(e){var t=[],n={};_(e,(function(e,i){var r=h(e.element),o=0<=["enter","move"].indexOf(e.event);if((r=e.structural?function(e){e=e.hasAttribute("ng-animate-ref")?[e]:e.querySelectorAll("[ng-animate-ref]");var t=[];return _(e,(function(e){var n=e.getAttribute("ng-animate-ref");n&&n.length&&t.push(e)})),t}(r):[]).length){var a=o?"to":"from";_(r,(function(e){var t=e.getAttribute("ng-animate-ref");n[t]=n[t]||{},n[t][a]={animationID:i,element:$(e)}}))}else t.push(e)}));var i={},r={};return _(n,(function(n,o){var a=n.from,s=n.to;if(a&&s){var l=e[a.animationID],c=e[s.animationID],u=a.animationID.toString();if(!r[u]){var d=r[u]={beforeStart:function(){l.beforeStart(),c.beforeStart()},close:function(){l.close(),c.close()},classes:v(l.classes,c.classes),from:l,to:c,anchors:[]};d.classes.length?t.push(d):(t.push(l),t.push(c))}r[u].anchors.push({out:a.element,in:s.element})}else s=(a=a?a.animationID:s.animationID).toString(),i[s]||(i[s]=!0,t.push(e[a]))})),t}(e),i=[];_(n,(function(e){i.push({domNode:h(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var n,i=e.close;if(t(e.anchors?e.from.element||e.to.element:e.element)){var r=b(e,m);r&&(n=r.start)}n?((n=n()).done((function(e){i(!e)})),function(e,n){e.from&&e.to?(t(e.from.element).setHost(n),t(e.to.element).setHost(n)):t(e.element).setHost(n)}(e,n)):i()}})})),_(d(i),(function(e){e()}))})),C}}]}]).provider("$animateCss",["$animateProvider",function(e){var t=C(),n=C();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAF",function(e,i,r,a,p,f,b){function C(e,t){var n=e.parentNode;return(n.$$ngAnimateParentKey||(n.$$ngAnimateParentKey=++N))+"-"+e.getAttribute("class")+"-"+t}function T(r,a,s,l){var c;return 0<t.count(s)&&((c=n.get(s))||(a=o(a,"-stagger"),i.addClass(r,a),(c=y(e,r,l)).animationDuration=Math.max(c.animationDuration,0),c.transitionDuration=Math.max(c.transitionDuration,0),i.removeClass(r,a),n.put(s,c))),c||{}}function k(e){E&&E(),D.push(e),E=b((function(){E=null,t.flush(),n.flush();for(var e=p(),i=0;i<D.length;i++)D[i](e);D.length=0}))}function $(n,i,r){return(i=t.get(r))||"infinite"===(i=y(e,n,B)).animationIterationCount&&(i.animationIterationCount=1),t.put(r,i),i=(n=i).transitionDelay,n.maxDelay=(r=n.animationDelay)&&i?Math.max(r,i):r||i,n.maxDuration=Math.max(n.animationDuration*n.animationIterationCount,n.transitionDuration),n}var E,L=s(i),N=0,D=[];return function(e,n){function s(){b()}function p(){b(!0)}function b(t){P||B&&q||(P=!0,q=!1,n.$$skipPreparationClasses||i.removeClass(e,ie),i.removeClass(e,oe),m(D,!1),g(D,!1),_(Y,(function(e){D.style[e[0]]=""})),L(e,n),c(e,n),n.onDone&&n.onDone(),H&&H.complete(!t))}function y(e){ce.blockTransition&&g(D,e),ce.blockKeyframeAnimation&&m(D,!!e)}function E(){return H=new r({end:s,cancel:p}),b(),{$$willAnimate:!1,start:function(){return H},end:s}}function N(){function t(){if(!P){if(y(!1),_(Y,(function(e){D.style[e[0]]=e[1]})),L(e,n),i.addClass(e,oe),ce.recalculateTimingStyles){if(te=C(D,re=D.className+" "+ie),se=$(D,re,te),le=se.maxDelay,j=Math.max(le,0),0===(U=se.maxDuration))return void b();ce.hasTransitions=0<se.transitionDuration,ce.hasAnimations=0<se.animationDuration}var t;if((ce.applyTransitionDelay||ce.applyAnimationDelay)&&(le="boolean"!=typeof n.delay&&M(n.delay)?parseFloat(n.delay):le,j=Math.max(le,0),ce.applyTransitionDelay&&(se.transitionDelay=le,Y.push(t=[I,le+"s"]),D.style[t[0]]=t[1]),ce.applyAnimationDelay&&(se.animationDelay=le,Y.push(t=[W,le+"s"]),D.style[t[0]]=t[1])),V=1e3*j,G=1e3*U,n.easing){var c=n.easing;ce.hasTransitions&&(Y.push([t=A+"TimingFunction",c]),D.style[t]=c),ce.hasAnimations&&(Y.push([t=S+"TimingFunction",c]),D.style[t]=c)}se.transitionDuration&&l.push(x),se.animationDuration&&l.push(z),s=Date.now(),e.on(l.join(" "),o),a(r,V+1.5*G,!1),d(e,n)}}function r(){b()}function o(e){e.stopPropagation();var t=e.originalEvent||e;e=t.$manualTimeStamp||t.timeStamp||Date.now(),t=parseFloat(t.elapsedTime.toFixed(3)),Math.max(e-s,0)>=V&&t>=U&&(B=!0,b())}if(!P)if(D.parentNode){var s,l=[],c=function(e){if(B)q&&e&&(q=!1,b());else if(q=!e,se.animationDuration)if(e=m(D,q),q)Y.push(e);else{var t=Y,n=t.indexOf(e);0<=e&&t.splice(n,1)}},u=0<ae&&(se.transitionDuration&&0===ne.transitionDuration||se.animationDuration&&0===ne.animationDuration)&&Math.max(ne.animationDelay,ne.transitionDelay);u?a(t,Math.floor(u*ae*1e3),!1):t(),X.resume=function(){c(!0)},X.pause=function(){c(!1)}}else b()}var D=h(e);if(!D||!D.parentNode)return E();n=l(n);var P,q,B,H,X,j,V,U,G,Y=[],K=e.attr("class"),Q=function(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}(n);if(0===n.duration||!f.animations&&!f.transitions)return E();var J=n.event&&O(n.event)?n.event.join(" "):n.event,Z="",ee="";J&&n.structural?Z=o(J,"ng-",!0):J&&(Z=J),n.addClass&&(ee+=o(n.addClass,"-add")),n.removeClass&&(ee.length&&(ee+=" "),ee+=o(n.removeClass,"-remove")),n.applyClassesEarly&&ee.length&&(L(e,n),ee="");var te,ne,ie=[Z,ee].join(" ").trim(),re=K+" "+ie,oe=o(ie,"-active");if(K=Q.to&&0<Object.keys(Q.to).length,!(0<(n.keyframeStyle||"").length||K||ie))return E();0<n.stagger?(Q=parseFloat(n.stagger),ne={transitionDelay:Q,animationDelay:Q,transitionDuration:0,animationDuration:0}):(te=C(D,re),ne=T(D,ie,te,F)),n.$$skipPreparationClasses||i.addClass(e,ie),n.transitionStyle&&(v(D,Q=[A,n.transitionStyle]),Y.push(Q)),0<=n.duration&&(Q=w(n.duration,Q=0<D.style[A].length),v(D,Q),Y.push(Q)),n.keyframeStyle&&(v(D,Q=[S,n.keyframeStyle]),Y.push(Q));var ae=ne?0<=n.staggerIndex?n.staggerIndex:t.count(te):0;(J=0===ae)&&!n.skipBlocking&&g(D,9999);var se=$(D,re,te),le=se.maxDelay;j=Math.max(le,0),U=se.maxDuration;var ce={};return ce.hasTransitions=0<se.transitionDuration,ce.hasAnimations=0<se.animationDuration,ce.hasTransitionAll=ce.hasTransitions&&"all"==se.transitionProperty,ce.applyTransitionDuration=K&&(ce.hasTransitions&&!ce.hasTransitionAll||ce.hasAnimations&&!ce.hasTransitions),ce.applyAnimationDuration=n.duration&&ce.hasAnimations,ce.applyTransitionDelay=M(n.delay)&&(ce.applyTransitionDuration||ce.hasTransitions),ce.applyAnimationDelay=M(n.delay)&&ce.hasAnimations,ce.recalculateTimingStyles=0<ee.length,(ce.applyTransitionDuration||ce.applyAnimationDuration)&&(U=n.duration?parseFloat(n.duration):U,ce.applyTransitionDuration&&(ce.hasTransitions=!0,se.transitionDuration=U,Y.push(w(U,Q=0<D.style[A+"Property"].length))),ce.applyAnimationDuration&&(ce.hasAnimations=!0,se.animationDuration=U,Y.push([R,U+"s"]))),0!==U||ce.recalculateTimingStyles?(null==n.duration&&0<se.transitionDuration&&(ce.recalculateTimingStyles=ce.recalculateTimingStyles||J),V=1e3*j,G=1e3*U,n.skipBlocking||(ce.blockTransition=0<se.transitionDuration,ce.blockKeyframeAnimation=0<se.animationDuration&&0<ne.animationDelay&&0===ne.animationDuration),u(e,n),ce.blockTransition||ce.blockKeyframeAnimation?y(U):n.skipBlocking||g(D,!1),{$$willAnimate:!0,end:s,start:function(){if(!P)return H=new r(X={end:s,cancel:p,resume:null,pause:null}),k(N),H}}):E()}}]}]).provider("$$animateCssDriver",["$$animationProvider",function(e){e.drivers.push("$$animateCssDriver"),this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$$body","$sniffer","$$jqLite",function(e,t,n,i,r,o,a){function l(e){return e.replace(/\bng-\S+\b/g,"")}function c(e,t){return E(e)&&(e=e.split(" ")),E(t)&&(t=t.split(" ")),e.filter((function(e){return-1===t.indexOf(e)})).join(" ")}function u(t,i,r){function o(e){var t={},n=h(e).getBoundingClientRect();return _(["width","height","top","left"],(function(e){var i=n[e];switch(e){case"top":i+=p.scrollTop;break;case"left":i+=p.scrollLeft}t[e]=Math.floor(i)+"px"})),t}function a(){var t=c(n=l(r.attr("class")||""),g),n=c(g,n);return(t=e(d,{to:o(r),addClass:"ng-anchor-in "+t,removeClass:"ng-anchor-out "+n,delay:!0})).$$willAnimate?t:null}function s(){d.remove(),i.removeClass("ng-animate-shim"),r.removeClass("ng-animate-shim")}var u,d=$(h(i).cloneNode(!0)),g=l(d.attr("class")||"");if(i.addClass("ng-animate-shim"),r.addClass("ng-animate-shim"),d.addClass("ng-anchor"),f.append(d),!(t=function(){var t=e(d,{addClass:"ng-anchor-out",delay:!0,from:o(i)});return t.$$willAnimate?t:null}())&&!(u=a()))return s();var m=t||u;return{start:function(){function e(){i&&i.end()}var t,i=m.start();return i.done((function(){if(i=null,!u&&(u=a()))return(i=u.start()).done((function(){i=null,s(),t.complete()})),i;s(),t.complete()})),t=new n({end:e,cancel:e})}}}function d(t,n){var i=t.element,r=t.options||{};return r.$$skipPreparationClasses=!0,r.skipBlocking=!0,t.structural&&(r.event=t.event,"leave"===t.event&&(r.onDone=r.domOperation)),n(i),g(i,r),r.preparationClasses&&(r.event=b(r.event,r.preparationClasses)),(i=e(i,r)).$$willAnimate?i:null}if(!o.animations&&!o.transitions)return T;var p=h(r);t=h(i);var f=$(p.parentNode===t?p:t),g=s(a);return function(e,t){return e.from&&e.to?function(e,t,i,r){var o=d(e,T),a=d(t,T),s=[];if(_(r,(function(e){(e=u(i,e.out,e.in))&&s.push(e)})),o||a||0!==s.length)return{start:function(){function e(){_(t,(function(e){e.end()}))}var t=[];o&&t.push(o.start()),a&&t.push(a.start()),_(s,(function(e){t.push(e.start())}));var i=new n({end:e,cancel:e});return n.all(t,(function(e){i.complete(e)})),i}}}(e.from,e.to,e.classes,e.anchors):d(e,t)}}]}]).provider("$$animateJs",["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$rAFMutex","$$jqLite",function(t,n,i,r){function o(n){n=O(n)?n:n.split(" ");for(var i=[],r={},o=0;o<n.length;o++){var a=n[o],s=e.$$registeredAnimations[a];s&&!r[a]&&(i.push(t.get(s)),r[a]=!0)}return i}var a=s(r);return function(e,t,i,r){function s(){r.domOperation(),a(e,r)}function u(e,t,i,r,o){switch(i){case"animate":t=[t,r.from,r.to,o];break;case"setClass":t=[t,v,b,o];break;case"addClass":t=[t,v,o];break;case"removeClass":t=[t,b,o];break;default:t=[t,o]}if(t.push(r),e=e.apply(e,t))if(P(e.start)&&(e=e.start()),e instanceof n)e.done(o);else if(P(e))return e;return T}function d(e,t,i,r,o){var a=[];return _(r,(function(r){var s=r[o];s&&a.push((function(){var r,o,a=!1,l=function(e){a||(a=!0,(o||T)(e),r.complete(!e))};return r=new n({end:function(){l()},cancel:function(){l(!0)}}),o=u(s,e,t,i,(function(e){l(!1===e)})),r}))})),a}function p(e,t,i,r,o){var a,s,l=d(e,t,i,r,o);if(0===l.length&&("beforeSetClass"===o?(a=d(e,"removeClass",i,r,"beforeRemoveClass"),s=d(e,"addClass",i,r,"beforeAddClass")):"setClass"===o&&(a=d(e,"removeClass",i,r,"removeClass"),s=d(e,"addClass",i,r,"addClass")),a&&(l=l.concat(a)),s&&(l=l.concat(s))),0!==l.length)return function(e){var t=[];return l.length&&_(l,(function(e){t.push(e())})),t.length?n.all(t,e):e(),function(e){_(t,(function(t){e?t.cancel():t.end()}))}}}3===arguments.length&&L(i)&&(r=i,i=null),r=l(r),i||(i=e.attr("class")||"",r.addClass&&(i+=" "+r.addClass),r.removeClass&&(i+=" "+r.removeClass));var h,f,g,m,v=r.addClass,b=r.removeClass,y=o(i);if(y.length&&("leave"==t?(m="leave",g="afterLeave"):(m="before"+t.charAt(0).toUpperCase()+t.substr(1),g=t),"enter"!==t&&"move"!==t&&(h=p(e,t,r,y,m)),f=p(e,t,r,y,g)),h||f)return{start:function(){function t(t){a=!0,s(),c(e,r),l.complete(t)}var i,o=[];h&&o.push((function(e){i=h(e)})),o.length?o.push((function(e){s(),e(!0)})):s(),f&&o.push((function(e){i=f(e)}));var a=!1,l=new n({end:function(){a||((i||T)(void 0),t(void 0))},cancel:function(){a||((i||T)(!0),t(!0))}});return n.chain(o,t),l}}}}]}]).provider("$$animateJsDriver",["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){function n(t){return e(t.element,t.event,t.classes,t.options)}return function(e){if(!e.from||!e.to)return n(e);var i=n(e.from),r=n(e.to);return i||r?{start:function(){function e(){return function(){_(n,(function(e){e.end()}))}}var n=[];i&&n.push(i.start()),r&&n.push(r.start()),t.all(n,(function(e){o.complete(e)}));var o=new t({end:e(),cancel:e()});return o}}:void 0}}]}])}(window,window.angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(e,t,n){"use strict";function i(e,t){return P(new(P((function(){}),{prototype:e})),t)}function r(e){return D(arguments,(function(t){t!==e&&D(t,(function(t,n){e.hasOwnProperty(n)||(e[n]=t)}))})),e}function o(e){if(Object.keys)return Object.keys(e);var t=[];return D(e,(function(e,n){t.push(n)})),t}function a(e,t){if(Array.prototype.indexOf)return e.indexOf(t,Number(arguments[2])||0);var n=e.length>>>0,i=Number(arguments[2])||0;for(0>(i=0>i?Math.ceil(i):Math.floor(i))&&(i+=n);n>i;i++)if(i in e&&e[i]===t)return i;return-1}function s(e,t,n,i){var r,s=function(e,t){var n=[];for(var i in e.path){if(e.path[i]!==t.path[i])break;n.push(e.path[i])}return n}(n,i),l={},c=[];for(var u in s)if(s[u].params&&(r=o(s[u].params)).length)for(var d in r)a(c,r[d])>=0||(c.push(r[d]),l[r[d]]=e[r[d]]);return P({},l,t)}function l(e,t,n){if(!n)for(var i in n=[],e)n.push(i);for(var r=0;r<n.length;r++){var o=n[r];if(e[o]!=t[o])return!1}return!0}function c(e,t){var n={};return D(e,(function(e){n[e]=t[e]})),n}function u(e){var t={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));return D(n,(function(n){n in e&&(t[n]=e[n])})),t}function d(e){var t={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(var i in e)-1==a(n,i)&&(t[i]=e[i]);return t}function p(e,t){var n=N(e),i=n?[]:{};return D(e,(function(e,r){t(e,r)&&(i[n?i.length:r]=e)})),i}function h(e,t){var n=N(e)?[]:{};return D(e,(function(e,i){n[i]=t(e,i)})),n}function f(e,t){var i={},s=[],l=i,c=P(e.when(i),{$$promises:i,$$values:i});this.study=function(i){function u(e){return L(e)&&e.then&&e.$$promises}if(!L(i))throw new Error("'invocables' must be an object");var p=o(i||{}),h=[],f=[],g={};return D(i,(function e(n,r){if(2!==g[r]){if(f.push(r),1===g[r])throw f.splice(0,a(f,r)),new Error("Cyclic dependency: "+f.join(" -> "));if(g[r]=1,E(n))h.push(r,[function(){return t.get(n)}],s);else{var o=t.annotate(n);D(o,(function(t){t!==r&&i.hasOwnProperty(t)&&e(i[t],t)})),h.push(r,n,o)}f.pop(),g[r]=2}})),i=f=g=null,function(i,o,a){function s(){--M||(w||r(y,o.$$values),v.$$values=y,v.$$promises=v.$$promises||!0,delete v.$$inheritedValues,m.resolve(y))}function f(e){v.$$failure=e,m.reject(e)}function g(n,r,o){function l(e){u.reject(e),f(e)}function c(){if(!_(v.$$failure))try{u.resolve(t.invoke(r,a,y)),u.promise.then((function(e){y[n]=e,s()}),l)}catch(e){l(e)}}var u=e.defer(),d=0;D(o,(function(e){b.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(d++,b[e].then((function(t){y[e]=t,--d||c()}),l))})),d||c(),b[n]=u.promise}if(u(i)&&a===n&&(a=o,o=i,i=null),i){if(!L(i))throw new Error("'locals' must be an object")}else i=l;if(o){if(!u(o))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else o=c;var m=e.defer(),v=m.promise,b=v.$$promises={},y=P({},i),M=1+h.length/3,w=!1;if(_(o.$$failure))return f(o.$$failure),v;o.$$inheritedValues&&r(y,d(o.$$inheritedValues,p)),P(b,o.$$promises),o.$$values?(w=r(y,d(o.$$values,p)),v.$$inheritedValues=d(o.$$values,p),s()):(o.$$inheritedValues&&(v.$$inheritedValues=d(o.$$inheritedValues,p)),o.then(s,f));for(var C=0,A=h.length;A>C;C+=3)i.hasOwnProperty(h[C])?s():g(h[C],h[C+1],h[C+2]);return v}},this.resolve=function(e,t,n,i){return this.study(e)(t,n,i)}}function g(e,t,n){this.fromConfig=function(e,t,n){return _(e.template)?this.fromString(e.template,t):_(e.templateUrl)?this.fromUrl(e.templateUrl,t):_(e.templateProvider)?this.fromProvider(e.templateProvider,t,n):null},this.fromString=function(e,t){return O(e)?e(t):e},this.fromUrl=function(n,i){return O(n)&&(n=n(i)),null==n?null:e.get(n,{cache:t,headers:{Accept:"text/html"}}).then((function(e){return e.data}))},this.fromProvider=function(e,t,i){return n.invoke(e,null,i||{params:t})}}function m(e,t,r){function o(t,n,i,r){if(y.push(t),v[t])return v[t];if(!/^\w+(-+\w+)*(?:\[\])?$/.test(t))throw new Error("Invalid parameter name '"+t+"' in pattern '"+e+"'");if(b[t])throw new Error("Duplicate parameter name '"+t+"' in pattern '"+e+"'");return b[t]=new $.Param(t,n,i,r),b[t]}function a(e,t,n,i){var r=["",""],o=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return o;switch(n){case!1:r=["(",")"+(i?"?":"")];break;case!0:r=["?(",")?"];break;default:r=["("+n+"|",")?"]}return o+r[0]+t+r[1]}function s(r,o){var a,s,l,c;return c=t.params[a=r[2]||r[3]],l=e.substring(g,r.index),{id:a,regexp:s=o?r[4]:r[4]||("*"==r[1]?".*":null),segment:l,type:$.type(s||"string")||i($.type("string"),{pattern:new RegExp(s,t.caseInsensitive?"i":n)}),cfg:c}}t=P({params:{}},L(t)?t:{});var l,c,u,d,p=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,h=/([:]?)([\w\[\]-]+)|\{([\w\[\]-]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,f="^",g=0,m=this.segments=[],v=r?r.params:{},b=this.params=r?r.params.$$new():new $.ParamSet,y=[];for(this.source=e;(l=p.exec(e))&&!((c=s(l,!1)).segment.indexOf("?")>=0);)u=o(c.id,c.type,c.cfg,"path"),f+=a(c.segment,u.type.pattern.source,u.squash,u.isOptional),m.push(c.segment),g=p.lastIndex;var M=(d=e.substring(g)).indexOf("?");if(M>=0){var w=this.sourceSearch=d.substring(M);if(d=d.substring(0,M),this.sourcePath=e.substring(0,g+M),w.length>0)for(g=0;l=h.exec(w);)u=o((c=s(l,!0)).id,c.type,c.cfg,"search"),g=p.lastIndex}else this.sourcePath=e,this.sourceSearch="";f+=a(d)+(!1===t.strict?"/?":"")+"$",m.push(d),this.regexp=new RegExp(f,t.caseInsensitive?"i":n),this.prefix=m[0],this.$$paramNames=y}function v(e){P(this,e)}function b(e,i){function r(e){var t=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec(e.source);return null!=t?t[1].replace(/\\(.)/g,"$1"):""}function o(e,t,n){if(!n)return!1;var i=e.invoke(t,t,{$match:n});return!_(i)||i}function a(i,r,o,a){function d(e){function t(e){var t=e(o,i);return!!t&&(E(t)&&i.replace().url(t),!0)}if(!e||!e.defaultPrevented){h&&i.url(),h=n;var r,a=l.length;for(r=0;a>r;r++)if(t(l[r]))return;c&&t(c)}}function p(){return s=s||r.$on("$locationChangeSuccess",d)}var h,f=a.baseHref(),g=i.url();return u||p(),{sync:function(){d()},listen:function(){return p()},update:function(e){return e?void(g=i.url()):void(i.url()!==g&&(i.url(g),i.replace()))},push:function(e,t,r){var o=e.format(t||{});null!==o&&t&&t["#"]&&(o+="#"+t["#"]),i.url(o),h=r&&r.$$avoidResync?i.url():n,r&&r.replace&&i.replace()},href:function(n,r,o){if(!n.validates(r))return null;var a=e.html5Mode();t.isObject(a)&&(a=a.enabled);var s=n.format(r);if(o=o||{},a||null===s||(s="#"+e.hashPrefix()+s),null!==s&&r&&r["#"]&&(s+="#"+r["#"]),s=function(e,t,n){return"/"===f?e:t?f.slice(0,-1)+e:n?f.slice(1)+e:e}(s,a,o.absolute),!o.absolute||!s)return s;var l=!a&&s?"/":"",c=i.port();return c=80===c||443===c?"":":"+c,[i.protocol(),"://",i.host(),c,l,s].join("")}}}var s,l=[],c=null,u=!1;this.rule=function(e){if(!O(e))throw new Error("'rule' must be a function");return l.push(e),this},this.otherwise=function(e){if(E(e)){var t=e;e=function(){return t}}else if(!O(e))throw new Error("'rule' must be a function");return c=e,this},this.when=function(e,t){var n,a=E(t);if(E(e)&&(e=i.compile(e)),!a&&!O(t)&&!N(t))throw new Error("invalid 'handler' in when()");var s={matcher:function(e,t){return a&&(n=i.compile(t),t=["$match",function(e){return n.format(e)}]),P((function(n,i){return o(n,t,e.exec(i.path(),i.search()))}),{prefix:E(e.prefix)?e.prefix:""})},regex:function(e,t){if(e.global||e.sticky)throw new Error("when() RegExp must not be global or sticky");return a&&(n=t,t=["$match",function(e){return function(e,t){return e.replace(/\$(\$|\d{1,2})/,(function(e,n){return t["$"===n?0:Number(n)]}))}(n,e)}]),P((function(n,i){return o(n,t,e.exec(i.path()))}),{prefix:r(e)})}},l={matcher:i.isMatcher(e),regex:e instanceof RegExp};for(var c in l)if(l[c])return this.rule(s[c](e,t));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(e){e===n&&(e=!0),u=e},this.$get=a,a.$inject=["$location","$rootScope","$injector","$browser"]}function y(e,r){function d(e,t){if(!e)return n;var i=E(e),r=i?e:e.name;if(function(e){return 0===e.indexOf(".")||0===e.indexOf("^")}(r)){if(!t)throw new Error("No reference point given for path '"+r+"'");t=d(t);for(var o=r.split("."),a=0,s=o.length,l=t;s>a;a++)if(""!==o[a]||0!==a){if("^"!==o[a])break;if(!l.parent)throw new Error("Path '"+r+"' not valid for state '"+t.name+"'");l=l.parent}else l=t;o=o.slice(a).join("."),r=l.name+(l.name&&o?".":"")+o}var c=y[r];return!c||!i&&(i||c!==e&&c.self!==e)?n:c}function p(t){var n=(t=i(t,{self:t,resolve:t.resolve||{},toString:function(){return this.name}})).name;if(!E(n)||n.indexOf("@")>=0)throw new Error("State must have a valid name");if(y.hasOwnProperty(n))throw new Error("State '"+n+"'' is already defined");var r=-1!==n.indexOf(".")?n.substring(0,n.lastIndexOf(".")):E(t.parent)?t.parent:L(t.parent)&&E(t.parent.name)?t.parent.name:"";if(r&&!y[r])return function(e,t){M[e]||(M[e]=[]),M[e].push(t)}(r,t.self);for(var o in C)O(C[o])&&(t[o]=C[o](t,C.$delegates[o]));return y[n]=t,!t[w]&&t.url&&e.when(t.url,["$match","$stateParams",function(e,n){b.$current.navigable==t&&l(e,n)||b.transitionTo(t,e,{inherit:!0,location:!1})}]),function(e){for(var t=M[e]||[];t.length;)p(t.shift())}(n),t}function f(e){for(var t=e.split("."),n=b.$current.name.split("."),i=0,r=t.length;r>i;i++)"*"===t[i]&&(n[i]="*");return"**"===t[0]&&(n=n.slice(a(n,t[1]))).unshift("**"),"**"===t[t.length-1]&&(n.splice(a(n,t[t.length-2])+1,Number.MAX_VALUE),n.push("**")),t.length==n.length&&n.join("")===t.join("")}function g(e,r,a,u,p,g,M,C,A){function x(t,n,i,o){var a=e.$broadcast("$stateNotFound",t,n,i);if(a.defaultPrevented)return M.update(),k;if(!a.retry)return null;if(o.$retry)return M.update(),$;var s=b.transition=r.when(a.retry);return s.then((function(){return s!==b.transition?z:(t.options.$retry=!0,b.transitionTo(t.to,t.toParams,t.options))}),(function(){return k})),M.update(),s}function S(e,n,i,o,s,l){var d=i?n:c(e.params.$$keys(),n);s.resolve=p.resolve(e.resolve,{$stateParams:d},s.resolve,e);var h=[s.resolve.then((function(e){s.globals=e}))];return o&&h.push(o),r.all(h).then((function(){var n=[];return D(e.views,(function(i,r){var o=i.resolve&&i.resolve!==e.resolve?i.resolve:{};o.$template=[function(){return a.load(r,{view:i,locals:s.globals,params:d,notify:l.notify})||""}],n.push(p.resolve(o,s.globals,s.resolve,e).then((function(n){if(O(i.controllerProvider)||N(i.controllerProvider)){var a=t.extend({},o,s.globals);n.$$controller=u.invoke(i.controllerProvider,null,a)}else n.$$controller=i.controller;n.$$state=e,n.$$controllerAs=i.controllerAs,s[r]=n})))})),r.all(n).then((function(){return s.globals}))})).then((function(e){return s}))}var z=r.reject(new Error("transition superseded")),T=r.reject(new Error("transition prevented")),k=r.reject(new Error("transition aborted")),$=r.reject(new Error("transition failed"));return v.locals={resolve:null,globals:{$stateParams:{}}},(b={params:{},current:v.self,$current:v,transition:null}).reload=function(e){return b.transitionTo(b.current,g,{reload:e||!0,inherit:!1,notify:!0})},b.go=function(e,t,n){return b.transitionTo(e,t,P({inherit:!0,relative:b.$current},n))},b.transitionTo=function(t,n,o){n=n||{},o=P({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},o||{});var a=b.$current,l=b.params,p=a.path,h=d(t,o.relative),f=n["#"];if(!_(h)){var y={to:t,toParams:n,options:o},C=x(y,a.self,l,o);if(C)return C;if(n=y.toParams,h=d(t=y.to,(o=y.options).relative),!_(h)){if(!o.relative)throw new Error("No such state '"+t+"'");throw new Error("Could not resolve '"+t+"' from state '"+o.relative+"'")}}if(h[w])throw new Error("Cannot transition to abstract state '"+t+"'");if(o.inherit&&(n=s(g,n||{},b.$current,h)),!h.params.$$validates(n))return $;n=h.params.$$values(n);var A=(t=h).path,k=0,O=A[k],N=v.locals,D=[];if(o.reload){if(E(o.reload)||L(o.reload)){if(L(o.reload)&&!o.reload.name)throw new Error("Invalid reload state object");var W=!0===o.reload?p[0]:d(o.reload);if(o.reload&&!W)throw new Error("No such reload state '"+(E(o.reload)?o.reload:o.reload.name)+"'");for(;O&&O===p[k]&&O!==W;)N=D[k]=O.locals,k++,O=A[k]}}else for(;O&&O===p[k]&&O.ownParams.$$equals(n,l);)N=D[k]=O.locals,k++,O=A[k];if(m(t,n,a,l,N,o))return f&&(n["#"]=f),b.params=n,q(b.params,g),o.location&&t.navigable&&t.navigable.url&&(M.push(t.navigable.url,n,{$$avoidResync:!0,replace:"replace"===o.location}),M.update(!0)),b.transition=null,r.when(b.current);if(n=c(t.params.$$keys(),n||{}),o.notify&&e.$broadcast("$stateChangeStart",t.self,n,a.self,l).defaultPrevented)return e.$broadcast("$stateChangeCancel",t.self,n,a.self,l),M.update(),T;for(var R=r.when(N),I=k;I<A.length;I++,O=A[I])N=D[I]=i(N),R=S(O,n,O===t,R,N,o);var B=b.transition=R.then((function(){var i,r,s;if(b.transition!==B)return z;for(i=p.length-1;i>=k;i--)(s=p[i]).self.onExit&&u.invoke(s.self.onExit,s.self,s.locals.globals),s.locals=null;for(i=k;i<A.length;i++)(r=A[i]).locals=D[i],r.self.onEnter&&u.invoke(r.self.onEnter,r.self,r.locals.globals);return f&&(n["#"]=f),b.transition!==B?z:(b.$current=t,b.current=t.self,b.params=n,q(b.params,g),b.transition=null,o.location&&t.navigable&&M.push(t.navigable.url,t.navigable.locals.globals.$stateParams,{$$avoidResync:!0,replace:"replace"===o.location}),o.notify&&e.$broadcast("$stateChangeSuccess",t.self,n,a.self,l),M.update(!0),b.current)}),(function(i){return b.transition!==B?z:(b.transition=null,e.$broadcast("$stateChangeError",t.self,n,a.self,l,i).defaultPrevented||M.update(),r.reject(i))}));return B},b.is=function(e,t,i){var r=d(e,(i=P({relative:b.$current},i||{})).relative);return _(r)?b.$current===r&&(!t||l(r.params.$$values(t),g)):n},b.includes=function(e,t,i){if(i=P({relative:b.$current},i||{}),E(e)&&function(e){return e.indexOf("*")>-1}(e)){if(!f(e))return!1;e=b.$current.name}var r=d(e,i.relative);return _(r)?!!_(b.$current.includes[r.name])&&(!t||l(r.params.$$values(t),g,o(t))):n},b.href=function(e,t,i){var r=d(e,(i=P({lossy:!0,inherit:!0,absolute:!1,relative:b.$current},i||{})).relative);if(!_(r))return null;i.inherit&&(t=s(g,t||{},b.$current,r));var o=r&&i.lossy?r.navigable:r;return o&&o.url!==n&&null!==o.url?M.href(o.url,c(r.params.$$keys().concat("#"),t||{}),{absolute:i.absolute}):null},b.get=function(e,t){if(0===arguments.length)return h(o(y),(function(e){return y[e].self}));var n=d(e,t||b.$current);return n&&n.self?n.self:null},b}function m(e,t,n,i,r,o){return!(o.reload||e!==n||!(r===n.locals||!1===e.self.reloadOnSearch&&function(e,t,n){var i=e.params.$$keys().filter((function(t){return"search"!=e.params[t].location})),r=u.apply({},[e.params].concat(i));return new $.ParamSet(r).$$equals(t,n)}(n,i,t)))||void 0}var v,b,y={},M={},w="abstract",C={parent:function(e){if(_(e.parent)&&e.parent)return d(e.parent);var t=/^(.+)\.[^.]+$/.exec(e.name);return t?d(t[1]):v},data:function(e){return e.parent&&e.parent.data&&(e.data=e.self.data=P({},e.parent.data,e.data)),e.data},url:function(e){var t=e.url,n={params:e.params||{}};if(E(t))return"^"==t.charAt(0)?r.compile(t.substring(1),n):(e.parent.navigable||v).url.concat(t,n);if(!t||r.isMatcher(t))return t;throw new Error("Invalid url '"+t+"' in state '"+e+"'")},navigable:function(e){return e.url?e:e.parent?e.parent.navigable:null},ownParams:function(e){var t=e.url&&e.url.params||new $.ParamSet;return D(e.params||{},(function(e,n){t[n]||(t[n]=new $.Param(n,null,e,"config"))})),t},params:function(e){return e.parent&&e.parent.params?P(e.parent.params.$$new(),e.ownParams):new $.ParamSet},views:function(e){var t={};return D(_(e.views)?e.views:{"":e},(function(n,i){i.indexOf("@")<0&&(i+="@"+e.parent.name),t[i]=n})),t},path:function(e){return e.parent?e.parent.path.concat(e):[]},includes:function(e){var t=e.parent?P({},e.parent.includes):{};return t[e.name]=!0,t},$delegates:{}};(v=p({name:"",url:"^",views:null,abstract:!0})).navigable=null,this.decorator=function(e,t){return E(e)&&!_(t)?C[e]:O(t)&&E(e)?(C[e]&&!C.$delegates[e]&&(C.$delegates[e]=C[e]),C[e]=t,this):this},this.state=function(e,t){return L(e)?t=e:t.name=e,p(t),this},this.$get=g,g.$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter","$location","$urlMatcherFactory"]}function M(){function e(e,t){return{load:function(n,i){var r;return(i=P({template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}},i)).view&&(r=t.fromConfig(i.view,i.params,i.locals)),r&&i.notify&&e.$broadcast("$viewContentLoading",i),r}}}this.$get=e,e.$inject=["$rootScope","$templateFactory"]}function w(e,n,i,r){function o(e,t){if(l)return{enter:function(e,t,n){var i=l.enter(e,null,t,n);i&&i.then&&i.then(n)},leave:function(e,t){var n=l.leave(e,t);n&&n.then&&n.then(t)}};if(s){var n=s&&s(t,e);return{enter:function(e,t,i){n.enter(e,null,t),i()},leave:function(e,t){n.leave(e),t()}}}return{enter:function(e,t,n){t.after(e),n()},leave:function(e,t){e.remove(),t()}}}var a=n.has?function(e){return n.has(e)?n.get(e):null}:function(e){try{return n.get(e)}catch(t){return null}},s=a("$animator"),l=a("$animate");return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(n,a,s){return function(n,a,l){function c(){d&&(d.remove(),d=null),h&&(h.$destroy(),h=null),p&&(v.leave(p,(function(){d=null})),d=p,p=null)}function u(o){var u,d=A(n,l,a,r);if(o||(d&&e.$current&&e.$current.locals[d])!==f){u=n.$new(),f=e.$current.locals[d];var b=s(u,(function(e){v.enter(e,a,(function(){h&&h.$emit("$viewContentAnimationEnded"),(t.isDefined(m)&&!m||n.$eval(m))&&i(e)})),c()}));p=b,(h=u).$emit("$viewContentLoaded"),h.$eval(g)}}var d,p,h,f,g=l.onload||"",m=l.autoscroll,v=o(l,n);n.$on("$stateChangeSuccess",(function(){u(!1)})),n.$on("$viewContentLoading",(function(){u(!1)})),u(!0)}}}}function C(e,t,n,i){return{restrict:"ECA",priority:-400,compile:function(r){var o=r.html();return function(r,a,s){var l=n.$current,c=A(r,s,a,i),u=l&&l.locals[c];if(u){a.data("$uiView",{name:c,state:u.$$state}),a.html(u.$template?u.$template:o);var d=e(a.contents());if(u.$$controller){u.$scope=r,u.$element=a;var p=t(u.$$controller,u);u.$$controllerAs&&(r[u.$$controllerAs]=p),a.data("$ngControllerController",p),a.children().data("$ngControllerController",p)}d(r)}}}}}function A(e,t,n,i){var r=i(t.uiView||t.name||"")(e),o=n.inheritedData("$uiView");return r.indexOf("@")>=0?r:r+"@"+(o?o.state.name:"")}function x(e){var t=e.parent().inheritedData("$uiView");return t&&t.state&&t.state.name?t.state:void 0}function S(e,n){var i=["location","inherit","reload","absolute"];return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,o,a,s){var l=function(e,t){var n,i=e.match(/^\s*({[^}]*})\s*$/);if(i&&(e=t+"("+i[1]+")"),!(n=e.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/))||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1],paramExpr:n[3]||null}}(a.uiSref,e.current.name),c=null,u=x(o)||e.$current,d="[object SVGAnimatedString]"===Object.prototype.toString.call(o.prop("href"))?"xlink:href":"href",p=null,h="A"===o.prop("tagName").toUpperCase(),f="FORM"===o[0].nodeName,g=f?"action":d,m=!0,v={relative:u,inherit:!0},b=r.$eval(a.uiSrefOpts)||{};t.forEach(i,(function(e){e in b&&(v[e]=b[e])}));var y=function(n){if(n&&(c=t.copy(n)),m){p=e.href(l.state,c,v);var i=s[1]||s[0];return i&&i.$$addStateInfo(l.state,c),null===p?(m=!1,!1):void a.$set(g,p)}};l.paramExpr&&(r.$watch(l.paramExpr,(function(e,t){e!==c&&y(e)}),!0),c=t.copy(r.$eval(l.paramExpr))),y(),f||o.bind("click",(function(t){if(!((t.which||t.button)>1||t.ctrlKey||t.metaKey||t.shiftKey||o.attr("target"))){var i=n((function(){e.go(l.state,c,v)}));t.preventDefault();var r=h&&!p?1:0;t.preventDefault=function(){r--<=0&&n.cancel(i)}}}))}}}function z(e,t,n){return{restrict:"A",controller:["$scope","$element","$attrs",function(t,i,r){function o(){!function(){for(var e=0;e<l.length;e++)if(a(l[e].state,l[e].params))return!0;return!1}()?i.removeClass(s):i.addClass(s)}function a(t,n){return void 0!==r.uiSrefActiveEq?e.is(t.name,n):e.includes(t.name,n)}var s,l=[];s=n(r.uiSrefActiveEq||r.uiSrefActive||"",!1)(t),this.$$addStateInfo=function(t,n){var r=e.get(t,x(i));l.push({state:r||{name:t},params:n}),o()},t.$on("$stateChangeSuccess",o)}]}}function T(e){var t=function(t){return e.is(t)};return t.$stateful=!0,t}function k(e){var t=function(t){return e.includes(t)};return t.$stateful=!0,t}var $,_=t.isDefined,O=t.isFunction,E=t.isString,L=t.isObject,N=t.isArray,D=t.forEach,P=t.extend,q=t.copy;t.module("ui.router.util",["ng"]),t.module("ui.router.router",["ui.router.util"]),t.module("ui.router.state",["ui.router.router","ui.router.util"]),t.module("ui.router",["ui.router.state"]),t.module("ui.router.compat",["ui.router"]),f.$inject=["$q","$injector"],t.module("ui.router.util").service("$resolve",f),g.$inject=["$http","$templateCache","$injector"],t.module("ui.router.util").service("$templateFactory",g),m.prototype.concat=function(e,t){var n={caseInsensitive:$.caseInsensitive(),strict:$.strictMode(),squash:$.defaultSquashPolicy()};return new m(this.sourcePath+e+this.sourceSearch,P(n,t),this)},m.prototype.toString=function(){return this.source},m.prototype.exec=function(e,t){function n(e){function t(e){return e.split("").reverse().join("")}var n=h(t(e).split(/-(?!\\)/),t);return h(n,(function(e){return e.replace(/\\-/g,"-")})).reverse()}var i=this.regexp.exec(e);if(!i)return null;t=t||{};var r,o,a,s=this.parameters(),l=s.length,c=this.segments.length-1,u={};if(c!==i.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");for(r=0;c>r;r++){var d=this.params[a=s[r]],p=i[r+1];for(o=0;o<d.replace;o++)d.replace[o].from===p&&(p=d.replace[o].to);p&&!0===d.array&&(p=n(p)),u[a]=d.value(p)}for(;l>r;r++)u[a=s[r]]=this.params[a].value(t[a]);return u},m.prototype.parameters=function(e){return _(e)?this.params[e]||null:this.$$paramNames},m.prototype.validates=function(e){return this.params.$$validates(e)},m.prototype.format=function(e){function t(e){return encodeURIComponent(e).replace(/-/g,(function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()}))}e=e||{};var n=this.segments,i=this.parameters(),r=this.params;if(!this.validates(e))return null;var o,a=!1,s=n.length-1,l=i.length,c=n[0];for(o=0;l>o;o++){var u=s>o,d=i[o],p=r[d],f=p.value(e[d]),g=p.isOptional&&p.type.equals(p.value(),f),m=!!g&&p.squash,v=p.type.encode(f);if(u){var b=n[o+1];if(!1===m)null!=v&&(c+=N(v)?h(v,t).join("-"):encodeURIComponent(v)),c+=b;else if(!0===m){var y=c.match(/\/$/)?/\/?(.*)/:/(.*)/;c+=b.match(y)[1]}else E(m)&&(c+=m+b)}else{if(null==v||g&&!1!==m)continue;N(v)||(v=[v]),c+=(a?"&":"?")+d+"="+(v=h(v,encodeURIComponent).join("&"+d+"=")),a=!0}}return c},v.prototype.is=function(e,t){return!0},v.prototype.encode=function(e,t){return e},v.prototype.decode=function(e,t){return e},v.prototype.equals=function(e,t){return e==t},v.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},v.prototype.pattern=/.*/,v.prototype.toString=function(){return"{Type:"+this.name+"}"},v.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},v.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new function(e,t){function i(e,t){return function(){return e[t].apply(e,arguments)}}function r(e){return N(e)?e:_(e)?[e]:[]}function o(e){switch(e.length){case 0:return n;case 1:return"auto"===t?e[0]:e;default:return e}}function a(e){return!e}function s(e,t){return function(n){var i=h(n=r(n),e);return!0===t?0===p(i,a).length:o(i)}}this.encode=s(i(e,"encode")),this.decode=s(i(e,"decode")),this.is=s(i(e,"is"),!0),this.equals=function(e){return function(t,n){var i=r(t),o=r(n);if(i.length!==o.length)return!1;for(var a=0;a<i.length;a++)if(!e(i[a],o[a]))return!1;return!0}}(i(e,"equals")),this.pattern=e.pattern,this.$normalize=s(i(e,"$normalize")),this.name=e.name,this.$arrayMode=t}(this,e)},t.module("ui.router.util").provider("$urlMatcherFactory",(function e(){function r(e){return null!=e?e.toString().replace(/\//g,"%2F"):e}function s(e){return O(e)||N(e)&&O(e[e.length-1])}function l(){for(;M.length;){var e=M.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");t.extend(b[e.name],u.invoke(e.def))}}function c(e){P(this,e||{})}$=this;var u,d=!1,f=!0,g=!1,b={},y=!0,M=[],w={string:{encode:r,decode:function(e){return null!=e?e.toString().replace(/%2F/g,"/"):e},is:function(e){return null==e||!_(e)||"string"==typeof e},pattern:/[^/]*/},int:{encode:r,decode:function(e){return parseInt(e,10)},is:function(e){return _(e)&&this.decode(e.toString())===e},pattern:/\d+/},bool:{encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:function(e){return!0===e||!1===e},pattern:/0|1/},date:{encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):n},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):n},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return this.is(e)&&this.is(t)&&e.toISOString()===t.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:t.toJson,decode:t.fromJson,is:t.isObject,equals:t.equals,pattern:/[^/]*/},any:{encode:t.identity,decode:t.identity,equals:t.equals,pattern:/.*/}};e.$$getDefaultValue=function(e){if(!s(e.value))return e.value;if(!u)throw new Error("Injectable functions cannot be called at configuration time");return u.invoke(e.value)},this.caseInsensitive=function(e){return _(e)&&(d=e),d},this.strictMode=function(e){return _(e)&&(f=e),f},this.defaultSquashPolicy=function(e){if(!_(e))return g;if(!0!==e&&!1!==e&&!E(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return g=e,e},this.compile=function(e,t){return new m(e,P({strict:f,caseInsensitive:d},t))},this.isMatcher=function(e){if(!L(e))return!1;var t=!0;return D(m.prototype,(function(n,i){O(n)&&(t=t&&_(e[i])&&O(e[i]))})),t},this.type=function(e,t,n){if(!_(t))return b[e];if(b.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return b[e]=new v(P({name:e},t)),n&&(M.push({name:e,def:n}),y||l()),this},D(w,(function(e,t){b[t]=new v(P({name:t},e))})),b=i(b,{}),this.$get=["$injector",function(e){return u=e,y=!1,l(),D(w,(function(e,t){b[t]||(b[t]=new v(e))})),this}],this.Param=function(e,t,i,r){var l=this;i=function(e){var t=L(e)?o(e):[];return-1===a(t,"value")&&-1===a(t,"type")&&-1===a(t,"squash")&&-1===a(t,"array")&&(e={value:e}),e.$$fn=s(e.value)?e.value:function(){return e.value},e}(i),t=function(t,n,i){if(t.type&&n)throw new Error("Param '"+e+"' has two type configurations.");return n||(t.type?t.type instanceof v?t.type:new v(t.type):"config"===i?b.any:b.string)}(i,t,r);var c=function(){var t={array:"search"===r&&"auto"},n=e.match(/\[\]$/)?{array:!0}:{};return P(t,n,i).array}();"string"!==(t=c?t.$asArray(c,"search"===r):t).name||c||"path"!==r||i.value!==n||(i.value="");var d=i.value!==n,f=function(e,t){var n=e.squash;if(!t||!1===n)return!1;if(!_(n)||null==n)return g;if(!0===n||E(n))return n;throw new Error("Invalid squash policy: '"+n+"'. Valid policies: false, true, or arbitrary string")}(i,d),m=function(e,t,i,r){var o,s,l=[{from:"",to:i||t?n:""},{from:null,to:i||t?n:""}];return o=N(e.replace)?e.replace:[],E(r)&&o.push({from:r,to:n}),s=h(o,(function(e){return e.from})),p(l,(function(e){return-1===a(s,e.from)})).concat(o)}(i,c,d,f);P(this,{id:e,type:t,location:r,array:c,squash:f,replace:m,isOptional:d,value:function(e){return e=function(e){var t=h(p(l.replace,function(e){return function(t){return t.from===e}}(e)),(function(e){return e.to}));return t.length?t[0]:e}(e),_(e)?l.type.$normalize(e):function(){if(!u)throw new Error("Injectable functions cannot be called at configuration time");var e=u.invoke(i.$$fn);if(null!==e&&e!==n&&!l.type.is(e))throw new Error("Default value ("+e+") for parameter '"+l.id+"' is not an instance of Type ("+l.type.name+")");return e}()},dynamic:n,config:i,toString:function(){return"{Param:"+e+" "+t+" squash: '"+f+"' optional: "+d+"}"}})},c.prototype={$$new:function(){return i(this,P(new c,{$$parent:this}))},$$keys:function(){for(var e=[],t=[],n=this,i=o(c.prototype);n;)t.push(n),n=n.$$parent;return t.reverse(),D(t,(function(t){D(o(t),(function(t){-1===a(e,t)&&-1===a(i,t)&&e.push(t)}))})),e},$$values:function(e){var t={},n=this;return D(n.$$keys(),(function(i){t[i]=n[i].value(e&&e[i])})),t},$$equals:function(e,t){var n=!0,i=this;return D(i.$$keys(),(function(r){i[r].type.equals(e&&e[r],t&&t[r])||(n=!1)})),n},$$validates:function(e){var i,r,o,a,s,l=this.$$keys();for(i=0;i<l.length&&(r=this[l[i]],(o=e[l[i]])!==n&&null!==o||!r.isOptional);i++){if(a=r.type.$normalize(o),!r.type.is(a))return!1;if(s=r.type.encode(a),t.isString(s)&&!r.type.pattern.exec(s))return!1}return!0},$$parent:n},this.ParamSet=c})),t.module("ui.router.util").run(["$urlMatcherFactory",function(e){}]),b.$inject=["$locationProvider","$urlMatcherFactoryProvider"],t.module("ui.router.router").provider("$urlRouter",b),y.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],t.module("ui.router.state").value("$stateParams",{}).provider("$state",y),M.$inject=[],t.module("ui.router.state").provider("$view",M),t.module("ui.router.state").provider("$uiViewScroll",(function(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,n){return e?t:function(e){return n((function(){e[0].scrollIntoView()}),0,!1)}}]})),w.$inject=["$state","$injector","$uiViewScroll","$interpolate"],C.$inject=["$compile","$controller","$state","$interpolate"],t.module("ui.router.state").directive("uiView",w),t.module("ui.router.state").directive("uiView",C),S.$inject=["$state","$timeout"],z.$inject=["$state","$stateParams","$interpolate"],t.module("ui.router.state").directive("uiSref",S).directive("uiSrefActive",z).directive("uiSrefActiveEq",z),T.$inject=["$state"],k.$inject=["$state"],t.module("ui.router.state").filter("isState",T).filter("includedByState",k)}(window,window.angular),angular.module("ui.bootstrap",["ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.transition","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.collapse",[]).directive("collapse",["$animate",function(e){return{link:function(t,n,i){function r(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),e.addClass(n,"in",{to:{height:n[0].scrollHeight+"px"}}).then(o)}function o(){n.removeClass("collapsing"),n.css({height:"auto"})}function a(){return n.hasClass("collapse")||n.hasClass("in")?(n.css({height:n[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),void e.removeClass(n,"in",{to:{height:"0"}}).then(s)):s()}function s(){n.css({height:"0"}),n.removeClass("collapsing"),n.addClass("collapse")}t.$watch(i.collapse,(function(e){e?a():r()}))}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(i){(angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers)&&angular.forEach(this.groups,(function(e){e!==i&&(e.isOpen=!1)}))},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",(function(){t.removeGroup(e)}))},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("accordion",(function(){return{restrict:"EA",controller:"AccordionController",controllerAs:"accordion",transclude:!0,replace:!1,templateUrl:function(e,t){return t.templateUrl||"template/accordion/accordion.html"}}})).directive("accordionGroup",(function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/accordion/accordion-group.html"},scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,i){i.addGroup(e),e.$watch("isOpen",(function(t){t&&i.closeOthers(e)})),e.toggleOpen=function(){e.isDisabled||(e.isOpen=!e.isOpen)}}}})).directive("accordionHeading",(function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(e,t,n,i,r){i.setHeading(r(e,angular.noop))}}})).directive("accordionTransclude",(function(){return{require:"^accordionGroup",link:function(e,t,n,i){e.$watch((function(){return i[n.accordionTransclude]}),(function(e){e&&(t.find("span").html(""),t.find("span").append(e))}))}}})),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(e,t){e.closeable=!!t.close,this.close=e.close}]).directive("alert",(function(){return{restrict:"EA",controller:"AlertController",controllerAs:"alert",templateUrl:function(e,t){return t.templateUrl||"template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}})).directive("dismissOnTimeout",["$timeout",function(e){return{require:"alert",link:function(t,n,i,r){e((function(){r.close()}),parseInt(i.dismissOnTimeout,10))}}}]),angular.module("ui.bootstrap.bindHtml",[]).value("$bindHtmlUnsafeSuppressDeprecated",!1).directive("bindHtmlUnsafe",["$log","$bindHtmlUnsafeSuppressDeprecated",function(e,t){return function(n,i,r){t||e.warn("bindHtmlUnsafe is now deprecated. Use ngBindHtml instead"),i.addClass("ng-binding").data("$binding",r.bindHtmlUnsafe),n.$watch(r.bindHtmlUnsafe,(function(e){i.html(e||"")}))}}]),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("btnRadio",(function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",controllerAs:"buttons",link:function(e,t,n,i){var r=i[0],o=i[1];o.$render=function(){t.toggleClass(r.activeClass,angular.equals(o.$modelValue,e.$eval(n.btnRadio)))},t.bind(r.toggleEvent,(function(){if(!n.disabled){var i=t.hasClass(r.activeClass);(!i||angular.isDefined(n.uncheckable))&&e.$apply((function(){o.$setViewValue(i?null:e.$eval(n.btnRadio)),o.$render()}))}}))}}})).directive("btnCheckbox",(function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",controllerAs:"button",link:function(e,t,n,i){function r(){return o(n.btnCheckboxTrue,!0)}function o(t,n){var i=e.$eval(t);return angular.isDefined(i)?i:n}var a=i[0],s=i[1];s.$render=function(){t.toggleClass(a.activeClass,angular.equals(s.$modelValue,r()))},t.bind(a.toggleEvent,(function(){n.disabled||e.$apply((function(){s.$setViewValue(t.hasClass(a.activeClass)?o(n.btnCheckboxFalse,!1):r()),s.$render()}))}))}}})),angular.module("ui.bootstrap.carousel",[]).controller("CarouselController",["$scope","$element","$interval","$animate",function(e,t,n,i){function r(t,n,r){m||(angular.extend(t,{direction:r,active:!0}),angular.extend(d.currentSlide||{},{direction:r,active:!1}),i.enabled()&&!e.noTransition&&!e.$currentTransition&&t.$element&&d.slides.length>1&&(t.$element.data(f,t.direction),d.currentSlide&&d.currentSlide.$element&&d.currentSlide.$element.data(f,t.direction),e.$currentTransition=!0,h?i.on("addClass",t.$element,(function(t,n){"close"===n&&(e.$currentTransition=null,i.off("addClass",t))})):t.$element.one("$animate:close",(function(){e.$currentTransition=null}))),d.currentSlide=t,g=n,a())}function o(e){if(angular.isUndefined(p[e].index))return p[e];var t;for(t=0;t<p.length;++t)if(p[t].index==e)return p[t]}function a(){s();var t=+e.interval;!isNaN(t)&&t>0&&(c=n(l,t))}function s(){c&&(n.cancel(c),c=null)}function l(){var t=+e.interval;u&&!isNaN(t)&&t>0&&p.length?e.next():e.pause()}var c,u,d=this,p=d.slides=e.slides=[],h=angular.version.minor>=4,f="uib-slideDirection",g=-1;d.currentSlide=null;var m=!1;d.select=e.select=function(t,n){var i=e.indexOfSlide(t);void 0===n&&(n=i>d.getCurrentIndex()?"next":"prev"),t&&t!==d.currentSlide&&!e.$currentTransition&&r(t,i,n)},e.$on("$destroy",(function(){m=!0})),d.getCurrentIndex=function(){return d.currentSlide&&angular.isDefined(d.currentSlide.index)?+d.currentSlide.index:g},e.indexOfSlide=function(e){return angular.isDefined(e.index)?+e.index:p.indexOf(e)},e.next=function(){var t=(d.getCurrentIndex()+1)%p.length;return 0===t&&e.noWrap()?void e.pause():d.select(o(t),"next")},e.prev=function(){var t=d.getCurrentIndex()-1<0?p.length-1:d.getCurrentIndex()-1;return e.noWrap()&&t===p.length-1?void e.pause():d.select(o(t),"prev")},e.isActive=function(e){return d.currentSlide===e},e.$watch("interval",a),e.$on("$destroy",s),e.play=function(){u||(u=!0,a())},e.pause=function(){e.noPause||(u=!1,s())},d.addSlide=function(t,n){t.$element=n,p.push(t),1===p.length||t.active?(d.select(p[p.length-1]),1==p.length&&e.play()):t.active=!1},d.removeSlide=function(e){angular.isDefined(e.index)&&p.sort((function(e,t){return+e.index>+t.index}));var t=p.indexOf(e);p.splice(t,1),p.length>0&&e.active?d.select(t>=p.length?p[t-1]:p[t]):g>t&&g--,0===p.length&&(d.currentSlide=null)},e.$watch("noTransition",(function(e){t.data("uib-noTransition",e)}))}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",controllerAs:"carousel",require:"carousel",templateUrl:function(e,t){return t.templateUrl||"template/carousel/carousel.html"},scope:{interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}]).directive("slide",(function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/carousel/slide.html"},scope:{active:"=?",index:"=?"},link:function(e,t,n,i){i.addSlide(e,t),e.$on("$destroy",(function(){i.removeSlide(e)})),e.$watch("active",(function(t){t&&i.select(e)}))}}})).animation(".item",["$injector","$animate",function(e,t){function n(e,t,n){e.removeClass(t),n&&n()}var i="uib-noTransition",r="uib-slideDirection",o=null;return e.has("$animateCss")&&(o=e.get("$animateCss")),{beforeAddClass:function(e,a,s){if("active"==a&&e.parent()&&!e.parent().data(i)){var l=!1,c=e.data(r),u="next"==c?"left":"right",d=n.bind(this,e,u+" "+c,s);return e.addClass(c),o?o(e,{addClass:u}).start().done(d):t.addClass(e,u).then((function(){l||d(),s()})),function(){l=!0}}s()},beforeRemoveClass:function(e,a,s){if("active"===a&&e.parent()&&!e.parent().data(i)){var l=!1,c="next"==e.data(r)?"left":"right",u=n.bind(this,e,c,s);return o?o(e,{addClass:c}).start().done(u):t.addClass(e,c).then((function(){l||u(),s()})),function(){l=!0}}s()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$log","$locale","orderByFilter",function(e,t,n){function i(e){var t=[],i=e.split("");return angular.forEach(o,(function(n,r){var o=e.indexOf(r);if(o>-1){e=e.split(""),i[o]="("+n.regex+")",e[o]="$";for(var a=o+1,s=o+r.length;s>a;a++)i[a]="",e[a]="$";e=e.join(""),t.push({index:o,apply:n.apply})}})),{regex:new RegExp("^"+i.join("")+"$"),map:n(t,"index")}}var r=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.parsers={};var o={yyyy:{regex:"\\d{4}",apply:function(e){this.year=+e}},yy:{regex:"\\d{2}",apply:function(e){this.year=+e+2e3}},y:{regex:"\\d{1,4}",apply:function(e){this.year=+e}},MMMM:{regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)}},MMM:{regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1}},M:{regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},EEEE:{regex:t.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:t.DATETIME_FORMATS.SHORTDAY.join("|")},HH:{regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e}},hh:{regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e}},H:{regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e}},mm:{regex:"[0-5][0-9]",apply:function(e){this.minutes=+e}},m:{regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e}},sss:{regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e}},ss:{regex:"[0-5][0-9]",apply:function(e){this.seconds=+e}},s:{regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e}},a:{regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)}}};this.parse=function(n,o,a){if(!angular.isString(n)||!o)return n;o=(o=t.DATETIME_FORMATS[o]||o).replace(r,"\\$&"),this.parsers[o]||(this.parsers[o]=i(o));var s=this.parsers[o],l=s.map,c=n.match(s.regex);if(c&&c.length){var u,d;angular.isDate(a)&&!isNaN(a.getTime())?u={year:a.getFullYear(),month:a.getMonth(),date:a.getDate(),hours:a.getHours(),minutes:a.getMinutes(),seconds:a.getSeconds(),milliseconds:a.getMilliseconds()}:(a&&e.warn("dateparser:","baseDate is not a valid date"),u={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var p=1,h=c.length;h>p;p++){var f=l[p-1];f.apply&&f.apply.call(u,c[p])}return function(e,t,n){return!(1>n)&&(1===t&&n>28?29===n&&(e%4==0&&e%100!=0||e%400==0):3!==t&&5!==t&&8!==t&&10!==t||31>n)}(u.year,u.month,u.date)&&(d=new Date(u.year,u.month,u.date,u.hours,u.minutes,u.seconds,u.milliseconds||0)),d}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(e,t){function n(e){return"static"===(function(e,n){return e.currentStyle?e.currentStyle[n]:t.getComputedStyle?t.getComputedStyle(e)[n]:e.style[n]}(e,"position")||"static")}var i=function(t){for(var i=e[0],r=t.offsetParent||i;r&&r!==i&&n(r);)r=r.offsetParent;return r||i};return{position:function(t){var n=this.offset(t),r={top:0,left:0},o=i(t[0]);o!=e[0]&&((r=this.offset(angular.element(o))).top+=o.clientTop-o.scrollTop,r.left+=o.clientLeft-o.scrollLeft);var a=t[0].getBoundingClientRect();return{width:a.width||t.prop("offsetWidth"),height:a.height||t.prop("offsetHeight"),top:n.top-r.top,left:n.left-r.left}},offset:function(n){var i=n[0].getBoundingClientRect();return{width:i.width||n.prop("offsetWidth"),height:i.height||n.prop("offsetHeight"),top:i.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:i.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}},positionElements:function(e,t,n,i){var r,o,a,s,l=n.split("-"),c=l[0],u=l[1]||"center";r=i?this.offset(e):this.position(e),o=t.prop("offsetWidth"),a=t.prop("offsetHeight");var d={center:function(){return r.left+r.width/2-o/2},left:function(){return r.left},right:function(){return r.left+r.width}},p={center:function(){return r.top+r.height/2-a/2},top:function(){return r.top},bottom:function(){return r.top+r.height}};switch(c){case"right":s={top:p[u](),left:d[c]()};break;case"left":s={top:p[u](),left:r.left-o};break;case"bottom":s={top:p[c](),left:d[u]()};break;default:s={top:r.top-a,left:d[u]()}}return s}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).value("$datepickerSuppressError",!1).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null,shortcutPropagation:!1}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$log","dateFilter","datepickerConfig","$datepickerSuppressError",function(e,t,n,i,r,o,a,s){var l=this,c={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","showWeeks","startingDay","yearRange","shortcutPropagation"],(function(n,r){l[n]=angular.isDefined(t[n])?6>r?i(t[n])(e.$parent):e.$parent.$eval(t[n]):a[n]})),angular.forEach(["minDate","maxDate"],(function(i){t[i]?e.$parent.$watch(n(t[i]),(function(e){l[i]=e?new Date(e):null,l.refreshView()})):l[i]=a[i]?new Date(a[i]):null})),angular.forEach(["minMode","maxMode"],(function(i){t[i]?e.$parent.$watch(n(t[i]),(function(n){l[i]=angular.isDefined(n)?n:t[i],e[i]=l[i],("minMode"==i&&l.modes.indexOf(e.datepickerMode)<l.modes.indexOf(l[i])||"maxMode"==i&&l.modes.indexOf(e.datepickerMode)>l.modes.indexOf(l[i]))&&(e.datepickerMode=l[i])})):(l[i]=a[i]||null,e[i]=l[i])})),e.datepickerMode=e.datepickerMode||a.datepickerMode,e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),angular.isDefined(t.initDate)?(this.activeDate=e.$parent.$eval(t.initDate)||new Date,e.$parent.$watch(t.initDate,(function(e){e&&(c.$isEmpty(c.$modelValue)||c.$invalid)&&(l.activeDate=e,l.refreshView())}))):this.activeDate=new Date,e.isActive=function(t){return 0===l.compare(t.date,l.activeDate)&&(e.activeDateId=t.uid,!0)},this.init=function(e){(c=e).$render=function(){l.render()}},this.render=function(){if(c.$viewValue){var e=new Date(c.$viewValue);isNaN(e)?s||r.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'):this.activeDate=e}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var e=c.$viewValue?new Date(c.$viewValue):null;c.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,t){var n=c.$viewValue?new Date(c.$viewValue):null;return{date:e,label:o(e,t),selected:n&&0===this.compare(e,n),disabled:this.isDisabled(e),current:0===this.compare(e,new Date),customClass:this.customClass(e)}},this.isDisabled=function(n){return this.minDate&&this.compare(n,this.minDate)<0||this.maxDate&&this.compare(n,this.maxDate)>0||t.dateDisabled&&e.dateDisabled({date:n,mode:e.datepickerMode})},this.customClass=function(t){return e.customClass({date:t,mode:e.datepickerMode})},this.split=function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},this.fixTimeZone=function(e){var t=e.getHours();e.setHours(23===t?t+2:0)},e.select=function(t){if(e.datepickerMode===l.minMode){var n=c.$viewValue?new Date(c.$viewValue):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),c.$setViewValue(n),c.$render()}else l.activeDate=t,e.datepickerMode=l.modes[l.modes.indexOf(e.datepickerMode)-1]},e.move=function(e){var t=l.activeDate.getFullYear()+e*(l.step.years||0),n=l.activeDate.getMonth()+e*(l.step.months||0);l.activeDate.setFullYear(t,n,1),l.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===l.maxMode&&1===t||e.datepickerMode===l.minMode&&-1===t||(e.datepickerMode=l.modes[l.modes.indexOf(e.datepickerMode)+t])},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var u=function(){l.element[0].focus()};e.$on("datepicker.focus",u),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey)if(t.preventDefault(),l.shortcutPropagation||t.stopPropagation(),"enter"===n||"space"===n){if(l.isDisabled(l.activeDate))return;e.select(l.activeDate),u()}else!t.ctrlKey||"up"!==n&&"down"!==n?(l.handleKeyDown(n,t),l.refreshView()):(e.toggleMode("up"===n?1:-1),u())}}]).directive("datepicker",(function(){return{restrict:"EA",replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/datepicker/datepicker.html"},scope:{datepickerMode:"=?",dateDisabled:"&",customClass:"&",shortcutPropagation:"&?"},require:["datepicker","^ngModel"],controller:"DatepickerController",controllerAs:"datepicker",link:function(e,t,n,i){i[0].init(i[1])}}})).directive("daypicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(t,n,i,r){function o(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?s[t]:29}function a(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}t.showWeeks=r.showWeeks,r.step={months:1},r.element=n;var s=[31,28,31,30,31,30,31,31,30,31,30,31];r._refreshView=function(){var n=r.activeDate.getFullYear(),i=r.activeDate.getMonth(),o=new Date(n,i,1),s=r.startingDay-o.getDay(),l=s>0?7-s:-s,c=new Date(o);l>0&&c.setDate(1-l);for(var u=function(e,t){for(var n,i=new Array(42),o=new Date(e),a=0;42>a;)n=new Date(o),r.fixTimeZone(n),i[a++]=n,o.setDate(o.getDate()+1);return i}(c),d=0;42>d;d++)u[d]=angular.extend(r.createDateObject(u[d],r.formatDay),{secondary:u[d].getMonth()!==i,uid:t.uniqueId+"-"+d});t.labels=new Array(7);for(var p=0;7>p;p++)t.labels[p]={abbr:e(u[p].date,r.formatDayHeader),full:e(u[p].date,"EEEE")};if(t.title=e(r.activeDate,r.formatDayTitle),t.rows=r.split(u,7),t.showWeeks){t.weekNumbers=[];for(var h=(11-r.startingDay)%7,f=t.rows.length,g=0;f>g;g++)t.weekNumbers.push(a(t.rows[g][h].date))}},r.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},r.handleKeyDown=function(e){var t=r.activeDate.getDate();if("left"===e)t-=1;else if("up"===e)t-=7;else if("right"===e)t+=1;else if("down"===e)t+=7;else if("pageup"===e||"pagedown"===e){var n=r.activeDate.getMonth()+("pageup"===e?-1:1);r.activeDate.setMonth(n,1),t=Math.min(o(r.activeDate.getFullYear(),r.activeDate.getMonth()),t)}else"home"===e?t=1:"end"===e&&(t=o(r.activeDate.getFullYear(),r.activeDate.getMonth()));r.activeDate.setDate(t)},r.refreshView()}}}]).directive("monthpicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/month.html",require:"^datepicker",link:function(t,n,i,r){r.step={years:1},r.element=n,r._refreshView=function(){for(var n,i=new Array(12),o=r.activeDate.getFullYear(),a=0;12>a;a++)n=new Date(o,a,1),r.fixTimeZone(n),i[a]=angular.extend(r.createDateObject(n,r.formatMonth),{uid:t.uniqueId+"-"+a});t.title=e(r.activeDate,r.formatMonthTitle),t.rows=r.split(i,3)},r.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth())-new Date(t.getFullYear(),t.getMonth())},r.handleKeyDown=function(e){var t=r.activeDate.getMonth();if("left"===e)t-=1;else if("up"===e)t-=3;else if("right"===e)t+=1;else if("down"===e)t+=3;else if("pageup"===e||"pagedown"===e){var n=r.activeDate.getFullYear()+("pageup"===e?-1:1);r.activeDate.setFullYear(n)}else"home"===e?t=0:"end"===e&&(t=11);r.activeDate.setMonth(t)},r.refreshView()}}}]).directive("yearpicker",["dateFilter",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(e,t,n,i){function r(e){return parseInt((e-1)/o,10)*o+1}var o=i.yearRange;i.step={years:o},i.element=t,i._refreshView=function(){for(var t,n=new Array(o),a=0,s=r(i.activeDate.getFullYear());o>a;a++)t=new Date(s+a,0,1),i.fixTimeZone(t),n[a]=angular.extend(i.createDateObject(t,i.formatYear),{uid:e.uniqueId+"-"+a});e.title=[n[0].label,n[o-1].label].join(" - "),e.rows=i.split(n,5)},i.compare=function(e,t){return e.getFullYear()-t.getFullYear()},i.handleKeyDown=function(e){var t=i.activeDate.getFullYear();"left"===e?t-=1:"up"===e?t-=5:"right"===e?t+=1:"down"===e?t+=5:"pageup"===e||"pagedown"===e?t+=("pageup"===e?-1:1)*i.step.years:"home"===e?t=r(i.activeDate.getFullYear()):"end"===e&&(t=r(i.activeDate.getFullYear())+o-1),i.activeDate.setFullYear(t)},i.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"template/datepicker/popup.html",datepickerTemplateUrl:"template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0,onOpenFocus:!0}).directive("datepickerPopup",["$compile","$parse","$document","$rootScope","$position","dateFilter","dateParser","datepickerPopupConfig","$timeout",function(e,t,n,i,r,o,a,s,l){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&",customClass:"&"},link:function(c,u,d,p){function h(e){return e.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))}var f,g=angular.isDefined(d.closeOnDateSelection)?c.$parent.$eval(d.closeOnDateSelection):s.closeOnDateSelection,m=angular.isDefined(d.datepickerAppendToBody)?c.$parent.$eval(d.datepickerAppendToBody):s.appendToBody,v=angular.isDefined(d.onOpenFocus)?c.$parent.$eval(d.onOpenFocus):s.onOpenFocus,b=angular.isDefined(d.datepickerPopupTemplateUrl)?d.datepickerPopupTemplateUrl:s.datepickerPopupTemplateUrl,y=angular.isDefined(d.datepickerTemplateUrl)?d.datepickerTemplateUrl:s.datepickerTemplateUrl;c.showButtonBar=angular.isDefined(d.showButtonBar)?c.$parent.$eval(d.showButtonBar):s.showButtonBar,c.getText=function(e){return c[e+"Text"]||s[e+"Text"]};var M=!1;if(s.html5Types[d.type]?(f=s.html5Types[d.type],M=!0):(f=d.datepickerPopup||s.datepickerPopup,d.$observe("datepickerPopup",(function(e){var t=e||s.datepickerPopup;if(t!==f&&(f=t,p.$modelValue=null,!f))throw new Error("datepickerPopup must have a date format specified.")}))),!f)throw new Error("datepickerPopup must have a date format specified.");if(M&&d.datepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");var w=angular.element("<div datepicker-popup-wrap><div datepicker></div></div>");w.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":b});var C=angular.element(w.children()[0]);if(C.attr("template-url",y),M&&"month"==d.type&&(C.attr("datepicker-mode",'"month"'),C.attr("min-mode","month")),d.datepickerOptions){var A=c.$parent.$eval(d.datepickerOptions);A&&A.initDate&&(c.initDate=A.initDate,C.attr("init-date","initDate"),delete A.initDate),angular.forEach(A,(function(e,t){C.attr(h(t),e)}))}c.watchData={},angular.forEach(["minMode","maxMode","minDate","maxDate","datepickerMode","initDate","shortcutPropagation"],(function(e){if(d[e]){var n=t(d[e]);if(c.$parent.$watch(n,(function(t){c.watchData[e]=t})),C.attr(h(e),"watchData."+e),"datepickerMode"===e){var i=n.assign;c.$watch("watchData."+e,(function(e,t){angular.isFunction(i)&&e!==t&&i(c.$parent,e)}))}}})),d.dateDisabled&&C.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),d.showWeeks&&C.attr("show-weeks",d.showWeeks),d.customClass&&C.attr("custom-class","customClass({ date: date, mode: mode })"),M?p.$formatters.push((function(e){return c.date=e,e})):(p.$$parserName="date",p.$validators.date=function(e,t){var n=e||t;if(!d.ngRequired&&!n)return!0;if(angular.isNumber(n)&&(n=new Date(n)),n){if(angular.isDate(n)&&!isNaN(n))return!0;if(angular.isString(n)){var i=a.parse(n,f);return!isNaN(i)}return!1}return!0},p.$parsers.unshift((function(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=a.parse(e,f,c.date);return isNaN(t)?void 0:t}})),p.$formatters.push((function(e){return c.date=e,p.$isEmpty(e)?e:o(e,f)}))),c.dateSelection=function(e){angular.isDefined(e)&&(c.date=e);var t=c.date?o(c.date,f):null;u.val(t),p.$setViewValue(t),g&&(c.isOpen=!1,u[0].focus())},p.$viewChangeListeners.push((function(){c.date=a.parse(p.$viewValue,f,c.date)}));var x=function(e){c.isOpen&&!u[0].contains(e.target)&&c.$apply((function(){c.isOpen=!1}))},S=function(e){27===e.which&&c.isOpen?(e.preventDefault(),e.stopPropagation(),c.$apply((function(){c.isOpen=!1})),u[0].focus()):40!==e.which||c.isOpen||(e.preventDefault(),e.stopPropagation(),c.$apply((function(){c.isOpen=!0})))};u.bind("keydown",S),c.keydown=function(e){27===e.which&&(c.isOpen=!1,u[0].focus())},c.$watch("isOpen",(function(e){e?(c.position=m?r.offset(u):r.position(u),c.position.top=c.position.top+u.prop("offsetHeight"),l((function(){v&&c.$broadcast("datepicker.focus"),n.bind("click",x)}),0,!1)):n.unbind("click",x)})),c.select=function(e){if("today"===e){var t=new Date;angular.isDate(c.date)?(e=new Date(c.date)).setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):e=new Date(t.setHours(0,0,0,0))}c.dateSelection(e)},c.close=function(){c.isOpen=!1,u[0].focus()};var z=e(w)(c);w.remove(),m?n.find("body").append(z):u.after(z),c.$on("$destroy",(function(){!0===c.isOpen&&(i.$$phase||c.$apply((function(){c.isOpen=!1}))),z.remove(),u.unbind("keydown",S),n.unbind("click",x)}))}}}]).directive("datepickerPopupWrap",(function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/datepicker/popup.html"}}})),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document","$rootScope",function(e,t){var n=null;this.open=function(t){n||(e.bind("click",i),e.bind("keydown",r)),n&&n!==t&&(n.isOpen=!1),n=t},this.close=function(t){n===t&&(n=null,e.unbind("click",i),e.unbind("keydown",r))};var i=function(e){if(n&&(!e||"disabled"!==n.getAutoClose())){var i=n.getToggleElement();if(!(e&&i&&i[0].contains(e.target))){var r=n.getDropdownElement();e&&"outsideClick"===n.getAutoClose()&&r&&r[0].contains(e.target)||(n.isOpen=!1,t.$$phase||n.$apply())}}},r=function(e){27===e.which?(n.focusToggleElement(),i()):n.isKeynavEnabled()&&/(38|40)/.test(e.which)&&n.isOpen&&(e.preventDefault(),e.stopPropagation(),n.focusDropdownEntry(e.which))}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate","$position","$document","$compile","$templateRequest",function(e,t,n,i,r,o,a,s,l,c){var u,d,p=this,h=e.$new(),f=i.openClass,g=angular.noop,m=t.onToggle?n(t.onToggle):angular.noop,v=!1,b=!1;this.init=function(i){p.$element=i,t.isOpen&&(d=n(t.isOpen),g=d.assign,e.$watch(d,(function(e){h.isOpen=!!e}))),v=angular.isDefined(t.dropdownAppendToBody),b=angular.isDefined(t.keyboardNav),v&&p.dropdownMenu&&(s.find("body").append(p.dropdownMenu),i.on("$destroy",(function(){p.dropdownMenu.remove()})))},this.toggle=function(e){return h.isOpen=arguments.length?!!e:!h.isOpen},this.isOpen=function(){return h.isOpen},h.getToggleElement=function(){return p.toggleElement},h.getAutoClose=function(){return t.autoClose||"always"},h.getElement=function(){return p.$element},h.isKeynavEnabled=function(){return b},h.focusDropdownEntry=function(e){var t=p.dropdownMenu?angular.element(p.dropdownMenu).find("a"):angular.element(p.$element).find("ul").eq(0).find("a");switch(e){case 40:p.selectedOption=angular.isNumber(p.selectedOption)?p.selectedOption===t.length-1?p.selectedOption:p.selectedOption+1:0;break;case 38:if(!angular.isNumber(p.selectedOption))return;p.selectedOption=0===p.selectedOption?0:p.selectedOption-1}t[p.selectedOption].focus()},h.getDropdownElement=function(){return p.dropdownMenu},h.focusToggleElement=function(){p.toggleElement&&p.toggleElement[0].focus()},h.$watch("isOpen",(function(t,n){if(v&&p.dropdownMenu){var i=a.positionElements(p.$element,p.dropdownMenu,"bottom-left",!0),s={top:i.top+"px",display:t?"block":"none"};p.dropdownMenu.hasClass("dropdown-menu-right")?(s.left="auto",s.right=window.innerWidth-(i.left+p.$element.prop("offsetWidth"))+"px"):(s.left=i.left+"px",s.right="auto"),p.dropdownMenu.css(s)}if(o[t?"addClass":"removeClass"](p.$element,f).then((function(){angular.isDefined(t)&&t!==n&&m(e,{open:!!t})})),t)p.dropdownMenuTemplateUrl&&c(p.dropdownMenuTemplateUrl).then((function(e){u=h.$new(),l(e.trim())(u,(function(e){var t=e;p.dropdownMenu.replaceWith(t),p.dropdownMenu=t}))})),h.focusToggleElement(),r.open(h);else{if(p.dropdownMenuTemplateUrl){u&&u.$destroy();var d=angular.element('<ul class="dropdown-menu"></ul>');p.dropdownMenu.replaceWith(d),p.dropdownMenu=d}r.close(h),p.selectedOption=null}angular.isFunction(g)&&g(e,t)})),e.$on("$locationChangeSuccess",(function(){"disabled"!==h.getAutoClose()&&(h.isOpen=!1)})),e.$on("$destroy",(function(){h.$destroy()}))}]).directive("dropdown",(function(){return{controller:"DropdownController",link:function(e,t,n,i){i.init(t),t.addClass("dropdown")}}})).directive("dropdownMenu",(function(){return{restrict:"AC",require:"?^dropdown",link:function(e,t,n,i){if(i){var r=n.templateUrl;r&&(i.dropdownMenuTemplateUrl=r),i.dropdownMenu||(i.dropdownMenu=t)}}}})).directive("keyboardNav",(function(){return{restrict:"A",require:"?^dropdown",link:function(e,t,n,i){t.bind("keydown",(function(e){if(-1!==[38,40].indexOf(e.which)){e.preventDefault(),e.stopPropagation();var t=i.dropdownMenu.find("a");switch(e.which){case 40:i.selectedOption=angular.isNumber(i.selectedOption)?i.selectedOption===t.length-1?i.selectedOption:i.selectedOption+1:0;break;case 38:i.selectedOption=0===i.selectedOption?0:i.selectedOption-1}t[i.selectedOption].focus()}}))}}})).directive("dropdownToggle",(function(){return{require:"?^dropdown",link:function(e,t,n,i){if(i){t.addClass("dropdown-toggle"),i.toggleElement=t;var r=function(r){r.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply((function(){i.toggle()}))};t.bind("click",r),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(i.isOpen,(function(e){t.attr("aria-expanded",!!e)})),e.$on("$destroy",(function(){t.unbind("click",r)}))}}}})),angular.module("ui.bootstrap.modal",[]).factory("$$stackedMap",(function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t==e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,i=0;i<e.length;i++)if(t==e[i].key){n=i;break}return e.splice(n,1)[0]},removeTop:function(){return e.splice(e.length-1,1)[0]},length:function(){return e.length}}}}})).directive("modalBackdrop",["$animate","$injector","$modalStack",function(e,t,n){function i(t,i,o){o.modalInClass&&(r?r(i,{addClass:o.modalInClass}).start():e.addClass(i,o.modalInClass),t.$on(n.NOW_CLOSING_EVENT,(function(t,n){var a=n();r?r(i,{removeClass:o.modalInClass}).start().then(a):e.removeClass(i,o.modalInClass).then(a)})))}var r=null;return t.has("$animateCss")&&(r=t.get("$animateCss")),{restrict:"EA",replace:!0,templateUrl:"template/modal/backdrop.html",compile:function(e,t){return e.addClass(t.backdropClass),i}}}]).directive("modalWindow",["$modalStack","$q","$animate","$injector",function(e,t,n,i){var r=null;return i.has("$animateCss")&&(r=i.get("$animateCss")),{restrict:"EA",scope:{index:"@"},replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/modal/window.html"},link:function(i,o,a){o.addClass(a.windowClass||""),i.size=a.size,i.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!=n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault(),t.stopPropagation(),e.dismiss(n.key,"backdrop click"))},i.$isRendered=!0;var s=t.defer();a.$observe("modalRender",(function(e){"true"==e&&s.resolve()})),s.promise.then((function(){a.modalInClass&&(r?r(o,{addClass:a.modalInClass}).start():n.addClass(o,a.modalInClass),i.$on(e.NOW_CLOSING_EVENT,(function(e,t){var i=t();r?r(o,{removeClass:a.modalInClass}).start().then(i):n.removeClass(o,a.modalInClass).then(i)})));var t=o[0].querySelectorAll("[autofocus]");t.length?t[0].focus():o[0].focus();var s=e.getTop();s&&e.modalRendered(s.key)}))}}}]).directive("modalAnimationClass",[function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.modalAnimationClass)}}}]).directive("modalTransclude",(function(){return{link:function(e,t,n,i,r){r(e.$parent,(function(e){t.empty(),t.append(e)}))}}})).factory("$modalStack",["$animate","$timeout","$document","$compile","$rootScope","$q","$injector","$$stackedMap",function(e,t,n,i,r,o,a,s){function l(){for(var e=-1,t=v.keys(),n=0;n<t.length;n++)v.get(t[n]).value.backdrop&&(e=n);return e}function c(e,t){var i=n.find("body").eq(0),r=v.get(e).value;v.remove(e),u(r.modalDomEl,r.modalScope,(function(){i.toggleClass(e.openedClass||m,v.length()>0)})),h&&-1==l()&&(u(h,f,(function(){})),h=void 0,f=void 0),t&&t.focus?t.focus():i.focus()}function u(t,n,i){var r,a=null;return n.$broadcast(b.NOW_CLOSING_EVENT,(function(){return r||(r=o.defer(),a=r.promise),function(){r.resolve()}})),o.when(a).then((function r(){r.done||(r.done=!0,p?p(t,{event:"leave"}).start().then((function(){t.remove()})):e.leave(t),n.$destroy(),i&&i())}))}function d(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}var p=null;a.has("$animateCss")&&(p=a.get("$animateCss"));var h,f,g,m="modal-open",v=s.createNew(),b={NOW_CLOSING_EVENT:"modal.stack.now-closing"};return r.$watch(l,(function(e){f&&(f.index=e)})),n.bind("keydown",(function(e){if(e.isDefaultPrevented())return e;var t=v.top();if(t&&t.value.keyboard)switch(e.which){case 27:e.preventDefault(),r.$apply((function(){b.dismiss(t.key,"escape key press")}));break;case 9:b.loadFocusElementList(t);var n=!1;e.shiftKey?b.isFocusInFirstItem(e)&&(n=b.focusLastFocusableElement()):b.isFocusInLastItem(e)&&(n=b.focusFirstFocusableElement()),n&&(e.preventDefault(),e.stopPropagation())}})),b.open=function(e,t){var o=n[0].activeElement;v.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass});var a=n.find("body").eq(0),s=l();if(s>=0&&!h){(f=r.$new(!0)).index=s;var c=angular.element('<div modal-backdrop="modal-backdrop"></div>');c.attr("backdrop-class",t.backdropClass),t.animation&&c.attr("modal-animation","true"),h=i(c)(f),a.append(h)}var u=angular.element('<div modal-window="modal-window"></div>');u.attr({"template-url":t.windowTemplateUrl,"window-class":t.windowClass,size:t.size,index:v.length()-1,animate:"animate"}).html(t.content),t.animation&&u.attr("modal-animation","true");var d=i(u)(t.scope);v.top().value.modalDomEl=d,v.top().value.modalOpener=o,a.append(d),a.addClass(t.openedClass||m),b.clearFocusListCache()},b.close=function(e,t){var n=v.get(e);return n&&d(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),c(e,n.value.modalOpener),!0):!n},b.dismiss=function(e,t){var n=v.get(e);return n&&d(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),c(e,n.value.modalOpener),!0):!n},b.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},b.getTop=function(){return v.top()},b.modalRendered=function(e){var t=v.get(e);t&&t.value.renderDeferred.resolve()},b.focusFirstFocusableElement=function(){return g.length>0&&(g[0].focus(),!0)},b.focusLastFocusableElement=function(){return g.length>0&&(g[g.length-1].focus(),!0)},b.isFocusInFirstItem=function(e){return g.length>0&&(e.target||e.srcElement)==g[0]},b.isFocusInLastItem=function(e){return g.length>0&&(e.target||e.srcElement)==g[g.length-1]},b.clearFocusListCache=function(){g=[]},b.loadFocusElementList=function(e){if((void 0===g||!g.length0)&&e){var t=e.value.modalDomEl;t&&t.length&&(g=t[0].querySelectorAll("a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]"))}},b}]).provider("$modal",(function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$templateRequest","$controller","$modalStack",function(t,n,i,r,o,a){function s(e){return e.template?i.when(e.template):r(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}function l(e){var n=[];return angular.forEach(e,(function(e){angular.isFunction(e)||angular.isArray(e)?n.push(i.when(t.invoke(e))):angular.isString(e)&&n.push(i.when(t.get(e)))})),n}return{open:function(t){var r=i.defer(),c=i.defer(),u=i.defer(),d={result:r.promise,opened:c.promise,rendered:u.promise,close:function(e){return a.close(d,e)},dismiss:function(e){return a.dismiss(d,e)}};if((t=angular.extend({},e.options,t)).resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var p=i.all([s(t)].concat(l(t.resolve)));return p.then((function(e){var i=(t.scope||n).$new();i.$close=d.close,i.$dismiss=d.dismiss,i.$on("$destroy",(function(){i.$$uibDestructionScheduled||i.$dismiss("$uibUnscheduledDestruction")}));var s,l={},c=1;t.controller&&(l.$scope=i,l.$modalInstance=d,angular.forEach(t.resolve,(function(t,n){l[n]=e[c++]})),s=o(t.controller,l),t.controllerAs&&(t.bindToController&&angular.extend(s,i),i[t.controllerAs]=s)),a.open(d,{scope:i,deferred:r,renderDeferred:u,content:e[0],animation:t.animation,backdrop:t.backdrop,keyboard:t.keyboard,backdropClass:t.backdropClass,windowClass:t.windowClass,windowTemplateUrl:t.windowTemplateUrl,size:t.size,openedClass:t.openedClass})}),(function(e){r.reject(e)})),p.then((function(){c.resolve(!0)}),(function(e){c.reject(e)})),d}}}]};return e})),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(e,t,n){var i=this,r={$setViewValue:angular.noop},o=t.numPages?n(t.numPages).assign:angular.noop;this.init=function(a,s){r=a,this.config=s,r.$render=function(){i.render()},t.itemsPerPage?e.$parent.$watch(n(t.itemsPerPage),(function(t){i.itemsPerPage=parseInt(t,10),e.totalPages=i.calculateTotalPages()})):this.itemsPerPage=s.itemsPerPage,e.$watch("totalItems",(function(){e.totalPages=i.calculateTotalPages()})),e.$watch("totalPages",(function(t){o(e.$parent,t),e.page>t?e.selectPage(t):r.$render()}))},this.calculateTotalPages=function(){var t=this.itemsPerPage<1?1:Math.ceil(e.totalItems/this.itemsPerPage);return Math.max(t||0,1)},this.render=function(){e.page=parseInt(r.$viewValue,10)||1},e.selectPage=function(t,n){n&&n.preventDefault(),(!e.ngDisabled||!n)&&e.page!==t&&t>0&&t<=e.totalPages&&(n&&n.target&&n.target.blur(),r.$setViewValue(t),r.$render())},e.getText=function(t){return e[t+"Text"]||i.config[t+"Text"]},e.noPrevious=function(){return 1===e.page},e.noNext=function(){return e.page===e.totalPages}}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(e,t){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["pagination","?ngModel"],controller:"PaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"template/pagination/pagination.html"},replace:!0,link:function(n,i,r,o){function a(e,t,n){return{number:e,text:t,active:n}}var s=o[0],l=o[1];if(l){var c=angular.isDefined(r.maxSize)?n.$parent.$eval(r.maxSize):t.maxSize,u=angular.isDefined(r.rotate)?n.$parent.$eval(r.rotate):t.rotate;n.boundaryLinks=angular.isDefined(r.boundaryLinks)?n.$parent.$eval(r.boundaryLinks):t.boundaryLinks,n.directionLinks=angular.isDefined(r.directionLinks)?n.$parent.$eval(r.directionLinks):t.directionLinks,s.init(l,t),r.maxSize&&n.$parent.$watch(e(r.maxSize),(function(e){c=parseInt(e,10),s.render()}));var d=s.render;s.render=function(){d(),n.page>0&&n.page<=n.totalPages&&(n.pages=function(e,t){var n=[],i=1,r=t,o=angular.isDefined(c)&&t>c;o&&(u?(r=(i=Math.max(e-Math.floor(c/2),1))+c-1)>t&&(i=(r=t)-c+1):(i=(Math.ceil(e/c)-1)*c+1,r=Math.min(i+c-1,t)));for(var s=i;r>=s;s++){var l=a(s,s,s===e);n.push(l)}if(o&&!u){if(i>1){var d=a(i-1,"...",!1);n.unshift(d)}if(t>r){var p=a(r+1,"...",!1);n.push(p)}}return n}(n.page,n.totalPages))}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"\xab Previous",nextText:"Next \xbb",align:!0}).directive("pager",["pagerConfig",function(e){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:!0,link:function(t,n,i,r){var o=r[0],a=r[1];a&&(t.align=angular.isDefined(i.align)?t.$parent.$eval(i.align):e.align,o.init(a,e))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",(function(){var e={placement:"top",animation:!0,popupDelay:0,useContentExp:!1},t={mouseenter:"mouseleave",click:"click",focus:"blur"},n={};this.options=function(e){angular.extend(n,e)},this.setTriggers=function(e){angular.extend(t,e)},this.$get=["$window","$compile","$timeout","$document","$position","$interpolate","$rootScope",function(i,r,o,a,s,l,c){return function(i,u,d,p){function h(e){var n=(e||p.trigger||d).split(" "),i=n.map((function(e){return t[e]||e}));return{show:n,hide:i}}p=angular.extend({},e,n,p);var f=i.replace(/[A-Z]/g,(function(e,t){return(t?"-":"")+e.toLowerCase()})),g=l.startSymbol(),m=l.endSymbol(),v="<div "+f+'-popup title="'+g+"title"+m+'" '+(p.useContentExp?'content-exp="contentExp()" ':'content="'+g+"content"+m+'" ')+'placement="'+g+"placement"+m+'" popup-class="'+g+"popupClass"+m+'" animation="animation" is-open="isOpen"origin-scope="origScope" ></div>';return{restrict:"EA",compile:function(){var e=r(v);return function(t,n,r){function l(){z.isOpen?f():d()}function d(){(!S||t.$eval(r[u+"Enable"]))&&(z.popupClass=r[u+"Class"],b(),function(){var e=parseInt(r[u+"PopupDelay"],10);z.popupDelay=isNaN(e)?p.popupDelay:e}(),z.popupDelay?C||(C=o(g,z.popupDelay,!1)).then((function(e){e()})):g()())}function f(){m(),c.$$phase||c.$digest()}function g(){return C=null,w&&(o.cancel(w),w=null),(p.useContentExp?z.contentExp():z.content)?(y&&v(),M=z.$new(),y=e(M,(function(e){A?a.find("body").append(e):n.after(e)})),p.useContentExp&&(M.$watch("contentExp()",(function(e){!e&&z.isOpen&&m()})),M.$watch((function(){T||(T=!0,M.$$postDigest((function(){T=!1,$()})))}))),y.css({top:0,left:0,display:"block"}),k(),z.isOpen=!0,z.$apply(),k):angular.noop}function m(){z.isOpen=!1,o.cancel(C),C=null,z.animation?w||(w=o(v,500)):v()}function v(){w=null,y&&(y.remove(),y=null),M&&(M.$destroy(),M=null)}function b(){var e=r[u+"Placement"];z.placement=angular.isDefined(e)?e:p.placement}var y,M,w,C,A=!!angular.isDefined(p.appendToBody)&&p.appendToBody,x=h(void 0),S=angular.isDefined(r[u+"Enable"]),z=t.$new(!0),T=!1,k=function(){if(y){var e=s.positionElements(n,y,z.placement,A);e.top+="px",e.left+="px",y.css(e)}},$=function(){o(k,0,!1)};z.origScope=t,z.isOpen=!1,z.contentExp=function(){return t.$eval(r[i])},p.useContentExp||r.$observe(i,(function(e){z.content=e,!e&&z.isOpen?m():$()})),r.$observe("disabled",(function(e){C&&e&&o.cancel(C),e&&z.isOpen&&m()})),r.$observe(u+"Title",(function(e){z.title=e,$()})),r.$observe(u+"Placement",(function(){z.isOpen&&o((function(){b(),g()()}),0,!1)}));var _=function(){x.show.forEach((function(e){n.unbind(e,d)})),x.hide.forEach((function(e){n.unbind(e,f)}))};!function(){var e=r[u+"Trigger"];_(),(x=h(e)).show.forEach((function(e,t){e===x.hide[t]?n.bind(e,l):e&&(n.bind(e,d),n.bind(x.hide[t],f))}))}();var O=t.$eval(r[u+"Animation"]);z.animation=angular.isDefined(O)?!!O:p.animation;var E=t.$eval(r[u+"AppendToBody"]);(A=angular.isDefined(E)?E:A)&&t.$on("$locationChangeSuccess",(function(){z.isOpen&&m()})),t.$on("$destroy",(function(){o.cancel(w),o.cancel(C),_(),v(),z=null}))}}}}}]})).directive("tooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,i){return{link:function(r,o,a){var s,l,c,u=r.$eval(a.tooltipTemplateTranscludeScope),d=0,p=function(){l&&(l.remove(),l=null),s&&(s.$destroy(),s=null),c&&(e.leave(c).then((function(){l=null})),l=c,c=null)};r.$watch(t.parseAsResourceUrl(a.tooltipTemplateTransclude),(function(t){var a=++d;t?(i(t,!0).then((function(i){if(a===d){var r=u.$new(),l=n(i)(r,(function(t){p(),e.enter(t,o)}));c=l,(s=r).$emit("$includeContentLoaded",t)}}),(function(){a===d&&(p(),r.$emit("$includeContentError",t))})),r.$emit("$includeContentRequested",t)):p()})),r.$on("$destroy",p)}}}]).directive("tooltipClasses",(function(){return{restrict:"A",link:function(e,t,n){e.placement&&t.addClass(e.placement),e.popupClass&&t.addClass(e.popupClass),e.animation()&&t.addClass(n.tooltipAnimationClass)}}})).directive("tooltipPopup",(function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}})).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipTemplatePopup",(function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/tooltip/tooltip-template-popup.html"}})).directive("tooltipTemplate",["$tooltip",function(e){return e("tooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlPopup",(function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-popup.html"}})).directive("tooltipHtml",["$tooltip",function(e){return e("tooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlUnsafePopup",(function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}})).value("tooltipHtmlUnsafeSuppressDeprecated",!1).directive("tooltipHtmlUnsafe",["$tooltip","tooltipHtmlUnsafeSuppressDeprecated","$log",function(e,t,n){return t||n.warn("tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead."),e("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverTemplatePopup",(function(){return{restrict:"EA",replace:!0,scope:{title:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/popover/popover-template.html"}})).directive("popoverTemplate",["$tooltip",function(e){return e("popoverTemplate","popover","click",{useContentExp:!0})}]).directive("popoverHtmlPopup",(function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",title:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover-html.html"}})).directive("popoverHtml",["$tooltip",function(e){return e("popoverHtml","popover","click",{useContentExp:!0})}]).directive("popoverPopup",(function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}})).directive("popover",["$tooltip",function(e){return e("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function(e,t,n){var i=this,r=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=angular.isDefined(e.max)?e.max:n.max,this.addBar=function(t,n){r||n.css({transition:"none"}),this.bars.push(t),t.max=e.max,t.$watch("value",(function(){t.recalculatePercentage()})),t.recalculatePercentage=function(){t.percent=+(100*t.value/t.max).toFixed(2);var e=0;i.bars.forEach((function(t){e+=t.percent})),e>100&&(t.percent-=e-100)},t.$on("$destroy",(function(){n=null,i.removeBar(t)}))},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1)},e.$watch("max",(function(){i.bars.forEach((function(t){t.max=e.max,t.recalculatePercentage()}))}))}]).directive("progress",(function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{max:"=?"},templateUrl:"template/progressbar/progress.html"}})).directive("bar",(function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(e,t,n,i){i.addBar(e,t)}}})).directive("progressbar",(function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",max:"=?",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(e,t,n,i){i.addBar(e,angular.element(t.children()[0]))}}})),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null,titles:["one","two","three","four","five"]}).controller("RatingController",["$scope","$attrs","ratingConfig",function(e,t,n){var i={$setViewValue:angular.noop};this.init=function(r){(i=r).$render=this.render,i.$formatters.push((function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e})),this.stateOn=angular.isDefined(t.stateOn)?e.$parent.$eval(t.stateOn):n.stateOn,this.stateOff=angular.isDefined(t.stateOff)?e.$parent.$eval(t.stateOff):n.stateOff;var o=angular.isDefined(t.titles)?e.$parent.$eval(t.titles):n.titles;this.titles=angular.isArray(o)&&o.length>0?o:n.titles;var a=angular.isDefined(t.ratingStates)?e.$parent.$eval(t.ratingStates):new Array(angular.isDefined(t.max)?e.$parent.$eval(t.max):n.max);e.range=this.buildTemplateObjects(a)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;n>t;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},e.rate=function(t){!e.readonly&&t>=0&&t<=e.range.length&&(i.$setViewValue(i.$viewValue===t?0:t),i.$render())},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=i.$viewValue,e.onLeave()},e.onKeydown=function(t){/(37|38|39|40)/.test(t.which)&&(t.preventDefault(),t.stopPropagation(),e.rate(e.value+(38===t.which||39===t.which?1:-1)))},this.render=function(){e.value=i.$viewValue}}]).directive("rating",(function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(e,t,n,i){i[0].init(i[1])}}})),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(e){var t,n=this,i=n.tabs=e.tabs=[];n.select=function(e){angular.forEach(i,(function(t){t.active&&t!==e&&(t.active=!1,t.onDeselect())})),e.active=!0,e.onSelect()},n.addTab=function(e){i.push(e),1===i.length&&!1!==e.active?e.active=!0:e.active?n.select(e):e.active=!1},n.removeTab=function(e){var r=i.indexOf(e);e.active&&i.length>1&&!t&&n.select(i[r==i.length-1?r-1:r+1]),i.splice(r,1)},e.$on("$destroy",(function(){t=!0}))}]).directive("tabset",(function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}})).directive("tab",["$parse","$log",function(e,t){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},link:function(n,i,r,o,a){n.$watch("active",(function(e){e&&o.select(n)})),n.disabled=!1,r.disable&&n.$parent.$watch(e(r.disable),(function(e){n.disabled=!!e})),r.disabled&&(t.warn('Use of "disabled" attribute has been deprecated, please use "disable"'),n.$parent.$watch(e(r.disabled),(function(e){n.disabled=!!e}))),n.select=function(){n.disabled||(n.active=!0)},o.addTab(n),n.$on("$destroy",(function(){o.removeTab(n)})),n.$transcludeFn=a}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(e,t){e.$watch("headingElement",(function(e){e&&(t.html(""),t.append(e))}))}}}]).directive("tabContentTransclude",(function(){return{restrict:"A",require:"^tabset",link:function(e,t,n){var i=e.$eval(n.tabContentTransclude);i.$transcludeFn(i.$parent,(function(e){angular.forEach(e,(function(e){var n;(n=e).tagName&&(n.hasAttribute("tab-heading")||n.hasAttribute("data-tab-heading")||"tab-heading"===n.tagName.toLowerCase()||"data-tab-heading"===n.tagName.toLowerCase())?i.headingElement=e:t.append(e)}))}))}}})),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(e,t,n,i,r,o){function a(){var t=parseInt(e.hours,10);return(e.showMeridian?t>0&&13>t:t>=0&&24>t)?(e.showMeridian&&(12===t&&(t=0),e.meridian===m[1]&&(t+=12)),t):void 0}function s(){var t=parseInt(e.minutes,10);return t>=0&&60>t?t:void 0}function l(e){return angular.isDefined(e)&&e.toString().length<2?"0"+e:e.toString()}function c(e){u(),g.$setViewValue(new Date(f)),d(e)}function u(){g.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1}function d(t){var n=f.getHours(),i=f.getMinutes();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:l(n),"m"!==t&&(e.minutes=l(i)),e.meridian=f.getHours()<12?m[0]:m[1]}function p(e,t){var n=new Date(e.getTime()+6e4*t),i=new Date(e);return i.setHours(n.getHours(),n.getMinutes()),i}function h(e){f=p(f,e),c()}var f=new Date,g={$setViewValue:angular.noop},m=angular.isDefined(t.meridians)?e.$parent.$eval(t.meridians):o.meridians||r.DATETIME_FORMATS.AMPMS;this.init=function(n,i){(g=n).$render=this.render,g.$formatters.unshift((function(e){return e?new Date(e):null}));var r=i.eq(0),a=i.eq(1);(angular.isDefined(t.mousewheel)?e.$parent.$eval(t.mousewheel):o.mousewheel)&&this.setupMousewheelEvents(r,a),(angular.isDefined(t.arrowkeys)?e.$parent.$eval(t.arrowkeys):o.arrowkeys)&&this.setupArrowkeyEvents(r,a),e.readonlyInput=angular.isDefined(t.readonlyInput)?e.$parent.$eval(t.readonlyInput):o.readonlyInput,this.setupInputEvents(r,a)};var v=o.hourStep;t.hourStep&&e.$parent.$watch(n(t.hourStep),(function(e){v=parseInt(e,10)}));var b,y,M=o.minuteStep;t.minuteStep&&e.$parent.$watch(n(t.minuteStep),(function(e){M=parseInt(e,10)})),e.$parent.$watch(n(t.min),(function(e){var t=new Date(e);b=isNaN(t)?void 0:t})),e.$parent.$watch(n(t.max),(function(e){var t=new Date(e);y=isNaN(t)?void 0:t})),e.noIncrementHours=function(){var e=p(f,60*v);return e>y||f>e&&b>e},e.noDecrementHours=function(){var e=p(f,60*-v);return b>e||e>f&&e>y},e.noIncrementMinutes=function(){var e=p(f,M);return e>y||f>e&&b>e},e.noDecrementMinutes=function(){var e=p(f,-M);return b>e||e>f&&e>y},e.noToggleMeridian=function(){return f.getHours()<13?p(f,720)>y:p(f,-720)<b},e.showMeridian=o.showMeridian,t.showMeridian&&e.$parent.$watch(n(t.showMeridian),(function(t){if(e.showMeridian=!!t,g.$error.time){var n=a(),i=s();angular.isDefined(n)&&angular.isDefined(i)&&(f.setHours(n),c())}else d()})),this.setupMousewheelEvents=function(t,n){var i=function(e){return e.originalEvent&&(e=e.originalEvent),e.detail||(e.wheelDelta?e.wheelDelta:-e.deltaY)>0};t.bind("mousewheel wheel",(function(t){e.$apply(i(t)?e.incrementHours():e.decrementHours()),t.preventDefault()})),n.bind("mousewheel wheel",(function(t){e.$apply(i(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()}))},this.setupArrowkeyEvents=function(t,n){t.bind("keydown",(function(t){38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply())})),n.bind("keydown",(function(t){38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply())}))},this.setupInputEvents=function(t,n){if(e.readonlyInput)return e.updateHours=angular.noop,void(e.updateMinutes=angular.noop);var i=function(t,n){g.$setViewValue(null),g.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t),angular.isDefined(n)&&(e.invalidMinutes=n)};e.updateHours=function(){var e=a();angular.isDefined(e)?(f.setHours(e),b>f||f>y?i(!0):c("h")):i(!0)},t.bind("blur",(function(){!e.invalidHours&&e.hours<10&&e.$apply((function(){e.hours=l(e.hours)}))})),e.updateMinutes=function(){var e=s();angular.isDefined(e)?(f.setMinutes(e),b>f||f>y?i(void 0,!0):c("m")):i(void 0,!0)},n.bind("blur",(function(){!e.invalidMinutes&&e.minutes<10&&e.$apply((function(){e.minutes=l(e.minutes)}))}))},this.render=function(){var t=g.$viewValue;isNaN(t)?(g.$setValidity("time",!1),i.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(t&&(f=t),b>f||f>y?(g.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):u(),d())},e.showSpinners=angular.isDefined(t.showSpinners)?e.$parent.$eval(t.showSpinners):o.showSpinners,e.incrementHours=function(){e.noIncrementHours()||h(60*v)},e.decrementHours=function(){e.noDecrementHours()||h(60*-v)},e.incrementMinutes=function(){e.noIncrementMinutes()||h(M)},e.decrementMinutes=function(){e.noDecrementMinutes()||h(-M)},e.toggleMeridian=function(){e.noToggleMeridian()||h(720*(f.getHours()<12?1:-1))}}]).directive("timepicker",(function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:!0,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function(e,t,n,i){var r=i[1];r&&i[0].init(r,t.find("input"))}}})),angular.module("ui.bootstrap.transition",[]).value("$transitionSuppressDeprecated",!1).factory("$transition",["$q","$timeout","$rootScope","$log","$transitionSuppressDeprecated",function(e,t,n,i,r){function o(e){for(var t in e)if(void 0!==s.style[t])return e[t]}r||i.warn("$transition is now deprecated. Use $animate from ngAnimate instead.");var a=function(i,r,o){o=o||{};var s=e.defer(),l=a[o.animation?"animationEndEventName":"transitionEndEventName"],c=function(){n.$apply((function(){i.unbind(l,c),s.resolve(i)}))};return l&&i.bind(l,c),t((function(){angular.isString(r)?i.addClass(r):angular.isFunction(r)?r(i):angular.isObject(r)&&i.css(r),l||s.resolve(i)})),s.promise.cancel=function(){l&&i.unbind(l,c),s.reject("Transition cancelled")},s.promise},s=document.createElement("trans");return a.transitionEndEventName=o({WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}),a.animationEndEventName=o({WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"}),a}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var i=n.match(t);if(!i)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:i[3],source:e(i[4]),viewMapper:e(i[2]||i[1]),modelMapper:e(i[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$window","$rootScope","$position","typeaheadParser",function(e,t,n,i,r,o,a,s,l){var c=[9,13,27,38,40];return{require:"ngModel",link:function(u,d,p,h){function f(){O.moveInProgress||(O.moveInProgress=!0,O.$digest()),P&&i.cancel(P),P=i((function(){O.matches.length&&g(),O.moveInProgress=!1,O.$digest()}),200)}function g(){O.position=z?s.offset(d):s.position(d),O.position.top+=d.prop("offsetHeight")}var m=u.$eval(p.typeaheadMinLength);m||0===m||(m=1);var v,b,y=u.$eval(p.typeaheadWaitMs)||0,M=!1!==u.$eval(p.typeaheadEditable),w=t(p.typeaheadLoading).assign||angular.noop,C=t(p.typeaheadOnSelect),A=!!angular.isDefined(p.typeaheadSelectOnBlur)&&u.$eval(p.typeaheadSelectOnBlur),x=t(p.typeaheadNoResults).assign||angular.noop,S=p.typeaheadInputFormatter?t(p.typeaheadInputFormatter):void 0,z=!!p.typeaheadAppendToBody&&u.$eval(p.typeaheadAppendToBody),T=!1!==u.$eval(p.typeaheadFocusFirst),k=!!p.typeaheadSelectOnExact&&u.$eval(p.typeaheadSelectOnExact),$=t(p.ngModel).assign,_=l.parse(p.typeahead),O=u.$new();u.$on("$destroy",(function(){O.$destroy()}));var E="typeahead-"+O.$id+"-"+Math.floor(1e4*Math.random());d.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":E});var L=angular.element("<div typeahead-popup></div>");L.attr({id:E,matches:"matches",active:"activeIdx",select:"select(activeIdx)","move-in-progress":"moveInProgress",query:"query",position:"position"}),angular.isDefined(p.typeaheadTemplateUrl)&&L.attr("template-url",p.typeaheadTemplateUrl);var N=function(){O.matches=[],O.activeIdx=-1,d.attr("aria-expanded",!1)},D=function(e){return E+"-option-"+e};O.$watch("activeIdx",(function(e){0>e?d.removeAttr("aria-activedescendant"):d.attr("aria-activedescendant",D(e))}));var P,q=function(e){var t={$viewValue:e};w(u,!0),x(u,!1),n.when(_.source(u,t)).then((function(n){var i=e===h.$viewValue;if(i&&v)if(n&&n.length>0){O.activeIdx=T?0:-1,x(u,!1),O.matches.length=0;for(var r=0;r<n.length;r++)t[_.itemName]=n[r],O.matches.push({id:D(r),label:_.viewMapper(O,t),model:n[r]});O.query=e,g(),d.attr("aria-expanded",!0),k&&1===O.matches.length&&function(e,t){return!!(O.matches.length>0&&e)&&e.toUpperCase()===O.matches[0].label.toUpperCase()}(e)&&O.select(0)}else N(),x(u,!0);i&&w(u,!1)}),(function(){N(),w(u,!1),x(u,!0)}))};z&&(angular.element(o).bind("resize",f),r.find("body").bind("scroll",f)),O.moveInProgress=!1,N(),O.query=void 0;var W,R=function(){W&&i.cancel(W)};h.$parsers.unshift((function(e){return v=!0,0===m||e&&e.length>=m?y>0?(R(),function(e){W=i((function(){q(e)}),y)}(e)):q(e):(w(u,!1),R(),N()),M?e:e?void h.$setValidity("editable",!1):(h.$setValidity("editable",!0),null)})),h.$formatters.push((function(e){var t,n={};return M||h.$setValidity("editable",!0),S?(n.$model=e,S(u,n)):(n[_.itemName]=e,t=_.viewMapper(u,n),n[_.itemName]=void 0,t!==_.viewMapper(u,n)?t:e)})),O.select=function(e){var t,n,r={};b=!0,r[_.itemName]=n=O.matches[e].model,t=_.modelMapper(u,r),$(u,t),h.$setValidity("editable",!0),h.$setValidity("parse",!0),C(u,{$item:n,$model:t,$label:_.viewMapper(u,r)}),N(),i((function(){d[0].focus()}),0,!1)},d.bind("keydown",(function(e){if(0!==O.matches.length&&-1!==c.indexOf(e.which)){if(-1===O.activeIdx&&(9===e.which||13===e.which))return N(),void O.$digest();e.preventDefault(),40===e.which?(O.activeIdx=(O.activeIdx+1)%O.matches.length,O.$digest()):38===e.which?(O.activeIdx=(O.activeIdx>0?O.activeIdx:O.matches.length)-1,O.$digest()):13===e.which||9===e.which?O.$apply((function(){O.select(O.activeIdx)})):27===e.which&&(e.stopPropagation(),N(),O.$digest())}})),d.bind("blur",(function(){A&&O.matches.length&&-1!==O.activeIdx&&!b&&(b=!0,O.$apply((function(){O.select(O.activeIdx)}))),v=!1,b=!1}));var I=function(e){d[0]!==e.target&&3!==e.which&&0!==O.matches.length&&(N(),a.$$phase||O.$digest())};r.bind("click",I),u.$on("$destroy",(function(){r.unbind("click",I),z&&B.remove(),L.remove()}));var B=e(L)(O);z?r.find("body").append(B):d.after(B)}}}]).directive("typeaheadPopup",(function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&"},replace:!0,templateUrl:"template/typeahead/typeahead-popup.html",link:function(e,t,n){e.templateUrl=n.templateUrl,e.isOpen=function(){return e.matches.length>0},e.isActive=function(t){return e.active==t},e.selectActive=function(t){e.active=t},e.selectMatch=function(t){e.select({activeIdx:t})}}}})).directive("typeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(i,r,o){var a=n(o.templateUrl)(i.$parent)||"template/typeahead/typeahead-match.html";e(a).then((function(e){t(e.trim())(i,(function(e){r.replaceWith(e)}))}))}}}]).filter("typeaheadHighlight",(function(){return function(e,t){return t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):e}})),!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.transition","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["template/accordion/accordion-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/carousel.html","template/carousel/slide.html","template/datepicker/datepicker.html","template/datepicker/day.html","template/datepicker/month.html","template/datepicker/popup.html","template/datepicker/year.html","template/modal/backdrop.html","template/modal/window.html","template/pagination/pager.html","template/pagination/pagination.html","template/tooltip/tooltip-html-popup.html","template/tooltip/tooltip-html-unsafe-popup.html","template/tooltip/tooltip-popup.html","template/tooltip/tooltip-template-popup.html","template/popover/popover-html.html","template/popover/popover-template.html","template/popover/popover.html","template/progressbar/bar.html","template/progressbar/progress.html","template/progressbar/progressbar.html","template/rating/rating.html","template/tabs/tab.html","template/tabs/tabset.html","template/timepicker/timepicker.html","template/typeahead/typeahead-match.html","template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("collapse",["$animate",function(e){return{link:function(t,n,i){function r(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),e.addClass(n,"in",{to:{height:n[0].scrollHeight+"px"}}).then(o)}function o(){n.removeClass("collapsing"),n.css({height:"auto"})}function a(){return n.hasClass("collapse")||n.hasClass("in")?(n.css({height:n[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),void e.removeClass(n,"in",{to:{height:"0"}}).then(s)):s()}function s(){n.css({height:"0"}),n.removeClass("collapsing"),n.addClass("collapse")}t.$watch(i.collapse,(function(e){e?a():r()}))}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(i){(angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers)&&angular.forEach(this.groups,(function(e){e!==i&&(e.isOpen=!1)}))},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",(function(){t.removeGroup(e)}))},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("accordion",(function(){return{restrict:"EA",controller:"AccordionController",controllerAs:"accordion",transclude:!0,replace:!1,templateUrl:function(e,t){return t.templateUrl||"template/accordion/accordion.html"}}})).directive("accordionGroup",(function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/accordion/accordion-group.html"},scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,i){i.addGroup(e),e.$watch("isOpen",(function(t){t&&i.closeOthers(e)})),e.toggleOpen=function(){e.isDisabled||(e.isOpen=!e.isOpen)}}}})).directive("accordionHeading",(function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(e,t,n,i,r){i.setHeading(r(e,angular.noop))}}})).directive("accordionTransclude",(function(){return{require:"^accordionGroup",link:function(e,t,n,i){e.$watch((function(){return i[n.accordionTransclude]}),(function(e){e&&(t.find("span").html(""),t.find("span").append(e))}))}}})),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(e,t){e.closeable=!!t.close,this.close=e.close}]).directive("alert",(function(){return{restrict:"EA",controller:"AlertController",controllerAs:"alert",templateUrl:function(e,t){return t.templateUrl||"template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}})).directive("dismissOnTimeout",["$timeout",function(e){return{require:"alert",link:function(t,n,i,r){e((function(){r.close()}),parseInt(i.dismissOnTimeout,10))}}}]),angular.module("ui.bootstrap.bindHtml",[]).value("$bindHtmlUnsafeSuppressDeprecated",!1).directive("bindHtmlUnsafe",["$log","$bindHtmlUnsafeSuppressDeprecated",function(e,t){return function(n,i,r){t||e.warn("bindHtmlUnsafe is now deprecated. Use ngBindHtml instead"),i.addClass("ng-binding").data("$binding",r.bindHtmlUnsafe),n.$watch(r.bindHtmlUnsafe,(function(e){i.html(e||"")}))}}]),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("btnRadio",(function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",controllerAs:"buttons",link:function(e,t,n,i){var r=i[0],o=i[1];o.$render=function(){t.toggleClass(r.activeClass,angular.equals(o.$modelValue,e.$eval(n.btnRadio)))},t.bind(r.toggleEvent,(function(){if(!n.disabled){var i=t.hasClass(r.activeClass);(!i||angular.isDefined(n.uncheckable))&&e.$apply((function(){o.$setViewValue(i?null:e.$eval(n.btnRadio)),o.$render()}))}}))}}})).directive("btnCheckbox",(function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",controllerAs:"button",link:function(e,t,n,i){function r(){return o(n.btnCheckboxTrue,!0)}function o(t,n){var i=e.$eval(t);return angular.isDefined(i)?i:n}var a=i[0],s=i[1];s.$render=function(){t.toggleClass(a.activeClass,angular.equals(s.$modelValue,r()))},t.bind(a.toggleEvent,(function(){n.disabled||e.$apply((function(){s.$setViewValue(t.hasClass(a.activeClass)?o(n.btnCheckboxFalse,!1):r()),s.$render()}))}))}}})),angular.module("ui.bootstrap.carousel",[]).controller("CarouselController",["$scope","$element","$interval","$animate",function(e,t,n,i){function r(t,n,r){m||(angular.extend(t,{direction:r,active:!0}),angular.extend(d.currentSlide||{},{direction:r,active:!1}),i.enabled()&&!e.noTransition&&!e.$currentTransition&&t.$element&&d.slides.length>1&&(t.$element.data(f,t.direction),d.currentSlide&&d.currentSlide.$element&&d.currentSlide.$element.data(f,t.direction),e.$currentTransition=!0,h?i.on("addClass",t.$element,(function(t,n){"close"===n&&(e.$currentTransition=null,i.off("addClass",t))})):t.$element.one("$animate:close",(function(){e.$currentTransition=null}))),d.currentSlide=t,g=n,a())}function o(e){if(angular.isUndefined(p[e].index))return p[e];var t;for(t=0;t<p.length;++t)if(p[t].index==e)return p[t]}function a(){s();var t=+e.interval;!isNaN(t)&&t>0&&(c=n(l,t))}function s(){c&&(n.cancel(c),c=null)}function l(){var t=+e.interval;u&&!isNaN(t)&&t>0&&p.length?e.next():e.pause()}var c,u,d=this,p=d.slides=e.slides=[],h=angular.version.minor>=4,f="uib-slideDirection",g=-1;d.currentSlide=null;var m=!1;d.select=e.select=function(t,n){var i=e.indexOfSlide(t);void 0===n&&(n=i>d.getCurrentIndex()?"next":"prev"),t&&t!==d.currentSlide&&!e.$currentTransition&&r(t,i,n)},e.$on("$destroy",(function(){m=!0})),d.getCurrentIndex=function(){return d.currentSlide&&angular.isDefined(d.currentSlide.index)?+d.currentSlide.index:g},e.indexOfSlide=function(e){return angular.isDefined(e.index)?+e.index:p.indexOf(e)},e.next=function(){var t=(d.getCurrentIndex()+1)%p.length;return 0===t&&e.noWrap()?void e.pause():d.select(o(t),"next")},e.prev=function(){var t=d.getCurrentIndex()-1<0?p.length-1:d.getCurrentIndex()-1;return e.noWrap()&&t===p.length-1?void e.pause():d.select(o(t),"prev")},e.isActive=function(e){return d.currentSlide===e},e.$watch("interval",a),e.$on("$destroy",s),e.play=function(){u||(u=!0,a())},e.pause=function(){e.noPause||(u=!1,s())},d.addSlide=function(t,n){t.$element=n,p.push(t),1===p.length||t.active?(d.select(p[p.length-1]),1==p.length&&e.play()):t.active=!1},d.removeSlide=function(e){angular.isDefined(e.index)&&p.sort((function(e,t){return+e.index>+t.index}));var t=p.indexOf(e);p.splice(t,1),p.length>0&&e.active?d.select(t>=p.length?p[t-1]:p[t]):g>t&&g--,0===p.length&&(d.currentSlide=null)},e.$watch("noTransition",(function(e){t.data("uib-noTransition",e)}))}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",controllerAs:"carousel",require:"carousel",templateUrl:function(e,t){return t.templateUrl||"template/carousel/carousel.html"},scope:{interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}]).directive("slide",(function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/carousel/slide.html"},scope:{active:"=?",index:"=?"},link:function(e,t,n,i){i.addSlide(e,t),e.$on("$destroy",(function(){i.removeSlide(e)})),e.$watch("active",(function(t){t&&i.select(e)}))}}})).animation(".item",["$injector","$animate",function(e,t){function n(e,t,n){e.removeClass(t),n&&n()}var i="uib-noTransition",r="uib-slideDirection",o=null;return e.has("$animateCss")&&(o=e.get("$animateCss")),{beforeAddClass:function(e,a,s){if("active"==a&&e.parent()&&!e.parent().data(i)){var l=!1,c=e.data(r),u="next"==c?"left":"right",d=n.bind(this,e,u+" "+c,s);return e.addClass(c),o?o(e,{addClass:u}).start().done(d):t.addClass(e,u).then((function(){l||d(),s()})),function(){l=!0}}s()},beforeRemoveClass:function(e,a,s){if("active"===a&&e.parent()&&!e.parent().data(i)){var l=!1,c="next"==e.data(r)?"left":"right",u=n.bind(this,e,c,s);return o?o(e,{addClass:c}).start().done(u):t.addClass(e,c).then((function(){l||u(),s()})),function(){l=!0}}s()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$log","$locale","orderByFilter",function(e,t,n){function i(e){var t=[],i=e.split("");return angular.forEach(o,(function(n,r){var o=e.indexOf(r);if(o>-1){e=e.split(""),i[o]="("+n.regex+")",e[o]="$";for(var a=o+1,s=o+r.length;s>a;a++)i[a]="",e[a]="$";e=e.join(""),t.push({index:o,apply:n.apply})}})),{regex:new RegExp("^"+i.join("")+"$"),map:n(t,"index")}}var r=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.parsers={};var o={yyyy:{regex:"\\d{4}",apply:function(e){this.year=+e}},yy:{regex:"\\d{2}",apply:function(e){this.year=+e+2e3}},y:{regex:"\\d{1,4}",apply:function(e){this.year=+e}},MMMM:{regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)}},MMM:{regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1}},M:{regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},EEEE:{regex:t.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:t.DATETIME_FORMATS.SHORTDAY.join("|")},HH:{regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e}},hh:{regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e}},H:{regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e}},mm:{regex:"[0-5][0-9]",apply:function(e){this.minutes=+e}},m:{regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e}},sss:{regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e}},ss:{regex:"[0-5][0-9]",apply:function(e){this.seconds=+e}},s:{regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e}},a:{regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)}}};this.parse=function(n,o,a){if(!angular.isString(n)||!o)return n;o=(o=t.DATETIME_FORMATS[o]||o).replace(r,"\\$&"),this.parsers[o]||(this.parsers[o]=i(o));var s=this.parsers[o],l=s.map,c=n.match(s.regex);if(c&&c.length){var u,d;angular.isDate(a)&&!isNaN(a.getTime())?u={year:a.getFullYear(),month:a.getMonth(),date:a.getDate(),hours:a.getHours(),minutes:a.getMinutes(),seconds:a.getSeconds(),milliseconds:a.getMilliseconds()}:(a&&e.warn("dateparser:","baseDate is not a valid date"),u={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var p=1,h=c.length;h>p;p++){var f=l[p-1];f.apply&&f.apply.call(u,c[p])}return function(e,t,n){return!(1>n)&&(1===t&&n>28?29===n&&(e%4==0&&e%100!=0||e%400==0):3!==t&&5!==t&&8!==t&&10!==t||31>n)}(u.year,u.month,u.date)&&(d=new Date(u.year,u.month,u.date,u.hours,u.minutes,u.seconds,u.milliseconds||0)),d}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(e,t){function n(e){return"static"===(function(e,n){return e.currentStyle?e.currentStyle[n]:t.getComputedStyle?t.getComputedStyle(e)[n]:e.style[n]}(e,"position")||"static")}var i=function(t){for(var i=e[0],r=t.offsetParent||i;r&&r!==i&&n(r);)r=r.offsetParent;return r||i};return{position:function(t){var n=this.offset(t),r={top:0,left:0},o=i(t[0]);o!=e[0]&&((r=this.offset(angular.element(o))).top+=o.clientTop-o.scrollTop,r.left+=o.clientLeft-o.scrollLeft);var a=t[0].getBoundingClientRect();return{width:a.width||t.prop("offsetWidth"),height:a.height||t.prop("offsetHeight"),top:n.top-r.top,left:n.left-r.left}},offset:function(n){var i=n[0].getBoundingClientRect();return{width:i.width||n.prop("offsetWidth"),height:i.height||n.prop("offsetHeight"),top:i.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:i.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}},positionElements:function(e,t,n,i){var r,o,a,s,l=n.split("-"),c=l[0],u=l[1]||"center";r=i?this.offset(e):this.position(e),o=t.prop("offsetWidth"),a=t.prop("offsetHeight");var d={center:function(){return r.left+r.width/2-o/2},left:function(){return r.left},right:function(){return r.left+r.width}},p={center:function(){return r.top+r.height/2-a/2},top:function(){return r.top},bottom:function(){return r.top+r.height}};switch(c){case"right":s={top:p[u](),left:d[c]()};break;case"left":s={top:p[u](),left:r.left-o};break;case"bottom":s={top:p[c](),left:d[u]()};break;default:s={top:r.top-a,left:d[u]()}}return s}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).value("$datepickerSuppressError",!1).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null,shortcutPropagation:!1}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$log","dateFilter","datepickerConfig","$datepickerSuppressError",function(e,t,n,i,r,o,a,s){var l=this,c={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","showWeeks","startingDay","yearRange","shortcutPropagation"],(function(n,r){l[n]=angular.isDefined(t[n])?6>r?i(t[n])(e.$parent):e.$parent.$eval(t[n]):a[n]})),angular.forEach(["minDate","maxDate"],(function(i){t[i]?e.$parent.$watch(n(t[i]),(function(e){l[i]=e?new Date(e):null,l.refreshView()})):l[i]=a[i]?new Date(a[i]):null})),angular.forEach(["minMode","maxMode"],(function(i){t[i]?e.$parent.$watch(n(t[i]),(function(n){l[i]=angular.isDefined(n)?n:t[i],e[i]=l[i],("minMode"==i&&l.modes.indexOf(e.datepickerMode)<l.modes.indexOf(l[i])||"maxMode"==i&&l.modes.indexOf(e.datepickerMode)>l.modes.indexOf(l[i]))&&(e.datepickerMode=l[i])})):(l[i]=a[i]||null,e[i]=l[i])})),e.datepickerMode=e.datepickerMode||a.datepickerMode,e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),angular.isDefined(t.initDate)?(this.activeDate=e.$parent.$eval(t.initDate)||new Date,e.$parent.$watch(t.initDate,(function(e){e&&(c.$isEmpty(c.$modelValue)||c.$invalid)&&(l.activeDate=e,l.refreshView())}))):this.activeDate=new Date,e.isActive=function(t){return 0===l.compare(t.date,l.activeDate)&&(e.activeDateId=t.uid,!0)},this.init=function(e){(c=e).$render=function(){l.render()}},this.render=function(){if(c.$viewValue){var e=new Date(c.$viewValue);isNaN(e)?s||r.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'):this.activeDate=e}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var e=c.$viewValue?new Date(c.$viewValue):null;c.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,t){var n=c.$viewValue?new Date(c.$viewValue):null;return{date:e,label:o(e,t),selected:n&&0===this.compare(e,n),disabled:this.isDisabled(e),current:0===this.compare(e,new Date),customClass:this.customClass(e)}},this.isDisabled=function(n){return this.minDate&&this.compare(n,this.minDate)<0||this.maxDate&&this.compare(n,this.maxDate)>0||t.dateDisabled&&e.dateDisabled({date:n,mode:e.datepickerMode})},this.customClass=function(t){return e.customClass({date:t,mode:e.datepickerMode})},this.split=function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},this.fixTimeZone=function(e){var t=e.getHours();e.setHours(23===t?t+2:0)},e.select=function(t){if(e.datepickerMode===l.minMode){var n=c.$viewValue?new Date(c.$viewValue):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),c.$setViewValue(n),c.$render()}else l.activeDate=t,e.datepickerMode=l.modes[l.modes.indexOf(e.datepickerMode)-1]},e.move=function(e){var t=l.activeDate.getFullYear()+e*(l.step.years||0),n=l.activeDate.getMonth()+e*(l.step.months||0);l.activeDate.setFullYear(t,n,1),l.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===l.maxMode&&1===t||e.datepickerMode===l.minMode&&-1===t||(e.datepickerMode=l.modes[l.modes.indexOf(e.datepickerMode)+t])},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var u=function(){l.element[0].focus()};e.$on("datepicker.focus",u),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey)if(t.preventDefault(),l.shortcutPropagation||t.stopPropagation(),"enter"===n||"space"===n){if(l.isDisabled(l.activeDate))return;e.select(l.activeDate),u()}else!t.ctrlKey||"up"!==n&&"down"!==n?(l.handleKeyDown(n,t),l.refreshView()):(e.toggleMode("up"===n?1:-1),u())}}]).directive("datepicker",(function(){return{restrict:"EA",replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/datepicker/datepicker.html"},scope:{datepickerMode:"=?",dateDisabled:"&",customClass:"&",shortcutPropagation:"&?"},require:["datepicker","^ngModel"],controller:"DatepickerController",controllerAs:"datepicker",link:function(e,t,n,i){i[0].init(i[1])}}})).directive("daypicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(t,n,i,r){function o(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?s[t]:29}function a(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}t.showWeeks=r.showWeeks,r.step={months:1},r.element=n;var s=[31,28,31,30,31,30,31,31,30,31,30,31];r._refreshView=function(){var n=r.activeDate.getFullYear(),i=r.activeDate.getMonth(),o=new Date(n,i,1),s=r.startingDay-o.getDay(),l=s>0?7-s:-s,c=new Date(o);l>0&&c.setDate(1-l);for(var u=function(e,t){for(var n,i=new Array(42),o=new Date(e),a=0;42>a;)n=new Date(o),r.fixTimeZone(n),i[a++]=n,o.setDate(o.getDate()+1);return i}(c),d=0;42>d;d++)u[d]=angular.extend(r.createDateObject(u[d],r.formatDay),{secondary:u[d].getMonth()!==i,uid:t.uniqueId+"-"+d});t.labels=new Array(7);for(var p=0;7>p;p++)t.labels[p]={abbr:e(u[p].date,r.formatDayHeader),full:e(u[p].date,"EEEE")};if(t.title=e(r.activeDate,r.formatDayTitle),t.rows=r.split(u,7),t.showWeeks){t.weekNumbers=[];for(var h=(11-r.startingDay)%7,f=t.rows.length,g=0;f>g;g++)t.weekNumbers.push(a(t.rows[g][h].date))}},r.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},r.handleKeyDown=function(e){var t=r.activeDate.getDate();if("left"===e)t-=1;else if("up"===e)t-=7;else if("right"===e)t+=1;else if("down"===e)t+=7;else if("pageup"===e||"pagedown"===e){var n=r.activeDate.getMonth()+("pageup"===e?-1:1);r.activeDate.setMonth(n,1),t=Math.min(o(r.activeDate.getFullYear(),r.activeDate.getMonth()),t)}else"home"===e?t=1:"end"===e&&(t=o(r.activeDate.getFullYear(),r.activeDate.getMonth()));r.activeDate.setDate(t)},r.refreshView()}}}]).directive("monthpicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/month.html",require:"^datepicker",link:function(t,n,i,r){r.step={years:1},r.element=n,r._refreshView=function(){for(var n,i=new Array(12),o=r.activeDate.getFullYear(),a=0;12>a;a++)n=new Date(o,a,1),r.fixTimeZone(n),i[a]=angular.extend(r.createDateObject(n,r.formatMonth),{uid:t.uniqueId+"-"+a});t.title=e(r.activeDate,r.formatMonthTitle),t.rows=r.split(i,3)},r.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth())-new Date(t.getFullYear(),t.getMonth())},r.handleKeyDown=function(e){var t=r.activeDate.getMonth();if("left"===e)t-=1;else if("up"===e)t-=3;else if("right"===e)t+=1;else if("down"===e)t+=3;else if("pageup"===e||"pagedown"===e){var n=r.activeDate.getFullYear()+("pageup"===e?-1:1);r.activeDate.setFullYear(n)}else"home"===e?t=0:"end"===e&&(t=11);r.activeDate.setMonth(t)},r.refreshView()}}}]).directive("yearpicker",["dateFilter",function(){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(e,t,n,i){function r(e){return parseInt((e-1)/o,10)*o+1}var o=i.yearRange;i.step={years:o},i.element=t,i._refreshView=function(){for(var t,n=new Array(o),a=0,s=r(i.activeDate.getFullYear());o>a;a++)t=new Date(s+a,0,1),i.fixTimeZone(t),n[a]=angular.extend(i.createDateObject(t,i.formatYear),{uid:e.uniqueId+"-"+a});e.title=[n[0].label,n[o-1].label].join(" - "),e.rows=i.split(n,5)},i.compare=function(e,t){return e.getFullYear()-t.getFullYear()},i.handleKeyDown=function(e){var t=i.activeDate.getFullYear();"left"===e?t-=1:"up"===e?t-=5:"right"===e?t+=1:"down"===e?t+=5:"pageup"===e||"pagedown"===e?t+=("pageup"===e?-1:1)*i.step.years:"home"===e?t=r(i.activeDate.getFullYear()):"end"===e&&(t=r(i.activeDate.getFullYear())+o-1),i.activeDate.setFullYear(t)},i.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"template/datepicker/popup.html",datepickerTemplateUrl:"template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0,onOpenFocus:!0}).directive("datepickerPopup",["$compile","$parse","$document","$rootScope","$position","dateFilter","dateParser","datepickerPopupConfig","$timeout",function(e,t,n,i,r,o,a,s,l){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&",customClass:"&"},link:function(c,u,d,p){function h(e){return e.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()}))}var f,g=angular.isDefined(d.closeOnDateSelection)?c.$parent.$eval(d.closeOnDateSelection):s.closeOnDateSelection,m=angular.isDefined(d.datepickerAppendToBody)?c.$parent.$eval(d.datepickerAppendToBody):s.appendToBody,v=angular.isDefined(d.onOpenFocus)?c.$parent.$eval(d.onOpenFocus):s.onOpenFocus,b=angular.isDefined(d.datepickerPopupTemplateUrl)?d.datepickerPopupTemplateUrl:s.datepickerPopupTemplateUrl,y=angular.isDefined(d.datepickerTemplateUrl)?d.datepickerTemplateUrl:s.datepickerTemplateUrl;c.showButtonBar=angular.isDefined(d.showButtonBar)?c.$parent.$eval(d.showButtonBar):s.showButtonBar,c.getText=function(e){return c[e+"Text"]||s[e+"Text"]};var M=!1;if(s.html5Types[d.type]?(f=s.html5Types[d.type],M=!0):(f=d.datepickerPopup||s.datepickerPopup,d.$observe("datepickerPopup",(function(e){var t=e||s.datepickerPopup;if(t!==f&&(f=t,p.$modelValue=null,!f))throw new Error("datepickerPopup must have a date format specified.")}))),!f)throw new Error("datepickerPopup must have a date format specified.");if(M&&d.datepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");var w=angular.element("<div datepicker-popup-wrap><div datepicker></div></div>");w.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":b});var C=angular.element(w.children()[0]);if(C.attr("template-url",y),M&&"month"==d.type&&(C.attr("datepicker-mode",'"month"'),C.attr("min-mode","month")),d.datepickerOptions){var A=c.$parent.$eval(d.datepickerOptions);A&&A.initDate&&(c.initDate=A.initDate,C.attr("init-date","initDate"),delete A.initDate),angular.forEach(A,(function(e,t){C.attr(h(t),e)}))}c.watchData={},angular.forEach(["minMode","maxMode","minDate","maxDate","datepickerMode","initDate","shortcutPropagation"],(function(e){if(d[e]){var n=t(d[e]);if(c.$parent.$watch(n,(function(t){c.watchData[e]=t})),C.attr(h(e),"watchData."+e),"datepickerMode"===e){var i=n.assign;c.$watch("watchData."+e,(function(e,t){angular.isFunction(i)&&e!==t&&i(c.$parent,e)}))}}})),d.dateDisabled&&C.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),d.showWeeks&&C.attr("show-weeks",d.showWeeks),d.customClass&&C.attr("custom-class","customClass({ date: date, mode: mode })"),M?p.$formatters.push((function(e){return c.date=e,e})):(p.$$parserName="date",p.$validators.date=function(e,t){var n=e||t;if(!d.ngRequired&&!n)return!0;if(angular.isNumber(n)&&(n=new Date(n)),n){if(angular.isDate(n)&&!isNaN(n))return!0;if(angular.isString(n)){var i=a.parse(n,f);return!isNaN(i)}return!1}return!0},p.$parsers.unshift((function(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=a.parse(e,f,c.date);return isNaN(t)?void 0:t}})),p.$formatters.push((function(e){return c.date=e,p.$isEmpty(e)?e:o(e,f)}))),c.dateSelection=function(e){angular.isDefined(e)&&(c.date=e);var t=c.date?o(c.date,f):null;u.val(t),p.$setViewValue(t),g&&(c.isOpen=!1,u[0].focus())},p.$viewChangeListeners.push((function(){c.date=a.parse(p.$viewValue,f,c.date)}));var x=function(e){c.isOpen&&!u[0].contains(e.target)&&c.$apply((function(){c.isOpen=!1}))},S=function(e){27===e.which&&c.isOpen?(e.preventDefault(),e.stopPropagation(),c.$apply((function(){c.isOpen=!1})),u[0].focus()):40!==e.which||c.isOpen||(e.preventDefault(),e.stopPropagation(),c.$apply((function(){c.isOpen=!0})))};u.bind("keydown",S),c.keydown=function(e){27===e.which&&(c.isOpen=!1,u[0].focus())},c.$watch("isOpen",(function(e){e?(c.position=m?r.offset(u):r.position(u),c.position.top=c.position.top+u.prop("offsetHeight"),l((function(){v&&c.$broadcast("datepicker.focus"),n.bind("click",x)}),0,!1)):n.unbind("click",x)})),c.select=function(e){if("today"===e){var t=new Date;angular.isDate(c.date)?(e=new Date(c.date)).setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):e=new Date(t.setHours(0,0,0,0))}c.dateSelection(e)},c.close=function(){c.isOpen=!1,u[0].focus()};var z=e(w)(c);w.remove(),m?n.find("body").append(z):u.after(z),c.$on("$destroy",(function(){!0===c.isOpen&&(i.$$phase||c.$apply((function(){c.isOpen=!1}))),z.remove(),u.unbind("keydown",S),n.unbind("click",x)}))}}}]).directive("datepickerPopupWrap",(function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/datepicker/popup.html"}}})),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document","$rootScope",function(e,t){var n=null;this.open=function(t){n||(e.bind("click",i),e.bind("keydown",r)),n&&n!==t&&(n.isOpen=!1),n=t},this.close=function(t){n===t&&(n=null,e.unbind("click",i),e.unbind("keydown",r))};var i=function(e){if(n&&(!e||"disabled"!==n.getAutoClose())){var i=n.getToggleElement();if(!(e&&i&&i[0].contains(e.target))){var r=n.getDropdownElement();e&&"outsideClick"===n.getAutoClose()&&r&&r[0].contains(e.target)||(n.isOpen=!1,t.$$phase||n.$apply())}}},r=function(e){27===e.which?(n.focusToggleElement(),i()):n.isKeynavEnabled()&&/(38|40)/.test(e.which)&&n.isOpen&&(e.preventDefault(),e.stopPropagation(),n.focusDropdownEntry(e.which))}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate","$position","$document","$compile","$templateRequest",function(e,t,n,i,r,o,a,s,l,c){var u,d,p=this,h=e.$new(),f=i.openClass,g=angular.noop,m=t.onToggle?n(t.onToggle):angular.noop,v=!1,b=!1;this.init=function(i){p.$element=i,t.isOpen&&(d=n(t.isOpen),g=d.assign,e.$watch(d,(function(e){h.isOpen=!!e}))),v=angular.isDefined(t.dropdownAppendToBody),b=angular.isDefined(t.keyboardNav),v&&p.dropdownMenu&&(s.find("body").append(p.dropdownMenu),i.on("$destroy",(function(){p.dropdownMenu.remove()})))},this.toggle=function(e){return h.isOpen=arguments.length?!!e:!h.isOpen},this.isOpen=function(){return h.isOpen},h.getToggleElement=function(){return p.toggleElement},h.getAutoClose=function(){return t.autoClose||"always"},h.getElement=function(){return p.$element},h.isKeynavEnabled=function(){return b},h.focusDropdownEntry=function(e){var t=p.dropdownMenu?angular.element(p.dropdownMenu).find("a"):angular.element(p.$element).find("ul").eq(0).find("a");switch(e){case 40:p.selectedOption=angular.isNumber(p.selectedOption)?p.selectedOption===t.length-1?p.selectedOption:p.selectedOption+1:0;break;case 38:if(!angular.isNumber(p.selectedOption))return;p.selectedOption=0===p.selectedOption?0:p.selectedOption-1}t[p.selectedOption].focus()},h.getDropdownElement=function(){return p.dropdownMenu},h.focusToggleElement=function(){p.toggleElement&&p.toggleElement[0].focus()},h.$watch("isOpen",(function(t,n){if(v&&p.dropdownMenu){var i=a.positionElements(p.$element,p.dropdownMenu,"bottom-left",!0),s={top:i.top+"px",display:t?"block":"none"};p.dropdownMenu.hasClass("dropdown-menu-right")?(s.left="auto",s.right=window.innerWidth-(i.left+p.$element.prop("offsetWidth"))+"px"):(s.left=i.left+"px",s.right="auto"),p.dropdownMenu.css(s)}if(o[t?"addClass":"removeClass"](p.$element,f).then((function(){angular.isDefined(t)&&t!==n&&m(e,{open:!!t})})),t)p.dropdownMenuTemplateUrl&&c(p.dropdownMenuTemplateUrl).then((function(e){u=h.$new(),l(e.trim())(u,(function(e){var t=e;p.dropdownMenu.replaceWith(t),p.dropdownMenu=t}))})),h.focusToggleElement(),r.open(h);else{if(p.dropdownMenuTemplateUrl){u&&u.$destroy();var d=angular.element('<ul class="dropdown-menu"></ul>');p.dropdownMenu.replaceWith(d),p.dropdownMenu=d}r.close(h),p.selectedOption=null}angular.isFunction(g)&&g(e,t)})),e.$on("$locationChangeSuccess",(function(){"disabled"!==h.getAutoClose()&&(h.isOpen=!1)})),e.$on("$destroy",(function(){h.$destroy()}))}]).directive("dropdown",(function(){return{controller:"DropdownController",link:function(e,t,n,i){i.init(t),t.addClass("dropdown")}}})).directive("dropdownMenu",(function(){return{restrict:"AC",require:"?^dropdown",link:function(e,t,n,i){if(i){var r=n.templateUrl;r&&(i.dropdownMenuTemplateUrl=r),i.dropdownMenu||(i.dropdownMenu=t)}}}})).directive("keyboardNav",(function(){return{restrict:"A",require:"?^dropdown",link:function(e,t,n,i){t.bind("keydown",(function(e){if(-1!==[38,40].indexOf(e.which)){e.preventDefault(),e.stopPropagation();var t=i.dropdownMenu.find("a");switch(e.which){case 40:i.selectedOption=angular.isNumber(i.selectedOption)?i.selectedOption===t.length-1?i.selectedOption:i.selectedOption+1:0;break;case 38:i.selectedOption=0===i.selectedOption?0:i.selectedOption-1}t[i.selectedOption].focus()}}))}}})).directive("dropdownToggle",(function(){return{require:"?^dropdown",link:function(e,t,n,i){if(i){t.addClass("dropdown-toggle"),i.toggleElement=t;var r=function(r){r.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply((function(){i.toggle()}))};t.bind("click",r),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(i.isOpen,(function(e){t.attr("aria-expanded",!!e)})),e.$on("$destroy",(function(){t.unbind("click",r)}))}}}})),angular.module("ui.bootstrap.modal",[]).factory("$$stackedMap",(function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t==e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,i=0;i<e.length;i++)if(t==e[i].key){n=i;break}return e.splice(n,1)[0]},removeTop:function(){return e.splice(e.length-1,1)[0]},length:function(){return e.length}}}}})).directive("modalBackdrop",["$animate","$injector","$modalStack",function(e,t,n){function i(t,i,o){o.modalInClass&&(r?r(i,{addClass:o.modalInClass}).start():e.addClass(i,o.modalInClass),t.$on(n.NOW_CLOSING_EVENT,(function(t,n){var a=n();r?r(i,{removeClass:o.modalInClass}).start().then(a):e.removeClass(i,o.modalInClass).then(a)})))}var r=null;return t.has("$animateCss")&&(r=t.get("$animateCss")),{restrict:"EA",replace:!0,templateUrl:"template/modal/backdrop.html",compile:function(e,t){return e.addClass(t.backdropClass),i}}}]).directive("modalWindow",["$modalStack","$q","$animate","$injector",function(e,t,n,i){var r=null;return i.has("$animateCss")&&(r=i.get("$animateCss")),{restrict:"EA",scope:{index:"@"},replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/modal/window.html"},link:function(i,o,a){o.addClass(a.windowClass||""),i.size=a.size,i.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!=n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault(),t.stopPropagation(),e.dismiss(n.key,"backdrop click"))},i.$isRendered=!0;var s=t.defer();a.$observe("modalRender",(function(e){"true"==e&&s.resolve()})),s.promise.then((function(){a.modalInClass&&(r?r(o,{addClass:a.modalInClass}).start():n.addClass(o,a.modalInClass),i.$on(e.NOW_CLOSING_EVENT,(function(e,t){var i=t();r?r(o,{removeClass:a.modalInClass}).start().then(i):n.removeClass(o,a.modalInClass).then(i)})));var t=o[0].querySelectorAll("[autofocus]");t.length?t[0].focus():o[0].focus();var s=e.getTop();s&&e.modalRendered(s.key)}))}}}]).directive("modalAnimationClass",[function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.modalAnimationClass)}}}]).directive("modalTransclude",(function(){return{link:function(e,t,n,i,r){r(e.$parent,(function(e){t.empty(),t.append(e)}))}}})).factory("$modalStack",["$animate","$timeout","$document","$compile","$rootScope","$q","$injector","$$stackedMap",function(e,t,n,i,r,o,a,s){function l(){for(var e=-1,t=v.keys(),n=0;n<t.length;n++)v.get(t[n]).value.backdrop&&(e=n);return e}function c(e,t){var i=n.find("body").eq(0),r=v.get(e).value;v.remove(e),u(r.modalDomEl,r.modalScope,(function(){i.toggleClass(e.openedClass||m,v.length()>0)})),h&&-1==l()&&(u(h,f,(function(){})),h=void 0,f=void 0),t&&t.focus?t.focus():i.focus()}function u(t,n,i){var r,a=null;return n.$broadcast(b.NOW_CLOSING_EVENT,(function(){return r||(r=o.defer(),a=r.promise),function(){r.resolve()}})),o.when(a).then((function r(){r.done||(r.done=!0,p?p(t,{event:"leave"}).start().then((function(){t.remove()})):e.leave(t),n.$destroy(),i&&i())}))}function d(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}var p=null;a.has("$animateCss")&&(p=a.get("$animateCss"));var h,f,g,m="modal-open",v=s.createNew(),b={NOW_CLOSING_EVENT:"modal.stack.now-closing"};return r.$watch(l,(function(e){f&&(f.index=e)})),n.bind("keydown",(function(e){if(e.isDefaultPrevented())return e;var t=v.top();if(t&&t.value.keyboard)switch(e.which){case 27:e.preventDefault(),r.$apply((function(){b.dismiss(t.key,"escape key press")}));break;case 9:b.loadFocusElementList(t);var n=!1;e.shiftKey?b.isFocusInFirstItem(e)&&(n=b.focusLastFocusableElement()):b.isFocusInLastItem(e)&&(n=b.focusFirstFocusableElement()),n&&(e.preventDefault(),e.stopPropagation())}})),b.open=function(e,t){var o=n[0].activeElement;v.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass});var a=n.find("body").eq(0),s=l();if(s>=0&&!h){(f=r.$new(!0)).index=s;var c=angular.element('<div modal-backdrop="modal-backdrop"></div>');c.attr("backdrop-class",t.backdropClass),t.animation&&c.attr("modal-animation","true"),h=i(c)(f),a.append(h)}var u=angular.element('<div modal-window="modal-window"></div>');u.attr({"template-url":t.windowTemplateUrl,"window-class":t.windowClass,size:t.size,index:v.length()-1,animate:"animate"}).html(t.content),t.animation&&u.attr("modal-animation","true");var d=i(u)(t.scope);v.top().value.modalDomEl=d,v.top().value.modalOpener=o,a.append(d),a.addClass(t.openedClass||m),b.clearFocusListCache()},b.close=function(e,t){var n=v.get(e);return n&&d(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),c(e,n.value.modalOpener),!0):!n},b.dismiss=function(e,t){var n=v.get(e);return n&&d(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),c(e,n.value.modalOpener),!0):!n},b.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},b.getTop=function(){return v.top()},b.modalRendered=function(e){var t=v.get(e);t&&t.value.renderDeferred.resolve()},b.focusFirstFocusableElement=function(){return g.length>0&&(g[0].focus(),!0)},b.focusLastFocusableElement=function(){return g.length>0&&(g[g.length-1].focus(),!0)},b.isFocusInFirstItem=function(e){return g.length>0&&(e.target||e.srcElement)==g[0]},b.isFocusInLastItem=function(e){return g.length>0&&(e.target||e.srcElement)==g[g.length-1]},b.clearFocusListCache=function(){g=[]},b.loadFocusElementList=function(e){if((void 0===g||!g.length0)&&e){var t=e.value.modalDomEl;t&&t.length&&(g=t[0].querySelectorAll("a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]"))}},b}]).provider("$modal",(function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$templateRequest","$controller","$modalStack",function(t,n,i,r,o,a){function s(e){return e.template?i.when(e.template):r(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}function l(e){var n=[];return angular.forEach(e,(function(e){angular.isFunction(e)||angular.isArray(e)?n.push(i.when(t.invoke(e))):angular.isString(e)&&n.push(i.when(t.get(e)))})),n}return{open:function(t){var r=i.defer(),c=i.defer(),u=i.defer(),d={result:r.promise,opened:c.promise,rendered:u.promise,close:function(e){return a.close(d,e)},dismiss:function(e){return a.dismiss(d,e)}};if((t=angular.extend({},e.options,t)).resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var p=i.all([s(t)].concat(l(t.resolve)));return p.then((function(e){var i=(t.scope||n).$new();i.$close=d.close,i.$dismiss=d.dismiss,i.$on("$destroy",(function(){i.$$uibDestructionScheduled||i.$dismiss("$uibUnscheduledDestruction")}));var s,l={},c=1;t.controller&&(l.$scope=i,l.$modalInstance=d,angular.forEach(t.resolve,(function(t,n){l[n]=e[c++]})),s=o(t.controller,l),t.controllerAs&&(t.bindToController&&angular.extend(s,i),i[t.controllerAs]=s)),a.open(d,{scope:i,deferred:r,renderDeferred:u,content:e[0],animation:t.animation,backdrop:t.backdrop,keyboard:t.keyboard,backdropClass:t.backdropClass,windowClass:t.windowClass,windowTemplateUrl:t.windowTemplateUrl,size:t.size,openedClass:t.openedClass})}),(function(e){r.reject(e)})),p.then((function(){c.resolve(!0)}),(function(e){c.reject(e)})),d}}}]};return e})),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(e,t,n){var i=this,r={$setViewValue:angular.noop},o=t.numPages?n(t.numPages).assign:angular.noop;this.init=function(a,s){r=a,this.config=s,r.$render=function(){i.render()},t.itemsPerPage?e.$parent.$watch(n(t.itemsPerPage),(function(t){i.itemsPerPage=parseInt(t,10),e.totalPages=i.calculateTotalPages()})):this.itemsPerPage=s.itemsPerPage,e.$watch("totalItems",(function(){e.totalPages=i.calculateTotalPages()})),e.$watch("totalPages",(function(t){o(e.$parent,t),e.page>t?e.selectPage(t):r.$render()}))},this.calculateTotalPages=function(){var t=this.itemsPerPage<1?1:Math.ceil(e.totalItems/this.itemsPerPage);return Math.max(t||0,1)},this.render=function(){e.page=parseInt(r.$viewValue,10)||1},e.selectPage=function(t,n){n&&n.preventDefault(),(!e.ngDisabled||!n)&&e.page!==t&&t>0&&t<=e.totalPages&&(n&&n.target&&n.target.blur(),r.$setViewValue(t),r.$render())},e.getText=function(t){return e[t+"Text"]||i.config[t+"Text"]},e.noPrevious=function(){return 1===e.page},e.noNext=function(){return e.page===e.totalPages}}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(e,t){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["pagination","?ngModel"],controller:"PaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"template/pagination/pagination.html"},replace:!0,link:function(n,i,r,o){function a(e,t,n){return{number:e,text:t,active:n}}var s=o[0],l=o[1];if(l){var c=angular.isDefined(r.maxSize)?n.$parent.$eval(r.maxSize):t.maxSize,u=angular.isDefined(r.rotate)?n.$parent.$eval(r.rotate):t.rotate;n.boundaryLinks=angular.isDefined(r.boundaryLinks)?n.$parent.$eval(r.boundaryLinks):t.boundaryLinks,n.directionLinks=angular.isDefined(r.directionLinks)?n.$parent.$eval(r.directionLinks):t.directionLinks,s.init(l,t),r.maxSize&&n.$parent.$watch(e(r.maxSize),(function(e){c=parseInt(e,10),s.render()}));var d=s.render;s.render=function(){d(),n.page>0&&n.page<=n.totalPages&&(n.pages=function(e,t){var n=[],i=1,r=t,o=angular.isDefined(c)&&t>c;o&&(u?(r=(i=Math.max(e-Math.floor(c/2),1))+c-1)>t&&(i=(r=t)-c+1):(i=(Math.ceil(e/c)-1)*c+1,r=Math.min(i+c-1,t)));for(var s=i;r>=s;s++){var l=a(s,s,s===e);n.push(l)}if(o&&!u){if(i>1){var d=a(i-1,"...",!1);n.unshift(d)}if(t>r){var p=a(r+1,"...",!1);n.push(p)}}return n}(n.page,n.totalPages))}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"\xab Previous",nextText:"Next \xbb",align:!0}).directive("pager",["pagerConfig",function(e){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@"},require:["pager","?ngModel"],controller:"PaginationController",templateUrl:"template/pagination/pager.html",replace:!0,link:function(t,n,i,r){var o=r[0],a=r[1];a&&(t.align=angular.isDefined(i.align)?t.$parent.$eval(i.align):e.align,o.init(a,e))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",(function(){var e={placement:"top",animation:!0,popupDelay:0,useContentExp:!1},t={mouseenter:"mouseleave",click:"click",focus:"blur"},n={};this.options=function(e){angular.extend(n,e)},this.setTriggers=function(e){angular.extend(t,e)},this.$get=["$window","$compile","$timeout","$document","$position","$interpolate","$rootScope",function(i,r,o,a,s,l,c){return function(i,u,d,p){function h(e){var n=(e||p.trigger||d).split(" "),i=n.map((function(e){return t[e]||e}));return{show:n,hide:i}}p=angular.extend({},e,n,p);var f=i.replace(/[A-Z]/g,(function(e,t){return(t?"-":"")+e.toLowerCase()})),g=l.startSymbol(),m=l.endSymbol(),v="<div "+f+'-popup title="'+g+"title"+m+'" '+(p.useContentExp?'content-exp="contentExp()" ':'content="'+g+"content"+m+'" ')+'placement="'+g+"placement"+m+'" popup-class="'+g+"popupClass"+m+'" animation="animation" is-open="isOpen"origin-scope="origScope" ></div>';return{restrict:"EA",compile:function(){var e=r(v);return function(t,n,r){function l(){z.isOpen?f():d()}function d(){(!S||t.$eval(r[u+"Enable"]))&&(z.popupClass=r[u+"Class"],b(),function(){var e=parseInt(r[u+"PopupDelay"],10);z.popupDelay=isNaN(e)?p.popupDelay:e}(),z.popupDelay?C||(C=o(g,z.popupDelay,!1)).then((function(e){e()})):g()())}function f(){m(),c.$$phase||c.$digest()}function g(){return C=null,w&&(o.cancel(w),w=null),(p.useContentExp?z.contentExp():z.content)?(y&&v(),M=z.$new(),y=e(M,(function(e){A?a.find("body").append(e):n.after(e)})),p.useContentExp&&(M.$watch("contentExp()",(function(e){!e&&z.isOpen&&m()})),M.$watch((function(){T||(T=!0,M.$$postDigest((function(){T=!1,$()})))}))),y.css({top:0,left:0,display:"block"}),k(),z.isOpen=!0,z.$apply(),k):angular.noop}function m(){z.isOpen=!1,o.cancel(C),C=null,z.animation?w||(w=o(v,500)):v()}function v(){w=null,y&&(y.remove(),y=null),M&&(M.$destroy(),M=null)}function b(){var e=r[u+"Placement"];z.placement=angular.isDefined(e)?e:p.placement}var y,M,w,C,A=!!angular.isDefined(p.appendToBody)&&p.appendToBody,x=h(void 0),S=angular.isDefined(r[u+"Enable"]),z=t.$new(!0),T=!1,k=function(){if(y){var e=s.positionElements(n,y,z.placement,A);e.top+="px",e.left+="px",y.css(e)}},$=function(){o(k,0,!1)};z.origScope=t,z.isOpen=!1,z.contentExp=function(){return t.$eval(r[i])},p.useContentExp||r.$observe(i,(function(e){z.content=e,!e&&z.isOpen?m():$()})),r.$observe("disabled",(function(e){C&&e&&o.cancel(C),e&&z.isOpen&&m()})),r.$observe(u+"Title",(function(e){z.title=e,$()})),r.$observe(u+"Placement",(function(){z.isOpen&&o((function(){b(),g()()}),0,!1)}));var _=function(){x.show.forEach((function(e){n.unbind(e,d)})),x.hide.forEach((function(e){n.unbind(e,f)}))};!function(){var e=r[u+"Trigger"];_(),(x=h(e)).show.forEach((function(e,t){e===x.hide[t]?n.bind(e,l):e&&(n.bind(e,d),n.bind(x.hide[t],f))}))}();var O=t.$eval(r[u+"Animation"]);z.animation=angular.isDefined(O)?!!O:p.animation;var E=t.$eval(r[u+"AppendToBody"]);(A=angular.isDefined(E)?E:A)&&t.$on("$locationChangeSuccess",(function(){z.isOpen&&m()})),t.$on("$destroy",(function(){o.cancel(w),o.cancel(C),_(),v(),z=null}))}}}}}]})).directive("tooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,i){return{link:function(r,o,a){var s,l,c,u=r.$eval(a.tooltipTemplateTranscludeScope),d=0,p=function(){l&&(l.remove(),l=null),s&&(s.$destroy(),s=null),c&&(e.leave(c).then((function(){l=null})),l=c,c=null)};r.$watch(t.parseAsResourceUrl(a.tooltipTemplateTransclude),(function(t){var a=++d;t?(i(t,!0).then((function(i){if(a===d){var r=u.$new(),l=n(i)(r,(function(t){p(),e.enter(t,o)}));c=l,(s=r).$emit("$includeContentLoaded",t)}}),(function(){a===d&&(p(),r.$emit("$includeContentError",t))})),r.$emit("$includeContentRequested",t)):p()})),r.$on("$destroy",p)}}}]).directive("tooltipClasses",(function(){return{restrict:"A",link:function(e,t,n){e.placement&&t.addClass(e.placement),e.popupClass&&t.addClass(e.popupClass),e.animation()&&t.addClass(n.tooltipAnimationClass)}}})).directive("tooltipPopup",(function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}})).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipTemplatePopup",(function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/tooltip/tooltip-template-popup.html"}})).directive("tooltipTemplate",["$tooltip",function(e){return e("tooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlPopup",(function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-popup.html"}})).directive("tooltipHtml",["$tooltip",function(e){return e("tooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlUnsafePopup",(function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}})).value("tooltipHtmlUnsafeSuppressDeprecated",!1).directive("tooltipHtmlUnsafe",["$tooltip","tooltipHtmlUnsafeSuppressDeprecated","$log",function(e,t,n){return t||n.warn("tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead."),e("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverTemplatePopup",(function(){return{restrict:"EA",replace:!0,scope:{title:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/popover/popover-template.html"}})).directive("popoverTemplate",["$tooltip",function(e){return e("popoverTemplate","popover","click",{useContentExp:!0})}]).directive("popoverHtmlPopup",(function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",title:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover-html.html"}})).directive("popoverHtml",["$tooltip",function(e){return e("popoverHtml","popover","click",{useContentExp:!0})}]).directive("popoverPopup",(function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}})).directive("popover",["$tooltip",function(e){return e("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).controller("ProgressController",["$scope","$attrs","progressConfig",function(e,t,n){var i=this,r=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=angular.isDefined(e.max)?e.max:n.max,this.addBar=function(t,n){r||n.css({transition:"none"}),this.bars.push(t),t.max=e.max,t.$watch("value",(function(){t.recalculatePercentage()})),t.recalculatePercentage=function(){t.percent=+(100*t.value/t.max).toFixed(2);var e=0;i.bars.forEach((function(t){e+=t.percent})),e>100&&(t.percent-=e-100)},t.$on("$destroy",(function(){n=null,i.removeBar(t)}))},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1)},e.$watch("max",(function(){i.bars.forEach((function(t){t.max=e.max,t.recalculatePercentage()}))}))}]).directive("progress",(function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{max:"=?"},templateUrl:"template/progressbar/progress.html"}})).directive("bar",(function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(e,t,n,i){i.addBar(e,t)}}})).directive("progressbar",(function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",max:"=?",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(e,t,n,i){i.addBar(e,angular.element(t.children()[0]))}}})),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null,titles:["one","two","three","four","five"]}).controller("RatingController",["$scope","$attrs","ratingConfig",function(e,t,n){var i={$setViewValue:angular.noop};this.init=function(r){(i=r).$render=this.render,i.$formatters.push((function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e})),this.stateOn=angular.isDefined(t.stateOn)?e.$parent.$eval(t.stateOn):n.stateOn,this.stateOff=angular.isDefined(t.stateOff)?e.$parent.$eval(t.stateOff):n.stateOff;var o=angular.isDefined(t.titles)?e.$parent.$eval(t.titles):n.titles;this.titles=angular.isArray(o)&&o.length>0?o:n.titles;var a=angular.isDefined(t.ratingStates)?e.$parent.$eval(t.ratingStates):new Array(angular.isDefined(t.max)?e.$parent.$eval(t.max):n.max);e.range=this.buildTemplateObjects(a)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;n>t;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},e.rate=function(t){!e.readonly&&t>=0&&t<=e.range.length&&(i.$setViewValue(i.$viewValue===t?0:t),i.$render())},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=i.$viewValue,e.onLeave()},e.onKeydown=function(t){/(37|38|39|40)/.test(t.which)&&(t.preventDefault(),t.stopPropagation(),e.rate(e.value+(38===t.which||39===t.which?1:-1)))},this.render=function(){e.value=i.$viewValue}}]).directive("rating",(function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(e,t,n,i){i[0].init(i[1])}}})),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(e){var t,n=this,i=n.tabs=e.tabs=[];n.select=function(e){angular.forEach(i,(function(t){t.active&&t!==e&&(t.active=!1,t.onDeselect())})),e.active=!0,e.onSelect()},n.addTab=function(e){i.push(e),1===i.length&&!1!==e.active?e.active=!0:e.active?n.select(e):e.active=!1},n.removeTab=function(e){var r=i.indexOf(e);e.active&&i.length>1&&!t&&n.select(i[r==i.length-1?r-1:r+1]),i.splice(r,1)},e.$on("$destroy",(function(){t=!0}))}]).directive("tabset",(function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}})).directive("tab",["$parse","$log",function(e,t){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},link:function(n,i,r,o,a){n.$watch("active",(function(e){e&&o.select(n)})),n.disabled=!1,r.disable&&n.$parent.$watch(e(r.disable),(function(e){n.disabled=!!e})),r.disabled&&(t.warn('Use of "disabled" attribute has been deprecated, please use "disable"'),n.$parent.$watch(e(r.disabled),(function(e){n.disabled=!!e}))),n.select=function(){n.disabled||(n.active=!0)},o.addTab(n),n.$on("$destroy",(function(){o.removeTab(n)})),n.$transcludeFn=a}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(e,t){e.$watch("headingElement",(function(e){e&&(t.html(""),t.append(e))}))}}}]).directive("tabContentTransclude",(function(){return{restrict:"A",require:"^tabset",link:function(e,t,n){var i=e.$eval(n.tabContentTransclude);i.$transcludeFn(i.$parent,(function(e){angular.forEach(e,(function(e){var n;(n=e).tagName&&(n.hasAttribute("tab-heading")||n.hasAttribute("data-tab-heading")||"tab-heading"===n.tagName.toLowerCase()||"data-tab-heading"===n.tagName.toLowerCase())?i.headingElement=e:t.append(e)}))}))}}})),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(e,t,n,i,r,o){function a(){var t=parseInt(e.hours,10);return(e.showMeridian?t>0&&13>t:t>=0&&24>t)?(e.showMeridian&&(12===t&&(t=0),e.meridian===m[1]&&(t+=12)),t):void 0}function s(){var t=parseInt(e.minutes,10);return t>=0&&60>t?t:void 0}function l(e){return angular.isDefined(e)&&e.toString().length<2?"0"+e:e.toString()}function c(e){u(),g.$setViewValue(new Date(f)),d(e)}function u(){g.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1}function d(t){var n=f.getHours(),i=f.getMinutes();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:l(n),"m"!==t&&(e.minutes=l(i)),e.meridian=f.getHours()<12?m[0]:m[1]}function p(e,t){var n=new Date(e.getTime()+6e4*t),i=new Date(e);return i.setHours(n.getHours(),n.getMinutes()),i}function h(e){f=p(f,e),c()}var f=new Date,g={$setViewValue:angular.noop},m=angular.isDefined(t.meridians)?e.$parent.$eval(t.meridians):o.meridians||r.DATETIME_FORMATS.AMPMS;this.init=function(n,i){(g=n).$render=this.render,g.$formatters.unshift((function(e){return e?new Date(e):null}));var r=i.eq(0),a=i.eq(1);(angular.isDefined(t.mousewheel)?e.$parent.$eval(t.mousewheel):o.mousewheel)&&this.setupMousewheelEvents(r,a),(angular.isDefined(t.arrowkeys)?e.$parent.$eval(t.arrowkeys):o.arrowkeys)&&this.setupArrowkeyEvents(r,a),e.readonlyInput=angular.isDefined(t.readonlyInput)?e.$parent.$eval(t.readonlyInput):o.readonlyInput,this.setupInputEvents(r,a)};var v=o.hourStep;t.hourStep&&e.$parent.$watch(n(t.hourStep),(function(e){v=parseInt(e,10)}));var b,y,M=o.minuteStep;t.minuteStep&&e.$parent.$watch(n(t.minuteStep),(function(e){M=parseInt(e,10)})),e.$parent.$watch(n(t.min),(function(e){var t=new Date(e);b=isNaN(t)?void 0:t})),e.$parent.$watch(n(t.max),(function(e){var t=new Date(e);y=isNaN(t)?void 0:t})),e.noIncrementHours=function(){var e=p(f,60*v);return e>y||f>e&&b>e},e.noDecrementHours=function(){var e=p(f,60*-v);return b>e||e>f&&e>y},e.noIncrementMinutes=function(){var e=p(f,M);return e>y||f>e&&b>e},e.noDecrementMinutes=function(){var e=p(f,-M);return b>e||e>f&&e>y},e.noToggleMeridian=function(){return f.getHours()<13?p(f,720)>y:p(f,-720)<b},e.showMeridian=o.showMeridian,t.showMeridian&&e.$parent.$watch(n(t.showMeridian),(function(t){if(e.showMeridian=!!t,g.$error.time){var n=a(),i=s();angular.isDefined(n)&&angular.isDefined(i)&&(f.setHours(n),c())}else d()})),this.setupMousewheelEvents=function(t,n){var i=function(e){return e.originalEvent&&(e=e.originalEvent),e.detail||(e.wheelDelta?e.wheelDelta:-e.deltaY)>0};t.bind("mousewheel wheel",(function(t){e.$apply(i(t)?e.incrementHours():e.decrementHours()),t.preventDefault()})),n.bind("mousewheel wheel",(function(t){e.$apply(i(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()}))},this.setupArrowkeyEvents=function(t,n){t.bind("keydown",(function(t){38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply())})),n.bind("keydown",(function(t){38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply())}))},this.setupInputEvents=function(t,n){if(e.readonlyInput)return e.updateHours=angular.noop,void(e.updateMinutes=angular.noop);var i=function(t,n){g.$setViewValue(null),g.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t),angular.isDefined(n)&&(e.invalidMinutes=n)};e.updateHours=function(){var e=a();angular.isDefined(e)?(f.setHours(e),b>f||f>y?i(!0):c("h")):i(!0)},t.bind("blur",(function(){!e.invalidHours&&e.hours<10&&e.$apply((function(){e.hours=l(e.hours)}))})),e.updateMinutes=function(){var e=s();angular.isDefined(e)?(f.setMinutes(e),b>f||f>y?i(void 0,!0):c("m")):i(void 0,!0)},n.bind("blur",(function(){!e.invalidMinutes&&e.minutes<10&&e.$apply((function(){e.minutes=l(e.minutes)}))}))},this.render=function(){var t=g.$viewValue;isNaN(t)?(g.$setValidity("time",!1),i.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(t&&(f=t),b>f||f>y?(g.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):u(),d())},e.showSpinners=angular.isDefined(t.showSpinners)?e.$parent.$eval(t.showSpinners):o.showSpinners,e.incrementHours=function(){e.noIncrementHours()||h(60*v)},e.decrementHours=function(){e.noDecrementHours()||h(60*-v)},e.incrementMinutes=function(){e.noIncrementMinutes()||h(M)},e.decrementMinutes=function(){e.noDecrementMinutes()||h(-M)},e.toggleMeridian=function(){e.noToggleMeridian()||h(720*(f.getHours()<12?1:-1))}}]).directive("timepicker",(function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",replace:!0,scope:{},templateUrl:"template/timepicker/timepicker.html",link:function(e,t,n,i){var r=i[1];r&&i[0].init(r,t.find("input"))}}})),angular.module("ui.bootstrap.transition",[]).value("$transitionSuppressDeprecated",!1).factory("$transition",["$q","$timeout","$rootScope","$log","$transitionSuppressDeprecated",function(e,t,n,i,r){function o(e){for(var t in e)if(void 0!==s.style[t])return e[t]}r||i.warn("$transition is now deprecated. Use $animate from ngAnimate instead.");var a=function(i,r,o){o=o||{};var s=e.defer(),l=a[o.animation?"animationEndEventName":"transitionEndEventName"],c=function(){n.$apply((function(){i.unbind(l,c),s.resolve(i)}))};return l&&i.bind(l,c),t((function(){angular.isString(r)?i.addClass(r):angular.isFunction(r)?r(i):angular.isObject(r)&&i.css(r),l||s.resolve(i)})),s.promise.cancel=function(){l&&i.unbind(l,c),s.reject("Transition cancelled")},s.promise},s=document.createElement("trans");return a.transitionEndEventName=o({WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}),a.animationEndEventName=o({WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"}),a}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).factory("typeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var i=n.match(t);if(!i)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:i[3],source:e(i[4]),viewMapper:e(i[2]||i[1]),modelMapper:e(i[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$window","$rootScope","$position","typeaheadParser",function(e,t,n,i,r,o,a,s,l){var c=[9,13,27,38,40];return{require:"ngModel",link:function(u,d,p,h){function f(){O.moveInProgress||(O.moveInProgress=!0,O.$digest()),P&&i.cancel(P),P=i((function(){O.matches.length&&g(),O.moveInProgress=!1,O.$digest()}),200)}function g(){O.position=z?s.offset(d):s.position(d),O.position.top+=d.prop("offsetHeight")}var m=u.$eval(p.typeaheadMinLength);m||0===m||(m=1);var v,b,y=u.$eval(p.typeaheadWaitMs)||0,M=!1!==u.$eval(p.typeaheadEditable),w=t(p.typeaheadLoading).assign||angular.noop,C=t(p.typeaheadOnSelect),A=!!angular.isDefined(p.typeaheadSelectOnBlur)&&u.$eval(p.typeaheadSelectOnBlur),x=t(p.typeaheadNoResults).assign||angular.noop,S=p.typeaheadInputFormatter?t(p.typeaheadInputFormatter):void 0,z=!!p.typeaheadAppendToBody&&u.$eval(p.typeaheadAppendToBody),T=!1!==u.$eval(p.typeaheadFocusFirst),k=!!p.typeaheadSelectOnExact&&u.$eval(p.typeaheadSelectOnExact),$=t(p.ngModel).assign,_=l.parse(p.typeahead),O=u.$new();u.$on("$destroy",(function(){O.$destroy()}));var E="typeahead-"+O.$id+"-"+Math.floor(1e4*Math.random());d.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":E});var L=angular.element("<div typeahead-popup></div>");L.attr({id:E,matches:"matches",active:"activeIdx",select:"select(activeIdx)","move-in-progress":"moveInProgress",query:"query",position:"position"}),angular.isDefined(p.typeaheadTemplateUrl)&&L.attr("template-url",p.typeaheadTemplateUrl);var N=function(){O.matches=[],O.activeIdx=-1,d.attr("aria-expanded",!1)},D=function(e){return E+"-option-"+e};O.$watch("activeIdx",(function(e){0>e?d.removeAttr("aria-activedescendant"):d.attr("aria-activedescendant",D(e))}));var P,q=function(e){var t={$viewValue:e};w(u,!0),x(u,!1),n.when(_.source(u,t)).then((function(n){var i=e===h.$viewValue;if(i&&v)if(n&&n.length>0){O.activeIdx=T?0:-1,x(u,!1),O.matches.length=0;for(var r=0;r<n.length;r++)t[_.itemName]=n[r],O.matches.push({id:D(r),label:_.viewMapper(O,t),model:n[r]});O.query=e,g(),d.attr("aria-expanded",!0),k&&1===O.matches.length&&function(e,t){return!!(O.matches.length>0&&e)&&e.toUpperCase()===O.matches[0].label.toUpperCase()}(e)&&O.select(0)}else N(),x(u,!0);i&&w(u,!1)}),(function(){N(),w(u,!1),x(u,!0)}))};z&&(angular.element(o).bind("resize",f),r.find("body").bind("scroll",f)),O.moveInProgress=!1,N(),O.query=void 0;var W,R=function(){W&&i.cancel(W)};h.$parsers.unshift((function(e){return v=!0,0===m||e&&e.length>=m?y>0?(R(),function(e){W=i((function(){q(e)}),y)}(e)):q(e):(w(u,!1),R(),N()),M?e:e?void h.$setValidity("editable",!1):(h.$setValidity("editable",!0),null)})),h.$formatters.push((function(e){var t,n={};return M||h.$setValidity("editable",!0),S?(n.$model=e,S(u,n)):(n[_.itemName]=e,t=_.viewMapper(u,n),n[_.itemName]=void 0,t!==_.viewMapper(u,n)?t:e)})),O.select=function(e){var t,n,r={};b=!0,r[_.itemName]=n=O.matches[e].model,t=_.modelMapper(u,r),$(u,t),h.$setValidity("editable",!0),h.$setValidity("parse",!0),C(u,{$item:n,$model:t,$label:_.viewMapper(u,r)}),N(),i((function(){d[0].focus()}),0,!1)},d.bind("keydown",(function(e){if(0!==O.matches.length&&-1!==c.indexOf(e.which)){if(-1===O.activeIdx&&(9===e.which||13===e.which))return N(),void O.$digest();e.preventDefault(),40===e.which?(O.activeIdx=(O.activeIdx+1)%O.matches.length,O.$digest()):38===e.which?(O.activeIdx=(O.activeIdx>0?O.activeIdx:O.matches.length)-1,O.$digest()):13===e.which||9===e.which?O.$apply((function(){O.select(O.activeIdx)})):27===e.which&&(e.stopPropagation(),N(),O.$digest())}})),d.bind("blur",(function(){A&&O.matches.length&&-1!==O.activeIdx&&!b&&(b=!0,O.$apply((function(){O.select(O.activeIdx)}))),v=!1,b=!1}));var I=function(e){d[0]!==e.target&&3!==e.which&&0!==O.matches.length&&(N(),a.$$phase||O.$digest())};r.bind("click",I),u.$on("$destroy",(function(){r.unbind("click",I),z&&B.remove(),L.remove()}));var B=e(L)(O);z?r.find("body").append(B):d.after(B)}}}]).directive("typeaheadPopup",(function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&"},replace:!0,templateUrl:"template/typeahead/typeahead-popup.html",link:function(e,t,n){e.templateUrl=n.templateUrl,e.isOpen=function(){return e.matches.length>0},e.isActive=function(t){return e.active==t},e.selectActive=function(t){e.active=t},e.selectMatch=function(t){e.select({activeIdx:t})}}}})).directive("typeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(i,r,o){var a=n(o.templateUrl)(i.$parent)||"template/typeahead/typeahead-match.html";e(a).then((function(e){t(e.trim())(i,(function(e){r.replaceWith(e)}))}))}}}]).filter("typeaheadHighlight",(function(){return function(e,t){return t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):e}})),angular.module("template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("template/accordion/accordion-group.html",'<div class="panel panel-default" ng-class="{\'panel-open\': isOpen}">\n  <div class="panel-heading">\n    <h4 class="panel-title">\n      <a href tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" accordion-transclude="heading"><span ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n    </h4>\n  </div>\n  <div class="panel-collapse collapse" collapse="!isOpen">\n\t  <div class="panel-body" ng-transclude></div>\n  </div>\n</div>\n')}]),angular.module("template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("template/accordion/accordion.html",'<div class="panel-group" ng-transclude></div>')}]),angular.module("template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("template/alert/alert.html",'<div class="alert" ng-class="[\'alert-\' + (type || \'warning\'), closeable ? \'alert-dismissible\' : null]" role="alert">\n    <button ng-show="closeable" type="button" class="close" ng-click="close($event)">\n        <span aria-hidden="true">&times;</span>\n        <span class="sr-only">Close</span>\n    </button>\n    <div ng-transclude></div>\n</div>\n')}]),angular.module("template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("template/carousel/carousel.html",'<div ng-mouseenter="pause()" ng-mouseleave="play()" class="carousel" ng-swipe-right="prev()" ng-swipe-left="next()">\n    <ol class="carousel-indicators" ng-show="slides.length > 1">\n        <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{active: isActive(slide)}" ng-click="select(slide)"></li>\n    </ol>\n    <div class="carousel-inner" ng-transclude></div>\n    <a class="left carousel-control" ng-click="prev()" ng-show="slides.length > 1"><span class="glyphicon glyphicon-chevron-left"></span></a>\n    <a class="right carousel-control" ng-click="next()" ng-show="slides.length > 1"><span class="glyphicon glyphicon-chevron-right"></span></a>\n</div>\n')}]),angular.module("template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("template/carousel/slide.html",'<div ng-class="{\n    \'active\': active\n  }" class="item text-center" ng-transclude></div>\n')}]),angular.module("template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/datepicker.html",'<div ng-switch="datepickerMode" role="application" ng-keydown="keydown($event)">\n  <daypicker ng-switch-when="day" tabindex="0"></daypicker>\n  <monthpicker ng-switch-when="month" tabindex="0"></monthpicker>\n  <yearpicker ng-switch-when="year" tabindex="0"></yearpicker>\n</div>')}]),angular.module("template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n    <tr>\n      <th ng-if="showWeeks" class="text-center"></th>\n      <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr ng-repeat="row in rows track by $index">\n      <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n      <td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}" ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default btn-sm" ng-class="{\'btn-info\': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr ng-repeat="row in rows track by $index">\n      <td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}" ng-class="::dt.customClass">\n        <button type="button" style="min-width:100%;" class="btn btn-default" ng-class="{\'btn-info\': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("template/datepicker/popup.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/popup.html",'<ul class="dropdown-menu" ng-if="isOpen" style="display: block" ng-style="{top: position.top+\'px\', left: position.left+\'px\'}" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n\t<li ng-transclude></li>\n\t<li ng-if="showButtonBar" style="padding:10px 9px 2px">\n\t\t<span class="btn-group pull-left">\n\t\t\t<button type="button" class="btn btn-sm btn-info" ng-click="select(\'today\')">{{ getText(\'current\') }}</button>\n\t\t\t<button type="button" class="btn btn-sm btn-danger" ng-click="select(null)">{{ getText(\'clear\') }}</button>\n\t\t</span>\n\t\t<button type="button" class="btn btn-sm btn-success pull-right" ng-click="close()">{{ getText(\'close\') }}</button>\n\t</li>\n</ul>\n')}]),angular.module("template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n      <th colspan="3"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr ng-repeat="row in rows track by $index">\n      <td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}">\n        <button type="button" style="min-width:100%;" class="btn btn-default" ng-class="{\'btn-info\': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("template/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("template/modal/backdrop.html",'<div class="modal-backdrop"\n     modal-animation-class="fade"\n     modal-in-class="in"\n     ng-style="{\'z-index\': 1040 + (index && 1 || 0) + index*10}"\n></div>\n')}]),angular.module("template/modal/window.html",[]).run(["$templateCache",function(e){e.put("template/modal/window.html",'<div modal-render="{{$isRendered}}" tabindex="-1" role="dialog" class="modal"\n    modal-animation-class="fade"\n    modal-in-class="in"\n\tng-style="{\'z-index\': 1050 + index*10, display: \'block\'}" ng-click="close($event)">\n    <div class="modal-dialog" ng-class="size ? \'modal-\' + size : \'\'"><div class="modal-content" modal-transclude></div></div>\n</div>\n')}]),angular.module("template/pagination/pager.html",[]).run(["$templateCache",function(e){e.put("template/pagination/pager.html",'<ul class="pager">\n  <li ng-class="{disabled: noPrevious(), previous: align}"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n  <li ng-class="{disabled: noNext(), next: align}"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n</ul>')}]),angular.module("template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("template/pagination/pagination.html",'<ul class="pagination">\n  <li ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)">{{::getText(\'first\')}}</a></li>\n  <li ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n  <li ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)">{{page.text}}</a></li>\n  <li ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n  <li ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)">{{::getText(\'last\')}}</a></li>\n</ul>\n')}]),angular.module("template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-html-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-html-unsafe-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" bind-html-unsafe="content"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner" ng-bind="content"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-template-popup.html",'<div class="tooltip"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="tooltip-arrow"></div>\n  <div class="tooltip-inner"\n    tooltip-template-transclude="contentExp()"\n    tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("template/popover/popover-html.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content" ng-bind-html="contentExp()"></div>\n  </div>\n</div>\n')}]),angular.module("template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("template/popover/popover-template.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content"\n        tooltip-template-transclude="contentExp()"\n        tooltip-template-transclude-scope="originScope()"></div>\n  </div>\n</div>\n')}]),angular.module("template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("template/popover/popover.html",'<div class="popover"\n  tooltip-animation-class="fade"\n  tooltip-classes\n  ng-class="{ in: isOpen() }">\n  <div class="arrow"></div>\n\n  <div class="popover-inner">\n      <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n      <div class="popover-content" ng-bind="content"></div>\n  </div>\n</div>\n')}]),angular.module("template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" style="min-width: 0;" ng-transclude></div>\n')}]),angular.module("template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("template/progressbar/progress.html",'<div class="progress" ng-transclude></div>')}]),angular.module("template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("template/progressbar/progressbar.html",'<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" style="min-width: 0;" ng-transclude></div>\n</div>\n')}]),angular.module("template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}">\n    <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n    <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}" ></i>\n</span>\n')}]),angular.module("template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("template/tabs/tab.html",'<li ng-class="{active: active, disabled: disabled}">\n  <a href ng-click="select()" tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("template/tabs/tabset.html",'<div>\n  <ul class="nav nav-{{type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane" \n         ng-repeat="tab in tabs" \n         ng-class="{active: tab.active}"\n         tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n')}]),angular.module("template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("template/timepicker/timepicker.html",'<table>\n  <tbody>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td>&nbsp;</td>\n      <td><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n    <tr>\n      <td class="form-group" ng-class="{\'has-error\': invalidHours}">\n        <input style="width:50px;" type="text" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2">\n      </td>\n      <td>:</td>\n      <td class="form-group" ng-class="{\'has-error\': invalidMinutes}">\n        <input style="width:50px;" type="text" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2">\n      </td>\n      <td ng-show="showMeridian"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()">{{meridian}}</button></td>\n    </tr>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td>&nbsp;</td>\n      <td><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("template/typeahead/typeahead-match.html",'<a href tabindex="-1" bind-html-unsafe="match.label | typeaheadHighlight:query"></a>\n')}]),angular.module("template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index)" role="option" id="{{::match.id}}">\n        <div typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}]),!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function convert(e){return 0==e?"0":1*(e/Math.pow(1024,Math.floor(Math.log(e)/Math.log(1024)))).toFixed(1)+" "+["B","kB","MB","GB","TB"][Math.floor(Math.log(e)/Math.log(1024))]}!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,i=this;return e(this).one("bsTransitionEnd",(function(){n=!0})),setTimeout((function(){n||e(i).trigger(e.support.transition.end)}),t),this},e((function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})}))}(jQuery),function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.prototype.close=function(t){var i=e(this),r=i.attr("data-target");r||(r=(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,""));var o=e(r);function a(){o.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),o.length||(o=i.closest(".alert")),o.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var i=e.fn.alert;e.fn.alert=function(t){return this.each((function(){var i=e(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof t&&r[t].call(i)}))},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=i,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(jQuery),function(e){"use strict";var t=function(n,i){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,i),this.isLoading=!1};function n(n){return this.each((function(){var i=e(this),r=i.data("bs.button");r||i.data("bs.button",r=new t(this,"object"==typeof n&&n)),"toggle"==n?r.toggle():n&&r.setState(n)}))}t.VERSION="3.3.5",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();t+="Text",null==o.resetText&&i.data("resetText",i[r]()),setTimeout(e.proxy((function(){i[r](null==o[t]?this.options[t]:o[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))}),this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var i=e.fn.button;e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=i,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var i=e(t.target);i.hasClass("btn")||(i=i.closest(".btn")),n.call(i,"toggle"),e(t.target).is('input[type="radio"]')||e(t.target).is('input[type="checkbox"]')||t.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))}))}(jQuery),function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each((function(){var i=e(this),r=i.data("bs.carousel"),o=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n),a="string"==typeof n?n:o.slide;r||i.data("bs.carousel",r=new t(this,o)),"number"==typeof n?r.to(n):a?r[a]():o.interval&&r.pause().cycle()}))}t.VERSION="3.3.5",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);return("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap?t:this.$items.eq((n+("prev"==e?-1:1))%this.$items.length)},t.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){t.to(e)})):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(n,i){var r=this.$element.find(".item.active"),o=i||this.getItemForDirection(n,r),a=this.interval,s="next"==n?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var c=o[0],u=e.Event("slide.bs.carousel",{relatedTarget:c,direction:s});if(this.$element.trigger(u),!u.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=e(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var p=e.Event("slid.bs.carousel",{relatedTarget:c,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),r.addClass(s),o.addClass(s),r.one("bsTransitionEnd",(function(){o.removeClass([n,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(p)}),0)})).emulateTransitionEnd(t.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(p)),a&&this.cycle(),this}};var i=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=i,this};var r=function(t){var i,r=e(this),o=e(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=e.extend({},o.data(),r.data()),s=r.attr("data-slide-to");s&&(a.interval=!1),n.call(o,a),s&&o.data("bs.carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),e(window).on("load",(function(){e('[data-ride="carousel"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var t=function(n,i){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,i),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var n,i=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(i)}function i(n){return this.each((function(){var i=e(this),r=i.data("bs.collapse"),o=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n);!r&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),r||i.data("bs.collapse",r=new t(this,o)),"string"==typeof n&&r[n]()}))}t.VERSION="3.3.5",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(n=r.data("bs.collapse"))&&n.transitioning)){var o=e.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(i.call(r,"hide"),n||r.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[a](this.$element[0][l])}}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=e.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]()),this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return r.call(this);this.$element[i](0).one("bsTransitionEnd",e.proxy(r,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy((function(t,i){var r=e(i);this.addAriaAndCollapsedClass(n(r),r)}),this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=e.fn.collapse;e.fn.collapse=i,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=r,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(t){var r=e(this);r.attr("data-target")||t.preventDefault();var o=n(r),a=o.data("bs.collapse")?"toggle":r.data();i.call(o,a)}))}(jQuery),function(e){"use strict";var t='[data-toggle="dropdown"]',n=function(t){e(t).on("click.bs.dropdown",this.toggle)};function i(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&e(n);return i&&i.length?i:t.parent()}function r(n){n&&3===n.which||(e(".dropdown-backdrop").remove(),e(t).each((function(){var t=e(this),r=i(t),o={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(r[0],n.target)||(r.trigger(n=e.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",o))))})))}n.VERSION="3.3.5",n.prototype.toggle=function(t){var n=e(this);if(!n.is(".disabled, :disabled")){var o=i(n),a=o.hasClass("open");if(r(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",r);var s={relatedTarget:this};if(o.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=e(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var o=i(r),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(t).trigger("focus"),r.trigger("click");var s=o.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var o=e.fn.dropdown;e.fn.dropdown=function(t){return this.each((function(){var i=e(this),r=i.data("bs.dropdown");r||i.data("bs.dropdown",r=new n(this)),"string"==typeof t&&r[t].call(i)}))},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=o,this},e(document).on("click.bs.dropdown.data-api",r).on("click.bs.dropdown.data-api",".dropdown form",(function(e){e.stopPropagation()})).on("click.bs.dropdown.data-api",t,n.prototype.toggle).on("keydown.bs.dropdown.data-api",t,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery),function(e){"use strict";var t=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function n(n,i){return this.each((function(){var r=e(this),o=r.data("bs.modal"),a=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);o||r.data("bs.modal",o=new t(this,a)),"string"==typeof n?o[n](i):a.show&&o.show(i)}))}t.VERSION="3.3.5",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(n){var i=this,r=e.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){i.$element.one("mouseup.dismiss.bs.modal",(function(t){e(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var r=e.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),i.$element.addClass("in"),i.enforceFocus();var o=e.Event("shown.bs.modal",{relatedTarget:n});r?i.$dialog.one("bsTransitionEnd",(function(){i.$element.trigger("focus").trigger(o)})).emulateTransitionEnd(t.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)})))},t.prototype.hide=function(n){n&&n.preventDefault(),n=e.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy((function(e){this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")}),this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy((function(e){27==e.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop((function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")}))},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(n){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=e.support.transition&&r;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+r).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy((function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),n&&n()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):a()}else n&&n()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},t.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var i=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=i,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var i=e(this),r=i.attr("href"),o=e(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},o.data(),i.data());i.is("a")&&t.preventDefault(),o.one("show.bs.modal",(function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",(function(){i.is(":visible")&&i.trigger("focus")}))})),n.call(o,a,this)}))}(jQuery),function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.5",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,i){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseleave":"focusout";this.$element.on(("hover"==a?"mouseenter":"focusin")+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,(function(e,i){n[e]!=i&&(t[e]=i)})),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout((function(){"in"==n.hoverState&&n.show()}),n.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout((function(){"out"==n.hoverState&&n.hide()}),n.options.delay.hide)}},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var i=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!i)return;var r=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),d=o[0].offsetWidth,p=o[0].offsetHeight;if(c){var h=s,f=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+p>f.bottom?"top":"top"==s&&u.top-p<f.top?"bottom":"right"==s&&u.right+d>f.width?"left":"left"==s&&u.left-d<f.left?"right":s,o.removeClass(h).addClass(s)}var g=this.getCalculatedOffset(s,u,d,p);this.applyPlacement(g,s);var m=function(){var e=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==e&&r.leave(r)};e.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(t.TRANSITION_DURATION):m()}},t.prototype.applyPlacement=function(t,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(i[0],e.extend({using:function(e){i.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),i.addClass("in");var l=i[0].offsetWidth,c=i[0].offsetHeight;"top"==n&&c!=o&&(t.top=t.top+o-c);var u=this.getViewportAdjustedDelta(n,t,l,c);u.left?t.left+=u.left:t.top+=u.top;var d=/top|bottom/.test(n),p=d?2*u.left-r+l:2*u.top-o+c,h=d?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(p,i[0][h],d)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(n){var i=this,r=e(this.$tip),o=e.Event("hide.bs."+this.type);function a(){"in"!=i.hoverState&&r.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),n&&n()}if(this.$element.trigger(o),!o.isDefaultPrevented())return r.removeClass("in"),e.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=e.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=i?{top:0,left:0}:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=i?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},r,a,s,o)},t.prototype.getCalculatedOffset=function(e,t,n,i){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-i,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-i/2,left:t.left-n}:{top:t.top+t.height/2-i/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-o-a.scroll,l=t.top+o-a.scroll+i;s<a.top?r.top=a.top-s:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var c=t.left-o,u=t.left+o+n;c<a.left?r.left=a.left-c:u>a.right&&(r.left=a.left+a.width-u)}return r},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide((function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null}))};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each((function(){var i=e(this),r=i.data("bs.tooltip"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.tooltip",r=new t(this,o)),"string"==typeof n&&r[n]())}))},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype)).constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each((function(){var i=e(this),r=i.data("bs.popover"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.popover",r=new t(this,o)),"string"==typeof n&&r[n]())}))},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(n,i){this.$body=e(document.body),this.$scrollElement=e(n).is(document.body)?e(window):e(n),this.options=e.extend({},t.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each((function(){var i=e(this),r=i.data("bs.scrollspy");r||i.data("bs.scrollspy",r=new t(this,"object"==typeof n&&n)),"string"==typeof n&&r[n]()}))}t.VERSION="3.3.5",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var t=e(this),r=t.data("target")||t.attr("href"),o=/^#./.test(r)&&e(r);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,r]]||null})).sort((function(e,t){return e[0]-t[0]})).each((function(){t.offsets.push(this[0]),t.targets.push(this[1])}))},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=i)return a!=(e=o[o.length-1])&&this.activate(e);if(a&&t<r[0])return this.activeTarget=null,this.clear();for(e=r.length;e--;)a!=o[e]&&t>=r[e]&&(void 0===r[e+1]||t<r[e+1])&&this.activate(o[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=e(this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]').parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=i,this},e(window).on("load.bs.scrollspy.data-api",(function(){e('[data-spy="scroll"]').each((function(){var t=e(this);n.call(t,t.data())}))}))}(jQuery),function(e){"use strict";var t=function(t){this.element=e(t)};function n(n){return this.each((function(){var i=e(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new t(this)),"string"==typeof n&&r[n]()}))}t.VERSION="3.3.5",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=n.find(".active:last a"),o=e.Event("hide.bs.tab",{relatedTarget:t[0]}),a=e.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),t.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=e(i);this.activate(t.closest("li"),n),this.activate(s,s.parent(),(function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}}},t.prototype.activate=function(n,i,r){var o=i.find("> .active"),a=r&&e.support.transition&&(o.length&&o.hasClass("fade")||!!i.find("> .fade").length);function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?n.addClass("in"):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}o.length&&a?o.one("bsTransitionEnd",s).emulateTransitionEnd(t.TRANSITION_DURATION):s(),o.removeClass("in")};var i=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=i,this};var r=function(t){t.preventDefault(),n.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(e){"use strict";var t=function(n,i){this.options=e.extend({},t.DEFAULTS,i),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each((function(){var i=e(this),r=i.data("bs.affix");r||i.data("bs.affix",r=new t(this,"object"==typeof n&&n)),"string"==typeof n&&r[n]()}))}t.VERSION="3.3.5",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,n,i){var r=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+a<=e-i)&&"bottom";var s=null==this.affixed;return null!=n&&r<=n?"top":null!=i&&(s?r:o.top)+(s?a:t)>=e-i&&"bottom"},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),i=this.options.offset,r=i.top,o=i.bottom,a=Math.max(e(document).height(),e(document.body).height());"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var s=this.getState(a,n,r,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),c=e.Event(l+".bs.affix");if(this.$element.trigger(c),c.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-o})}};var i=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=i,this},e(window).on("load",(function(){e('[data-spy="affix"]').each((function(){var t=e(this),i=t.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),n.call(t,i)}))}))}(jQuery),function(){"use strict";angular.module("ui.grid.i18n",[]),angular.module("ui.grid",["ui.grid.i18n"])}(),function(){"use strict";angular.module("ui.grid").constant("uiGridConstants",{LOG_DEBUG_MESSAGES:!0,LOG_WARN_MESSAGES:!0,LOG_ERROR_MESSAGES:!0,CUSTOM_FILTERS:/CUSTOM_FILTERS/g,COL_FIELD:/COL_FIELD/g,MODEL_COL_FIELD:/MODEL_COL_FIELD/g,TOOLTIP:/title=\"TOOLTIP\"/g,DISPLAY_CELL_TEMPLATE:/DISPLAY_CELL_TEMPLATE/g,TEMPLATE_REGEXP:/<.+>/,FUNC_REGEXP:/(\([^)]*\))?$/,DOT_REGEXP:/\./g,APOS_REGEXP:/'/g,BRACKET_REGEXP:/^(.*)((?:\s*\[\s*\d+\s*\]\s*)|(?:\s*\[\s*"(?:[^"\\]|\\.)*"\s*\]\s*)|(?:\s*\[\s*'(?:[^'\\]|\\.)*'\s*\]\s*))(.*)$/,COL_CLASS_PREFIX:"ui-grid-col",ENTITY_BINDING:"$$this",events:{GRID_SCROLL:"uiGridScroll",COLUMN_MENU_SHOWN:"uiGridColMenuShown",ITEM_DRAGGING:"uiGridItemDragStart",COLUMN_HEADER_CLICK:"uiGridColumnHeaderClick"},keymap:{TAB:9,STRG:17,CAPSLOCK:20,CTRL:17,CTRLRIGHT:18,CTRLR:18,SHIFT:16,RETURN:13,ENTER:13,BACKSPACE:8,BCKSP:8,ALT:18,ALTR:17,ALTRIGHT:17,SPACE:32,WIN:91,MAC:91,FN:null,PG_UP:33,PG_DOWN:34,UP:38,DOWN:40,LEFT:37,RIGHT:39,ESC:27,DEL:46,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123},ASC:"asc",DESC:"desc",filter:{STARTS_WITH:2,ENDS_WITH:4,EXACT:8,CONTAINS:16,GREATER_THAN:32,GREATER_THAN_OR_EQUAL:64,LESS_THAN:128,LESS_THAN_OR_EQUAL:256,NOT_EQUAL:512,SELECT:"select",INPUT:"input"},aggregationTypes:{sum:2,count:4,avg:8,min:16,max:32},CURRENCY_SYMBOLS:["\xa4","\u060b","Ar","\u0243","\u0e3f","B/.","Br","Bs.","Bs.F.","GH\u20b5","\xa2","c","Ch.","\u20a1","C$","D","\u0434\u0435\u043d","\u062f\u062c",".\u062f.\u0628","\u062f.\u0639","JD","\u062f.\u0643","\u0644.\u062f","\u0434\u0438\u043d","\u062f.\u062a","\u062f.\u0645.","\u062f.\u0625","Db","$","\u20ab","Esc","\u20ac","\u0192","Ft","FBu","FCFA","CFA","Fr","FRw","G","gr","\u20b2","h","\u20b4","\u20ad","K\u010d","kr","kn","MK","ZK","Kz","K","L","Le","\u043b\u0432","E","lp","M","KM","MT","\u20a5","Nfk","\u20a6","Nu.","UM","T$","MOP$","\u20b1","Pt.","\xa3","\u062c.\u0645.","LL","LS","P","Q","q","R","R$","\u0631.\u0639.","\u0631.\u0642","\u0631.\u0633","\u17db","RM","p","Rf.","\u20b9","\u20a8","SRe","Rp","\u20aa","Ksh","Sh.So.","USh","S/","SDR","\u0441\u043e\u043c","\u09f3\t","WS$","\u20ae","VT","\u20a9","\xa5","z\u0142"],scrollDirection:{UP:"up",DOWN:"down",LEFT:"left",RIGHT:"right",NONE:"none"},dataChange:{ALL:"all",EDIT:"edit",ROW:"row",COLUMN:"column",OPTIONS:"options"},scrollbars:{NEVER:0,ALWAYS:1}})}(),angular.module("ui.grid").directive("uiGridCell",["$compile","$parse","gridUtil","uiGridConstants",function(e,t,n,i){return{priority:0,scope:!1,require:"?^uiGrid",compile:function(){return{pre:function(t,r,o,a){if(a&&t.col.compiledElementFn)(0,t.col.compiledElementFn)(t,(function(e,t){r.append(e)}));else if(a&&!t.col.compiledElementFn)t.col.getCompiledElementFn().then((function(e){e(t,(function(e,t){r.append(e)}))})).catch(angular.noop);else{var s=t.col.cellTemplate.replace(i.MODEL_COL_FIELD,"row.entity."+n.preEval(t.col.field)).replace(i.COL_FIELD,"grid.getCellValue(row, col)"),l=e(s)(t);r.append(l)}},post:function(e,t,n,r){var o,a=e.col.getColClass(!1);t.addClass(a);var s=function(n){var i=t;o&&(i.removeClass(o),o=null),o=angular.isFunction(e.col.cellClass)?e.col.cellClass(e.grid,e.row,e.col,e.rowRenderIndex,e.colRenderIndex):e.col.cellClass,i.addClass(o)};e.col.cellClass&&s();var l=e.grid.registerDataChangeCallback(s,[i.dataChange.COLUMN,i.dataChange.EDIT]),c=e.$watch("row",(function(n,i){if(n!==i){(o||e.col.cellClass)&&s();var r=e.col.getColClass(!1);r!==a&&(t.removeClass(a),t.addClass(r),a=r)}})),u=function(){l(),c()};e.$on("$destroy",u),t.on("$destroy",u)}}}}}]),angular.module("ui.grid").service("uiGridColumnMenuService",["i18nService","uiGridConstants","gridUtil",function(e,t,n){var i={initialize:function(e,t){e.grid=t.grid,t.columnMenuScope=e,e.menuShown=!1},setColMenuItemWatch:function(e){var t=e.$watch("col.menuItems",(function(t){void 0!==t&&t&&angular.isArray(t)?(t.forEach((function(t){void 0!==t.context&&t.context||(t.context={}),t.context.col=e.col})),e.menuItems=e.defaultMenuItems.concat(t)):e.menuItems=e.defaultMenuItems}));e.$on("$destroy",t)},sortable:function(e){return!!(e.grid.options.enableSorting&&void 0!==e.col&&e.col&&e.col.enableSorting)},isActiveSort:function(e,t){return void 0!==e.col&&void 0!==e.col.sort&&void 0!==e.col.sort.direction&&e.col.sort.direction===t},suppressRemoveSort:function(e){return!(!e.col||!e.col.suppressRemoveSort)},hideable:function(e){return void 0===e.col||!e.col||!e.col.colDef||!1!==e.col.colDef.enableHiding},getDefaultMenuItems:function(n){return[{title:e.getSafeText("sort.ascending"),icon:"ui-grid-icon-sort-alt-up",action:function(e){e.stopPropagation(),n.sortColumn(e,t.ASC)},shown:function(){return i.sortable(n)},active:function(){return i.isActiveSort(n,t.ASC)}},{title:e.getSafeText("sort.descending"),icon:"ui-grid-icon-sort-alt-down",action:function(e){e.stopPropagation(),n.sortColumn(e,t.DESC)},shown:function(){return i.sortable(n)},active:function(){return i.isActiveSort(n,t.DESC)}},{title:e.getSafeText("sort.remove"),icon:"ui-grid-icon-cancel",action:function(e){e.stopPropagation(),n.unsortColumn()},shown:function(){return i.sortable(n)&&void 0!==n.col&&void 0!==n.col.sort&&null!=n.col.sort.direction&&!i.suppressRemoveSort(n)}},{title:e.getSafeText("column.hide"),icon:"ui-grid-icon-cancel",shown:function(){return i.hideable(n)},action:function(e){e.stopPropagation(),n.hideColumn()}}]},getColumnElementPosition:function(e,t,i){var r={};return r.left=i[0].offsetLeft,r.top=i[0].offsetTop,r.parentLeft=i[0].offsetParent.offsetLeft,r.offset=0,t.grid.options.offsetLeft&&(r.offset=t.grid.options.offsetLeft),r.height=n.elementHeight(i,!0),r.width=n.elementWidth(i,!0),r},repositionMenu:function(e,t,i,r,o){var a=r[0].querySelectorAll(".ui-grid-menu"),s=n.closestElm(o,".ui-grid-render-container"),l=s.getBoundingClientRect().left-e.grid.element[0].getBoundingClientRect().left,c=s.querySelectorAll(".ui-grid-viewport")[0].scrollLeft,u=t.lastMenuWidth?t.lastMenuWidth:e.lastMenuWidth?e.lastMenuWidth:170,d=t.lastMenuPaddingRight?t.lastMenuPaddingRight:e.lastMenuPaddingRight?e.lastMenuPaddingRight:10;if(0!==a.length){var p=a[0].querySelectorAll(".ui-grid-menu-mid");0===p.length||angular.element(p).hasClass("ng-hide")||(u=n.elementWidth(a,!0),e.lastMenuWidth=u,t.lastMenuWidth=u,d=parseInt(n.getStyles(angular.element(a)[0]).paddingRight,10),e.lastMenuPaddingRight=d,t.lastMenuPaddingRight=d)}var h=i.left+l-c+i.parentLeft+i.width-u+d;h<i.offset&&(h=i.offset),r.css("left",h+"px"),r.css("top",i.top+i.height+"px")}};return i}]).directive("uiGridColumnMenu",["$timeout","gridUtil","uiGridConstants","uiGridColumnMenuService","$document",function(e,t,n,i,r){return{priority:0,scope:!0,require:"^uiGrid",templateUrl:"ui-grid/uiGridColumnMenu",replace:!0,link:function(o,a,s,l){i.initialize(o,l),o.defaultMenuItems=i.getDefaultMenuItems(o),o.menuItems=o.defaultMenuItems,i.setColMenuItemWatch(o),o.showMenu=function(e,t,n){o.col=e;var r=i.getColumnElementPosition(o,e,t);o.menuShown?(o.colElement=t,o.colElementPosition=r,o.hideThenShow=!0,o.$broadcast("hide-menu",{originalEvent:n})):(o.menuShown=!0,i.repositionMenu(o,e,r,a,t),o.colElement=t,o.colElementPosition=r,o.$broadcast("show-menu",{originalEvent:n}))},o.hideMenu=function(e){o.menuShown=!1,e||o.$broadcast("hide-menu")},o.$on("menu-hidden",(function(){o.hideThenShow?(delete o.hideThenShow,i.repositionMenu(o,o.col,o.colElementPosition,a,o.colElement),o.$broadcast("show-menu"),o.menuShown=!0):(o.hideMenu(!0),o.col&&t.focus.bySelector(r,".ui-grid-header-cell."+o.col.getColClass()+" .ui-grid-column-menu-button",o.col.grid,!1))})),o.$on("menu-shown",(function(){e((function(){i.repositionMenu(o,o.col,o.colElementPosition,a,o.colElement),t.focus.bySelector(r,".ui-grid-menu-items .ui-grid-menu-item",!0),delete o.colElementPosition,delete o.columnElement}),200)})),o.sortColumn=function(e,t){e.stopPropagation(),o.grid.sortColumn(o.col,t,!0).then((function(){o.grid.refresh(),o.hideMenu()})).catch(angular.noop)},o.unsortColumn=function(){o.col.unsort(),o.grid.refresh(),o.hideMenu()},o.hideColumn=function(){o.col.colDef.visible=!1,o.col.visible=!1,o.grid.queueGridRefresh(),o.hideMenu(),o.grid.api.core.notifyDataChange(n.dataChange.COLUMN),o.grid.api.core.raise.columnVisibilityChanged(o.col),e((function(){var e,n,i=function(){return t.focus.byId("grid-menu",o.grid)};if(o.grid.columns.some((function(t,n){if(angular.equals(t,o.col))return e=n,!0})),o.grid.columns.some((function(t,i){if(!t.visible)return!1;if(i<e)n=t;else{if(i>e&&!n)return n=t,!0;if(i>e&&n)return!0}})),n){var a=n.getColClass();t.focus.bySelector(r,".ui-grid-header-cell."+a+" .ui-grid-header-cell-primary-focus",!0).then(angular.noop,(function(e){if("canceled"!==e)return i()})).catch(angular.noop)}else i()}))}},controller:["$scope",function(e){var t=this;e.$watch("menuItems",(function(e){t.menuItems=e}))}]}}]),function(){"use strict";angular.module("ui.grid").directive("uiGridFilter",["$compile","$templateCache","i18nService","gridUtil",function(e,t,n,i){return{compile:function(){return{pre:function(t,n,i,r){t.col.updateFilters=function(i){n.children().remove(),i&&n.append(e(t.col.filterHeaderTemplate)(t))},t.$on("$destroy",(function(){delete t.col.updateFilters}))},post:function(e,t,r,o){e.aria=n.getSafeText("headerCell.aria"),e.removeFilter=function(e,n){e.term=null,i.focus.bySelector(t,".ui-grid-filter-input-"+n)}}}}}}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridFooterCell",["$timeout","gridUtil","uiGridConstants","$compile",function(e,t,n,i){return{priority:0,scope:{col:"=",row:"=",renderIndex:"="},replace:!0,require:"^uiGrid",compile:function(e,t,r){return{pre:function(e,t,n,r){var o=i(e.col.footerCellTemplate)(e);t.append(o)},post:function(e,t,i,r){e.grid=r.grid;var o,a=e.col.getColClass(!1);t.addClass(a);var s=function(n){var i=t;o&&(i.removeClass(o),o=null),o=angular.isFunction(e.col.footerCellClass)?e.col.footerCellClass(e.grid,e.row,e.col,e.rowRenderIndex,e.colRenderIndex):e.col.footerCellClass,i.addClass(o)};e.col.footerCellClass&&s(),e.col.updateAggregationValue();var l=e.grid.registerDataChangeCallback(s,[n.dataChange.COLUMN]);e.grid.api.core.on.rowsRendered(e,e.col.updateAggregationValue),e.grid.api.core.on.rowsRendered(e,s),e.$on("$destroy",l)}}}}}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridFooter",["$templateCache","$compile","uiGridConstants","gridUtil","$timeout",function(e,t,n,i,r){return{restrict:"EA",replace:!0,require:["^uiGrid","^uiGridRenderContainer"],scope:!0,compile:function(e,n){return{pre:function(e,n,r,o){var a=o[1];e.grid=o[0].grid,e.colContainer=a.colContainer,a.footer=n,i.getTemplate(e.grid.options.footerTemplate).then((function(i){var r=angular.element(i),o=t(r)(e);if(n.append(o),a){var s=n[0].getElementsByClassName("ui-grid-footer-viewport")[0];s&&(a.footerViewport=s)}})).catch(angular.noop)},post:function(e,t,n,r){var o=r[1];i.disableAnimations(t),o.footer=t;var a=t[0].getElementsByClassName("ui-grid-footer-viewport")[0];a&&(o.footerViewport=a)}}}}}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridGridFooter",["$templateCache","$compile","uiGridConstants","gridUtil","$timeout",function(e,t,n,i,r){return{restrict:"EA",replace:!0,require:"^uiGrid",scope:!0,compile:function(e,n){return{pre:function(e,n,r,o){e.grid=o.grid,i.getTemplate(e.grid.options.gridFooterTemplate).then((function(i){var r=angular.element(i),o=t(r)(e);n.append(o)})).catch(angular.noop)},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridGroupPanel",["$compile","uiGridConstants","gridUtil",function(e,t,n){return{restrict:"EA",replace:!0,require:"?^uiGrid",scope:!1,compile:function(t,i){return{pre:function(t,i,r,o){n.getTemplate(t.grid.options.groupPanelTemplate||"ui-grid/ui-grid-group-panel").then((function(n){var r=angular.element(n),o=e(r)(t);i.append(o)})).catch(angular.noop)},post:function(e,t,n,i){t.bind("$destroy",(function(){}))}}}}}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridHeaderCell",["$compile","$timeout","$window","$document","gridUtil","uiGridConstants","ScrollEvent","i18nService",function(e,t,n,i,r,o,a,s){return{priority:0,scope:{col:"=",row:"=",renderIndex:"="},require:["^uiGrid","^uiGridRenderContainer"],replace:!0,compile:function(){return{pre:function(t,n,i){var r=e(t.col.headerCellTemplate)(t);n.append(r)},post:function(e,n,r,a){var l=a[0],c=a[1];e.i18n={headerCell:s.getSafeText("headerCell"),sort:s.getSafeText("sort")},e.isSortPriorityVisible=function(){return angular.isNumber(e.col.sort.priority)&&e.grid.columns.some((function(t,n){return angular.isNumber(t.sort.priority)&&t!==e.col}))},e.getSortDirectionAriaLabel=function(){var t=e.col,n=t.sort.direction===o.ASC?e.i18n.sort.ascending:t.sort.direction===o.DESC?e.i18n.sort.descending:e.i18n.sort.none;return e.isSortPriorityVisible()&&(n=n+". "+e.i18n.headerCell.priority+" "+t.sort.priority),n},e.grid=l.grid,e.renderContainer=l.grid.renderContainers[c.containerId];var u=e.col.getColClass(!1);n.addClass(u),e.menuShown=!1,e.asc=o.ASC,e.desc=o.DESC,angular.element(n[0].querySelectorAll(".ui-grid-header-cell-menu"));var d,p,h=angular.element(n[0].querySelectorAll(".ui-grid-cell-contents")),f=[];e.downFn=function(r){r.stopPropagation(),void 0!==r.originalEvent&&void 0!==r.originalEvent&&(r=r.originalEvent),r.button&&0!==r.button||(p=r.pageX,e.mousedownStartTime=(new Date).getTime(),e.mousedownTimeout=t((function(){}),500),e.mousedownTimeout.then((function(){e.colMenu&&l.columnMenuScope.showMenu(e.col,n,r)})).catch(angular.noop),l.fireEvent(o.events.COLUMN_HEADER_CLICK,{event:r,columnName:e.col.colDef.name}),e.offAllEvents(),"touchstart"===r.type?(i.on("touchend",e.upFn),i.on("touchmove",e.moveFn)):"mousedown"===r.type&&(i.on("mouseup",e.upFn),i.on("mousemove",e.moveFn)))},e.upFn=function(n){n.stopPropagation(),t.cancel(e.mousedownTimeout),e.offAllEvents(),e.onDownEvents(n.type),(new Date).getTime()-e.mousedownStartTime>500||e.sortable&&e.handleClick(n)},e.moveFn=function(n){0!=n.pageX-p&&(t.cancel(e.mousedownTimeout),e.offAllEvents(),e.onDownEvents(n.type))},e.clickFn=function(t){t.stopPropagation(),h.off("click",e.clickFn)},e.offAllEvents=function(){h.off("touchstart",e.downFn),h.off("mousedown",e.downFn),i.off("touchend",e.upFn),i.off("mouseup",e.upFn),i.off("touchmove",e.moveFn),i.off("mousemove",e.moveFn),h.off("click",e.clickFn)},e.onDownEvents=function(n){switch(n){case"touchmove":case"touchend":h.on("click",e.clickFn),h.on("touchstart",e.downFn),t((function(){h.on("mousedown",e.downFn)}),500);break;case"mousemove":case"mouseup":h.on("click",e.clickFn),h.on("mousedown",e.downFn),t((function(){h.on("touchstart",e.downFn)}),500);break;default:h.on("click",e.clickFn),h.on("touchstart",e.downFn),h.on("mousedown",e.downFn)}};var g=function(i){var r=n;d&&(r.removeClass(d),d=null),d=angular.isFunction(e.col.headerCellClass)?e.col.headerCellClass(e.grid,e.row,e.col,e.rowRenderIndex,e.colRenderIndex):e.col.headerCellClass,r.addClass(d),t((function(){var t=e.grid.renderContainers.right?e.grid.renderContainers.right:e.grid.renderContainers.body;e.isLastCol=e.col===t.visibleColumnCache[t.visibleColumnCache.length-1]})),e.sortable=!!e.col.enableSorting;var a=e.filterable;e.filterable=!(!l.grid.options.enableFiltering||!e.col.enableFiltering),a!==e.filterable&&(void 0!==e.col.updateFilters&&e.col.updateFilters(e.filterable),e.filterable?(e.col.filters.forEach((function(t,n){f.push(e.$watch("col.filters["+n+"].term",(function(e,t){e!==t&&(l.grid.api.core.raise.filterChanged(),l.grid.api.core.notifyDataChange(o.dataChange.COLUMN),l.grid.queueGridRefresh())})))})),e.$on("$destroy",(function(){f.forEach((function(e){e()}))}))):f.forEach((function(e){e()}))),e.colMenu=!(!e.col.grid.options||!1===e.col.grid.options.enableColumnMenus||!e.col.colDef||!1===e.col.colDef.enableColumnMenu),e.offAllEvents(),(e.sortable||e.colMenu)&&(e.onDownEvents(),e.$on("$destroy",(function(){e.offAllEvents()})))};g();var m=e.grid.registerDataChangeCallback(g,[o.dataChange.COLUMN]);e.$on("$destroy",m),e.handleClick=function(t){var n=!1;t.shiftKey&&(n=!0),l.grid.sortColumn(e.col,n).then((function(){l.columnMenuScope&&l.columnMenuScope.hideMenu(),l.grid.refresh()})).catch(angular.noop)},e.toggleMenu=function(t){t.stopPropagation(),l.columnMenuScope.menuShown&&l.columnMenuScope.col===e.col?l.columnMenuScope.hideMenu():l.columnMenuScope.showMenu(e.col,n)}}}}}}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridHeader",["$templateCache","$compile","uiGridConstants","gridUtil","$timeout","ScrollEvent",function(e,t,n,i,r,o){return{restrict:"EA",replace:!0,require:["^uiGrid","^uiGridRenderContainer"],scope:!0,compile:function(e,n){return{pre:function(e,n,r,a){var s=a[0],l=a[1];function c(){l.header=l.colContainer.header=n;var e=n[0].getElementsByClassName("ui-grid-header-canvas");l.headerCanvas=e.length>0?l.colContainer.headerCanvas=e[0]:null}function u(e){if(!s.grid.isScrollingHorizontally){var t=i.normalizeScrollLeft(l.headerViewport,s.grid),n=l.colContainer.scrollHorizontal(t),r=new o(s.grid,null,l.colContainer,o.Sources.ViewPortScroll);r.newScrollLeft=t,n>-1&&(r.x={percentage:n}),s.grid.scrollContainers(null,r)}}e.grid=s.grid,e.colContainer=l.colContainer,c(),i.getTemplate(e.grid.options.showHeader?e.grid.options.headerTemplate?e.grid.options.headerTemplate:"ui-grid/ui-grid-header":"ui-grid/ui-grid-no-header").then((function(i){var r=angular.element(i),o=t(r)(e);if(n.replaceWith(o),n=o,c(),l){var a=n[0].getElementsByClassName("ui-grid-header-viewport")[0];a&&(l.headerViewport=a,angular.element(a).on("scroll",u),e.$on("$destroy",(function(){angular.element(a).off("scroll",u)})))}e.grid.queueRefresh()})).catch(angular.noop)},post:function(e,t,n,r){var o=r[0],a=r[1];i.disableAnimations(t),a.header=t;var s=t[0].getElementsByClassName("ui-grid-header-viewport")[0];s&&(a.headerViewport=s),o&&o.grid.registerStyleComputation({priority:15,func:function(){var e="",t=0;return a.colContainer.visibleColumnCache.forEach((function(n){e+=n.getColClassDefinition(),t+=n.drawnWidth})),a.colContainer.canvasWidth=t,e}})}}}}}])}(),angular.module("ui.grid").service("uiGridGridMenuService",["gridUtil","i18nService","uiGridConstants",function(e,t,n){var i={initialize:function(e,t){t.gridMenuScope=e,e.grid=t,e.registeredMenuItems=[],e.$on("$destroy",(function(){e.grid&&e.grid.gridMenuScope&&(e.grid.gridMenuScope=null),e.grid&&(e.grid=null),e.registeredMenuItems&&(e.registeredMenuItems=null)})),e.registeredMenuItems=[],t.api.registerMethod("core","addToGridMenu",i.addToGridMenu),t.api.registerMethod("core","removeFromGridMenu",i.removeFromGridMenu)},addToGridMenu:function(t,n){angular.isArray(n)?t.gridMenuScope?(t.gridMenuScope.registeredMenuItems=t.gridMenuScope.registeredMenuItems?t.gridMenuScope.registeredMenuItems:[],t.gridMenuScope.registeredMenuItems=t.gridMenuScope.registeredMenuItems.concat(n)):e.logError("Asked to addToGridMenu, but gridMenuScope not present.  Timing issue?  Please log issue with ui-grid"):e.logError("addToGridMenu: menuItems must be an array, and is not, not adding any items")},removeFromGridMenu:function(t,n){var i=-1;t&&t.gridMenuScope&&t.gridMenuScope.registeredMenuItems.forEach((function(t,r){t.id===n&&(i>-1?e.logError("removeFromGridMenu: found multiple items with the same id, removing only the last"):i=r)})),i>-1&&t.gridMenuScope.registeredMenuItems.splice(i,1)},getMenuItems:function(n){var r=[];n.grid.options.gridMenuCustomItems&&(angular.isArray(n.grid.options.gridMenuCustomItems)?r=r.concat(n.grid.options.gridMenuCustomItems):e.logError("gridOptions.gridMenuCustomItems must be an array, and is not"));var o=[{title:t.getSafeText("gridMenu.clearAllFilters"),action:function(e){n.grid.clearAllFilters()},shown:function(){return n.grid.options.enableFiltering},order:100}];return r=(r=r.concat(o)).concat(n.registeredMenuItems),!1!==n.grid.options.gridMenuShowHideColumns&&(r=r.concat(i.showHideColumns(n))),r.sort((function(e,t){return e.order-t.order})),r},showHideColumns:function(e){var n=[];return e.grid.options.columnDefs&&0!==e.grid.options.columnDefs.length&&0!==e.grid.columns.length?(n.push({title:t.getSafeText("gridMenu.columns"),order:300}),e.grid.options.gridMenuTitleFilter=e.grid.options.gridMenuTitleFilter?e.grid.options.gridMenuTitleFilter:function(e){return e},e.grid.options.columnDefs.forEach((function(t,r){if(!1!==t.enableHiding){var o={icon:"ui-grid-icon-ok",action:function(e){e.stopPropagation(),i.toggleColumnVisibility(this.context.gridCol)},shown:function(){return!0===this.context.gridCol.colDef.visible||void 0===this.context.gridCol.colDef.visible},context:{gridCol:e.grid.getColumn(t.name||t.field)},leaveOpen:!0,order:301+2*r};i.setMenuItemTitle(o,t,e.grid),n.push(o),o={icon:"ui-grid-icon-cancel",action:function(e){e.stopPropagation(),i.toggleColumnVisibility(this.context.gridCol)},shown:function(){return!(!0===this.context.gridCol.colDef.visible||void 0===this.context.gridCol.colDef.visible)},context:{gridCol:e.grid.getColumn(t.name||t.field)},leaveOpen:!0,order:301+2*r+1},i.setMenuItemTitle(o,t,e.grid),n.push(o)}})),n):n},setMenuItemTitle:function(t,n,i){var r=i.options.gridMenuTitleFilter(n.displayName||e.readableColumnName(n.name)||n.field);"string"==typeof r?t.title=r:r.then?(t.title="",r.then((function(e){t.title=e}),(function(e){t.title=e})).catch(angular.noop)):(e.logError("Expected gridMenuTitleFilter to return a string or a promise, it has returned neither, bad config"),t.title="badconfig")},toggleColumnVisibility:function(e){e.colDef.visible=!(!0===e.colDef.visible||void 0===e.colDef.visible),e.grid.refresh(),e.grid.api.core.notifyDataChange(n.dataChange.COLUMN),e.grid.api.core.raise.columnVisibilityChanged(e)}};return i}]).directive("uiGridMenuButton",["gridUtil","uiGridConstants","uiGridGridMenuService","i18nService",function(e,t,n,i){return{priority:0,scope:!0,require:["^uiGrid"],templateUrl:"ui-grid/ui-grid-menu-button",replace:!0,link:function(t,r,o,a){var s=a[0];t.i18n={aria:i.getSafeText("gridMenu.aria")},n.initialize(t,s.grid),t.shown=!1,t.toggleMenu=function(){t.shown?(t.$broadcast("hide-menu"),t.shown=!1):(t.menuItems=n.getMenuItems(t),t.$broadcast("show-menu"),t.shown=!0)},t.$on("menu-hidden",(function(){t.shown=!1,e.focus.bySelector(r,".ui-grid-icon-container")}))}}}]),angular.module("ui.grid").directive("uiGridMenu",["$compile","$timeout","$window","$document","gridUtil","uiGridConstants","i18nService",function(e,t,n,i,r,o,a){return{priority:0,scope:{menuItems:"=",autoHide:"=?"},require:"?^uiGrid",templateUrl:"ui-grid/uiGridMenu",replace:!1,link:function(i,s,l,c){i.dynamicStyles="",c&&c.grid&&c.grid.options&&c.grid.options.gridMenuTemplate&&r.getTemplate(c.grid.options.gridMenuTemplate).then((function(t){var n=angular.element(t),r=e(n)(i);s.replaceWith(r)})).catch(angular.noop);var u=function(e){i.dynamicStyles=[".grid"+c.grid.id+" .ui-grid-menu-mid {","max-height: "+(e-c.grid.headerHeight-20)+"px;","}"].join(" ")};c&&(u(c.grid.gridHeight),c.grid.api.core.on.gridDimensionChanged(i,(function(e,t,n,i){u(n)}))),i.i18n={close:a.getSafeText("columnMenu.close")},i.showMenu=function(e,n){i.shown?i.shownMid||(i.shownMid=!0,i.$emit("menu-shown")):(i.shown=!0,t((function(){i.shownMid=!0,i.$emit("menu-shown")})));var o="click";n&&n.originalEvent&&n.originalEvent.type&&"touchstart"===n.originalEvent.type&&(o=n.originalEvent.type),angular.element(document).off("click touchstart",d),s.off("keyup",p),s.off("keydown",h),t((function(){angular.element(document).on(o,d),s.on("keyup",p),s.on("keydown",h)})),r.focus.bySelector(s,"button[type=button]",!0)},i.hideMenu=function(e){i.shown&&(i.shownMid=!1,t((function(){i.shownMid||(i.shown=!1,i.$emit("menu-hidden"))}),200)),angular.element(document).off("click touchstart",d),s.off("keyup",p),s.off("keydown",h)},i.$on("hide-menu",(function(e,t){i.hideMenu(e,t)})),i.$on("show-menu",(function(e,t){i.showMenu(e,t)}));var d=function(){i.shown&&i.$apply((function(){i.hideMenu()}))},p=function(e){27===e.keyCode&&i.hideMenu()},h=function(e){var t=function(t){return t.focus(),e.preventDefault(),!1};if(9===e.keyCode){var n,i,r=s[0].querySelectorAll("button:not(.ng-hide)");r.length>0&&(n=r[0],e.target!==(i=r[r.length-1])||e.shiftKey?e.target===n&&e.shiftKey&&t(i):t(n))}};void 0!==i.autoHide&&void 0!==i.autoHide||(i.autoHide=!0),i.autoHide&&angular.element(n).on("resize",d),i.$on("$destroy",(function(){angular.element(n).off("resize",d),angular.element(document).off("click touchstart",d),s.off("keyup",p),s.off("keydown",h)})),c&&i.$on("$destroy",c.grid.api.core.on.scrollBegin(i,d)),i.$on("$destroy",i.$on(o.events.ITEM_DRAGGING,d))}}}]).directive("uiGridMenuItem",["gridUtil","$compile","i18nService",function(e,t,n){return{priority:0,scope:{name:"=",active:"=",action:"=",icon:"=",shown:"=",context:"=",templateUrl:"=",leaveOpen:"=",screenReaderOnly:"="},require:["?^uiGrid"],templateUrl:"ui-grid/uiGridMenuItem",replace:!1,compile:function(){return{pre:function(n,i){n.templateUrl&&e.getTemplate(n.templateUrl).then((function(e){var r=angular.element(e),o=t(r)(n);i.replaceWith(o)})).catch(angular.noop)},post:function(t,i,r,o){var a=o[0];null==t.shown&&(t.shown=function(){return!0}),t.itemShown=function(){var e={};return t.context&&(e.context=t.context),void 0!==a&&a&&(e.grid=a.grid),t.shown.call(e)},t.itemAction=function(n,i){if(n.stopPropagation(),"function"==typeof t.action){var r={};t.context&&(r.context=t.context),void 0!==a&&a&&(r.grid=a.grid),t.action.call(r,n,i),t.leaveOpen?e.focus.bySelector(angular.element(n.target.parentElement),"button[type=button]",!0):t.$emit("hide-menu")}},t.i18n=n.get()}}}}}]),function(){"use strict";var e=angular.module("ui.grid");angular.forEach([{tag:"Src",method:"attr"},{tag:"Text",method:"text"},{tag:"Href",method:"attr"},{tag:"Class",method:"addClass"},{tag:"Html",method:"html"},{tag:"Alt",method:"attr"},{tag:"Style",method:"css"},{tag:"Value",method:"attr"},{tag:"Id",method:"attr"},{tag:"Id",directiveName:"IdGrid",method:"attr",appendGridId:!0},{tag:"Title",method:"attr"},{tag:"Label",method:"attr",aria:!0},{tag:"Labelledby",method:"attr",aria:!0},{tag:"Labelledby",directiveName:"LabelledbyGrid",appendGridId:!0,method:"attr",aria:!0},{tag:"Describedby",method:"attr",aria:!0},{tag:"Describedby",directiveName:"DescribedbyGrid",appendGridId:!0,method:"attr",aria:!0}],(function(t){var n=(t.aria?"uiGridOneBindAria":"uiGridOneBind")+(t.directiveName?t.directiveName:t.tag);e.directive(n,["gridUtil",function(e){return{restrict:"A",require:["?uiGrid","?^uiGrid"],link:function(i,r,o,a){var s=i.$watch(o[n],(function(o){if(o){if(t.appendGridId){var l=null;angular.forEach(o.split(" "),(function(t){l=(l?l+" ":"")+function(t){var r;if(i.grid)r=i.grid;else if(i.col&&i.col.grid)r=i.col.grid;else if(!a.some((function(e){if(e&&e.grid)return r=e.grid,!0})))throw e.logError("["+n+"] A valid grid could not be found to bind id. Are you using this directive within the correct scope? Trying to generate id: [gridID]-"+t),new Error("No valid grid could be found");return r&&(new RegExp(r.id.toString()).test(t)||(t=r.id.toString()+"-"+t)),t}(t)})),o=l}switch(t.method){case"attr":r[t.method](t.aria?"aria-"+t.tag.toLowerCase():t.tag.toLowerCase(),o);break;case"addClass":if(angular.isObject(o)&&!angular.isArray(o)){var c=[],u=!1;if(angular.forEach(o,(function(e,t){null!=e&&(u=!0,e&&c.push(t))})),!u)return;o=c}if(!o)return;r.addClass(angular.isArray(o)?o.join(" "):o);break;default:r[t.method](o)}s()}}),!0)}}}])}))}(),function(){"use strict";var e=angular.module("ui.grid");e.directive("uiGridRenderContainer",["$timeout","$document","uiGridConstants","gridUtil","ScrollEvent",function(e,t,n,i,r){return{replace:!0,transclude:!0,templateUrl:"ui-grid/uiGridRenderContainer",require:["^uiGrid","uiGridRenderContainer"],scope:{containerId:"=",rowContainerName:"=",colContainerName:"=",bindScrollHorizontal:"=",bindScrollVertical:"=",enableVerticalScrollbar:"=",enableHorizontalScrollbar:"="},controller:"uiGridRenderContainer as RenderContainer",compile:function(){return{pre:function(e,t,n,i){var r=i[1],o=e.grid=i[0].grid;if(!e.rowContainerName)throw"No row render container name specified";if(!e.colContainerName)throw"No column render container name specified";if(!o.renderContainers[e.rowContainerName])throw"Row render container '"+e.rowContainerName+"' is not registered.";if(!o.renderContainers[e.colContainerName])throw"Column render container '"+e.colContainerName+"' is not registered.";var a=e.rowContainer=o.renderContainers[e.rowContainerName],s=e.colContainer=o.renderContainers[e.colContainerName];r.containerId=e.containerId,r.rowContainer=a,r.colContainer=s},post:function(e,t,n,o){var a=o[0],s=o[1],l=a.grid,c=s.rowContainer,u=s.colContainer,d=null,p=null,h=l.renderContainers[e.containerId];t.addClass("ui-grid-render-container-"+e.containerId),i.on.mousewheel(t,(function(e){var t=new r(l,c,u,r.Sources.RenderContainerMouseWheel);if(0!==e.deltaY){var n=-1*e.deltaY*e.deltaFactor;d=s.viewport[0].scrollTop,t.verticalScrollLength=c.getVerticalScrollLength();var o=(d+n)/t.verticalScrollLength;o>=1&&d<t.verticalScrollLength&&(s.viewport[0].scrollTop=t.verticalScrollLength),o<0?o=0:o>1&&(o=1),t.y={percentage:o,pixels:n}}if(0!==e.deltaX){var a=e.deltaX*e.deltaFactor;p=i.normalizeScrollLeft(s.viewport,l),t.horizontalScrollLength=u.getCanvasWidth()-u.getViewportWidth();var h=(p+a)/t.horizontalScrollLength;h<0?h=0:h>1&&(h=1),t.x={percentage:h,pixels:a}}0!==e.deltaY&&(t.atTop(d)||t.atBottom(d))||0!==e.deltaX&&(t.atLeft(p)||t.atRight(p))||(e.preventDefault(),e.stopPropagation(),t.fireThrottledScrollingEvent("",t))})),t.bind("$destroy",(function(){t.unbind("keydown"),["touchstart","touchmove","touchend","keydown","wheel","mousewheel","DomMouseScroll","MozMousePixelScroll"].forEach((function(e){t.unbind(e)}))})),a.grid.registerStyleComputation({priority:6,func:function(){var t,n,i="",r=u.canvasWidth,o=u.getViewportWidth(),s=c.getCanvasHeight(),d=c.getViewportHeight();return u.needsHScrollbarPlaceholder()&&(d-=l.scrollbarHeight),t=n=u.getHeaderViewportWidth(),i+="\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-canvas { width: "+r+"px; height: "+s+"px; }",i+="\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-header-canvas { width: "+(r+l.scrollbarWidth)+"px; }",i+=h.explicitHeaderCanvasHeight?"\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-header-canvas { height: "+h.explicitHeaderCanvasHeight+"px; }":"\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-header-canvas { height: inherit; }",i+="\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-viewport { width: "+o+"px; height: "+d+"px; }",i+="\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-header-viewport { width: "+t+"px; }",(i+="\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-footer-canvas { width: "+(r+l.scrollbarWidth)+"px; }")+"\n .grid"+a.grid.id+" .ui-grid-render-container-"+e.containerId+" .ui-grid-footer-viewport { width: "+n+"px; }"}})}}}}}]),e.controller("uiGridRenderContainer",["$scope","gridUtil",function(e,t){}])}(),function(){"use strict";angular.module("ui.grid").directive("uiGridRow",["gridUtil",function(e){return{replace:!0,require:["^uiGrid","^uiGridRenderContainer"],scope:{row:"=uiGridRow",rowRenderIndex:"="},compile:function(){return{pre:function(e,t,n,i){var r,o,a=i[1];function s(){e.row.getRowTemplateFn.then((function(n){var i=e.$new();n(i,(function(e,n){r&&(r.remove(),o.$destroy()),t.empty().append(e),r=e,o=i}))})).catch(angular.noop)}e.grid=i[0].grid,e.colContainer=a.colContainer,s(),e.$watch("row.getRowTemplateFn",(function(e,t){e!==t&&s()}))},post:function(e,t,n,i){}}}}}])}(),angular.module("ui.grid").directive("uiGridStyle",["gridUtil","$interpolate",function(e,t){return{link:function(e,n,i,r){var o=t(n.text(),!0);o&&e.$watch(o,(function(e){n.text(e)}))}}}]),function(){"use strict";angular.module("ui.grid").directive("uiGridViewport",["gridUtil","ScrollEvent","uiGridConstants","$log",function(e,t,n,i){return{replace:!0,scope:{},controllerAs:"Viewport",templateUrl:"ui-grid/uiGridViewport",require:["^uiGrid","^uiGridRenderContainer"],link:function(n,i,r,o){var a=o[0],s=o[1];n.containerCtrl=s;var l=s.rowContainer,c=s.colContainer,u=a.grid;function d(r){var o=i[0].scrollTop,a=e.normalizeScrollLeft(i,u),s=l.scrollVertical(o),d=c.scrollHorizontal(a),p=new t(u,l,c,t.Sources.ViewPortScroll);p.newScrollLeft=a,p.newScrollTop=o,d>-1&&(p.x={percentage:d}),s>-1&&(p.y={percentage:s}),u.scrollContainers(n.$parent.containerId,p)}n.grid=a.grid,n.rowContainer=s.rowContainer,n.colContainer=s.colContainer,s.viewport=i,u&&u.options&&u.options.customScroller?u.options.customScroller(i,d):i.on("scroll",d),n.$parent.bindScrollVertical&&u.addVerticalScrollSync(n.$parent.containerId,(function(e){s.prevScrollArgs=e;var t=e.getNewScrollTop(l,s.viewport);i[0].scrollTop=t})),n.$parent.bindScrollHorizontal&&(u.addHorizontalScrollSync(n.$parent.containerId,(function(t){s.prevScrollArgs=t;var n=t.getNewScrollLeft(c,s.viewport);i[0].scrollLeft=e.denormalizeScrollLeft(s.viewport,n,u)})),u.addHorizontalScrollSync(n.$parent.containerId+"header",(function(t){var n=t.getNewScrollLeft(c,s.viewport);s.headerViewport&&(s.headerViewport.scrollLeft=e.denormalizeScrollLeft(s.viewport,n,u))})),u.addHorizontalScrollSync(n.$parent.containerId+"footer",(function(t){var n=t.getNewScrollLeft(c,s.viewport);s.footerViewport&&(s.footerViewport.scrollLeft=e.denormalizeScrollLeft(s.viewport,n,u))}))),n.$on("$destroy",(function(){i.off()}))},controller:["$scope",function(e){this.rowStyle=function(t){var n=e.rowContainer,i=e.colContainer,r={};if(0!==n.currentTopRow){var o="translateY("+n.currentTopRow*n.grid.options.rowHeight+"px)";r.transform=o,r["-webkit-transform"]=o,r["-ms-transform"]=o}return 0!==i.currentFirstColumn&&(i.grid.isRTL()?r["margin-right"]=i.columnOffset+"px":r["margin-left"]=i.columnOffset+"px"),r}}]}}])}(),angular.module("ui.grid").directive("uiGridVisible",(function(){return function(e,t,n){e.$watch(n.uiGridVisible,(function(e){t[e?"removeClass":"addClass"]("ui-grid-invisible")}))}})),function(){"use strict";function e(e,t,n){return{templateUrl:"ui-grid/ui-grid",scope:{uiGrid:"="},replace:!0,transclude:!0,controller:"uiGridController",compile:function(){return{post:function(i,r,o,a){var s=a.grid;a.scrollbars=[],s.element=r;var l,c,u=0;function d(){s.gridWidth=i.gridWidth=t.elementWidth(r),s.canvasWidth=a.grid.gridWidth,s.gridHeight=i.gridHeight=t.elementHeight(r),s.gridHeight<=s.options.rowHeight&&s.options.enableMinHeightCheck&&function(){var e=s.options.minRowsToShow*s.options.rowHeight,o=s.options.showHeader?s.options.headerRowHeight:0,a=s.calcFooterHeight(),l=0;s.options.enableHorizontalScrollbar===n.scrollbars.ALWAYS&&(l=t.getScrollbarWidth());var c=0;angular.forEach(s.options.columnDefs,(function(e){e.hasOwnProperty("filter")?c<1&&(c=1):e.hasOwnProperty("filters")&&c<e.filters.length&&(c=e.filters.length)})),s.options.enableFiltering&&!c&&(s.options.columnDefs.length&&s.options.columnDefs.every((function(e){return!1===e.enableFiltering}))||(c=1)),r.css("height",o+e+a+l+c*o+"px"),s.gridHeight=i.gridHeight=t.elementHeight(r)}(),s.refreshCanvas(!0)}function p(){s.gridWidth=i.gridWidth=t.elementWidth(r),s.gridHeight=i.gridHeight=t.elementHeight(r),s.refreshCanvas(!0)}angular.element(e).on("resize",p),r.on("$destroy",(function(){angular.element(e).off("resize",p),l(),c()})),l=i.$watch((function(){return s.hasLeftContainer()}),(function(e,t){e!==t&&s.refreshCanvas(!0)})),c=i.$watch((function(){return s.hasRightContainer()}),(function(e,t){e!==t&&s.refreshCanvas(!0)})),d(),s.renderingComplete(),function e(){r[0].offsetWidth<=0&&u<20?(setTimeout(e,100),u++):i.$applyAsync(d)}()}}}}}angular.module("ui.grid").controller("uiGridController",["$scope","$element","$attrs","gridUtil","$q","uiGridConstants","gridClassFactory","$parse","$compile",function(e,t,n,i,r,o,a,s,l){var c,u=this,d=[];function p(e){return e?e.length:0}function h(t,n){t&&t!==n&&(u.grid.options.columnDefs=e.uiGrid.columnDefs,u.grid.callDataChangeCallbacks(o.dataChange.COLUMN,{orderByColumnDefs:!0,preCompileCellTemplates:!0}))}function f(t){var i=[];if(u.grid.options.fastWatch&&(t=angular.isString(e.uiGrid.data)?u.grid.appScope[e.uiGrid.data]:e.uiGrid.data),c=t,t){var a=u.grid.columns.length>(u.grid.rowHeaderColumns?u.grid.rowHeaderColumns.length:0);!a&&!n.uiGridColumns&&0===u.grid.options.columnDefs.length&&t.length>0&&u.grid.buildColumnDefsFromData(t),!a&&(u.grid.options.columnDefs.length>0||t.length>0)&&i.push(u.grid.buildColumns().then((function(){u.grid.preCompileCellTemplates()})).catch(angular.noop)),r.all(i).then((function(){u.grid.modifyRows(c).then((function(){u.grid.redrawInPlace(!0),e.$evalAsync((function(){u.grid.refreshCanvas(!0),u.grid.callDataChangeCallbacks(o.dataChange.ROW)}))})).catch(angular.noop)})).catch(angular.noop)}}u.grid=a.createGrid(e.uiGrid),u.grid.appScope=u.grid.appScope||e.$parent,t.addClass("grid"+u.grid.id),u.grid.rtl="rtl"===i.getStyles(t[0]).direction,e.grid=u.grid,n.uiGridColumns&&d.push(n.$observe("uiGridColumns",(function(e){u.grid.options.columnDefs=angular.isString(e)?angular.fromJson(e):e,u.grid.buildColumns().then((function(){u.grid.preCompileCellTemplates(),u.grid.refreshCanvas(!0)})).catch(angular.noop)}))),u.grid.options.fastWatch?(u.uiGrid=e.uiGrid,angular.isString(e.uiGrid.data)?(d.push(e.$parent.$watch(e.uiGrid.data,f)),d.push(e.$parent.$watch((function(){return u.grid.appScope[e.uiGrid.data]?u.grid.appScope[e.uiGrid.data].length:void 0}),f))):(d.push(e.$parent.$watch((function(){return e.uiGrid.data}),f)),d.push(e.$parent.$watch((function(){return p(e.uiGrid.data)}),(function(){f(e.uiGrid.data)})))),d.push(e.$parent.$watch((function(){return e.uiGrid.columnDefs}),h)),d.push(e.$parent.$watch((function(){return p(e.uiGrid.columnDefs)}),(function(){h(e.uiGrid.columnDefs)})))):(angular.isString(e.uiGrid.data)?d.push(e.$parent.$watchCollection(e.uiGrid.data,f)):d.push(e.$parent.$watchCollection((function(){return e.uiGrid.data}),f)),d.push(e.$parent.$watchCollection((function(){return e.uiGrid.columnDefs}),h)));var g=e.$watch((function(){return u.grid.styleComputations}),(function(){u.grid.refreshCanvas(!0)}));e.$on("$destroy",(function(){d.forEach((function(e){e()})),g()})),u.fireEvent=function(t,n){n=n||{},angular.isUndefined(n.grid)&&(n.grid=u.grid),e.$broadcast(t,n)},u.innerCompile=function(t){l(t)(e)}}]),angular.module("ui.grid").directive("uiGrid",e),e.$inject=["$window","gridUtil","uiGridConstants"]}(),function(){"use strict";angular.module("ui.grid").directive("uiGridPinnedContainer",["gridUtil",function(e){return{restrict:"EA",replace:!0,template:'<div class="ui-grid-pinned-container"><div ui-grid-render-container container-id="side" row-container-name="\'body\'" col-container-name="side" bind-scroll-vertical="true" class="{{ side }} ui-grid-render-container-{{ side }}"></div></div>',scope:{side:"=uiGridPinnedContainer"},require:"^uiGrid",compile:function(){return{post:function(e,t,n,i){var r=i.grid,o=0;function a(){if("left"===e.side||"right"===e.side){for(var t=r.renderContainers[e.side].visibleColumnCache,n=0,i=0;i<t.length;i++){var o=t[i];n+=o.drawnWidth||o.width||0}return n}}t.addClass("ui-grid-pinned-container-"+e.side),"left"!==e.side&&"right"!==e.side||(r.renderContainers[e.side].getViewportWidth=function(){var e=0;this.visibleColumnCache.forEach((function(t){e+=t.drawnWidth}));var t=this.getViewportAdjustment();return e+=t.width}),r.renderContainers.body.registerViewportAdjuster((function(t){return o=a(),t.width-=o,t.side=e.side,t})),r.registerStyleComputation({priority:15,func:function(){var n="";return"left"!==e.side&&"right"!==e.side||(o=a(),t.attr("style",null),n+=".grid"+r.id+" .ui-grid-pinned-container-"+e.side+", .grid"+r.id+" .ui-grid-pinned-container-"+e.side+" .ui-grid-render-container-"+e.side+" .ui-grid-viewport { width: "+o+"px; } "),n}})}}}}}])}(),angular.module("ui.grid").factory("Grid",["$q","$compile","$parse","gridUtil","uiGridConstants","GridOptions","GridColumn","GridRow","GridApi","rowSorter","rowSearcher","GridRenderContainer","$timeout","ScrollEvent",function(e,t,n,i,r,o,a,s,l,c,u,d,p,h){var f=function(e){var t=this;if(void 0===e||void 0===e.id||!e.id)throw new Error("No ID provided. An ID must be given when creating a grid.");if(!/^[_a-zA-Z0-9-]+$/.test(e.id))throw new Error("Grid id '"+e.id+'" is invalid. It must follow CSS selector syntax rules.');function n(e){t.isScrollingVertically=!1,t.api.core.raise.scrollEnd(e),t.scrollDirection=r.scrollDirection.NONE}t.id=e.id,delete e.id,t.options=o.initialize(e),t.appScope=t.options.appScopeProvider,t.headerHeight=t.options.headerRowHeight,t.footerHeight=t.calcFooterHeight(),t.columnFooterHeight=t.calcColumnFooterHeight(),t.rtl=!1,t.gridHeight=0,t.gridWidth=0,t.columnBuilders=[],t.rowBuilders=[],t.rowsProcessors=[],t.columnsProcessors=[],t.styleComputations=[],t.viewportAdjusters=[],t.rowHeaderColumns=[],t.dataChangeCallbacks={},t.verticalScrollSyncCallBackFns={},t.horizontalScrollSyncCallBackFns={},t.renderContainers={},t.renderContainers.body=new d("body",t),t.cellValueGetterCache={},t.getRowTemplateFn=null,t.rows=[],t.columns=[],t.isScrollingVertically=!1,t.isScrollingHorizontally=!1,t.scrollDirection=r.scrollDirection.NONE,t.disableScrolling=!1;var a=i.debounce(n,t.options.scrollDebounce),s=i.debounce(n,0);function u(e){t.isScrollingHorizontally=!1,t.api.core.raise.scrollEnd(e),t.scrollDirection=r.scrollDirection.NONE}var p=i.debounce(u,t.options.scrollDebounce),h=i.debounce(u,0);t.flagScrollingVertically=function(e){t.isScrollingVertically||t.isScrollingHorizontally||t.api.core.raise.scrollBegin(e),t.isScrollingVertically=!0,0!==t.options.scrollDebounce&&e.withDelay?a(e):s(e)},t.flagScrollingHorizontally=function(e){t.isScrollingVertically||t.isScrollingHorizontally||t.api.core.raise.scrollBegin(e),t.isScrollingHorizontally=!0,0!==t.options.scrollDebounce&&e.withDelay?p(e):h(e)},t.scrollbarHeight=0,t.scrollbarWidth=0,t.options.enableHorizontalScrollbar===r.scrollbars.ALWAYS&&(t.scrollbarHeight=i.getScrollbarWidth()),t.options.enableVerticalScrollbar===r.scrollbars.ALWAYS&&(t.scrollbarWidth=i.getScrollbarWidth()),t.api=new l(t),t.api.registerMethod("core","refresh",this.refresh),t.api.registerMethod("core","queueGridRefresh",this.queueGridRefresh),t.api.registerMethod("core","refreshRows",this.refreshRows),t.api.registerMethod("core","queueRefresh",this.queueRefresh),t.api.registerMethod("core","handleWindowResize",this.handleWindowResize),t.api.registerMethod("core","addRowHeaderColumn",this.addRowHeaderColumn),t.api.registerMethod("core","scrollToIfNecessary",(function(e,n){return t.scrollToIfNecessary(e,n)})),t.api.registerMethod("core","scrollTo",(function(e,n){return t.scrollTo(e,n)})),t.api.registerMethod("core","registerRowsProcessor",this.registerRowsProcessor),t.api.registerMethod("core","registerColumnsProcessor",this.registerColumnsProcessor),t.api.registerMethod("core","sortHandleNulls",c.handleNulls),t.api.registerEvent("core","sortChanged"),t.api.registerEvent("core","columnVisibilityChanged"),t.api.registerMethod("core","notifyDataChange",this.notifyDataChange),t.api.registerMethod("core","clearAllFilters",this.clearAllFilters),t.registerDataChangeCallback(t.columnRefreshCallback,[r.dataChange.COLUMN]),t.registerDataChangeCallback(t.processRowsCallback,[r.dataChange.EDIT]),t.registerDataChangeCallback(t.updateFooterHeightCallback,[r.dataChange.OPTIONS]),t.registerStyleComputation({priority:10,func:t.getFooterStyles})};f.prototype.calcFooterHeight=function(){if(!this.hasFooter())return 0;var e=0;return this.options.showGridFooter&&(e+=this.options.gridFooterHeight),e+this.calcColumnFooterHeight()},f.prototype.calcColumnFooterHeight=function(){var e=0;return this.options.showColumnFooter&&(e+=this.options.columnFooterHeight),e},f.prototype.getFooterStyles=function(){return".grid"+this.id+" .ui-grid-footer-aggregates-row { height: "+this.options.columnFooterHeight+"px; } .grid"+this.id+" .ui-grid-footer-info { height: "+this.options.gridFooterHeight+"px; }"},f.prototype.hasFooter=function(){return this.options.showGridFooter||this.options.showColumnFooter},f.prototype.isRTL=function(){return this.rtl},f.prototype.registerColumnBuilder=function(e){this.columnBuilders.push(e)},f.prototype.buildColumnDefsFromData=function(e){this.options.columnDefs=i.getColumnsFromData(e,this.options.excludeProperties)},f.prototype.registerRowBuilder=function(e){this.rowBuilders.push(e)},f.prototype.registerDataChangeCallback=function(e,t,n){var o=i.nextUid();t||(t=[r.dataChange.ALL]),Array.isArray(t)||i.logError("Expected types to be an array or null in registerDataChangeCallback, value passed was: "+t),this.dataChangeCallbacks[o]={callback:e,types:t,_this:n};var a=this;return function(){delete a.dataChangeCallbacks[o]}},f.prototype.callDataChangeCallbacks=function(e,t){angular.forEach(this.dataChangeCallbacks,(function(n,i){-1===n.types.indexOf(r.dataChange.ALL)&&-1===n.types.indexOf(e)&&e!==r.dataChange.ALL||(n._this?n.callback.apply(n._this,this,t):n.callback(this,t))}),this)},f.prototype.notifyDataChange=function(e){var t=r.dataChange;e===t.ALL||e===t.COLUMN||e===t.EDIT||e===t.ROW||e===t.OPTIONS?this.callDataChangeCallbacks(e):i.logError("Notified of a data change, but the type was not recognised, so no action taken, type was: "+e)},f.prototype.columnRefreshCallback=function(e,t){e.buildColumns(t),e.queueGridRefresh()},f.prototype.processRowsCallback=function(e){e.queueGridRefresh()},f.prototype.updateFooterHeightCallback=function(e){e.footerHeight=e.calcFooterHeight(),e.columnFooterHeight=e.calcColumnFooterHeight()},f.prototype.getColumn=function(e){var t=this.columns.filter((function(t){return t.colDef.name===e}));return t.length>0?t[0]:null},f.prototype.getColDef=function(e){var t=this.options.columnDefs.filter((function(t){return t.name===e}));return t.length>0?t[0]:null},f.prototype.assignTypes=function(){var e=this;e.options.columnDefs.forEach((function(t,n){if(!t.type){var r=new a(t,n,e),o=e.rows.length>0?e.rows[0]:null;t.type=o?i.guessType(e.getCellValue(o,r)):"string"}}))},f.prototype.isRowHeaderColumn=function(e){return-1!==this.rowHeaderColumns.indexOf(e)},f.prototype.addRowHeaderColumn=function(e,t,n){var r=this;void 0===t&&(t=0);var o=new a(e,i.nextUid(),r);o.isRowHeader=!0,r.isRTL()?(r.createRightContainer(),o.renderContainer="right"):(r.createLeftContainer(),o.renderContainer="left"),r.columnBuilders[0](e,o,r.options).then((function(){o.enableFiltering=!1,o.enableSorting=!1,o.enableHiding=!1,o.headerPriority=t,r.rowHeaderColumns.push(o),r.rowHeaderColumns=r.rowHeaderColumns.sort((function(e,t){return e.headerPriority-t.headerPriority})),n||r.buildColumns().then((function(){r.preCompileCellTemplates(),r.queueGridRefresh()})).catch(angular.noop)})).catch(angular.noop)},f.prototype.getOnlyDataColumns=function(){var e=this,t=[];return e.columns.forEach((function(n){-1===e.rowHeaderColumns.indexOf(n)&&t.push(n)})),t},f.prototype.buildColumns=function(t){var n={orderByColumnDefs:!1};angular.extend(n,t);var r,o=this,s=[],l=o.rowHeaderColumns.length;for(r=0;r<o.columns.length;r++)o.getColDef(o.columns[r].name)||(o.columns.splice(r,1),r--);for(var c=o.rowHeaderColumns.length-1;c>=0;c--)o.columns.unshift(o.rowHeaderColumns[c]);if(o.options.columnDefs.forEach((function(e,t){o.preprocessColDef(e);var n=o.getColumn(e.name);n?n.updateColumnDef(e,!1):(n=new a(e,i.nextUid(),o),o.columns.splice(t+l,0,n)),o.columnBuilders.forEach((function(t){s.push(t.call(o,e,n,o.options))}))})),n.orderByColumnDefs){var u=o.columns.slice(0),d=Math.min(o.options.columnDefs.length,o.columns.length);for(r=0;r<d;r++)u[r+l]=o.columns[r+l].name!==o.options.columnDefs[r].name?o.getColumn(o.options.columnDefs[r].name):o.columns[r+l];o.columns.length=0,Array.prototype.splice.apply(o.columns,[0,0].concat(u))}return e.all(s).then((function(){o.rows.length>0&&o.assignTypes(),n.preCompileCellTemplates&&o.preCompileCellTemplates()})).catch(angular.noop)},f.prototype.preCompileCellTemplate=function(e){var n=e.cellTemplate.replace(r.MODEL_COL_FIELD,this.getQualifiedColField(e));n=n.replace(r.COL_FIELD,"grid.getCellValue(row, col)");var i=t(n);e.compiledElementFn=i,e.compiledElementFnDefer&&e.compiledElementFnDefer.resolve(e.compiledElementFn)},f.prototype.preCompileCellTemplates=function(){var e=this;e.columns.forEach((function(t){t.cellTemplate?e.preCompileCellTemplate(t):t.cellTemplatePromise&&t.cellTemplatePromise.then((function(){e.preCompileCellTemplate(t)})).catch(angular.noop)}))},f.prototype.getQualifiedColField=function(e){return e.field===r.ENTITY_BINDING?"row.entity":i.preEval("row.entity."+e.field)},f.prototype.createLeftContainer=function(){this.hasLeftContainer()||(this.renderContainers.left=new d("left",this,{disableColumnOffset:!0}))},f.prototype.createRightContainer=function(){this.hasRightContainer()||(this.renderContainers.right=new d("right",this,{disableColumnOffset:!0}))},f.prototype.hasLeftContainer=function(){return void 0!==this.renderContainers.left},f.prototype.hasRightContainer=function(){return void 0!==this.renderContainers.right},f.prototype.preprocessColDef=function(e){if(!e.field&&!e.name)throw new Error("colDef.name or colDef.field property is required");if(void 0===e.name&&void 0!==e.field){for(var t=e.field,n=2;this.getColumn(t);)t=e.field+n.toString(),n++;e.name=t}},f.prototype.newInN=function(e,t,n,i){for(var r=[],o=0;o<t.length;o++){for(var a=i?t[o][i]:t[o],s=!1,l=0;l<e.length;l++)if(this.options.rowEquality(a,n?e[l][n]:e[l])){s=!0;break}s||r.push(a)}return r},f.prototype.getRow=function(e,t){var n=this,i=(t=void 0===t?n.rows:t).filter((function(t){return n.options.rowEquality(t.entity,e)}));return i.length>0?i[0]:null},f.prototype.modifyRows=function(t){var n=this,i=n.rows.slice(0),r=n.rowHashMap||n.createRowHashMap();n.rowHashMap=n.createRowHashMap(),n.rows.length=0,t.forEach((function(e,t){var o,a;(a=n.options.enableRowHashing?r.get(e):n.getRow(e,i))&&((o=a).entity=e),o||(o=n.processRowBuilders(new s(e,t,n))),n.rows.push(o),n.rowHashMap.put(e,o)})),n.assignTypes();var o=e.when(n.processRowsProcessors(n.rows)).then((function(e){return n.setVisibleRows(e)})).catch(angular.noop),a=e.when(n.processColumnsProcessors(n.columns)).then((function(e){return n.setVisibleColumns(e)})).catch(angular.noop);return e.all([o,a])},f.prototype.addRows=function(e){for(var t=this.rows.length,n=0;n<e.length;n++){var i=this.processRowBuilders(new s(e[n],n+t,this));if(this.options.enableRowHashing){var r=this.rowHashMap.get(i.entity);r&&(r.row=i)}this.rows.push(i)}},f.prototype.processRowBuilders=function(e){var t=this;return t.rowBuilders.forEach((function(n){n.call(t,e,t.options)})),e},f.prototype.registerStyleComputation=function(e){this.styleComputations.push(e)},f.prototype.registerRowsProcessor=function(e,t){if(!angular.isFunction(e))throw"Attempt to register non-function rows processor: "+e;this.rowsProcessors.push({processor:e,priority:t}),this.rowsProcessors.sort((function(e,t){return e.priority-t.priority}))},f.prototype.removeRowsProcessor=function(e){var t=-1;this.rowsProcessors.forEach((function(n,i){n.processor===e&&(t=i)})),-1!==t&&this.rowsProcessors.splice(t,1)},f.prototype.processRowsProcessors=function(t){var n=this,i=t.slice(0);if(0===n.rowsProcessors.length)return e.when(i);var r=e.defer();return function t(i,o){return e.when(n.rowsProcessors[i].processor.call(n,o,n.columns)).then((function(e){if(!e)throw"Processor at index "+i+" did not return a set of renderable rows";if(!angular.isArray(e))throw"Processor at index "+i+" did not return an array";if(++i<=n.rowsProcessors.length-1)return t(i,e);r.resolve(e)})).catch(angular.noop)}(0,i),r.promise},f.prototype.setVisibleRows=function(e){for(var t in this.renderContainers){var n=this.renderContainers[t];n.canvasHeightShouldUpdate=!0,void 0===n.visibleRowCache?n.visibleRowCache=[]:n.visibleRowCache.length=0}for(var i=0;i<e.length;i++){var r=e[i];r.visible&&this.renderContainers[void 0!==r.renderContainer&&r.renderContainer?r.renderContainer:"body"].visibleRowCache.push(r)}this.api.core.raise.rowsVisibleChanged(this.api),this.api.core.raise.rowsRendered(this.api)},f.prototype.registerColumnsProcessor=function(e,t){if(!angular.isFunction(e))throw"Attempt to register non-function rows processor: "+e;this.columnsProcessors.push({processor:e,priority:t}),this.columnsProcessors.sort((function(e,t){return e.priority-t.priority}))},f.prototype.removeColumnsProcessor=function(e){var t=this.columnsProcessors.indexOf(e);void 0!==t&&void 0!==t&&this.columnsProcessors.splice(t,1)},f.prototype.processColumnsProcessors=function(t){var n=this,i=t.slice(0);if(0===n.columnsProcessors.length)return e.when(i);var r=e.defer();return function t(o,a){return e.when(n.columnsProcessors[o].processor.call(n,a,n.rows)).then((function(e){if(!e)throw"Processor at index "+o+" did not return a set of renderable rows";if(!angular.isArray(e))throw"Processor at index "+o+" did not return an array";if(++o<=n.columnsProcessors.length-1)return t(o,i);r.resolve(i)})).catch(angular.noop)}(0,i),r.promise},f.prototype.setVisibleColumns=function(e){for(var t in this.renderContainers)this.renderContainers[t].visibleColumnCache.length=0;for(var n=0;n<e.length;n++){var i=e[n];i.visible&&(void 0!==i.renderContainer&&i.renderContainer?this.renderContainers[i.renderContainer].visibleColumnCache.push(i):this.renderContainers.body.visibleColumnCache.push(i))}},f.prototype.handleWindowResize=function(e){return this.gridWidth=i.elementWidth(this.element),this.gridHeight=i.elementHeight(this.element),this.queueRefresh()},f.prototype.queueRefresh=function(){var e=this;return e.refreshCanceller&&p.cancel(e.refreshCanceller),e.refreshCanceller=p((function(){e.refreshCanvas(!0)})),e.refreshCanceller.then((function(){e.refreshCanceller=null})).catch(angular.noop),e.refreshCanceller},f.prototype.queueGridRefresh=function(){var e=this;return e.gridRefreshCanceller&&p.cancel(e.gridRefreshCanceller),e.gridRefreshCanceller=p((function(){e.refresh(!0)})),e.gridRefreshCanceller.then((function(){e.gridRefreshCanceller=null})).catch(angular.noop),e.gridRefreshCanceller},f.prototype.updateCanvasHeight=function(){for(var e in this.renderContainers)this.renderContainers.hasOwnProperty(e)&&(this.renderContainers[e].canvasHeightShouldUpdate=!0)},f.prototype.buildStyles=function(){var e=this;e.customStyles="",e.styleComputations.sort((function(e,t){return null===e.priority?1:null===t.priority?-1:null===e.priority&&null===t.priority?0:e.priority-t.priority})).forEach((function(t){var n=t.func.call(e);angular.isString(n)&&(e.customStyles+="\n"+n)}))},f.prototype.minColumnsToRender=function(){var e=this,t=this.getViewportWidth(),n=0,i=0;return e.columns.forEach((function(r,o){if(i<t)i+=r.drawnWidth,n++;else{for(var a=0,s=o;s>=o-n;s--)a+=e.columns[s].drawnWidth;a<t&&n++}})),n},f.prototype.getBodyHeight=function(){return this.getViewportHeight()},f.prototype.getViewportHeight=function(){return this.gridHeight-this.headerHeight-this.footerHeight+this.getViewportAdjustment().height},f.prototype.getViewportWidth=function(){return this.gridWidth+this.getViewportAdjustment().width},f.prototype.getHeaderViewportWidth=function(){return this.getViewportWidth()},f.prototype.addVerticalScrollSync=function(e,t){this.verticalScrollSyncCallBackFns[e]=t},f.prototype.addHorizontalScrollSync=function(e,t){this.horizontalScrollSyncCallBackFns[e]=t},f.prototype.scrollContainers=function(e,t){if(t.y){var n=["body","left","right"];this.flagScrollingVertically(t),"body"===e?n=["left","right"]:"left"===e?n=["body","right"]:"right"===e&&(n=["body","left"]);for(var i=0;i<n.length;i++){var r=n[i];this.verticalScrollSyncCallBackFns[r]&&this.verticalScrollSyncCallBackFns[r](t)}}if(t.x){var o=["body","bodyheader","bodyfooter"];this.flagScrollingHorizontally(t),"body"===e&&(o=["bodyheader","bodyfooter"]);for(var a=0;a<o.length;a++){var s=o[a];this.horizontalScrollSyncCallBackFns[s]&&this.horizontalScrollSyncCallBackFns[s](t)}}},f.prototype.registerViewportAdjuster=function(e){this.viewportAdjusters.push(e)},f.prototype.removeViewportAdjuster=function(e){var t=this.viewportAdjusters.indexOf(e);void 0!==t&&void 0!==t&&this.viewportAdjusters.splice(t,1)},f.prototype.getViewportAdjustment=function(){var e={height:0,width:0};return this.viewportAdjusters.forEach((function(t){e=t.call(this,e)})),e},f.prototype.getVisibleRowCount=function(){return this.renderContainers.body.visibleRowCache.length},f.prototype.getVisibleRows=function(){return this.renderContainers.body.visibleRowCache},f.prototype.getVisibleColumnCount=function(){return this.renderContainers.body.visibleColumnCache.length},f.prototype.searchRows=function(e){return u.search(this,e,this.columns)},f.prototype.sortByColumn=function(e){return c.sort(this,e,this.columns)},f.prototype.getCellValue=function(e,t){return void 0!==e.entity["$$"+t.uid]?e.entity["$$"+t.uid].rendered:this.options.flatEntityAccess&&void 0!==t.field?e.entity[t.field]:(t.cellValueGetterCache||(t.cellValueGetterCache=n(e.getEntityQualifiedColField(t))),t.cellValueGetterCache(e))},f.prototype.getCellDisplayValue=function(e,t){if(!t.cellDisplayGetterCache){var i=t.cellFilter?" | "+t.cellFilter:"";t.cellDisplayGetterCache=n(void 0!==e.entity["$$"+t.uid]?e.entity["$$"+t.uid].rendered+i:this.options.flatEntityAccess&&void 0!==t.field?"entity."+t.field+i:e.getEntityQualifiedColField(t)+i)}return t.cellDisplayGetterCache(e)},f.prototype.getNextColumnSortPriority=function(){var e=0;return this.columns.forEach((function(t){t.sort&&void 0!==t.sort.priority&&t.sort.priority>=e&&(e=t.sort.priority+1)})),e},f.prototype.resetColumnSorting=function(e){this.columns.forEach((function(t){t===e||t.suppressRemoveSort||(t.sort={})}))},f.prototype.getColumnSorting=function(){var e=[];return this.columns.slice(0).sort(c.prioritySort).forEach((function(t){t.sort&&void 0!==t.sort.direction&&t.sort.direction&&(t.sort.direction===r.ASC||t.sort.direction===r.DESC)&&e.push(t)})),e},f.prototype.sortColumn=function(t,n,i){var r=null;if(void 0===t||!t)throw new Error("No column parameter provided");if("boolean"==typeof n?i=n:r=n,i?void 0===t.sort.priority&&(t.sort.priority=this.getNextColumnSortPriority()):(this.resetColumnSorting(t),t.sort.priority=void 0,t.sort.priority=this.getNextColumnSortPriority()),r)t.sort.direction=r;else{var o=t.sortDirectionCycle.indexOf(t.sort.direction?t.sort.direction:null);o=(o+1)%t.sortDirectionCycle.length,t.colDef&&t.suppressRemoveSort&&!t.sortDirectionCycle[o]&&(o=(o+1)%t.sortDirectionCycle.length),t.sortDirectionCycle[o]?t.sort.direction=t.sortDirectionCycle[o]:g(t,this)}return this.api.core.raise.sortChanged(this,this.getColumnSorting()),e.when(t)};var g=function(e,t){t.columns.forEach((function(t){t.sort&&void 0!==t.sort.priority&&t.sort.priority>e.sort.priority&&(t.sort.priority-=1)})),e.sort={}};function m(){}return f.prototype.renderingComplete=function(){angular.isFunction(this.options.onRegisterApi)&&this.options.onRegisterApi(this.api),this.api.core.raise.renderingComplete(this.api)},f.prototype.createRowHashMap=function(){var e=new m;return e.grid=this,e},f.prototype.refresh=function(t){var n=this,i=n.processRowsProcessors(n.rows).then((function(e){n.setVisibleRows(e)})).catch(angular.noop),r=n.processColumnsProcessors(n.columns).then((function(e){n.setVisibleColumns(e)})).catch(angular.noop);return e.all([i,r]).then((function(){n.refreshCanvas(!0),n.redrawInPlace(t)})).catch(angular.noop)},f.prototype.refreshRows=function(){var e=this;return e.processRowsProcessors(e.rows).then((function(t){e.setVisibleRows(t),e.redrawInPlace(),e.refreshCanvas(!0)})).catch(angular.noop)},f.prototype.refreshCanvas=function(t){var n=this,r=e.defer(),o=[];for(var a in n.renderContainers)if(n.renderContainers.hasOwnProperty(a)){var s=n.renderContainers[a];if(null===s.canvasWidth||isNaN(s.canvasWidth))continue;(s.header||s.headerCanvas)&&(s.explicitHeaderHeight=s.explicitHeaderHeight||null,s.explicitHeaderCanvasHeight=s.explicitHeaderCanvasHeight||null,o.push(s))}return t&&n.buildStyles(),p(o.length>0?function(){var e,a,s=!1,l=0,c=0,u=function(e,t){return e!==t&&(s=!0),t};for(e=0;e<o.length;e++)if(null!==(a=o[e]).canvasWidth&&!isNaN(a.canvasWidth)){if(a.header){var d=a.headerHeight=u(a.headerHeight,parseInt(i.outerElementHeight(a.header),10)),p=i.getBorderSize(a.header,"top"),h=i.getBorderSize(a.header,"bottom"),f=parseInt(d-p-h,10);a.innerHeaderHeight=f=f<0?0:f,!a.explicitHeaderHeight&&f>l&&(l=f)}if(a.headerCanvas){var g=a.headerCanvasHeight=u(a.headerCanvasHeight,parseInt(i.outerElementHeight(a.headerCanvas),10));!a.explicitHeaderCanvasHeight&&g>c&&(c=g)}}for(e=0;e<o.length;e++)a=o[e],l>0&&null!=a.headerHeight&&(a.explicitHeaderHeight||a.headerHeight<l)&&(a.explicitHeaderHeight=u(a.explicitHeaderHeight,l)),c>0&&null!=a.headerCanvasHeight&&(a.explicitHeaderCanvasHeight||a.headerCanvasHeight<c)&&(a.explicitHeaderCanvasHeight=u(a.explicitHeaderCanvasHeight,c));t&&s&&n.buildStyles(),r.resolve()}:function(){r.resolve()}),r.promise},f.prototype.redrawInPlace=function(e){for(var t in this.renderContainers){var n=this.renderContainers[t];e?(n.adjustRows(n.prevScrollTop,null),n.adjustColumns(n.prevScrollLeft,null)):(n.adjustRows(null,n.prevScrolltopPercentage),n.adjustColumns(null,n.prevScrollleftPercentage))}},f.prototype.hasLeftContainerColumns=function(){return this.hasLeftContainer()&&this.renderContainers.left.renderedColumns.length>0},f.prototype.hasRightContainerColumns=function(){return this.hasRightContainer()&&this.renderContainers.right.renderedColumns.length>0},f.prototype.scrollToIfNecessary=function(t,n){var i=new h(this,"uiGrid.scrollToIfNecessary"),r=this.renderContainers.body.visibleRowCache,o=this.renderContainers.body.visibleColumnCache,a=this.renderContainers.body.prevScrollTop+this.headerHeight;a=a<0?0:a;var s=this.renderContainers.body.prevScrollLeft,l=this.renderContainers.body.prevScrollTop+this.gridHeight-this.renderContainers.body.headerHeight-this.footerHeight-this.scrollbarWidth,c=this.renderContainers.body.prevScrollLeft+Math.ceil(this.renderContainers.body.getViewportWidth());if(null!==t){var u=r.indexOf(t),d=this.renderContainers.body.getCanvasHeight()-this.renderContainers.body.getViewportHeight(),p=u*this.options.rowHeight+this.headerHeight;(p=p<0?0:p)<a?i.y={percentage:(this.renderContainers.body.prevScrollTop-(a-p))/d}:p>l&&(i.y={percentage:(p-l+this.renderContainers.body.prevScrollTop)/d})}if(null!==n){for(var f=o.indexOf(n),g=this.renderContainers.body.getCanvasWidth()-this.renderContainers.body.getViewportWidth(),m=0,v=0;v<f;v++)m+=o[v].drawnWidth;var b,y=(m=m<0?0:m)+n.drawnWidth;y=y<0?0:y,m<s?i.x={percentage:b=(b=(this.renderContainers.body.prevScrollLeft-(s-m))/g)>1?1:b}:y>c&&(i.x={percentage:b=(b=(y-c+this.renderContainers.body.prevScrollLeft)/g)>1?1:b})}var M=e.defer();if(i.y||i.x){i.withDelay=!1,this.scrollContainers("",i);var w=this.api.core.on.scrollEnd(null,(function(){M.resolve(i),w()}))}else M.resolve();return M.promise},f.prototype.scrollTo=function(e,t){var n=null,i=null;return null!=e&&(n=this.getRow(e)),null!=t&&(i=this.getColumn(t.name?t.name:t.field)),this.scrollToIfNecessary(n,i)},f.prototype.clearAllFilters=function(e,t,n){if(void 0===e&&(e=!0),void 0===t&&(t=!1),void 0===n&&(n=!1),this.columns.forEach((function(e){e.filters.forEach((function(e){e.term=void 0,t&&(e.condition=void 0),n&&(e.flags=void 0)}))})),e)return this.refreshRows()},m.prototype={put:function(e,t){this[this.grid.options.rowIdentity(e)]=t},get:function(e){return this[this.grid.options.rowIdentity(e)]},remove:function(e){var t=this[e=this.grid.options.rowIdentity(e)];return delete this[e],t}},f}]),angular.module("ui.grid").factory("GridApi",["$q","$rootScope","gridUtil","uiGridConstants","GridRow","uiGridGridMenuService",function(e,t,n,i,r,o){var a=function(e){this.grid=e,this.listeners=[],this.registerEvent("core","renderingComplete"),this.registerEvent("core","filterChanged"),this.registerMethod("core","setRowInvisible",r.prototype.setRowInvisible),this.registerMethod("core","clearRowInvisible",r.prototype.clearRowInvisible),this.registerMethod("core","getVisibleRows",this.grid.getVisibleRows),this.registerEvent("core","rowsVisibleChanged"),this.registerEvent("core","rowsRendered"),this.registerEvent("core","scrollBegin"),this.registerEvent("core","scrollEnd"),this.registerEvent("core","canvasHeightChanged"),this.registerEvent("core","gridDimensionChanged")};function s(e,n,i,r){return t.$on(e,(function(e){var t=Array.prototype.slice.call(arguments);t.splice(0,1),n.apply(r||i.api,t)}))}return a.prototype.suppressEvents=function(e,t){var n=this,i=angular.isArray(e)?e:[e],r=n.listeners.filter((function(e){return i.some((function(t){return e.handler===t}))}));r.forEach((function(e){e.dereg()})),t(),r.forEach((function(e){e.dereg=s(e.eventId,e.handler,n.grid,e._this)}))},a.prototype.registerEvent=function(e,i){var r=this;r[e]||(r[e]={});var o=r[e];o.on||(o.on={},o.raise={});var a=r.grid.id+e+i;o.raise[i]=function(){t.$emit.apply(t,[a].concat(Array.prototype.slice.call(arguments)))},o.on[i]=function(t,o,l){if(null===t||void 0!==t.$on){var c={handler:o,dereg:s(a,o,r.grid,l),eventId:a,scope:t,_this:l};r.listeners.push(c);var u=function(){c.dereg();var e=r.listeners.indexOf(c);r.listeners.splice(e,1)};return t&&t.$on("$destroy",(function(){u()})),u}n.logError("asked to listen on "+e+".on."+i+" but scope wasn't passed in the input parameters.  It is legitimate to pass null, but you've passed something else, so you probably forgot to provide scope rather than did it deliberately, not registering")}},a.prototype.registerEventsFromObject=function(e){var t=this,n=[];angular.forEach(e,(function(e,t){var i={name:t,events:[]};angular.forEach(e,(function(e,t){i.events.push(t)})),n.push(i)})),n.forEach((function(e){e.events.forEach((function(n){t.registerEvent(e.name,n)}))}))},a.prototype.registerMethod=function(e,t,i,r){this[e]||(this[e]={}),this[e][t]=n.createBoundedWrapper(r||this.grid,i)},a.prototype.registerMethodsFromObject=function(e,t){var n=this,i=[];angular.forEach(e,(function(e,t){var n={name:t,methods:[]};angular.forEach(e,(function(e,t){n.methods.push({name:t,fn:e})})),i.push(n)})),i.forEach((function(e){e.methods.forEach((function(i){n.registerMethod(e.name,i.name,i.fn,t)}))}))},a}]),angular.module("ui.grid").factory("GridColumn",["gridUtil","uiGridConstants","i18nService",function(e,t,n){function i(e,n,i){var r=this;r.grid=i,r.uid=n,r.updateColumnDef(e,!0),r.aggregationValue=void 0,r.updateAggregationValue=function(){if(r.aggregationType){var e=0,n=r.grid.getVisibleRows(),i=function(){var e=[];return n.forEach((function(t){var n=r.grid.getCellValue(t,r),i=Number(n);isNaN(i)||e.push(i)})),e};angular.isFunction(r.aggregationType)?r.aggregationValue=r.aggregationType(n,r):r.aggregationType===t.aggregationTypes.count?r.aggregationValue=r.grid.getVisibleRowCount():r.aggregationType===t.aggregationTypes.sum?(i().forEach((function(t){e+=t})),r.aggregationValue=e):r.aggregationType===t.aggregationTypes.avg?(i().forEach((function(t){e+=t})),e/=i().length,r.aggregationValue=e):r.aggregationValue=r.aggregationType===t.aggregationTypes.min?Math.min.apply(null,i()):r.aggregationType===t.aggregationTypes.max?Math.max.apply(null,i()):"\xa0"}else r.aggregationValue=void 0},this.getAggregationValue=function(){return r.aggregationValue}}return i.prototype.hideColumn=function(){this.colDef.visible=!1},i.prototype.setPropertyOrDefault=function(e,t,n){this[t]=void 0!==e[t]&&e[t]?e[t]:void 0!==this[t]?this[t]:n||{}},i.prototype.updateColumnDef=function(n,i){var r=this;if(r.colDef=n,void 0===n.name)throw new Error("colDef.name is required for column at index "+r.grid.options.columnDefs.indexOf(n));if(r.displayName=void 0===n.displayName?e.readableColumnName(n.name):n.displayName,!angular.isNumber(r.width)||!r.hasCustomWidth||n.allowCustomWidthOverride){var o=n.width,a="Cannot parse column width '"+o+"' for column named '"+n.name+"'";if(r.hasCustomWidth=!1,angular.isString(o)||angular.isNumber(o))if(angular.isString(o))if(e.endsWith(o,"%")){var s=o.replace(/%/g,""),l=parseInt(s,10);if(isNaN(l))throw new Error(a);r.width=o}else if(o.match(/^(\d+)$/))r.width=parseInt(o.match(/^(\d+)$/)[1],10);else{if(!o.match(/^\*+$/))throw new Error(a);r.width=o}else r.width=o;else r.width="*"}["minWidth","maxWidth"].forEach((function(e){var t=n[e],i="Cannot parse column "+e+" '"+t+"' for column named '"+n.name+"'";if(angular.isString(t)||angular.isNumber(t))if(angular.isString(t)){if(!t.match(/^(\d+)$/))throw new Error(i);r[e]=parseInt(t.match(/^(\d+)$/)[1],10)}else r[e]=t;else r[e]="minWidth"===e?30:9e3})),r.field=void 0===n.field?n.name:n.field,"string"!=typeof r.field&&e.logError("Field is not a string, this is likely to break the code, Field is: "+r.field),r.name=n.name,r.displayName=void 0===n.displayName?e.readableColumnName(n.name):n.displayName,r.aggregationType=angular.isDefined(n.aggregationType)?n.aggregationType:null,r.footerCellTemplate=angular.isDefined(n.footerCellTemplate)?n.footerCellTemplate:null,r.cellTooltip=void 0!==n.cellTooltip&&!1!==n.cellTooltip&&(!0===n.cellTooltip?function(e,t){return r.grid.getCellValue(e,t)}:"function"==typeof n.cellTooltip?n.cellTooltip:function(e,t){return t.colDef.cellTooltip}),r.headerTooltip=void 0!==n.headerTooltip&&!1!==n.headerTooltip&&(!0===n.headerTooltip?function(e){return e.displayName}:"function"==typeof n.headerTooltip?n.headerTooltip:function(e){return e.colDef.headerTooltip}),r.footerCellClass=n.footerCellClass,r.cellClass=n.cellClass,r.headerCellClass=n.headerCellClass,r.cellFilter=n.cellFilter?n.cellFilter:"",r.sortCellFiltered=!!n.sortCellFiltered,r.filterCellFiltered=!!n.filterCellFiltered,r.headerCellFilter=n.headerCellFilter?n.headerCellFilter:"",r.footerCellFilter=n.footerCellFilter?n.footerCellFilter:"",r.visible=e.isNullOrUndefined(n.visible)||n.visible,r.headerClass=n.headerClass,r.enableSorting=void 0!==n.enableSorting?n.enableSorting:r.grid.options.enableSorting,r.sortingAlgorithm=n.sortingAlgorithm,r.sortDirectionCycle=void 0!==n.sortDirectionCycle?n.sortDirectionCycle:[null,t.ASC,t.DESC],void 0===r.suppressRemoveSort&&(r.suppressRemoveSort=void 0!==n.suppressRemoveSort&&n.suppressRemoveSort),r.enableFiltering=void 0===n.enableFiltering||n.enableFiltering,r.setPropertyOrDefault(n,"menuItems",[]),i&&r.setPropertyOrDefault(n,"sort");var c=[];n.filter?c.push(n.filter):n.filters?c=n.filters:c.push({}),i?(r.setPropertyOrDefault(n,"filter"),r.setPropertyOrDefault(n,"extraStyle"),r.setPropertyOrDefault(n,"filters",c)):r.filters.length===c.length&&r.filters.forEach((function(e,t){void 0!==c[t].placeholder&&(e.placeholder=c[t].placeholder),void 0!==c[t].ariaLabel&&(e.ariaLabel=c[t].ariaLabel),void 0!==c[t].flags&&(e.flags=c[t].flags),void 0!==c[t].type&&(e.type=c[t].type),void 0!==c[t].selectOptions&&(e.selectOptions=c[t].selectOptions)}))},i.prototype.unsort=function(){this.sort={},this.grid.api.core.raise.sortChanged(this.grid,this.grid.getColumnSorting())},i.prototype.getColClass=function(e){var n=t.COL_CLASS_PREFIX+this.uid;return e?"."+n:n},i.prototype.isPinnedLeft=function(){return"left"===this.renderContainer},i.prototype.isPinnedRight=function(){return"right"===this.renderContainer},i.prototype.getColClassDefinition=function(){return" .grid"+this.grid.id+" "+this.getColClass(!0)+" { min-width: "+this.drawnWidth+"px; max-width: "+this.drawnWidth+"px; }"},i.prototype.getRenderContainer=function(){var e=this.renderContainer;return null!==e&&""!==e&&void 0!==e||(e="body"),this.grid.renderContainers[e]},i.prototype.showColumn=function(){this.colDef.visible=!0},i.prototype.getAggregationText=function(){if(this.colDef.aggregationHideLabel)return"";if(this.colDef.aggregationLabel)return this.colDef.aggregationLabel;switch(this.colDef.aggregationType){case t.aggregationTypes.count:return n.getSafeText("aggregation.count");case t.aggregationTypes.sum:return n.getSafeText("aggregation.sum");case t.aggregationTypes.avg:return n.getSafeText("aggregation.avg");case t.aggregationTypes.min:return n.getSafeText("aggregation.min");case t.aggregationTypes.max:return n.getSafeText("aggregation.max");default:return""}},i.prototype.getCellTemplate=function(){return this.cellTemplatePromise},i.prototype.getCompiledElementFn=function(){return this.compiledElementFnDefer.promise},i}]),angular.module("ui.grid").factory("GridOptions",["gridUtil","uiGridConstants",function(e,t){return{initialize:function(n){return n.onRegisterApi=n.onRegisterApi||angular.noop(),n.data=n.data||[],n.columnDefs=n.columnDefs||[],n.excludeProperties=n.excludeProperties||["$$hashKey"],n.enableRowHashing=!1!==n.enableRowHashing,n.rowIdentity=n.rowIdentity||function(t){return e.hashKey(t)},n.getRowIdentity=n.getRowIdentity||function(e){return e.$$hashKey},n.flatEntityAccess=!0===n.flatEntityAccess,n.showHeader=void 0===n.showHeader||n.showHeader,n.headerRowHeight=n.showHeader?void 0!==n.headerRowHeight?n.headerRowHeight:30:0,n.rowHeight="string"==typeof n.rowHeight?parseInt(n.rowHeight)||30:n.rowHeight||30,n.minRowsToShow=void 0!==n.minRowsToShow?n.minRowsToShow:10,n.showGridFooter=!0===n.showGridFooter,n.showColumnFooter=!0===n.showColumnFooter,n.columnFooterHeight=void 0!==n.columnFooterHeight?n.columnFooterHeight:30,n.gridFooterHeight=void 0!==n.gridFooterHeight?n.gridFooterHeight:30,n.columnWidth=void 0!==n.columnWidth?n.columnWidth:50,n.maxVisibleColumnCount=void 0!==n.maxVisibleColumnCount?n.maxVisibleColumnCount:200,n.virtualizationThreshold=void 0!==n.virtualizationThreshold?n.virtualizationThreshold:20,n.columnVirtualizationThreshold=void 0!==n.columnVirtualizationThreshold?n.columnVirtualizationThreshold:10,n.excessRows=void 0!==n.excessRows?n.excessRows:4,n.scrollThreshold=void 0!==n.scrollThreshold?n.scrollThreshold:4,n.excessColumns=void 0!==n.excessColumns?n.excessColumns:4,n.horizontalScrollThreshold=void 0!==n.horizontalScrollThreshold?n.horizontalScrollThreshold:2,n.aggregationCalcThrottle=void 0!==n.aggregationCalcThrottle?n.aggregationCalcThrottle:500,n.wheelScrollThrottle=void 0!==n.wheelScrollThrottle?n.wheelScrollThrottle:70,n.scrollDebounce=void 0!==n.scrollDebounce?n.scrollDebounce:300,n.enableSorting=!1!==n.enableSorting,n.enableFiltering=!0===n.enableFiltering,n.enableColumnMenus=!1!==n.enableColumnMenus,n.enableVerticalScrollbar=void 0!==n.enableVerticalScrollbar?n.enableVerticalScrollbar:t.scrollbars.ALWAYS,n.enableHorizontalScrollbar=void 0!==n.enableHorizontalScrollbar?n.enableHorizontalScrollbar:t.scrollbars.ALWAYS,n.enableMinHeightCheck=!1!==n.enableMinHeightCheck,n.minimumColumnSize=void 0!==n.minimumColumnSize?n.minimumColumnSize:10,n.rowEquality=n.rowEquality||function(e,t){return e===t},n.headerTemplate=n.headerTemplate||null,n.footerTemplate=n.footerTemplate||"ui-grid/ui-grid-footer",n.gridFooterTemplate=n.gridFooterTemplate||"ui-grid/ui-grid-grid-footer",n.rowTemplate=n.rowTemplate||"ui-grid/ui-grid-row",n.gridMenuTemplate=n.gridMenuTemplate||"ui-grid/uiGridMenu",n.appScopeProvider=n.appScopeProvider||null,n}}}]),angular.module("ui.grid").factory("GridRenderContainer",["gridUtil","uiGridConstants",function(e,t){function n(e,t,n){var i=this;i.name=e,i.grid=t,i.visibleRowCache=[],i.visibleColumnCache=[],i.renderedRows=[],i.renderedColumns=[],i.prevScrollTop=0,i.prevScrolltopPercentage=0,i.prevRowScrollIndex=0,i.prevScrollLeft=0,i.prevScrollleftPercentage=0,i.prevColumnScrollIndex=0,i.columnStyles="",i.viewportAdjusters=[],i.hasHScrollbar=!1,i.hasVScrollbar=!1,i.canvasHeightShouldUpdate=!0,i.$$canvasHeight=0,n&&angular.isObject(n)&&angular.extend(i,n),t.registerStyleComputation({priority:5,func:function(){return i.updateColumnWidths(),i.columnStyles}})}return n.prototype.reset=function(){this.visibleColumnCache.length=0,this.visibleRowCache.length=0,this.renderedRows.length=0,this.renderedColumns.length=0},n.prototype.containsColumn=function(e){return-1!==this.visibleColumnCache.indexOf(e)},n.prototype.minRowsToRender=function(){for(var e=0,t=0,n=this.getViewportHeight(),i=this.visibleRowCache.length-1;t<n&&i>=0;i--)t+=this.visibleRowCache[i].height,e++;return e},n.prototype.minColumnsToRender=function(){for(var e=this.getViewportWidth(),t=0,n=0,i=0;i<this.visibleColumnCache.length;i++){var r=this.visibleColumnCache[i];if(n<e)n+=r.drawnWidth?r.drawnWidth:0,t++;else{for(var o=0,a=i;a>=i-t;a--)o+=this.visibleColumnCache[a].drawnWidth?this.visibleColumnCache[a].drawnWidth:0;o<e&&t++}}return t},n.prototype.getVisibleRowCount=function(){return this.visibleRowCache.length},n.prototype.registerViewportAdjuster=function(e){this.viewportAdjusters.push(e)},n.prototype.removeViewportAdjuster=function(e){var t=this.viewportAdjusters.indexOf(e);t>-1&&this.viewportAdjusters.splice(t,1)},n.prototype.getViewportAdjustment=function(){var e={height:0,width:0};return this.viewportAdjusters.forEach((function(t){e=t.call(this,e)})),e},n.prototype.getMargin=function(e){var t=0;return this.viewportAdjusters.forEach((function(n){var i=n.call(this,{height:0,width:0});i.side&&i.side===e&&(t+=-1*i.width)})),t},n.prototype.getViewportHeight=function(){return this.grid.gridHeight-(this.headerHeight?this.headerHeight:this.grid.headerHeight)-this.grid.footerHeight+this.getViewportAdjustment().height},n.prototype.getViewportWidth=function(){return this.grid.gridWidth+this.getViewportAdjustment().width},n.prototype.getHeaderViewportWidth=function(){return this.getViewportWidth()},n.prototype.getCanvasHeight=function(){var e=this;if(!e.canvasHeightShouldUpdate)return e.$$canvasHeight;var t=e.$$canvasHeight;return e.$$canvasHeight=0,e.visibleRowCache.forEach((function(t){e.$$canvasHeight+=t.height})),e.canvasHeightShouldUpdate=!1,e.grid.api.core.raise.canvasHeightChanged(t,e.$$canvasHeight),e.$$canvasHeight},n.prototype.getVerticalScrollLength=function(){return this.getCanvasHeight()-this.getViewportHeight()+this.grid.scrollbarHeight!==0?this.getCanvasHeight()-this.getViewportHeight()+this.grid.scrollbarHeight:-1},n.prototype.getHorizontalScrollLength=function(){return this.getCanvasWidth()-this.getViewportWidth()+this.grid.scrollbarWidth!==0?this.getCanvasWidth()-this.getViewportWidth()+this.grid.scrollbarWidth:-1},n.prototype.getCanvasWidth=function(){return this.canvasWidth},n.prototype.setRenderedRows=function(e){this.renderedRows.length=e.length;for(var t=0;t<e.length;t++)this.renderedRows[t]=e[t]},n.prototype.setRenderedColumns=function(e){this.renderedColumns.length=e.length;for(var t=0;t<e.length;t++)this.renderedColumns[t]=e[t];this.updateColumnOffset()},n.prototype.updateColumnOffset=function(){for(var e=0,t=0;t<this.currentFirstColumn;t++)e+=this.visibleColumnCache[t].drawnWidth;this.columnOffset=e},n.prototype.scrollVertical=function(e){var n=-1;if(e!==this.prevScrollTop){var i=e-this.prevScrollTop;return i>0&&(this.grid.scrollDirection=t.scrollDirection.DOWN),i<0&&(this.grid.scrollDirection=t.scrollDirection.UP),(n=e/this.getVerticalScrollLength())>1&&(n=1),n<0&&(n=0),this.adjustScrollVertical(e,n),n}},n.prototype.scrollHorizontal=function(e){var n=-1;if(e!==this.prevScrollLeft){var i=e-this.prevScrollLeft;i>0&&(this.grid.scrollDirection=t.scrollDirection.RIGHT),i<0&&(this.grid.scrollDirection=t.scrollDirection.LEFT);var r=this.getHorizontalScrollLength();return this.adjustScrollHorizontal(e,n=0!==r?e/r:0),n}},n.prototype.adjustScrollVertical=function(e,t,n){(this.prevScrollTop!==e||n)&&(void 0!==e&&null!=e||(e=(this.getCanvasHeight()-this.getViewportHeight())*t),this.adjustRows(e,t,!1),this.prevScrollTop=e,this.prevScrolltopPercentage=t,this.grid.queueRefresh())},n.prototype.adjustScrollHorizontal=function(e,t,n){(this.prevScrollLeft!==e||n)&&(void 0!==e&&null!=e||(e=(this.getCanvasWidth()-this.getViewportWidth())*t),this.adjustColumns(e,t),this.prevScrollLeft=e,this.prevScrollleftPercentage=t,this.grid.queueRefresh())},n.prototype.adjustRows=function(e,t,n){var i=this.minRowsToRender(),r=this.visibleRowCache,o=r.length-i;null==t&&e&&(t=e/this.getVerticalScrollLength());var a=Math.ceil(Math.min(o,o*t));a>o&&(a=o);var s=[];if(r.length>this.grid.options.virtualizationThreshold){if(null!=e){if(!this.grid.suppressParentScrollDown&&this.prevScrollTop<e&&a<this.prevRowScrollIndex+this.grid.options.scrollThreshold&&a<o)return;if(!this.grid.suppressParentScrollUp&&this.prevScrollTop>e&&a>this.prevRowScrollIndex-this.grid.options.scrollThreshold&&a<o)return}s=[Math.max(0,a-this.grid.options.excessRows),Math.min(r.length,a+i+this.grid.options.excessRows)]}else s=[0,Math.max(this.visibleRowCache.length,i+this.grid.options.excessRows)];this.updateViewableRowRange(s),this.prevRowScrollIndex=a},n.prototype.adjustColumns=function(e,t){var n=this.minColumnsToRender(),i=this.visibleColumnCache,r=i.length-n;null==t&&e&&(t=e/this.getHorizontalScrollLength());var o,a=Math.ceil(Math.min(r,r*t));a>r&&(a=r),o=i.length>this.grid.options.columnVirtualizationThreshold&&this.getCanvasWidth()>this.getViewportWidth()?[Math.max(0,a-this.grid.options.excessColumns),Math.min(i.length,a+n+this.grid.options.excessColumns)]:[0,Math.max(this.visibleColumnCache.length,n+this.grid.options.excessColumns)],this.updateViewableColumnRange(o),this.prevColumnScrollIndex=a},n.prototype.updateViewableRowRange=function(e){var t=this.visibleRowCache.slice(e[0],e[1]);this.currentTopRow=e[0],this.setRenderedRows(t)},n.prototype.updateViewableColumnRange=function(e){var t=this.visibleColumnCache.slice(e[0],e[1]);this.currentFirstColumn=e[0],this.setRenderedColumns(t)},n.prototype.headerCellWrapperStyle=function(){if(0!==this.currentFirstColumn){var e=this.columnOffset;return this.grid.isRTL()?{"margin-right":e+"px"}:{"margin-left":e+"px"}}return null},n.prototype.updateColumnWidths=function(){var t=[],n=0,i=0,r="",o=this.grid.getViewportWidth()-this.grid.scrollbarWidth,a=[];if(angular.forEach(this.grid.renderContainers,(function(e,t){a=a.concat(e.visibleColumnCache)})),a.forEach((function(r,a){var s=0;r.visible&&(angular.isNumber(r.width)?(s=parseInt(r.width,10),i+=s,r.drawnWidth=s):e.endsWith(r.width,"%")?((s=parseInt(parseInt(r.width.replace(/%/g,""),10)/100*o))>r.maxWidth&&(s=r.maxWidth),s<r.minWidth&&(s=r.minWidth),i+=s,r.drawnWidth=s):angular.isString(r.width)&&-1!==r.width.indexOf("*")&&(n+=r.width.length,t.push(r)))})),t.length>0){var s=(o-i)/n;t.forEach((function(e){var t=parseInt(e.width.length*s,10);t>e.maxWidth&&(t=e.maxWidth),t<e.minWidth&&(t=e.minWidth),i+=t,e.drawnWidth=t}))}for(var l=function(e){e.drawnWidth<e.maxWidth&&c>0&&(e.drawnWidth++,i++,c--,u=!0)},c=o-i,u=!0;c>0&&u;)u=!1,t.forEach(l);var d=function(e){e.drawnWidth>e.minWidth&&p>0&&(e.drawnWidth--,i--,p--,u=!0)},p=i-o;for(u=!0;p>0&&u;)u=!1,t.forEach(d);var h=0;this.visibleColumnCache.forEach((function(e){e.visible&&(h+=e.drawnWidth)})),a.forEach((function(e){r+=e.getColClassDefinition()})),this.canvasWidth=h,this.columnStyles=r},n.prototype.needsHScrollbarPlaceholder=function(){return this.grid.options.enableHorizontalScrollbar&&!this.hasHScrollbar&&!this.grid.disableScrolling},n.prototype.getViewportStyle=function(){var e={};return this.hasHScrollbar=!1,this.hasVScrollbar=!1,this.grid.disableScrolling?(e["overflow-x"]="hidden",e["overflow-y"]="hidden",e):("body"===this.name?(this.hasHScrollbar=this.grid.options.enableHorizontalScrollbar!==t.scrollbars.NEVER,this.grid.isRTL()?this.grid.hasLeftContainerColumns()||(this.hasVScrollbar=this.grid.options.enableVerticalScrollbar!==t.scrollbars.NEVER):this.grid.hasRightContainerColumns()||(this.hasVScrollbar=this.grid.options.enableVerticalScrollbar!==t.scrollbars.NEVER)):this.hasVScrollbar="left"===this.name?!!this.grid.isRTL()&&this.grid.options.enableVerticalScrollbar!==t.scrollbars.NEVER:!this.grid.isRTL()&&this.grid.options.enableVerticalScrollbar!==t.scrollbars.NEVER,e["overflow-x"]=this.hasHScrollbar?"scroll":"hidden",e["overflow-y"]=this.hasVScrollbar?"scroll":"hidden",e)},n}]),angular.module("ui.grid").factory("GridRow",["gridUtil","uiGridConstants",function(e,t){function n(t,n,i){this.grid=i,this.entity=t,this.uid=e.nextUid(),this.visible=!0,this.$$height=i.options.rowHeight}return Object.defineProperty(n.prototype,"height",{get:function(){return this.$$height},set:function(e){e!==this.$$height&&(this.grid.updateCanvasHeight(),this.$$height=e)}}),n.prototype.getQualifiedColField=function(e){return"row."+this.getEntityQualifiedColField(e)},n.prototype.getEntityQualifiedColField=function(n){return n.field===t.ENTITY_BINDING?"entity":e.preEval("entity."+n.field)},n.prototype.setRowInvisible=function(e){e&&e.setThisRowInvisible&&e.setThisRowInvisible("user")},n.prototype.clearRowInvisible=function(e){e&&e.clearThisRowInvisible&&e.clearThisRowInvisible("user")},n.prototype.setThisRowInvisible=function(e,t){this.invisibleReason||(this.invisibleReason={}),this.invisibleReason[e]=!0,this.evaluateRowVisibility(t)},n.prototype.clearThisRowInvisible=function(e,t){void 0!==this.invisibleReason&&delete this.invisibleReason[e],this.evaluateRowVisibility(t)},n.prototype.evaluateRowVisibility=function(e){var t=!0;void 0!==this.invisibleReason&&angular.forEach(this.invisibleReason,(function(e,n){e&&(t=!1)})),void 0!==this.visible&&this.visible===t||(this.visible=t,e||(this.grid.queueGridRefresh(),this.grid.api.core.raise.rowsVisibleChanged(this)))},n}]),function(){"use strict";angular.module("ui.grid").factory("GridRowColumn",["$parse","$filter",function(e,t){var n=function e(t,n){if(!(this instanceof e))throw"Using GridRowColumn as a function insead of as a constructor. Must be called with `new` keyword";this.row=t,this.col=n};return n.prototype.getIntersectionValueRaw=function(){return e(this.row.getEntityQualifiedColField(this.col))(this.row)},n}])}(),angular.module("ui.grid").factory("ScrollEvent",["gridUtil",function(e){function t(t,n,i,r){var o=this;if(!t)throw new Error("grid argument is required");o.grid=t,o.source=r,o.withDelay=!0,o.sourceRowContainer=n,o.sourceColContainer=i,o.newScrollLeft=null,o.newScrollTop=null,o.x=null,o.y=null,o.verticalScrollLength=-9999999,o.horizontalScrollLength=-999999,o.fireThrottledScrollingEvent=e.throttle((function(e){o.grid.scrollContainers(e,o)}),o.grid.options.wheelScrollThrottle,{trailing:!0})}return t.prototype.getNewScrollLeft=function(t,n){if(!this.newScrollLeft){var i,r=t.getCanvasWidth()-t.getViewportWidth(),o=e.normalizeScrollLeft(n,this.grid);if(void 0!==this.x.percentage&&void 0!==this.x.percentage)i=this.x.percentage;else{if(void 0===this.x.pixels||void 0===this.x.pixels)throw new Error("No percentage or pixel value provided for scroll event X axis");i=this.x.percentage=(o+this.x.pixels)/r}return Math.max(0,i*r)}return this.newScrollLeft},t.prototype.getNewScrollTop=function(e,t){if(!this.newScrollTop){var n,i=e.getVerticalScrollLength(),r=t[0].scrollTop;if(void 0!==this.y.percentage&&void 0!==this.y.percentage)n=this.y.percentage;else{if(void 0===this.y.pixels||void 0===this.y.pixels)throw new Error("No percentage or pixel value provided for scroll event Y axis");n=this.y.percentage=(r+this.y.pixels)/i}return Math.max(0,n*i)}return this.newScrollTop},t.prototype.atTop=function(e){return this.y&&(0===this.y.percentage||this.verticalScrollLength<0)&&0===e},t.prototype.atBottom=function(e){return this.y&&(1===this.y.percentage||0===this.verticalScrollLength)&&e>0},t.prototype.atLeft=function(e){return this.x&&(0===this.x.percentage||this.horizontalScrollLength<0)&&0===e},t.prototype.atRight=function(e){return this.x&&(1===this.x.percentage||0===this.horizontalScrollLength)&&e>0},t.Sources={ViewPortScroll:"ViewPortScroll",RenderContainerMouseWheel:"RenderContainerMouseWheel",RenderContainerTouchMove:"RenderContainerTouchMove",Other:99},t}]),function(){"use strict";angular.module("ui.grid").service("gridClassFactory",["gridUtil","$q","$compile","$templateCache","uiGridConstants","Grid","GridColumn","GridRow",function(e,t,n,i,r,o,a,s){var l={createGrid:function(i){(i=void 0!==i?i:{}).id=e.newId();var r=new o(i);if(r.options.rowTemplate){var a=t.defer();r.getRowTemplateFn=a.promise,e.getTemplate(r.options.rowTemplate).then((function(e){var t=n(e);a.resolve(t)}),(function(e){throw new Error("Couldn't fetch/use row template '"+r.options.rowTemplate+"'")})).catch(angular.noop)}return r.registerColumnBuilder(l.defaultColumnBuilder),r.registerRowBuilder(l.rowTemplateAssigner),r.registerRowsProcessor((function(e){return e.forEach((function(e){e.evaluateRowVisibility(!0)}),50),e})),r.registerColumnsProcessor((function(e){return e.forEach((function(e){e.visible=!angular.isDefined(e.colDef.visible)||e.colDef.visible})),e}),50),r.registerRowsProcessor(r.searchRows,100),r.options.externalSort&&angular.isFunction(r.options.externalSort)?r.registerRowsProcessor(r.options.externalSort,200):r.registerRowsProcessor(r.sortByColumn,200),r},defaultColumnBuilder:function(n,i,o){var a=[],s=function(t,o,s,l,c){i[o]=n[t]?n[t]:s,a.push(e.getTemplate(i[o]).then((function(e){angular.isFunction(e)&&(e=e());var n="cellTooltip"===c?"col.cellTooltip(row,col)":"col.headerTooltip(col)";c&&!1===i[c]?e=e.replace(r.TOOLTIP,""):c&&i[c]&&(e=e.replace(r.TOOLTIP,'title="{{'+n+' CUSTOM_FILTERS }}"')),i[t]=l?e.replace(r.CUSTOM_FILTERS,(function(){return i[l]?"|"+i[l]:""})):e}),(function(e){throw new Error("Couldn't fetch/use colDef."+t+" '"+n[t]+"'")})).catch(angular.noop))};return s("cellTemplate","providedCellTemplate","ui-grid/uiGridCell","cellFilter","cellTooltip"),i.cellTemplatePromise=a[0],s("headerCellTemplate","providedHeaderCellTemplate","ui-grid/uiGridHeaderCell","headerCellFilter","headerTooltip"),s("footerCellTemplate","providedFooterCellTemplate","ui-grid/uiGridFooterCell","footerCellFilter"),s("filterHeaderTemplate","providedFilterHeaderTemplate","ui-grid/ui-grid-filter"),i.compiledElementFnDefer=t.defer(),t.all(a)},rowTemplateAssigner:function(i){if(i.rowTemplate){var r=t.defer();i.getRowTemplateFn=r.promise,e.getTemplate(i.rowTemplate).then((function(e){var t=n(e);r.resolve(t)}),(function(e){throw new Error("Couldn't fetch/use row template '"+i.rowTemplate+"'")}))}else i.rowTemplate=this.options.rowTemplate,i.getRowTemplateFn=this.getRowTemplateFn;return i.getRowTemplateFn}};return l}])}(),angular.module("ui.grid").service("rowSearcher",["gridUtil","uiGridConstants",function(e,t){var n=t.filter.CONTAINS,i={getTerm:function(e){if(void 0===e.term)return e.term;var t=e.term;return"string"==typeof t&&(t=t.trim()),t},stripTerm:function(e){var t=i.getTerm(e);return"string"==typeof t?t.replace(/(^\*|\*$)/g,"").replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):t},guessCondition:function(e){if(void 0===e.term||!e.term)return n;var t=i.getTerm(e);if(/\*/.test(t)){var r="";e.flags&&e.flags.caseSensitive||(r+="i");var o=t.replace(/(\\)?\*/g,(function(e,t){return t?e:"[\\s\\S]*?"}));return new RegExp("^"+o+"$",r)}return n},setupFilters:function(n){for(var r=[],o=n.length,a=0;a<o;a++){var s=n[a];if(s.noTerm||!e.isNullOrUndefined(s.term)){var l={},c="";s.flags&&s.flags.caseSensitive||(c+="i"),e.isNullOrUndefined(s.term)||(l.term=s.rawTerm?s.term:i.stripTerm(s)),l.noTerm=s.noTerm,l.condition=s.condition?s.condition:i.guessCondition(s),l.flags=angular.extend({caseSensitive:!1,date:!1},s.flags),l.condition===t.filter.STARTS_WITH&&(l.startswithRE=new RegExp("^"+l.term,c)),l.condition===t.filter.ENDS_WITH&&(l.endswithRE=new RegExp(l.term+"$",c)),l.condition===t.filter.CONTAINS&&(l.containsRE=new RegExp(l.term,c)),l.condition===t.filter.EXACT&&(l.exactRE=new RegExp("^"+l.term+"$",c)),r.push(l)}}return r},runColumnFilter:function(e,n,i,r){var o,a=typeof r.condition,s=r.term;if(o=i.filterCellFiltered?e.getCellDisplayValue(n,i):e.getCellValue(n,i),r.condition instanceof RegExp)return r.condition.test(o);if("function"===a)return r.condition(s,o,n,i);if(r.startswithRE)return r.startswithRE.test(o);if(r.endswithRE)return r.endswithRE.test(o);if(r.containsRE)return r.containsRE.test(o);if(r.exactRE)return r.exactRE.test(o);if(r.condition===t.filter.NOT_EQUAL)return!new RegExp("^"+s+"$").exec(o);if("number"==typeof o&&"string"==typeof s){var l=parseFloat(s.replace(/\\\./,".").replace(/\\\-/,"-"));isNaN(l)||(s=l)}return!0===r.flags.date&&(o=new Date(o),s=new Date(s.replace(/\\/g,""))),r.condition===t.filter.GREATER_THAN?o>s:r.condition===t.filter.GREATER_THAN_OR_EQUAL?o>=s:r.condition===t.filter.LESS_THAN?o<s:r.condition!==t.filter.LESS_THAN_OR_EQUAL||o<=s},searchColumn:function(t,n,r,o){if(t.options.useExternalFiltering)return!0;for(var a=o.length,s=0;s<a;s++){var l=o[s];if((!e.isNullOrUndefined(l.term)&&""!==l.term||l.noTerm)&&!i.runColumnFilter(t,n,r,l))return!1}return!0},search:function(t,n,r){if(n){if(!t.options.enableFiltering)return n;for(var o=[],a=r.length,s=function(t){var n=!1;return t.forEach((function(t){(!e.isNullOrUndefined(t.term)&&""!==t.term||t.noTerm)&&(n=!0)})),n},l=0;l<a;l++){var c=r[l];void 0!==c.filters&&s(c.filters)&&o.push({col:c,filters:i.setupFilters(c.filters)})}if(o.length>0){for(var u=function(e,t,n,r){t.visible&&!i.searchColumn(e,t,n,r)&&(t.visible=!1)},d=function(e,t){for(var i=n.length,r=0;r<i;r++)u(e,n[r],t.col,t.filters)},p=o.length,h=0;h<p;h++)d(t,o[h]);t.api.core.raise.rowsVisibleChanged&&t.api.core.raise.rowsVisibleChanged()}return n}}};return i}]),angular.module("ui.grid").service("rowSorter",["$parse","uiGridConstants",function(e,t){var n="("+t.CURRENCY_SYMBOLS.map((function(e){return"\\"+e})).join("|")+")?",i=(new RegExp("^[-+]?"+n+"[\\d,.]+"+n+"%?$"),{colSortFnCache:{},guessSortFn:function(e){switch(e){case"number":return i.sortNumber;case"numberStr":return i.sortNumberStr;case"boolean":return i.sortBool;case"string":return i.sortAlpha;case"date":return i.sortDate;case"object":return i.basicSort;default:throw new Error("No sorting function found for type:"+e)}},handleNulls:function(e,t){if(!e&&0!==e&&!1!==e||!t&&0!==t&&!1!==t){if(!e&&0!==e&&!1!==e&&!t&&0!==t&&!1!==t)return 0;if(!e&&0!==e&&!1!==e)return 1;if(!t&&0!==t&&!1!==t)return-1}return null},basicSort:function(e,t){var n=i.handleNulls(e,t);return null!==n?n:e===t?0:e<t?-1:1},sortNumber:function(e,t){var n=i.handleNulls(e,t);return null!==n?n:e-t},sortNumberStr:function(e,t){var n=i.handleNulls(e,t);if(null!==n)return n;var r,o,a=!1,s=!1;return r=parseFloat(e.replace(/[^0-9.-]/g,"")),isNaN(r)&&(a=!0),o=parseFloat(t.replace(/[^0-9.-]/g,"")),isNaN(o)&&(s=!0),a&&s?0:a?1:s?-1:r-o},sortAlpha:function(e,t){var n=i.handleNulls(e,t);if(null!==n)return n;var r=e.toString().toLowerCase(),o=t.toString().toLowerCase();return r===o?0:r.localeCompare(o)},sortDate:function(e,t){var n=i.handleNulls(e,t);if(null!==n)return n;e instanceof Date||(e=new Date(e)),t instanceof Date||(t=new Date(t));var r=e.getTime(),o=t.getTime();return r===o?0:r<o?-1:1},sortBool:function(e,t){var n=i.handleNulls(e,t);return null!==n?n:e&&t?0:e||t?e?1:-1:0},getSortFn:function(e,t,n){var r;return i.colSortFnCache[t.colDef.name]?r=i.colSortFnCache[t.colDef.name]:void 0!==t.sortingAlgorithm?(r=t.sortingAlgorithm,i.colSortFnCache[t.colDef.name]=t.sortingAlgorithm):t.sortCellFiltered&&t.cellFilter?i.colSortFnCache[t.colDef.name]=r=i.sortAlpha:(r=i.guessSortFn(t.colDef.type))?i.colSortFnCache[t.colDef.name]=r:r=i.sortAlpha,r},prioritySort:function(e,t){return void 0!==e.sort.priority&&void 0!==t.sort.priority?e.sort.priority<t.sort.priority?-1:e.sort.priority===t.sort.priority?0:1:void 0!==e.sort.priority?-1:void 0!==t.sort.priority?1:0},sort:function(e,n,r){if(n){if(e.options.useExternalSorting)return n;var o,a,s=[];if(r.forEach((function(e){!e.sort||e.sort.ignoreSort||!e.sort.direction||e.sort.direction!==t.ASC&&e.sort.direction!==t.DESC||s.push(e)})),0===(s=s.sort(i.prioritySort)).length)return n;n.forEach((function(e,t){e.entity.$$uiGridIndex=t}));var l=n.slice(0),c=n.sort((function(n,r){for(var c,u=0,d=0;0===u&&d<s.length;){var p,h;a=s[d].sort.direction,c=i.getSortFn(e,o=s[d],l),o.sortCellFiltered?(p=e.getCellDisplayValue(n,o),h=e.getCellDisplayValue(r,o)):(p=e.getCellValue(n,o),h=e.getCellValue(r,o)),u=c(p,h,n,r,a,o),d++}return 0===u?n.entity.$$uiGridIndex-r.entity.$$uiGridIndex:a===t.ASC?u:0-u}));return n.forEach((function(e,t){delete e.entity.$$uiGridIndex})),c}}});return i}]),function(){var e,t=angular.module("ui.grid");function n(e){var t=e;return void 0!==t.length&&t.length&&(t=e[0]),t.ownerDocument.defaultView.getComputedStyle(t,null)}"function"!=typeof Function.prototype.bind&&(e=function(){var e=Array.prototype.slice;return function(t){var n=this,i=e.call(arguments,1);return i.length?function(){return n.apply(t,arguments.length?i.concat(e.call(arguments)):i)}:function(){return arguments.length?n.apply(t,arguments):n.call(t)}}});var i=new RegExp("^("+/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source+")(?!px)[a-z%]+$","i"),r=/^(block|none|table(?!-c[ea]).+)/,o={position:"absolute",visibility:"hidden",display:"block"};function a(e,t,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===t?1:0,a=0,s=["Top","Right","Bottom","Left"];o<4;o+=2){var l=s[o];if("margin"===n){var c=parseFloat(r[n+l]);isNaN(c)||(a+=c)}if(i){if("content"===n){var u=parseFloat(r["padding"+l]);isNaN(u)||(a-=u)}if("margin"!==n){var d=parseFloat(r["border"+l+"Width"]);isNaN(d)||(a-=d)}}else{var p=parseFloat(r["padding"+l]);if(isNaN(p)||(a+=p),"padding"!==n){var h=parseFloat(r["border"+l+"Width"]);isNaN(h)||(a+=h)}}}return a}function s(e,t,r){var o,s=!0,l=n(e),c="border-box"===l.boxSizing;if(o<=0||null==o){if(((o=l[t])<0||null==o)&&(o=e.style[t]),i.test(o))return o;s=c&&!0,o=parseFloat(o)||0}return o+a(0,t,r||(c?"border":"content"),s,l)}var l=["0","0","0","0"];t.service("gridUtil",["$log","$window","$document","$http","$templateCache","$timeout","$interval","$injector","$q","$interpolate","uiGridConstants",function(t,i,c,u,d,p,h,f,g,m,v){var b,y={augmentWidthOrHeight:a,getStyles:n,createBoundedWrapper:function(e,t){return function(){return t.apply(e,arguments)}},readableColumnName:function(e){return void 0===e||null==e?e:("string"!=typeof e&&(e=String(e)),e.replace(/_+/g," ").replace(/^[A-Z]+$/,(function(e){return angular.lowercase(angular.uppercase(e.charAt(0))+e.slice(1))})).replace(/([\w\u00C0-\u017F]+)/g,(function(e){return angular.uppercase(e.charAt(0))+e.slice(1)})).replace(/(\w+?(?=[A-Z]))/g,"$1 "))},getColumnsFromData:function(e,t){var n=[];return e&&void 0!==e[0]&&void 0!==e[0]?(angular.isUndefined(t)&&(t=[]),angular.forEach(e[0],(function(e,i){-1===t.indexOf(i)&&n.push({name:i})})),n):[]},newId:(b=(new Date).getTime(),function(){return b+=1}),getTemplate:function(e){if(d.get(e))return y.postProcessTemplate(d.get(e));if(angular.isFunction(e.then))return e.then(y.postProcessTemplate).catch(angular.noop);try{if(angular.element(e).length>0)return g.when(e).then(y.postProcessTemplate).catch(angular.noop)}catch(t){}return y.logDebug("fetching url",e),u({method:"GET",url:e}).then((function(t){var n=t.data.trim();return d.put(e,n),n}),(function(t){throw new Error("Could not get template "+e+": "+t)})).then(y.postProcessTemplate).catch(angular.noop)},postProcessTemplate:function(e){var t=m.startSymbol(),n=m.endSymbol();return"{{"===t&&"}}"===n||(e=(e=e.replace(/\{\{/g,t)).replace(/\}\}/g,n)),g.when(e)},guessType:function(e){var t=typeof e;switch(t){case"number":case"boolean":case"string":return t;default:return angular.isDate(e)?"date":"object"}},elementWidth:function(e){},elementHeight:function(e){},getScrollbarWidth:function(){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var i=n.offsetWidth;return e.parentNode.removeChild(e),t-i},swap:function(e,t,n,i){var r,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in r=n.apply(e,i||[]),t)e.style[o]=a[o];return r},fakeElement:function(e,t,n,i){var r,o,a=angular.element(e).clone()[0];for(o in t)a.style[o]=t[o];return angular.element(document.body).append(a),r=n.call(a,a),angular.element(a).remove(),r},normalizeWheelEvent:function(e){var t,n,i,r=e||window.event,o=([].slice.call(arguments,1),0),a=0,s=0,l=0,c=0;return r.originalEvent&&(r=r.originalEvent),r.wheelDelta&&(o=r.wheelDelta),r.detail&&(o=-1*r.detail),s=o,void 0!==r.axis&&r.axis===r.HORIZONTAL_AXIS&&(s=0,a=-1*o),r.deltaY&&(o=s=-1*r.deltaY),r.deltaX&&(o=-1*(a=r.deltaX)),void 0!==r.wheelDeltaY&&(s=r.wheelDeltaY),void 0!==r.wheelDeltaX&&(a=r.wheelDeltaX),l=Math.abs(o),(!t||l<t)&&(t=l),c=Math.max(Math.abs(s),Math.abs(a)),(!n||c<n)&&(n=c),i=o>0?"floor":"ceil",{delta:o=Math[i](o/t),deltaX:a=Math[i](a/n),deltaY:s=Math[i](s/n)}},isTouchEnabled:function(){var e;return("ontouchstart"in i||i.DocumentTouch&&c instanceof DocumentTouch)&&(e=!0),e},isNullOrUndefined:function(e){return null==e},endsWith:function(e,t){return!(!e||!t||"string"!=typeof e)&&-1!==e.indexOf(t,e.length-t.length)},arrayContainsObjectWithProperty:function(e,t,n){var i=!1;return angular.forEach(e,(function(e){e[t]===n&&(i=!0)})),i},numericAndNullSort:function(e,t){return null===e?1:null===t?-1:null===e&&null===t?0:e-t},disableAnimations:function(e){var t;try{t=f.get("$animate"),angular.version.major>1||1===angular.version.major&&angular.version.minor>=4?t.enabled(e,!1):t.enabled(!1,e)}catch(n){}},enableAnimations:function(e){var t;try{return t=f.get("$animate"),angular.version.major>1||1===angular.version.major&&angular.version.minor>=4?t.enabled(e,!0):t.enabled(!0,e),t}catch(n){}},nextUid:function(){for(var e,t=l.length;t;){if(t--,57===(e=l[t].charCodeAt(0)))return l[t]="A","uiGrid-"+l.join("");if(90!==e)return l[t]=String.fromCharCode(e+1),"uiGrid-"+l.join("");l[t]="0"}return l.unshift("0"),"uiGrid-"+l.join("")},hashKey:function(e){var t,n=typeof e;return"object"===n&&null!==e?"function"==typeof(t=e.$$hashKey)?t=e.$$hashKey():void 0!==e.$$hashKey&&e.$$hashKey?t=e.$$hashKey:void 0===t&&(t=e.$$hashKey=y.nextUid()):t=e,n+":"+t},resetUids:function(){l=["0","0","0"]},logError:function(e){v.LOG_ERROR_MESSAGES&&t.error(e)},logWarn:function(e){v.LOG_WARN_MESSAGES&&t.warn(e)},logDebug:function(){v.LOG_DEBUG_MESSAGES&&t.debug.apply(t,arguments)}};y.focus={queue:[],byId:function(e,t){this._purgeQueue();var n=p((function(){var n=(t&&t.id?t.id+"-":"")+e,r=i.document.getElementById(n);r?r.focus():y.logWarn("[focus.byId] Element id "+n+" was not found.")}),0,!1);return this.queue.push(n),n},byElement:function(e){if(!angular.isElement(e))return y.logWarn("Trying to focus on an element that isn't an element."),g.reject("not-element");e=angular.element(e),this._purgeQueue();var t=p((function(){e&&e[0].focus()}),0,!1);return this.queue.push(t),t},bySelector:function(e,t,n){var i=this;if(!angular.isElement(e))throw new Error("The parent element is not an element.");e=angular.element(e);var r=function(){var n=e[0].querySelector(t);return i.byElement(n)};if(this._purgeQueue(),n){var o=p(r,0,!1);return this.queue.push(o),o}return r()},_purgeQueue:function(){this.queue.forEach((function(e){p.cancel(e)})),this.queue=[]}},["width","height"].forEach((function(e){var t=angular.uppercase(e.charAt(0))+e.substr(1);y["element"+t]=function(t,i){var a=t;if(a&&void 0!==a.length&&a.length&&(a=t[0]),a&&null!==a){var l=n(a);return 0===a.offsetWidth&&r.test(l.display)?y.swap(a,o,(function(){return s(a,e,i)})):s(a,e,i)}return null},y["outerElement"+t]=function(e,n){return e?y["element"+t].call(this,e,n?"margin":"border"):null}})),y.closestElm=function(e,t){var n,i;for(void 0!==e.length&&e.length&&(e=e[0]),["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].some((function(e){return"function"==typeof document.body[e]&&(n=e,!0)}));null!==e;){if(null!==(i=e.parentElement)&&i[n](t))return i;e=i}return null},y.type=function(e){return Function.prototype.toString.call(e.constructor).match(/function (.*?)\(/)[1]},y.getBorderSize=function(e,t){void 0!==e.length&&e.length&&(e=e[0]);var i=n(e);t=t?"border"+t.charAt(0).toUpperCase()+t.slice(1):"border",t+="Width";var r=parseInt(i[t],10);return isNaN(r)?0:r},y.detectBrowser=function(){var e=i.navigator.userAgent,t={chrome:/chrome/i,safari:/safari/i,firefox:/firefox/i,ie:/internet explorer|trident\//i};for(var n in t)if(t[n].test(e))return n;return"unknown"},y.rtlScrollType=function e(){if(e.type)return e.type;var t=angular.element('<div dir="rtl" style="font-size: 14px; width: 1px; height: 1px; position: absolute; top: -1000px; overflow: scroll">A</div>')[0],n="reverse";return document.body.appendChild(t),t.scrollLeft>0?n="default":(t.scrollLeft=1,0===t.scrollLeft&&(n="negative")),angular.element(t).remove(),e.type=n,n},y.normalizeScrollLeft=function(e,t){void 0!==e.length&&e.length&&(e=e[0]);var n=e.scrollLeft;if(t.isRTL())switch(y.rtlScrollType()){case"default":return e.scrollWidth-n-e.clientWidth;case"negative":return Math.abs(n);case"reverse":return n}return n},y.denormalizeScrollLeft=function(e,t,n){if(void 0!==e.length&&e.length&&(e=e[0]),n.isRTL())switch(y.rtlScrollType()){case"default":return e.scrollWidth-e.clientWidth-t;case"negative":return-1*t;case"reverse":return t}return t},y.preEval=function(e){var t=v.BRACKET_REGEXP.exec(e);if(t)return(t[1]?y.preEval(t[1]):t[1])+t[2]+(t[3]?y.preEval(t[3]):t[3]);var n=(e=e.replace(v.APOS_REGEXP,"\\'")).split(v.DOT_REGEXP),i=[n.shift()];return angular.forEach(n,(function(e){i.push(e.replace(v.FUNC_REGEXP,"']$1"))})),i.join("['")},y.debounce=function(e,t,n){var i,r,o,a;function s(){o=this,r=arguments;var s=function(){i=null,n||(a=e.apply(o,r))},l=n&&!i;return i&&p.cancel(i),i=p(s,t,!1),l&&(a=e.apply(o,r)),a}return s.cancel=function(){p.cancel(i),i=null},s},y.throttle=function(e,t,n){n=n||{};var i,r,o=0,a=null;function s(t){o=+new Date,e.apply(i,r),h((function(){a=null}),0,1,!1)}return function(){if(i=this,r=arguments,null===a){var e=+new Date-o;e>t?s():n.trailing&&(a=h(s,t-e,1,!1))}}},y.on={},y.off={},y._events={},y.addOff=function(e){y.off[e]=function(t,n){var i=y._events[e].indexOf(n);i>0&&y._events[e].removeAt(i)}};var M,w,C="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"];function A(e,t){var n,i=angular.element(this),r=0,o=0,a=0;if(t.originalEvent&&(t=t.originalEvent),"detail"in t&&(a=-1*t.detail),"wheelDelta"in t&&(a=t.wheelDelta),"wheelDeltaY"in t&&(a=t.wheelDeltaY),"wheelDeltaX"in t&&(o=-1*t.wheelDeltaX),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(o=-1*a,a=0),r=0===a?o:a,"deltaY"in t&&(r=a=-1*t.deltaY),"deltaX"in t&&(o=t.deltaX,0===a&&(r=-1*o)),0!==a||0!==o){if(1===t.deltaMode){var s=i.data("mousewheel-line-height");r*=s,a*=s,o*=s}else if(2===t.deltaMode){var l=i.data("mousewheel-page-height");r*=l,a*=l,o*=l}n=Math.max(Math.abs(a),Math.abs(o)),(!w||n<w)&&(w=n,function(e,t){return"mousewheel"===e.type&&t%120==0}(t,n)&&(w/=40)),r=Math[r>=1?"floor":"ceil"](r/w),o=Math[o>=1?"floor":"ceil"](o/w),a=Math[a>=1?"floor":"ceil"](a/w);var c={originalEvent:t,deltaX:o,deltaY:a,deltaFactor:w,preventDefault:function(){t.preventDefault()},stopPropagation:function(){t.stopPropagation()}};M&&clearTimeout(M),M=setTimeout(x,200),e.call(i[0],c)}}function x(){w=null}return y.on.mousewheel=function(t,i){if(t&&i){var r=angular.element(t);r.data("mousewheel-line-height",function(e){var t=(e=angular.element(e)[0]).parentElement;return t||(t=document.getElementsByTagName("body")[0]),parseInt(n(t).fontSize)||parseInt(n(e).fontSize)||16}(r)),r.data("mousewheel-page-height",y.elementHeight(r)),r.data("mousewheel-callbacks")||r.data("mousewheel-callbacks",{});var o=r.data("mousewheel-callbacks");o[i]=(Function.prototype.bind||e).call(A,r[0],i);for(var a=C.length;a;)r.on(C[--a],o[i]);r.on("$destroy",(function(){for(var e=C.length;e;)r.off(C[--e],o[i])}))}},y.off.mousewheel=function(e,t){var n=angular.element(e),i=n.data("mousewheel-callbacks"),r=i[t];if(r)for(var o=C.length;o;)n.off(C[--o],r);delete i[t],0===Object.keys(i).length&&(n.removeData("mousewheel-line-height"),n.removeData("mousewheel-page-height"),n.removeData("mousewheel-callbacks"))},y}]),t.filter("px",(function(){return function(e){return e.match(/^[\d\.]+$/)?e+"px":e}}))}(),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("bg",{headerCell:{aria:{defaultFilterLabel:"\u0424\u0438\u043b\u0442\u0442\u044a\u0440 \u0437\u0430 \u043a\u043e\u043b\u043e\u043d\u0430\u0442\u0430",removeFilter:"\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438 \u0444\u0438\u043b\u0442\u044a\u0440",columnMenuButtonLabel:"\u041c\u0435\u043d\u044e \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0430\u0442\u0430"},priority:"\u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442:",filterLabel:"\u0424\u0438\u043b\u0442\u044a\u0440 \u0437\u0430 \u043a\u043e\u043b\u043e\u043d\u0430\u0442\u0430: "},aggregate:{label:"\u043e\u0431\u0435\u043a\u0442\u0438"},search:{placeholder:"\u0422\u044a\u0440\u0441\u0435\u043d\u0435...",showingItems:"\u041f\u043e\u043a\u0430\u0437\u0430\u043d\u0438 \u043e\u0431\u0435\u043a\u0442\u0438:",selectedItems:"\u0438\u0437\u0431\u0440\u0430\u043d\u0438 \u043e\u0431\u0435\u043a\u0442\u0438:",totalItems:"\u041e\u0431\u0449\u043e:",size:"\u0420\u0430\u0437\u043c\u0435\u0440 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0442\u0430:",first:"\u041f\u044a\u0440\u0432\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",next:"\u0421\u043b\u0435\u0434\u0432\u0430\u0449\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",previous:"\u041f\u0440\u0435\u0434\u0438\u0448\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",last:"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},menu:{text:"\u0418\u0437\u0431\u0435\u0440\u0438 \u043a\u043e\u043b\u043e\u043d\u0438:"},sort:{ascending:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043f\u043e \u0432\u044a\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",descending:"\u0421\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043f\u043e \u043d\u0438\u0437\u0445\u043e\u0434\u044f\u0449 \u0440\u0435\u0434",none:"\u0411\u0435\u0437 \u0441\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435",remove:"\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435\u0442\u043e"},column:{hide:"\u0421\u043a\u0440\u0438\u0439 \u043a\u043e\u043b\u043e\u043d\u0430\u0442\u0430"},aggregation:{count:"\u041e\u0431\u0449\u043e \u0440\u0435\u0434\u043e\u0432\u0435: ",sum:"\u043e\u0431\u0449\u043e: ",avg:"\u0441\u0440\u0435\u0434\u043d\u043e: ",min:"\u043d\u0430\u0439-\u043c\u0430\u043b\u043a\u043e: ",max:"\u043d\u0430\u0439-\u043c\u043d\u043e\u0433\u043e: "},pinning:{pinLeft:"\u041f\u0440\u0438\u043a\u0440\u0435\u043f\u0438 \u0432\u043b\u044f\u0432\u043e",pinRight:"\u041f\u0440\u0438\u043a\u0440\u0435\u043f\u0438 \u0432\u0434\u044f\u0441\u043d\u043e",unpin:"\u041f\u0440\u0435\u043c\u0430\u0445\u0432\u0430\u043d\u0435"},columnMenu:{close:"\u0417\u0430\u0442\u0432\u043e\u0440\u0438"},gridMenu:{aria:{buttonLabel:"\u041c\u0435\u043d\u044e \u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u0442\u0430"},columns:"\u041a\u043e\u043b\u043e\u043d\u0438:",importerTitle:"\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b",exporterAllAsCsv:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0434\u0430\u043d\u043d\u0438\u0442\u0435 \u043a\u0430\u0442\u043e csv",exporterVisibleAsCsv:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0438\u043c\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u0438 \u043a\u0430\u0442\u043e csv",exporterSelectedAsCsv:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0438\u0437\u0431\u0440\u0430\u043d\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u0438 \u043a\u0430\u0442\u043e csv",exporterAllAsPdf:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0434\u0430\u043d\u043d\u0438\u0442\u0435 \u043a\u0430\u0442\u043e pdf",exporterVisibleAsPdf:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0438\u043c\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u0438 \u043a\u0430\u0442\u043e pdf",exporterSelectedAsPdf:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0438\u0437\u0431\u0440\u0430\u043d\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u0438 \u043a\u0430\u0442\u043e pdf",clearAllFilters:"\u041f\u0440\u0435\u043c\u0430\u0445\u043d\u0438 \u0432\u0441\u0438\u0447\u043a\u0438 \u0444\u0438\u043b\u0442\u0440\u0438"},importer:{noHeaders:"\u0418\u043c\u0435\u043d\u0430\u0442\u0430 \u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u0438\u0442\u0435 \u043d\u0435 \u0443\u0441\u043f\u044f\u0445\u0430 \u0434\u0430 \u0431\u044a\u0434\u0430\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438, \u0444\u0430\u0439\u043b\u044a\u0442 \u0438\u043c\u0430 \u043b\u0438 \u0445\u0435\u0434\u044a\u0440?",noObjects:"\u041e\u0431\u0435\u043a\u0442\u0438\u0442\u0435 \u043d\u0435 \u0443\u0441\u043f\u044f\u0445\u0430 \u0434\u0430 \u0431\u044a\u0434\u0430\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438, \u0444\u0430\u0439\u043b\u044a\u0442 \u0441\u044a\u0434\u044a\u0440\u0436\u0430 \u043b\u0438 \u0434\u0430\u043d\u043d\u0438, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u0438 \u043e\u0442 \u0445\u0435\u0434\u044a\u0440?",invalidCsv:"\u0424\u0430\u0439\u043b\u044a\u0442 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0435\u0431, \u0443\u0432\u0435\u0440\u0435\u0442\u0435 \u0441\u0435, \u0447\u0435 \u0435 \u0432\u0430\u043b\u0438\u0434\u0435\u043d CSV \u0444\u0430\u0439\u043b",invalidJson:"\u0424\u0430\u0439\u043b\u044a\u0442 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0435\u0431, \u0443\u0432\u0435\u0440\u0435\u0442\u0435 \u0441\u0435, \u0447\u0435 \u0435 \u0432\u0430\u043b\u0438\u0434\u0435\u043d JSON \u0444\u0430\u0439\u043b",jsonNotArray:"\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0430\u043d\u0438\u044f\u0442 JSON \u0444\u0430\u0439\u043b \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430 \u043c\u0430\u0441\u0438\u0432, \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u044f\u0432\u0430\u043d\u0435."},pagination:{aria:{pageToFirst:"\u041a\u044a\u043c \u043f\u044a\u0440\u0432\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",pageBack:"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430\u0437\u0430\u0434",pageSelected:"\u0418\u0437\u0431\u0440\u0430\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",pageForward:"\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430\u043f\u0440\u0435\u0434",pageToLast:"\u041a\u044a\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},sizes:"\u043e\u0431\u0435\u043a\u0442\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",totalItems:"\u043e\u0431\u0435\u043a\u0442\u0430",through:"\u0434\u043e",of:"\u043e\u0442"},grouping:{group:"\u0413\u0440\u0443\u043f\u0438\u0440\u0430\u043d\u0435",ungroup:"\u041f\u0440\u0435\u043c\u0430\u0445\u0432\u0430\u043d\u0435 \u043d\u0430 \u0433\u0440\u0443\u043f\u0438\u0440\u0430\u043d\u0435\u0442\u043e",aggregate_count:"\u0421\u0431\u043e\u0440: \u0411\u0440\u043e\u0439",aggregate_sum:"\u0421\u0431\u043e\u0440: \u0421\u0443\u043c\u0430",aggregate_max:"\u0421\u0431\u043e\u0440: \u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c",aggregate_min:"\u0421\u0431\u043e\u0440: \u041c\u0438\u043d\u0438\u043c\u0443\u043c",aggregate_avg:"\u0421\u0431\u043e\u0440: \u0421\u0440\u0435\u0434\u043d\u043e",aggregate_remove:"\u0421\u0431\u043e\u0440: \u041f\u0440\u0435\u043c\u0430\u0445\u0432\u0430\u043d\u0435"},validate:{error:"\u0413\u0440\u0435\u0448\u043a\u0430:",minLength:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0442\u0430 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430 \u043f\u043e\u043d\u0435 THRESHOLD \u0441\u0438\u043c\u0432\u043e\u043b\u0430.",maxLength:"\u0421\u0442\u043e\u0439\u043d\u043e\u0441\u0442\u0442\u0430 \u043d\u0435 \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430 \u043f\u043e\u0432\u0435\u0447\u0435 \u043e\u0442 THRESHOLD \u0441\u0438\u043c\u0432\u043e\u043b\u0430.",required:"\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0435 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){var t={aggregate:{label:"polo\u017eky"},groupPanel:{description:"P\u0159esu\u0148te z\xe1hlav\xed zde pro vytvo\u0159en\xed skupiny dle sloupce."},search:{placeholder:"Hledat...",showingItems:"Zobrazuji polo\u017eky:",selectedItems:"Vybran\xe9 polo\u017eky:",totalItems:"Celkem polo\u017eek:",size:"Velikost strany:",first:"Prvn\xed strana",next:"Dal\u0161\xed strana",previous:"P\u0159edchoz\xed strana",last:"Posledn\xed strana"},menu:{text:"Vyberte sloupec:"},sort:{ascending:"Se\u0159adit od A-Z",descending:"Se\u0159adit od Z-A",remove:"Odebrat se\u0159azen\xed"},column:{hide:"Schovat sloupec"},aggregation:{count:"celkem \u0159\xe1dk\u016f: ",sum:"celkem: ",avg:"avg: ",min:"min.: ",max:"max.: "},pinning:{pinLeft:"Zamknout vlevo",pinRight:"Zamknout vpravo",unpin:"Odemknout"},gridMenu:{columns:"Sloupce:",importerTitle:"Importovat soubor",exporterAllAsCsv:"Exportovat v\u0161echna data do csv",exporterVisibleAsCsv:"Exportovat viditeln\xe1 data do csv",exporterSelectedAsCsv:"Exportovat vybran\xe1 data do csv",exporterAllAsPdf:"Exportovat v\u0161echna data do pdf",exporterVisibleAsPdf:"Exportovat viditeln\xe1 data do pdf",exporterSelectedAsPdf:"Exportovat vybran\xe1 data do pdf",clearAllFilters:"Odstranit v\u0161echny filtry"},importer:{noHeaders:"N\xe1zvy sloupc\u016f se nepoda\u0159ilo z\xedskat, obsahuje soubor z\xe1hlav\xed?",noObjects:"Data se nepoda\u0159ilo zpracovat, obsahuje soubor \u0159\xe1dky mimo z\xe1hlav\xed?",invalidCsv:"Soubor nelze zpracovat, jedn\xe1 se o CSV?",invalidJson:"Soubor nelze zpracovat, je to JSON?",jsonNotArray:"Soubor mus\xed obsahovat json. Ukon\u010duji.."},pagination:{sizes:"polo\u017eek na str\xe1nku",totalItems:"polo\u017eek"},grouping:{group:"Seskupit",ungroup:"Odebrat seskupen\xed",aggregate_count:"Agregace: Count",aggregate_sum:"Agregace: Sum",aggregate_max:"Agregace: Max",aggregate_min:"Agregace: Min",aggregate_avg:"Agregace: Avg",aggregate_remove:"Agregace: Odebrat"}};return e.add("cs",t),e.add("cz",t),e.add("cs-cz",t),e.add("cs-CZ",t),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("da",{aggregate:{label:"artikler"},groupPanel:{description:"Grup\xe9r r\xe6kker udfra en kolonne ved at tr\xe6kke dens overskift hertil."},search:{placeholder:"S\xf8g...",showingItems:"Viste r\xe6kker:",selectedItems:"Valgte r\xe6kker:",totalItems:"R\xe6kker totalt:",size:"Side st\xf8rrelse:",first:"F\xf8rste side",next:"N\xe6ste side",previous:"Forrige side",last:"Sidste side"},menu:{text:"V\xe6lg kolonner:"},sort:{ascending:"Sorter stigende",descending:"Sorter faldende",none:"Sorter ingen",remove:"Fjern sortering"},column:{hide:"Skjul kolonne"},aggregation:{count:"antal r\xe6kker: ",sum:"sum: ",avg:"gns: ",min:"min: ",max:"max: "},gridMenu:{columns:"Kolonner:",importerTitle:"Importer fil",exporterAllAsCsv:"Eksporter alle data som csv",exporterVisibleAsCsv:"Eksporter synlige data som csv",exporterSelectedAsCsv:"Eksporter markerede data som csv",exporterAllAsPdf:"Eksporter alle data som pdf",exporterVisibleAsPdf:"Eksporter synlige data som pdf",exporterSelectedAsPdf:"Eksporter markerede data som pdf",clearAllFilters:"Clear all filters"},importer:{noHeaders:"Column names were unable to be derived, does the file have a header?",noObjects:"Objects were not able to be derived, was there data in the file other than headers?",invalidCsv:"File was unable to be processed, is it valid CSV?",invalidJson:"File was unable to be processed, is it valid Json?",jsonNotArray:"Imported json file must contain an array, aborting."},pagination:{aria:{pageToFirst:"G\xe5 til f\xf8rste",pageBack:"G\xe5 tilbage",pageSelected:"Valgte side",pageForward:"G\xe5 frem",pageToLast:"G\xe5 til sidste"},sizes:"genstande per side",totalItems:"genstande",through:"gennem",of:"af"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("de",{headerCell:{aria:{defaultFilterLabel:"Filter f\xfcr Spalte",removeFilter:"Filter l\xf6schen",columnMenuButtonLabel:"Spaltenmen\xfc"},priority:"Priorit\xe4t:",filterLabel:"Filter f\xfcr Spalte: "},aggregate:{label:"Eintrag"},groupPanel:{description:"Ziehen Sie eine Spalten\xfcberschrift hierhin, um nach dieser Spalte zu gruppieren."},search:{placeholder:"Suche...",showingItems:"Zeige Eintr\xe4ge:",selectedItems:"Ausgew\xe4hlte Eintr\xe4ge:",totalItems:"Eintr\xe4ge gesamt:",size:"Eintr\xe4ge pro Seite:",first:"Erste Seite",next:"N\xe4chste Seite",previous:"Vorherige Seite",last:"Letzte Seite"},menu:{text:"Spalten ausw\xe4hlen:"},sort:{ascending:"aufsteigend sortieren",descending:"absteigend sortieren",none:"keine Sortierung",remove:"Sortierung zur\xfccksetzen"},column:{hide:"Spalte ausblenden"},aggregation:{count:"Zeilen insgesamt: ",sum:"gesamt: ",avg:"Durchschnitt: ",min:"min: ",max:"max: "},pinning:{pinLeft:"Links anheften",pinRight:"Rechts anheften",unpin:"L\xf6sen"},columnMenu:{close:"Schlie\xdfen"},gridMenu:{aria:{buttonLabel:"Tabellenmen\xfc"},columns:"Spalten:",importerTitle:"Datei importieren",exporterAllAsCsv:"Alle Daten als CSV exportieren",exporterVisibleAsCsv:"sichtbare Daten als CSV exportieren",exporterSelectedAsCsv:"markierte Daten als CSV exportieren",exporterAllAsPdf:"Alle Daten als PDF exportieren",exporterVisibleAsPdf:"sichtbare Daten als PDF exportieren",exporterSelectedAsPdf:"markierte Daten als PDF exportieren",clearAllFilters:"Alle Filter zur\xfccksetzen"},importer:{noHeaders:"Es konnten keine Spaltennamen ermittelt werden. Sind in der Datei Spaltendefinitionen enthalten?",noObjects:"Es konnten keine Zeileninformationen gelesen werden, Sind in der Datei au\xdfer den Spaltendefinitionen auch Daten enthalten?",invalidCsv:"Die Datei konnte nicht eingelesen werden, ist es eine g\xfcltige CSV-Datei?",invalidJson:"Die Datei konnte nicht eingelesen werden. Enth\xe4lt sie g\xfcltiges JSON?",jsonNotArray:"Die importierte JSON-Datei mu\xdf ein Array enthalten. Breche Import ab."},pagination:{aria:{pageToFirst:"Zum Anfang",pageBack:"Seite zur\xfcck",pageSelected:"Ausgw\xe4hlte Seite",pageForward:"Seite vor",pageToLast:"Zum Ende"},sizes:"Eintr\xe4ge pro Seite",totalItems:"Eintr\xe4ge",through:"bis",of:"von"},grouping:{group:"Gruppieren",ungroup:"Gruppierung aufheben",aggregate_count:"Agg: Anzahl",aggregate_sum:"Agg: Summe",aggregate_max:"Agg: Maximum",aggregate_min:"Agg: Minimum",aggregate_avg:"Agg: Mittelwert",aggregate_remove:"Aggregation entfernen"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("en",{headerCell:{aria:{defaultFilterLabel:"Filter for column",removeFilter:"Remove Filter",columnMenuButtonLabel:"Column Menu"},priority:"Priority:",filterLabel:"Filter for column: "},aggregate:{label:"items"},groupPanel:{description:"Drag a column header here and drop it to group by that column."},search:{placeholder:"Search...",showingItems:"Showing Items:",selectedItems:"Selected Items:",totalItems:"Total Items:",size:"Page Size:",first:"First Page",next:"Next Page",previous:"Previous Page",last:"Last Page"},menu:{text:"Choose Columns:"},sort:{ascending:"Sort Ascending",descending:"Sort Descending",none:"Sort None",remove:"Remove Sort"},column:{hide:"Hide Column"},aggregation:{count:"total rows: ",sum:"total: ",avg:"avg: ",min:"min: ",max:"max: "},pinning:{pinLeft:"Pin Left",pinRight:"Pin Right",unpin:"Unpin"},columnMenu:{close:"Close"},gridMenu:{aria:{buttonLabel:"Grid Menu"},columns:"Columns:",importerTitle:"Import file",exporterAllAsCsv:"Export all data as csv",exporterVisibleAsCsv:"Export visible data as csv",exporterSelectedAsCsv:"Export selected data as csv",exporterAllAsPdf:"Export all data as pdf",exporterVisibleAsPdf:"Export visible data as pdf",exporterSelectedAsPdf:"Export selected data as pdf",clearAllFilters:"Clear all filters"},importer:{noHeaders:"Column names were unable to be derived, does the file have a header?",noObjects:"Objects were not able to be derived, was there data in the file other than headers?",invalidCsv:"File was unable to be processed, is it valid CSV?",invalidJson:"File was unable to be processed, is it valid Json?",jsonNotArray:"Imported json file must contain an array, aborting."},pagination:{aria:{pageToFirst:"Page to first",pageBack:"Page back",pageSelected:"Selected page",pageForward:"Page forward",pageToLast:"Page to last"},sizes:"items per page",totalItems:"items",through:"through",of:"of"},grouping:{group:"Group",ungroup:"Ungroup",aggregate_count:"Agg: Count",aggregate_sum:"Agg: Sum",aggregate_max:"Agg: Max",aggregate_min:"Agg: Min",aggregate_avg:"Agg: Avg",aggregate_remove:"Agg: Remove"},validate:{error:"Error:",minLength:"Value should be at least THRESHOLD characters long.",maxLength:"Value should be at most THRESHOLD characters long.",required:"A value is needed."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("es",{aggregate:{label:"Art\xedculos"},groupPanel:{description:"Arrastre un encabezado de columna aqu\xed y su\xe9ltelo para agrupar por esa columna."},search:{placeholder:"Buscar...",showingItems:"Art\xedculos Mostrados:",selectedItems:"Art\xedculos Seleccionados:",totalItems:"Art\xedculos Totales:",size:"Tama\xf1o de P\xe1gina:",first:"Primera P\xe1gina",next:"P\xe1gina Siguiente",previous:"P\xe1gina Anterior",last:"\xdaltima P\xe1gina"},menu:{text:"Elegir columnas:"},sort:{ascending:"Orden Ascendente",descending:"Orden Descendente",remove:"Sin Ordenar"},column:{hide:"Ocultar la columna"},aggregation:{count:"filas totales: ",sum:"total: ",avg:"media: ",min:"min: ",max:"max: "},pinning:{pinLeft:"Fijar a la Izquierda",pinRight:"Fijar a la Derecha",unpin:"Quitar Fijaci\xf3n"},gridMenu:{columns:"Columnas:",importerTitle:"Importar archivo",exporterAllAsCsv:"Exportar todo como csv",exporterVisibleAsCsv:"Exportar vista como csv",exporterSelectedAsCsv:"Exportar selecci\xf3n como csv",exporterAllAsPdf:"Exportar todo como pdf",exporterVisibleAsPdf:"Exportar vista como pdf",exporterSelectedAsPdf:"Exportar selecci\xf3n como pdf",clearAllFilters:"Limpiar todos los filtros"},importer:{noHeaders:"No fue posible derivar los nombres de las columnas, \xbftiene encabezados el archivo?",noObjects:"No fue posible obtener registros, \xbfcontiene datos el archivo, aparte de los encabezados?",invalidCsv:"No fue posible procesar el archivo, \xbfes un CSV v\xe1lido?",invalidJson:"No fue posible procesar el archivo, \xbfes un Json v\xe1lido?",jsonNotArray:"El archivo json importado debe contener un array, abortando."},pagination:{sizes:"registros por p\xe1gina",totalItems:"registros",of:"de"},grouping:{group:"Agrupar",ungroup:"Desagrupar",aggregate_count:"Agr: Cont",aggregate_sum:"Agr: Sum",aggregate_max:"Agr: M\xe1x",aggregate_min:"Agr: Min",aggregate_avg:"Agr: Prom",aggregate_remove:"Agr: Quitar"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("fa",{aggregate:{label:"\u0642\u0644\u0645"},groupPanel:{description:"\u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0633\u062a\u0648\u0646 \u0631\u0627 \u0628\u06af\u06cc\u0631 \u0648 \u0628\u0647 \u06af\u0631\u0648\u0647\u06cc \u0627\u0632 \u0622\u0646 \u0633\u062a\u0648\u0646 \u0631\u0647\u0627 \u06a9\u0646."},search:{placeholder:"\u062c\u0633\u062a\u062c\u0648...",showingItems:"\u0646\u0645\u0627\u06cc\u0634 \u0627\u0642\u0644\u0627\u0645:",selectedItems:"\u0642\u0644\u0645\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0634\u062f\u0647:",totalItems:"\u0645\u062c\u0645\u0648\u0639 \u0627\u0642\u0644\u0627\u0645:",size:"\u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06cc \u0635\u0641\u062d\u0647:",first:"\u0627\u0648\u0644\u06cc\u0646 \u0635\u0641\u062d\u0647",next:"\u0635\u0641\u062d\u0647\u200c\u06cc\u200c\u0628\u0639\u062f\u06cc",previous:"\u0635\u0641\u062d\u0647\u200c\u06cc\u200c \u0642\u0628\u0644\u06cc",last:"\u0622\u062e\u0631\u06cc\u0646 \u0635\u0641\u062d\u0647"},menu:{text:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628\u06cc:"},sort:{ascending:"\u062a\u0631\u062a\u06cc\u0628 \u0635\u0639\u0648\u062f\u06cc",descending:"\u062a\u0631\u062a\u06cc\u0628 \u0646\u0632\u0648\u0644\u06cc",remove:"\u062d\u0630\u0641 \u0645\u0631\u062a\u0628 \u06a9\u0631\u062f\u0646"},column:{hide:"\u067e\u0646\u0647\u0627\u0646\u200c\u06a9\u0631\u062f\u0646 \u0633\u062a\u0648\u0646"},aggregation:{count:"\u062a\u0639\u062f\u0627\u062f: ",sum:"\u0645\u062c\u0645\u0648\u0639: ",avg:"\u0645\u06cc\u0627\u0646\u06af\u06cc\u0646: ",min:"\u06a9\u0645\u062a\u0631\u06cc\u0646: ",max:"\u0628\u06cc\u0634\u062a\u0631\u06cc\u0646: "},pinning:{pinLeft:"\u067e\u06cc\u0646 \u06a9\u0631\u062f\u0646 \u0633\u0645\u062a \u0686\u067e",pinRight:"\u067e\u06cc\u0646 \u06a9\u0631\u062f\u0646 \u0633\u0645\u062a \u0631\u0627\u0633\u062a",unpin:"\u062d\u0630\u0641 \u067e\u06cc\u0646"},gridMenu:{columns:"\u0633\u062a\u0648\u0646\u200c\u0647\u0627:",importerTitle:"\u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644",exporterAllAsCsv:"\u062e\u0631\u0648\u062c\u06cc \u062a\u0645\u0627\u0645 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 csv",exporterVisibleAsCsv:"\u062e\u0631\u0648\u062c\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0642\u0627\u0628\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 csv",exporterSelectedAsCsv:"\u062e\u0631\u0648\u062c\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628\u200c\u0634\u062f\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 csv",exporterAllAsPdf:"\u062e\u0631\u0648\u062c\u06cc \u062a\u0645\u0627\u0645 \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 pdf",exporterVisibleAsPdf:"\u062e\u0631\u0648\u062c\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0642\u0627\u0628\u0644 \u0645\u0634\u0627\u0647\u062f\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 pdf",exporterSelectedAsPdf:"\u062e\u0631\u0648\u062c\u06cc \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628\u200c\u0634\u062f\u0647 \u062f\u0631 \u0641\u0627\u06cc\u0644 pdf",clearAllFilters:"\u067e\u0627\u06a9 \u06a9\u0631\u062f\u0646 \u062a\u0645\u0627\u0645 \u0641\u06cc\u0644\u062a\u0631"},importer:{noHeaders:"\u0646\u0627\u0645 \u0633\u062a\u0648\u0646 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0646\u06cc\u0633\u062a. \u0622\u06cc\u0627 \u0641\u0627\u06cc\u0644 \u0639\u0646\u0648\u0627\u0646 \u062f\u0627\u0631\u062f\u061f",noObjects:"\u0627\u0634\u06cc\u0627 \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0646\u06cc\u0633\u062a\u0646\u062f. \u0622\u06cc\u0627 \u0628\u0647 \u062c\u0632 \u0639\u0646\u0648\u0627\u0646\u200c\u0647\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 \u062f\u0627\u062f\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f\u061f",invalidCsv:"\u0641\u0627\u06cc\u0644 \u0642\u0627\u0628\u0644 \u067e\u0631\u062f\u0627\u0632\u0634 \u0646\u06cc\u0633\u062a. \u0622\u06cc\u0627 \u0641\u0631\u0645\u062a  csv  \u0645\u0639\u062a\u0628\u0631 \u0627\u0633\u062a\u061f",invalidJson:"\u0641\u0627\u06cc\u0644 \u0642\u0627\u0628\u0644 \u067e\u0631\u062f\u0627\u0632\u0634 \u0646\u06cc\u0633\u062a. \u0622\u06cc\u0627 \u0641\u0631\u0645\u062a json   \u0645\u0639\u062a\u0628\u0631 \u0627\u0633\u062a\u061f",jsonNotArray:"\u0641\u0627\u06cc\u0644 json \u0648\u0627\u0631\u062f \u0634\u062f\u0647 \u0628\u0627\u06cc\u062f \u062d\u0627\u0648\u06cc \u0622\u0631\u0627\u06cc\u0647 \u0628\u0627\u0634\u062f. \u0639\u0645\u0644\u06cc\u0627\u062a \u0633\u0627\u0642\u0637 \u0634\u062f."},pagination:{sizes:"\u0627\u0642\u0644\u0627\u0645 \u062f\u0631 \u0647\u0631 \u0635\u0641\u062d\u0647",totalItems:"\u0627\u0642\u0644\u0627\u0645",of:"\u0627\u0632"},grouping:{group:"\u06af\u0631\u0648\u0647\u200c\u0628\u0646\u062f\u06cc",ungroup:"\u062d\u0630\u0641 \u06af\u0631\u0648\u0647\u200c\u0628\u0646\u062f\u06cc",aggregate_count:"Agg: \u062a\u0639\u062f\u0627\u062f",aggregate_sum:"Agg: \u062c\u0645\u0639",aggregate_max:"Agg: \u0628\u06cc\u0634\u06cc\u0646\u0647",aggregate_min:"Agg: \u06a9\u0645\u06cc\u0646\u0647",aggregate_avg:"Agg: \u0645\u06cc\u0627\u0646\u06af\u06cc\u0646",aggregate_remove:"Agg: \u062d\u0630\u0641"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("fi",{aggregate:{label:"rivit"},groupPanel:{description:"Raahaa ja pudota otsikko t\xe4h\xe4n ryhmitt\xe4\xe4ksesi sarakkeen mukaan."},search:{placeholder:"Hae...",showingItems:"N\xe4ytet\xe4\xe4n rivej\xe4:",selectedItems:"Valitut rivit:",totalItems:"Rivej\xe4 yht.:",size:"N\xe4yt\xe4:",first:"Ensimm\xe4inen sivu",next:"Seuraava sivu",previous:"Edellinen sivu",last:"Viimeinen sivu"},menu:{text:"Valitse sarakkeet:"},sort:{ascending:"J\xe4rjest\xe4 nouseva",descending:"J\xe4rjest\xe4 laskeva",remove:"Poista j\xe4rjestys"},column:{hide:"Piilota sarake"},aggregation:{count:"Rivej\xe4 yht.: ",sum:"Summa: ",avg:"K.a.: ",min:"Min: ",max:"Max: "},pinning:{pinLeft:"Lukitse vasemmalle",pinRight:"Lukitse oikealle",unpin:"Poista lukitus"},gridMenu:{columns:"Sarakkeet:",importerTitle:"Tuo tiedosto",exporterAllAsCsv:"Vie tiedot csv-muodossa",exporterVisibleAsCsv:"Vie n\xe4kyv\xe4 tieto csv-muodossa",exporterSelectedAsCsv:"Vie valittu tieto csv-muodossa",exporterAllAsPdf:"Vie tiedot pdf-muodossa",exporterVisibleAsPdf:"Vie n\xe4kyv\xe4 tieto pdf-muodossa",exporterSelectedAsPdf:"Vie valittu tieto pdf-muodossa",clearAllFilters:"Puhdista kaikki suodattimet"},importer:{noHeaders:"Sarakkeen nimi\xe4 ei voitu p\xe4\xe4tell\xe4, onko tiedostossa otsikkorivi\xe4?",noObjects:"Tietoja ei voitu lukea, onko tiedostossa muuta kuin otsikkot?",invalidCsv:"Tiedostoa ei voitu k\xe4sitell\xe4, oliko se CSV-muodossa?",invalidJson:"Tiedostoa ei voitu k\xe4sitell\xe4, oliko se JSON-muodossa?",jsonNotArray:"Tiedosto ei sis\xe4lt\xe4nyt taulukkoa, lopetetaan."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("fr",{headerCell:{aria:{defaultFilterLabel:"Filtre de la colonne",removeFilter:"Supprimer le filtre",columnMenuButtonLabel:"Menu de la colonne"},priority:"Priorit\xe9:",filterLabel:"Filtre de la colonne: "},aggregate:{label:"\xe9l\xe9ments"},groupPanel:{description:"Faites glisser une en-t\xeate de colonne ici pour cr\xe9er un groupe de colonnes."},search:{placeholder:"Recherche...",showingItems:"Affichage des \xe9l\xe9ments :",selectedItems:"\xc9l\xe9ments s\xe9lectionn\xe9s :",totalItems:"Nombre total d'\xe9l\xe9ments:",size:"Taille de page:",first:"Premi\xe8re page",next:"Page Suivante",previous:"Page pr\xe9c\xe9dente",last:"Derni\xe8re page"},menu:{text:"Choisir des colonnes :"},sort:{ascending:"Trier par ordre croissant",descending:"Trier par ordre d\xe9croissant",none:"Aucun tri",remove:"Enlever le tri"},column:{hide:"Cacher la colonne"},aggregation:{count:"lignes totales: ",sum:"total: ",avg:"moy: ",min:"min: ",max:"max: "},pinning:{pinLeft:"\xc9pingler \xe0 gauche",pinRight:"\xc9pingler \xe0 droite",unpin:"D\xe9tacher"},columnMenu:{close:"Fermer"},gridMenu:{aria:{buttonLabel:"Menu du tableau"},columns:"Colonnes:",importerTitle:"Importer un fichier",exporterAllAsCsv:"Exporter toutes les donn\xe9es en CSV",exporterVisibleAsCsv:"Exporter les donn\xe9es visibles en CSV",exporterSelectedAsCsv:"Exporter les donn\xe9es s\xe9lectionn\xe9es en CSV",exporterAllAsPdf:"Exporter toutes les donn\xe9es en PDF",exporterVisibleAsPdf:"Exporter les donn\xe9es visibles en PDF",exporterSelectedAsPdf:"Exporter les donn\xe9es s\xe9lectionn\xe9es en PDF",clearAllFilters:"Nettoyez tous les filtres"},importer:{noHeaders:"Impossible de d\xe9terminer le nom des colonnes, le fichier poss\xe8de-t-il une en-t\xeate ?",noObjects:"Aucun objet trouv\xe9, le fichier poss\xe8de-t-il des donn\xe9es autres que l'en-t\xeate ?",invalidCsv:"Le fichier n'a pas pu \xeatre trait\xe9, le CSV est-il valide ?",invalidJson:"Le fichier n'a pas pu \xeatre trait\xe9, le JSON est-il valide ?",jsonNotArray:"Le fichier JSON import\xe9 doit contenir un tableau, abandon."},pagination:{aria:{pageToFirst:"Aller \xe0 la premi\xe8re page",pageBack:"Page pr\xe9c\xe9dente",pageSelected:"Page s\xe9lectionn\xe9e",pageForward:"Page suivante",pageToLast:"Aller \xe0 la derni\xe8re page"},sizes:"\xe9l\xe9ments par page",totalItems:"\xe9l\xe9ments",through:"\xe0",of:"sur"},grouping:{group:"Grouper",ungroup:"D\xe9grouper",aggregate_count:"Agg: Compter",aggregate_sum:"Agg: Somme",aggregate_max:"Agg: Max",aggregate_min:"Agg: Min",aggregate_avg:"Agg: Moy",aggregate_remove:"Agg: Retirer"},validate:{error:"Erreur:",minLength:"La valeur doit \xeatre sup\xe9rieure ou \xe9gale \xe0 THRESHOLD caract\xe8res.",maxLength:"La valeur doit \xeatre inf\xe9rieure ou \xe9gale \xe0 THRESHOLD caract\xe8res.",required:"Une valeur est n\xe9c\xe9ssaire."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("he",{aggregate:{label:"items"},groupPanel:{description:"\u05d2\u05e8\u05d5\u05e8 \u05e2\u05de\u05d5\u05d3\u05d4 \u05dc\u05db\u05d0\u05df \u05d5\u05e9\u05d7\u05e8\u05e8 \u05d1\u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05e5 \u05e2\u05de\u05d5\u05d3\u05d4 \u05d6\u05d5."},search:{placeholder:"\u05d7\u05e4\u05e9...",showingItems:"\u05de\u05e6\u05d9\u05d2:",selectedItems:'\u05e1\u05d4"\u05db \u05e0\u05d1\u05d7\u05e8\u05d5:',totalItems:'\u05e1\u05d4"\u05db \u05e8\u05e9\u05d5\u05de\u05d5\u05ea:',size:"\u05ea\u05d5\u05e6\u05d0\u05d5\u05ea \u05d1\u05d3\u05e3:",first:"\u05d3\u05e3 \u05e8\u05d0\u05e9\u05d5\u05df",next:"\u05d3\u05e3 \u05d4\u05d1\u05d0",previous:"\u05d3\u05e3 \u05e7\u05d5\u05d3\u05dd",last:"\u05d3\u05e3 \u05d0\u05d7\u05e8\u05d5\u05df"},menu:{text:"\u05d1\u05d7\u05e8 \u05e2\u05de\u05d5\u05d3\u05d5\u05ea:"},sort:{ascending:"\u05e1\u05d3\u05e8 \u05e2\u05d5\u05dc\u05d4",descending:"\u05e1\u05d3\u05e8 \u05d9\u05d5\u05e8\u05d3",remove:"\u05d1\u05d8\u05dc"},column:{hide:"\u05d8\u05d5\u05e8 \u05d4\u05e1\u05ea\u05e8"},aggregation:{count:"total rows: ",sum:"total: ",avg:"avg: ",min:"min: ",max:"max: "},gridMenu:{columns:"Columns:",importerTitle:"Import file",exporterAllAsCsv:"Export all data as csv",exporterVisibleAsCsv:"Export visible data as csv",exporterSelectedAsCsv:"Export selected data as csv",exporterAllAsPdf:"Export all data as pdf",exporterVisibleAsPdf:"Export visible data as pdf",exporterSelectedAsPdf:"Export selected data as pdf",clearAllFilters:"Clean all filters"},importer:{noHeaders:"Column names were unable to be derived, does the file have a header?",noObjects:"Objects were not able to be derived, was there data in the file other than headers?",invalidCsv:"File was unable to be processed, is it valid CSV?",invalidJson:"File was unable to be processed, is it valid Json?",jsonNotArray:"Imported json file must contain an array, aborting."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("hy",{aggregate:{label:"\u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580"},groupPanel:{description:"\u0538\u057d\u057f \u057d\u0575\u0561\u0576 \u056d\u0574\u0562\u0561\u057e\u0578\u0580\u0565\u056c\u0578\u0582 \u0570\u0561\u0574\u0561\u0580 \u0584\u0561\u0577\u0565\u0584 \u0587 \u0563\u0581\u0565\u0584 \u057e\u0565\u0580\u0576\u0561\u0563\u056b\u0580\u0576 \u0561\u0575\u057d\u057f\u0565\u0572\u0589"},search:{placeholder:"\u0553\u0576\u057f\u0580\u0578\u0582\u0574...",showingItems:"\u0551\u0578\u0582\u0581\u0561\u0564\u0580\u057e\u0561\u056e \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u055d",selectedItems:"\u0538\u0576\u057f\u0580\u057e\u0561\u056e:",totalItems:"\u0538\u0576\u0564\u0561\u0574\u0565\u0576\u0568\u055d",size:"\u054f\u0578\u0572\u0565\u0580\u056b \u0584\u0561\u0576\u0561\u056f\u0568 \u0567\u057b\u0578\u0582\u0574\u055d",first:"\u0531\u057c\u0561\u057b\u056b\u0576 \u0567\u057b",next:"\u0540\u0561\u057b\u0578\u0580\u0564 \u0567\u057b",previous:"\u0546\u0561\u056d\u0578\u0580\u0564 \u0567\u057b",last:"\u054e\u0565\u0580\u057b\u056b\u0576 \u0567\u057b"},menu:{text:"\u0538\u0576\u057f\u0580\u0565\u056c \u057d\u0575\u0578\u0582\u0576\u0565\u0580\u0568:"},sort:{ascending:"\u0531\u0573\u0574\u0561\u0576 \u056f\u0561\u0580\u0563\u0578\u057e",descending:"\u0546\u057e\u0561\u0566\u0574\u0561\u0576 \u056f\u0561\u0580\u0563\u0578\u057e",remove:"\u0540\u0561\u0576\u0565\u056c "},column:{hide:"\u0539\u0561\u0584\u0581\u0576\u0565\u056c \u057d\u0575\u0578\u0582\u0576\u0568"},aggregation:{count:"\u0568\u0576\u0564\u0561\u0574\u0565\u0576\u0568 \u057f\u0578\u0572\u055d ",sum:"\u0568\u0576\u0564\u0561\u0574\u0565\u0576\u0568\u055d ",avg:"\u0574\u056b\u057b\u056b\u0576\u055d ",min:"\u0574\u056b\u0576\u055d ",max:"\u0574\u0561\u0584\u057d\u055d "},pinning:{pinLeft:"\u053f\u057a\u0581\u0576\u0565\u056c \u0571\u0561\u056d \u056f\u0578\u0572\u0574\u0578\u0582\u0574",pinRight:"\u053f\u057a\u0581\u0576\u0565\u056c \u0561\u057b \u056f\u0578\u0572\u0574\u0578\u0582\u0574",unpin:"\u0531\u0580\u0571\u0561\u056f\u0565\u056c"},gridMenu:{columns:"\u054d\u0575\u0578\u0582\u0576\u0565\u0580:",importerTitle:"\u0546\u0565\u0580\u0574\u0578\u0582\u056e\u0565\u056c \u0586\u0561\u0575\u056c",exporterAllAsCsv:"\u0531\u0580\u057f\u0561\u0570\u0561\u0576\u0565\u056c \u0561\u0574\u0562\u0578\u0572\u057b\u0568 CSV",exporterVisibleAsCsv:"\u0531\u0580\u057f\u0561\u0570\u0561\u0576\u0565\u056c \u0565\u0580\u0587\u0561\u0581\u0578\u0572 \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u0568 CSV",exporterSelectedAsCsv:"\u0531\u0580\u057f\u0561\u0570\u0561\u0576\u0565\u056c \u0568\u0576\u057f\u0580\u057e\u0561\u056e \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u0568 CSV",exporterAllAsPdf:"\u0531\u0580\u057f\u0561\u0570\u0561\u0576\u0565\u056c PDF",exporterVisibleAsPdf:"\u0531\u0580\u057f\u0561\u0570\u0561\u0576\u0565\u056c \u0565\u0580\u0587\u0561\u0581\u0578\u0572 \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u0568 PDF",exporterSelectedAsPdf:"\u0531\u0580\u057f\u0561\u0570\u0561\u0576\u0565\u056c \u0568\u0576\u057f\u0580\u057e\u0561\u056e \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u0568 PDF",clearAllFilters:"\u0544\u0561\u0584\u0580\u0565\u056c \u0562\u0578\u056c\u0578\u0580 \u0586\u056b\u056c\u057f\u0580\u0565\u0580\u0568"},importer:{noHeaders:"\u0540\u0576\u0561\u0580\u0561\u057e\u0578\u0580 \u0579\u0565\u0572\u0561\u057e \u0578\u0580\u0578\u0577\u0565\u056c \u057d\u0575\u0561\u0576 \u057e\u0565\u0580\u0576\u0561\u0563\u0580\u0565\u0580\u0568\u0589 \u0531\u0580\u0564\u0575\u0578\u055e\u0584 \u0586\u0561\u0575\u056c\u0568 \u0578\u0582\u0576\u056b \u057e\u0565\u0580\u0576\u0561\u0563\u0580\u0565\u0580\u0589",noObjects:"\u0540\u0576\u0561\u0580\u0561\u057e\u0578\u0580 \u0579\u0565\u0572\u0561\u057e \u056f\u0561\u0580\u0564\u0561\u056c \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u0568\u0589 \u0531\u0580\u0564\u0575\u0578\u055e\u0584 \u0586\u0561\u0575\u056c\u0578\u0582\u0574 \u056f\u0561\u0576 \u057f\u057e\u0575\u0561\u056c\u0576\u0565\u0580\u0589",invalidCsv:"\u0540\u0576\u0561\u0580\u0561\u057e\u0578\u0580 \u0579\u0565\u0572\u0561\u057e \u0574\u0577\u0561\u056f\u0565\u056c \u0586\u0561\u0575\u056c\u0568\u0589 \u0531\u0580\u0564\u0575\u0578\u055e\u0584 \u0561\u0575\u0576 \u057e\u0561\u057e\u0565\u0580 CSV \u0567\u0589",invalidJson:"\u0540\u0576\u0561\u0580\u0561\u057e\u0578\u0580 \u0579\u0565\u0572\u0561\u057e \u0574\u0577\u0561\u056f\u0565\u056c \u0586\u0561\u0575\u056c\u0568\u0589 \u0531\u0580\u0564\u0575\u0578\u055e\u0584 \u0561\u0575\u0576 \u057e\u0561\u057e\u0565\u0580 Json \u0567\u0589",jsonNotArray:"\u0546\u0565\u0580\u0574\u0578\u0582\u056e\u057e\u0561\u056e json \u0586\u0561\u0575\u056c\u0568 \u057a\u0565\u057f\u0584 \u0567 \u057a\u0561\u0580\u0578\u0582\u0576\u0561\u056f\u056b \u0566\u0561\u0576\u0563\u057e\u0561\u056e, \u056f\u0561\u057d\u0565\u0581\u057e\u0578\u0582\u0574 \u0567\u0589"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("is",{headerCell:{aria:{defaultFilterLabel:"S\xeda fyrir d\xe1lk",removeFilter:"Fjarl\xe6gja s\xedu",columnMenuButtonLabel:"D\xe1lkavalmynd"},priority:"Forgangsr\xf6\xf0un:",filterLabel:"S\xeda fyrir d\xe1lka: "},aggregate:{label:"hlutir"},groupPanel:{description:"Drag\xf0u d\xe1lkhaus hinga\xf0 til a\xf0 flokka saman eftir \xfeeim d\xe1lki."},search:{placeholder:"Leita...",showingItems:"S\xfdni hluti:",selectedItems:"Valdir hlutir:",totalItems:"Hlutir alls:",size:"St\xe6r\xf0 s\xed\xf0u:",first:"Fyrsta s\xed\xf0a",next:"N\xe6sta s\xed\xf0a",previous:"Fyrri s\xed\xf0a",last:"S\xed\xf0asta s\xed\xf0a"},menu:{text:"Veldu d\xe1lka:"},sort:{ascending:"Ra\xf0a h\xe6kkandi",descending:"Ra\xf0a l\xe6kkandi",none:"Engin r\xf6\xf0un",remove:"Fjarl\xe6gja r\xf6\xf0un"},column:{hide:"Fela d\xe1lk"},aggregation:{count:"fj\xf6ldi ra\xf0a: ",sum:"summa: ",avg:"me\xf0altal: ",min:"l\xe1gmark: ",max:"h\xe1mark: "},pinning:{pinLeft:"Festa til vinstri",pinRight:"Festa til h\xe6gri",unpin:"Losa"},columnMenu:{close:"Loka"},gridMenu:{aria:{buttonLabel:"T\xf6flu valmynd"},columns:"D\xe1lkar:",importerTitle:"Flytja inn skjal",exporterAllAsCsv:"Flytja \xfat g\xf6gn sem csv",exporterVisibleAsCsv:"Flytja \xfat s\xfdnileg g\xf6gn sem csv",exporterSelectedAsCsv:"Flytja \xfat valin g\xf6gn sem csv",exporterAllAsPdf:"Flytja \xfat \xf6ll g\xf6gn sem pdf",exporterVisibleAsPdf:"Flytja \xfat s\xfdnileg g\xf6gn sem pdf",exporterSelectedAsPdf:"Flytja \xfat valin g\xf6gn sem pdf",clearAllFilters:"Hreinsa allar s\xedur"},importer:{noHeaders:"Ekki h\xe6gt a\xf0 vinna d\xe1lkan\xf6fn \xfar skjalinu, er skjali\xf0 \xf6rugglega me\xf0 haus?",noObjects:"Ekki h\xe6gt a\xf0 vinna hluti \xfar skjalinu, voru \xf6rugglega g\xf6gn \xed skjalinu \xf6nnur en hausinn?",invalidCsv:"T\xf3kst ekki a\xf0 vinna skjal, er \xfea\xf0 \xf6rggulega gilt CSV?",invalidJson:"T\xf3kst ekki a\xf0 vinna skjal, er \xfea\xf0 \xf6rugglega gilt Json?",jsonNotArray:"Innflutt json skjal ver\xf0ur a\xf0 innihalda fylki, h\xe6tti vi\xf0."},pagination:{aria:{pageToFirst:"Fletta a\xf0 fyrstu",pageBack:"Fletta til baka",pageSelected:"Valin s\xed\xf0a",pageForward:"Fletta \xe1fram",pageToLast:"Fletta a\xf0 s\xed\xf0ustu"},sizes:"hlutir \xe1 s\xed\xf0u",totalItems:"hlutir",through:"gegnum",of:"af"},grouping:{group:"Flokka",ungroup:"Sundurli\xf0a",aggregate_count:"Fj\xf6ldi: ",aggregate_sum:"Summa: ",aggregate_max:"H\xe1mark: ",aggregate_min:"L\xe1gmark: ",aggregate_avg:"Me\xf0altal: ",aggregate_remove:"Fjarl\xe6gja: "},validate:{error:"Villa:",minLength:"Gildi \xe6tti a\xf0 vera a.m.k. THRESHOLD stafa langt.",maxLength:"Gildi \xe6tti a\xf0 vera \xed mesta lagi THRESHOLD stafa langt.",required:"\xdearf a\xf0 hafa gildi."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("it",{aggregate:{label:"elementi"},groupPanel:{description:"Trascina un'intestazione all'interno del gruppo della colonna."},search:{placeholder:"Ricerca...",showingItems:"Mostra:",selectedItems:"Selezionati:",totalItems:"Totali:",size:"Tot Pagine:",first:"Prima",next:"Prossima",previous:"Precedente",last:"Ultima"},menu:{text:"Scegli le colonne:"},sort:{ascending:"Asc.",descending:"Desc.",remove:"Annulla ordinamento"},column:{hide:"Nascondi"},aggregation:{count:"righe totali: ",sum:"tot: ",avg:"media: ",min:"minimo: ",max:"massimo: "},pinning:{pinLeft:"Blocca a sx",pinRight:"Blocca a dx",unpin:"Blocca in alto"},gridMenu:{columns:"Colonne:",importerTitle:"Importa",exporterAllAsCsv:"Esporta tutti i dati in CSV",exporterVisibleAsCsv:"Esporta i dati visibili in CSV",exporterSelectedAsCsv:"Esporta i dati selezionati in CSV",exporterAllAsPdf:"Esporta tutti i dati in PDF",exporterVisibleAsPdf:"Esporta i dati visibili in PDF",exporterSelectedAsPdf:"Esporta i dati selezionati in PDF",clearAllFilters:"Pulire tutti i filtri"},importer:{noHeaders:"Impossibile reperire i nomi delle colonne, sicuro che siano indicati all'interno del file?",noObjects:"Impossibile reperire gli oggetti, sicuro che siano indicati all'interno del file?",invalidCsv:"Impossibile elaborare il file, sicuro che sia un CSV?",invalidJson:"Impossibile elaborare il file, sicuro che sia un JSON valido?",jsonNotArray:"Errore! Il file JSON da importare deve contenere un array."},pagination:{aria:{pageToFirst:"Prima",pageBack:"Indietro",pageSelected:"Pagina selezionata",pageForward:"Avanti",pageToLast:"Ultima"},sizes:"elementi per pagina",totalItems:"elementi",through:"a",of:"di"},grouping:{group:"Raggruppa",ungroup:"Separa",aggregate_count:"Agg: N. Elem.",aggregate_sum:"Agg: Somma",aggregate_max:"Agg: Massimo",aggregate_min:"Agg: Minimo",aggregate_avg:"Agg: Media",aggregate_remove:"Agg: Rimuovi"},validate:{error:"Errore:",minLength:"Lunghezza minima pari a THRESHOLD caratteri.",maxLength:"Lunghezza massima pari a THRESHOLD caratteri.",required:"Necessario inserire un valore."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("ja",{headerCell:{aria:{defaultFilterLabel:"\u5217\u306e\u30d5\u30a3\u30eb\u30bf\u30fc",removeFilter:"\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u89e3\u9664",columnMenuButtonLabel:"\u5217\u306e\u30e1\u30cb\u30e5\u30fc"},priority:"\u512a\u5148\u5ea6:",filterLabel:"\u5217\u30d5\u30a3\u30eb\u30bf\u30fc: "},aggregate:{label:"\u9805\u76ee"},groupPanel:{description:"\u3053\u3053\u306b\u5217\u30d8\u30c3\u30c0\u3092\u30c9\u30e9\u30c3\u30b0\u30a2\u30f3\u30c9\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u3001\u305d\u306e\u5217\u3067\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u307e\u3059\u3002"},search:{placeholder:"\u691c\u7d22...",showingItems:"\u8868\u793a\u4e2d\u306e\u9805\u76ee:",selectedItems:"\u9078\u629e\u3057\u305f\u9805\u76ee:",totalItems:"\u9805\u76ee\u306e\u7dcf\u6570:",size:"\u30da\u30fc\u30b8\u30b5\u30a4\u30ba:",first:"\u6700\u521d\u306e\u30da\u30fc\u30b8",next:"\u6b21\u306e\u30da\u30fc\u30b8",previous:"\u524d\u306e\u30da\u30fc\u30b8",last:"\u524d\u306e\u30da\u30fc\u30b8"},menu:{text:"\u5217\u306e\u9078\u629e:"},sort:{ascending:"\u6607\u9806\u306b\u4e26\u3079\u66ff\u3048",descending:"\u964d\u9806\u306b\u4e26\u3079\u66ff\u3048",none:"\u4e26\u3079\u66ff\u3048\u7121\u3057",remove:"\u4e26\u3079\u66ff\u3048\u306e\u89e3\u9664"},column:{hide:"\u5217\u306e\u975e\u8868\u793a"},aggregation:{count:"\u884c\u6570: ",sum:"\u5408\u8a08: ",avg:"\u5e73\u5747: ",min:"\u6700\u5c0f: ",max:"\u6700\u5927: "},pinning:{pinLeft:"\u5de6\u306b\u56fa\u5b9a",pinRight:"\u53f3\u306b\u56fa\u5b9a",unpin:"\u56fa\u5b9a\u89e3\u9664"},columnMenu:{close:"\u9589\u3058\u308b"},gridMenu:{aria:{buttonLabel:"\u30b0\u30ea\u30c3\u30c9\u30e1\u30cb\u30e5\u30fc"},columns:"\u5217\u306e\u8868\u793a/\u975e\u8868\u793a:",importerTitle:"\u30d5\u30a1\u30a4\u30eb\u306e\u30a4\u30f3\u30dd\u30fc\u30c8",exporterAllAsCsv:"\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092CSV\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",exporterVisibleAsCsv:"\u8868\u793a\u4e2d\u306e\u30c7\u30fc\u30bf\u3092CSV\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",exporterSelectedAsCsv:"\u9078\u629e\u3057\u305f\u30c7\u30fc\u30bf\u3092CSV\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",exporterAllAsPdf:"\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092PDF\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",exporterVisibleAsPdf:"\u8868\u793a\u4e2d\u306e\u30c7\u30fc\u30bf\u3092PDF\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",exporterSelectedAsPdf:"\u9078\u629e\u3057\u305f\u30c7\u30fc\u30bf\u3092PDF\u5f62\u5f0f\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8",clearAllFilters:"\u3059\u3079\u3066\u306e\u30d5\u30a3\u30eb\u30bf\u3092\u30af\u30ea\u30a2"},importer:{noHeaders:"\u5217\u540d\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u306b\u30d8\u30c3\u30c0\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002",noObjects:"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u306b\u30d8\u30c3\u30c0\u4ee5\u5916\u306e\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002",invalidCsv:"\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3067\u304d\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u304c\u6709\u52b9\u306aCSV\u5f62\u5f0f\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002",invalidJson:"\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3067\u304d\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u304c\u6709\u52b9\u306aJSON\u5f62\u5f0f\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002",jsonNotArray:"\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305fJSON\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u914d\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u51e6\u7406\u3092\u4e2d\u6b62\u3057\u307e\u3059\u3002"},pagination:{aria:{pageToFirst:"\u6700\u521d\u306e\u30da\u30fc\u30b8",pageBack:"\u524d\u306e\u30da\u30fc\u30b8",pageSelected:"\u73fe\u5728\u306e\u30da\u30fc\u30b8",pageForward:"\u6b21\u306e\u30da\u30fc\u30b8",pageToLast:"\u6700\u5f8c\u306e\u30da\u30fc\u30b8"},sizes:"\u9805\u76ee/\u30da\u30fc\u30b8",totalItems:"\u9805\u76ee",through:"\u304b\u3089",of:"\u9805\u76ee/\u5168"},grouping:{group:"\u30b0\u30eb\u30fc\u30d7\u5316",ungroup:"\u30b0\u30eb\u30fc\u30d7\u5316\u306e\u89e3\u9664",aggregate_count:"\u96c6\u8a08\u8868\u793a: \u884c\u6570",aggregate_sum:"\u96c6\u8a08\u8868\u793a: \u5408\u8a08",aggregate_max:"\u96c6\u8a08\u8868\u793a: \u6700\u5927",aggregate_min:"\u96c6\u8a08\u8868\u793a: \u6700\u5c0f",aggregate_avg:"\u96c6\u8a08\u8868\u793a: \u5e73\u5747",aggregate_remove:"\u96c6\u8a08\u8868\u793a: \u89e3\u9664"},validate:{error:"Error:",minLength:"THRESHOLD \u6587\u5b57\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",maxLength:"THRESHOLD \u6587\u5b57\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002",required:"\u5024\u304c\u5fc5\u8981\u3067\u3059\u3002"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("ko",{aggregate:{label:"\uc544\uc774\ud15c"},groupPanel:{description:"\uceec\ub7fc\uc73c\ub85c \uadf8\ub8f9\ud551\ud558\uae30 \uc704\ud574\uc11c\ub294 \uceec\ub7fc \ud5e4\ub354\ub97c \ub04c\uc5b4 \ub5a8\uc5b4\ub728\ub824 \uc8fc\uc138\uc694."},search:{placeholder:"\uac80\uc0c9...",showingItems:"\ud56d\ubaa9 \ubcf4\uc5ec\uc8fc\uae30:",selectedItems:"\uc120\ud0dd \ud56d\ubaa9:",totalItems:"\uc804\uccb4 \ud56d\ubaa9:",size:"\ud398\uc774\uc9c0 \ud06c\uae30:",first:"\uccab\ubc88\uc9f8 \ud398\uc774\uc9c0",next:"\ub2e4\uc74c \ud398\uc774\uc9c0",previous:"\uc774\uc804 \ud398\uc774\uc9c0",last:"\ub9c8\uc9c0\ub9c9 \ud398\uc774\uc9c0"},menu:{text:"\uceec\ub7fc\uc744 \uc120\ud0dd\ud558\uc138\uc694:"},sort:{ascending:"\uc624\ub984\ucc28\uc21c \uc815\ub82c",descending:"\ub0b4\ub9bc\ucc28\uc21c \uc815\ub82c",remove:"\uc18c\ud305 \uc81c\uac70"},column:{hide:"\uceec\ub7fc \uc81c\uac70"},aggregation:{count:"\uc804\uccb4 \uac2f\uc218: ",sum:"\uc804\uccb4: ",avg:"\ud3c9\uade0: ",min:"\ucd5c\uc18c: ",max:"\ucd5c\ub300: "},pinning:{pinLeft:"\uc67c\ucabd \ud540",pinRight:"\uc624\ub978\ucabd \ud540",unpin:"\ud540 \uc81c\uac70"},gridMenu:{columns:"\uceec\ub7fc:",importerTitle:"\ud30c\uc77c \uac00\uc838\uc624\uae30",exporterAllAsCsv:"csv\ub85c \ubaa8\ub4e0 \ub370\uc774\ud130 \ub0b4\ubcf4\ub0b4\uae30",exporterVisibleAsCsv:"csv\ub85c \ubcf4\uc774\ub294 \ub370\uc774\ud130 \ub0b4\ubcf4\ub0b4\uae30",exporterSelectedAsCsv:"csv\ub85c \uc120\ud0dd\ub41c \ub370\uc774\ud130 \ub0b4\ubcf4\ub0b4\uae30",exporterAllAsPdf:"pdf\ub85c \ubaa8\ub4e0 \ub370\uc774\ud130 \ub0b4\ubcf4\ub0b4\uae30",exporterVisibleAsPdf:"pdf\ub85c \ubcf4\uc774\ub294 \ub370\uc774\ud130 \ub0b4\ubcf4\ub0b4\uae30",exporterSelectedAsPdf:"pdf\ub85c \uc120\ud0dd \ub370\uc774\ud130 \ub0b4\ubcf4\ub0b4\uae30",clearAllFilters:"\ubaa8\ub4e0 \ud544\ud130\ub97c \uccad\uc18c"},importer:{noHeaders:"\uceec\ub7fc\uba85\uc774 \uc9c0\uc815\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ud30c\uc77c\uc5d0 \ud5e4\ub354\uac00 \uba85\uc2dc\ub418\uc5b4 \uc788\ub294\uc9c0 \ud655\uc778\ud574 \uc8fc\uc138\uc694.",noObjects:"\ub370\uc774\ud130\uac00 \uc9c0\uc815\ub418\uc5b4 \uc788\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130\uac00 \ud30c\uc77c\uc5d0 \uc788\ub294\uc9c0 \ud655\uc778\ud574 \uc8fc\uc138\uc694.",invalidCsv:"\ud30c\uc77c\uc744 \ucc98\ub9ac\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc62c\ubc14\ub978 csv\uc778\uc9c0 \ud655\uc778\ud574 \uc8fc\uc138\uc694.",invalidJson:"\ud30c\uc77c\uc744 \ucc98\ub9ac\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc62c\ubc14\ub978 json\uc778\uc9c0 \ud655\uc778\ud574 \uc8fc\uc138\uc694.",jsonNotArray:"json \ud30c\uc77c\uc740 \ubc30\uc5f4\uc744 \ud3ec\ud568\ud574\uc57c \ud569\ub2c8\ub2e4."},pagination:{sizes:"\ud398\uc774\uc9c0\ub2f9 \ud56d\ubaa9",totalItems:"\uc804\uccb4 \ud56d\ubaa9"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("nl",{aggregate:{label:"items"},groupPanel:{description:"Sleep hier een kolomnaam heen om op te groeperen."},search:{placeholder:"Zoeken...",showingItems:"Getoonde items:",selectedItems:"Geselecteerde items:",totalItems:"Totaal aantal items:",size:"Items per pagina:",first:"Eerste pagina",next:"Volgende pagina",previous:"Vorige pagina",last:"Laatste pagina"},menu:{text:"Kies kolommen:"},sort:{ascending:"Sorteer oplopend",descending:"Sorteer aflopend",remove:"Verwijder sortering"},column:{hide:"Verberg kolom"},aggregation:{count:"Aantal rijen: ",sum:"Som: ",avg:"Gemiddelde: ",min:"Min: ",max:"Max: "},pinning:{pinLeft:"Zet links vast",pinRight:"Zet rechts vast",unpin:"Maak los"},gridMenu:{columns:"Kolommen:",importerTitle:"Importeer bestand",exporterAllAsCsv:"Exporteer alle data als csv",exporterVisibleAsCsv:"Exporteer zichtbare data als csv",exporterSelectedAsCsv:"Exporteer geselecteerde data als csv",exporterAllAsPdf:"Exporteer alle data als pdf",exporterVisibleAsPdf:"Exporteer zichtbare data als pdf",exporterSelectedAsPdf:"Exporteer geselecteerde data als pdf",clearAllFilters:"Reinig alle filters"},importer:{noHeaders:"Kolomnamen kunnen niet worden afgeleid. Heeft het bestand een header?",noObjects:"Objecten kunnen niet worden afgeleid. Bevat het bestand data naast de headers?",invalidCsv:"Het bestand kan niet verwerkt worden. Is het een valide csv bestand?",invalidJson:"Het bestand kan niet verwerkt worden. Is het valide json?",jsonNotArray:"Het json bestand moet een array bevatten. De actie wordt geannuleerd."},pagination:{sizes:"items per pagina",totalItems:"items",of:"van de"},grouping:{group:"Groepeer",ungroup:"Groepering opheffen",aggregate_count:"Agg: Aantal",aggregate_sum:"Agg: Som",aggregate_max:"Agg: Max",aggregate_min:"Agg: Min",aggregate_avg:"Agg: Gem",aggregate_remove:"Agg: Verwijder"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("no",{headerCell:{aria:{defaultFilterLabel:"Filter for kolonne",removeFilter:"Fjern filter",columnMenuButtonLabel:"Kolonnemeny"},priority:"Prioritet:",filterLabel:"Filter for kolonne: "},aggregate:{label:"elementer"},groupPanel:{description:"Trekk en kolonneoverskrift hit og slipp den for \xe5 gruppere etter den kolonnen."},search:{placeholder:"S\xf8k...",showingItems:"Viste elementer:",selectedItems:"Valgte elementer:",totalItems:"Antall elementer:",size:"Sidest\xf8rrelse:",first:"F\xf8rste side",next:"Neste side",previous:"Forrige side",last:"Siste side"},menu:{text:"Velg kolonner:"},sort:{ascending:"Sortere stigende",descending:"Sortere fallende",none:"Ingen sortering",remove:"Fjern sortering"},column:{hide:"Skjul kolonne"},aggregation:{count:"antall rader: ",sum:"total: ",avg:"gjennomsnitt: ",min:"minimum: ",max:"maksimum: "},pinning:{pinLeft:"Fest til venstre",pinRight:"Fest til h\xf8yre",unpin:"L\xf8sne"},columnMenu:{close:"Lukk"},gridMenu:{aria:{buttonLabel:"Grid Menu"},columns:"Kolonner:",importerTitle:"Importer fil",exporterAllAsCsv:"Eksporter alle data som csv",exporterVisibleAsCsv:"Eksporter synlige data som csv",exporterSelectedAsCsv:"Eksporter utvalgte data som csv",exporterAllAsPdf:"Eksporter alle data som pdf",exporterVisibleAsPdf:"Eksporter synlige data som pdf",exporterSelectedAsPdf:"Eksporter utvalgte data som pdf",clearAllFilters:"Clear all filters"},importer:{noHeaders:"Kolonnenavn kunne ikke avledes. Har filen en overskrift?",noObjects:"Objekter kunne ikke avledes. Er der andre data i filen enn overskriften?",invalidCsv:"Filen kunne ikke behandles. Er den gyldig CSV?",invalidJson:"Filen kunne ikke behandles. Er den gyldig JSON?",jsonNotArray:"Importert JSON-fil m\xe5 inneholde en liste. Avbryter."},pagination:{aria:{pageToFirst:"G\xe5 til f\xf8rste side",pageBack:"G\xe5 til forrige side",pageSelected:"Valgte side",pageForward:"G\xe5 til neste side",pageToLast:"G\xe5 til siste side"},sizes:"elementer per side",totalItems:"elementer",through:"til",of:"av"},grouping:{group:"Gruppere",ungroup:"Fjerne gruppering",aggregate_count:"Agr: Antall",aggregate_sum:"Agr: Sum",aggregate_max:"Agr: Maksimum",aggregate_min:"Agr: Minimum",aggregate_avg:"Agr: Gjennomsnitt",aggregate_remove:"Agr: Fjern"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("pl",{headerCell:{aria:{defaultFilterLabel:"Filtr dla kolumny",removeFilter:"Usu\u0144 filtr",columnMenuButtonLabel:"Menu kolumny"},priority:"Prioritet:",filterLabel:"Filtr dla kolumny: "},aggregate:{label:"pozycji"},groupPanel:{description:"Przeci\u0105gnij nag\u0142\xf3wek kolumny tutaj, aby pogrupowa\u0107 wed\u0142ug niej."},search:{placeholder:"Szukaj...",showingItems:"Widoczne pozycje:",selectedItems:"Zaznaczone pozycje:",totalItems:"Wszystkich pozycji:",size:"Rozmiar strony:",first:"Pierwsza strona",next:"Nast\u0119pna strona",previous:"Poprzednia strona",last:"Ostatnia strona"},menu:{text:"Wybierz kolumny:"},sort:{ascending:"Sortuj rosn\u0105co",descending:"Sortuj malej\u0105co",none:"Brak sortowania",remove:"Wy\u0142\u0105cz sortowanie"},column:{hide:"Ukryj kolumn\u0119"},aggregation:{count:"Razem pozycji: ",sum:"Razem: ",avg:"\u015arednia: ",min:"Min: ",max:"Max: "},pinning:{pinLeft:"Przypnij do lewej",pinRight:"Przypnij do prawej",unpin:"Odepnij"},columnMenu:{close:"Zamknij"},gridMenu:{aria:{buttonLabel:"Opcje tabeli"},columns:"Kolumny:",importerTitle:"Importuj plik",exporterAllAsCsv:"Eksportuj wszystkie dane do csv",exporterVisibleAsCsv:"Eksportuj widoczne dane do csv",exporterSelectedAsCsv:"Eksportuj zaznaczone dane do csv",exporterAllAsPdf:"Eksportuj wszystkie dane do pdf",exporterVisibleAsPdf:"Eksportuj widoczne dane do pdf",exporterSelectedAsPdf:"Eksportuj zaznaczone dane do pdf",clearAllFilters:"Wyczy\u015b\u0107 filtry"},importer:{noHeaders:"Nie uda\u0142o si\u0119 wczyta\u0107 nazw kolumn. Czy plik posiada nag\u0142\xf3wek?",noObjects:"Nie udalo si\u0119 wczyta\u0107 pozycji. Czy plik zawiera dane??",invalidCsv:"Nie uda\u0142o si\u0119 przetworzy\u0107 pliku, jest to prawidlowy plik CSV??",invalidJson:"Nie uda\u0142o si\u0119 przetworzy\u0107 pliku, jest to prawidlowy plik Json?",jsonNotArray:"Importowany plik json musi zawiera\u0107 tablic\u0119, importowanie przerwane."},pagination:{aria:{pageToFirst:"Pierwsza strona",pageBack:"Poprzednia strona",pageSelected:"Wybrana strona",pageForward:"Nast\u0119pna strona",pageToLast:"Ostatnia strona"},sizes:"pozycji na stron\u0119",totalItems:"pozycji",through:"do",of:"z"},grouping:{group:"Grupuj",ungroup:"Rozgrupuj",aggregate_count:"Zbiorczo: Razem",aggregate_sum:"Zbiorczo: Suma",aggregate_max:"Zbiorczo: Max",aggregate_min:"Zbiorczo: Min",aggregate_avg:"Zbiorczo: \u015arednia",aggregate_remove:"Zbiorczo: Usu\u0144"},validate:{error:"B\u0142\u0105d:",minLength:"Warto\u015b\u0107 powinna sk\u0142ada\u0107 si\u0119 z co najmniej THRESHOLD znak\xf3w.",maxLength:"Warto\u015b\u0107 powinna sk\u0142ada\u0107 si\u0119 z przynajmniej THRESHOLD znak\xf3w.",required:"Warto\u015b\u0107 jest wymagana."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("pt-br",{headerCell:{aria:{defaultFilterLabel:"Filtro por coluna",removeFilter:"Remover filtro",columnMenuButtonLabel:"Menu coluna"},priority:"Prioridade:",filterLabel:"Filtro por coluna: "},aggregate:{label:"itens"},groupPanel:{description:"Arraste e solte uma coluna aqui para agrupar por essa coluna"},search:{placeholder:"Procurar...",showingItems:"Mostrando os Itens:",selectedItems:"Items Selecionados:",totalItems:"Total de Itens:",size:"Tamanho da P\xe1gina:",first:"Primeira P\xe1gina",next:"Pr\xf3xima P\xe1gina",previous:"P\xe1gina Anterior",last:"\xdaltima P\xe1gina"},menu:{text:"Selecione as colunas:"},sort:{ascending:"Ordenar Ascendente",descending:"Ordenar Descendente",none:"Nenhuma Ordem",remove:"Remover Ordena\xe7\xe3o"},column:{hide:"Esconder coluna"},aggregation:{count:"total de linhas: ",sum:"total: ",avg:"med: ",min:"min: ",max:"max: "},pinning:{pinLeft:"Fixar Esquerda",pinRight:"Fixar Direita",unpin:"Desprender"},columnMenu:{close:"Fechar"},gridMenu:{aria:{buttonLabel:"Menu Grid"},columns:"Colunas:",importerTitle:"Importar arquivo",exporterAllAsCsv:"Exportar todos os dados como csv",exporterVisibleAsCsv:"Exportar dados vis\xedveis como csv",exporterSelectedAsCsv:"Exportar dados selecionados como csv",exporterAllAsPdf:"Exportar todos os dados como pdf",exporterVisibleAsPdf:"Exportar dados vis\xedveis como pdf",exporterSelectedAsPdf:"Exportar dados selecionados como pdf",clearAllFilters:"Limpar todos os filtros"},importer:{noHeaders:"Nomes de colunas n\xe3o puderam ser derivados. O arquivo tem um cabe\xe7alho?",noObjects:"Objetos n\xe3o puderam ser derivados. Havia dados no arquivo, al\xe9m dos cabe\xe7alhos?",invalidCsv:"Arquivo n\xe3o pode ser processado. \xc9 um CSV v\xe1lido?",invalidJson:"Arquivo n\xe3o pode ser processado. \xc9 um Json v\xe1lido?",jsonNotArray:"Arquivo json importado tem que conter um array. Abortando."},pagination:{aria:{pageToFirst:"Primeira p\xe1gina",pageBack:"P\xe1gina anterior",pageSelected:"P\xe1gina Selecionada",pageForward:"Proxima",pageToLast:"Anterior"},sizes:"itens por p\xe1gina",totalItems:"itens",through:"atrav\xe9s dos",of:"de"},grouping:{group:"Agrupar",ungroup:"Desagrupar",aggregate_count:"Agr: Contar",aggregate_sum:"Agr: Soma",aggregate_max:"Agr: Max",aggregate_min:"Agr: Min",aggregate_avg:"Agr: Med",aggregate_remove:"Agr: Remover"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("pt",{headerCell:{aria:{defaultFilterLabel:"Filtro por coluna",removeFilter:"Remover filtro",columnMenuButtonLabel:"Menu coluna"},priority:"Prioridade:",filterLabel:"Filtro por coluna: "},aggregate:{label:"itens"},groupPanel:{description:"Arraste e solte uma coluna aqui para agrupar por essa coluna"},search:{placeholder:"Procurar...",showingItems:"Mostrando os Itens:",selectedItems:"Itens Selecionados:",totalItems:"Total de Itens:",size:"Tamanho da P\xe1gina:",first:"Primeira P\xe1gina",next:"Pr\xf3xima P\xe1gina",previous:"P\xe1gina Anterior",last:"\xdaltima P\xe1gina"},menu:{text:"Selecione as colunas:"},sort:{ascending:"Ordenar Ascendente",descending:"Ordenar Descendente",none:"Nenhuma Ordem",remove:"Remover Ordena\xe7\xe3o"},column:{hide:"Esconder coluna"},aggregation:{count:"total de linhas: ",sum:"total: ",avg:"med: ",min:"min: ",max:"max: "},pinning:{pinLeft:"Fixar Esquerda",pinRight:"Fixar Direita",unpin:"Desprender"},columnMenu:{close:"Fechar"},gridMenu:{aria:{buttonLabel:"Menu Grid"},columns:"Colunas:",importerTitle:"Importar ficheiro",exporterAllAsCsv:"Exportar todos os dados como csv",exporterVisibleAsCsv:"Exportar dados vis\xedveis como csv",exporterSelectedAsCsv:"Exportar dados selecionados como csv",exporterAllAsPdf:"Exportar todos os dados como pdf",exporterVisibleAsPdf:"Exportar dados vis\xedveis como pdf",exporterSelectedAsPdf:"Exportar dados selecionados como pdf",clearAllFilters:"Limpar todos os filtros"},importer:{noHeaders:"Nomes de colunas n\xe3o puderam ser derivados. O ficheiro tem um cabe\xe7alho?",noObjects:"Objetos n\xe3o puderam ser derivados. Havia dados no ficheiro, al\xe9m dos cabe\xe7alhos?",invalidCsv:"Ficheiro n\xe3o pode ser processado. \xc9 um CSV v\xe1lido?",invalidJson:"Ficheiro n\xe3o pode ser processado. \xc9 um Json v\xe1lido?",jsonNotArray:"Ficheiro json importado tem que conter um array. Interrompendo."},pagination:{aria:{pageToFirst:"Primeira p\xe1gina",pageBack:"P\xe1gina anterior",pageSelected:"P\xe1gina Selecionada",pageForward:"Pr\xf3xima",pageToLast:"Anterior"},sizes:"itens por p\xe1gina",totalItems:"itens",through:"a",of:"de"},grouping:{group:"Agrupar",ungroup:"Desagrupar",aggregate_count:"Agr: Contar",aggregate_sum:"Agr: Soma",aggregate_max:"Agr: Max",aggregate_min:"Agr: Min",aggregate_avg:"Agr: Med",aggregate_remove:"Agr: Remover"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("ro",{headerCell:{aria:{defaultFilterLabel:"Filtru pentru coloana",removeFilter:"Sterge filtru",columnMenuButtonLabel:"Column Menu"},priority:"Prioritate:",filterLabel:"Filtru pentru coloana:"},aggregate:{label:"Elemente"},groupPanel:{description:"Trage un cap de coloana aici pentru a grupa elementele dupa coloana respectiva"},search:{placeholder:"Cauta...",showingItems:"Arata elementele:",selectedItems:"Elementele selectate:",totalItems:"Total elemente:",size:"Marime pagina:",first:"Prima pagina",next:"Pagina urmatoare",previous:"Pagina anterioara",last:"Ultima pagina"},menu:{text:"Alege coloane:"},sort:{ascending:"Ordoneaza crescator",descending:"Ordoneaza descrescator",none:"Fara ordonare",remove:"Sterge ordonarea"},column:{hide:"Ascunde coloana"},aggregation:{count:"total linii: ",sum:"total: ",avg:"medie: ",min:"min: ",max:"max: "},pinning:{pinLeft:"Pin la stanga",pinRight:"Pin la dreapta",unpin:"Sterge pinul"},columnMenu:{close:"Inchide"},gridMenu:{aria:{buttonLabel:"Grid Menu"},columns:"Coloane:",importerTitle:"Incarca fisier",exporterAllAsCsv:"Exporta toate datele ca csv",exporterVisibleAsCsv:"Exporta datele vizibile ca csv",exporterSelectedAsCsv:"Exporta datele selectate ca csv",exporterAllAsPdf:"Exporta toate datele ca pdf",exporterVisibleAsPdf:"Exporta datele vizibile ca pdf",exporterSelectedAsPdf:"Exporta datele selectate ca csv pdf",clearAllFilters:"Sterge toate filtrele"},importer:{noHeaders:"Numele coloanelor nu a putut fi incarcat, acest fisier are un header?",noObjects:"Datele nu au putut fi incarcate, exista date in fisier in afara numelor de coloane?",invalidCsv:"Fisierul nu a putut fi procesat, ati incarcat un CSV valid ?",invalidJson:"Fisierul nu a putut fi procesat, ati incarcat un Json valid?",jsonNotArray:"Json-ul incarcat trebuie sa contina un array, inchidere."},pagination:{aria:{pageToFirst:"Prima pagina",pageBack:"O pagina inapoi",pageSelected:"Pagina selectata",pageForward:"O pagina inainte",pageToLast:"Ultima pagina"},sizes:"Elemente per pagina",totalItems:"elemente",through:"prin",of:"of"},grouping:{group:"Grupeaza",ungroup:"Opreste gruparea",aggregate_count:"Agg: Count",aggregate_sum:"Agg: Sum",aggregate_max:"Agg: Max",aggregate_min:"Agg: Min",aggregate_avg:"Agg: Avg",aggregate_remove:"Agg: Remove"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("ru",{headerCell:{aria:{defaultFilterLabel:"\u0424\u0438\u043b\u044c\u0442\u0440 \u0441\u0442\u043e\u043b\u0431\u0446\u0430",removeFilter:"\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u0438\u043b\u044c\u0442\u0440",columnMenuButtonLabel:"\u041c\u0435\u043d\u044e \u0441\u0442\u043e\u043b\u0431\u0446\u0430"},priority:"\u041f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442:",filterLabel:"\u0424\u0438\u043b\u044c\u0442\u0440 \u0441\u0442\u043e\u043b\u0431\u0446\u0430: "},aggregate:{label:"\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b"},groupPanel:{description:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u0441\u0442\u043e\u043b\u0431\u0446\u0443 \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0435\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435."},search:{placeholder:"\u041f\u043e\u0438\u0441\u043a...",showingItems:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b:",selectedItems:"\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b:",totalItems:"\u0412\u0441\u0435\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432:",size:"\u0420\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b:",first:"\u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",next:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",previous:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",last:"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},menu:{text:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0446\u044b:"},sort:{ascending:"\u041f\u043e \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044e",descending:"\u041f\u043e \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044e",none:"\u0411\u0435\u0437 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438",remove:"\u0423\u0431\u0440\u0430\u0442\u044c \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443"},column:{hide:"\u0421\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446"},aggregation:{count:"\u0432\u0441\u0435\u0433\u043e \u0441\u0442\u0440\u043e\u043a: ",sum:"\u0438\u0442\u043e\u0433\u043e: ",avg:"\u0441\u0440\u0435\u0434\u043d\u0435\u0435: ",min:"\u043c\u0438\u043d: ",max:"\u043c\u0430\u043a\u0441: "},pinning:{pinLeft:"\u0417\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0441\u043b\u0435\u0432\u0430",pinRight:"\u0417\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u0430",unpin:"\u041e\u0442\u043a\u0440\u0435\u043f\u0438\u0442\u044c"},columnMenu:{close:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},gridMenu:{aria:{buttonLabel:"\u041c\u0435\u043d\u044e"},columns:"\u0421\u0442\u043e\u043b\u0431\u0446\u044b:",importerTitle:"\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b",exporterAllAsCsv:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0451 \u0432 CSV",exporterVisibleAsCsv:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 CSV",exporterSelectedAsCsv:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 CSV",exporterAllAsPdf:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0451 \u0432 PDF",exporterVisibleAsPdf:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 PDF",exporterSelectedAsPdf:"\u042d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 PDF",clearAllFilters:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0435 \u0432\u0441\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u044b"},importer:{noHeaders:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432, \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a?",noObjects:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435, \u0435\u0441\u0442\u044c \u043b\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043a\u0440\u043e\u043c\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430?",invalidCsv:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 CSV-\u0444\u0430\u0439\u043b?",invalidJson:"\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0444\u0430\u0439\u043b, \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 JSON?",jsonNotArray:"\u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0439 JSON-\u0444\u0430\u0439\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043c\u0430\u0441\u0441\u0438\u0432, \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430."},pagination:{aria:{pageToFirst:"\u041f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",pageBack:"\u041f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",pageSelected:"\u0412\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",pageForward:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",pageToLast:"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430"},sizes:"\u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443",totalItems:"\u0441\u0442\u0440\u043e\u043a",through:"\u043f\u043e",of:"\u0438\u0437"},grouping:{group:"\u0413\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",ungroup:"\u0420\u0430\u0437\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",aggregate_count:"\u0413\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c: Count",aggregate_sum:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b: \u0421\u0443\u043c\u043c\u0430",aggregate_max:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b: \u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c",aggregate_min:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b: \u041c\u0438\u043d\u0438\u043c\u0443\u043c",aggregate_avg:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b: \u0421\u0440\u0435\u0434\u043d\u0435\u0435",aggregate_remove:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u043f\u044b: \u041f\u0443\u0441\u0442\u043e"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("sk",{aggregate:{label:"items"},groupPanel:{description:"Pretiahni sem n\xe1zov st\u013apca pre zoskupenie pod\u013ea toho st\u013apca."},search:{placeholder:"H\u013eadaj...",showingItems:"Zobrazujem polo\u017eky:",selectedItems:"Vybrat\xe9 polo\u017eky:",totalItems:"Po\u010det polo\u017eiek:",size:"Po\u010det:",first:"Prv\xe1 strana",next:"\u010eal\u0161ia strana",previous:"Predch\xe1dzaj\xfaca strana",last:"Posledn\xe1 strana"},menu:{text:"Vyberte st\u013apce:"},sort:{ascending:"Zotriedi\u0165 vzostupne",descending:"Zotriedi\u0165 zostupne",remove:"Vymaza\u0165 triedenie"},aggregation:{count:"total rows: ",sum:"total: ",avg:"avg: ",min:"min: ",max:"max: "},gridMenu:{columns:"Columns:",importerTitle:"Import file",exporterAllAsCsv:"Export all data as csv",exporterVisibleAsCsv:"Export visible data as csv",exporterSelectedAsCsv:"Export selected data as csv",exporterAllAsPdf:"Export all data as pdf",exporterVisibleAsPdf:"Export visible data as pdf",exporterSelectedAsPdf:"Export selected data as pdf",clearAllFilters:"Clear all filters"},importer:{noHeaders:"Column names were unable to be derived, does the file have a header?",noObjects:"Objects were not able to be derived, was there data in the file other than headers?",invalidCsv:"File was unable to be processed, is it valid CSV?",invalidJson:"File was unable to be processed, is it valid Json?",jsonNotArray:"Imported json file must contain an array, aborting."}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("sv",{aggregate:{label:"Artiklar"},groupPanel:{description:"Dra en kolumnrubrik hit och sl\xe4pp den f\xf6r att gruppera efter den kolumnen."},search:{placeholder:"S\xf6k...",showingItems:"Visar artiklar:",selectedItems:"Valda artiklar:",totalItems:"Antal artiklar:",size:"Sidstorlek:",first:"F\xf6rsta sidan",next:"N\xe4sta sida",previous:"F\xf6reg\xe5ende sida",last:"Sista sidan"},menu:{text:"V\xe4lj kolumner:"},sort:{ascending:"Sortera stigande",descending:"Sortera fallande",remove:"Inaktivera sortering"},column:{hide:"G\xf6m kolumn"},aggregation:{count:"Antal rader: ",sum:"Summa: ",avg:"Genomsnitt: ",min:"Min: ",max:"Max: "},pinning:{pinLeft:"F\xe4st v\xe4nster",pinRight:"F\xe4st h\xf6ger",unpin:"L\xf6sg\xf6r"},gridMenu:{columns:"Kolumner:",importerTitle:"Importera fil",exporterAllAsCsv:"Exportera all data som CSV",exporterVisibleAsCsv:"Exportera synlig data som CSV",exporterSelectedAsCsv:"Exportera markerad data som CSV",exporterAllAsPdf:"Exportera all data som PDF",exporterVisibleAsPdf:"Exportera synlig data som PDF",exporterSelectedAsPdf:"Exportera markerad data som PDF",clearAllFilters:"Reng\xf6r alla filter"},importer:{noHeaders:"Kolumnnamn kunde inte h\xe4rledas. Har filen ett sidhuvud?",noObjects:"Objekt kunde inte h\xe4rledas. Har filen data undantaget sidhuvud?",invalidCsv:"Filen kunde inte behandlas, \xe4r den en giltig CSV?",invalidJson:"Filen kunde inte behandlas, \xe4r den en giltig JSON?",jsonNotArray:"Importerad JSON-fil m\xe5ste inneh\xe5lla ett f\xe4lt. Import avbruten."},pagination:{sizes:"Artiklar per sida",totalItems:"Artiklar"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("ta",{aggregate:{label:"\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0b95\u0bb3\u0bcd"},groupPanel:{description:"\u0b92\u0bb0\u0bc1 \u0baa\u0ba4\u0bcd\u0ba4\u0bbf\u0baf\u0bc8 \u0b95\u0bc1\u0bb4\u0bc1\u0bb5\u0bbe\u0b95 \u0b85\u0bae\u0bc8\u0b95\u0bcd\u0b95 \u0b85\u0baa\u0bcd\u0baa\u0ba4\u0bcd\u0ba4\u0bbf\u0baf\u0bbf\u0ba9\u0bcd \u0ba4\u0bb2\u0bc8\u0baa\u0bcd\u0baa\u0bc8 \u0b87\u0b99\u0bcd\u0b95\u0bc7  \u0b87\u0bb4\u0bc1\u0ba4\u0bcd\u0ba4\u0bc1 \u0bb5\u0bb0\u0bb5\u0bc1\u0bae\u0bcd "},search:{placeholder:"\u0ba4\u0bc7\u0b9f\u0bb2\u0bcd ...",showingItems:"\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0b95\u0bb3\u0bc8 \u0b95\u0bbe\u0ba3\u0bcd\u0baa\u0bbf\u0ba4\u0bcd\u0ba4\u0bb2\u0bcd:",selectedItems:"\u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0b95\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0b9f\u0bcd\u0b9f  \u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0b95\u0bb3\u0bcd:",totalItems:"\u0bae\u0bca\u0ba4\u0bcd\u0ba4 \u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0b95\u0bb3\u0bcd:",size:"\u0baa\u0b95\u0bcd\u0b95 \u0b85\u0bb3\u0bb5\u0bc1: ",first:"\u0bae\u0bc1\u0ba4\u0bb2\u0bcd \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd",next:"\u0b85\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd",previous:"\u0bae\u0bc1\u0ba8\u0bcd\u0ba4\u0bc8\u0baf \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd ",last:"\u0b87\u0bb1\u0bc1\u0ba4\u0bbf \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd"},menu:{text:"\u0baa\u0ba4\u0bcd\u0ba4\u0bbf\u0b95\u0bb3\u0bc8 \u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1:"},sort:{ascending:"\u0bae\u0bc7\u0bb2\u0bbf\u0bb0\u0bc1\u0ba8\u0bcd\u0ba4\u0bc1 \u0b95\u0bc0\u0bb4\u0bbe\u0b95",descending:"\u0b95\u0bc0\u0bb4\u0bbf\u0bb0\u0bc1\u0ba8\u0bcd\u0ba4\u0bc1 \u0bae\u0bc7\u0bb2\u0bbe\u0b95",remove:"\u0bb5\u0bb0\u0bbf\u0b9a\u0bc8\u0baf\u0bc8 \u0ba8\u0bc0\u0b95\u0bcd\u0b95\u0bc1"},column:{hide:"\u0baa\u0ba4\u0bcd\u0ba4\u0bbf\u0baf\u0bc8 \u0bae\u0bb1\u0bc8\u0ba4\u0bcd\u0ba4\u0bc1 \u0bb5\u0bc8 "},aggregation:{count:"\u0bae\u0bca\u0ba4\u0bcd\u0ba4 \u0bb5\u0bb0\u0bbf\u0b95\u0bb3\u0bcd:",sum:"\u0bae\u0bca\u0ba4\u0bcd\u0ba4\u0bae\u0bcd: ",avg:"\u0b9a\u0bb0\u0bbe\u0b9a\u0bb0\u0bbf: ",min:"\u0b95\u0bc1\u0bb1\u0bc8\u0ba8\u0bcd\u0ba4\u0baa\u0b9f\u0bcd\u0b9a: ",max:"\u0b85\u0ba4\u0bbf\u0b95\u0baa\u0b9f\u0bcd\u0b9a: "},pinning:{pinLeft:"\u0b87\u0b9f\u0ba4\u0bc1\u0baa\u0bc1\u0bb1\u0bae\u0bbe\u0b95 \u0ba4\u0bc8\u0b95\u0bcd\u0b95 ",pinRight:"\u0bb5\u0bb2\u0ba4\u0bc1\u0baa\u0bc1\u0bb1\u0bae\u0bbe\u0b95 \u0ba4\u0bc8\u0b95\u0bcd\u0b95",unpin:"\u0baa\u0bbf\u0bb0\u0bbf"},gridMenu:{columns:"\u0baa\u0ba4\u0bcd\u0ba4\u0bbf\u0b95\u0bb3\u0bcd:",importerTitle:"\u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bc1 : \u0baa\u0b9f\u0bbf\u0ba4\u0bcd\u0ba4\u0bb2\u0bcd",exporterAllAsCsv:"\u0b8e\u0bb2\u0bcd\u0bb2\u0bbe \u0ba4\u0bb0\u0bb5\u0bc1\u0b95\u0bb3\u0bc8\u0baf\u0bc1\u0bae\u0bcd \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbe\u0b95\u0bcd\u0b95\u0bc1: csv",exporterVisibleAsCsv:"\u0b87\u0bb0\u0bc1\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0ba4\u0bb0\u0bb5\u0bc1\u0b95\u0bb3\u0bc8 \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbe\u0b95\u0bcd\u0b95\u0bc1: csv",exporterSelectedAsCsv:"\u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0ba4\u0bb0\u0bb5\u0bc1\u0b95\u0bb3\u0bc8 \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbe\u0b95\u0bcd\u0b95\u0bc1: csv",exporterAllAsPdf:"\u0b8e\u0bb2\u0bcd\u0bb2\u0bbe \u0ba4\u0bb0\u0bb5\u0bc1\u0b95\u0bb3\u0bc8\u0baf\u0bc1\u0bae\u0bcd \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbe\u0b95\u0bcd\u0b95\u0bc1: pdf",exporterVisibleAsPdf:"\u0b87\u0bb0\u0bc1\u0b95\u0bcd\u0b95\u0bc1\u0bae\u0bcd \u0ba4\u0bb0\u0bb5\u0bc1\u0b95\u0bb3\u0bc8 \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbe\u0b95\u0bcd\u0b95\u0bc1: pdf",exporterSelectedAsPdf:"\u0ba4\u0bc7\u0bb0\u0bcd\u0ba8\u0bcd\u0ba4\u0bc6\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0ba4\u0bb0\u0bb5\u0bc1\u0b95\u0bb3\u0bc8 \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbe\u0b95\u0bcd\u0b95\u0bc1: pdf",clearAllFilters:"Clear all filters"},importer:{noHeaders:"\u0baa\u0ba4\u0bcd\u0ba4\u0bbf\u0baf\u0bbf\u0ba9\u0bcd \u0ba4\u0bb2\u0bc8\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bc8 \u0baa\u0bc6\u0bb1 \u0b87\u0baf\u0bb2\u0bb5\u0bbf\u0bb2\u0bcd\u0bb2\u0bc8, \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbf\u0bb1\u0bcd\u0b95\u0bc1 \u0ba4\u0bb2\u0bc8\u0baa\u0bcd\u0baa\u0bc1 \u0b89\u0bb3\u0bcd\u0bb3\u0ba4\u0bbe?",noObjects:"\u0b87\u0bb2\u0b95\u0bcd\u0b95\u0bc1\u0b95\u0bb3\u0bc8 \u0b89\u0bb0\u0bc1\u0bb5\u0bbe\u0b95\u0bcd\u0b95 \u0bae\u0bc1\u0b9f\u0bbf\u0baf\u0bb5\u0bbf\u0bb2\u0bcd\u0bb2\u0bc8, \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbf\u0bb2\u0bcd \u0ba4\u0bb2\u0bc8\u0baa\u0bcd\u0baa\u0bc1\u0b95\u0bb3\u0bc8 \u0ba4\u0bb5\u0bbf\u0bb0 \u0ba4\u0bb0\u0bb5\u0bc1 \u0b8f\u0ba4\u0bc7\u0ba9\u0bc1\u0bae\u0bcd \u0b89\u0bb3\u0bcd\u0bb3\u0ba4\u0bbe? ",invalidCsv:"\u0b9a\u0bb0\u0bbf\u0bb5\u0bb0 \u0ba8\u0b9f\u0bc8\u0bae\u0bc1\u0bb1\u0bc8 \u0baa\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0b87\u0baf\u0bb2\u0bb5\u0bbf\u0bb2\u0bcd\u0bb2\u0bc8, \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bc1 \u0b9a\u0bb0\u0bbf\u0ba4\u0bbe\u0ba9\u0bbe? - csv",invalidJson:"\u0b9a\u0bb0\u0bbf\u0bb5\u0bb0 \u0ba8\u0b9f\u0bc8\u0bae\u0bc1\u0bb1\u0bc8 \u0baa\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4 \u0b87\u0baf\u0bb2\u0bb5\u0bbf\u0bb2\u0bcd\u0bb2\u0bc8, \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bc1 \u0b9a\u0bb0\u0bbf\u0ba4\u0bbe\u0ba9\u0bbe? - json",jsonNotArray:"\u0baa\u0b9f\u0bbf\u0ba4\u0bcd\u0ba4 \u0b95\u0bcb\u0baa\u0bcd\u0baa\u0bbf\u0bb2\u0bcd \u0bb5\u0bb0\u0bbf\u0b9a\u0bc8\u0b95\u0bb3\u0bcd \u0b89\u0bb3\u0bcd\u0bb3\u0ba4\u0bc1, \u0ba8\u0b9f\u0bc8\u0bae\u0bc1\u0bb1\u0bc8 \u0bb0\u0ba4\u0bcd\u0ba4\u0bc1 \u0b9a\u0bc6\u0baf\u0bcd : json"},pagination:{sizes:"\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0b95\u0bb3\u0bcd / \u0baa\u0b95\u0bcd\u0b95\u0bae\u0bcd",totalItems:"\u0b89\u0bb0\u0bc1\u0baa\u0bcd\u0baa\u0b9f\u0bbf\u0b95\u0bb3\u0bcd "},grouping:{group:"\u0b95\u0bc1\u0bb4\u0bc1",ungroup:"\u0baa\u0bbf\u0bb0\u0bbf",aggregate_count:"\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 : \u0b8e\u0ba3\u0bcd\u0ba3\u0bc1",aggregate_sum:"\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 : \u0b95\u0bc2\u0b9f\u0bcd\u0b9f\u0bb2\u0bcd",aggregate_max:"\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 : \u0b85\u0ba4\u0bbf\u0b95\u0baa\u0b9f\u0bcd\u0b9a\u0bae\u0bcd",aggregate_min:"\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 : \u0b95\u0bc1\u0bb1\u0bc8\u0ba8\u0bcd\u0ba4\u0baa\u0b9f\u0bcd\u0b9a\u0bae\u0bcd",aggregate_avg:"\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 : \u0b9a\u0bb0\u0bbe\u0b9a\u0bb0\u0bbf",aggregate_remove:"\u0bae\u0ba4\u0bbf\u0baa\u0bcd\u0baa\u0bc0\u0b9f\u0bcd\u0b9f\u0bc1 : \u0ba8\u0bc0\u0b95\u0bcd\u0b95\u0bc1"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("tr",{headerCell:{aria:{defaultFilterLabel:"S\xfctun i\xe7in filtre",removeFilter:"Filtreyi Kald\u0131r",columnMenuButtonLabel:"S\xfctun Men\xfcs\xfc"},priority:"\xd6ncelik:",filterLabel:"S\xfctun i\xe7in filtre: "},aggregate:{label:"kay\u0131tlar"},groupPanel:{description:"S\xfctuna g\xf6re gruplamak i\xe7in s\xfctun ba\u015fl\u0131\u011f\u0131n\u0131 buraya s\xfcr\xfckleyin ve b\u0131rak\u0131n."},search:{placeholder:"Arama...",showingItems:"G\xf6sterilen Kay\u0131t:",selectedItems:"Se\xe7ili Kay\u0131t:",totalItems:"Toplam Kay\u0131t:",size:"Sayfa Boyutu:",first:"\u0130lk Sayfa",next:"Sonraki Sayfa",previous:"\xd6nceki Sayfa",last:"Son Sayfa"},menu:{text:"S\xfctunlar\u0131 Se\xe7:"},sort:{ascending:"Artan S\u0131rada S\u0131rala",descending:"Azalan S\u0131rada S\u0131rala",none:"S\u0131ralama Yapma",remove:"S\u0131ralamay\u0131 Kald\u0131r"},column:{hide:"S\xfctunu Gizle"},aggregation:{count:"toplam sat\u0131r: ",sum:"toplam: ",avg:"ort: ",min:"min: ",max:"maks: "},pinning:{pinLeft:"Sola Sabitle",pinRight:"Sa\u011fa Sabitle",unpin:"Sabitlemeyi Kald\u0131r"},columnMenu:{close:"Kapat"},gridMenu:{aria:{buttonLabel:"Tablo Men\xfc"},columns:"S\xfctunlar:",importerTitle:"Dosya i\xe7eri aktar",exporterAllAsCsv:"B\xfct\xfcn veriyi CSV olarak d\u0131\u015far\u0131 aktar",exporterVisibleAsCsv:"G\xf6r\xfcnen veriyi CSV olarak d\u0131\u015far\u0131 aktar",exporterSelectedAsCsv:"Se\xe7ili veriyi CSV olarak d\u0131\u015far\u0131 aktar",exporterAllAsPdf:"B\xfct\xfcn veriyi PDF olarak d\u0131\u015far\u0131 aktar",exporterVisibleAsPdf:"G\xf6r\xfcnen veriyi PDF olarak d\u0131\u015far\u0131 aktar",exporterSelectedAsPdf:"Se\xe7ili veriyi PDF olarak d\u0131\u015far\u0131 aktar",clearAllFilters:"B\xfct\xfcn filtreleri kald\u0131r"},importer:{noHeaders:"S\xfctun isimleri \xfcretilemiyor, dosyan\u0131n bir ba\u015fl\u0131\u011f\u0131 var m\u0131?",noObjects:"Nesneler \xfcretilemiyor, dosyada ba\u015fl\u0131ktan ba\u015fka bir veri var m\u0131?",invalidCsv:"Dosya i\u015flenemedi, ge\xe7erli bir CSV dosyas\u0131 m\u0131?",invalidJson:"Dosya i\u015flenemedi, ge\xe7erli bir Json dosyas\u0131 m\u0131?",jsonNotArray:"Al\u0131nan Json dosyas\u0131nda bir dizi bulunmal\u0131d\u0131r, i\u015flem iptal ediliyor."},pagination:{aria:{pageToFirst:"\u0130lk sayfaya",pageBack:"Geri git",pageSelected:"Se\xe7ili sayfa",pageForward:"\u0130leri git",pageToLast:"Sona git"},sizes:"Sayfadaki nesne say\u0131s\u0131",totalItems:"kay\u0131tlar",through:"",of:""},grouping:{group:"Grupla",ungroup:"Gruplama",aggregate_count:"Yekun: Say\u0131",aggregate_sum:"Yekun: Toplam",aggregate_max:"Yekun: Maks",aggregate_min:"Yekun: Min",aggregate_avg:"Yekun: Ort",aggregate_remove:"Yekun: Sil"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("ua",{headerCell:{aria:{defaultFilterLabel:"\u0424\u0456\u043b\u044c\u0442\u0440 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a\u0430",removeFilter:"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0444\u0456\u043b\u044c\u0442\u0440",columnMenuButtonLabel:"\u041c\u0435\u043d\u044e \u0441\u0442\u0432\u043f\u0447\u0438\u043a\u0430"},priority:"\u041f\u0440\u0456\u043e\u0440\u0438\u0442\u0435\u0442:",filterLabel:"\u0424\u0456\u043b\u044c\u0442\u0440 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a\u0430: "},aggregate:{label:"\u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438"},groupPanel:{description:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a\u043e\u043c \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0441\u044e\u0434\u0438 \u0439\u043e\u0433\u043e \u043d\u0430\u0437\u0432\u0443."},search:{placeholder:"\u041f\u043e\u0448\u0443\u043a...",showingItems:"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438:",selectedItems:"\u041e\u0431\u0440\u0430\u043d\u0456 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438:",totalItems:"\u0423\u0441\u044c\u043e\u0433\u043e \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0456\u0432:",size:"\u0420\u043e\u0437\u043c\u0456\u0440 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438:",first:"\u041f\u0435\u0440\u0448\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",next:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",previous:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",last:"\u041e\u0441\u0442\u0430\u043d\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430"},menu:{text:"\u041e\u0431\u0440\u0430\u0442\u0438 \u0441\u0442\u0432\u043f\u0447\u0438\u043a\u0438:"},sort:{ascending:"\u0417\u0430 \u0437\u0440\u043e\u0441\u0442\u0430\u043d\u043d\u044f\u043c",descending:"\u0417\u0430 \u0441\u043f\u0430\u0434\u0430\u043d\u043d\u044f\u043c",none:"\u0411\u0435\u0437 \u0441\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f",remove:"\u041f\u0440\u0438\u0431\u0440\u0430\u0442\u0438 \u0441\u043e\u0440\u0442\u0443\u0432\u0430\u043d\u043d\u044f"},column:{hide:"\u041f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a"},aggregation:{count:"\u0443\u0441\u044c\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0456\u0432: ",sum:"\u0456\u0442\u043e\u0433\u043e: ",avg:"\u0441\u0435\u0440\u0435\u0434\u043d\u0454: ",min:"\u043c\u0456\u043d: ",max:"\u043c\u0430\u043a\u0441: "},pinning:{pinLeft:"\u0417\u0430\u043a\u0440\u0456\u043f\u0438\u0442\u0438 \u043b\u0456\u0432\u043e\u0440\u0443\u0447",pinRight:"\u0417\u0430\u043a\u0440\u0456\u043f\u0438\u0442\u0438 \u043f\u0440\u0430\u0432\u043e\u0440\u0443\u0447",unpin:"\u0412\u0456\u0434\u043a\u0440\u0456\u043f\u0438\u0442\u0438"},columnMenu:{close:"\u0417\u0430\u043a\u0440\u0438\u0442\u0438"},gridMenu:{aria:{buttonLabel:"\u041c\u0435\u043d\u044e"},columns:"\u0421\u0442\u043e\u0432\u043f\u0447\u0438\u043a\u0438:",importerTitle:"\u0406\u043c\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043b",exporterAllAsCsv:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0435 \u0432 CSV",exporterVisibleAsCsv:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u0456 \u0434\u0430\u043d\u0456 \u0432 CSV",exporterSelectedAsCsv:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u043e\u0431\u0440\u0430\u043d\u0456 \u0434\u0430\u043d\u0456 \u0432 CSV",exporterAllAsPdf:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0441\u0435 \u0432 PDF",exporterVisibleAsPdf:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u0456 \u0434\u0430\u043d\u0456 \u0432 PDF",exporterSelectedAsPdf:"\u0415\u043a\u0441\u043f\u043e\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u043e\u0431\u0440\u0430\u043d\u0456 \u0434\u0430\u043d\u0456 \u0432 PDF",clearAllFilters:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0432\u0441\u0456 \u0444\u0456\u043b\u044c\u0442\u0440\u0438"},importer:{noHeaders:"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u043d\u0430\u0437\u0432\u0438 \u0441\u0442\u043e\u0432\u043f\u0447\u0438\u043a\u0456\u0432, \u0447\u0438 \u0454 \u0432 \u0444\u0430\u0439\u043b\u0456 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a?",noObjects:"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0434\u0430\u043d\u0456, \u0447\u0438 \u0454 \u0432 \u0444\u0430\u0439\u043b\u0456 \u0440\u044f\u0434\u043a\u0438 \u043e\u043a\u0440\u0456\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430?",invalidCsv:"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043e\u0431\u0440\u043e\u0431\u0438\u0442\u0438 \u0444\u0430\u0439\u043b, \u0447\u0438 \u0446\u0435 \u043a\u043e\u0440\u0435\u043a\u0442\u043d\u0438\u0439 CSV-\u0444\u0430\u0439\u043b?",invalidJson:"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043e\u0431\u0440\u043e\u0431\u0438\u0442\u0438 \u0444\u0430\u0439\u043b, \u0447\u0438 \u0446\u0435 \u043a\u043e\u0440\u0435\u043a\u0442\u043d\u0438\u0439 JSON?",jsonNotArray:"JSON-\u0444\u0430\u0439\u043b \u0449\u043e \u0456\u043c\u043f\u043e\u0440\u0442\u0443\u0454\u0442\u044c\u0441\u044f \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043c\u0430\u0441\u0438\u0432, \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u044e \u0441\u043a\u0430\u0441\u043e\u0432\u0430\u043d\u043e."},pagination:{aria:{pageToFirst:"\u041f\u0435\u0440\u0448\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",pageBack:"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",pageSelected:"\u041e\u0431\u0440\u0430\u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",pageForward:"\u041d\u0430\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430",pageToLast:"\u041e\u0441\u0442\u0430\u043d\u043d\u044f \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430"},sizes:"\u0440\u044f\u0434\u043a\u0456\u0432 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443",totalItems:"\u0440\u044f\u0434\u043a\u0456\u0432",through:"\u043f\u043e",of:"\u0437"},grouping:{group:"\u0413\u0440\u0443\u043f\u0443\u0432\u0430\u0442\u0438",ungroup:"\u0420\u043e\u0437\u0433\u0440\u0443\u043f\u0443\u0432\u0430\u0442\u0438",aggregate_count:"\u0413\u0440\u0443\u043f\u0443\u0432\u0430\u0442\u0438: \u041a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c",aggregate_sum:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u0438: \u0421\u0443\u043c\u0430",aggregate_max:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u0438: \u041c\u0430\u043a\u0441\u0438\u043c\u0443\u043c",aggregate_min:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u0438: \u041c\u0456\u043d\u0456\u043c\u0443\u043c",aggregate_avg:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u0438: \u0421\u0435\u0440\u0434\u043d\u0454",aggregate_remove:"\u0414\u043b\u044f \u0433\u0440\u0443\u043f\u0438: \u041f\u0443\u0441\u0442\u043e"}}),e}])}]),function(){var e=["uiT","uiTranslate"],t=angular.module("ui.grid.i18n");t.constant("i18nConstants",{MISSING:"[MISSING]",UPDATE_EVENT:"$uiI18n",LOCALE_DIRECTIVE_ALIAS:"uiI18n",DEFAULT_LANG:"en"}),t.service("i18nService",["$log","i18nConstants","$rootScope",function(e,t,n){var i={_langs:{},current:null,get:function(e){return this._langs[e.toLowerCase()]},add:function(e,t){var n=e.toLowerCase();this._langs[n]||(this._langs[n]={}),angular.extend(this._langs[n],t)},getAllLangs:function(){var e=[];if(!this._langs)return e;for(var t in this._langs)e.push(t);return e},setCurrent:function(e){this.current=e.toLowerCase()},getCurrentLang:function(){return this.current}},r={add:function(e,t){"object"==typeof e?angular.forEach(e,(function(e){e&&i.add(e,t)})):i.add(e,t)},getAllLangs:function(){return i.getAllLangs()},get:function(e){var t=e||r.getCurrentLang();return i.get(t)},getSafeText:function(e,n){var o=n||r.getCurrentLang(),a=i.get(o);if(!a)return t.MISSING;for(var s=e.split("."),l=a,c=0;c<s.length;++c){if(null==l[s[c]])return t.MISSING;l=l[s[c]]}return l},setCurrentLang:function(e){e&&(i.setCurrent(e),n.$broadcast(t.UPDATE_EVENT))},getCurrentLang:function(){var e=i.getCurrentLang();return e||i.setCurrent(e=t.DEFAULT_LANG),e}};return r}]),t.directive("uiI18n",["i18nService","i18nConstants",function(e,t){return{compile:function(){return{pre:function(n,i,r){var o=t.LOCALE_DIRECTIVE_ALIAS,a=n.$eval(r[o]);a?n.$watch(r[o],(function(){e.setCurrentLang(a)})):r.$$observers&&r.$observe(o,(function(){e.setCurrentLang(r[o]||t.DEFAULT_LANG)}))}}}}}]);var n=function(t,n,i){return{restrict:"EA",compile:function(){return{pre:function(r,o,a){var s,l=e[0],c=e[1],u=a[l]||a[c]||o.html(),d=i.MISSING+u;a.$$observers&&(s=a.$observe(a[l]?l:c,(function(e){e&&o.html(t(e)(n.getCurrentLang())||d)})));var p=t(u),h=r.$on(i.UPDATE_EVENT,(function(e){s?s(a[l]||a[c]):o.html(p(n.get())||d)}));r.$on("$destroy",h),o.html(p(n.get())||d)}}}}};angular.forEach(e,(function(e){t.directive(e,["$parse","i18nService","i18nConstants",n])}));var i=function(e,t,n){return function(i){return e(i)(t.get())||n.MISSING+i}};angular.forEach(["t","uiTranslate"],(function(e){t.filter(e,["$parse","i18nService","i18nConstants",i])}))}(),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("zh-cn",{headerCell:{aria:{defaultFilterLabel:"\u5217\u8fc7\u6ee4\u5668",removeFilter:"\u79fb\u9664\u8fc7\u6ee4\u5668",columnMenuButtonLabel:"\u5217\u83dc\u5355"},priority:"\u4f18\u5148\u7ea7:",filterLabel:"\u5217\u8fc7\u6ee4\u5668: "},aggregate:{label:"\u884c"},groupPanel:{description:"\u62d6\u66f3\u8868\u5934\u5230\u6b64\u5904\u8fdb\u884c\u5206\u7ec4"},search:{placeholder:"\u67e5\u627e",showingItems:"\u5df2\u663e\u793a\u884c\u6570\uff1a",selectedItems:"\u5df2\u9009\u62e9\u884c\u6570\uff1a",totalItems:"\u603b\u884c\u6570\uff1a",size:"\u6bcf\u9875\u663e\u793a\u884c\u6570\uff1a",first:"\u9996\u9875",next:"\u4e0b\u4e00\u9875",previous:"\u4e0a\u4e00\u9875",last:"\u672b\u9875"},menu:{text:"\u9009\u62e9\u5217\uff1a"},sort:{ascending:"\u5347\u5e8f",descending:"\u964d\u5e8f",none:"\u65e0\u5e8f",remove:"\u53d6\u6d88\u6392\u5e8f"},column:{hide:"\u9690\u85cf\u5217"},aggregation:{count:"\u8ba1\u6570\uff1a",sum:"\u6c42\u548c\uff1a",avg:"\u5747\u503c\uff1a",min:"\u6700\u5c0f\u503c\uff1a",max:"\u6700\u5927\u503c\uff1a"},pinning:{pinLeft:"\u5de6\u4fa7\u56fa\u5b9a",pinRight:"\u53f3\u4fa7\u56fa\u5b9a",unpin:"\u53d6\u6d88\u56fa\u5b9a"},columnMenu:{close:"\u5173\u95ed"},gridMenu:{aria:{buttonLabel:"\u8868\u683c\u83dc\u5355"},columns:"\u5217\uff1a",importerTitle:"\u5bfc\u5165\u6587\u4ef6",exporterAllAsCsv:"\u5bfc\u51fa\u5168\u90e8\u6570\u636e\u5230CSV",exporterVisibleAsCsv:"\u5bfc\u51fa\u53ef\u89c1\u6570\u636e\u5230CSV",exporterSelectedAsCsv:"\u5bfc\u51fa\u5df2\u9009\u6570\u636e\u5230CSV",exporterAllAsPdf:"\u5bfc\u51fa\u5168\u90e8\u6570\u636e\u5230PDF",exporterVisibleAsPdf:"\u5bfc\u51fa\u53ef\u89c1\u6570\u636e\u5230PDF",exporterSelectedAsPdf:"\u5bfc\u51fa\u5df2\u9009\u6570\u636e\u5230PDF",clearAllFilters:"\u6e05\u9664\u6240\u6709\u8fc7\u6ee4\u5668"},importer:{noHeaders:"\u65e0\u6cd5\u83b7\u53d6\u5217\u540d\uff0c\u786e\u5b9a\u6587\u4ef6\u5305\u542b\u8868\u5934\uff1f",noObjects:"\u65e0\u6cd5\u83b7\u53d6\u6570\u636e\uff0c\u786e\u5b9a\u6587\u4ef6\u5305\u542b\u6570\u636e\uff1f",invalidCsv:"\u65e0\u6cd5\u5904\u7406\u6587\u4ef6\uff0c\u786e\u5b9a\u662f\u5408\u6cd5\u7684CSV\u6587\u4ef6\uff1f",invalidJson:"\u65e0\u6cd5\u5904\u7406\u6587\u4ef6\uff0c\u786e\u5b9a\u662f\u5408\u6cd5\u7684JSON\u6587\u4ef6\uff1f",jsonNotArray:"\u5bfc\u5165\u7684\u6587\u4ef6\u4e0d\u662fJSON\u6570\u7ec4\uff01"},pagination:{aria:{pageToFirst:"\u7b2c\u4e00\u9875",pageBack:"\u4e0a\u4e00\u9875",pageSelected:"\u5f53\u524d\u9875",pageForward:"\u4e0b\u4e00\u9875",pageToLast:"\u6700\u540e\u4e00\u9875"},sizes:"\u884c\u6bcf\u9875",totalItems:"\u884c",through:"\u81f3",of:"\u5171"},grouping:{group:"\u5206\u7ec4",ungroup:"\u53d6\u6d88\u5206\u7ec4",aggregate_count:"\u5408\u8ba1: \u8ba1\u6570",aggregate_sum:"\u5408\u8ba1: \u6c42\u548c",aggregate_max:"\u5408\u8ba1: \u6700\u5927",aggregate_min:"\u5408\u8ba1: \u6700\u5c0f",aggregate_avg:"\u5408\u8ba1: \u5e73\u5747",aggregate_remove:"\u5408\u8ba1: \u79fb\u9664"}}),e}])}]),angular.module("ui.grid").config(["$provide",function(e){e.decorator("i18nService",["$delegate",function(e){return e.add("zh-tw",{aggregate:{label:"\u884c"},groupPanel:{description:"\u62d6\u66f3\u8868\u982d\u5230\u6b64\u8655\u9032\u884c\u5206\u7d44"},search:{placeholder:"\u67e5\u627e",showingItems:"\u5df2\u986f\u793a\u884c\u6578\uff1a",selectedItems:"\u5df2\u9078\u64c7\u884c\u6578\uff1a",totalItems:"\u7e3d\u884c\u6578\uff1a",size:"\u6bcf\u9801\u986f\u793a\u884c\u6578\uff1a",first:"\u9996\u9801",next:"\u4e0b\u58f9\u9801",previous:"\u4e0a\u58f9\u9801",last:"\u672b\u9801"},menu:{text:"\u9078\u64c7\u5217\uff1a"},sort:{ascending:"\u5347\u5e8f",descending:"\u964d\u5e8f",remove:"\u53d6\u6d88\u6392\u5e8f"},column:{hide:"\u96b1\u85cf\u5217"},aggregation:{count:"\u8a08\u6578\uff1a",sum:"\u6c42\u548c\uff1a",avg:"\u5747\u503c\uff1a",min:"\u6700\u5c0f\u503c\uff1a",max:"\u6700\u5927\u503c\uff1a"},pinning:{pinLeft:"\u5de6\u5074\u56fa\u5b9a",pinRight:"\u53f3\u5074\u56fa\u5b9a",unpin:"\u53d6\u6d88\u56fa\u5b9a"},gridMenu:{columns:"\u5217\uff1a",importerTitle:"\u5c0e\u5165\u6587\u4ef6",exporterAllAsCsv:"\u5c0e\u51fa\u5168\u90e8\u6578\u64da\u5230CSV",exporterVisibleAsCsv:"\u5c0e\u51fa\u53ef\u898b\u6578\u64da\u5230CSV",exporterSelectedAsCsv:"\u5c0e\u51fa\u5df2\u9078\u6578\u64da\u5230CSV",exporterAllAsPdf:"\u5c0e\u51fa\u5168\u90e8\u6578\u64da\u5230PDF",exporterVisibleAsPdf:"\u5c0e\u51fa\u53ef\u898b\u6578\u64da\u5230PDF",exporterSelectedAsPdf:"\u5c0e\u51fa\u5df2\u9078\u6578\u64da\u5230PDF",clearAllFilters:"\u6e05\u9664\u6240\u6709\u8fc7\u6ee4\u5668"},importer:{noHeaders:"\u7121\u6cd5\u7372\u53d6\u5217\u540d\uff0c\u78ba\u5b9a\u6587\u4ef6\u5305\u542b\u8868\u982d\uff1f",noObjects:"\u7121\u6cd5\u7372\u53d6\u6578\u64da\uff0c\u78ba\u5b9a\u6587\u4ef6\u5305\u542b\u6578\u64da\uff1f",invalidCsv:"\u7121\u6cd5\u8655\u7406\u6587\u4ef6\uff0c\u78ba\u5b9a\u662f\u5408\u6cd5\u7684CSV\u6587\u4ef6\uff1f",invalidJson:"\u7121\u6cd5\u8655\u7406\u6587\u4ef6\uff0c\u78ba\u5b9a\u662f\u5408\u6cd5\u7684JSON\u6587\u4ef6\uff1f",jsonNotArray:"\u5c0e\u5165\u7684\u6587\u4ef6\u4e0d\u662fJSON\u6578\u7d44\uff01"},pagination:{sizes:"\u884c\u6bcf\u9801",totalItems:"\u884c"}}),e}])}]),function(){"use strict";angular.module("ui.grid.autoResize",["ui.grid"]).directive("uiGridAutoResize",["$timeout","gridUtil",function(e,t){return{require:"uiGrid",scope:!1,link:function(e,n,i,r){var o,a,s;function l(){a=t.elementHeight(n),o=t.elementWidth(n)}l(),function i(){clearTimeout(s),s=setTimeout((function(){var s=t.elementHeight(n),c=t.elementWidth(n);s!==a||c!==o?(r.grid.gridHeight=s,r.grid.gridWidth=c,r.grid.api.core.raise.gridDimensionChanged(a,o,s,c),e.$apply((function(){r.grid.refresh().then((function(){l(),i()}))}))):i()}),250)}(),e.$on("$destroy",(function(){clearTimeout(s)}))}}}])}(),function(){"use strict";var e=angular.module("ui.grid.cellNav",["ui.grid"]);e.constant("uiGridCellNavConstants",{FEATURE_NAME:"gridCellNav",CELL_NAV_EVENT:"cellNav",direction:{LEFT:0,RIGHT:1,UP:2,DOWN:3,PG_UP:4,PG_DOWN:5},EVENT_TYPE:{KEYDOWN:0,CLICK:1,CLEAR:2}}),e.factory("uiGridCellNavFactory",["gridUtil","uiGridConstants","uiGridCellNavConstants","GridRowColumn","$q",function(e,t,n,i,r){var o=function(e,t,n,i){this.rows=e.visibleRowCache,this.columns=t.visibleColumnCache,this.leftColumns=n?n.visibleColumnCache:[],this.rightColumns=i?i.visibleColumnCache:[],this.bodyContainer=e};return o.prototype.getFocusableCols=function(){return this.leftColumns.concat(this.columns,this.rightColumns).filter((function(e){return e.colDef.allowCellFocus}))},o.prototype.getFocusableRows=function(){return this.rows.filter((function(e){return!1!==e.allowCellFocus}))},o.prototype.getNextRowCol=function(e,t,i){switch(e){case n.direction.LEFT:return this.getRowColLeft(t,i);case n.direction.RIGHT:return this.getRowColRight(t,i);case n.direction.UP:return this.getRowColUp(t,i);case n.direction.DOWN:return this.getRowColDown(t,i);case n.direction.PG_UP:return this.getRowColPageUp(t,i);case n.direction.PG_DOWN:return this.getRowColPageDown(t,i)}},o.prototype.initializeSelection=function(){var e=this.getFocusableCols(),t=this.getFocusableRows();return 0===e.length||0===t.length?null:new i(t[0],e[0])},o.prototype.getRowColLeft=function(e,t){var n=this.getFocusableCols(),r=this.getFocusableRows(),o=n.indexOf(t),a=r.indexOf(e);-1===o&&(o=1);var s=0===o?n.length-1:o-1;return new i(s>=o?0===a?e:r[a-1]:e,n[s])},o.prototype.getRowColRight=function(e,t){var n=this.getFocusableCols(),r=this.getFocusableRows(),o=n.indexOf(t),a=r.indexOf(e);-1===o&&(o=0);var s=o===n.length-1?0:o+1;return new i(s<=o?a===r.length-1?e:r[a+1]:e,n[s])},o.prototype.getRowColDown=function(e,t){var n=this.getFocusableCols(),r=this.getFocusableRows(),o=n.indexOf(t),a=r.indexOf(e);return-1===o&&(o=0),new i(a===r.length-1?e:r[a+1],n[o])},o.prototype.getRowColPageDown=function(e,t){var n=this.getFocusableCols(),r=this.getFocusableRows(),o=n.indexOf(t),a=r.indexOf(e);-1===o&&(o=0);var s=this.bodyContainer.minRowsToRender();return new i(a>=r.length-s?r[r.length-1]:r[a+s],n[o])},o.prototype.getRowColUp=function(e,t){var n=this.getFocusableCols(),r=this.getFocusableRows(),o=n.indexOf(t),a=r.indexOf(e);return-1===o&&(o=0),new i(0===a?e:r[a-1],n[o])},o.prototype.getRowColPageUp=function(e,t){var n=this.getFocusableCols(),r=this.getFocusableRows(),o=n.indexOf(t),a=r.indexOf(e);-1===o&&(o=0);var s=this.bodyContainer.minRowsToRender();return new i(a-s<0?r[0]:r[a-s],n[o])},o}]),e.service("uiGridCellNavService",["gridUtil","uiGridConstants","uiGridCellNavConstants","$q","uiGridCellNavFactory","GridRowColumn","ScrollEvent",function(e,t,n,i,r,o,a){var s={initializeGrid:function(e){e.registerColumnBuilder(s.cellNavColumnBuilder),e.cellNav={},e.cellNav.lastRowCol=null,e.cellNav.focusedCells=[],s.defaultGridOptions(e.options);var t={events:{cellNav:{navigate:function(e,t){},viewPortKeyDown:function(e,t){},viewPortKeyPress:function(e,t){}}},methods:{cellNav:{scrollToFocus:function(t,n){return s.scrollToFocus(e,t,n)},getFocusedCell:function(){return e.cellNav.lastRowCol},getCurrentSelection:function(){return e.cellNav.focusedCells},rowColSelectIndex:function(t){for(var n=-1,i=0;i<e.cellNav.focusedCells.length;i++)if(e.cellNav.focusedCells[i].col.uid===t.col.uid&&e.cellNav.focusedCells[i].row.uid===t.row.uid){n=i;break}return n}}}};e.api.registerEventsFromObject(t.events),e.api.registerMethodsFromObject(t.methods)},defaultGridOptions:function(e){e.modifierKeysToMultiSelectCells=!0===e.modifierKeysToMultiSelectCells,e.keyDownOverrides=e.keyDownOverrides||[]},decorateRenderContainers:function(e){var t=e.hasRightContainer()?e.renderContainers.right:null,n=e.hasLeftContainer()?e.renderContainers.left:null;null!==n&&(e.renderContainers.left.cellNav=new r(e.renderContainers.body,n,t,e.renderContainers.body)),null!==t&&(e.renderContainers.right.cellNav=new r(e.renderContainers.body,t,e.renderContainers.body,n)),e.renderContainers.body.cellNav=new r(e.renderContainers.body,e.renderContainers.body,n,t)},getDirection:function(e){return e.keyCode===t.keymap.LEFT||e.keyCode===t.keymap.TAB&&e.shiftKey?n.direction.LEFT:e.keyCode===t.keymap.RIGHT||e.keyCode===t.keymap.TAB?n.direction.RIGHT:e.keyCode===t.keymap.UP||e.keyCode===t.keymap.ENTER&&e.shiftKey?n.direction.UP:e.keyCode===t.keymap.PG_UP?n.direction.PG_UP:e.keyCode===t.keymap.DOWN||e.keyCode===t.keymap.ENTER&&!e.ctrlKey&&!e.altKey?n.direction.DOWN:e.keyCode===t.keymap.PG_DOWN?n.direction.PG_DOWN:null},cellNavColumnBuilder:function(e,t,n){return e.allowCellFocus=void 0===e.allowCellFocus||e.allowCellFocus,i.all([])},scrollToFocus:function(e,t,n){var i=null,r=null;return null!=t&&(i=e.getRow(t)),null!=n&&(r=e.getColumn(n.name?n.name:n.field)),e.api.core.scrollToIfNecessary(i,r).then((function(){null!==i&&null!==r&&e.cellNav.broadcastCellNav({row:i,col:r})}))},getLeftWidth:function(e,t){var n=0;if(!t)return n;var i=e.renderContainers.body.visibleColumnCache.indexOf(t);return e.renderContainers.body.visibleColumnCache.forEach((function(e,t){t<i&&(n+=e.drawnWidth)})),n+=t.drawnWidth*(0===i?0:(i+1)/e.renderContainers.body.visibleColumnCache.length)}};return s}]),e.directive("uiGridCellnav",["gridUtil","uiGridCellNavService","uiGridCellNavConstants","uiGridConstants","GridRowColumn","$timeout","$compile",function(e,t,n,i,r,o,a){return{replace:!0,priority:-150,require:"^uiGrid",scope:!1,controller:function(){},compile:function(){return{pre:function(e,o,a,s){var l=e,c=s.grid;t.initializeGrid(c),s.cellNav={},s.cellNav.makeRowCol=function(e){return e instanceof r||(e=new r(e.row,e.col)),e},s.cellNav.getActiveCell=function(){var e=o[0].getElementsByClassName("ui-grid-cell-focus");if(e.length>0)return e[0]},s.cellNav.broadcastCellNav=c.cellNav.broadcastCellNav=function(e,t,i){t=!(void 0===t||!t),e=s.cellNav.makeRowCol(e),s.cellNav.broadcastFocus(e,t,i),l.$broadcast(n.CELL_NAV_EVENT,e,t,i)},s.cellNav.clearFocus=c.cellNav.clearFocus=function(){c.cellNav.focusedCells=[],l.$broadcast(n.CELL_NAV_EVENT)},s.cellNav.broadcastFocus=function(e,t,n){t=!(void 0===t||!t);var i=(e=s.cellNav.makeRowCol(e)).row,o=e.col,a=s.grid.api.cellNav.rowColSelectIndex(e);if(null===c.cellNav.lastRowCol||-1===a){var l=new r(i,o);null!==c.cellNav.lastRowCol&&c.cellNav.lastRowCol.row===l.row&&c.cellNav.lastRowCol.col===l.col||(c.api.cellNav.raise.navigate(l,c.cellNav.lastRowCol,n),c.cellNav.lastRowCol=l),s.grid.options.modifierKeysToMultiSelectCells&&t?c.cellNav.focusedCells.push(e):c.cellNav.focusedCells=[e]}else c.options.modifierKeysToMultiSelectCells&&t&&a>=0&&c.cellNav.focusedCells.splice(a,1)},s.cellNav.handleKeyDown=function(e){var r=t.getDirection(e);if(null===r)return null;var o="body";e.uiGridTargetRenderContainerId&&(o=e.uiGridTargetRenderContainerId);var a=s.grid.api.cellNav.getFocusedCell();if(a){var l=s.grid.renderContainers[o].cellNav.getNextRowCol(r,a.row,a.col),u=s.grid.renderContainers[o].cellNav.getFocusableCols(),d=s.grid.api.cellNav.rowColSelectIndex(l);return r===n.direction.LEFT&&l.col===u[u.length-1]&&l.row===a.row&&e.keyCode===i.keymap.TAB&&e.shiftKey?(c.cellNav.focusedCells.splice(d,1),s.cellNav.clearFocus(),!0):r!==n.direction.RIGHT||l.col!==u[0]||l.row!==a.row||e.keyCode!==i.keymap.TAB||e.shiftKey?(c.scrollToIfNecessary(l.row,l.col).then((function(){s.cellNav.broadcastCellNav(l,null,e)})),e.stopPropagation(),e.preventDefault(),!1):(c.cellNav.focusedCells.splice(d,1),s.cellNav.clearFocus(),!0)}}},post:function(e,t,i,r){var o,s=r.grid,l=!0;try{angular.module("ngAria")}catch(c){l=!1}l&&(o=a('<div id="'+s.id+'-aria-speakable" class="ui-grid-a11y-ariascreenreader-speakable ui-grid-offscreen" aria-live="assertive" role="region" aria-atomic="true" aria-hidden="false" aria-relevant="additions" >&nbsp;</div>')(e),t.prepend(o),e.$on(n.CELL_NAV_EVENT,(function(e,t,n,i){if(!i||"focus"!==i.type){for(var r=[],a=s.api.cellNav.getCurrentSelection(),l=0;l<a.length;l++)r.push(s.getCellDisplayValue(a[l].row,a[l].col));var c;(c=r.toString())!==o.text()&&(o[0].style.clip="rect(0px,0px,0px,0px)",o[0].innerHTML="",o[0].style.visibility="hidden",o[0].style.visibility="visible",""!==c&&(o[0].style.clip="auto",o[0].appendChild(document.createTextNode(c+" ")),o[0].style.visibility="hidden",o[0].style.visibility="visible"))}})))}}}}}]),e.directive("uiGridRenderContainer",["$timeout","$document","gridUtil","uiGridConstants","uiGridCellNavService","$compile","uiGridCellNavConstants",function(e,t,n,i,r,o,a){return{replace:!0,priority:-99999,require:["^uiGrid","uiGridRenderContainer","?^uiGridCellnav"],scope:!1,compile:function(){return{post:function(t,i,s,l){var c=l[0],u=l[2];if(c.grid.api.cellNav){var d=l[1].containerId,p=c.grid;if(r.decorateRenderContainers(p),"body"===d){i.attr("aria-multiselectable",!!c.grid.options.modifierKeysToMultiSelectCells);var h=o('<div class="ui-grid-focuser" role="region" aria-live="assertive" aria-atomic="false" tabindex="0" aria-controls="'+p.id+"-aria-speakable "+p.id+'-grid-container" aria-owns="'+p.id+'-grid-container"></div>')(t);i.append(h),h.on("focus",(function(e){e.uiGridTargetRenderContainerId=d;var t=c.grid.api.cellNav.getFocusedCell();null===t&&(t=c.grid.renderContainers[d].cellNav.getNextRowCol(a.direction.DOWN,null,null)).row&&t.col&&c.cellNav.broadcastCellNav(t)})),u.setAriaActivedescendant=function(e){i.attr("aria-activedescendant",e)},u.removeAriaActivedescendant=function(e){i.attr("aria-activedescendant")===e&&i.attr("aria-activedescendant","")},c.focus=function(){n.focus.byElement(h[0])};var f=null;h.on("keydown",(function(e){e.uiGridTargetRenderContainerId=d;var t=c.grid.api.cellNav.getFocusedCell();null===(c.grid.options.keyDownOverrides.some((function(t){return Object.keys(t).every((function(n){return t[n]===e[n]}))}))?null:c.cellNav.handleKeyDown(e))&&(c.grid.api.cellNav.raise.viewPortKeyDown(e,t),f=t)})),h.on("keypress",(function(t){f&&(e((function(){c.grid.api.cellNav.raise.viewPortKeyPress(t,f)}),4),f=null)})),t.$on("$destroy",(function(){h.off()}))}}}}}}}]),e.directive("uiGridViewport",["$timeout","$document","gridUtil","uiGridConstants","uiGridCellNavService","uiGridCellNavConstants","$log","$compile",function(e,t,n,i,r,o,a,s){return{replace:!0,priority:-99999,require:["^uiGrid","^uiGridRenderContainer","?^uiGridCellnav"],scope:!1,compile:function(){return{pre:function(e,t,n,i){},post:function(e,t,n,i){var r=i[0],o=i[1];if(r.grid.api.cellNav&&"body"===o.containerId){var a=r.grid;a.api.core.on.scrollBegin(e,(function(e){var t=r.grid.api.cellNav.getFocusedCell();null!==t&&o.colContainer.containsColumn(t.col)&&r.cellNav.clearFocus()})),a.api.core.on.scrollEnd(e,(function(e){var t=r.grid.api.cellNav.getFocusedCell();null!==t&&o.colContainer.containsColumn(t.col)&&r.cellNav.broadcastCellNav(t)})),a.api.cellNav.on.navigate(e,(function(){r.focus()}))}}}}}}]),e.directive("uiGridCell",["$timeout","$document","uiGridCellNavService","gridUtil","uiGridCellNavConstants","uiGridConstants","GridRowColumn",function(e,t,n,i,r,o,a){return{priority:-150,restrict:"A",require:["^uiGrid","?^uiGridCellnav"],scope:!1,link:function(t,n,i,s){var l=s[0],c=s[1];if(l.grid.api.cellNav&&t.col.colDef.allowCellFocus){var u=l.grid;t.focused=!1,n.attr("tabindex",-1),n.find("div").on("click",(function(e){l.cellNav.broadcastCellNav(new a(t.row,t.col),e.ctrlKey||e.metaKey,e),e.stopPropagation(),t.$apply()})),n.on("mousedown",p),l.grid.api.edit&&(l.grid.api.edit.on.beginCellEdit(t,(function(){n.off("mousedown",p)})),l.grid.api.edit.on.afterCellEdit(t,(function(){n.on("mousedown",p)})),l.grid.api.edit.on.cancelCellEdit(t,(function(){n.on("mousedown",p)}))),h(),n.on("focus",(function(e){l.cellNav.broadcastCellNav(new a(t.row,t.col),!1,e),e.stopPropagation(),t.$apply()})),t.$on(r.CELL_NAV_EVENT,h);var d=l.grid.registerDataChangeCallback((function(t){f(),e(h)}),[o.dataChange.ROW]);t.$on("$destroy",(function(){d(),n.find("div").off(),n.off()}))}function p(e){e.preventDefault()}function h(){u.cellNav.focusedCells.some((function(e,n){return e.row===t.row&&e.col===t.col}))?t.focused||(n.find("div").addClass("ui-grid-cell-focus"),n.attr("aria-selected",!0),c.setAriaActivedescendant(n.attr("id")),t.focused=!0):f()}function f(){t.focused&&(n.find("div").removeClass("ui-grid-cell-focus"),n.attr("aria-selected",!1),c.removeAriaActivedescendant(n.attr("id")),t.focused=!1)}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.edit",["ui.grid"]);e.constant("uiGridEditConstants",{EDITABLE_CELL_TEMPLATE:/EDITABLE_CELL_TEMPLATE/g,EDITABLE_CELL_DIRECTIVE:/editable_cell_directive/g,events:{BEGIN_CELL_EDIT:"uiGridEventBeginCellEdit",END_CELL_EDIT:"uiGridEventEndCellEdit",CANCEL_CELL_EDIT:"uiGridEventCancelCellEdit"}}),e.service("uiGridEditService",["$q","uiGridConstants","gridUtil",function(e,t,n){var i={initializeGrid:function(e){i.defaultGridOptions(e.options),e.registerColumnBuilder(i.editColumnBuilder),e.edit={},e.api.registerEventsFromObject({edit:{afterCellEdit:function(e,t,n,i){},beginCellEdit:function(e,t,n){},cancelCellEdit:function(e,t){}}})},defaultGridOptions:function(e){e.cellEditableCondition=void 0===e.cellEditableCondition||e.cellEditableCondition,e.enableCellEditOnFocus=void 0!==e.enableCellEditOnFocus&&e.enableCellEditOnFocus},editColumnBuilder:function(t,i,r){var o=[];return t.enableCellEdit=void 0===t.enableCellEdit?void 0===r.enableCellEdit?"object"!==t.type:r.enableCellEdit:t.enableCellEdit,t.cellEditableCondition=void 0===t.cellEditableCondition?r.cellEditableCondition:t.cellEditableCondition,t.enableCellEdit&&(t.editableCellTemplate=t.editableCellTemplate||r.editableCellTemplate||"ui-grid/cellEditor",o.push(n.getTemplate(t.editableCellTemplate).then((function(e){i.editableCellTemplate=e}),(function(e){throw new Error("Couldn't fetch/use colDef.editableCellTemplate '"+t.editableCellTemplate+"'")})))),t.enableCellEditOnFocus=void 0===t.enableCellEditOnFocus?r.enableCellEditOnFocus:t.enableCellEditOnFocus,e.all(o)},isStartEditKey:function(e){return!(e.metaKey||e.keyCode===t.keymap.ESC||e.keyCode===t.keymap.SHIFT||e.keyCode===t.keymap.CTRL||e.keyCode===t.keymap.ALT||e.keyCode===t.keymap.WIN||e.keyCode===t.keymap.CAPSLOCK||e.keyCode===t.keymap.LEFT||e.keyCode===t.keymap.TAB&&e.shiftKey||e.keyCode===t.keymap.RIGHT||e.keyCode===t.keymap.TAB||e.keyCode===t.keymap.UP||e.keyCode===t.keymap.ENTER&&e.shiftKey||e.keyCode===t.keymap.DOWN||e.keyCode===t.keymap.ENTER)}};return i}]),e.directive("uiGridEdit",["gridUtil","uiGridEditService",function(e,t){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){t.initializeGrid(r.grid)},post:function(e,t,n,i){}}}}}]),e.directive("uiGridViewport",["uiGridEditConstants",function(e){return{replace:!0,priority:-99998,require:["^uiGrid","^uiGridRenderContainer"],scope:!1,compile:function(){return{post:function(t,n,i,r){var o=r[0];o.grid.api.edit&&o.grid.api.cellNav&&"body"===r[1].containerId&&(t.$on(e.events.CANCEL_CELL_EDIT,(function(){o.focus()})),t.$on(e.events.END_CELL_EDIT,(function(){o.focus()})))}}}}}]),e.directive("uiGridCell",["$compile","$injector","$timeout","uiGridConstants","uiGridEditConstants","gridUtil","$parse","uiGridEditService","$rootScope","$q",function(e,t,n,i,r,o,a,s,l,c){return t.has("uiGridCellNavService")&&t.get("uiGridCellNavService"),{priority:-100,restrict:"A",scope:!1,require:"?^uiGrid",link:function(t,u,d,p){var h,f,g,m,v,b=!1;if(t.col.colDef.enableCellEdit){var y=function(){},M=function(){},w=function(){t.col.colDef.enableCellEdit&&!1!==t.row.enableCellEdit?t.beginEditEventsWired||A():t.beginEditEventsWired&&z()};w();var C=t.$watch("row",(function(e,t){e!==t&&w()}));t.$on("$destroy",(function(){C(),u.off()}))}function A(){u.on("dblclick",k),u.on("touchstart",x),p&&p.grid.api.cellNav&&(M=p.grid.api.cellNav.on.viewPortKeyDown(t,(function(e,n){null!==n&&(n.row!==t.row||n.col!==t.col||t.col.colDef.enableCellEditOnFocus||T(e))})),y=p.grid.api.cellNav.on.navigate(t,(function(e,i,r){t.col.colDef.enableCellEditOnFocus&&(i&&e.row===i.row&&e.col===i.col||e.row!==t.row||e.col!==t.col||n((function(){k(r)})))}))),t.beginEditEventsWired=!0}function x(e){void 0!==e.originalEvent&&void 0!==e.originalEvent&&(e=e.originalEvent),u.on("touchend",S),(m=n((function(){}),500)).then((function(){setTimeout(k,0),u.off("touchend",S)}))}function S(e){n.cancel(m),u.off("touchend",S)}function z(){u.off("dblclick",k),u.off("keydown",T),u.off("touchstart",x),y(),M(),t.beginEditEventsWired=!1}function T(e){s.isStartEditKey(e)&&k(e)}function k(s){t.grid.api.core.scrollToIfNecessary(t.row,t.col).then((function(){!function(s){if(!b&&(d=t.col,!t.row.isSaving&&(angular.isFunction(d.colDef.cellEditableCondition)?d.colDef.cellEditableCondition(t):d.colDef.cellEditableCondition))){var d,p=t.row.getQualifiedColField(t.col);t.col.colDef.editModelField&&(p=o.preEval("row.entity."+t.col.colDef.editModelField)),g=a(p),f=g(t),h=(h=(h=(h=t.col.editableCellTemplate).replace(i.MODEL_COL_FIELD,p)).replace(i.COL_FIELD,"grid.getCellValue(row, col)")).replace(i.CUSTOM_FILTERS,t.col.colDef.editDropdownFilter?"|"+t.col.colDef.editDropdownFilter:"");var m="text";switch(t.col.colDef.type){case"boolean":m="checkbox";break;case"number":m="number";break;case"date":m="date"}h=h.replace("INPUT_TYPE",m);var y=t.col.colDef.editDropdownOptionsFunction;if(y)c.when(y(t.row.entity,t.col.colDef)).then((function(e){t.editDropdownOptionsArray=e}));else{var M=t.col.colDef.editDropdownRowEntityOptionsArrayPath;t.editDropdownOptionsArray=M?function(e,t){for(var n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");n.length;){var i=n.shift();if(!(i in e))return;e=e[i]}return e}(t.row.entity,M):t.col.colDef.editDropdownOptionsArray}t.editDropdownIdLabel=t.col.colDef.editDropdownIdLabel?t.col.colDef.editDropdownIdLabel:"id",t.editDropdownValueLabel=t.col.colDef.editDropdownValueLabel?t.col.colDef.editDropdownValueLabel:"value";var w=function(){b=!0,z();var n=angular.element(h);u.append(n),v=t.$new(),e(n)(v),angular.element(u.children()[0]).addClass("ui-grid-cell-contents-hidden")};l.$$phase?w():t.$apply(w);var C=t.col.grid.api.core.on.scrollBegin(t,(function(){t.grid.disableScrolling||($(),t.grid.api.edit.raise.afterCellEdit(t.row.entity,t.col.colDef,g(t),f),C(),A(),x())})),A=t.$on(r.events.END_CELL_EDIT,(function(){$(),t.grid.api.edit.raise.afterCellEdit(t.row.entity,t.col.colDef,g(t),f),A(),C(),x()})),x=t.$on(r.events.CANCEL_CELL_EDIT,(function(){t.grid.disableScrolling=!1,b&&(g.assign(t,f),t.$apply(),t.grid.api.edit.raise.cancelCellEdit(t.row.entity,t.col.colDef),$()),x(),C(),A()}));t.$broadcast(r.events.BEGIN_CELL_EDIT,s),n((function(){t.grid.api.edit.raise.beginCellEdit(t.row.entity,t.col.colDef,s)}))}}(s)}))}function $(){if(t.grid.disableScrolling=!1,b){p&&p.grid.api.cellNav&&p.focus();var e=angular.element(u.children()[0]);v.$destroy();for(var n=u.children(),r=1;r<n.length;r++)angular.element(n[r]).remove();e.removeClass("ui-grid-cell-contents-hidden"),b=!1,A(),t.grid.api.core.notifyDataChange(i.dataChange.EDIT)}}}}}]),e.directive("uiGridEditor",["gridUtil","uiGridConstants","uiGridEditConstants","$timeout","uiGridEditService",function(e,t,n,i,r){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer","ngModel"],compile:function(){return{pre:function(e,t,n){},post:function(e,o,a,s){var l,c,u;s[0]&&(l=s[0]),s[1]&&(c=s[1]),s[2]&&(u=s[2]),e.$on(n.events.BEGIN_CELL_EDIT,(function(t,n){if(i((function(){if(o[0].focus(),!o[0].select||!e.col.colDef.enableCellEditOnFocus&&l&&l.grid.api.cellNav)try{o[0].setSelectionRange(o[0].value.length,o[0].value.length)}catch(t){}else o[0].select()})),l&&l.grid.api.cellNav)var a=l.grid.api.cellNav.on.viewPortKeyPress(e,(function(e,t){r.isStartEditKey(e)&&(u.$setViewValue(String.fromCharCode("number"==typeof e.which?e.which:e.keyCode),e),u.$render()),a()}));o.on("mousedown",(function(t){"checkbox"===o[0].type&&(o.off("blur",e.stopEdit),i((function(){o[0].focus(),o.on("blur",e.stopEdit)})))})),o.on("blur",e.stopEdit)})),e.deepEdit=!1,e.stopEdit=function(t){e.inputForm&&!e.inputForm.$valid?(t.stopPropagation(),e.$emit(n.events.CANCEL_CELL_EDIT)):e.$emit(n.events.END_CELL_EDIT),e.deepEdit=!1},o.on("click",(function(t){"checkbox"!==o[0].type&&(e.deepEdit=!0,i((function(){e.grid.disableScrolling=!0})))})),o.on("keydown",(function(i){switch(i.keyCode){case t.keymap.ESC:i.stopPropagation(),e.$emit(n.events.CANCEL_CELL_EDIT)}if(!e.deepEdit||i.keyCode!==t.keymap.LEFT&&i.keyCode!==t.keymap.RIGHT&&i.keyCode!==t.keymap.UP&&i.keyCode!==t.keymap.DOWN)if(l&&l.grid.api.cellNav)i.uiGridTargetRenderContainerId=c.containerId,null!==l.cellNav.handleKeyDown(i)&&e.stopEdit(i);else switch(i.keyCode){case t.keymap.ENTER:case t.keymap.TAB:i.stopPropagation(),i.preventDefault(),e.stopEdit(i)}else i.stopPropagation();return!0})),e.$on("$destroy",(function(){o.off()}))}}}}}]),e.directive("uiGridEditor",["$filter",function(e){return{priority:-100,require:"?ngModel",link:function(t,n,i,r){2===angular.version.minor&&i.type&&"date"===i.type&&r&&(r.$formatters.push((function(t){return r.$setValidity(null,!t||!isNaN(t.getTime())),e("date")(t,"yyyy-MM-dd")})),r.$parsers.push((function(e){if(e&&e.length>0){var t=function(e){if(void 0===e||""===e)return null;var t=e.split("-");if(3!==t.length)return null;var n=parseInt(t[0],10),i=parseInt(t[1],10),r=parseInt(t[2],10);return i<1||n<1||r<1?null:new Date(n,i-1,r)}(e);return r.$setValidity(null,t&&!isNaN(t.getTime())),t}return r.$setValidity(null,!0),null})))}}}]),e.directive("uiGridEditDropdown",["uiGridConstants","uiGridEditConstants","$timeout",function(e,t,n){return{require:["?^uiGrid","?^uiGridRenderContainer"],scope:!0,compile:function(){return{pre:function(e,t,n){},post:function(i,r,o,a){var s=a[0],l=a[1];i.$on(t.events.BEGIN_CELL_EDIT,(function(){n((function(){r[0].focus()})),r[0].style.width=r[0].parentElement.offsetWidth-1+"px",r.on("blur",(function(e){i.stopEdit(e)}))})),i.stopEdit=function(e){i.$emit(t.events.END_CELL_EDIT)},r.on("keydown",(function(n){switch(n.keyCode){case e.keymap.ESC:n.stopPropagation(),i.$emit(t.events.CANCEL_CELL_EDIT)}if(s&&s.grid.api.cellNav)n.uiGridTargetRenderContainerId=l.containerId,null!==s.cellNav.handleKeyDown(n)&&i.stopEdit(n);else switch(n.keyCode){case e.keymap.ENTER:case e.keymap.TAB:n.stopPropagation(),n.preventDefault(),i.stopEdit(n)}return!0})),i.$on("$destroy",(function(){r.off()}))}}}}}]),e.directive("uiGridEditFileChooser",["gridUtil","uiGridConstants","uiGridEditConstants","$timeout",function(e,t,n,i){return{scope:!0,require:["?^uiGrid","?^uiGridRenderContainer"],compile:function(){return{pre:function(e,t,n){},post:function(t,i,r,o){var a=function(i){var r=i.srcElement||i.target;r&&r.files&&r.files.length>0?("function"==typeof t.col.colDef.editFileChooserCallback?t.col.colDef.editFileChooserCallback(t.row,t.col,r.files):e.logError("You need to set colDef.editFileChooserCallback to use the file chooser"),r.form.reset(),t.$emit(n.events.END_CELL_EDIT)):t.$emit(n.events.CANCEL_CELL_EDIT)};i[0].addEventListener("change",a,!1),t.$on(n.events.BEGIN_CELL_EDIT,(function(){i[0].focus(),i[0].select(),i.on("blur",(function(e){t.$emit(n.events.END_CELL_EDIT)}))})),t.$on("$destroy",(function(){i.off(),i[0].removeEventListener("change",a,!1)}))}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.emptyBaseLayer",["ui.grid"]);e.service("uiGridBaseLayerService",["gridUtil","$compile",function(e,t){return{initializeGrid:function(e,t){e.baseLayer={emptyRows:[]},!1!==e.options.enableEmptyGridBaseLayer&&(e.options.enableEmptyGridBaseLayer=!t)},setNumberOfEmptyRows:function(e,t){var n=Math.ceil(e/t.options.rowHeight);if(n>0){t.baseLayer.emptyRows=[];for(var i=0;i<n;i++)t.baseLayer.emptyRows.push({})}}}}]),e.directive("uiGridEmptyBaseLayer",["gridUtil","uiGridBaseLayerService","$parse",function(e,t,n){return{require:"^uiGrid",scope:!1,compile:function(e,i){return{pre:function(e,i,r,o){var a=!1===n(r.uiGridEmptyBaseLayer)(e);t.initializeGrid(o.grid,a)},post:function(e,n,i,r){if(r.grid.options.enableEmptyGridBaseLayer){var o=r.grid.renderContainers.body,a=o.getViewportHeight();r.grid.registerStyleComputation({func:function(){var e;return(e=o.getViewportHeight())!==a&&(a=e,1)&&t.setNumberOfEmptyRows(a,r.grid),function(e){return".grid"+r.grid.id+" .ui-grid-render-container .ui-grid-empty-base-layer-container.ui-grid-canvas { height: "+e+"px; }"}(a)}})}}}}}}]),e.directive("uiGridViewport",["$compile","gridUtil","$templateCache",function(e,t,n){return{priority:-200,scope:!1,compile:function(e,t){var i=n.get("ui-grid/emptyBaseLayerContainer");return e.prepend(i),{pre:function(e,t,n,i){},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.expandable",["ui.grid"]);e.service("uiGridExpandableService",["gridUtil","$compile",function(e,t){var n={initializeGrid:function(t){t.expandable={},t.expandable.expandedAll=!1,t.options.enableExpandable=!1!==t.options.enableExpandable,t.options.expandableRowHeight=t.options.expandableRowHeight||150,t.options.expandableRowHeaderWidth=t.options.expandableRowHeaderWidth||40,t.options.enableExpandable&&!t.options.expandableRowTemplate&&(e.logError("You have not set the expandableRowTemplate, disabling expandable module"),t.options.enableExpandable=!1);var i={events:{expandable:{rowExpandedBeforeStateChanged:function(e,t){},rowExpandedStateChanged:function(e,t){}}},methods:{expandable:{toggleRowExpansion:function(e){var i=t.getRow(e);null!==i&&n.toggleRowExpansion(t,i)},expandAllRows:function(){n.expandAllRows(t)},collapseAllRows:function(){n.collapseAllRows(t)},toggleAllRows:function(){n.toggleAllRows(t)},expandRow:function(e){var i=t.getRow(e);null===i||i.isExpanded||n.toggleRowExpansion(t,i)},collapseRow:function(e){var i=t.getRow(e);null!==i&&i.isExpanded&&n.toggleRowExpansion(t,i)},getExpandedRows:function(){return n.getExpandedRows(t).map((function(e){return e.entity}))}}}};t.api.registerEventsFromObject(i.events),t.api.registerMethodsFromObject(i.methods)},toggleRowExpansion:function(e,t){e.api.expandable.raise.rowExpandedBeforeStateChanged(t),t.isExpanded=!t.isExpanded,angular.isUndefined(t.expandedRowHeight)&&(t.expandedRowHeight=e.options.expandableRowHeight),t.isExpanded?t.height=t.grid.options.rowHeight+t.expandedRowHeight:(t.height=t.grid.options.rowHeight,e.expandable.expandedAll=!1),e.api.expandable.raise.rowExpandedStateChanged(t)},expandAllRows:function(e,t){e.renderContainers.body.visibleRowCache.forEach((function(t){t.isExpanded||n.toggleRowExpansion(e,t)})),e.expandable.expandedAll=!0,e.queueGridRefresh()},collapseAllRows:function(e){e.renderContainers.body.visibleRowCache.forEach((function(t){t.isExpanded&&n.toggleRowExpansion(e,t)})),e.expandable.expandedAll=!1,e.queueGridRefresh()},toggleAllRows:function(e){e.expandable.expandedAll?n.collapseAllRows(e):n.expandAllRows(e)},getExpandedRows:function(e){return e.rows.filter((function(e){return e.isExpanded}))}};return n}]),e.directive("uiGridExpandable",["uiGridExpandableService","$templateCache",function(e,t){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(n,i,r,o){if(e.initializeGrid(o.grid),o.grid.options.enableExpandable&&!1!==o.grid.options.enableExpandableRowHeader){var a={name:"expandableButtons",displayName:"",exporterSuppressExport:!0,enableColumnResizing:!1,enableColumnMenu:!1,width:o.grid.options.expandableRowHeaderWidth||40};a.cellTemplate=t.get("ui-grid/expandableRowHeader"),a.headerCellTemplate=t.get("ui-grid/expandableTopRowHeader"),o.grid.addRowHeaderColumn(a,-90)}},post:function(e,t,n,i){}}}}}]),e.directive("uiGrid",["uiGridExpandableService","$templateCache",function(e,t){return{replace:!0,priority:599,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,t,n,i){i.grid.api.core.on.renderingComplete(e,(function(){e.row&&e.row.grid&&e.row.grid.options&&e.row.grid.options.enableExpandable&&(i.grid.parentRow=e.row)}))},post:function(e,t,n,i){}}}}}]),e.directive("uiGridExpandableRow",["uiGridExpandableService","$timeout","$compile","uiGridConstants","gridUtil","$interval","$log",function(e,t,n,i,r,o,a){return{replace:!1,priority:0,scope:!1,compile:function(){return{pre:function(e,t,i,o){r.getTemplate(e.grid.options.expandableRowTemplate).then((function(i){if(e.grid.options.expandableRowScope){var r=e.grid.options.expandableRowScope;for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}var a=angular.element(i);t.append(a),a=n(a)(e),e.row.expandedRendered=!0}))},post:function(e,t,n,i){e.$on("$destroy",(function(){e.row.expandedRendered=!1}))}}}}}]),e.directive("uiGridRow",["$compile","gridUtil","$templateCache",function(e,t,n){return{priority:-200,scope:!1,compile:function(e,t){return{pre:function(e,t,n,i){e.grid.options.enableExpandable&&(e.expandableRow={},e.expandableRow.shouldRenderExpand=function(){return"body"===e.colContainer.name&&!1!==e.grid.options.enableExpandable&&e.row.isExpanded&&(!e.grid.isScrollingVertically||e.row.expandedRendered)},e.expandableRow.shouldRenderFiller=function(){return e.row.isExpanded&&("body"!==e.colContainer.name||e.grid.isScrollingVertically&&!e.row.expandedRendered)})},post:function(e,t,n,i){}}}}}]),e.directive("uiGridViewport",["$compile","gridUtil","$templateCache",function(e,t,n){return{priority:-200,scope:!1,compile:function(e,t){var i=angular.element(e.children().children()[0]),r=n.get("ui-grid/expandableScrollFiller"),o=n.get("ui-grid/expandableRow");return i.append(o),i.append(r),{pre:function(e,t,n,i){},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.exporter",["ui.grid"]);e.constant("uiGridExporterConstants",{featureName:"exporter",ALL:"all",VISIBLE:"visible",SELECTED:"selected",CSV_CONTENT:"CSV_CONTENT",BUTTON_LABEL:"BUTTON_LABEL",FILE_NAME:"FILE_NAME"}),e.service("uiGridExporterService",["$q","uiGridExporterConstants","gridUtil","$compile","$interval","i18nService",function(e,t,n,i,r,o){var a={delay:100,initializeGrid:function(e){e.exporter={},this.defaultGridOptions(e.options);var t={events:{exporter:{}},methods:{exporter:{csvExport:function(t,n){a.csvExport(e,t,n)},pdfExport:function(t,n){a.pdfExport(e,t,n)}}}};e.api.registerEventsFromObject(t.events),e.api.registerMethodsFromObject(t.methods),e.api.core.addToGridMenu?a.addToMenu(e):r((function(){e.api.core.addToGridMenu&&a.addToMenu(e)}),this.delay,1)},defaultGridOptions:function(e){e.exporterSuppressMenu=!0===e.exporterSuppressMenu,e.exporterMenuLabel=e.exporterMenuLabel?e.exporterMenuLabel:"Export",e.exporterSuppressColumns=e.exporterSuppressColumns?e.exporterSuppressColumns:[],e.exporterCsvColumnSeparator=e.exporterCsvColumnSeparator?e.exporterCsvColumnSeparator:",",e.exporterCsvFilename=e.exporterCsvFilename?e.exporterCsvFilename:"download.csv",e.exporterPdfFilename=e.exporterPdfFilename?e.exporterPdfFilename:"download.pdf",e.exporterOlderExcelCompatibility=!0===e.exporterOlderExcelCompatibility,e.exporterIsExcelCompatible=!0===e.exporterIsExcelCompatible,e.exporterMenuItemOrder=e.exporterMenuItemOrder?e.exporterMenuItemOrder:200,e.exporterPdfDefaultStyle=e.exporterPdfDefaultStyle?e.exporterPdfDefaultStyle:{fontSize:11},e.exporterPdfTableStyle=e.exporterPdfTableStyle?e.exporterPdfTableStyle:{margin:[0,5,0,15]},e.exporterPdfTableHeaderStyle=e.exporterPdfTableHeaderStyle?e.exporterPdfTableHeaderStyle:{bold:!0,fontSize:12,color:"black"},e.exporterPdfHeader=e.exporterPdfHeader?e.exporterPdfHeader:null,e.exporterPdfFooter=e.exporterPdfFooter?e.exporterPdfFooter:null,e.exporterPdfOrientation=e.exporterPdfOrientation?e.exporterPdfOrientation:"landscape",e.exporterPdfPageSize=e.exporterPdfPageSize?e.exporterPdfPageSize:"A4",e.exporterPdfMaxGridWidth=e.exporterPdfMaxGridWidth?e.exporterPdfMaxGridWidth:720,e.exporterMenuAllData=void 0===e.exporterMenuAllData||e.exporterMenuAllData,e.exporterMenuVisibleData=void 0===e.exporterMenuVisibleData||e.exporterMenuVisibleData,e.exporterMenuSelectedData=void 0===e.exporterMenuSelectedData||e.exporterMenuSelectedData,e.exporterMenuCsv=void 0===e.exporterMenuCsv||e.exporterMenuCsv,e.exporterMenuPdf=void 0===e.exporterMenuPdf||e.exporterMenuPdf,e.exporterPdfCustomFormatter=e.exporterPdfCustomFormatter&&"function"==typeof e.exporterPdfCustomFormatter?e.exporterPdfCustomFormatter:function(e){return e},e.exporterHeaderFilterUseName=!0===e.exporterHeaderFilterUseName,e.exporterFieldCallback=e.exporterFieldCallback?e.exporterFieldCallback:function(e,t,n,i){return i},e.exporterAllDataFn=e.exporterAllDataFn?e.exporterAllDataFn:null,null==e.exporterAllDataFn&&e.exporterAllDataPromise&&(e.exporterAllDataFn=e.exporterAllDataPromise)},addToMenu:function(e){e.api.core.addToGridMenu(e,[{title:o.getSafeText("gridMenu.exporterAllAsCsv"),action:function(n){e.api.exporter.csvExport(t.ALL,t.ALL)},shown:function(){return e.options.exporterMenuCsv&&e.options.exporterMenuAllData},order:e.options.exporterMenuItemOrder},{title:o.getSafeText("gridMenu.exporterVisibleAsCsv"),action:function(n){e.api.exporter.csvExport(t.VISIBLE,t.VISIBLE)},shown:function(){return e.options.exporterMenuCsv&&e.options.exporterMenuVisibleData},order:e.options.exporterMenuItemOrder+1},{title:o.getSafeText("gridMenu.exporterSelectedAsCsv"),action:function(n){e.api.exporter.csvExport(t.SELECTED,t.VISIBLE)},shown:function(){return e.options.exporterMenuCsv&&e.options.exporterMenuSelectedData&&e.api.selection&&e.api.selection.getSelectedRows().length>0},order:e.options.exporterMenuItemOrder+2},{title:o.getSafeText("gridMenu.exporterAllAsPdf"),action:function(n){e.api.exporter.pdfExport(t.ALL,t.ALL)},shown:function(){return e.options.exporterMenuPdf&&e.options.exporterMenuAllData},order:e.options.exporterMenuItemOrder+3},{title:o.getSafeText("gridMenu.exporterVisibleAsPdf"),action:function(n){e.api.exporter.pdfExport(t.VISIBLE,t.VISIBLE)},shown:function(){return e.options.exporterMenuPdf&&e.options.exporterMenuVisibleData},order:e.options.exporterMenuItemOrder+4},{title:o.getSafeText("gridMenu.exporterSelectedAsPdf"),action:function(n){e.api.exporter.pdfExport(t.SELECTED,t.VISIBLE)},shown:function(){return e.options.exporterMenuPdf&&e.options.exporterMenuSelectedData&&e.api.selection&&e.api.selection.getSelectedRows().length>0},order:e.options.exporterMenuItemOrder+5}])},csvExport:function(e,t,n){var i=this;this.loadAllDataIfNeeded(e,t,n).then((function(){var r=e.options.showHeader?i.getColumnHeaders(e,n):[],o=i.getData(e,t,n),a=i.formatAsCsv(r,o,e.options.exporterCsvColumnSeparator);i.downloadFile(e.options.exporterCsvFilename,a,e.options.exporterCsvColumnSeparator,e.options.exporterOlderExcelCompatibility,e.options.exporterIsExcelCompatible)}))},loadAllDataIfNeeded:function(n,i,r){if(i===t.ALL&&n.rows.length!==n.options.totalItems&&n.options.exporterAllDataFn)return n.options.exporterAllDataFn().then((function(){n.modifyRows(n.options.data)}));var o=e.defer();return o.resolve(),o.promise},getColumnHeaders:function(e,n){var i,r=[];if(n===t.ALL)i=e.columns;else{var o=e.renderContainers.left?e.renderContainers.left.visibleColumnCache.filter((function(e){return e.visible})):[],a=e.renderContainers.body?e.renderContainers.body.visibleColumnCache.filter((function(e){return e.visible})):[],s=e.renderContainers.right?e.renderContainers.right.visibleColumnCache.filter((function(e){return e.visible})):[];i=o.concat(a,s)}return i.forEach((function(t,n){!0!==t.colDef.exporterSuppressExport&&-1===e.options.exporterSuppressColumns.indexOf(t.name)&&r.push({name:t.field,displayName:e.options.exporterHeaderFilter?e.options.exporterHeaderFilter(e.options.exporterHeaderFilterUseName?t.name:t.displayName):t.displayName,width:t.drawnWidth?t.drawnWidth:t.width,align:"number"===t.colDef.type?"right":"left"})})),r},getData:function(e,i,r,o){var a,s,l=[];switch(i){case t.ALL:a=e.rows;break;case t.VISIBLE:a=e.getVisibleRows();break;case t.SELECTED:e.api.selection?a=e.api.selection.getSelectedGridRows():n.logError("selection feature must be enabled to allow selected rows to be exported")}if(r===t.ALL)s=e.columns;else{var c=e.renderContainers.left?e.renderContainers.left.visibleColumnCache.filter((function(e){return e.visible})):[],u=e.renderContainers.body?e.renderContainers.body.visibleColumnCache.filter((function(e){return e.visible})):[],d=e.renderContainers.right?e.renderContainers.right.visibleColumnCache.filter((function(e){return e.visible})):[];s=c.concat(u,d)}return a.forEach((function(n,i){if(!1!==n.exporterEnableExporting){var a=[];s.forEach((function(i,s){if((i.visible||r===t.ALL)&&!0!==i.colDef.exporterSuppressExport&&-1===e.options.exporterSuppressColumns.indexOf(i.name)){var l=o?e.getCellDisplayValue(n,i):e.getCellValue(n,i),c={value:e.options.exporterFieldCallback(e,n,i,l)};i.colDef.exporterPdfAlign&&(c.alignment=i.colDef.exporterPdfAlign),a.push(c)}})),l.push(a)}})),l},formatAsCsv:function(e,t,n){var i=e.map((function(e){return{value:e.displayName}}));return(i.length>0?this.formatRowAsCsv(this,n)(i)+"\n":"")+t.map(this.formatRowAsCsv(this,n)).join("\n")},formatRowAsCsv:function(e,t){return function(n){return n.map(e.formatFieldAsCsv).join(t)}},formatFieldAsCsv:function(e){return null==e.value?"":"number"==typeof e.value?e.value:"boolean"==typeof e.value?e.value?"TRUE":"FALSE":"string"==typeof e.value?'"'+e.value.replace(/"/g,'""')+'"':JSON.stringify(e.value)},isIE:function(){var e=!1;return-1!==navigator.userAgent.search(/(?:Edge|MSIE|Trident\/.*; rv:)/)&&(e=!0),e},downloadFile:function(e,t,n,i,r){var o,a=document,s=a.createElement("a"),l="application/octet-stream;charset=utf-8",c=this.isIE();if(r&&(t="sep="+n+"\r\n"+t),navigator.msSaveBlob)return navigator.msSaveOrOpenBlob(new Blob([i?"\ufeff":"",t],{type:l}),e);if(c){var u=a.createElement("iframe");return document.body.appendChild(u),u.contentWindow.document.open("text/html","replace"),u.contentWindow.document.write(t),u.contentWindow.document.close(),u.contentWindow.focus(),u.contentWindow.document.execCommand("SaveAs",!0,e),document.body.removeChild(u),!0}if("download"in s){var d=new Blob([i?"\ufeff":"",t],{type:l});o=URL.createObjectURL(d),s.setAttribute("download",e)}else o="data:"+l+","+encodeURIComponent(t),s.setAttribute("target","_blank");s.href=o,s.setAttribute("style","display:none;"),a.body.appendChild(s),setTimeout((function(){if(s.click)s.click();else if(document.createEvent){var e=document.createEvent("MouseEvents");e.initEvent("click",!0,!0),s.dispatchEvent(e)}a.body.removeChild(s)}),this.delay)},pdfExport:function(e,t,n){var i=this;this.loadAllDataIfNeeded(e,t,n).then((function(){var r=i.getColumnHeaders(e,n),o=i.getData(e,t,n),a=i.prepareAsPdf(e,r,o);i.isIE()||-1!==navigator.appVersion.indexOf("Edge")?i.downloadPDF(e.options.exporterPdfFilename,a):pdfMake.createPdf(a).open()}))},downloadPDF:function(e,t){var n,i,r=document;r.createElement("a"),n=this.isIE(),pdfMake.createPdf(t).getBuffer((function(t){if(i=new Blob([t]),navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if(n){var o=r.createElement("iframe");return document.body.appendChild(o),o.contentWindow.document.open("text/html","replace"),o.contentWindow.document.write(i),o.contentWindow.document.close(),o.contentWindow.focus(),o.contentWindow.document.execCommand("SaveAs",!0,e),document.body.removeChild(o),!0}}))},prepareAsPdf:function(e,t,n){var i=this.calculatePdfHeaderWidths(e,t),r=t.map((function(e){return{text:e.displayName,style:"tableHeader"}})),o=n.map(this.formatRowAsPdf(this)),a=[r].concat(o),s={pageOrientation:e.options.exporterPdfOrientation,pageSize:e.options.exporterPdfPageSize,content:[{style:"tableStyle",table:{headerRows:1,widths:i,body:a}}],styles:{tableStyle:e.options.exporterPdfTableStyle,tableHeader:e.options.exporterPdfTableHeaderStyle},defaultStyle:e.options.exporterPdfDefaultStyle};return e.options.exporterPdfLayout&&(s.layout=e.options.exporterPdfLayout),e.options.exporterPdfHeader&&(s.header=e.options.exporterPdfHeader),e.options.exporterPdfFooter&&(s.footer=e.options.exporterPdfFooter),e.options.exporterPdfCustomFormatter&&(s=e.options.exporterPdfCustomFormatter(s)),s},calculatePdfHeaderWidths:function(e,t){var n=0;t.forEach((function(e){"number"==typeof e.width&&(n+=e.width)}));var i=0;t.forEach((function(e){if("*"===e.width&&(i+=100),"string"==typeof e.width&&e.width.match(/(\d)*%/)){var t=parseInt(e.width.match(/(\d)*%/)[0]);e.width=n*t/100,i+=e.width}}));var r=n+i;return t.map((function(t){return"*"===t.width?t.width:t.width*e.options.exporterPdfMaxGridWidth/r}))},formatRowAsPdf:function(e){return function(t){return t.map(e.formatFieldAsPdfString)}},formatFieldAsPdfString:function(e){var t;return t=null==e.value?"":"number"==typeof e.value?e.value.toString():"boolean"==typeof e.value?e.value?"TRUE":"FALSE":"string"==typeof e.value?e.value.replace(/"/g,'""'):JSON.stringify(e.value).replace(/^"/,"").replace(/"$/,""),e.alignment&&"string"==typeof e.alignment&&(t={text:t,alignment:e.alignment}),t}};return a}]),e.directive("uiGridExporter",["uiGridExporterConstants","uiGridExporterService","gridUtil","$compile",function(e,t,n,i){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,link:function(e,n,i,r){t.initializeGrid(r.grid),r.grid.exporter.$scope=e}}}])}(),function(){"use strict";var e=angular.module("ui.grid.grouping",["ui.grid","ui.grid.treeBase"]);e.constant("uiGridGroupingConstants",{featureName:"grouping",rowHeaderColName:"treeBaseRowHeaderCol",EXPANDED:"expanded",COLLAPSED:"collapsed",aggregation:{COUNT:"count",SUM:"sum",MAX:"max",MIN:"min",AVG:"avg"}}),e.service("uiGridGroupingService",["$q","uiGridGroupingConstants","gridUtil","rowSorter","GridRow","gridClassFactory","i18nService","uiGridConstants","uiGridTreeBaseService",function(e,t,n,i,r,o,a,s,l){var c={initializeGrid:function(e,t){l.initializeGrid(e,t),e.grouping={},e.grouping.groupHeaderCache={},c.defaultGridOptions(e.options),e.registerRowsProcessor(c.groupRows,400),e.registerColumnBuilder(c.groupingColumnBuilder),e.registerColumnsProcessor(c.groupingColumnProcessor,400);var n={events:{grouping:{aggregationChanged:{},groupingChanged:{}}},methods:{grouping:{getGrouping:function(t){var n=c.getGrouping(e);return n.grouping.forEach((function(e){e.colName=e.col.name,delete e.col})),n.aggregations.forEach((function(e){e.colName=e.col.name,delete e.col})),n.aggregations=n.aggregations.filter((function(e){return!e.aggregation.source||"grouping"!==e.aggregation.source})),t&&(n.rowExpandedStates=c.getRowExpandedStates(e.grouping.groupingHeaderCache)),n},setGrouping:function(t){c.setGrouping(e,t)},groupColumn:function(t){var n=e.getColumn(t);c.groupColumn(e,n)},ungroupColumn:function(t){var n=e.getColumn(t);c.ungroupColumn(e,n)},clearGrouping:function(){c.clearGrouping(e)},aggregateColumn:function(t,n,i){var r=e.getColumn(t);c.aggregateColumn(e,r,n,i)}}}};e.api.registerEventsFromObject(n.events),e.api.registerMethodsFromObject(n.methods),e.api.core.on.sortChanged(t,c.tidyPriorities)},defaultGridOptions:function(e){e.enableGrouping=!1!==e.enableGrouping,e.groupingShowCounts=!1!==e.groupingShowCounts,e.groupingNullLabel=void 0===e.groupingNullLabel?"Null":e.groupingNullLabel,e.enableGroupHeaderSelection=!0===e.enableGroupHeaderSelection},groupingColumnBuilder:function(e,i,r){if(!1!==e.enableGrouping){void 0===i.grouping&&void 0!==e.grouping?(i.grouping=angular.copy(e.grouping),void 0!==i.grouping.groupPriority&&i.grouping.groupPriority>-1&&(i.treeAggregationFn=l.nativeAggregations()[t.aggregation.COUNT].aggregationFn,i.treeAggregationFinalizerFn=c.groupedFinalizerFn)):void 0===i.grouping&&(i.grouping={}),void 0!==i.grouping&&void 0!==i.grouping.groupPriority&&i.grouping.groupPriority>=0&&(i.suppressRemoveSort=!0);var o={name:"ui.grid.grouping.group",title:a.get().grouping.group,icon:"ui-grid-icon-indent-right",shown:function(){return void 0===this.context.col.grouping||void 0===this.context.col.grouping.groupPriority||this.context.col.grouping.groupPriority<0},action:function(){c.groupColumn(this.context.col.grid,this.context.col)}},s={name:"ui.grid.grouping.ungroup",title:a.get().grouping.ungroup,icon:"ui-grid-icon-indent-left",shown:function(){return void 0!==this.context.col.grouping&&void 0!==this.context.col.grouping.groupPriority&&this.context.col.grouping.groupPriority>=0},action:function(){c.ungroupColumn(this.context.col.grid,this.context.col)}},u={name:"ui.grid.grouping.aggregateRemove",title:a.get().grouping.aggregate_remove,shown:function(){return void 0!==this.context.col.treeAggregationFn},action:function(){c.aggregateColumn(this.context.col.grid,this.context.col,null)}},d=function(e,t){t=t||a.get().grouping["aggregate_"+e]||e;var r={name:"ui.grid.grouping.aggregate"+e,title:t,shown:function(){return void 0===this.context.col.treeAggregation||void 0===this.context.col.treeAggregation.type||this.context.col.treeAggregation.type!==e},action:function(){c.aggregateColumn(this.context.col.grid,this.context.col,e)}};n.arrayContainsObjectWithProperty(i.menuItems,"name","ui.grid.grouping.aggregate"+e)||i.menuItems.push(r)};!1!==i.colDef.groupingShowGroupingMenu&&(n.arrayContainsObjectWithProperty(i.menuItems,"name","ui.grid.grouping.group")||i.menuItems.push(o),n.arrayContainsObjectWithProperty(i.menuItems,"name","ui.grid.grouping.ungroup")||i.menuItems.push(s)),!1!==i.colDef.groupingShowAggregationMenu&&(angular.forEach(l.nativeAggregations(),(function(e,t){d(t)})),angular.forEach(r.treeCustomAggregations,(function(e,t){d(t,e.menuTitle)})),n.arrayContainsObjectWithProperty(i.menuItems,"name","ui.grid.grouping.aggregateRemove")||i.menuItems.push(u))}},groupingColumnProcessor:function(e,t){return c.moveGroupColumns(this,e,t)},groupedFinalizerFn:function(e){void 0!==e.groupVal?(e.rendered=e.groupVal,this.grid.options.groupingShowCounts&&"date"!==this.colDef.type&&"object"!==this.colDef.type&&(e.rendered+=" ("+e.value+")")):e.rendered=null},moveGroupColumns:function(e,t,n){return!1===e.options.moveGroupColumns||(t.forEach((function(e,t){e.groupingPosition=t})),t.sort((function(e,t){var n,i;return i=t.isRowHeader?t.headerPriority:void 0===t.grouping||void 0===t.grouping.groupPriority||t.grouping.groupPriority<0?null:t.grouping.groupPriority,null!==(n=e.isRowHeader?e.headerPriority:void 0===e.grouping||void 0===e.grouping.groupPriority||e.grouping.groupPriority<0?null:e.grouping.groupPriority)&&null===i?-1:null!==i&&null===n?1:null!==n&&null!==i?n-i:e.groupingPosition-t.groupingPosition})),t.forEach((function(e,t){delete e.groupingPosition}))),t},groupColumn:function(e,n){void 0===n.grouping&&(n.grouping={});var i=c.getGrouping(e);n.grouping.groupPriority=i.grouping.length,n.previousSort=angular.copy(n.sort),n.sort?null==n.sort.direction&&(n.sort.direction=s.ASC):n.sort={direction:s.ASC},n.treeAggregation={type:t.aggregation.COUNT,source:"grouping"},n.treeAggregationFn=l.nativeAggregations()[t.aggregation.COUNT].aggregationFn,n.treeAggregationFinalizerFn=c.groupedFinalizerFn,e.api.grouping.raise.groupingChanged(n),e.api.core.raise.sortChanged(e,e.getColumnSorting()),e.queueGridRefresh()},ungroupColumn:function(e,t){void 0!==t.grouping&&(delete t.grouping.groupPriority,delete t.treeAggregation,delete t.customTreeAggregationFinalizer,t.previousSort&&(t.sort=t.previousSort,delete t.previousSort),c.tidyPriorities(e),e.api.grouping.raise.groupingChanged(t),e.api.core.raise.sortChanged(e,e.getColumnSorting()),e.queueGridRefresh())},aggregateColumn:function(e,t,n){void 0!==t.grouping&&void 0!==t.grouping.groupPriority&&t.grouping.groupPriority>=0&&c.ungroupColumn(e,t);var i={};void 0!==e.options.treeCustomAggregations[n]?i=e.options.treeCustomAggregations[n]:void 0!==l.nativeAggregations()[n]&&(i=l.nativeAggregations()[n]),t.treeAggregation={type:n,label:a.get().aggregation[i.label]||i.label},t.treeAggregationFn=i.aggregationFn,t.treeAggregationFinalizerFn=i.finalizerFn,e.api.grouping.raise.aggregationChanged(t),e.queueGridRefresh()},setGrouping:function(e,t){void 0!==t&&(c.clearGrouping(e),t.grouping&&t.grouping.length&&t.grouping.length>0&&t.grouping.forEach((function(t){var n=e.getColumn(t.colName);n&&c.groupColumn(e,n)})),t.aggregations&&t.aggregations.length&&t.aggregations.forEach((function(t){var n=e.getColumn(t.colName);n&&c.aggregateColumn(e,n,t.aggregation.type)})),t.rowExpandedStates&&c.applyRowExpandedStates(e.grouping.groupingHeaderCache,t.rowExpandedStates))},clearGrouping:function(e){var t=c.getGrouping(e);t.grouping.length>0&&t.grouping.forEach((function(t){t.col||(t.col=e.getColumn(t.colName)),c.ungroupColumn(e,t.col)})),t.aggregations.length>0&&t.aggregations.forEach((function(t){t.col||(t.col=e.getColumn(t.colName)),c.aggregateColumn(e,t.col,null)}))},tidyPriorities:function(e){void 0!==e&&void 0===e.grid||void 0===this.grid||(e=this.grid);var t=[],n=[];e.columns.forEach((function(e,i){void 0!==e.grouping&&void 0!==e.grouping.groupPriority&&e.grouping.groupPriority>=0?t.push(e):void 0!==e.sort&&void 0!==e.sort.priority&&e.sort.priority>=0&&n.push(e)})),t.sort((function(e,t){return e.grouping.groupPriority-t.grouping.groupPriority})),t.forEach((function(e,t){e.grouping.groupPriority=t,e.suppressRemoveSort=!0,void 0===e.sort&&(e.sort={}),e.sort.priority=t}));var i=t.length;n.sort((function(e,t){return e.sort.priority-t.sort.priority})),n.forEach((function(e,t){e.sort.priority=i,e.suppressRemoveSort=e.colDef.suppressRemoveSort,i++}))},groupRows:function(e){if(0===e.length)return e;var t=this;t.grouping.oldGroupingHeaderCache=t.grouping.groupingHeaderCache||{},t.grouping.groupingHeaderCache={};for(var n=c.initialiseProcessingState(t),r=function(r,s){var l=t.getCellValue(a,r.col);r.initialised&&0===i.getSortFn(t,r.col,e)(l,r.currentValue)||(c.insertGroupHeader(t,e,o,n,s),o++)},o=0;o<e.length;o++){var a=e[o];a.visible&&n.forEach(r)}return delete t.grouping.oldGroupingHeaderCache,e},initialiseProcessingState:function(e){var t=[];return c.getGrouping(e).grouping.forEach((function(e,n){t.push({fieldName:e.field,col:e.col,initialised:!1,currentValue:null,currentRow:null})})),t},getGrouping:function(e){var t=[],n=[];return e.columns.forEach((function(e,i){e.grouping&&void 0!==e.grouping.groupPriority&&e.grouping.groupPriority>=0&&t.push({field:e.field,col:e,groupPriority:e.grouping.groupPriority,grouping:e.grouping}),e.treeAggregation&&e.treeAggregation.type&&n.push({field:e.field,col:e,aggregation:e.treeAggregation})})),t.sort((function(e,t){return e.groupPriority-t.groupPriority})),t.forEach((function(e,t){e.grouping.groupPriority=t,e.groupPriority=t,delete e.grouping})),{grouping:t,aggregations:n}},insertGroupHeader:function(e,t,n,i,a){var s=e.getCellValue(t[n],i[a].col),l=s;null==s&&(l=e.options.groupingNullLabel);for(var u,d=function(e){return angular.isObject(e)?JSON.stringify(e):e},p=e.grouping.oldGroupingHeaderCache,h=0;h<a;h++)p&&p[d(i[h].currentValue)]&&(p=p[d(i[h].currentValue)].children);for(p&&p[d(s)]?(u=p[d(s)].row).entity={}:(u=new r({},null,e),o.rowTemplateAssigner.call(e,u)),u.entity["$$"+i[a].col.uid]={groupVal:l},u.treeLevel=a,u.groupHeader=!0,u.internalRow=!0,u.enableCellEdit=!1,u.enableSelection=e.options.enableGroupHeaderSelection,i[a].initialised=!0,i[a].currentValue=s,i[a].currentRow=u,c.finaliseProcessingState(i,a+1),t.splice(n,0,u),p=e.grouping.groupingHeaderCache,h=0;h<a;h++)p=p[d(i[h].currentValue)].children;p[d(s)]={row:u,children:{}}},finaliseProcessingState:function(e,t){for(var n=t;n<e.length;n++)e[n].initialised=!1,e[n].currentRow=null,e[n].currentValue=null},getRowExpandedStates:function(e){if(void 0===e)return{};var t={};return angular.forEach(e,(function(e,n){t[n]={state:e.row.treeNode.state},t[n].children=e.children?c.getRowExpandedStates(e.children):{}})),t},applyRowExpandedStates:function(e,t){void 0!==t&&angular.forEach(t,(function(t,n){e[n]&&(e[n].row.treeNode.state=t.state,t.children&&e[n].children&&c.applyRowExpandedStates(e[n].children,t.children))}))}};return c}]),e.directive("uiGridGrouping",["uiGridGroupingConstants","uiGridGroupingService","$templateCache",function(e,t,n){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){!1!==r.grid.options.enableGrouping&&t.initializeGrid(r.grid,e)},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.importer",["ui.grid"]);e.constant("uiGridImporterConstants",{featureName:"importer"}),e.service("uiGridImporterService",["$q","uiGridConstants","uiGridImporterConstants","gridUtil","$compile","$interval","i18nService","$window",function(e,t,n,i,r,o,a,s){var l={initializeGrid:function(e,t){t.importer={$scope:e},this.defaultGridOptions(t.options);var n={events:{importer:{}},methods:{importer:{importFile:function(e){l.importThisFile(t,e)}}}};t.api.registerEventsFromObject(n.events),t.api.registerMethodsFromObject(n.methods),t.options.enableImporter&&t.options.importerShowMenu&&(t.api.core.addToGridMenu?l.addToMenu(t):o((function(){t.api.core.addToGridMenu&&l.addToMenu(t)}),100,1))},defaultGridOptions:function(e){e.enableImporter||void 0===e.enableImporter?s.hasOwnProperty("File")&&s.hasOwnProperty("FileReader")&&s.hasOwnProperty("FileList")&&s.hasOwnProperty("Blob")?e.enableImporter=!0:(i.logError("The File APIs are not fully supported in this browser, grid importer cannot be used."),e.enableImporter=!1):e.enableImporter=!1,e.importerProcessHeaders=e.importerProcessHeaders||l.processHeaders,e.importerHeaderFilter=e.importerHeaderFilter||function(e){return e},e.importerErrorCallback&&"function"==typeof e.importerErrorCallback||delete e.importerErrorCallback,!0!==e.enableImporter||e.importerDataAddCallback||(i.logError("You have not set an importerDataAddCallback, importer is disabled"),e.enableImporter=!1),e.importerShowMenu=!1!==e.importerShowMenu,e.importerObjectCallback=e.importerObjectCallback||function(e,t){return t}},addToMenu:function(e){e.api.core.addToGridMenu(e,[{title:a.getSafeText("gridMenu.importerTitle"),order:150},{templateUrl:"ui-grid/importerMenuItemContainer",action:function(t){this.grid.api.importer.importAFile(e)},order:151}])},importThisFile:function(e,t){if(t){var n=new FileReader;switch(t.type){case"application/json":n.onload=l.importJsonClosure(e);break;default:n.onload=l.importCsvClosure(e)}n.readAsText(t)}else i.logError("No file object provided to importThisFile, should be impossible, aborting")},importJsonClosure:function(e){return function(t){var n,i=[],r=l.parseJson(e,t);null!==r&&(r.forEach((function(t,r){n=l.newObject(e),angular.extend(n,t),n=e.options.importerObjectCallback(e,n),i.push(n)})),l.addObjects(e,i))}},parseJson:function(e,t){var n;try{n=JSON.parse(t.target.result)}catch(i){return void l.alertError(e,"importer.invalidJson","File could not be processed, is it valid json? Content was: ",t.target.result)}return Array.isArray(n)?n:(l.alertError(e,"importer.jsonNotarray","Import failed, file is not an array, file was: ",t.target.result),[])},importCsvClosure:function(e){return function(t){var n=l.parseCsv(t);if(!n||n.length<1)l.alertError(e,"importer.invalidCsv","File could not be processed, is it valid csv? Content was: ",t.target.result);else{var i=l.createCsvObjects(e,n);i&&0!==i.length?l.addObjects(e,i):l.alertError(e,"importer.noObjects","Objects were not able to be derived, content was: ",t.target.result)}}},parseCsv:function(e){return CSV.parse(e.target.result)},createCsvObjects:function(e,t){var n=e.options.importerProcessHeaders(e,t.shift());if(!n||0===n.length)return l.alertError(e,"importer.noHeaders","Column names could not be derived, content was: ",t),[];var i,r=[];return t.forEach((function(t,o){i=l.newObject(e),null!==t&&t.forEach((function(e,t){null!==n[t]&&(i[n[t]]=e)})),i=e.options.importerObjectCallback(e,i),r.push(i)})),r},processHeaders:function(e,t){var n=[];if(e.options.columnDefs&&0!==e.options.columnDefs.length){var i=l.flattenColumnDefs(e,e.options.columnDefs);return t.forEach((function(e,t){i[e]?n.push(i[e]):i[e.toLowerCase()]?n.push(i[e.toLowerCase()]):n.push(null)})),n}return t.forEach((function(e,t){n.push(e.replace(/[^0-9a-zA-Z\-_]/g,"_"))})),n},flattenColumnDefs:function(e,t){var n={};return t.forEach((function(t,i){t.name&&(n[t.name]=t.field||t.name,n[t.name.toLowerCase()]=t.field||t.name),t.field&&(n[t.field]=t.field||t.name,n[t.field.toLowerCase()]=t.field||t.name),t.displayName&&(n[t.displayName]=t.field||t.name,n[t.displayName.toLowerCase()]=t.field||t.name),t.displayName&&e.options.importerHeaderFilter&&(n[e.options.importerHeaderFilter(t.displayName)]=t.field||t.name,n[e.options.importerHeaderFilter(t.displayName).toLowerCase()]=t.field||t.name)})),n},addObjects:function(e,n,i){if(e.api.rowEdit){var r=e.registerDataChangeCallback((function(){e.api.rowEdit.setRowsDirty(n),r()}),[t.dataChange.ROW]);e.importer.$scope.$on("$destroy",r)}e.importer.$scope.$apply(e.options.importerDataAddCallback(e,n))},newObject:function(e){return void 0!==e.options&&void 0!==e.options.importerNewObject?new e.options.importerNewObject:{}},alertError:function(e,t,n,r){e.options.importerErrorCallback?e.options.importerErrorCallback(e,t,n,r):(s.alert(a.getSafeText(t)),i.logError(n+r))}};return l}]),e.directive("uiGridImporter",["uiGridImporterConstants","uiGridImporterService","gridUtil","$compile",function(e,t,n,i){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,link:function(e,n,i,r){t.initializeGrid(e,r.grid)}}}]),e.directive("uiGridImporterMenuItem",["uiGridImporterConstants","uiGridImporterService","gridUtil","$compile",function(e,t,n,i){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,templateUrl:"ui-grid/importerMenuItem",link:function(e,i,r,o){var a=i[0].querySelectorAll(".ui-grid-importer-file-chooser"),s=o.grid;1!==a.length?n.logError("Found > 1 or < 1 file choosers within the menu item, error, cannot continue"):a[0].addEventListener("change",(function(e){var n=e.srcElement||e.target;n&&n.files&&1===n.files.length&&(t.importThisFile(s,n.files[0]),n.form.reset())}),!1)}}}])}(),function(){"use strict";var e=angular.module("ui.grid.infiniteScroll",["ui.grid"]);e.service("uiGridInfiniteScrollService",["gridUtil","$compile","$timeout","uiGridConstants","ScrollEvent","$q",function(e,t,n,i,r,o){var a={initializeGrid:function(e,t){if(a.defaultGridOptions(e.options),e.options.enableInfiniteScroll){e.infiniteScroll={dataLoading:!1},a.setScrollDirections(e,e.options.infiniteScrollUp,e.options.infiniteScrollDown),e.api.core.on.scrollEnd(t,a.handleScroll);var n={events:{infiniteScroll:{needLoadMoreData:function(e,t){},needLoadMoreDataTop:function(e,t){}}},methods:{infiniteScroll:{dataLoaded:function(t,n){return a.setScrollDirections(e,t,n),a.adjustScroll(e).then((function(){e.infiniteScroll.dataLoading=!1}))},resetScroll:function(t,n){a.setScrollDirections(e,t,n),a.adjustInfiniteScrollPosition(e,0)},saveScrollPercentage:function(){e.infiniteScroll.prevScrollTop=e.renderContainers.body.prevScrollTop,e.infiniteScroll.previousVisibleRows=e.getVisibleRowCount()},dataRemovedTop:function(t,n){a.dataRemovedTop(e,t,n)},dataRemovedBottom:function(t,n){a.dataRemovedBottom(e,t,n)},setScrollDirections:function(t,n){a.setScrollDirections(e,t,n)}}}};e.api.registerEventsFromObject(n.events),e.api.registerMethodsFromObject(n.methods)}},defaultGridOptions:function(e){e.enableInfiniteScroll=!1!==e.enableInfiniteScroll,e.infiniteScrollRowsFromEnd=e.infiniteScrollRowsFromEnd||20,e.infiniteScrollUp=!0===e.infiniteScrollUp,e.infiniteScrollDown=!1!==e.infiniteScrollDown},setScrollDirections:function(e,t,n){e.infiniteScroll.scrollUp=!0===t,e.suppressParentScrollUp=!0===t,e.infiniteScroll.scrollDown=!1!==n,e.suppressParentScrollDown=!1!==n},handleScroll:function(e){if(!(e.grid.infiniteScroll&&e.grid.infiniteScroll.dataLoading||"ui.grid.adjustInfiniteScrollPosition"===e.source)&&e.y)if(0===e.y.percentage)e.grid.scrollDirection=i.scrollDirection.UP,a.loadData(e.grid);else if(1===e.y.percentage)e.grid.scrollDirection=i.scrollDirection.DOWN,a.loadData(e.grid);else{var t=e.grid.options.infiniteScrollRowsFromEnd/e.grid.renderContainers.body.visibleRowCache.length;e.grid.scrollDirection===i.scrollDirection.UP?e.y.percentage<=t&&a.loadData(e.grid):e.grid.scrollDirection===i.scrollDirection.DOWN&&1-e.y.percentage<=t&&a.loadData(e.grid)}},loadData:function(e){e.infiniteScroll.previousVisibleRows=e.renderContainers.body.visibleRowCache.length,e.infiniteScroll.direction=e.scrollDirection,delete e.infiniteScroll.prevScrollTop,e.scrollDirection===i.scrollDirection.UP&&e.infiniteScroll.scrollUp?(e.infiniteScroll.dataLoading=!0,e.api.infiniteScroll.raise.needLoadMoreDataTop()):e.scrollDirection===i.scrollDirection.DOWN&&e.infiniteScroll.scrollDown&&(e.infiniteScroll.dataLoading=!0,e.api.infiniteScroll.raise.needLoadMoreData())},adjustScroll:function(e){var t=o.defer();return n((function(){var r,o,s;r=e.getViewportHeight()+e.headerHeight-e.renderContainers.body.headerHeight-e.scrollbarHeight,o=e.options.rowHeight,void 0===e.infiniteScroll.direction&&a.adjustInfiniteScrollPosition(e,0),s=e.getVisibleRowCount(),e.infiniteScroll.scrollDown&&r>o*s&&e.api.infiniteScroll.raise.needLoadMoreData(),e.infiniteScroll.direction===i.scrollDirection.UP&&(a.adjustInfiniteScrollPosition(e,(e.infiniteScroll.prevScrollTop||0)+(s-e.infiniteScroll.previousVisibleRows)*o),n((function(){t.resolve()}))),e.infiniteScroll.direction===i.scrollDirection.DOWN&&(a.adjustInfiniteScrollPosition(e,e.infiniteScroll.prevScrollTop||e.infiniteScroll.previousVisibleRows*o-r),n((function(){t.resolve()})))}),0),t.promise},adjustInfiniteScrollPosition:function(e,t){var n=new r(e,null,null,"ui.grid.adjustInfiniteScrollPosition"),i=e.getVisibleRowCount(),o=e.getViewportHeight()+e.headerHeight-e.renderContainers.body.headerHeight-e.scrollbarHeight,a=i*e.options.rowHeight-o;n.y=0===t&&e.infiniteScroll.scrollUp?{percentage:1/a}:{percentage:t/a},e.scrollContainers("",n)},dataRemovedTop:function(e,t,n){a.setScrollDirections(e,t,n),a.adjustInfiniteScrollPosition(e,e.infiniteScroll.prevScrollTop-(e.infiniteScroll.previousVisibleRows-e.renderContainers.body.visibleRowCache.length)*e.options.rowHeight)},dataRemovedBottom:function(e,t,n){a.setScrollDirections(e,t,n),a.adjustInfiniteScrollPosition(e,e.infiniteScroll.prevScrollTop)}};return a}]),e.directive("uiGridInfiniteScroll",["uiGridInfiniteScrollService",function(e){return{priority:-200,scope:!1,require:"^uiGrid",compile:function(t,n,i){return{pre:function(t,n,i,r){e.initializeGrid(r.grid,t)},post:function(e,t,n){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.moveColumns",["ui.grid"]);e.service("uiGridMoveColumnService",["$q","$timeout","$log","ScrollEvent","uiGridConstants","gridUtil",function(e,t,n,i,r,o){var a={initializeGrid:function(e){this.registerPublicApi(e),this.defaultGridOptions(e.options),e.moveColumns={orderCache:[]},e.registerColumnBuilder(this.movableColumnBuilder),e.registerDataChangeCallback(this.verifyColumnOrder,[r.dataChange.COLUMN])},registerPublicApi:function(e){var t=this,n={events:{colMovable:{columnPositionChanged:function(e,t,n){}}},methods:{colMovable:{moveColumn:function(n,i){var r=e.columns;if(angular.isNumber(n)&&angular.isNumber(i)){for(var a=0,s=0;s<r.length;s++)(angular.isDefined(r[s].colDef.visible)&&!1===r[s].colDef.visible||!0===r[s].isRowHeader)&&a++;if(n>=r.length-a||i>=r.length-a)o.logError("MoveColumn: Invalid values for originalPosition, finalPosition");else{var l=function(e){for(var t=e,n=0;n<=t;n++)angular.isDefined(r[n])&&(angular.isDefined(r[n].colDef.visible)&&!1===r[n].colDef.visible||!0===r[n].isRowHeader)&&t++;return t};t.redrawColumnAtPosition(e,l(n),l(i))}}else o.logError("MoveColumn: Please provide valid values for originalPosition and finalPosition")}}}};e.api.registerEventsFromObject(n.events),e.api.registerMethodsFromObject(n.methods)},defaultGridOptions:function(e){e.enableColumnMoving=!1!==e.enableColumnMoving},movableColumnBuilder:function(t,n,i){return t.enableColumnMoving=void 0===t.enableColumnMoving?i.enableColumnMoving:t.enableColumnMoving,e.all([])},updateColumnCache:function(e){e.moveColumns.orderCache=e.getOnlyDataColumns()},verifyColumnOrder:function(e){var t,n=e.rowHeaderColumns.length;angular.forEach(e.moveColumns.orderCache,(function(i,r){if(-1!==(t=e.columns.indexOf(i))&&t-n!==r){var o=e.columns.splice(t,1)[0];e.columns.splice(r+n,0,o)}}))},redrawColumnAtPosition:function(e,n,i){var o=e.columns;if(n!==i){for(var s=n<i?n+1:n-1,l=Math.min(s,i);l<=Math.max(s,i)&&!o[l].visible;l++);if(!(l>Math.max(s,i))){var c=o[n];if(c.colDef.enableColumnMoving){if(n>i)for(var u=n;u>i;u--)o[u]=o[u-1];else if(i>n)for(var d=n;d<i;d++)o[d]=o[d+1];o[i]=c,a.updateColumnCache(e),e.queueGridRefresh(),t((function(){e.api.core.notifyDataChange(r.dataChange.COLUMN),e.api.colMovable.raise.columnPositionChanged(c.colDef,n,i)}))}}}}};return a}]),e.directive("uiGridMoveColumns",["uiGridMoveColumnService",function(e){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(t,n,i,r){e.initializeGrid(r.grid)},post:function(e,t,n,i){}}}}}]),e.directive("uiGridHeaderCell",["$q","gridUtil","uiGridMoveColumnService","$document","$log","uiGridConstants","ScrollEvent",function(e,t,n,i,r,o,a){return{priority:-10,require:"^uiGrid",compile:function(){return{post:function(e,t,r,o){if(e.col.colDef.enableColumnMoving){var s,l,c,u,d,p,h=angular.element(t[0].querySelectorAll(".ui-grid-cell-contents")),f=!1,g=!1,m=function(t){s=e.grid.element[0].getBoundingClientRect().left,e.grid.hasLeftContainer()&&(s+=e.grid.renderContainers.left.header[0].getBoundingClientRect().width),l=t.pageX||(t.originalEvent?t.originalEvent.pageX:0),c=0,u=s+e.grid.getViewportWidth(),"mousedown"===t.type?(i.on("mousemove",v),i.on("mouseup",b)):"touchstart"===t.type&&(i.on("touchmove",v),i.on("touchend",b))},v=function(e){var t=e.pageX||(e.originalEvent?e.originalEvent.pageX:0),n=t-l;0!==n&&(document.onselectstart=function(){return!1},g=!0,f?f&&(C(n),l=t):w())},b=function(t){if(document.onselectstart=null,d&&(d.remove(),f=!1),M(),y(),g){for(var i,r=e.grid.columns,o=0,a=0;a<r.length&&r[a].colDef.name!==e.col.colDef.name;a++)o++;if(c<0){var s,l=0;if(e.grid.isRTL()){for(s=o+1;s<r.length;s++)if((angular.isUndefined(r[s].colDef.visible)||!0===r[s].colDef.visible)&&(l+=r[s].drawnWidth||r[s].width||r[s].colDef.width)>Math.abs(c)){n.redrawColumnAtPosition(e.grid,o,s-1);break}}else for(s=o-1;s>=0;s--)if((angular.isUndefined(r[s].colDef.visible)||!0===r[s].colDef.visible)&&(l+=r[s].drawnWidth||r[s].width||r[s].colDef.width)>Math.abs(c)){n.redrawColumnAtPosition(e.grid,o,s+1);break}l<Math.abs(c)&&(i=0,e.grid.isRTL()&&(i=r.length-1),n.redrawColumnAtPosition(e.grid,o,i))}else if(c>0){var u,p=0;if(e.grid.isRTL()){for(u=o-1;u>0;u--)if((angular.isUndefined(r[u].colDef.visible)||!0===r[u].colDef.visible)&&(p+=r[u].drawnWidth||r[u].width||r[u].colDef.width)>c){n.redrawColumnAtPosition(e.grid,o,u);break}}else for(u=o+1;u<r.length;u++)if((angular.isUndefined(r[u].colDef.visible)||!0===r[u].colDef.visible)&&(p+=r[u].drawnWidth||r[u].width||r[u].colDef.width)>c){n.redrawColumnAtPosition(e.grid,o,u-1);break}p<c&&(i=r.length-1,e.grid.isRTL()&&(i=0),n.redrawColumnAtPosition(e.grid,o,i))}}},y=function(){h.on("touchstart",m),h.on("mousedown",m)},M=function(){h.off("touchstart",m),h.off("mousedown",m),i.off("mousemove",v),i.off("touchmove",v),i.off("mouseup",b),i.off("touchend",b)};y();var w=function(){f=!0,d=t.clone(),t.parent().append(d),d.addClass("movingColumn");var n={};n.left=t[0].offsetLeft+"px";var i=e.grid.element[0].getBoundingClientRect().right,r=t[0].getBoundingClientRect().right;r>i&&(n.width=(p=e.col.drawnWidth+(i-r))+"px"),d.css(n)},C=function(t){for(var n=e.grid.columns,i=0,r=0;r<n.length;r++)(angular.isUndefined(n[r].colDef.visible)||!0===n[r].colDef.visible)&&(i+=n[r].drawnWidth||n[r].width||n[r].colDef.width);var l,h=d[0].getBoundingClientRect().left-1,f=d[0].getBoundingClientRect().right;if(l=(l=h-s+t)<u?l:u,(h>=s||t>0)&&(f<=u||t<0))d.css({visibility:"visible",left:d[0].offsetLeft+(l<u?t:u-h)+"px"});else if(i>Math.ceil(o.grid.gridWidth)){t*=8;var g=new a(e.col.grid,null,null,"uiGridHeaderCell.moveElement");g.x={pixels:t},g.grid.scrollContainers("",g)}for(var m=0,v=0;v<n.length;v++)if(angular.isUndefined(n[v].colDef.visible)||!0===n[v].colDef.visible){if(n[v].colDef.name===e.col.colDef.name)break;m+=n[v].drawnWidth||n[v].width||n[v].colDef.width}void 0===e.newScrollLeft?c+=t:c=e.newScrollLeft+l-m,p<e.col.drawnWidth&&(p+=Math.abs(t),d.css({width:p+"px"}))};e.$on("$destroy",M)}}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.pagination",["ng","ui.grid"]);e.service("uiGridPaginationService",["gridUtil",function(e){var t={initializeGrid:function(e){t.defaultGridOptions(e.options);var n={events:{pagination:{paginationChanged:function(e,t){}}},methods:{pagination:{getPage:function(){return e.options.enablePagination?e.options.paginationCurrentPage:null},getFirstRowIndex:function(){return e.options.useCustomPagination?e.options.paginationPageSizes.reduce((function(t,n,i){return i<e.options.paginationCurrentPage-1?t+n:t}),0):(e.options.paginationCurrentPage-1)*e.options.paginationPageSize},getLastRowIndex:function(){return e.options.useCustomPagination?n.methods.pagination.getFirstRowIndex()+e.options.paginationPageSizes[e.options.paginationCurrentPage-1]-1:Math.min(e.options.paginationCurrentPage*e.options.paginationPageSize,e.options.totalItems)-1},getTotalPages:function(){return e.options.enablePagination?e.options.useCustomPagination?e.options.paginationPageSizes.length:0===e.options.totalItems?1:Math.ceil(e.options.totalItems/e.options.paginationPageSize):null},nextPage:function(){e.options.enablePagination&&(e.options.totalItems>0?e.options.paginationCurrentPage=Math.min(e.options.paginationCurrentPage+1,n.methods.pagination.getTotalPages()):e.options.paginationCurrentPage++)},previousPage:function(){e.options.enablePagination&&(e.options.paginationCurrentPage=Math.max(e.options.paginationCurrentPage-1,1))},seek:function(t){if(e.options.enablePagination){if(!angular.isNumber(t)||t<1)throw"Invalid page number: "+t;e.options.paginationCurrentPage=Math.min(t,n.methods.pagination.getTotalPages())}}}}};e.api.registerEventsFromObject(n.events),e.api.registerMethodsFromObject(n.methods),e.registerRowsProcessor((function(t){if(e.options.useExternalPagination||!e.options.enablePagination)return t;var i=parseInt(e.options.paginationPageSize,10),r=(parseInt(e.options.paginationCurrentPage,10),t.filter((function(e){return e.visible})));e.options.totalItems=r.length;var o=n.methods.pagination.getFirstRowIndex(),a=n.methods.pagination.getLastRowIndex();return o>r.length&&(o=((e.options.paginationCurrentPage=1)-1)*i),r.slice(o,a+1)}),900)},defaultGridOptions:function(t){t.enablePagination=!1!==t.enablePagination,t.enablePaginationControls=!1!==t.enablePaginationControls,t.useExternalPagination=!0===t.useExternalPagination,t.useCustomPagination=!0===t.useCustomPagination,e.isNullOrUndefined(t.totalItems)&&(t.totalItems=0),e.isNullOrUndefined(t.paginationPageSizes)&&(t.paginationPageSizes=[250,500,1e3]),e.isNullOrUndefined(t.paginationPageSize)&&(t.paginationPageSize=t.paginationPageSizes.length>0?t.paginationPageSizes[0]:0),e.isNullOrUndefined(t.paginationCurrentPage)&&(t.paginationCurrentPage=1),e.isNullOrUndefined(t.paginationTemplate)&&(t.paginationTemplate="ui-grid/pagination")},onPaginationChanged:function(e,t,n){e.api.pagination.raise.paginationChanged(t,n),e.options.useExternalPagination||e.queueGridRefresh()}};return t}]),e.directive("uiGridPagination",["gridUtil","uiGridPaginationService",function(e,t){return{priority:-200,scope:!1,require:"uiGrid",link:{pre:function(n,i,r,o){t.initializeGrid(o.grid),e.getTemplate(o.grid.options.paginationTemplate).then((function(e){var t=angular.element(e);i.append(t),o.innerCompile(t)}))}}}}]),e.directive("uiGridPager",["uiGridPaginationService","uiGridConstants","gridUtil","i18nService",function(e,t,n,i){return{priority:-200,scope:!0,require:"^uiGrid",link:function(r,o,a,s){r.aria=i.getSafeText("pagination.aria"),r.paginationApi=s.grid.api.pagination,r.sizesLabel=i.getSafeText("pagination.sizes"),r.totalItemsLabel=i.getSafeText("pagination.totalItems"),r.paginationOf=i.getSafeText("pagination.of"),r.paginationThrough=i.getSafeText("pagination.through");var l=s.grid.options;s.grid.renderContainers.body.registerViewportAdjuster((function(e){return e.height=e.height-n.elementHeight(o,"padding"),e}));var c=s.grid.registerDataChangeCallback((function(e){e.options.useExternalPagination||(e.options.totalItems=e.rows.length)}),[t.dataChange.ROW]);r.$on("$destroy",c);var u=r.$watch("grid.options.paginationCurrentPage + grid.options.paginationPageSize",(function(t,n){t!==n&&void 0!==n&&(!angular.isNumber(l.paginationCurrentPage)||l.paginationCurrentPage<1?l.paginationCurrentPage=1:l.totalItems>0&&l.paginationCurrentPage>r.paginationApi.getTotalPages()?l.paginationCurrentPage=r.paginationApi.getTotalPages():e.onPaginationChanged(r.grid,l.paginationCurrentPage,l.paginationPageSize))}));r.$on("$destroy",(function(){u()})),r.cantPageForward=function(){return r.paginationApi.getTotalPages()?r.cantPageToLast():l.data.length<1},r.cantPageToLast=function(){var e=r.paginationApi.getTotalPages();return!e||l.paginationCurrentPage>=e},r.cantPageBackward=function(){return l.paginationCurrentPage<=1};var d=function(e){e&&n.focus.bySelector(o,".ui-grid-pager-control-input")};r.pageFirstPageClick=function(){r.paginationApi.seek(1),d(r.cantPageBackward())},r.pagePreviousPageClick=function(){r.paginationApi.previousPage(),d(r.cantPageBackward())},r.pageNextPageClick=function(){r.paginationApi.nextPage(),d(r.cantPageForward())},r.pageLastPageClick=function(){r.paginationApi.seek(r.paginationApi.getTotalPages()),d(r.cantPageToLast())}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.pinning",["ui.grid"]);e.constant("uiGridPinningConstants",{container:{LEFT:"left",RIGHT:"right",NONE:""}}),e.service("uiGridPinningService",["gridUtil","GridRenderContainer","i18nService","uiGridPinningConstants",function(e,t,n,i){var r={initializeGrid:function(e){r.defaultGridOptions(e.options),e.registerColumnBuilder(r.pinningColumnBuilder);var t={events:{pinning:{columnPinned:function(e,t){}}},methods:{pinning:{pinColumn:function(t,n){r.pinColumn(e,t,n)}}}};e.api.registerEventsFromObject(t.events),e.api.registerMethodsFromObject(t.methods)},defaultGridOptions:function(e){e.enablePinning=!1!==e.enablePinning},pinningColumnBuilder:function(t,o,a){if(t.enablePinning=void 0===t.enablePinning?a.enablePinning:t.enablePinning,t.pinnedLeft?(o.renderContainer="left",o.grid.createLeftContainer()):t.pinnedRight&&(o.renderContainer="right",o.grid.createRightContainer()),t.enablePinning){var s={name:"ui.grid.pinning.pinLeft",title:n.get().pinning.pinLeft,icon:"ui-grid-icon-left-open",shown:function(){return void 0===this.context.col.renderContainer||!this.context.col.renderContainer||"left"!==this.context.col.renderContainer},action:function(){r.pinColumn(this.context.col.grid,this.context.col,i.container.LEFT)}},l={name:"ui.grid.pinning.pinRight",title:n.get().pinning.pinRight,icon:"ui-grid-icon-right-open",shown:function(){return void 0===this.context.col.renderContainer||!this.context.col.renderContainer||"right"!==this.context.col.renderContainer},action:function(){r.pinColumn(this.context.col.grid,this.context.col,i.container.RIGHT)}},c={name:"ui.grid.pinning.unpin",title:n.get().pinning.unpin,icon:"ui-grid-icon-cancel",shown:function(){return null!=this.context.col.renderContainer&&"body"!==this.context.col.renderContainer},action:function(){r.pinColumn(this.context.col.grid,this.context.col,i.container.NONE)}};e.arrayContainsObjectWithProperty(o.menuItems,"name","ui.grid.pinning.pinLeft")||o.menuItems.push(s),e.arrayContainsObjectWithProperty(o.menuItems,"name","ui.grid.pinning.pinRight")||o.menuItems.push(l),e.arrayContainsObjectWithProperty(o.menuItems,"name","ui.grid.pinning.unpin")||o.menuItems.push(c)}},pinColumn:function(e,t,n){n===i.container.NONE?(t.renderContainer=null,t.colDef.pinnedLeft=t.colDef.pinnedRight=!1):(t.renderContainer=n,n===i.container.LEFT?e.createLeftContainer():n===i.container.RIGHT&&e.createRightContainer()),e.refresh().then((function(){e.api.pinning.raise.columnPinned(t.colDef,n)}))}};return r}]),e.directive("uiGridPinning",["gridUtil","uiGridPinningService",function(e,t){return{require:"uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){t.initializeGrid(r.grid)},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.resizeColumns",["ui.grid"]);e.service("uiGridResizeColumnsService",["gridUtil","$q","$timeout",function(e,t,n){return{defaultGridOptions:function(e){e.enableColumnResizing=!1!==e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1)},colResizerColumnBuilder:function(e,n,i){return e.enableColumnResizing=void 0===e.enableColumnResizing?i.enableColumnResizing:e.enableColumnResizing,!1===e.enableColumnResize&&(e.enableColumnResizing=!1),t.all([])},registerPublicApi:function(e){e.api.registerEventsFromObject({colResizable:{columnSizeChanged:function(e,t){}}})},fireColumnSizeChanged:function(t,i,r){n((function(){t.api.colResizable?t.api.colResizable.raise.columnSizeChanged(i,r):e.logError("The resizeable api is not registered, this may indicate that you've included the module but not added the 'ui-grid-resize-columns' directive to your grid definition.  Cannot raise any events.")}))},findTargetCol:function(e,t,n){var i=e.getRenderContainer();if("left"===t){var r=i.visibleColumnCache.indexOf(e);return i.visibleColumnCache[r-1*n]}return e}}}]),e.directive("uiGridResizeColumns",["gridUtil","uiGridResizeColumnsService",function(e,t){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){t.defaultGridOptions(r.grid.options),r.grid.registerColumnBuilder(t.colResizerColumnBuilder),t.registerPublicApi(r.grid)},post:function(e,t,n,i){}}}}}]),e.directive("uiGridHeaderCell",["gridUtil","$templateCache","$compile","$q","uiGridResizeColumnsService","uiGridConstants","$timeout",function(e,t,n,i,r,o,a){return{priority:-10,require:"^uiGrid",compile:function(){return{post:function(e,i,s,l){var c=l.grid;if(c.options.enableColumnResizing){var u=t.get("ui-grid/columnResizer"),d=1;c.isRTL()&&(e.position="left",d=-1);var p=function(){for(var t=i[0].getElementsByClassName("ui-grid-column-resizer"),o=0;o<t.length;o++)angular.element(t[o]).remove();var a=r.findTargetCol(e.col,"left",d),s=e.col.getRenderContainer();if(a&&0!==s.visibleColumnCache.indexOf(e.col)&&!1!==a.colDef.enableColumnResizing){var l=angular.element(u).clone();l.attr("position","left"),i.prepend(l),n(l)(e)}if(!1!==e.col.colDef.enableColumnResizing){var c=angular.element(u).clone();c.attr("position","right"),i.append(c),n(c)(e)}};p();var h=c.registerDataChangeCallback((function(){a(p)}),[o.dataChange.COLUMN]);e.$on("$destroy",h)}}}}}}]),e.directive("uiGridColumnResizer",["$document","gridUtil","uiGridConstants","uiGridResizeColumnsService",function(e,t,n,i){var r=angular.element('<div class="ui-grid-resize-overlay"></div>');return{priority:0,scope:{col:"=",position:"@",renderIndex:"="},require:"?^uiGrid",link:function(o,a,s,l){var c=0,u=0,d=0,p=1;function h(e){l.grid.refreshCanvas(!0).then((function(){l.grid.queueGridRefresh()}))}function f(e,t){var n=t;return e.minWidth&&n<e.minWidth?n=e.minWidth:e.maxWidth&&n>e.maxWidth&&(n=e.maxWidth),n}function g(e,t){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),(u=(e.targetTouches?e.targetTouches[0]:e).clientX-d)<0?u=0:u>l.grid.gridWidth&&(u=l.grid.gridWidth);var a=i.findTargetCol(o.col,o.position,p);if(!1!==a.colDef.enableColumnResizing){l.grid.element.hasClass("column-resizing")||l.grid.element.addClass("column-resizing");var s=parseInt(a.drawnWidth+(u-c)*p,10);u+=(f(a,s)-s)*p,r.css({left:u+"px"}),l.fireEvent(n.events.ITEM_DRAGGING)}}function m(e,t){e.originalEvent&&(e=e.originalEvent),e.preventDefault(),l.grid.element.removeClass("column-resizing"),r.remove();var n=(u=(e.changedTouches?e.changedTouches[0]:e).clientX-d)-c;if(0===n)return y(),void b();var a=i.findTargetCol(o.col,o.position,p);if(!1!==a.colDef.enableColumnResizing){var s=parseInt(a.drawnWidth+n*p,10);a.width=f(a,s),a.hasCustomWidth=!0,h(),i.fireColumnSizeChanged(l.grid,a.colDef,n),y(),b()}}l.grid.isRTL()&&(o.position="left",p=-1),"left"===o.position?a.addClass("left"):"right"===o.position&&a.addClass("right");var v=function(t,n){t.originalEvent&&(t=t.originalEvent),t.stopPropagation(),d=l.grid.element[0].getBoundingClientRect().left,c=(t.targetTouches?t.targetTouches[0]:t).clientX-d,l.grid.element.append(r),r.css({left:c}),"touchstart"===t.type?(e.on("touchend",m),e.on("touchmove",g),a.off("mousedown",v)):(e.on("mouseup",m),e.on("mousemove",g),a.off("touchstart",v))},b=function(){a.on("mousedown",v),a.on("touchstart",v)},y=function(){e.off("mouseup",m),e.off("touchend",m),e.off("mousemove",g),e.off("touchmove",g),a.off("mousedown",v),a.off("touchstart",v)};b();var M=function(e,r){e.stopPropagation();var s=i.findTargetCol(o.col,o.position,p);if(!1!==s.colDef.enableColumnResizing){var c=0,u=0,d=t.closestElm(a,".ui-grid-render-container").querySelectorAll("."+n.COL_CLASS_PREFIX+s.uid+" .ui-grid-cell-contents");Array.prototype.forEach.call(d,(function(e){var n;angular.element(e).parent().hasClass("ui-grid-header-cell")&&(n=angular.element(e).parent()[0].querySelectorAll(".ui-grid-column-menu-button")),t.fakeElement(e,{},(function(e){var i=angular.element(e);i.attr("style","float: left");var r=t.elementWidth(i);n&&(r+=t.elementWidth(n)),r>c&&(u=(c=r)-r)}))})),s.width=f(s,c),s.hasCustomWidth=!0,h(),i.fireColumnSizeChanged(l.grid,s.colDef,u)}};a.on("dblclick",M),a.on("$destroy",(function(){a.off("dblclick",M),y()}))}}}])}(),function(){"use strict";var e=angular.module("ui.grid.rowEdit",["ui.grid","ui.grid.edit","ui.grid.cellNav"]);e.constant("uiGridRowEditConstants",{}),e.service("uiGridRowEditService",["$interval","$q","uiGridConstants","uiGridRowEditConstants","gridUtil",function(e,t,n,i,r){var o={initializeGrid:function(e,t){t.rowEdit={};var n={events:{rowEdit:{saveRow:function(e){}}},methods:{rowEdit:{setSavePromise:function(e,n){o.setSavePromise(t,e,n)},getDirtyRows:function(){return t.rowEdit.dirtyRows?t.rowEdit.dirtyRows:[]},getErrorRows:function(){return t.rowEdit.errorRows?t.rowEdit.errorRows:[]},flushDirtyRows:function(){return o.flushDirtyRows(t)},setRowsDirty:function(e){o.setRowsDirty(t,e)},setRowsClean:function(e){o.setRowsClean(t,e)}}}};t.api.registerEventsFromObject(n.events),t.api.registerMethodsFromObject(n.methods),t.api.core.on.renderingComplete(e,(function(n){t.api.edit.on.afterCellEdit(e,o.endEditCell),t.api.edit.on.beginCellEdit(e,o.beginEditCell),t.api.edit.on.cancelCellEdit(e,o.cancelEditCell),t.api.cellNav&&t.api.cellNav.on.navigate(e,o.navigate)}))},defaultGridOptions:function(e){},saveRow:function(e,t){var n=this;return function(){if(t.isSaving=!0,t.rowEditSavePromise)return t.rowEditSavePromise;var i=e.api.rowEdit.raise.saveRow(t.entity);return t.rowEditSavePromise?t.rowEditSavePromise.then(n.processSuccessPromise(e,t),n.processErrorPromise(e,t)):r.logError("A promise was not returned when saveRow event was raised, either nobody is listening to event, or event handler did not return a promise"),i}},setSavePromise:function(e,t,n){e.getRow(t).rowEditSavePromise=n},processSuccessPromise:function(e,t){var n=this;return function(){delete t.isSaving,delete t.isDirty,delete t.isError,delete t.rowEditSaveTimer,delete t.rowEditSavePromise,n.removeRow(e.rowEdit.errorRows,t),n.removeRow(e.rowEdit.dirtyRows,t)}},processErrorPromise:function(e,t){return function(){delete t.isSaving,delete t.rowEditSaveTimer,delete t.rowEditSavePromise,t.isError=!0,e.rowEdit.errorRows||(e.rowEdit.errorRows=[]),o.isRowPresent(e.rowEdit.errorRows,t)||e.rowEdit.errorRows.push(t)}},removeRow:function(e,t){null!=e&&e.forEach((function(n,i){n.uid===t.uid&&e.splice(i,1)}))},isRowPresent:function(e,t){var n=!1;return e.forEach((function(e,i){e.uid===t.uid&&(n=!0)})),n},flushDirtyRows:function(e){var n=[];return e.api.rowEdit.getDirtyRows().forEach((function(t){o.saveRow(e,t)(),n.push(t.rowEditSavePromise)})),t.all(n)},endEditCell:function(e,t,n,i){var a=this.grid,s=a.getRow(e);s?(n!==i||s.isDirty)&&(a.rowEdit.dirtyRows||(a.rowEdit.dirtyRows=[]),s.isDirty||(s.isDirty=!0,a.rowEdit.dirtyRows.push(s)),delete s.isError,o.considerSetTimer(a,s)):r.logError("Unable to find rowEntity in grid data, dirty flag cannot be set")},beginEditCell:function(e,t){var n=this.grid,i=n.getRow(e);i?o.cancelTimer(n,i):r.logError("Unable to find rowEntity in grid data, timer cannot be cancelled")},cancelEditCell:function(e,t){var n=this.grid,i=n.getRow(e);i?o.considerSetTimer(n,i):r.logError("Unable to find rowEntity in grid data, timer cannot be set")},navigate:function(e,t){var n=this.grid;e.row.rowEditSaveTimer&&o.cancelTimer(n,e.row),t&&t.row&&t.row!==e.row&&o.considerSetTimer(n,t.row)},considerSetTimer:function(t,n){if(o.cancelTimer(t,n),n.isDirty&&!n.isSaving&&-1!==t.options.rowEditWaitInterval){var i=t.options.rowEditWaitInterval?t.options.rowEditWaitInterval:2e3;n.rowEditSaveTimer=e(o.saveRow(t,n),i,1)}},cancelTimer:function(t,n){n.rowEditSaveTimer&&!n.isSaving&&(e.cancel(n.rowEditSaveTimer),delete n.rowEditSaveTimer)},setRowsDirty:function(e,t){var n;t.forEach((function(t,i){(n=e.getRow(t))?(e.rowEdit.dirtyRows||(e.rowEdit.dirtyRows=[]),n.isDirty||(n.isDirty=!0,e.rowEdit.dirtyRows.push(n)),delete n.isError,o.considerSetTimer(e,n)):r.logError("requested row not found in rowEdit.setRowsDirty, row was: "+t)}))},setRowsClean:function(e,t){var n;t.forEach((function(t,i){(n=e.getRow(t))?(delete n.isDirty,o.removeRow(e.rowEdit.dirtyRows,n),o.cancelTimer(e,n),delete n.isError,o.removeRow(e.rowEdit.errorRows,n)):r.logError("requested row not found in rowEdit.setRowsClean, row was: "+t)}))}};return o}]),e.directive("uiGridRowEdit",["gridUtil","uiGridRowEditService","uiGridEditConstants",function(e,t,n){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){t.initializeGrid(e,r.grid)},post:function(e,t,n,i){}}}}}]),e.directive("uiGridViewport",["$compile","uiGridConstants","gridUtil","$parse",function(e,t,n,i){return{priority:-200,scope:!1,compile:function(e,t){var n,i=angular.element(e.children().children()[0]),r=i.attr("ng-class");return n=r?r.slice(0,-1)+", 'ui-grid-row-dirty': row.isDirty, 'ui-grid-row-saving': row.isSaving, 'ui-grid-row-error': row.isError}":"{'ui-grid-row-dirty': row.isDirty, 'ui-grid-row-saving': row.isSaving, 'ui-grid-row-error': row.isError}",i.attr("ng-class",n),{pre:function(e,t,n,i){},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.saveState",["ui.grid","ui.grid.selection","ui.grid.cellNav","ui.grid.grouping","ui.grid.pinning","ui.grid.treeView"]);e.constant("uiGridSaveStateConstants",{featureName:"saveState"}),e.service("uiGridSaveStateService",["$q","uiGridSaveStateConstants","gridUtil","$compile","$interval","uiGridConstants",function(e,t,n,i,r,o){var a={initializeGrid:function(e){e.saveState={},this.defaultGridOptions(e.options);var t={events:{saveState:{}},methods:{saveState:{save:function(){return a.save(e)},restore:function(t,n){a.restore(e,t,n)}}}};e.api.registerEventsFromObject(t.events),e.api.registerMethodsFromObject(t.methods)},defaultGridOptions:function(e){e.saveWidths=!1!==e.saveWidths,e.saveOrder=!1!==e.saveOrder,e.saveScroll=!0===e.saveScroll,e.saveFocus=!0!==e.saveScroll&&!1!==e.saveFocus,e.saveVisible=!1!==e.saveVisible,e.saveSort=!1!==e.saveSort,e.saveFilter=!1!==e.saveFilter,e.saveSelection=!1!==e.saveSelection,e.saveGrouping=!1!==e.saveGrouping,e.saveGroupingExpandedStates=!0===e.saveGroupingExpandedStates,e.savePinning=!1!==e.savePinning,e.saveTreeView=!1!==e.saveTreeView},save:function(e){var t={};return t.columns=a.saveColumns(e),t.scrollFocus=a.saveScrollFocus(e),t.selection=a.saveSelection(e),t.grouping=a.saveGrouping(e),t.treeView=a.saveTreeView(e),t.pagination=a.savePagination(e),t},restore:function(e,t,n){n.columns&&a.restoreColumns(e,n.columns),n.scrollFocus&&a.restoreScrollFocus(e,t,n.scrollFocus),n.selection&&a.restoreSelection(e,n.selection),n.grouping&&a.restoreGrouping(e,n.grouping),n.treeView&&a.restoreTreeView(e,n.treeView),n.pagination&&a.restorePagination(e,n.pagination),e.refresh()},saveColumns:function(e){var t=[];return e.getOnlyDataColumns().forEach((function(n){var i={};i.name=n.name,e.options.saveVisible&&(i.visible=n.visible),e.options.saveWidths&&(i.width=n.width),e.options.saveSort&&(i.sort=angular.copy(n.sort)),e.options.saveFilter&&(i.filters=[],n.filters.forEach((function(e){var t={};angular.forEach(e,(function(e,n){"condition"!==n&&"$$hashKey"!==n&&"placeholder"!==n&&(t[n]=e)})),i.filters.push(t)}))),e.api.pinning&&e.options.savePinning&&(i.pinned=n.renderContainer?n.renderContainer:""),t.push(i)})),t},saveScrollFocus:function(e){if(!e.api.cellNav)return{};var t={};if(e.options.saveFocus){t.focus=!0;var n=e.api.cellNav.getFocusedCell();null!==n&&(null!==n.col&&(t.colName=n.col.colDef.name),null!==n.row&&(t.rowVal=a.getRowVal(e,n.row)))}return(e.options.saveScroll||e.options.saveFocus&&!t.colName&&!t.rowVal)&&(t.focus=!1,e.renderContainers.body.prevRowScrollIndex&&(t.rowVal=a.getRowVal(e,e.renderContainers.body.visibleRowCache[e.renderContainers.body.prevRowScrollIndex])),e.renderContainers.body.prevColScrollIndex&&(t.colName=e.renderContainers.body.visibleColumnCache[e.renderContainers.body.prevColScrollIndex].name)),t},saveSelection:function(e){return e.api.selection&&e.options.saveSelection?e.api.selection.getSelectedGridRows().map((function(t){return a.getRowVal(e,t)})):[]},saveGrouping:function(e){return e.api.grouping&&e.options.saveGrouping?e.api.grouping.getGrouping(e.options.saveGroupingExpandedStates):{}},savePagination:function(e){return e.api.pagination&&e.options.paginationPageSize?{paginationCurrentPage:e.options.paginationCurrentPage,paginationPageSize:e.options.paginationPageSize}:{}},saveTreeView:function(e){return e.api.treeView&&e.options.saveTreeView?e.api.treeView.getTreeView():{}},getRowVal:function(e,t){if(!t)return null;var n={};return e.options.saveRowIdentity?(n.identity=!0,n.row=e.options.saveRowIdentity(t.entity)):(n.identity=!1,n.row=e.renderContainers.body.visibleRowCache.indexOf(t)),n},restoreColumns:function(e,t){var n=!1;t.forEach((function(t,i){var r=e.getColumn(t.name);if(r&&!e.isRowHeaderColumn(r)){!e.options.saveVisible||r.visible===t.visible&&r.colDef.visible===t.visible||(r.visible=t.visible,r.colDef.visible=t.visible,e.api.core.raise.columnVisibilityChanged(r)),e.options.saveWidths&&r.width!==t.width&&(r.width=t.width,r.hasCustomWidth=!0),!e.options.saveSort||angular.equals(r.sort,t.sort)||void 0===r.sort&&angular.isEmpty(t.sort)||(r.sort=angular.copy(t.sort),n=!0),e.options.saveFilter&&!angular.equals(r.filters,t.filters)&&(t.filters.forEach((function(e,t){angular.extend(r.filters[t],e),null==e.term&&delete r.filters[t].term})),e.api.core.raise.filterChanged()),e.api.pinning&&e.options.savePinning&&r.renderContainer!==t.pinned&&e.api.pinning.pinColumn(r,t.pinned);var o=e.getOnlyDataColumns().indexOf(r);if(-1!==o&&e.options.saveOrder&&o!==i){var a=e.columns.splice(o+e.rowHeaderColumns.length,1)[0];e.columns.splice(i+e.rowHeaderColumns.length,0,a)}}})),n&&e.api.core.raise.sortChanged(e,e.getColumnSorting())},restoreScrollFocus:function(e,t,n){if(e.api.cellNav){var i,r;if(n.colName){var o=e.options.columnDefs.filter((function(e){return e.name===n.colName}));o.length>0&&(i=o[0])}n.rowVal&&n.rowVal.row&&(r=n.rowVal.identity?a.findRowByIdentity(e,n.rowVal):e.renderContainers.body.visibleRowCache[n.rowVal.row]);var s=r&&r.entity?r.entity:null;(i||s)&&(n.focus?e.api.cellNav.scrollToFocus(s,i):e.scrollTo(s,i))}},restoreSelection:function(e,t){e.api.selection&&(e.api.selection.clearSelectedRows(),t.forEach((function(t){if(t.identity){var n=a.findRowByIdentity(e,t);n&&e.api.selection.selectRow(n.entity)}else e.api.selection.selectRowByVisibleIndex(t.row)})))},restoreGrouping:function(e,t){e.api.grouping&&null!=t&&!angular.equals(t,{})&&e.api.grouping.setGrouping(t)},restoreTreeView:function(e,t){e.api.treeView&&null!=t&&!angular.equals(t,{})&&e.api.treeView.setTreeView(t)},restorePagination:function(e,t){e.api.pagination&&e.options.paginationPageSize&&(e.options.paginationCurrentPage=t.paginationCurrentPage,e.options.paginationPageSize=t.paginationPageSize)},findRowByIdentity:function(e,t){if(!e.options.saveRowIdentity)return null;var n=e.rows.filter((function(n){return e.options.saveRowIdentity(n.entity)===t.row}));return n.length>0?n[0]:null}};return a}]),e.directive("uiGridSaveState",["uiGridSaveStateConstants","uiGridSaveStateService","gridUtil","$compile",function(e,t,n,i){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,link:function(e,n,i,r){t.initializeGrid(r.grid)}}}])}(),function(){"use strict";var e=angular.module("ui.grid.selection",["ui.grid"]);e.constant("uiGridSelectionConstants",{featureName:"selection",selectionRowHeaderColName:"selectionRowHeaderCol"}),angular.module("ui.grid").config(["$provide",function(e){e.decorator("GridRow",["$delegate",function(e){return e.prototype.setSelected=function(e){e!==this.isSelected&&(this.isSelected=e,this.grid.selection.selectedCount+=e?1:-1)},e}])}]),e.service("uiGridSelectionService",["$q","$templateCache","uiGridSelectionConstants","gridUtil",function(e,t,n,i){var r={initializeGrid:function(e){e.selection={},e.selection.lastSelectedRow=null,e.selection.selectAll=!1,e.selection.selectedCount=0,r.defaultGridOptions(e.options);var t={events:{selection:{rowSelectionChanged:function(e,t,n){},rowSelectionChangedBatch:function(e,t,n){}}},methods:{selection:{toggleRowSelection:function(t,n){var i=e.getRow(t);null!==i&&r.toggleRowSelection(e,i,n,e.options.multiSelect,e.options.noUnselect)},selectRow:function(t,n){var i=e.getRow(t);null===i||i.isSelected||r.toggleRowSelection(e,i,n,e.options.multiSelect,e.options.noUnselect)},selectRowByVisibleIndex:function(t,n){var i=e.renderContainers.body.visibleRowCache[t];null==i||i.isSelected||r.toggleRowSelection(e,i,n,e.options.multiSelect,e.options.noUnselect)},unSelectRow:function(t,n){var i=e.getRow(t);null!==i&&i.isSelected&&r.toggleRowSelection(e,i,n,e.options.multiSelect,e.options.noUnselect)},selectAllRows:function(t){if(!1!==e.options.multiSelect){var n=[];e.rows.forEach((function(i){i.isSelected||!1===i.enableSelection||(i.setSelected(!0),r.decideRaiseSelectionEvent(e,i,n,t))})),r.decideRaiseSelectionBatchEvent(e,n,t),e.selection.selectAll=!0}},selectAllVisibleRows:function(t){if(!1!==e.options.multiSelect){var n=[];e.rows.forEach((function(i){i.visible?i.isSelected||!1===i.enableSelection||(i.setSelected(!0),r.decideRaiseSelectionEvent(e,i,n,t)):i.isSelected&&(i.setSelected(!1),r.decideRaiseSelectionEvent(e,i,n,t))})),r.decideRaiseSelectionBatchEvent(e,n,t),e.selection.selectAll=!0}},clearSelectedRows:function(t){r.clearSelectedRows(e,t)},getSelectedRows:function(){return r.getSelectedRows(e).map((function(e){return e.entity}))},getSelectedGridRows:function(){return r.getSelectedRows(e)},getSelectedCount:function(){return e.selection.selectedCount},setMultiSelect:function(t){e.options.multiSelect=t},setModifierKeysToMultiSelect:function(t){e.options.modifierKeysToMultiSelect=t},getSelectAllState:function(){return e.selection.selectAll}}}};e.api.registerEventsFromObject(t.events),e.api.registerMethodsFromObject(t.methods)},defaultGridOptions:function(e){e.enableRowSelection=!1!==e.enableRowSelection,e.multiSelect=!1!==e.multiSelect,e.noUnselect=!0===e.noUnselect,e.modifierKeysToMultiSelect=!0===e.modifierKeysToMultiSelect,e.enableRowHeaderSelection=!1!==e.enableRowHeaderSelection,void 0===e.enableFullRowSelection&&(e.enableFullRowSelection=!e.enableRowHeaderSelection),e.enableSelectAll=!1!==e.enableSelectAll,e.enableSelectionBatchEvent=!1!==e.enableSelectionBatchEvent,e.selectionRowHeaderWidth=angular.isDefined(e.selectionRowHeaderWidth)?e.selectionRowHeaderWidth:30,e.enableFooterTotalSelected=!1!==e.enableFooterTotalSelected,e.isRowSelectable=angular.isDefined(e.isRowSelectable)?e.isRowSelectable:angular.noop},toggleRowSelection:function(e,t,n,i,o){var a,s=t.isSelected;(!1!==t.enableSelection||s)&&(i||s?!i&&s&&(a=r.getSelectedRows(e)).length>1&&(s=!1,r.clearSelectedRows(e,n)):r.clearSelectedRows(e,n),s&&o||(t.setSelected(!s),!0===t.isSelected&&(e.selection.lastSelectedRow=t),a=r.getSelectedRows(e),e.selection.selectAll=e.rows.length===a.length,e.api.selection.raise.rowSelectionChanged(t,n)))},shiftSelect:function(e,t,n,i){if(i){var o=r.getSelectedRows(e).length>0?e.renderContainers.body.visibleRowCache.indexOf(e.selection.lastSelectedRow):0,a=e.renderContainers.body.visibleRowCache.indexOf(t);if(o>a){var s=o;o=a,a=s}for(var l=[],c=o;c<=a;c++){var u=e.renderContainers.body.visibleRowCache[c];u&&(u.isSelected||!1===u.enableSelection||(u.setSelected(!0),e.selection.lastSelectedRow=u,r.decideRaiseSelectionEvent(e,u,l,n)))}r.decideRaiseSelectionBatchEvent(e,l,n)}},getSelectedRows:function(e){return e.rows.filter((function(e){return e.isSelected}))},clearSelectedRows:function(e,t){var n=[];r.getSelectedRows(e).forEach((function(i){i.isSelected&&(i.setSelected(!1),r.decideRaiseSelectionEvent(e,i,n,t))})),r.decideRaiseSelectionBatchEvent(e,n,t),e.selection.selectAll=!1,e.selection.selectedCount=0},decideRaiseSelectionEvent:function(e,t,n,i){e.options.enableSelectionBatchEvent?n.push(t):e.api.selection.raise.rowSelectionChanged(t,i)},decideRaiseSelectionBatchEvent:function(e,t,n){t.length>0&&e.api.selection.raise.rowSelectionChangedBatch(t,n)}};return r}]),e.directive("uiGridSelection",["uiGridSelectionConstants","uiGridSelectionService","$templateCache","uiGridConstants",function(e,t,n,i){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(n,r,o,a){t.initializeGrid(a.grid),a.grid.options.enableRowHeaderSelection&&a.grid.addRowHeaderColumn({name:e.selectionRowHeaderColName,displayName:"",width:a.grid.options.selectionRowHeaderWidth,minWidth:10,cellTemplate:"ui-grid/selectionRowHeader",headerCellTemplate:"ui-grid/selectionHeaderCell",enableColumnResizing:!1,enableColumnMenu:!1,exporterSuppressExport:!0,allowCellFocus:!0},0);var s=!1,l=function(e){return e.forEach((function(e){e.enableSelection=a.grid.options.isRowSelectable(e)})),e},c=function(){a.grid.options.isRowSelectable!==angular.noop&&!0!==s&&(a.grid.registerRowsProcessor(l,500),s=!0)};c();var u=a.grid.registerDataChangeCallback(c,[i.dataChange.OPTIONS]);n.$on("$destroy",u)},post:function(e,t,n,i){}}}}}]),e.directive("uiGridSelectionRowHeaderButtons",["$templateCache","uiGridSelectionService","gridUtil",function(e,t,n){return{replace:!0,restrict:"E",template:e.get("ui-grid/selectionRowHeaderButtons"),scope:!0,require:"^uiGrid",link:function(e,i,r,o){var a=o.grid;e.selectButtonClick=function(e,n){n.stopPropagation(),n.shiftKey?t.shiftSelect(a,e,n,a.options.multiSelect):t.toggleRowSelection(a,e,n,n.ctrlKey||n.metaKey?a.options.multiSelect:a.options.multiSelect&&!a.options.modifierKeysToMultiSelect,a.options.noUnselect)},"ie"===n.detectBrowser()&&i.on("mousedown",(function(e){(e.ctrlKey||e.shiftKey)&&(e.target.onselectstart=function(){return!1},window.setTimeout((function(){e.target.onselectstart=null}),0))})),e.$on("$destroy",(function(){i.off()}))}}}]),e.directive("uiGridSelectionSelectAllButtons",["$templateCache","uiGridSelectionService",function(e,t){return{replace:!0,restrict:"E",template:e.get("ui-grid/selectionSelectAllButtons"),scope:!1,link:function(e,n,i,r){var o=e.col.grid;e.headerButtonClick=function(e,n){o.selection.selectAll?(t.clearSelectedRows(o,n),o.options.noUnselect&&o.api.selection.selectRowByVisibleIndex(0,n),o.selection.selectAll=!1):o.options.multiSelect&&(o.api.selection.selectAllVisibleRows(n),o.selection.selectAll=!0)}}}}]),e.directive("uiGridViewport",["$compile","uiGridConstants","uiGridSelectionConstants","gridUtil","$parse","uiGridSelectionService",function(e,t,n,i,r,o){return{priority:-200,scope:!1,compile:function(e,t){var n,i=angular.element(e.children().children()[0]),r=i.attr("ng-class");return n=r?r.slice(0,-1)+",'ui-grid-row-selected': row.isSelected}":"{'ui-grid-row-selected': row.isSelected}",i.attr("ng-class",n),{pre:function(e,t,n,i){},post:function(e,t,n,i){}}}}}]),e.directive("uiGridCell",["$compile","uiGridConstants","uiGridSelectionConstants","gridUtil","$parse","uiGridSelectionService","$timeout",function(e,t,n,i,r,o,a){return{priority:-200,restrict:"A",require:"?^uiGrid",scope:!1,link:function(e,n,i,r){var s=0;r.grid.api.cellNav&&r.grid.api.cellNav.on.viewPortKeyDown(e,(function(t,n){null!==n&&n.row===e.row&&n.col===e.col&&32===t.keyCode&&"selectionRowHeaderCol"===e.col.colDef.name&&(o.toggleRowSelection(e.grid,e.row,t,e.grid.options.multiSelect&&!e.grid.options.modifierKeysToMultiSelect,e.grid.options.noUnselect),e.$apply())}));var l=function(t){"ui-grid-icon-minus-squared"!==t.target.className&&"ui-grid-icon-plus-squared"!==t.target.className&&(n.off("touchend",u),t.shiftKey?o.shiftSelect(e.grid,e.row,t,e.grid.options.multiSelect):o.toggleRowSelection(e.grid,e.row,t,t.ctrlKey||t.metaKey?e.grid.options.multiSelect:e.grid.options.multiSelect&&!e.grid.options.modifierKeysToMultiSelect,e.grid.options.noUnselect),e.$apply(),a((function(){n.on("touchend",u)}),300))},c=function(e){s=(new Date).getTime(),n.off("click",l)},u=function(e){(new Date).getTime()-s<300&&l(e),a((function(){n.on("click",l)}),300)};function d(){e.grid.options.enableRowSelection&&e.grid.options.enableFullRowSelection&&(n.addClass("ui-grid-disable-selection"),n.on("touchstart",c),n.on("touchend",u),n.on("click",l),e.registered=!0)}d();var p=e.grid.registerDataChangeCallback((function(){e.grid.options.enableRowSelection&&e.grid.options.enableFullRowSelection&&!e.registered?d():e.grid.options.enableRowSelection&&e.grid.options.enableFullRowSelection||!e.registered||e.registered&&(n.removeClass("ui-grid-disable-selection"),n.off("touchstart",c),n.off("touchend",u),n.off("click",l),e.registered=!1)}),[t.dataChange.OPTIONS]);n.on("$destroy",p)}}}]),e.directive("uiGridGridFooter",["$compile","uiGridConstants","gridUtil",function(e,t,n){return{restrict:"EA",replace:!0,priority:-1e3,require:"^uiGrid",scope:!0,compile:function(t,i){return{pre:function(t,i,r,o){o.grid.options.showGridFooter&&n.getTemplate("ui-grid/gridFooterSelectedItems").then((function(n){var r=angular.element(n),o=e(r)(t);angular.element(i[0].getElementsByClassName("ui-grid-grid-footer")[0]).append(o)}))},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.treeBase",["ui.grid"]);e.constant("uiGridTreeBaseConstants",{featureName:"treeBase",rowHeaderColName:"treeBaseRowHeaderCol",EXPANDED:"expanded",COLLAPSED:"collapsed",aggregation:{COUNT:"count",SUM:"sum",MAX:"max",MIN:"min",AVG:"avg"}}),e.service("uiGridTreeBaseService",["$q","uiGridTreeBaseConstants","gridUtil","GridRow","gridClassFactory","i18nService","uiGridConstants","rowSorter",function(e,t,n,i,r,o,a,s){var l={initializeGrid:function(e,t){e.treeBase={},e.treeBase.numberLevels=0,e.treeBase.expandAll=!1,e.treeBase.tree=[],l.defaultGridOptions(e.options),e.registerRowsProcessor(l.treeRows,410),e.registerColumnBuilder(l.treeBaseColumnBuilder),l.createRowHeader(e);var n={events:{treeBase:{rowExpanded:{},rowCollapsed:{}}},methods:{treeBase:{expandAllRows:function(){l.expandAllRows(e)},collapseAllRows:function(){l.collapseAllRows(e)},toggleRowTreeState:function(t){l.toggleRowTreeState(e,t)},expandRow:function(t){l.expandRow(e,t)},expandRowChildren:function(t){l.expandRowChildren(e,t)},collapseRow:function(t){l.collapseRow(e,t)},collapseRowChildren:function(t){l.collapseRowChildren(e,t)},getTreeExpandedState:function(){return{expandedState:l.getTreeState(e)}},setTreeState:function(t){l.setTreeState(e,t)},getRowChildren:function(e){return e.treeNode.children.map((function(e){return e.row}))}}}};e.api.registerEventsFromObject(n.events),e.api.registerMethodsFromObject(n.methods)},defaultGridOptions:function(e){e.treeRowHeaderBaseWidth=e.treeRowHeaderBaseWidth||30,e.treeIndent=e.treeIndent||10,e.showTreeRowHeader=!1!==e.showTreeRowHeader,e.showTreeExpandNoChildren=!1!==e.showTreeExpandNoChildren,e.treeRowHeaderAlwaysVisible=!1!==e.treeRowHeaderAlwaysVisible,e.treeCustomAggregations=e.treeCustomAggregations||{},e.enableExpandAll=!1!==e.enableExpandAll},treeBaseColumnBuilder:function(e,t,n){void 0!==e.customTreeAggregationFn&&(t.treeAggregationFn=e.customTreeAggregationFn),void 0!==e.treeAggregationType&&(t.treeAggregation={type:e.treeAggregationType},void 0!==n.treeCustomAggregations[e.treeAggregationType]?(t.treeAggregationFn=n.treeCustomAggregations[e.treeAggregationType].aggregationFn,t.treeAggregationFinalizerFn=n.treeCustomAggregations[e.treeAggregationType].finalizerFn,t.treeAggregation.label=n.treeCustomAggregations[e.treeAggregationType].label):void 0!==l.nativeAggregations()[e.treeAggregationType]&&(t.treeAggregationFn=l.nativeAggregations()[e.treeAggregationType].aggregationFn,t.treeAggregation.label=l.nativeAggregations()[e.treeAggregationType].label)),void 0!==e.treeAggregationLabel&&(void 0===t.treeAggregation&&(t.treeAggregation={}),t.treeAggregation.label=e.treeAggregationLabel),t.treeAggregationUpdateEntity=!1!==e.treeAggregationUpdateEntity,void 0===t.customTreeAggregationFinalizerFn&&(t.customTreeAggregationFinalizerFn=e.customTreeAggregationFinalizerFn)},createRowHeader:function(e){var n={name:t.rowHeaderColName,displayName:"",width:e.options.treeRowHeaderBaseWidth,minWidth:10,cellTemplate:"ui-grid/treeBaseRowHeader",headerCellTemplate:"ui-grid/treeBaseHeaderCell",enableColumnResizing:!1,enableColumnMenu:!1,exporterSuppressExport:!0,allowCellFocus:!0};n.visible=e.options.treeRowHeaderAlwaysVisible,e.addRowHeaderColumn(n,-100)},expandAllRows:function(e){e.treeBase.tree.forEach((function(n){l.setAllNodes(e,n,t.EXPANDED)})),e.treeBase.expandAll=!0,e.queueGridRefresh()},collapseAllRows:function(e){e.treeBase.tree.forEach((function(n){l.setAllNodes(e,n,t.COLLAPSED)})),e.treeBase.expandAll=!1,e.queueGridRefresh()},setAllNodes:function(e,n,i){void 0!==n.state&&n.state!==i&&(n.state=i,i===t.EXPANDED?e.api.treeBase.raise.rowExpanded(n.row):e.api.treeBase.raise.rowCollapsed(n.row)),n.children&&n.children.forEach((function(t){l.setAllNodes(e,t,i)}))},toggleRowTreeState:function(e,n){null==n.treeLevel||n.treeLevel<0||(n.treeNode.state===t.EXPANDED?l.collapseRow(e,n):l.expandRow(e,n),e.queueGridRefresh())},expandRow:function(e,n){null==n.treeLevel||n.treeLevel<0||n.treeNode.state!==t.EXPANDED&&(n.treeNode.state=t.EXPANDED,e.api.treeBase.raise.rowExpanded(n),e.treeBase.expandAll=l.allExpanded(e.treeBase.tree),e.queueGridRefresh())},expandRowChildren:function(e,n){null==n.treeLevel||n.treeLevel<0||(l.setAllNodes(e,n.treeNode,t.EXPANDED),e.treeBase.expandAll=l.allExpanded(e.treeBase.tree),e.queueGridRefresh())},collapseRow:function(e,n){null==n.treeLevel||n.treeLevel<0||n.treeNode.state!==t.COLLAPSED&&(n.treeNode.state=t.COLLAPSED,e.treeBase.expandAll=!1,e.api.treeBase.raise.rowCollapsed(n),e.queueGridRefresh())},collapseRowChildren:function(e,n){null==n.treeLevel||n.treeLevel<0||(l.setAllNodes(e,n.treeNode,t.COLLAPSED),e.treeBase.expandAll=!1,e.queueGridRefresh())},allExpanded:function(e){var t=!0;return e.forEach((function(e){l.allExpandedInternal(e)||(t=!1)})),t},allExpandedInternal:function(e){if(e.children&&e.children.length>0){if(e.state===t.COLLAPSED)return!1;var n=!0;return e.children.forEach((function(e){l.allExpandedInternal(e)||(n=!1)})),n}return!0},treeRows:function(e){return 0===e.length?e:(this.treeBase.tree=l.createTree(this,e),l.updateRowHeaderWidth(this),l.sortTree(this),l.fixFilter(this),l.renderTree(this.treeBase.tree))},updateRowHeaderWidth:function(e){var n=e.getColumn(t.rowHeaderColName),i=e.options.treeRowHeaderBaseWidth+e.options.treeIndent*Math.max(e.treeBase.numberLevels-1,0);n&&i!==n.width&&(n.width=i,e.queueRefresh());var r=!0;!1===e.options.showTreeRowHeader&&(r=!1),!1===e.options.treeRowHeaderAlwaysVisible&&e.treeBase.numberLevels<=0&&(r=!1),n&&n.visible!==r&&(n.visible=r,n.colDef.visible=r,e.queueGridRefresh())},renderTree:function(e){var n=[];return e.forEach((function(e){e.row.visible&&n.push(e.row),e.state===t.EXPANDED&&e.children&&e.children.length>0&&(n=n.concat(l.renderTree(e.children)))})),n},createTree:function(e,t){var n=-1,i=[];e.treeBase.tree=[],e.treeBase.numberLevels=0;var r=l.getAggregations(e);for(t.forEach((function(t){if(void 0!==t.entity.$$treeLevel&&t.treeLevel!==t.entity.$$treeLevel&&(t.treeLevel=t.entity.$$treeLevel),t.treeLevel<=n){for(;t.treeLevel<=n;){var o=i.pop();l.finaliseAggregations(o),n--}i.length>0&&l.setCurrentState(i)}(null==t.treeLevel||t.treeLevel<0)&&t.visible&&l.aggregate(e,t,i),l.addOrUseNode(e,t,i,r),null!=t.treeLevel&&t.treeLevel>=0&&(i.push(t),n++,l.setCurrentState(i)),e.treeBase.numberLevels<t.treeLevel+1&&(e.treeBase.numberLevels=t.treeLevel+1)}));i.length>0;){var o=i.pop();l.finaliseAggregations(o)}return e.treeBase.tree},addOrUseNode:function(e,n,i,r){var o=[];r.forEach((function(e){o.push(l.buildAggregationObject(e.col))}));var a={state:t.COLLAPSED,row:n,parentRow:null,aggregations:o,children:[]};n.treeNode&&(a.state=n.treeNode.state),i.length>0&&(a.parentRow=i[i.length-1]),n.treeNode=a,0===i.length?e.treeBase.tree.push(a):i[i.length-1].treeNode.children.push(a)},setCurrentState:function(e){var n=t.EXPANDED;return e.forEach((function(e){e.treeNode.state===t.COLLAPSED&&(n=t.COLLAPSED)})),n},sortTree:function(e){e.columns.forEach((function(e){e.sort&&e.sort.ignoreSort&&delete e.sort.ignoreSort})),e.treeBase.tree=l.sortInternal(e,e.treeBase.tree)},sortInternal:function(e,n){var i=n.map((function(e){return e.row})),r=(i=s.sort(e,i,e.columns)).map((function(e){return e.treeNode}));return r.forEach((function(n){n.state===t.EXPANDED&&n.children&&n.children.length>0&&(n.children=l.sortInternal(e,n.children))})),r},fixFilter:function(e){e.treeBase.tree.forEach((function(e){e.children&&e.children.length>0&&l.fixFilterInternal(e.children,e.row.visible)}))},fixFilterInternal:function(e,t){return e.forEach((function(e){e.row.visible&&!t&&(l.setParentsVisible(e),t=!0),e.children&&e.children.length>0&&l.fixFilterInternal(e.children,t&&e.row.visible)&&(t=!0)})),t},setParentsVisible:function(e){for(;e.parentRow;)e.parentRow.visible=!0,e=e.parentRow.treeNode},buildAggregationObject:function(e){var t={col:e};return e.treeAggregation&&e.treeAggregation.type&&(t.type=e.treeAggregation.type),e.treeAggregation&&e.treeAggregation.label&&(t.label=e.treeAggregation.label),t},getAggregations:function(e){var t=[];return e.columns.forEach((function(n){void 0!==n.treeAggregationFn&&(t.push(l.buildAggregationObject(n)),e.options.showColumnFooter&&void 0===n.colDef.aggregationType&&n.treeAggregation&&(n.treeFooterAggregation=l.buildAggregationObject(n),n.aggregationType=l.treeFooterAggregationType))})),t},aggregate:function(e,t,n){0===n.length&&t.treeNode&&t.treeNode.aggregations&&t.treeNode.aggregations.forEach((function(n){if(void 0!==n.col.treeFooterAggregation){var i=e.getCellValue(t,n.col),r=Number(i);n.col.treeAggregationFn(n.col.treeFooterAggregation,i,r,t)}})),n.forEach((function(n,i){n.treeNode.aggregations&&n.treeNode.aggregations.forEach((function(n){var r=e.getCellValue(t,n.col),o=Number(r);n.col.treeAggregationFn(n,r,o,t),0===i&&void 0!==n.col.treeFooterAggregation&&n.col.treeAggregationFn(n.col.treeFooterAggregation,r,o,t)}))}))},nativeAggregations:function(){return{count:{label:o.get().aggregation.count,menuTitle:o.get().grouping.aggregate_count,aggregationFn:function(e,t,n){void 0===e.value?e.value=1:e.value++}},sum:{label:o.get().aggregation.sum,menuTitle:o.get().grouping.aggregate_sum,aggregationFn:function(e,t,n){isNaN(n)||(void 0===e.value?e.value=n:e.value+=n)}},min:{label:o.get().aggregation.min,menuTitle:o.get().grouping.aggregate_min,aggregationFn:function(e,t,n){(void 0===e.value||null!=t&&(t<e.value||null===e.value))&&(e.value=t)}},max:{label:o.get().aggregation.max,menuTitle:o.get().grouping.aggregate_max,aggregationFn:function(e,t,n){(void 0===e.value||null!=t&&(t>e.value||null===e.value))&&(e.value=t)}},avg:{label:o.get().aggregation.avg,menuTitle:o.get().grouping.aggregate_avg,aggregationFn:function(e,t,n){void 0===e.count?e.count=1:e.count++,isNaN(n)||(void 0===e.value||void 0===e.sum?(e.value=n,e.sum=n):(e.sum+=n,e.value=e.sum/e.count))}}}},finaliseAggregation:function(e,t){t.col.treeAggregationUpdateEntity&&void 0!==e&&void 0!==e.entity["$$"+t.col.uid]&&angular.extend(t,e.entity["$$"+t.col.uid]),"function"==typeof t.col.treeAggregationFinalizerFn&&t.col.treeAggregationFinalizerFn(t),"function"==typeof t.col.customTreeAggregationFinalizerFn&&t.col.customTreeAggregationFinalizerFn(t),void 0===t.rendered&&(t.rendered=t.label?t.label+t.value:t.value)},finaliseAggregations:function(e){null!=e&&void 0!==e.treeNode.aggregations&&e.treeNode.aggregations.forEach((function(t){if(l.finaliseAggregation(e,t),t.col.treeAggregationUpdateEntity){var n={};angular.forEach(t,(function(e,i){t.hasOwnProperty(i)&&"col"!==i&&(n[i]=e)})),e.entity["$$"+t.col.uid]=n}}))},treeFooterAggregationType:function(e,t){return l.finaliseAggregation(void 0,t.treeFooterAggregation),void 0===t.treeFooterAggregation.value||null===t.treeFooterAggregation.rendered?"":t.treeFooterAggregation.rendered}};return l}]),e.directive("uiGridTreeBaseRowHeaderButtons",["$templateCache","uiGridTreeBaseService",function(e,t){return{replace:!0,restrict:"E",template:e.get("ui-grid/treeBaseRowHeaderButtons"),scope:!0,require:"^uiGrid",link:function(e,n,i,r){var o=r.grid;e.treeButtonClick=function(e,n){t.toggleRowTreeState(o,e,n)}}}}]),e.directive("uiGridTreeBaseExpandAllButtons",["$templateCache","uiGridTreeBaseService",function(e,t){return{replace:!0,restrict:"E",template:e.get("ui-grid/treeBaseExpandAllButtons"),scope:!1,link:function(e,n,i,r){var o=e.col.grid;e.headerButtonClick=function(e,n){o.treeBase.expandAll?t.collapseAllRows(o,n):t.expandAllRows(o,n)}}}}]),e.directive("uiGridViewport",["$compile","uiGridConstants","gridUtil","$parse",function(e,t,n,i){return{priority:-200,scope:!1,compile:function(e,t){var n,i=angular.element(e.children().children()[0]),r=i.attr("ng-class");return n=r?r.slice(0,-1)+",'ui-grid-tree-header-row': row.treeLevel > -1}":"{'ui-grid-tree-header-row': row.treeLevel > -1}",i.attr("ng-class",n),{pre:function(e,t,n,i){},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.treeView",["ui.grid","ui.grid.treeBase"]);e.constant("uiGridTreeViewConstants",{featureName:"treeView",rowHeaderColName:"treeBaseRowHeaderCol",EXPANDED:"expanded",COLLAPSED:"collapsed",aggregation:{COUNT:"count",SUM:"sum",MAX:"max",MIN:"min",AVG:"avg"}}),e.service("uiGridTreeViewService",["$q","uiGridTreeViewConstants","uiGridTreeBaseConstants","uiGridTreeBaseService","gridUtil","GridRow","gridClassFactory","i18nService","uiGridConstants",function(e,t,n,i,r,o,a,s,l){var c={initializeGrid:function(e,t){i.initializeGrid(e,t),e.treeView={},e.registerRowsProcessor(c.adjustSorting,60),e.api.registerEventsFromObject({treeView:{}}),e.api.registerMethodsFromObject({treeView:{}})},defaultGridOptions:function(e){e.enableTreeView=!1!==e.enableTreeView},adjustSorting:function(e){return this.columns.forEach((function(e){e.sort&&(e.sort.ignoreSort=!0)})),e}};return c}]),e.directive("uiGridTreeView",["uiGridTreeViewConstants","uiGridTreeViewService","$templateCache",function(e,t,n){return{replace:!0,priority:0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){!1!==r.grid.options.enableTreeView&&t.initializeGrid(r.grid,e)},post:function(e,t,n,i){}}}}}])}(),function(){"use strict";var e=angular.module("ui.grid.validate",["ui.grid"]);e.service("uiGridValidateService",["$sce","$q","$http","i18nService","uiGridConstants",function(e,t,n,i,r){var o={validatorFactories:{},setExternalFactoryFunction:function(e){o.externalFactoryFunction=e},clearExternalFactory:function(){delete o.externalFactoryFunction},getValidatorFromExternalFactory:function(e,t){return o.externalFactoryFunction(e,t).validatorFactory(t)},getMessageFromExternalFactory:function(e,t){return o.externalFactoryFunction(e,t).messageFunction(t)},setValidator:function(e,t,n){o.validatorFactories[e]={validatorFactory:t,messageFunction:n}},getValidator:function(e,t){if(o.externalFactoryFunction){var n=o.getValidatorFromExternalFactory(e,t);if(n)return n}if(!o.validatorFactories[e])throw"Invalid validator name: "+e;return o.validatorFactories[e].validatorFactory(t)},getMessage:function(e,t){if(o.externalFactoryFunction){var n=o.getMessageFromExternalFactory(e,t);if(n)return n}return o.validatorFactories[e].messageFunction(t)},isInvalid:function(e,t){return e["$$invalid"+t.name]},setInvalid:function(e,t){e["$$invalid"+t.name]=!0},setValid:function(e,t){delete e["$$invalid"+t.name]},setError:function(e,t,n){e["$$errors"+t.name]||(e["$$errors"+t.name]={}),e["$$errors"+t.name][n]=!0},clearError:function(e,t,n){e["$$errors"+t.name]&&n in e["$$errors"+t.name]&&delete e["$$errors"+t.name][n]},getErrorMessages:function(e,t){var n=[];return e["$$errors"+t.name]&&0!==Object.keys(e["$$errors"+t.name]).length?(Object.keys(e["$$errors"+t.name]).sort().forEach((function(e){n.push(o.getMessage(e,t.validators[e]))})),n):n},getFormattedErrors:function(t,n){var r="",a=o.getErrorMessages(t,n);if(a.length)return a.forEach((function(e){r+=e+"<br/>"})),e.trustAsHtml("<p><b>"+i.getSafeText("validate.error")+"</b></p>"+r)},getTitleFormattedErrors:function(t,n){var r="",a=o.getErrorMessages(t,n);if(a.length)return a.forEach((function(e){r+=e+"\n"})),e.trustAsHtml(i.getSafeText("validate.error")+"\n"+r)},runValidators:function(e,n,i,r,a){if(i!==r){if(void 0===n.name||!n.name)throw new Error("colDef.name is required to perform validation");o.setValid(e,n);var s=function(e,t,n){return function(s){s||(o.setInvalid(e,t),o.setError(e,t,n),a&&a.api.validate.raise.validationFailed(e,t,i,r))}},l=[];for(var c in n.validators){o.clearError(e,n,c);var u=o.getValidator(c,n.validators[c]),d=t.when(u(r,i,e,n)).then(s(e,n,c));l.push(d)}return t.all(l)}},createDefaultValidators:function(){o.setValidator("minLength",(function(e){return function(t,n,i,r){return null==n||""===n||n.length>=e}}),(function(e){return i.getSafeText("validate.minLength").replace("THRESHOLD",e)})),o.setValidator("maxLength",(function(e){return function(t,n,i,r){return null==n||""===n||n.length<=e}}),(function(e){return i.getSafeText("validate.maxLength").replace("THRESHOLD",e)})),o.setValidator("required",(function(e){return function(t,n,i,r){return!e||!(null==n||""===n)}}),(function(e){return i.getSafeText("validate.required")}))},initializeGrid:function(e,t){t.validate={isInvalid:o.isInvalid,getFormattedErrors:o.getFormattedErrors,getTitleFormattedErrors:o.getTitleFormattedErrors,runValidators:o.runValidators};var n={events:{validate:{validationFailed:function(e,t,n,i){}}},methods:{validate:{isInvalid:function(e,n){return t.validate.isInvalid(e,n)},getErrorMessages:function(e,n){return t.validate.getErrorMessages(e,n)},getFormattedErrors:function(e,n){return t.validate.getFormattedErrors(e,n)},getTitleFormattedErrors:function(e,n){return t.validate.getTitleFormattedErrors(e,n)}}}};t.api.registerEventsFromObject(n.events),t.api.registerMethodsFromObject(n.methods),t.edit&&t.api.edit.on.afterCellEdit(e,(function(e,n,i,r){t.validate.runValidators(e,n,i,r,t)})),o.createDefaultValidators()}};return o}]),e.directive("uiGridValidate",["gridUtil","uiGridValidateService",function(e,t){return{priority:0,replace:!0,require:"^uiGrid",scope:!1,compile:function(){return{pre:function(e,n,i,r){t.initializeGrid(e,r.grid)},post:function(e,t,n,i){}}}}}])}(),angular.module("ui.grid").run(["$templateCache",function(e){"use strict";e.put("ui-grid/ui-grid-filter",'<div class="ui-grid-filter-container" ng-style="col.extraStyle" ng-repeat="colFilter in col.filters" ng-class="{\'ui-grid-filter-cancel-button-hidden\' : colFilter.disableCancelFilterButton === true }"><div ng-if="colFilter.type !== \'select\'"><input type="text" class="ui-grid-filter-input ui-grid-filter-input-{{$index}}" ng-model="colFilter.term" ng-attr-placeholder="{{colFilter.placeholder || \'\'}}" aria-label="{{colFilter.ariaLabel || aria.defaultFilterLabel}}"><div role="button" class="ui-grid-filter-button" ng-click="removeFilter(colFilter, $index)" ng-if="!colFilter.disableCancelFilterButton" ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === \'\'" ng-show="colFilter.term !== undefined && colFilter.term !== null && colFilter.term !== \'\'"><i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter">&nbsp;</i></div></div><div ng-if="colFilter.type === \'select\'"><select class="ui-grid-filter-select ui-grid-filter-input-{{$index}}" ng-model="colFilter.term" ng-show="colFilter.selectOptions.length > 0" ng-attr-placeholder="{{colFilter.placeholder || aria.defaultFilterLabel}}" aria-label="{{colFilter.ariaLabel || \'\'}}" ng-options="option.value as option.label for option in colFilter.selectOptions"><option value=""></option></select><div role="button" class="ui-grid-filter-button-select" ng-click="removeFilter(colFilter, $index)" ng-if="!colFilter.disableCancelFilterButton" ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === \'\'" ng-show="colFilter.term !== undefined && colFilter.term != null"><i class="ui-grid-icon-cancel" ui-grid-one-bind-aria-label="aria.removeFilter">&nbsp;</i></div></div></div>'),e.put("ui-grid/ui-grid-footer",'<div class="ui-grid-footer-panel ui-grid-footer-aggregates-row">\x3c!-- tfooter --\x3e<div class="ui-grid-footer ui-grid-footer-viewport"><div class="ui-grid-footer-canvas"><div class="ui-grid-footer-cell-wrapper" ng-style="colContainer.headerCellWrapperStyle()"><div role="row" class="ui-grid-footer-cell-row"><div ui-grid-footer-cell role="gridcell" ng-repeat="col in colContainer.renderedColumns track by col.uid" col="col" render-index="$index" class="ui-grid-footer-cell ui-grid-clearfix"></div></div></div></div></div></div>'),e.put("ui-grid/ui-grid-grid-footer",'<div class="ui-grid-footer-info ui-grid-grid-footer"><span>{{\'search.totalItems\' | t}} {{grid.rows.length}}</span> <span ng-if="grid.renderContainers.body.visibleRowCache.length !== grid.rows.length" class="ngLabel">({{"search.showingItems" | t}} {{grid.renderContainers.body.visibleRowCache.length}})</span></div>'),e.put("ui-grid/ui-grid-group-panel",'<div class="ui-grid-group-panel"><div ui-t="groupPanel.description" class="description" ng-show="groupings.length == 0"></div><ul ng-show="groupings.length > 0" class="ngGroupList"><li class="ngGroupItem" ng-repeat="group in configGroups"><span class="ngGroupElement"><span class="ngGroupName">{{group.displayName}} <span ng-click="removeGroup($index)" class="ngRemoveGroup">x</span></span> <span ng-hide="$last" class="ngGroupArrow"></span></span></li></ul></div>'),e.put("ui-grid/ui-grid-header",'<div role="rowgroup" class="ui-grid-header">\x3c!-- theader --\x3e<div class="ui-grid-top-panel"><div class="ui-grid-header-viewport"><div class="ui-grid-header-canvas"><div class="ui-grid-header-cell-wrapper" ng-style="colContainer.headerCellWrapperStyle()"><div role="row" class="ui-grid-header-cell-row"><div class="ui-grid-header-cell ui-grid-clearfix" ng-repeat="col in colContainer.renderedColumns track by col.uid" ui-grid-header-cell col="col" render-index="$index"></div></div></div></div></div></div></div>'),e.put("ui-grid/ui-grid-menu-button",'<div class="ui-grid-menu-button"><div role="button" ui-grid-one-bind-id-grid="\'grid-menu\'" class="ui-grid-icon-container" ng-click="toggleMenu()" aria-haspopup="true"><i class="ui-grid-icon-menu" ui-grid-one-bind-aria-label="i18n.aria.buttonLabel">&nbsp;</i></div><div ui-grid-menu menu-items="menuItems"></div></div>'),e.put("ui-grid/ui-grid-no-header",'<div class="ui-grid-top-panel"></div>'),e.put("ui-grid/ui-grid-row","<div ng-repeat=\"(colRenderIndex, col) in colContainer.renderedColumns track by col.uid\" ui-grid-one-bind-id-grid=\"rowRenderIndex + '-' + col.uid + '-cell'\" class=\"ui-grid-cell\" ng-class=\"{ 'ui-grid-row-header-cell': col.isRowHeader }\" role=\"{{col.isRowHeader ? 'rowheader' : 'gridcell'}}\" ui-grid-cell></div>"),e.put("ui-grid/ui-grid",'<div ui-i18n="en" class="ui-grid">\x3c!-- TODO (c0bra): add "scoped" attr here, eventually? --\x3e<style ui-grid-style>.grid{{ grid.id }} {\n      /* Styles for the grid */\n    }\n\n    .grid{{ grid.id }} .ui-grid-row, .grid{{ grid.id }} .ui-grid-cell, .grid{{ grid.id }} .ui-grid-cell .ui-grid-vertical-bar {\n      height: {{ grid.options.rowHeight }}px;\n    }\n\n    .grid{{ grid.id }} .ui-grid-row:last-child .ui-grid-cell {\n      border-bottom-width: {{ ((grid.getTotalRowHeight() < grid.getViewportHeight()) && \'1\') || \'0\' }}px;\n    }\n\n    {{ grid.verticalScrollbarStyles }}\n    {{ grid.horizontalScrollbarStyles }}\n\n    /*\n    .ui-grid[dir=rtl] .ui-grid-viewport {\n      padding-left: {{ grid.verticalScrollbarWidth }}px;\n    }\n    */\n\n    {{ grid.customStyles }}</style><div class="ui-grid-contents-wrapper"><div ui-grid-menu-button ng-if="grid.options.enableGridMenu"></div><div ng-if="grid.hasLeftContainer()" style="width: 0" ui-grid-pinned-container="\'left\'"></div><div ui-grid-render-container container-id="\'body\'" col-container-name="\'body\'" row-container-name="\'body\'" bind-scroll-horizontal="true" bind-scroll-vertical="true" enable-horizontal-scrollbar="grid.options.enableHorizontalScrollbar" enable-vertical-scrollbar="grid.options.enableVerticalScrollbar"></div><div ng-if="grid.hasRightContainer()" style="width: 0" ui-grid-pinned-container="\'right\'"></div><div ui-grid-grid-footer ng-if="grid.options.showGridFooter"></div><div ui-grid-column-menu ng-if="grid.options.enableColumnMenus"></div><div ng-transclude></div></div></div>'),e.put("ui-grid/uiGridCell",'<div class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div>'),e.put("ui-grid/uiGridColumnMenu",'<div class="ui-grid-column-menu"><div ui-grid-menu menu-items="menuItems">\x3c!-- <div class="ui-grid-column-menu">\n    <div class="inner" ng-show="menuShown">\n      <ul>\n        <div ng-show="grid.options.enableSorting">\n          <li ng-click="sortColumn($event, asc)" ng-class="{ \'selected\' : col.sort.direction == asc }"><i class="ui-grid-icon-sort-alt-up"></i> Sort Ascending</li>\n          <li ng-click="sortColumn($event, desc)" ng-class="{ \'selected\' : col.sort.direction == desc }"><i class="ui-grid-icon-sort-alt-down"></i> Sort Descending</li>\n          <li ng-show="col.sort.direction" ng-click="unsortColumn()"><i class="ui-grid-icon-cancel"></i> Remove Sort</li>\n        </div>\n      </ul>\n    </div>\n  </div> --\x3e</div></div>'),e.put("ui-grid/uiGridFooterCell",'<div class="ui-grid-cell-contents" col-index="renderIndex"><div>{{ col.getAggregationText() + ( col.getAggregationValue() CUSTOM_FILTERS ) }}</div></div>'),e.put("ui-grid/uiGridHeaderCell",'<div role="columnheader" ng-class="{ \'sortable\': sortable }" ui-grid-one-bind-aria-labelledby-grid="col.uid + \'-header-text \' + col.uid + \'-sortdir-text\'" aria-sort="{{col.sort.direction == asc ? \'ascending\' : ( col.sort.direction == desc ? \'descending\' : (!col.sort.direction ? \'none\' : \'other\'))}}"><div role="button" tabindex="0" class="ui-grid-cell-contents ui-grid-header-cell-primary-focus" col-index="renderIndex" title="TOOLTIP"><span class="ui-grid-header-cell-label" ui-grid-one-bind-id-grid="col.uid + \'-header-text\'">{{ col.displayName CUSTOM_FILTERS }}</span> <span ui-grid-one-bind-id-grid="col.uid + \'-sortdir-text\'" ui-grid-visible="col.sort.direction" aria-label="{{getSortDirectionAriaLabel()}}"><i ng-class="{ \'ui-grid-icon-up-dir\': col.sort.direction == asc, \'ui-grid-icon-down-dir\': col.sort.direction == desc, \'ui-grid-icon-blank\': !col.sort.direction }" title="{{isSortPriorityVisible() ? i18n.headerCell.priority + \' \' + ( col.sort.priority + 1 )  : null}}" aria-hidden="true"></i> <sub ui-grid-visible="isSortPriorityVisible()" class="ui-grid-sort-priority-number">{{col.sort.priority + 1}}</sub></span></div><div role="button" tabindex="0" ui-grid-one-bind-id-grid="col.uid + \'-menu-button\'" class="ui-grid-column-menu-button" ng-if="grid.options.enableColumnMenus && !col.isRowHeader  && col.colDef.enableColumnMenu !== false" ng-click="toggleMenu($event)" ng-class="{\'ui-grid-column-menu-button-last-col\': isLastCol}" ui-grid-one-bind-aria-label="i18n.headerCell.aria.columnMenuButtonLabel" aria-haspopup="true"><i class="ui-grid-icon-angle-down" aria-hidden="true">&nbsp;</i></div><div ui-grid-filter></div></div>'),e.put("ui-grid/uiGridMenu",'<div class="ui-grid-menu" ng-if="shown"><style ui-grid-style>{{dynamicStyles}}</style><div class="ui-grid-menu-mid" ng-show="shownMid"><div class="ui-grid-menu-inner"><ul role="menu" class="ui-grid-menu-items"><li ng-repeat="item in menuItems" role="menuitem" ui-grid-menu-item ui-grid-one-bind-id="\'menuitem-\'+$index" action="item.action" name="item.title" active="item.active" icon="item.icon" shown="item.shown" context="item.context" template-url="item.templateUrl" leave-open="item.leaveOpen" screen-reader-only="item.screenReaderOnly"></li></ul></div></div></div>'),e.put("ui-grid/uiGridMenuItem",'<button type="button" class="ui-grid-menu-item" ng-click="itemAction($event, title)" ng-show="itemShown()" ng-class="{ \'ui-grid-menu-item-active\': active(), \'ui-grid-sr-only\': (!focus && screenReaderOnly) }" aria-pressed="{{active()}}" tabindex="0" ng-focus="focus=true" ng-blur="focus=false"><i ng-class="icon" aria-hidden="true">&nbsp;</i> {{ name }}</button>'),e.put("ui-grid/uiGridRenderContainer","<div role=\"grid\" ui-grid-one-bind-id-grid=\"'grid-container'\" class=\"ui-grid-render-container\" ng-style=\"{ 'margin-left': colContainer.getMargin('left') + 'px', 'margin-right': colContainer.getMargin('right') + 'px' }\">\x3c!-- All of these dom elements are replaced in place --\x3e<div ui-grid-header></div><div ui-grid-viewport></div><div ng-if=\"colContainer.needsHScrollbarPlaceholder()\" class=\"ui-grid-scrollbar-placeholder\" ng-style=\"{height:colContainer.grid.scrollbarHeight + 'px'}\"></div><ui-grid-footer ng-if=\"grid.options.showColumnFooter\"></ui-grid-footer></div>"),e.put("ui-grid/uiGridViewport",'<div role="rowgroup" class="ui-grid-viewport" ng-style="colContainer.getViewportStyle()">\x3c!-- tbody --\x3e<div class="ui-grid-canvas"><div ng-repeat="(rowRenderIndex, row) in rowContainer.renderedRows track by $index" class="ui-grid-row" ng-style="Viewport.rowStyle(rowRenderIndex)"><div role="row" ui-grid-row="row" row-render-index="rowRenderIndex"></div></div></div></div>'),e.put("ui-grid/cellEditor",'<div><form name="inputForm"><input type="INPUT_TYPE" ng-class="\'colt\' + col.uid" ui-grid-editor ng-model="MODEL_COL_FIELD"></form></div>'),e.put("ui-grid/dropdownEditor",'<div><form name="inputForm"><select ng-class="\'colt\' + col.uid" ui-grid-edit-dropdown ng-model="MODEL_COL_FIELD" ng-options="field[editDropdownIdLabel] as field[editDropdownValueLabel] CUSTOM_FILTERS for field in editDropdownOptionsArray"></select></form></div>'),e.put("ui-grid/fileChooserEditor",'<div><form name="inputForm"><input ng-class="\'colt\' + col.uid" ui-grid-edit-file-chooser type="file" id="files" name="files[]" ng-model="MODEL_COL_FIELD"></form></div>'),e.put("ui-grid/emptyBaseLayerContainer",'<div class="ui-grid-empty-base-layer-container ui-grid-canvas"><div class="ui-grid-row" ng-repeat="(rowRenderIndex, row) in grid.baseLayer.emptyRows track by $index" ng-style="Viewport.rowStyle(rowRenderIndex)"><div><div><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell {{ col.getColClass(false) }}"></div></div></div></div></div>'),e.put("ui-grid/expandableRow",'<div ui-grid-expandable-row ng-if="expandableRow.shouldRenderExpand()" class="expandableRow" style="float:left; margin-top: 1px; margin-bottom: 1px" ng-style="{width: (grid.renderContainers.body.getCanvasWidth()) + \'px\', height: row.expandedRowHeight + \'px\'}"></div>'),e.put("ui-grid/expandableRowHeader",'<div class="ui-grid-row-header-cell ui-grid-expandable-buttons-cell"><div class="ui-grid-cell-contents"><i ng-if="!row.groupHeader==true" ng-class="{ \'ui-grid-icon-plus-squared\' : !row.isExpanded, \'ui-grid-icon-minus-squared\' : row.isExpanded }" ng-click="grid.api.expandable.toggleRowExpansion(row.entity)"></i></div></div>'),e.put("ui-grid/expandableScrollFiller","<div ng-if=\"expandableRow.shouldRenderFiller()\" ng-class=\"{scrollFiller:true, scrollFillerClass:(colContainer.name === 'body')}\" ng-style=\"{ width: (grid.getViewportWidth()) + 'px', height: row.expandedRowHeight + 2 + 'px', 'margin-left': grid.options.rowHeader.rowHeaderWidth + 'px' }\"><i class=\"ui-grid-icon-spin5 ui-grid-animate-spin\" ng-style=\"{'margin-top': ( row.expandedRowHeight/2 - 5) + 'px', 'margin-left' : ((grid.getViewportWidth() - grid.options.rowHeader.rowHeaderWidth)/2 - 5) + 'px'}\"></i></div>"),e.put("ui-grid/expandableTopRowHeader",'<div class="ui-grid-row-header-cell ui-grid-expandable-buttons-cell"><div class="ui-grid-cell-contents"><i ng-class="{ \'ui-grid-icon-plus-squared\' : !grid.expandable.expandedAll, \'ui-grid-icon-minus-squared\' : grid.expandable.expandedAll }" ng-click="grid.api.expandable.toggleAllRows()"></i></div></div>'),e.put("ui-grid/csvLink",'<span class="ui-grid-exporter-csv-link-span"><a href="data:text/csv;charset=UTF-8,CSV_CONTENT" download="FILE_NAME">LINK_LABEL</a></span>'),e.put("ui-grid/importerMenuItem",'<li class="ui-grid-menu-item"><form><input class="ui-grid-importer-file-chooser" type="file" id="files" name="files[]"></form></li>'),e.put("ui-grid/importerMenuItemContainer","<div ui-grid-importer-menu-item></div>"),e.put("ui-grid/pagination",'<div role="contentinfo" class="ui-grid-pager-panel" ui-grid-pager ng-show="grid.options.enablePaginationControls"><div role="navigation" class="ui-grid-pager-container"><div role="menubar" class="ui-grid-pager-control"><button type="button" role="menuitem" class="ui-grid-pager-first" ui-grid-one-bind-title="aria.pageToFirst" ui-grid-one-bind-aria-label="aria.pageToFirst" ng-click="pageFirstPageClick()" ng-disabled="cantPageBackward()"><div ng-class="grid.isRTL() ? \'last-triangle\' : \'first-triangle\'"><div ng-class="grid.isRTL() ? \'last-bar-rtl\' : \'first-bar\'"></div></div></button> <button type="button" role="menuitem" class="ui-grid-pager-previous" ui-grid-one-bind-title="aria.pageBack" ui-grid-one-bind-aria-label="aria.pageBack" ng-click="pagePreviousPageClick()" ng-disabled="cantPageBackward()"><div ng-class="grid.isRTL() ? \'last-triangle prev-triangle\' : \'first-triangle prev-triangle\'"></div></button> <input type="number" ui-grid-one-bind-title="aria.pageSelected" ui-grid-one-bind-aria-label="aria.pageSelected" class="ui-grid-pager-control-input" ng-model="grid.options.paginationCurrentPage" min="1" max="{{ paginationApi.getTotalPages() }}" required> <span class="ui-grid-pager-max-pages-number" ng-show="paginationApi.getTotalPages() > 0"><abbr ui-grid-one-bind-title="paginationOf">/</abbr> {{ paginationApi.getTotalPages() }}</span> <button type="button" role="menuitem" class="ui-grid-pager-next" ui-grid-one-bind-title="aria.pageForward" ui-grid-one-bind-aria-label="aria.pageForward" ng-click="pageNextPageClick()" ng-disabled="cantPageForward()"><div ng-class="grid.isRTL() ? \'first-triangle next-triangle\' : \'last-triangle next-triangle\'"></div></button> <button type="button" role="menuitem" class="ui-grid-pager-last" ui-grid-one-bind-title="aria.pageToLast" ui-grid-one-bind-aria-label="aria.pageToLast" ng-click="pageLastPageClick()" ng-disabled="cantPageToLast()"><div ng-class="grid.isRTL() ? \'first-triangle\' : \'last-triangle\'"><div ng-class="grid.isRTL() ? \'first-bar-rtl\' : \'last-bar\'"></div></div></button></div><div class="ui-grid-pager-row-count-picker" ng-if="grid.options.paginationPageSizes.length > 1 && !grid.options.useCustomPagination"><select ui-grid-one-bind-aria-labelledby-grid="\'items-per-page-label\'" ng-model="grid.options.paginationPageSize" ng-options="o as o for o in grid.options.paginationPageSizes"></select><span ui-grid-one-bind-id-grid="\'items-per-page-label\'" class="ui-grid-pager-row-count-label">&nbsp;{{sizesLabel}}</span></div><span ng-if="grid.options.paginationPageSizes.length <= 1" class="ui-grid-pager-row-count-label">{{grid.options.paginationPageSize}}&nbsp;{{sizesLabel}}</span></div><div class="ui-grid-pager-count-container"><div class="ui-grid-pager-count"><span ng-show="grid.options.totalItems > 0">{{ 1 + paginationApi.getFirstRowIndex() }} <abbr ui-grid-one-bind-title="paginationThrough">-</abbr> {{ 1 + paginationApi.getLastRowIndex() }} {{paginationOf}} {{grid.options.totalItems}} {{totalItemsLabel}}</span></div></div></div>'),e.put("ui-grid/columnResizer",'<div ui-grid-column-resizer ng-if="grid.options.enableColumnResizing" class="ui-grid-column-resizer" col="col" position="right" render-index="renderIndex" unselectable="on"></div>'),e.put("ui-grid/gridFooterSelectedItems",'<span ng-if="grid.selection.selectedCount !== 0 && grid.options.enableFooterTotalSelected">({{"search.selectedItems" | t}} {{grid.selection.selectedCount}})</span>'),e.put("ui-grid/selectionHeaderCell",'<div>\x3c!-- <div class="ui-grid-vertical-bar">&nbsp;</div> --\x3e<div class="ui-grid-cell-contents" col-index="renderIndex"><ui-grid-selection-select-all-buttons ng-if="grid.options.enableSelectAll"></ui-grid-selection-select-all-buttons></div></div>'),e.put("ui-grid/selectionRowHeader",'<div class="ui-grid-disable-selection"><div class="ui-grid-cell-contents"><ui-grid-selection-row-header-buttons></ui-grid-selection-row-header-buttons></div></div>'),e.put("ui-grid/selectionRowHeaderButtons",'<div class="ui-grid-selection-row-header-buttons ui-grid-icon-ok" ng-class="{\'ui-grid-row-selected\': row.isSelected}" ng-click="selectButtonClick(row, $event)">&nbsp;</div>'),e.put("ui-grid/selectionSelectAllButtons",'<div class="ui-grid-selection-row-header-buttons ui-grid-icon-ok" ng-class="{\'ui-grid-all-selected\': grid.selection.selectAll}" ng-click="headerButtonClick($event)"></div>'),e.put("ui-grid/treeBaseExpandAllButtons",'<div class="ui-grid-tree-base-row-header-buttons" ng-class="{\'ui-grid-icon-minus-squared\': grid.treeBase.numberLevels > 0 && grid.treeBase.expandAll, \'ui-grid-icon-plus-squared\': grid.treeBase.numberLevels > 0 && !grid.treeBase.expandAll}" ng-click="headerButtonClick($event)"></div>'),e.put("ui-grid/treeBaseHeaderCell",'<div><div class="ui-grid-cell-contents" col-index="renderIndex"><ui-grid-tree-base-expand-all-buttons ng-if="grid.options.enableExpandAll"></ui-grid-tree-base-expand-all-buttons></div></div>'),e.put("ui-grid/treeBaseRowHeader",'<div class="ui-grid-cell-contents"><ui-grid-tree-base-row-header-buttons></ui-grid-tree-base-row-header-buttons></div>'),e.put("ui-grid/treeBaseRowHeaderButtons","<div class=\"ui-grid-tree-base-row-header-buttons\" ng-class=\"{'ui-grid-tree-base-header': row.treeLevel > -1 }\" ng-click=\"treeButtonClick(row, $event)\"><i ng-class=\"{'ui-grid-icon-minus-squared': ( ( grid.options.showTreeExpandNoChildren && row.treeLevel > -1 ) || ( row.treeNode.children && row.treeNode.children.length > 0 ) ) && row.treeNode.state === 'expanded', 'ui-grid-icon-plus-squared': ( ( grid.options.showTreeExpandNoChildren && row.treeLevel > -1 ) || ( row.treeNode.children && row.treeNode.children.length > 0 ) ) && row.treeNode.state === 'collapsed'}\" ng-style=\"{'padding-left': grid.options.treeIndent * row.treeLevel + 'px'}\"></i> &nbsp;</div>"),e.put("ui-grid/cellTitleValidator",'<div class="ui-grid-cell-contents" ng-class="{invalid:grid.validate.isInvalid(row.entity,col.colDef)}" title="{{grid.validate.getTitleFormattedErrors(row.entity,col.colDef)}}">{{COL_FIELD CUSTOM_FILTERS}}</div>'),e.put("ui-grid/cellTooltipValidator",'<div class="ui-grid-cell-contents" ng-class="{invalid:grid.validate.isInvalid(row.entity,col.colDef)}" tooltip-html-unsafe="{{grid.validate.getFormattedErrors(row.entity,col.colDef)}}" tooltip-enable="grid.validate.isInvalid(row.entity,col.colDef)" tooltip-append-to-body="true" tooltip-placement="top" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div>')}]),function(e){e(["jquery"],(function(e){return function(){function t(t,n){return t||(t=a()),(l=e("#"+t.containerId)).length||n&&(l=function(t){return(l=e("<div/>").attr("id",t.containerId).addClass(t.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(t.target)),l}(t)),l}function n(t){for(var n=l.children(),r=n.length-1;r>=0;r--)i(e(n[r]),t)}function i(t,n){return!(!t||0!==e(":focus",t).length||(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){s(t)}}),0))}function r(e){c&&c(e)}function o(n){function i(t){return!e(":focus",h).length||t?(clearTimeout(b.intervalId),h[o.hideMethod]({duration:o.hideDuration,easing:o.hideEasing,complete:function(){s(h),o.onHidden&&"hidden"!==y.state&&o.onHidden(),y.state="hidden",y.endTime=new Date,r(y)}})):void 0}var o=a(),c=n.iconClass||o.iconClass;if(void 0!==n.optionsOverride&&(o=e.extend(o,n.optionsOverride),c=n.optionsOverride.iconClass||c),o.preventDuplicates){if(n.message===u)return;u=n.message}d++,l=t(o,!0);var p=null,h=e("<div/>"),f=e("<div/>"),g=e("<div/>"),m=e("<div/>"),v=e(o.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},y={toastId:d,state:"visible",startTime:new Date,options:o,map:n};return n.iconClass&&h.addClass(o.toastClass).addClass(c),n.title&&(f.append(n.title).addClass(o.titleClass),h.append(f)),n.message&&(g.append(n.message).addClass(o.messageClass),h.append(g)),o.closeButton&&(v.addClass("toast-close-button").attr("role","button"),h.prepend(v)),o.progressBar&&(m.addClass("toast-progress"),h.prepend(m)),h.hide(),o.newestOnTop?l.prepend(h):l.append(h),h[o.showMethod]({duration:o.showDuration,easing:o.showEasing,complete:o.onShown}),o.timeOut>0&&(p=setTimeout(i,o.timeOut),b.maxHideTime=parseFloat(o.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,o.progressBar&&(b.intervalId=setInterval((function(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;m.width(e+"%")}),10))),h.hover((function(){clearTimeout(p),b.hideEta=0,h.stop(!0,!0)[o.showMethod]({duration:o.showDuration,easing:o.showEasing})}),(function(){(o.timeOut>0||o.extendedTimeOut>0)&&(p=setTimeout(i,o.extendedTimeOut),b.maxHideTime=parseFloat(o.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)})),!o.onclick&&o.tapToDismiss&&h.click(i),o.closeButton&&v&&v.click((function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),i(!0)})),o.onclick&&h.click((function(){o.onclick(),i()})),r(y),o.debug&&console&&console.log(y),h}function a(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",target:"body",closeHtml:'<button type="button">&times;</button>',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},p.options)}function s(e){l||(l=t()),e.is(":visible")||(e.remove(),e=null,0===l.children().length&&(l.remove(),u=void 0))}var l,c,u,d=0,p={clear:function(e){var r=a();l||t(r),i(e,r)||n(r)},remove:function(n){var i=a();return l||t(i),n&&0===e(":focus",n).length?void s(n):void(l.children().length&&l.remove())},error:function(e,t,n){return o({type:"error",iconClass:a().iconClasses.error,message:e,optionsOverride:n,title:t})},getContainer:t,info:function(e,t,n){return o({type:"info",iconClass:a().iconClasses.info,message:e,optionsOverride:n,title:t})},options:{},subscribe:function(e){c=e},success:function(e,t,n){return o({type:"success",iconClass:a().iconClasses.success,message:e,optionsOverride:n,title:t})},version:"2.1.0",warning:function(e,t,n){return o({type:"warning",iconClass:a().iconClasses.warning,message:e,optionsOverride:n,title:t})}};return p}()}))}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),(function(){"use strict";var e=this,t=e.Chart,n=function(e){this.canvas=e.canvas,this.ctx=e;var t=function(e,t){return e["offset"+t]?e["offset"+t]:document.defaultView.getComputedStyle(e).getPropertyValue(t)},n=this.width=t(e.canvas,"Width"),r=this.height=t(e.canvas,"Height");return e.canvas.width=n,e.canvas.height=r,n=this.width=e.canvas.width,r=this.height=e.canvas.height,this.aspectRatio=this.width/this.height,i.retinaScale(this),this};n.defaults={global:{animation:!0,animationSteps:60,animationEasing:"easeOutQuart",showScale:!0,scaleOverride:!1,scaleSteps:null,scaleStepWidth:null,scaleStartValue:null,scaleLineColor:"rgba(0,0,0,.1)",scaleLineWidth:1,scaleShowLabels:!0,scaleLabel:"<%=value%>",scaleIntegersOnly:!0,scaleBeginAtZero:!1,scaleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",scaleFontSize:12,scaleFontStyle:"normal",scaleFontColor:"#666",responsive:!1,maintainAspectRatio:!0,showTooltips:!0,customTooltips:!1,tooltipEvents:["mousemove","touchstart","touchmove","mouseout"],tooltipFillColor:"rgba(0,0,0,0.8)",tooltipFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipFontSize:14,tooltipFontStyle:"normal",tooltipFontColor:"#fff",tooltipTitleFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",tooltipTitleFontSize:14,tooltipTitleFontStyle:"bold",tooltipTitleFontColor:"#fff",tooltipYPadding:6,tooltipXPadding:6,tooltipCaretSize:8,tooltipCornerRadius:6,tooltipXOffset:10,tooltipTemplate:"<%if (label){%><%=label%>: <%}%><%= value %>",multiTooltipTemplate:"<%= value %>",multiTooltipKeyBackground:"#fff",onAnimationProgress:function(){},onAnimationComplete:function(){}}},n.types={};var i=n.helpers={},r=i.each=function(e,t,n){var i,r,o=Array.prototype.slice.call(arguments,3);if(e)if(e.length===+e.length)for(i=0;i<e.length;i++)t.apply(n,[e[i],i].concat(o));else for(r in e)t.apply(n,[e[r],r].concat(o))},o=i.clone=function(e){var t={};return r(e,(function(n,i){e.hasOwnProperty(i)&&(t[i]=n)})),t},a=i.extend=function(e){return r(Array.prototype.slice.call(arguments,1),(function(t){r(t,(function(n,i){t.hasOwnProperty(i)&&(e[i]=n)}))})),e},s=i.merge=function(){var e=Array.prototype.slice.call(arguments,0);return e.unshift({}),a.apply(null,e)},l=i.indexOf=function(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},c=(i.where=function(e,t){var n=[];return i.each(e,(function(e){t(e)&&n.push(e)})),n},i.findNextWhere=function(e,t,n){var i,r;for(n||(n=-1),i=n+1;i<e.length;i++)if(t(r=e[i]))return r},i.findPreviousWhere=function(e,t,n){var i,r;for(n||(n=e.length),i=n-1;i>=0;i--)if(t(r=e[i]))return r},i.inherits=function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=c,e&&a(n.prototype,e),n.__super__=t.prototype,n}),u=i.noop=function(){},d=i.uid=function(){var e=0;return function(){return"chart-"+e++}}(),p=i.warn=function(e){window.console&&"function"==typeof window.console.warn&&console.warn(e)},h=i.amd="function"==typeof define&&define.amd,f=i.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},g=i.max=function(e){return Math.max.apply(Math,e)},m=i.min=function(e){return Math.min.apply(Math,e)},v=(i.cap=function(e,t,n){if(f(t)){if(e>t)return t}else if(f(n)&&e<n)return n;return e},i.getDecimalPlaces=function(e){return e%1!=0&&f(e)?e.toString().split(".")[1].length:0}),b=i.radians=function(e){return e*(Math.PI/180)},y=(i.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),o=2*Math.PI+Math.atan2(i,n);return n<0&&i<0&&(o+=2*Math.PI),{angle:o,distance:r}},i.aliasPixel=function(e){return e%2==0?0:.5}),M=(i.splineCurve=function(e,t,n,i){var r=Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)),o=Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2)),a=i*r/(r+o),s=i*o/(r+o);return{inner:{x:t.x-a*(n.x-e.x),y:t.y-a*(n.y-e.y)},outer:{x:t.x+s*(n.x-e.x),y:t.y+s*(n.y-e.y)}}},i.calculateOrderOfMagnitude=function(e){return Math.floor(Math.log(e)/Math.LN10)}),w=(i.calculateScaleRange=function(e,t,n,i,r){var o=Math.floor(t/(1.5*n)),a=2>=o,s=g(e),l=m(e);s===l&&(s+=.5,l>=.5&&!i?l-=.5:s+=.5);for(var c=Math.abs(s-l),u=M(c),d=Math.ceil(s/(1*Math.pow(10,u)))*Math.pow(10,u),p=i?0:Math.floor(l/(1*Math.pow(10,u)))*Math.pow(10,u),h=d-p,f=Math.pow(10,u),v=Math.round(h/f);(v>o||2*v<o)&&!a;)if(v>o)f*=2,(v=Math.round(h/f))%1!=0&&(a=!0);else if(r&&u>=0){if(f/2%1!=0)break;f/=2,v=Math.round(h/f)}else f/=2,v=Math.round(h/f);return a&&(f=h/(v=2)),0==v&&(v=10,f=10),{steps:v,stepValue:f,min:p,max:p+v*f}},i.template=function(e,t){if(e instanceof Function)return e(t);var n={};return function(e,t){var i=/\W/.test(e)?new Function("obj","var p=[],print=function(){p.push.apply(p,arguments);};with(obj){p.push('"+e.replace(/[\r\t\n]/g," ").split("<%").join("\t").replace(/((^|%>)[^\t]*)'/g,"$1\r").replace(/\t=(.*?)%>/g,"',$1,'").split("\t").join("');").split("%>").join("p.push('").split("\r").join("\\'")+"');}return p.join('');"):n[e]=n[e];return t?i(t):i}(e,t)}),C=(i.generateLabels=function(e,t,n,i){var o=new Array(t);return labelTemplateString&&r(o,(function(t,r){o[r]=w(e,{value:n+i*(r+1)})})),o},i.easingEffects={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-1*e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return 1*((e=e/1-1)*e*e+1)},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-1*((e=e/1-1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return 1*(e/=1)*e*e*e*e},easeOutQuint:function(e){return 1*((e=e/1-1)*e*e*e*e+1)},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return-1*Math.cos(e/1*(Math.PI/2))+1},easeOutSine:function(e){return 1*Math.sin(e/1*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e/1)-1)},easeInExpo:function(e){return 0===e?1:1*Math.pow(2,10*(e/1-1))},easeOutExpo:function(e){return 1===e?1:1*(1-Math.pow(2,-10*e))},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-1*(Math.sqrt(1-(e/=1)*e)-1)},easeOutCirc:function(e){return 1*Math.sqrt(1-(e=e/1-1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin(2*(1*e-t)*Math.PI/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1==(e/=1)?1:(n||(n=.3),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin(2*(1*e-t)*Math.PI/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.3*1.5),i<Math.abs(1)?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?-.5*i*Math.pow(2,10*(e-=1))*Math.sin(2*(1*e-t)*Math.PI/n):i*Math.pow(2,-10*(e-=1))*Math.sin(2*(1*e-t)*Math.PI/n)*.5+1)},easeInBack:function(e){var t=1.70158;return 1*(e/=1)*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return 1*((e=e/1-1)*e*((t+1)*e+t)+1)},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?.5*e*e*((1+(t*=1.525))*e-t):.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-C.easeOutBounce(1-e)},easeOutBounce:function(e){return(e/=1)<1/2.75?7.5625*e*e:e<2/2.75?1*(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1*(7.5625*(e-=2.25/2.75)*e+.9375):1*(7.5625*(e-=2.625/2.75)*e+.984375)},easeInOutBounce:function(e){return e<.5?.5*C.easeInBounce(2*e):.5*C.easeOutBounce(2*e-1)+.5}}),A=i.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},x=i.cancelAnimFrame=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||function(e){return window.clearTimeout(e,1e3/60)},S=(i.animationLoop=function(e,t,n,i,r,o){var a=0,s=C[n]||C.linear,l=function(){var n=++a/t,c=s(n);e.call(o,c,n,a),i.call(o,c,n),a<t?o.animationFrame=A(l):r.apply(o)};A(l)},i.getRelativePosition=function(e){var t,n,i=e.originalEvent||e,r=(e.currentTarget||e.srcElement).getBoundingClientRect();return i.touches?(t=i.touches[0].clientX-r.left,n=i.touches[0].clientY-r.top):(t=i.clientX-r.left,n=i.clientY-r.top),{x:t,y:n}},i.addEvent=function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}),z=i.removeEvent=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=u},T=(i.bindEvents=function(e,t,n){e.events||(e.events={}),r(t,(function(t){e.events[t]=function(){n.apply(e,arguments)},S(e.chart.canvas,t,e.events[t])}))},i.unbindEvents=function(e,t){r(t,(function(t,n){z(e.chart.canvas,n,t)}))}),k=i.getMaximumWidth=function(e){return e.parentNode.clientWidth},$=i.getMaximumHeight=function(e){return e.parentNode.clientHeight},_=(i.getMaximumSize=i.getMaximumWidth,i.retinaScale=function(e){var t=e.ctx,n=e.canvas.width,i=e.canvas.height;window.devicePixelRatio&&(t.canvas.style.width=n+"px",t.canvas.style.height=i+"px",t.canvas.height=i*window.devicePixelRatio,t.canvas.width=n*window.devicePixelRatio,t.scale(window.devicePixelRatio,window.devicePixelRatio))}),O=i.clear=function(e){e.ctx.clearRect(0,0,e.width,e.height)},E=i.fontString=function(e,t,n){return t+" "+e+"px "+n},L=i.longestText=function(e,t,n){e.font=t;var i=0;return r(n,(function(t){var n=e.measureText(t).width;i=n>i?n:i})),i},N=i.drawRoundedRectangle=function(e,t,n,i,r,o){e.beginPath(),e.moveTo(t+o,n),e.lineTo(t+i-o,n),e.quadraticCurveTo(t+i,n,t+i,n+o),e.lineTo(t+i,n+r-o),e.quadraticCurveTo(t+i,n+r,t+i-o,n+r),e.lineTo(t+o,n+r),e.quadraticCurveTo(t,n+r,t,n+r-o),e.lineTo(t,n+o),e.quadraticCurveTo(t,n,t+o,n),e.closePath()};n.instances={},a((n.Type=function(e,t,i){this.options=t,this.chart=i,this.id=d(),n.instances[this.id]=this,t.responsive&&this.resize(),this.initialize.call(this,e)}).prototype,{initialize:function(){return this},clear:function(){return O(this.chart),this},stop:function(){return x(this.animationFrame),this},resize:function(e){this.stop();var t=this.chart.canvas,n=k(this.chart.canvas),i=this.options.maintainAspectRatio?n/this.chart.aspectRatio:$(this.chart.canvas);return t.width=this.chart.width=n,t.height=this.chart.height=i,_(this.chart),"function"==typeof e&&e.apply(this,Array.prototype.slice.call(arguments,1)),this},reflow:u,render:function(e){return e&&this.reflow(),this.options.animation&&!e?i.animationLoop(this.draw,this.options.animationSteps,this.options.animationEasing,this.options.onAnimationProgress,this.options.onAnimationComplete,this):(this.draw(),this.options.onAnimationComplete.call(this)),this},generateLegend:function(){return w(this.options.legendTemplate,this)},destroy:function(){this.clear(),T(this,this.events);var e=this.chart.canvas;e.width=this.chart.width,e.height=this.chart.height,e.style.removeProperty?(e.style.removeProperty("width"),e.style.removeProperty("height")):(e.style.removeAttribute("width"),e.style.removeAttribute("height")),delete n.instances[this.id]},showTooltip:function(e,t){var o,a;if(void 0===this.activeElements&&(this.activeElements=[]),(function(e){var t=!1;return e.length!==this.activeElements.length?t=!0:(r(e,(function(e,n){e!==this.activeElements[n]&&(t=!0)}),this),t)}).call(this,e)||t){if(this.activeElements=e,this.draw(),this.options.customTooltips&&this.options.customTooltips(!1),e.length>0)if(this.datasets&&this.datasets.length>1){for(a=this.datasets.length-1;a>=0&&-1===(o=l(this.datasets[a].points||this.datasets[a].bars||this.datasets[a].segments,e[0]));a--);var s=[],c=[],u=(function(){var e,t,n,r,a,l=[],u=[],d=[];return i.each(this.datasets,(function(t){(e=t.points||t.bars||t.segments)[o]&&e[o].hasValue()&&l.push(e[o])})),i.each(l,(function(e){u.push(e.x),d.push(e.y),s.push(i.template(this.options.multiTooltipTemplate,e)),c.push({fill:e._saved.fillColor||e.fillColor,stroke:e._saved.strokeColor||e.strokeColor})}),this),a=m(d),n=g(d),r=m(u),t=g(u),{x:r>this.chart.width/2?r:t,y:(a+n)/2}}).call(this,o);new n.MultiTooltip({x:u.x,y:u.y,xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,xOffset:this.options.tooltipXOffset,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,titleTextColor:this.options.tooltipTitleFontColor,titleFontFamily:this.options.tooltipTitleFontFamily,titleFontStyle:this.options.tooltipTitleFontStyle,titleFontSize:this.options.tooltipTitleFontSize,cornerRadius:this.options.tooltipCornerRadius,labels:s,legendColors:c,legendColorBackground:this.options.multiTooltipKeyBackground,title:e[0].label,chart:this.chart,ctx:this.chart.ctx,custom:this.options.customTooltips}).draw()}else r(e,(function(e){if(-1!=e.value){var t=e.tooltipPosition();new n.Tooltip({x:Math.round(t.x),y:Math.round(t.y),xPadding:this.options.tooltipXPadding,yPadding:this.options.tooltipYPadding,fillColor:this.options.tooltipFillColor,textColor:this.options.tooltipFontColor,fontFamily:this.options.tooltipFontFamily,fontStyle:this.options.tooltipFontStyle,fontSize:this.options.tooltipFontSize,caretHeight:this.options.tooltipCaretSize,cornerRadius:this.options.tooltipCornerRadius,text:w(this.options.tooltipTemplate,e),chart:this.chart,custom:this.options.customTooltips}).draw()}}),this);return this}},toBase64Image:function(){return this.chart.canvas.toDataURL.apply(this.chart.canvas,arguments)}}),n.Type.extend=function(e){var t,i,r=this,l=function(){return r.apply(this,arguments)};return l.prototype=o(r.prototype),a(l.prototype,e),l.extend=n.Type.extend,e.name||r.prototype.name?(t=e.name||r.prototype.name,i=n.defaults[r.prototype.name]?o(n.defaults[r.prototype.name]):{},n.defaults[t]=a(i,e.defaults),n.types[t]=l,n.prototype[t]=function(e,i){var r=s(n.defaults.global,n.defaults[t],i||{});return new l(e,r,this)}):p("Name not provided for this chart, so it hasn't been registered"),r},n.Element=function(e){a(this,e),this.initialize.apply(this,arguments),this.save()},a(n.Element.prototype,{initialize:function(){},restore:function(e){return e?r(e,(function(e){this[e]=this._saved[e]}),this):a(this,this._saved),this},save:function(){return this._saved=o(this),delete this._saved._saved,this},update:function(e){return r(e,(function(e,t){this._saved[t]=this[t],this[t]=e}),this),this},transition:function(e,t){return r(e,(function(e,n){this[n]=(e-this._saved[n])*t+this._saved[n]}),this),this},tooltipPosition:function(){return{x:this.x,y:this.y}},hasValue:function(){return f(this.value)}}),n.Element.extend=c,n.Point=n.Element.extend({display:!0,inRange:function(e,t){var n=this.hitDetectionRadius+this.radius;return Math.pow(e-this.x,2)+Math.pow(t-this.y,2)<Math.pow(n,2)},draw:function(){if(this.display){var e=this.ctx;e.beginPath(),e.arc(this.x,this.y,this.radius,0,2*Math.PI),e.closePath(),e.strokeStyle=this.strokeColor,e.lineWidth=this.strokeWidth,e.fillStyle=this.fillColor,e.fill(),e.stroke()}}}),n.Arc=n.Element.extend({inRange:function(e,t){var n=i.getAngleFromPoint(this,{x:e,y:t});return n.angle>=this.startAngle&&n.angle<=this.endAngle&&n.distance>=this.innerRadius&&n.distance<=this.outerRadius},tooltipPosition:function(){var e=this.startAngle+(this.endAngle-this.startAngle)/2,t=(this.outerRadius-this.innerRadius)/2+this.innerRadius;return{x:this.x+Math.cos(e)*t,y:this.y+Math.sin(e)*t}},draw:function(e){var t=this.ctx;t.beginPath(),t.arc(this.x,this.y,this.outerRadius,this.startAngle,this.endAngle),t.arc(this.x,this.y,this.innerRadius,this.endAngle,this.startAngle,!0),t.closePath(),t.strokeStyle=this.strokeColor,t.lineWidth=this.strokeWidth,t.fillStyle=this.fillColor,t.fill(),t.lineJoin="bevel",this.showStroke&&t.stroke()}}),n.Rectangle=n.Element.extend({draw:function(){var e=this.ctx,t=this.width/2,n=this.x-t,i=this.x+t,r=this.base-(this.base-this.y),o=this.strokeWidth/2;this.showStroke&&(n+=o,i-=o,r+=o),e.beginPath(),e.fillStyle=this.fillColor,e.strokeStyle=this.strokeColor,e.lineWidth=this.strokeWidth,e.moveTo(n,this.base),e.lineTo(n,r),e.lineTo(i,r),e.lineTo(i,this.base),e.fill(),this.showStroke&&e.stroke()},height:function(){return this.base-this.y},inRange:function(e,t){return e>=this.x-this.width/2&&e<=this.x+this.width/2&&t>=this.y&&t<=this.base}}),n.Tooltip=n.Element.extend({draw:function(){var e,t,n=this.chart.ctx;n.font=E(this.fontSize,this.fontStyle,this.fontFamily),this.xAlign="center",this.yAlign="above";var i=this.caretPadding=2,r=n.measureText(this.text).width+2*this.xPadding,o=this.fontSize+2*this.yPadding,a=o+this.caretHeight+i;if(this.x+r/2>this.chart.width?this.xAlign="left":this.x-r/2<0&&(this.xAlign="right"),this.y-a<0&&(this.yAlign="below"),e=this.x-r/2,t=this.y-a,n.fillStyle=this.fillColor,this.custom)this.custom(this);else{switch(this.yAlign){case"above":n.beginPath(),n.moveTo(this.x,this.y-i),n.lineTo(this.x+this.caretHeight,this.y-(i+this.caretHeight)),n.lineTo(this.x-this.caretHeight,this.y-(i+this.caretHeight)),n.closePath(),n.fill();break;case"below":t=this.y+i+this.caretHeight,n.beginPath(),n.moveTo(this.x,this.y+i),n.lineTo(this.x+this.caretHeight,this.y+i+this.caretHeight),n.lineTo(this.x-this.caretHeight,this.y+i+this.caretHeight),n.closePath(),n.fill()}switch(this.xAlign){case"left":e=this.x-r+(this.cornerRadius+this.caretHeight);break;case"right":e=this.x-(this.cornerRadius+this.caretHeight)}N(n,e,t,r,o,this.cornerRadius),n.fill(),n.fillStyle=this.textColor,n.textAlign="center",n.textBaseline="middle",n.fillText(this.text,e+r/2,t+o/2)}}}),n.MultiTooltip=n.Element.extend({initialize:function(){var e;this.font=E(this.fontSize,this.fontStyle,this.fontFamily),this.titleFont=E(this.titleFontSize,this.titleFontStyle,this.titleFontFamily),this.height=this.labels.length*this.fontSize+this.fontSize/2*(this.labels.length-1)+2*this.yPadding+1.5*this.titleFontSize,this.ctx.font=this.titleFont;var t=this.ctx.measureText(this.title).width,n=L(this.ctx,this.font,this.labels)+this.fontSize+3,i=g([n,t]);this.width=i+2*this.xPadding,this.y-(e=this.height/2)<0?this.y=e:this.y+e>this.chart.height&&(this.y=this.chart.height-e),this.x>this.chart.width/2?this.x-=this.xOffset+this.width:this.x+=this.xOffset},getLineHeight:function(e){var t=this.y-this.height/2+this.yPadding;return 0===e?t+this.titleFontSize/2:t+(1.5*this.fontSize*(e-1)+this.fontSize/2)+1.5*this.titleFontSize},draw:function(){if(this.custom)this.custom(this);else{N(this.ctx,this.x,this.y-this.height/2,this.width,this.height,this.cornerRadius);var e=this.ctx;e.fillStyle=this.fillColor,e.fill(),e.closePath(),e.textAlign="left",e.textBaseline="middle",e.fillStyle=this.titleTextColor,e.font=this.titleFont,e.fillText(this.title,this.x+this.xPadding,this.getLineHeight(0)),e.font=this.font,i.each(this.labels,(function(t,n){e.fillStyle=this.textColor,e.fillText(t,this.x+this.xPadding+this.fontSize+3,this.getLineHeight(n+1)),e.fillStyle=this.legendColorBackground,e.fillRect(this.x+this.xPadding,this.getLineHeight(n+1)-this.fontSize/2,this.fontSize,this.fontSize),e.fillStyle=this.legendColors[n].fill,e.fillRect(this.x+this.xPadding,this.getLineHeight(n+1)-this.fontSize/2,this.fontSize,this.fontSize)}),this)}}}),n.Scale=n.Element.extend({initialize:function(){this.fit()},buildYLabels:function(){var e,t;for(this.yLabels=[],e=v(this.stepValue),t=0;t<=this.steps;t++)this.yLabels.push(w(this.templateString,{value:(this.min+t*this.stepValue).toFixed(e)}));this.yLabelWidth=this.display&&this.showLabels?L(this.ctx,this.font,this.yLabels):0},addXLabel:function(e){this.xLabels.push(e),this.valuesCount++,this.fit()},removeXLabel:function(){this.xLabels.shift(),this.valuesCount--,this.fit()},fit:function(){this.startPoint=this.display?this.fontSize:0,this.endPoint=this.display?this.height-1.5*this.fontSize-5:this.height,this.startPoint+=this.padding,this.endPoint-=this.padding;var e,t=this.endPoint-this.startPoint;for(this.calculateYRange(t),this.buildYLabels(),this.calculateXLabelRotation();t>this.endPoint-this.startPoint;)e=this.yLabelWidth,this.calculateYRange(t=this.endPoint-this.startPoint),this.buildYLabels(),e<this.yLabelWidth&&this.calculateXLabelRotation()},calculateXLabelRotation:function(){var e,t,n,i,r,o;if(this.ctx.font=this.font,e=this.ctx.measureText(this.xLabels[0]).width,t=this.ctx.measureText(this.xLabels[this.xLabels.length-1]).width,this.xScalePaddingRight=t/2+3,this.xScalePaddingLeft=e/2>this.yLabelWidth+10?e/2:this.yLabelWidth+10,this.xLabelRotation=0,this.display){for(i=L(this.ctx,this.font,this.xLabels),this.xLabelWidth=i,o=Math.floor(this.calculateX(1)-this.calculateX(0))-6;this.xLabelWidth>o&&0===this.xLabelRotation||this.xLabelWidth>o&&this.xLabelRotation<=90&&this.xLabelRotation>0;)(n=(r=Math.cos(b(this.xLabelRotation)))*e)+this.fontSize/2>this.yLabelWidth+8&&(this.xScalePaddingLeft=n+this.fontSize/2),this.xScalePaddingRight=this.fontSize/2,this.xLabelRotation++,this.xLabelWidth=r*i;this.xLabelRotation>0&&(this.endPoint-=Math.sin(b(this.xLabelRotation))*i+3)}else this.xLabelWidth=0,this.xScalePaddingRight=this.padding,this.xScalePaddingLeft=this.padding},calculateYRange:u,drawingArea:function(){return this.startPoint-this.endPoint},calculateY:function(e){var t=this.drawingArea()/(this.min-this.max);return this.endPoint-t*(e-this.min)},calculateX:function(e){var t=(this.width-(this.xScalePaddingLeft+this.xScalePaddingRight))/Math.max(this.valuesCount-(this.offsetGridLines?0:1),1),n=t*e+this.xScalePaddingLeft;return this.offsetGridLines&&(n+=t/2),Math.round(n)},update:function(e){i.extend(this,e),this.fit()},draw:function(){var e=this.ctx,t=(this.endPoint-this.startPoint)/this.steps,n=Math.round(this.xScalePaddingLeft);this.display&&(e.fillStyle=this.textColor,e.font=this.font,r(this.yLabels,(function(r,o){var a=this.endPoint-t*o,s=Math.round(a),l=this.showHorizontalLines;e.textAlign="right",e.textBaseline="middle",this.showLabels&&e.fillText(r,n-10,a),0!==o||l||(l=!0),l&&e.beginPath(),o>0?(e.lineWidth=this.gridLineWidth,e.strokeStyle=this.gridLineColor):(e.lineWidth=this.lineWidth,e.strokeStyle=this.lineColor),s+=i.aliasPixel(e.lineWidth),l&&(e.moveTo(n,s),e.lineTo(this.width,s),e.stroke(),e.closePath()),e.lineWidth=this.lineWidth,e.strokeStyle=this.lineColor,e.beginPath(),e.moveTo(n-5,s),e.lineTo(n,s),e.stroke(),e.closePath()}),this),r(this.xLabels,(function(t,n){var i=this.calculateX(n)+y(this.lineWidth),r=this.calculateX(n-(this.offsetGridLines?.5:0))+y(this.lineWidth),o=this.xLabelRotation>0,a=this.showVerticalLines;0!==n||a||(a=!0),a&&e.beginPath(),n>0?(e.lineWidth=this.gridLineWidth,e.strokeStyle=this.gridLineColor):(e.lineWidth=this.lineWidth,e.strokeStyle=this.lineColor),a&&(e.moveTo(r,this.endPoint),e.lineTo(r,this.startPoint-3),e.stroke(),e.closePath()),e.lineWidth=this.lineWidth,e.strokeStyle=this.lineColor,e.beginPath(),e.moveTo(r,this.endPoint),e.lineTo(r,this.endPoint+5),e.stroke(),e.closePath(),e.save(),e.translate(i,o?this.endPoint+12:this.endPoint+8),e.rotate(-1*b(this.xLabelRotation)),e.font=this.font,e.textAlign=o?"right":"center",e.textBaseline=o?"middle":"top",e.fillText(t,0,0),e.restore()}),this))}}),n.RadialScale=n.Element.extend({initialize:function(){this.size=m([this.height,this.width]),this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2},calculateCenterOffset:function(e){return this.drawingArea/(this.max-this.min)*(e-this.min)},update:function(){this.lineArc?this.drawingArea=this.display?this.size/2-(this.fontSize/2+this.backdropPaddingY):this.size/2:this.setScaleSize(),this.buildYLabels()},buildYLabels:function(){var e,t;for(this.yLabels=[],e=v(this.stepValue),t=0;t<=this.steps;t++)this.yLabels.push(w(this.templateString,{value:(this.min+t*this.stepValue).toFixed(e)}))},getCircumference:function(){return 2*Math.PI/this.valuesCount},setScaleSize:function(){var e,t,n,i,r,o,a,s,l,c,u,d,p=m([this.height/2-this.pointLabelFontSize-5,this.width/2]),h=this.width,g=0;for(this.ctx.font=E(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),t=0;t<this.valuesCount;t++)e=this.getPointPosition(t,p),n=this.ctx.measureText(w(this.templateString,{value:this.labels[t]})).width+5,0===t||t===this.valuesCount/2?(e.x+(i=n/2)>h&&(h=e.x+i,r=t),e.x-i<g&&(g=e.x-i,a=t)):t<this.valuesCount/2?e.x+n>h&&(h=e.x+n,r=t):t>this.valuesCount/2&&e.x-n<g&&(g=e.x-n,a=t);l=g,c=Math.ceil(h-this.width),o=this.getIndexAngle(r),s=this.getIndexAngle(a),u=c/Math.sin(o+Math.PI/2),d=l/Math.sin(s+Math.PI/2),u=f(u)?u:0,d=f(d)?d:0,this.drawingArea=p-(d+u)/2,this.setCenterPoint(d,u)},setCenterPoint:function(e,t){this.xCenter=(e+this.drawingArea+(this.width-t-this.drawingArea))/2,this.yCenter=this.height/2},getIndexAngle:function(e){return e*(2*Math.PI/this.valuesCount)-Math.PI/2},getPointPosition:function(e,t){var n=this.getIndexAngle(e);return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},draw:function(){var e,t,n,i;if(this.display&&(e=this.ctx,r(this.yLabels,(function(t,n){var i,r,o,a,s;if(n>0){if(r=this.yCenter-(i=n*(this.drawingArea/this.steps)),this.lineWidth>0)if(e.strokeStyle=this.lineColor,e.lineWidth=this.lineWidth,this.lineArc)e.beginPath(),e.arc(this.xCenter,this.yCenter,i,0,2*Math.PI),e.closePath(),e.stroke();else{for(e.beginPath(),a=0;a<this.valuesCount;a++)o=this.getPointPosition(a,this.calculateCenterOffset(this.min+n*this.stepValue)),0===a?e.moveTo(o.x,o.y):e.lineTo(o.x,o.y);e.closePath(),e.stroke()}this.showLabels&&(e.font=E(this.fontSize,this.fontStyle,this.fontFamily),this.showLabelBackdrop&&(s=e.measureText(t).width,e.fillStyle=this.backdropColor,e.fillRect(this.xCenter-s/2-this.backdropPaddingX,r-this.fontSize/2-this.backdropPaddingY,s+2*this.backdropPaddingX,this.fontSize+2*this.backdropPaddingY)),e.textAlign="center",e.textBaseline="middle",e.fillStyle=this.fontColor,e.fillText(t,this.xCenter,r))}}),this),!this.lineArc))for(e.lineWidth=this.angleLineWidth,e.strokeStyle=this.angleLineColor,t=this.valuesCount-1;t>=0;t--){this.angleLineWidth>0&&(n=this.getPointPosition(t,this.calculateCenterOffset(this.max)),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(n.x,n.y),e.stroke(),e.closePath()),i=this.getPointPosition(t,this.calculateCenterOffset(this.max)+5),e.font=E(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily),e.fillStyle=this.pointLabelFontColor;var o=this.labels.length,a=this.labels.length/2,s=a/2,l=t<s||t>o-s,c=t===s||t===o-s;e.textAlign=0===t||t===a?"center":t<a?"left":"right",e.textBaseline=c?"middle":l?"bottom":"top",e.fillText(this.labels[t],i.x,i.y)}}}),i.addEvent(window,"resize",function(){var e;return function(){clearTimeout(e),e=setTimeout((function(){r(n.instances,(function(e){e.options.responsive&&e.resize(e.render,!0)}))}),50)}}()),h?define((function(){return n})):"object"==typeof module&&module.exports&&(module.exports=n),e.Chart=n,n.noConflict=function(){return e.Chart=t,n}}).call(this),(function(){"use strict";var e=this.Chart,t=e.helpers;e.Type.extend({name:"Bar",defaults:{scaleBeginAtZero:!0,scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,barShowStroke:!0,barStrokeWidth:2,barValueSpacing:5,barDatasetSpacing:1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].fillColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(n){var i=this.options;this.ScaleClass=e.Scale.extend({offsetGridLines:!0,calculateBarX:function(e,t,n){var r=this.calculateBaseWidth(),o=this.calculateX(n)-r/2,a=this.calculateBarWidth(e);return o+a*t+t*i.barDatasetSpacing+a/2},calculateBaseWidth:function(){return this.calculateX(1)-this.calculateX(0)-2*i.barValueSpacing},calculateBarWidth:function(e){return(this.calculateBaseWidth()-(e-1)*i.barDatasetSpacing)/e}}),this.datasets=[],this.options.showTooltips&&t.bindEvents(this,this.options.tooltipEvents,(function(e){var n="mouseout"!==e.type?this.getBarsAtEvent(e):[];this.eachBars((function(e){e.restore(["fillColor","strokeColor"])})),t.each(n,(function(e){e.fillColor=e.highlightFill,e.strokeColor=e.highlightStroke})),this.showTooltip(n)})),this.BarClass=e.Rectangle.extend({strokeWidth:this.options.barStrokeWidth,showStroke:this.options.barShowStroke,ctx:this.chart.ctx}),t.each(n.datasets,(function(e){var i={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,bars:[]};this.datasets.push(i),t.each(e.data,(function(t,r){i.bars.push(new this.BarClass({value:t,label:n.labels[r],datasetLabel:e.label,strokeColor:e.strokeColor,fillColor:e.fillColor,highlightFill:e.highlightFill||e.fillColor,highlightStroke:e.highlightStroke||e.strokeColor}))}),this)}),this),this.buildScale(n.labels),this.BarClass.prototype.base=this.scale.endPoint,this.eachBars((function(e,n,i){t.extend(e,{width:this.scale.calculateBarWidth(this.datasets.length),x:this.scale.calculateBarX(this.datasets.length,i,n),y:this.scale.endPoint}),e.save()}),this),this.render()},update:function(){this.scale.update(),t.each(this.activeElements,(function(e){e.restore(["fillColor","strokeColor"])})),this.eachBars((function(e){e.save()})),this.render()},eachBars:function(e){t.each(this.datasets,(function(n,i){t.each(n.bars,e,this,i)}),this)},getBarsAtEvent:function(e){for(var n,i=[],r=t.getRelativePosition(e),o=function(e){i.push(e.bars[n])},a=0;a<this.datasets.length;a++)for(n=0;n<this.datasets[a].bars.length;n++)if(this.datasets[a].bars[n].inRange(r.x,r.y))return t.each(this.datasets,o),i;return i},buildScale:function(e){var n=this,i={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:e.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(e){var i=t.calculateScaleRange(function(){var e=[];return n.eachBars((function(t){e.push(t.value)})),e}(),e,this.fontSize,this.beginAtZero,this.integersOnly);t.extend(this,i)},xLabels:e,font:t.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.barShowStroke?this.options.barStrokeWidth:0,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&t.extend(i,{calculateYRange:t.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new this.ScaleClass(i)},addData:function(e,n){t.each(e,(function(e,t){this.datasets[t].bars.push(new this.BarClass({value:e,label:n,x:this.scale.calculateBarX(this.datasets.length,t,this.scale.valuesCount+1),y:this.scale.endPoint,width:this.scale.calculateBarWidth(this.datasets.length),base:this.scale.endPoint,strokeColor:this.datasets[t].strokeColor,fillColor:this.datasets[t].fillColor}))}),this),this.scale.addXLabel(n),this.update()},removeData:function(){this.scale.removeXLabel(),t.each(this.datasets,(function(e){e.bars.shift()}),this),this.update()},reflow:function(){t.extend(this.BarClass.prototype,{y:this.scale.endPoint,base:this.scale.endPoint});var e=t.extend({height:this.chart.height,width:this.chart.width});this.scale.update(e)},draw:function(e){var n=e||1;this.clear(),this.scale.draw(n),t.each(this.datasets,(function(e,i){t.each(e.bars,(function(e,t){e.hasValue()&&(e.base=this.scale.endPoint,e.transition({x:this.scale.calculateBarX(this.datasets.length,i,t),y:this.scale.calculateY(e.value),width:this.scale.calculateBarWidth(this.datasets.length)},n).draw())}),this)}),this)}})}).call(this),(function(){"use strict";var e=this.Chart,t=e.helpers,n={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'};e.Type.extend({name:"Doughnut",defaults:n,initialize:function(n){this.segments=[],this.outerRadius=(t.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,this.SegmentArc=e.Arc.extend({ctx:this.chart.ctx,x:this.chart.width/2,y:this.chart.height/2}),this.options.showTooltips&&t.bindEvents(this,this.options.tooltipEvents,(function(e){var n="mouseout"!==e.type?this.getSegmentsAtEvent(e):[];t.each(this.segments,(function(e){e.restore(["fillColor"])})),t.each(n,(function(e){e.fillColor=e.highlightColor})),this.showTooltip(n)})),this.calculateTotal(n),t.each(n,(function(e,t){this.addData(e,t,!0)}),this),this.render()},getSegmentsAtEvent:function(e){var n=[],i=t.getRelativePosition(e);return t.each(this.segments,(function(e){e.inRange(i.x,i.y)&&n.push(e)}),this),n},addData:function(e,t,n){this.segments.splice(t||this.segments.length,0,new this.SegmentArc({value:e.value,outerRadius:this.options.animateScale?0:this.outerRadius,innerRadius:this.options.animateScale?0:this.outerRadius/100*this.options.percentageInnerCutout,fillColor:e.color,highlightColor:e.highlight||e.color,showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,startAngle:1.5*Math.PI,circumference:this.options.animateRotate?0:this.calculateCircumference(e.value),label:e.label})),n||(this.reflow(),this.update())},calculateCircumference:function(e){return 2*Math.PI*(Math.abs(e)/this.total)},calculateTotal:function(e){this.total=0,t.each(e,(function(e){this.total+=Math.abs(e.value)}),this)},update:function(){this.calculateTotal(this.segments),t.each(this.activeElements,(function(e){e.restore(["fillColor"])})),t.each(this.segments,(function(e){e.save()})),this.render()},removeData:function(e){var n=t.isNumber(e)?e:this.segments.length-1;this.segments.splice(n,1),this.reflow(),this.update()},reflow:function(){t.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.outerRadius=(t.min([this.chart.width,this.chart.height])-this.options.segmentStrokeWidth/2)/2,t.each(this.segments,(function(e){e.update({outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout})}),this)},draw:function(e){var n=e||1;this.clear(),t.each(this.segments,(function(e,t){e.transition({circumference:this.calculateCircumference(e.value),outerRadius:this.outerRadius,innerRadius:this.outerRadius/100*this.options.percentageInnerCutout},n),e.endAngle=e.startAngle+e.circumference,e.draw(),0===t&&(e.startAngle=1.5*Math.PI),t<this.segments.length-1&&(this.segments[t+1].startAngle=e.endAngle)}),this)}}),e.types.Doughnut.extend({name:"Pie",defaults:t.merge(n,{percentageInnerCutout:0})})}).call(this),(function(){"use strict";var e=this.Chart,t=e.helpers;e.Type.extend({name:"Line",defaults:{scaleShowGridLines:!0,scaleGridLineColor:"rgba(0,0,0,.05)",scaleGridLineWidth:1,scaleShowHorizontalLines:!0,scaleShowVerticalLines:!0,bezierCurve:!0,bezierCurveTension:.4,pointDot:!0,pointDotRadius:4,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(n){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx,inRange:function(e){return Math.pow(e-this.x,2)<Math.pow(this.radius+this.hitDetectionRadius,2)}}),this.datasets=[],this.options.showTooltips&&t.bindEvents(this,this.options.tooltipEvents,(function(e){var n="mouseout"!==e.type?this.getPointsAtEvent(e):[];this.eachPoints((function(e){e.restore(["fillColor","strokeColor"])})),t.each(n,(function(e){e.fillColor=e.highlightFill,e.strokeColor=e.highlightStroke})),this.showTooltip(n)})),t.each(n.datasets,(function(e){var i={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(i),t.each(e.data,(function(t,r){i.points.push(new this.PointClass({value:t,label:n.labels[r],datasetLabel:e.label,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))}),this),this.buildScale(n.labels),this.eachPoints((function(e,n){t.extend(e,{x:this.scale.calculateX(n),y:this.scale.endPoint}),e.save()}),this)}),this),this.render()},update:function(){this.scale.update(),t.each(this.activeElements,(function(e){e.restore(["fillColor","strokeColor"])})),this.eachPoints((function(e){e.save()})),this.render()},eachPoints:function(e){t.each(this.datasets,(function(n){t.each(n.points,e,this)}),this)},getPointsAtEvent:function(e){var n=[],i=t.getRelativePosition(e);return t.each(this.datasets,(function(e){t.each(e.points,(function(e){e.inRange(i.x,i.y)&&n.push(e)}))}),this),n},buildScale:function(n){var i=this,r={templateString:this.options.scaleLabel,height:this.chart.height,width:this.chart.width,ctx:this.chart.ctx,textColor:this.options.scaleFontColor,fontSize:this.options.scaleFontSize,fontStyle:this.options.scaleFontStyle,fontFamily:this.options.scaleFontFamily,valuesCount:n.length,beginAtZero:this.options.scaleBeginAtZero,integersOnly:this.options.scaleIntegersOnly,calculateYRange:function(e){var n=t.calculateScaleRange(function(){var e=[];return i.eachPoints((function(t){e.push(t.value)})),e}(),e,this.fontSize,this.beginAtZero,this.integersOnly);t.extend(this,n)},xLabels:n,font:t.fontString(this.options.scaleFontSize,this.options.scaleFontStyle,this.options.scaleFontFamily),lineWidth:this.options.scaleLineWidth,lineColor:this.options.scaleLineColor,showHorizontalLines:this.options.scaleShowHorizontalLines,showVerticalLines:this.options.scaleShowVerticalLines,gridLineWidth:this.options.scaleShowGridLines?this.options.scaleGridLineWidth:0,gridLineColor:this.options.scaleShowGridLines?this.options.scaleGridLineColor:"rgba(0,0,0,0)",padding:this.options.showScale?0:this.options.pointDotRadius+this.options.pointDotStrokeWidth,showLabels:this.options.scaleShowLabels,display:this.options.showScale};this.options.scaleOverride&&t.extend(r,{calculateYRange:t.noop,steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}),this.scale=new e.Scale(r)},addData:function(e,n){t.each(e,(function(e,t){this.datasets[t].points.push(new this.PointClass({value:e,label:n,x:this.scale.calculateX(this.scale.valuesCount+1),y:this.scale.endPoint,strokeColor:this.datasets[t].pointStrokeColor,fillColor:this.datasets[t].pointColor}))}),this),this.scale.addXLabel(n),this.update()},removeData:function(){this.scale.removeXLabel(),t.each(this.datasets,(function(e){e.points.shift()}),this),this.update()},reflow:function(){var e=t.extend({height:this.chart.height,width:this.chart.width});this.scale.update(e)},draw:function(e){var n=e||1;this.clear();var i=this.chart.ctx,r=function(e){return null!==e.value},o=function(e,n,i){return t.findNextWhere(n,r,i)||e},a=function(e,n,i){return t.findPreviousWhere(n,r,i)||e};this.scale.draw(n),t.each(this.datasets,(function(e){var s=t.where(e.points,r);t.each(e.points,(function(e,t){e.hasValue()&&e.transition({y:this.scale.calculateY(e.value),x:this.scale.calculateX(t)},n)}),this),this.options.bezierCurve&&t.each(s,(function(e,n){var i=n>0&&n<s.length-1?this.options.bezierCurveTension:0;e.controlPoints=t.splineCurve(a(e,s,n),e,o(e,s,n),i),e.controlPoints.outer.y>this.scale.endPoint?e.controlPoints.outer.y=this.scale.endPoint:e.controlPoints.outer.y<this.scale.startPoint&&(e.controlPoints.outer.y=this.scale.startPoint),e.controlPoints.inner.y>this.scale.endPoint?e.controlPoints.inner.y=this.scale.endPoint:e.controlPoints.inner.y<this.scale.startPoint&&(e.controlPoints.inner.y=this.scale.startPoint)}),this),i.lineWidth=this.options.datasetStrokeWidth,i.strokeStyle=e.strokeColor,i.beginPath(),t.each(s,(function(t,n){if(-1==t.value||n>0&&-1==s[n-1].value?(i.moveTo(t.x,t.y),i.strokeStyle="rgba(0,0,0,0)",i.stroke()):i.strokeStyle=e.strokeColor,0===n)i.moveTo(t.x,t.y);else if(this.options.bezierCurve){var r=a(t,s,n);i.bezierCurveTo(r.controlPoints.outer.x,r.controlPoints.outer.y,t.controlPoints.inner.x,t.controlPoints.inner.y,t.x,t.y)}else i.lineTo(t.x,t.y)}),this),i.stroke(),this.options.datasetFill&&s.length>0&&(i.lineTo(s[s.length-1].x,this.scale.endPoint),i.lineTo(s[0].x,this.scale.endPoint),i.fillStyle=e.fillColor,i.closePath(),i.fill()),t.each(s,(function(e){e.draw()}))}),this)}})}).call(this),(function(){"use strict";var e=this.Chart,t=e.helpers;e.Type.extend({name:"PolarArea",defaults:{scaleShowLabelBackdrop:!0,scaleBackdropColor:"rgba(255,255,255,0.75)",scaleBeginAtZero:!0,scaleBackdropPaddingY:2,scaleBackdropPaddingX:2,scaleShowLine:!0,segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:2,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<segments.length; i++){%><li><span style="background-color:<%=segments[i].fillColor%>"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>'},initialize:function(n){this.segments=[],this.SegmentArc=e.Arc.extend({showStroke:this.options.segmentShowStroke,strokeWidth:this.options.segmentStrokeWidth,strokeColor:this.options.segmentStrokeColor,ctx:this.chart.ctx,innerRadius:0,x:this.chart.width/2,y:this.chart.height/2}),this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,lineArc:!0,width:this.chart.width,height:this.chart.height,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,valuesCount:n.length}),this.updateScaleRange(n),this.scale.update(),t.each(n,(function(e,t){this.addData(e,t,!0)}),this),this.options.showTooltips&&t.bindEvents(this,this.options.tooltipEvents,(function(e){var n="mouseout"!==e.type?this.getSegmentsAtEvent(e):[];t.each(this.segments,(function(e){e.restore(["fillColor"])})),t.each(n,(function(e){e.fillColor=e.highlightColor})),this.showTooltip(n)})),this.render()},getSegmentsAtEvent:function(e){var n=[],i=t.getRelativePosition(e);return t.each(this.segments,(function(e){e.inRange(i.x,i.y)&&n.push(e)}),this),n},addData:function(e,t,n){this.segments.splice(t||this.segments.length,0,new this.SegmentArc({fillColor:e.color,highlightColor:e.highlight||e.color,label:e.label,value:e.value,outerRadius:this.options.animateScale?0:this.scale.calculateCenterOffset(e.value),circumference:this.options.animateRotate?0:this.scale.getCircumference(),startAngle:1.5*Math.PI})),n||(this.reflow(),this.update())},removeData:function(e){var n=t.isNumber(e)?e:this.segments.length-1;this.segments.splice(n,1),this.reflow(),this.update()},calculateTotal:function(e){this.total=0,t.each(e,(function(e){this.total+=e.value}),this),this.scale.valuesCount=this.segments.length},updateScaleRange:function(e){var n,i=[];t.each(e,(function(e){i.push(e.value)})),n=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:t.calculateScaleRange(i,t.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly),t.extend(this.scale,n,{size:t.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2})},update:function(){this.calculateTotal(this.segments),t.each(this.segments,(function(e){e.save()})),this.reflow(),this.render()},reflow:function(){t.extend(this.SegmentArc.prototype,{x:this.chart.width/2,y:this.chart.height/2}),this.updateScaleRange(this.segments),this.scale.update(),t.extend(this.scale,{xCenter:this.chart.width/2,yCenter:this.chart.height/2}),t.each(this.segments,(function(e){e.update({outerRadius:this.scale.calculateCenterOffset(e.value)})}),this)},draw:function(e){var n=e||1;this.clear(),t.each(this.segments,(function(e,t){e.transition({circumference:this.scale.getCircumference(),outerRadius:this.scale.calculateCenterOffset(e.value)},n),e.endAngle=e.startAngle+e.circumference,0===t&&(e.startAngle=1.5*Math.PI),t<this.segments.length-1&&(this.segments[t+1].startAngle=e.endAngle),e.draw()}),this),this.scale.draw()}})}).call(this),(function(){"use strict";var e=this.Chart,t=e.helpers;e.Type.extend({name:"Radar",defaults:{scaleShowLine:!0,angleShowLineOut:!0,scaleShowLabels:!1,scaleBeginAtZero:!0,angleLineColor:"rgba(0,0,0,.1)",angleLineWidth:1,pointLabelFontFamily:"'Arial'",pointLabelFontStyle:"normal",pointLabelFontSize:10,pointLabelFontColor:"#666",pointDot:!0,pointDotRadius:3,pointDotStrokeWidth:1,pointHitDetectionRadius:20,datasetStroke:!0,datasetStrokeWidth:2,datasetFill:!0,legendTemplate:'<ul class="<%=name.toLowerCase()%>-legend"><% for (var i=0; i<datasets.length; i++){%><li><span style="background-color:<%=datasets[i].strokeColor%>"></span><%if(datasets[i].label){%><%=datasets[i].label%><%}%></li><%}%></ul>'},initialize:function(n){this.PointClass=e.Point.extend({strokeWidth:this.options.pointDotStrokeWidth,radius:this.options.pointDotRadius,display:this.options.pointDot,hitDetectionRadius:this.options.pointHitDetectionRadius,ctx:this.chart.ctx}),this.datasets=[],this.buildScale(n),this.options.showTooltips&&t.bindEvents(this,this.options.tooltipEvents,(function(e){var n="mouseout"!==e.type?this.getPointsAtEvent(e):[];this.eachPoints((function(e){e.restore(["fillColor","strokeColor"])})),t.each(n,(function(e){e.fillColor=e.highlightFill,e.strokeColor=e.highlightStroke})),this.showTooltip(n)})),t.each(n.datasets,(function(e){var i={label:e.label||null,fillColor:e.fillColor,strokeColor:e.strokeColor,pointColor:e.pointColor,pointStrokeColor:e.pointStrokeColor,points:[]};this.datasets.push(i),t.each(e.data,(function(t,r){var o;this.scale.animation||(o=this.scale.getPointPosition(r,this.scale.calculateCenterOffset(t))),i.points.push(new this.PointClass({value:t,label:n.labels[r],datasetLabel:e.label,x:this.options.animation?this.scale.xCenter:o.x,y:this.options.animation?this.scale.yCenter:o.y,strokeColor:e.pointStrokeColor,fillColor:e.pointColor,highlightFill:e.pointHighlightFill||e.pointColor,highlightStroke:e.pointHighlightStroke||e.pointStrokeColor}))}),this)}),this),this.render()},eachPoints:function(e){t.each(this.datasets,(function(n){t.each(n.points,e,this)}),this)},getPointsAtEvent:function(e){var n=t.getRelativePosition(e),i=t.getAngleFromPoint({x:this.scale.xCenter,y:this.scale.yCenter},n),r=2*Math.PI/this.scale.valuesCount,o=Math.round((i.angle-1.5*Math.PI)/r),a=[];return(o>=this.scale.valuesCount||o<0)&&(o=0),i.distance<=this.scale.drawingArea&&t.each(this.datasets,(function(e){a.push(e.points[o])})),a},buildScale:function(t){this.scale=new e.RadialScale({display:this.options.showScale,fontStyle:this.options.scaleFontStyle,fontSize:this.options.scaleFontSize,fontFamily:this.options.scaleFontFamily,fontColor:this.options.scaleFontColor,showLabels:this.options.scaleShowLabels,showLabelBackdrop:this.options.scaleShowLabelBackdrop,backdropColor:this.options.scaleBackdropColor,backdropPaddingY:this.options.scaleBackdropPaddingY,backdropPaddingX:this.options.scaleBackdropPaddingX,lineWidth:this.options.scaleShowLine?this.options.scaleLineWidth:0,lineColor:this.options.scaleLineColor,angleLineColor:this.options.angleLineColor,angleLineWidth:this.options.angleShowLineOut?this.options.angleLineWidth:0,pointLabelFontColor:this.options.pointLabelFontColor,pointLabelFontSize:this.options.pointLabelFontSize,pointLabelFontFamily:this.options.pointLabelFontFamily,pointLabelFontStyle:this.options.pointLabelFontStyle,height:this.chart.height,width:this.chart.width,xCenter:this.chart.width/2,yCenter:this.chart.height/2,ctx:this.chart.ctx,templateString:this.options.scaleLabel,labels:t.labels,valuesCount:t.datasets[0].data.length}),this.scale.setScaleSize(),this.updateScaleRange(t.datasets),this.scale.buildYLabels()},updateScaleRange:function(e){var n=function(){var n=[];return t.each(e,(function(e){e.data?n=n.concat(e.data):t.each(e.points,(function(e){n.push(e.value)}))})),n}(),i=this.options.scaleOverride?{steps:this.options.scaleSteps,stepValue:this.options.scaleStepWidth,min:this.options.scaleStartValue,max:this.options.scaleStartValue+this.options.scaleSteps*this.options.scaleStepWidth}:t.calculateScaleRange(n,t.min([this.chart.width,this.chart.height])/2,this.options.scaleFontSize,this.options.scaleBeginAtZero,this.options.scaleIntegersOnly);t.extend(this.scale,i)},addData:function(e,n){this.scale.valuesCount++,t.each(e,(function(e,t){var i=this.scale.getPointPosition(this.scale.valuesCount,this.scale.calculateCenterOffset(e));this.datasets[t].points.push(new this.PointClass({value:e,label:n,x:i.x,y:i.y,strokeColor:this.datasets[t].pointStrokeColor,fillColor:this.datasets[t].pointColor}))}),this),this.scale.labels.push(n),this.reflow(),this.update()},removeData:function(){this.scale.valuesCount--,this.scale.labels.shift(),t.each(this.datasets,(function(e){e.points.shift()}),this),this.reflow(),this.update()},update:function(){this.eachPoints((function(e){e.save()})),this.reflow(),this.render()},reflow:function(){t.extend(this.scale,{width:this.chart.width,height:this.chart.height,size:t.min([this.chart.width,this.chart.height]),xCenter:this.chart.width/2,yCenter:this.chart.height/2}),this.updateScaleRange(this.datasets),this.scale.setScaleSize(),this.scale.buildYLabels()},draw:function(e){var n=e||1,i=this.chart.ctx;this.clear(),this.scale.draw(),t.each(this.datasets,(function(e){t.each(e.points,(function(e,t){e.hasValue()&&e.transition(this.scale.getPointPosition(t,this.scale.calculateCenterOffset(e.value)),n)}),this),i.lineWidth=this.options.datasetStrokeWidth,i.strokeStyle=e.strokeColor,i.beginPath(),t.each(e.points,(function(e,t){0===t?i.moveTo(e.x,e.y):i.lineTo(e.x,e.y)}),this),i.closePath(),i.stroke(),i.fillStyle=e.fillColor,i.fill(),t.each(e.points,(function(e){e.hasValue()&&e.draw()}))}),this)}})}).call(this);var angles=angular.module("angles",[]);function uiCodemirrorDirective(e,t){return{restrict:"EA",require:"?ngModel",compile:function(){if(angular.isUndefined(window.CodeMirror))throw new Error("ui-codemirror needs CodeMirror to work... (o rly?)");return n}};function n(n,i,r,o){var a=angular.extend({value:i.text()},t.codemirror||{},n.$eval(r.uiCodemirror),n.$eval(r.uiCodemirrorOpts)),s=function(e,t){var n;return"TEXTAREA"===e[0].tagName?n=window.CodeMirror.fromTextArea(e[0],t):(e.html(""),n=new window.CodeMirror((function(t){e.append(t)}),t)),n}(i,a);!function(e,t,n){if(t){var i=Object.keys(window.CodeMirror.defaults);n.$watch(t,(function(t,n){angular.isObject(t)&&i.forEach((function(i){if(t.hasOwnProperty(i)){if(n&&t[i]===n[i])return;e.setOption(i,t[i])}}))}),!0)}}(s,r.uiCodemirrorOpts,n),function(e,t,n){t&&(t.$formatters.push((function(e){if(angular.isUndefined(e)||null===e)return"";if(angular.isObject(e)||angular.isArray(e))throw new Error("ui-codemirror cannot use an object or an array as a model");return e})),t.$render=function(){e.setValue(t.$viewValue||"")},e.on("change",(function(e){var i=e.getValue();i!==t.$viewValue&&n.$evalAsync((function(){t.$setViewValue(i)}))})))}(s,o,n),function(t,n,i){n&&i.$watch(n,(function(n,i){n!==i&&e((function(){t.refresh()}))}))}(s,r.uiRefresh,n),n.$on("CodeMirror",(function(e,t){if(!angular.isFunction(t))throw new Error("the CodeMirror event requires a callback function");t(s)})),angular.isFunction(a.onLoad)&&a.onLoad(s)}}function $translateCookieStorageFactory(e){"use strict";var t;if(1===angular.version.major&&angular.version.minor>=4){var n=e.get("$cookies");t={get:function(e){return n.get(e)},put:function(e,t){n.put(e,t)}}}else{var i=e.get("$cookieStore");t={get:function(e){return i.get(e)},put:function(e,t){i.put(e,t)}}}return{get:function(e){return t.get(e)},set:function(e,n){t.put(e,n)},put:function(e,n){t.put(e,n)}}}function $translateLocalStorageFactory(e,t){"use strict";var n,i={get:function(t){return n||(n=e.localStorage.getItem(t)),n},set:function(t,i){n=i,e.localStorage.setItem(t,i)},put:function(t,i){n=i,e.localStorage.setItem(t,i)}},r="localStorage"in e;if(r){var o="pascalprecht.translate.storageTest";try{null!==e.localStorage?(e.localStorage.setItem(o,"foo"),e.localStorage.removeItem(o),r=!0):r=!1}catch(a){r=!1}}return r?i:t}angles.chart=function(e){return{restrict:"A",scope:{data:"=",options:"=",id:"@",width:"=",height:"=",resize:"=",chart:"@",segments:"@",responsive:"=",tooltip:"=",legend:"="},link:function(t,n){var i=n[0].getContext("2d"),r=!1;t.size=function(){t.width<=0?(n.width(n.parent().width()),i.canvas.width=n.width()):(i.canvas.width=t.width||i.canvas.width,r=!0),t.height<=0?(n.height(n.parent().height()),i.canvas.height=i.canvas.width/2):(i.canvas.height=t.height||i.canvas.height,r=!0)},t.$watch("data",(function(s,l){o&&o.destroy();var c=t.options||{};s&&(t.chart&&(e=t.chart),r&&(t.size(),a=new Chart(i)),(t.responsive||t.resize)&&(c.responsive=!0),void 0!==t.responsive&&(c.responsive=t.responsive),(o=a[e](t.data,c)).update(),t.legend&&angular.element(n[0]).parent().after(o.generateLegend()))}),!0),t.$watch("tooltip",(function(e,t){if(o&&o.draw(),void 0!==e&&o.segments&&!(!isFinite(e)||e>=o.segments.length||e<0)){var n=o.segments[e];n.save(),n.fillColor=n.highlightColor,o.showTooltip([n]),n.restore()}}),!0),t.size();var o,a=new Chart(i)}}},angles.directive("chart",(function(){return angles.chart()})),angles.directive("linechart",(function(){return angles.chart("Line")})),angles.directive("barchart",(function(){return angles.chart("Bar")})),angles.directive("radarchart",(function(){return angles.chart("Radar")})),angles.directive("polarchart",(function(){return angles.chart("PolarArea")})),angles.directive("piechart",(function(){return angles.chart("Pie")})),angles.directive("doughnutchart",(function(){return angles.chart("Doughnut")})),angles.directive("donutchart",(function(){return angles.chart("Doughnut")})),function(e){function t(e,t,r){var o=e[0],a=/er/.test(r)?_indeterminate:/bl/.test(r)?h:d,s=r==_update?{checked:o[d],disabled:o[h],indeterminate:"true"==e.attr(_indeterminate)||"false"==e.attr(_determinate)}:o[a];if(/^(ch|di|in)/.test(r)&&!s)n(e,a);else if(/^(un|en|de)/.test(r)&&s)i(e,a);else if(r==_update)for(var l in s)s[l]?n(e,l,!0):i(e,l,!0);else t&&"toggle"!=r||(t||e[_callback]("ifClicked"),s?o[_type]!==u&&i(e,a):n(e,a))}function n(t,n,r){var f=t[0],g=t.parent(),m=n==d,v=n==_indeterminate,b=n==h,y=v?_determinate:m?p:"enabled",M=o(t,y+a(f[_type])),w=o(t,n+a(f[_type]));if(!0!==f[n]){if(!r&&n==d&&f[_type]==u&&f.name){var C=t.closest("form"),A='input[name="'+f.name+'"]';(A=C.length?C.find(A):e(A)).each((function(){this!==f&&e(this).data(l)&&i(e(this),n)}))}v?(f[n]=!0,f[d]&&i(t,d,"force")):(r||(f[n]=!0),m&&f[_indeterminate]&&i(t,_indeterminate,!1)),s(t,m,n,r)}f[h]&&o(t,_cursor,!0)&&g.find("."+c).css(_cursor,"default"),g[_add](w||o(t,n)||""),g.attr("role")&&!v&&g.attr("aria-"+(b?h:d),"true"),g[_remove](M||o(t,y)||"")}function i(e,t,n){var i=e[0],r=e.parent(),l=t==d,u=t==_indeterminate,f=t==h,g=u?_determinate:l?p:"enabled",m=o(e,g+a(i[_type])),v=o(e,t+a(i[_type]));!1!==i[t]&&(!u&&n&&"force"!=n||(i[t]=!1),s(e,l,g,n)),!i[h]&&o(e,_cursor,!0)&&r.find("."+c).css(_cursor,"pointer"),r[_remove](v||o(e,t)||""),r.attr("role")&&!u&&r.attr("aria-"+(f?h:d),"false"),r[_add](m||o(e,g)||"")}function r(t,n){t.data(l)&&(t.parent().html(t.attr("style",t.data(l).s||"")),n&&t[_callback](n),t.off(".i").unwrap(),e(_label+'[for="'+t[0].id+'"]').add(t.closest(_label)).off(".i"))}function o(e,t,n){if(e.data(l))return e.data(l).o[t+(n?"":"Class")]}function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t,n,i){i||(t&&e[_callback]("ifToggled"),e[_callback]("ifChanged")[_callback]("if"+a(n)))}var l="iCheck",c=l+"-helper",u="radio",d="checked",p="un"+d,h="disabled";_determinate="determinate",_indeterminate="in"+_determinate,_update="update",_type="type",_click="click",_touch="touchbegin.i touchend.i",_add="addClass",_remove="removeClass",_callback="trigger",_label="label",_cursor="cursor",_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent),e.fn[l]=function(o,a){var s='input[type="checkbox"], input[type="'+u+'"]',p=e(),f=function(t){t.each((function(){var t=e(this);p=t.is(s)?p.add(t):p.add(t.find(s))}))};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(o))return o=o.toLowerCase(),f(this),p.each((function(){var n=e(this);"destroy"==o?r(n,"ifDestroyed"):t(n,!0,o),e.isFunction(a)&&a()}));if("object"!=typeof o&&o)return this;var g=e.extend({checkedClass:d,disabledClass:h,indeterminateClass:_indeterminate,labelHover:!0},o),m=g.handle,v=g.hoverClass||"hover",b=g.focusClass||"focus",y=g.activeClass||"active",M=!!g.labelHover,w=g.labelHoverClass||"hover",C=0|(""+g.increaseArea).replace("%","");return"checkbox"!=m&&m!=u||(s='input[type="'+m+'"]'),-50>C&&(C=-50),f(this),p.each((function(){var o=e(this);r(o);var a=this,s=a.id,p={position:"absolute",top:f=-C+"%",left:f,display:"block",width:p=100+2*C+"%",height:p,margin:0,padding:0,background:"#fff",border:0,opacity:0},f=_mobile?{position:"absolute",visibility:"hidden"}:C?p:{position:"absolute",opacity:0},m="checkbox"==a[_type]?g.checkboxClass||"icheckbox":g.radioClass||"i"+u,A=e(_label+'[for="'+s+'"]').add(o.closest(_label)),x=!!g.aria,S=l+"-"+Math.random().toString(36).substr(2,6),z='<div class="'+m+'" '+(x?'role="'+a[_type]+'" ':"");x&&A.each((function(){z+='aria-labelledby="',this.id?z+=this.id:(this.id=S,z+=S),z+='"'})),z=o.wrap(z+"/>")[_callback]("ifCreated").parent().append(g.insert),p=e('<ins class="'+c+'"/>').css(p).appendTo(z),o.data(l,{o:g,s:o.attr("style")}).css(f),g.inheritClass&&z[_add](a.className||""),g.inheritID&&s&&z.attr("id",l+"-"+s),"static"==z.css("position")&&z.css("position","relative"),t(o,!0,_update),A.length&&A.on(_click+".i mouseover.i mouseout.i "+_touch,(function(n){var i=n[_type],r=e(this);if(!a[h]){if(i==_click){if(e(n.target).is("a"))return;t(o,!1,!0)}else M&&(/ut|nd/.test(i)?(z[_remove](v),r[_remove](w)):(z[_add](v),r[_add](w)));if(!_mobile)return!1;n.stopPropagation()}})),o.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",(function(e){var t=e[_type];return e=e.keyCode,t!=_click&&("keydown"==t&&32==e?(a[_type]==u&&a[d]||(a[d]?i(o,d):n(o,d)),!1):void("keyup"==t&&a[_type]==u?!a[d]&&n(o,d):/us|ur/.test(t)&&z["blur"==t?_remove:_add](b)))})),p.on(_click+" mousedown mouseup mouseover mouseout "+_touch,(function(e){var n=e[_type],i=/wn|up/.test(n)?y:v;if(!a[h]){if(n==_click?t(o,!1,!0):(/wn|er|in/.test(n)?z[_add](i):z[_remove](i+" "+y),A.length&&M&&i==v&&A[/ut|nd/.test(n)?_remove:_add](w)),!_mobile)return!1;e.stopPropagation()}}))}))}}(window.jQuery||window.Zepto),function(e){"use strict";e.fn.emulateTransitionEnd=function(n){var i=!1,r=this;return e(this).one("mmTransitionEnd",(function(){i=!0})),setTimeout((function(){i||e(r).trigger(t.end)}),n),this};var t=function(){var e=document.createElement("mm"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}();t&&(e.event.special.mmTransitionEnd={bindType:t.end,delegateType:t.end,handle:function(t){return e(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}});var n=function(t,i){this.$element=e(t),this.options=e.extend({},n.DEFAULTS,i),this.transitioning=null,this.init()};n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0,doubleTapToGo:!1,activeClass:"active"},n.prototype.init=function(){var t=this,n=this.options.activeClass;this.$element.find("li."+n).has("ul").children("ul").addClass("collapse in"),this.$element.find("li").not("."+n).has("ul").children("ul").addClass("collapse"),this.options.doubleTapToGo&&this.$element.find("li."+n).has("ul").children("a").addClass("doubleTapToGo"),this.$element.find("li").has("ul").children("a").on("click.metisMenu",(function(i){var r=e(this),o=r.parent("li"),a=o.children("ul");return i.preventDefault(),o.hasClass(n)?t.hide(a):t.show(a),t.options.doubleTapToGo&&t.doubleTapToGo(r)&&"#"!==r.attr("href")&&""!==r.attr("href")?(i.stopPropagation(),void(document.location=r.attr("href"))):void 0}))},n.prototype.doubleTapToGo=function(e){var t=this.$element;return e.hasClass("doubleTapToGo")?(e.removeClass("doubleTapToGo"),!0):e.parent().children("ul").length?(t.find(".doubleTapToGo").removeClass("doubleTapToGo"),e.addClass("doubleTapToGo"),!1):void 0},n.prototype.show=function(i){var r=this.options.activeClass,o=e(i),a=o.parent("li");if(!this.transitioning&&!o.hasClass("in")){a.addClass(r),this.options.toggle&&this.hide(a.siblings().children("ul.in")),o.removeClass("collapse").addClass("collapsing").height(0),this.transitioning=1;var s=function(){o.removeClass("collapsing").addClass("collapse in").height(""),this.transitioning=0};return t?void o.one("mmTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(n.TRANSITION_DURATION).height(o[0].scrollHeight):s.call(this)}},n.prototype.hide=function(i){var r=this.options.activeClass,o=e(i);if(!this.transitioning&&o.hasClass("in")){o.parent("li").removeClass(r),o.height(o.height()),o.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var a=function(){this.transitioning=0,o.removeClass("collapsing").addClass("collapse")};return t?void o.height(0).one("mmTransitionEnd",e.proxy(a,this)).emulateTransitionEnd(n.TRANSITION_DURATION):a.call(this)}};var i=e.fn.metisMenu;e.fn.metisMenu=function(t){return this.each((function(){var i=e(this),r=i.data("mm"),o=e.extend({},n.DEFAULTS,i.data(),"object"==typeof t&&t);r||i.data("mm",r=new n(this,o)),"string"==typeof t&&r[t]()}))},e.fn.metisMenu.Constructor=n,e.fn.metisMenu.noConflict=function(){return e.fn.metisMenu=i,this}}(jQuery),function(e,t,n){"use strict";function i(e){var t=e.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/);if(!t||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1],paramExpr:t[3]||null}}var r=function(e,n,i,r){t.forEach(function(e){if(e.expressions)return e.expressions;var n=[];return t.forEach(e.parts,(function(e){t.isFunction(e)&&n.push(e.exp)})),n}(n),(function(t){var o=i.$watch(t,(function(){r.ncyBreadcrumbLabel=n(i)}));e.push(o)}))},o=function(e){t.forEach(e,(function(e){e()})),e=[]};function a(e,n,i){return{restrict:"AE",replace:!0,scope:{},template:n.getTemplate({bootstrap2:'<ul class="breadcrumb"><li ng-repeat="step in steps" ng-switch="$last || !!step.abstract" ng-class="{active: $last}"><a ng-switch-when="false" href="{{step.ncyBreadcrumbLink}}">{{step.ncyBreadcrumbLabel}}</a> <span ng-switch-when="true">{{step.ncyBreadcrumbLabel}}</span><span class="divider" ng-hide="$last">/</span></li></ul>',bootstrap3:'<ol class="breadcrumb"><li ng-repeat="step in steps" ng-class="{active: $last}" ng-switch="$last || !!step.abstract"><a ng-switch-when="false" href="{{step.ncyBreadcrumbLink}}">{{step.ncyBreadcrumbLabel}}</a> <span ng-switch-when="true">{{step.ncyBreadcrumbLabel}}</span></li></ol>'}),templateUrl:n.getTemplateUrl(),link:{post:function(a){var s=[],l=function(){o(s);var i=n.$getLastViewScope();a.steps=n.getStatesChain(),t.forEach(a.steps,(function(t){if(t.ncyBreadcrumb&&t.ncyBreadcrumb.label){var n=e(t.ncyBreadcrumb.label);t.ncyBreadcrumbLabel=n(i),r(s,n,i,t)}else t.ncyBreadcrumbLabel=t.name}))};i.$on("$viewContentLoaded",(function(){l()})),l()}}}}function s(e,t,n){return{restrict:"A",scope:{},template:"{{ncyBreadcrumbLabel}}",compile:function(i,a){var s=i.attr(a.$attr.ncyBreadcrumbLast);return s&&i.html(s),{post:function(i){var a=[],s=function(){o(a);var n=t.$getLastViewScope(),s=t.getLastStep();if(s)if(i.ncyBreadcrumbLink=s.ncyBreadcrumbLink,s.ncyBreadcrumb&&s.ncyBreadcrumb.label){var l=e(s.ncyBreadcrumb.label);i.ncyBreadcrumbLabel=l(n),r(a,l,n,i)}else i.ncyBreadcrumbLabel=s.name};n.$on("$viewContentLoaded",(function(){s()})),s()}}}}}a.$inject=["$interpolate","$breadcrumb","$rootScope"],s.$inject=["$interpolate","$breadcrumb","$rootScope"],t.module("ncy-angular-breadcrumb",["ui.router.state"]).provider("$breadcrumb",(function(){var e={prefixStateName:null,template:"bootstrap3",templateUrl:null,includeAbstract:!1};this.setOptions=function(n){t.extend(e,n)},this.$get=["$state","$stateParams","$rootScope",function(n,r,o){var a=o;o.$on("$viewContentLoaded",(function(e){var n,i;(t.equals((n=e.targetScope.$id).length,(i=a.$id).length)?n>i:n.length>i.length)&&(a=e.targetScope)}));var s=function(t,o){for(var s,l,c=i(o),u=0,d=t.length;u<d;u+=1)if(t[u].name===c.state)return;(s=n.get(c.state)).abstract&&!e.includeAbstract||s.ncyBreadcrumb&&s.ncyBreadcrumb.skip||(c.paramExpr&&(l=a.$eval(c.paramExpr)),s.ncyBreadcrumbLink=n.href(c.state,l||r||{}),t.unshift(s))},l=function(e){var t,r=i(e),o=n.get(r.state);if(o.ncyBreadcrumb&&o.ncyBreadcrumb.parent){var s="function"==typeof o.ncyBreadcrumb.parent?o.ncyBreadcrumb.parent(a):o.ncyBreadcrumb.parent;if(s)return s}return(t=o).parent||(/^(.+)\.[^.]+$/.exec(t.name)||[])[1]};return{getTemplate:function(t){return e.templateUrl?null:t[e.template]?t[e.template]:e.template},getTemplateUrl:function(){return e.templateUrl},getStatesChain:function(t){for(var i=[],r=n.$current.self.name;r;r=l(r))if(s(i,r),t&&i.length)return i;return e.prefixStateName&&s(i,e.prefixStateName),i},getLastStep:function(){var e=this.getStatesChain(!0);return e.length?e[0]:void 0},$getLastViewScope:function(){return a}}}]})).directive("ncyBreadcrumb",a).directive("ncyBreadcrumbLast",s)}(window,window.angular),function(e){e.fn.extend({slimScroll:function(n){var i=e.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},n);return this.each((function(){function r(t){if(c){var n=0;(t=t||window.event).wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3),e(t.target||t.srcTarget||t.srcElement).closest("."+i.wrapperClass).is(b.parent())&&o(n,!0),t.preventDefault&&!v&&t.preventDefault(),v||(t.returnValue=!1)}}function o(e,t,n){v=!1;var r=e,o=b.outerHeight()-M.outerHeight();t&&(r=parseInt(M.css("top"))+e*parseInt(i.wheelStep)/100*M.outerHeight(),r=Math.min(Math.max(r,0),o),r=0<e?Math.ceil(r):Math.floor(r),M.css({top:r+"px"})),r=(g=parseInt(M.css("top"))/(b.outerHeight()-M.outerHeight()))*(b[0].scrollHeight-b.outerHeight()),n&&(e=(r=e)/b[0].scrollHeight*b.outerHeight(),e=Math.min(Math.max(e,0),o),M.css({top:e+"px"})),b.scrollTop(r),b.trigger("slimscrolling",~~r),s(),l()}function a(){f=Math.max(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),30),M.css({height:f+"px"});var e=f==b.outerHeight()?"none":"block";M.css({display:e})}function s(){a(),clearTimeout(p),g==~~g?(v=i.allowPageScroll,m!=g&&b.trigger("slimscroll",0==~~g?"top":"bottom")):v=!1,m=g,f>=b.outerHeight()?v=!0:(M.stop(!0,!0).fadeIn("fast"),i.railVisible&&w.stop(!0,!0).fadeIn("fast"))}function l(){i.alwaysVisible||(p=setTimeout((function(){i.disableFadeOut&&c||u||d||(M.fadeOut("slow"),w.fadeOut("slow"))}),1e3))}var c,u,d,p,h,f,g,m,v=!1,b=e(this);if(b.parent().hasClass(i.wrapperClass)){var y=b.scrollTop(),M=b.closest("."+i.barClass),w=b.closest("."+i.railClass);if(a(),e.isPlainObject(n)){if("height"in n&&"auto"==n.height){b.parent().css("height","auto"),b.css("height","auto");var C=b.parent().parent().height();b.parent().css("height",C),b.css("height",C)}if("scrollTo"in n)y=parseInt(i.scrollTo);else if("scrollBy"in n)y+=parseInt(i.scrollBy);else if("destroy"in n)return M.remove(),w.remove(),void b.unwrap();o(y,!1,!0)}}else e.isPlainObject(n)&&"destroy"in n||(i.height="auto"==i.height?b.parent().height():i.height,y=e("<div></div>").addClass(i.wrapperClass).css({position:"relative",overflow:"hidden",width:i.width,height:i.height}),b.css({overflow:"hidden",width:i.width,height:i.height}),w=e("<div></div>").addClass(i.railClass).css({width:i.size,height:"100%",position:"absolute",top:0,display:i.alwaysVisible&&i.railVisible?"block":"none","border-radius":i.railBorderRadius,background:i.railColor,opacity:i.railOpacity,zIndex:90}),M=e("<div></div>").addClass(i.barClass).css({background:i.color,width:i.size,position:"absolute",top:0,opacity:i.opacity,display:i.alwaysVisible?"block":"none","border-radius":i.borderRadius,BorderRadius:i.borderRadius,MozBorderRadius:i.borderRadius,WebkitBorderRadius:i.borderRadius,zIndex:99}),w.css(C="right"==i.position?{right:i.distance}:{left:i.distance}),M.css(C),b.wrap(y),b.parent().append(M),b.parent().append(w),i.railDraggable&&M.bind("mousedown",(function(n){var i=e(document);return d=!0,t=parseFloat(M.css("top")),pageY=n.pageY,i.bind("mousemove.slimscroll",(function(e){currTop=t+e.pageY-pageY,M.css("top",currTop),o(0,M.position().top,!1)})),i.bind("mouseup.slimscroll",(function(e){d=!1,l(),i.unbind(".slimscroll")})),!1})).bind("selectstart.slimscroll",(function(e){return e.stopPropagation(),e.preventDefault(),!1})),w.hover((function(){s()}),(function(){l()})),M.hover((function(){u=!0}),(function(){u=!1})),b.hover((function(){c=!0,s(),l()}),(function(){c=!1,l()})),b.bind("touchstart",(function(e,t){e.originalEvent.touches.length&&(h=e.originalEvent.touches[0].pageY)})),b.bind("touchmove",(function(e){v||e.originalEvent.preventDefault(),e.originalEvent.touches.length&&(o((h-e.originalEvent.touches[0].pageY)/i.touchScrollStep,!0),h=e.originalEvent.touches[0].pageY)})),a(),"bottom"===i.start?(M.css({top:b.outerHeight()-M.outerHeight()}),o(0,!0)):"top"!==i.start&&(o(e(i.start).position().top,null,!0),i.alwaysVisible||M.hide()),window.addEventListener?(this.addEventListener("DOMMouseScroll",r,!1),this.addEventListener("mousewheel",r,!1)):document.attachEvent("onmousewheel",r))})),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),(function(){var e,t,n,i,r={}.hasOwnProperty;(i=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,i,r,o;for(this.parsed.push({array_index:t=this.parsed.length,group:!0,label:this.escapeExpression(e.label),children:0,disabled:e.disabled}),o=[],n=0,i=(r=e.childNodes).length;n<i;n++)o.push(this.add_option(r[n],t,e.disabled));return o},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e.prototype.escapeExpression=function(e){var t;return null==e||!1===e?"":/[\&\<\>\"\'\`]/.test(e)?(t={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},e.replace(/&(?!\w+;)|[\<\>\"\'\`]/g,(function(e){return t[e]||"&amp;"}))):e},e}()).select_to_array=function(e){var t,n,r,o;for(t=new i,n=0,r=(o=e.childNodes).length;n<r;n++)t.add_node(o[n]);return t.parsed},t=function(){function e(t,n){this.form_field=t,this.options=null!=n?n:{},e.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers())}return e.prototype.set_default_values=function(){var e=this;return this.click_test_action=function(t){return e.test_active_click(t)},this.activate_action=function(t){return e.activate_field(t)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options},e.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||e.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||e.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||e.default_no_result_text},e.prototype.mouse_enter=function(){return this.mouse_on_container=!0},e.prototype.mouse_leave=function(){return this.mouse_on_container=!1},e.prototype.input_focus=function(e){var t=this;if(this.is_multiple){if(!this.active_field)return setTimeout((function(){return t.container_mousedown()}),50)}else if(!this.active_field)return this.activate_field()},e.prototype.input_blur=function(e){var t=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout((function(){return t.blur_test()}),100)},e.prototype.results_option_build=function(e){var t,n,i,r,o;for(t="",i=0,r=(o=this.results_data).length;i<r;i++)t+=(n=o[i]).group?this.result_add_group(n):this.result_add_option(n),(null!=e?e.first:void 0)&&(n.selected&&this.is_multiple?this.choice_build(n):n.selected&&!this.is_multiple&&this.single_set_selected_text(n.text));return t},e.prototype.result_add_option=function(e){var t,n;return e.search_match&&this.include_option_in_results(e)?(t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),n=""!==e.style.cssText?' style="'+e.style+'"':"",'<li class="'+t.join(" ")+'"'+n+' data-option-array-index="'+e.array_index+'">'+e.search_text+"</li>"):""},e.prototype.result_add_group=function(e){return(e.search_match||e.group_match)&&e.active_options>0?'<li class="group-result">'+e.search_text+"</li>":""},e.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build(),this.results_showing)return this.winnow_results()},e.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},e.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},e.prototype.winnow_results=function(){var e,t,n,i,r,o,a,s,l,c,u,d;for(this.no_results_clear(),i=0,e=(o=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),n=new RegExp((this.search_contains?"":"^")+e,"i"),l=new RegExp(e,"i"),c=0,u=(d=this.results_data).length;c<u;c++)(t=d[c]).search_match=!1,r=null,this.include_option_in_results(t)&&(t.group&&(t.group_match=!1,t.active_options=0),null!=t.group_array_index&&this.results_data[t.group_array_index]&&(0===(r=this.results_data[t.group_array_index]).active_options&&r.search_match&&(i+=1),r.active_options+=1),t.group&&!this.group_search||(t.search_text=t.group?t.label:t.html,t.search_match=this.search_string_match(t.search_text,n),t.search_match&&!t.group&&(i+=1),t.search_match?(o.length&&(a=t.search_text.search(l),s=t.search_text.substr(0,a+o.length)+"</em>"+t.search_text.substr(a+o.length),t.search_text=s.substr(0,a)+"<em>"+s.substr(a)),null!=r&&(r.group_match=!0)):null!=t.group_array_index&&this.results_data[t.group_array_index].search_match&&(t.search_match=!0)));return this.result_clear_highlight(),i<1&&o.length?(this.update_results_content(""),this.no_results(o)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},e.prototype.search_string_match=function(e,t){var n,i,r;if(t.test(e))return!0;if(this.enable_split_word_search&&(e.indexOf(" ")>=0||0===e.indexOf("["))&&(n=e.replace(/\[|\]/g,"").split(" ")).length)for(i=0,r=n.length;i<r;i++)if(t.test(n[i]))return!0},e.prototype.choices_count=function(){var e,t,n;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,e=0,t=(n=this.form_field.options).length;e<t;e++)n[e].selected&&(this.selected_option_count+=1);return this.selected_option_count},e.prototype.choices_click=function(e){if(e.preventDefault(),!this.results_showing&&!this.is_disabled)return this.results_show()},e.prototype.keyup_checker=function(e){var t,n;switch(t=null!=(n=e.which)?n:e.keyCode,this.search_field_scale(),t){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(e.preventDefault(),this.results_showing)return this.result_select(e);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},e.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},e.prototype.include_option_in_results=function(e){return!(this.is_multiple&&!this.display_selected_options&&e.selected||!this.display_disabled_options&&e.disabled||e.empty)},e.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/Android/i.test(window.navigator.userAgent)&&/Mobile/i.test(window.navigator.userAgent))},e.default_multiple_text="Select Some Options",e.default_single_text="Select an Option",e.default_no_result_text="No results match",e}(),(e=jQuery).fn.extend({chosen:function(i){return t.browser_is_supported()?this.each((function(t){var r,o;o=(r=e(this)).data("chosen"),"destroy"===i&&o?o.destroy():o||r.data("chosen",new n(this,i))})):this}}),n=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function i(){this.constructor=e}i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype}(n,t),n.prototype.setup=function(){return this.form_field_jq=e(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},n.prototype.set_up_html=function(){var t,n;return(t=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chosen-rtl"),n={class:t.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(n.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=e("<div />",n),this.container.html(this.is_multiple?'<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>':'<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){var e=this;return this.container.bind("mousedown.chosen",(function(t){e.container_mousedown(t)})),this.container.bind("mouseup.chosen",(function(t){e.container_mouseup(t)})),this.container.bind("mouseenter.chosen",(function(t){e.mouse_enter(t)})),this.container.bind("mouseleave.chosen",(function(t){e.mouse_leave(t)})),this.search_results.bind("mouseup.chosen",(function(t){e.search_results_mouseup(t)})),this.search_results.bind("mouseover.chosen",(function(t){e.search_results_mouseover(t)})),this.search_results.bind("mouseout.chosen",(function(t){e.search_results_mouseout(t)})),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",(function(t){e.search_results_mousewheel(t)})),this.form_field_jq.bind("chosen:updated.chosen",(function(t){e.results_update_field(t)})),this.form_field_jq.bind("chosen:activate.chosen",(function(t){e.activate_field(t)})),this.form_field_jq.bind("chosen:open.chosen",(function(t){e.container_mousedown(t)})),this.search_field.bind("blur.chosen",(function(t){e.input_blur(t)})),this.search_field.bind("keyup.chosen",(function(t){e.keyup_checker(t)})),this.search_field.bind("keydown.chosen",(function(t){e.keydown_checker(t)})),this.search_field.bind("focus.chosen",(function(t){e.input_focus(t)})),this.is_multiple?this.search_choices.bind("click.chosen",(function(t){e.choices_click(t)})):this.container.bind("click.chosen",(function(e){e.preventDefault()}))},n.prototype.destroy=function(){return e(document).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},n.prototype.container_mousedown=function(t){if(!this.is_disabled&&(t&&"mousedown"===t.type&&!this.results_showing&&t.preventDefault(),null==t||!e(t.target).hasClass("search-choice-close")))return this.active_field?this.is_multiple||!t||e(t.target)[0]!==this.selected_item[0]&&!e(t.target).parents("a.chosen-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),e(document).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field()},n.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},n.prototype.search_results_mousewheel=function(e){var t,n,i;if(null!=(t=-(null!=(n=e.originalEvent)?n.wheelDelta:void 0)||(null!=(i=e.originialEvent)?i.detail:void 0)))return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},n.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return e(document).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},n.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(t){return this.container.is(e(t.target).closest(".chosen-container"))?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(e){var t,n,i,r,o;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),r=(i=parseInt(this.search_results.css("maxHeight"),10))+(o=this.search_results.scrollTop()),(t=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=r)return this.search_results.scrollTop(t-i>0?t-i:0);if(n<o)return this.search_results.scrollTop(n)}},n.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},n.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results())},n.prototype.update_results_content=function(e){return this.search_results.html(e)},n.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},n.prototype.set_tab_index=function(e){var t;if(this.form_field.tabIndex)return t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t},n.prototype.set_label_behavior=function(){var t=this;if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=e("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.bind("click.chosen",(function(e){return t.is_multiple?t.container_mousedown(e):t.activate_field()}))},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(t){var n;if((n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first()).length)return this.result_highlight=n,this.result_select(t),this.search_field.focus()},n.prototype.search_results_mouseover=function(t){var n;if(n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first())return this.result_do_highlight(n)},n.prototype.search_results_mouseout=function(t){if(e(t.target).hasClass("active-result"))return this.result_clear_highlight()},n.prototype.choice_build=function(t){var n,i,r=this;return n=e("<li />",{class:"search-choice"}).html("<span>"+t.html+"</span>"),t.disabled?n.addClass("search-choice-disabled"):((i=e("<a />",{class:"search-choice-close","data-option-array-index":t.array_index})).bind("click.chosen",(function(e){return r.choice_destroy_link_click(e)})),n.append(i)),this.search_container.before(n)},n.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))},n.prototype.choice_destroy=function(e){if(this.result_deselect(e[0].getAttribute("data-option-array-index")))return this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.form_field.options[0].selected=!0,this.selected_option_count=null,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(e){var t,n,i;if(this.result_highlight)return t=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):(this.result_single_selected&&(this.result_single_selected.removeClass("result-selected"),i=this.result_single_selected[0].getAttribute("data-option-array-index"),this.results_data[i].selected=!1),this.result_single_selected=t),t.addClass("result-selected"),(n=this.results_data[t[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[n.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(n):this.single_set_selected_text(n.text),(e.metaKey||e.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[n.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())},n.prototype.single_set_selected_text=function(e){return null==e&&(e=this.default_text),e===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(e)},n.prototype.result_deselect=function(e){var t;return!this.form_field.options[(t=this.results_data[e]).options_index].disabled&&(t.selected=!1,this.form_field.options[t.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[t.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":e("<div/>").text(e.trim(this.search_field.val())).html()},n.prototype.winnow_results_set_highlight=function(){var e,t;if(null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},n.prototype.no_results=function(t){var n;return(n=e('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>')).find("span").first().html(t),this.search_results.append(n)},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var e;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last()).length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.keydown_checker=function(e){var t,n;switch(t=null!=(n=e.which)?n:e.keyCode,this.search_field_scale(),8!==t&&this.pending_backstroke&&this.clear_backstroke(),t){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},n.prototype.search_field_scale=function(){var t,n,i,r,o,a,s,l;if(this.is_multiple){for(a=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",s=0,l=(o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"]).length;s<l;s++)r+=(i=o[s])+":"+this.search_field.css(i)+";";return(t=e("<div />",{style:r})).text(this.search_field.val()),e("body").append(t),a=t.width()+25,t.remove(),a>(n=this.container.outerWidth())-10&&(a=n-10),this.search_field.css({width:a+"px"})}},n}(t)}).call(this),(function(){var e,t=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};angular.module("localytics.directives",[]),(e=angular.module("localytics.directives")).provider("chosen",(function(){var e;return e={},{setOption:function(t){angular.extend(e,t)},$get:function(){return e}}})),e.directive("chosen",["chosen","$timeout","$parse",function(e,n,i){var r,o,a,s;return o=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,r=["persistentCreateOption","createOptionText","createOption","skipNoResults","noResultsText","allowSingleDeselect","disableSearchThreshold","disableSearch","enableSplitWordSearch","inheritSelectClasses","maxSelectedOptions","placeholderTextMultiple","placeholderTextSingle","searchContains","singleBackstrokeDelete","displayDisabledOptions","displaySelectedOptions","width","includeGroupLabelInSelected","maxShownResults"],s=function(e){return e.replace(/[A-Z]/g,(function(e){return"_"+e.toLowerCase()}))},a=function(e){var t;if(angular.isArray(e))return 0===e.length;if(angular.isObject(e))for(t in e)if(e.hasOwnProperty(t))return!1;return!0},{restrict:"A",require:["select","?ngModel"],priority:1,link:function(l,c,u,d){var p,h,f,g,m,v,b,y,M,w,C,A,x,S,z;if(l.disabledValuesHistory=l.disabledValuesHistory?l.disabledValuesHistory:[],(c=$(c)).addClass("localytics-chosen"),M=d[0],y=d[1],z=(b=u.ngOptions&&u.ngOptions.match(o))&&i(b[7]),S=b&&b[8],f=l.$eval(u.chosen)||{},w=angular.copy(e),angular.extend(w,f),angular.forEach(u,(function(e,n){if(t.call(r,n)>=0)return u.$observe(n,(function(e){var t;return t=String(c.attr(u.$attr[n])).slice(0,2),w[s(n)]="{{"===t?e:l.$eval(e),g()}))})),C=function(){return c.addClass("loading").attr("disabled",!0).trigger("chosen:updated")},A=function(){return c.removeClass("loading"),angular.isDefined(u.disabled)?c.attr("disabled",u.disabled):c.attr("disabled",!1),c.trigger("chosen:updated")},h=null,m=!1,v=function(){if(!h)return l.$evalAsync((function(){if(!h)return h=c.chosen(w).data("chosen")}))},g=function(){return h&&m&&c.attr("disabled",!0),c.trigger("chosen:updated")},y&&(p=y.$render,y.$render=function(){var e,t;v();try{t=M.readValue()}catch(n){}p();try{e=M.readValue()}catch(n){}if(S||u.multiple?!angular.equals(t,e):t!==e)return c.trigger("chosen:updated")},c.on("chosen:hiding_dropdown",(function(){return l.$applyAsync((function(){return y.$setTouched()}))})),u.multiple&&l.$watch((function(){return y.$viewValue}),y.$render,!0)),c.on("chosen:showing_dropdown",(function(){l.$broadcast("$chosen:showing_dropdown",{})})),c.on("change",(function(){c.trigger("chosen:updated"),l.templateScope?l.templateScope.$broadcast("$chosen:changed",{currentValue:l.content.DisplayParameters.CurrentValue,id:l.content.DisplayParameters.ID}):l.$broadcast("$chosen:updated",{})})),u.$observe("disabled",(function(){return c.trigger("chosen:updated")})),u.ngOptions&&y)return x=null,l.$watchCollection(z,(function(e,t){return x=n((function(){return angular.isUndefined(e)?C():(m=a(e),A(),g())}))})),l.$on("$destroy",(function(e){if(null!=x)return n.cancel(x)}))}}}])}).call(this),function(e,t,n){"use strict";var i=t.isArray,r=t.forEach,o=t.isString,a=t.element;function s(e){return["$animate",function(e){return{restrict:"AE",transclude:"element",terminal:!0,require:"^^ngMessages",link:function(t,n,r,o,a){var s,l,c,u=n[0],d=r.ngMessage||r.when,p=r.ngMessageExp||r.whenExp,h=function(e){s=e?i(e)?e:e.split(/[\s,]+/):null,o.reRender()};p?(h(t.$eval(p)),t.$watchCollection(p,h)):h(d),o.register(u,c={test:function(e){return function(e,t){if(e)return i(e)?e.indexOf(t)>=0:e.hasOwnProperty(t)}(s,e)},attach:function(){l||a(t,(function(t){e.enter(t,null,n),(l=t).on("$destroy",(function(){l&&(o.deregister(u),c.detach())}))}))},detach:function(){if(l){var t=l;l=null,e.leave(t)}}})}}}]}t.module("ngMessages",[]).directive("ngMessages",["$animate",function(e){return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(i,o,a){var s,l,c=this,u=0,d=this.messages={};function p(e,t){for(var n=t,i=[];n&&n!==e;){var r=n.$$ngMessageNode;if(r&&r.length)return d[r];n.childNodes.length&&-1==i.indexOf(n)?(i.push(n),n=n.childNodes[n.childNodes.length-1]):n=n.previousSibling||n.parentNode}}this.render=function(u){s=!1,l=u=u||{};for(var d=t(o,a.ngMessagesMultiple)||t(o,a.multiple),p=[],h={},f=c.head,g=!1,m=0;null!=f;){m++;var v=f.message,b=!1;g||r(u,(function(e,t){if(!b&&n(e)&&v.test(t)){if(h[t])return;h[t]=!0,b=!0,v.attach()}})),b?g=!d:p.push(v),f=f.next}r(p,(function(e){e.detach()})),p.length!==m?e.setClass(i,"ng-active","ng-inactive"):e.setClass(i,"ng-inactive","ng-active")},o.$watchCollection(a.ngMessages||a.for,c.render),this.reRender=function(){s||(s=!0,o.$evalAsync((function(){s&&l&&c.render(l)})))},this.register=function(e,t){var n=u.toString();d[n]={message:t},function(e,t,n){var i=d[n];if(c.head){var r=p(e,t);r?(i.next=r.next,r.next=i):(i.next=c.head,c.head=i)}else c.head=i}(i[0],e,n),e.$$ngMessageNode=n,u++,c.reRender()},this.deregister=function(e){var t=e.$$ngMessageNode;delete e.$$ngMessageNode,function(e,t,n){var i=d[n],r=p(e,t);r?r.next=i.next:c.head=i.next}(i[0],e,t),delete d[t],c.reRender()}}]};function t(e,t){return o(t)&&0===t.length||n(e.$eval(t))}function n(e){return o(e)?e.length:!!e}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(e,t,n){return{restrict:"AE",require:"^^ngMessages",link:function(i,r,o){var s=o.ngMessagesInclude||o.src;e(s).then((function(e){n(e)(i,(function(e){r.after(e);var n=a(t[0].createComment(" ngMessagesInclude: "+s+" "));r.after(n),r.remove()}))}))}}}]).directive("ngMessage",s()).directive("ngMessageExp",s())}(window,window.angular),function(e,t){"use strict";function n(e,t,n){e.directive(t,["$parse","$window","$timeout",function(e,i,r){return{priority:1,restrict:"A",link:function(o,a,s){var l=a[0],c=function(e,t,n){if(""!==t){var i=e(t);return void 0!==i.assign?function(e,t,n){return{getValue:function(){return e(n)},setValue:function(i){i!==e(n)&&n.$apply((function(){t(n,i)}))}}}(i,i.assign,n):function(e,t){return{getValue:function(){return e(t)},setValue:function(){}}}(i,n)}return r=!0,{getValue:function(){return r},setValue:function(e){r=e}};var r}(e,s[t],o);function u(){c.getValue()&&!n.isAttached(l)&&n.scroll(l)}o.$watch(u),r(u,0,!1),i.addEventListener("resize",u,!1),a.bind("scroll",(function(){c.setValue(n.isAttached(l))}))}}}])}var i={isAttached:function(e){return e.scrollTop+e.clientHeight+1>=e.scrollHeight},scroll:function(e){e.scrollTop=e.scrollHeight}},r=e.module("luegg.directives",[]);n(r,"scrollGlue",i),n(r,"scrollGlueTop",{isAttached:function(e){return e.scrollTop<=1},scroll:function(e){e.scrollTop=0}}),n(r,"scrollGlueBottom",i),n(r,"scrollGlueLeft",{isAttached:function(e){return e.scrollLeft<=1},scroll:function(e){e.scrollLeft=0}}),n(r,"scrollGlueRight",{isAttached:function(e){return e.scrollLeft+e.clientWidth+1>=e.scrollWidth},scroll:function(e){e.scrollLeft=e.scrollWidth}})}(angular),function(e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else{if("function"==typeof define&&define.amd)return define([],e);(this||window).CodeMirror=e()}}((function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),i=/MSIE \d/.test(e),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=i||r,a=o&&(i?document.documentMode||6:r[1]),s=/WebKit\//.test(e),l=s&&/Qt\/\d+\.\d+/.test(e),c=/Chrome\//.test(e),u=/Opera\//.test(e),d=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),h=/PhantomJS/.test(e),f=/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=f||/Android|webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),m=f||/Mac/.test(t),v=/\bCrOS\b/.test(e),b=/win/i.test(t),y=u&&e.match(/Version\/(\d*\.\d*)/);y&&(y=Number(y[1])),y&&y>=15&&(u=!1,s=!0);var M=m&&(l||u&&(null==y||y<12.11)),w=n||o&&a>=9,C=!1,A=!1;function x(e,t){if(!(this instanceof x))return new x(e,t);this.options=t=t?wo(t):{},wo(Jn,t,!1),P(t);var n=t.value;"string"==typeof n&&(n=new mr(n,t.mode,null,t.lineSeparator)),this.doc=n;var i=new x.inputStyles[t.inputStyle](this),r=this.display=new S(e,n,i);r.wrapper.CodeMirror=this,E(this),_(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),t.autofocus&&!g&&r.input.focus(),I(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new co,keySeq:null,specialChars:null};var l=this;for(var c in o&&a<11&&setTimeout((function(){l.display.input.reset(!0)}),20),function(e){var t=e.display;Vr(t.scroller,"mousedown",Gt(e,cn)),Vr(t.scroller,"dblclick",o&&a<11?Gt(e,(function(t){if(!eo(e,t)){var n=ln(e,t);if(n&&!dn(e,t)&&!sn(e.display,t)){Ir(t);var i=e.findWordAt(n);Be(e.doc,i.anchor,i.head)}}})):function(t){eo(e,t)||Ir(t)}),w||Vr(t.scroller,"contextmenu",(function(t){On(e,t)}));var n,i={end:0};function r(){t.activeTouch&&(n=setTimeout((function(){t.activeTouch=null}),1e3),(i=t.activeTouch).end=+new Date)}function s(e,t){if(null==t.left)return!0;var n=t.left-e.left,i=t.top-e.top;return n*n+i*i>400}Vr(t.scroller,"touchstart",(function(r){if(!eo(e,r)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(r)){clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-i.end<=300?i:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}})),Vr(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),Vr(t.scroller,"touchend",(function(n){var i=t.activeTouch;if(i&&!sn(t,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!i.prev||s(i,i.prev)?new Le(a,a):!i.prev.prev||s(i,i.prev.prev)?e.findWordAt(a):new Le(he(a.line,0),qe(e.doc,he(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ir(n)}r()})),Vr(t.scroller,"touchcancel",r),Vr(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(gn(e,t.scroller.scrollTop),mn(e,t.scroller.scrollLeft,!0),Kr(e,"scroll",e))})),Vr(t.scroller,"mousewheel",(function(t){Mn(e,t)})),Vr(t.scroller,"DOMMouseScroll",(function(t){Mn(e,t)})),Vr(t.wrapper,"scroll",(function(){t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){eo(e,t)||Hr(t)},over:function(t){eo(e,t)||(function(e,t){var n=ln(e,t);if(n){var i=document.createDocumentFragment();nt(e,n,i),e.display.dragCursor||(e.display.dragCursor=_o("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),Eo(e.display.dragCursor,i)}}(e,t),Hr(t))},start:function(t){!function(e,t){if(o&&(!e.state.draggingText||+new Date-pn<100))Hr(t);else if(!eo(e,t)&&!sn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.setDragImage&&!d)){var n=_o("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",u&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),u&&n.parentNode.removeChild(n)}}(e,t)},drop:Gt(e,hn),leave:function(t){eo(e,t)||fn(e)}};var l=t.input.getField();Vr(l,"keyup",(function(t){Tn.call(e,t)})),Vr(l,"keydown",Gt(e,zn)),Vr(l,"keypress",Gt(e,kn)),Vr(l,"focus",Co($n,e)),Vr(l,"blur",Co(_n,e))}(this),function(){var e;Fo||(Vr(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Ro(an)}),100))})),Vr(window,"blur",(function(){Ro(_n)})),Fo=!0)}(),Bt(this),this.curOp.forceUpdate=!0,Mr(this,n),t.autofocus&&!g||l.hasFocus()?setTimeout(Co($n,this),20):_n(this),Zn)Zn.hasOwnProperty(c)&&Zn[c](this,t[c],ti);j(this),t.finishInit&&t.finishInit(this);for(var p=0;p<oi.length;++p)oi[p](this);Ft(this),s&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(r.lineDiv).textRendering&&(r.lineDiv.style.textRendering="auto")}function S(e,t,i){var r=this;this.input=i,r.scrollbarFiller=_o("div",null,"CodeMirror-scrollbar-filler"),r.scrollbarFiller.setAttribute("cm-not-content","true"),r.gutterFiller=_o("div",null,"CodeMirror-gutter-filler"),r.gutterFiller.setAttribute("cm-not-content","true"),r.lineDiv=_o("div",null,"CodeMirror-code"),r.selectionDiv=_o("div",null,null,"position: relative; z-index: 1"),r.cursorDiv=_o("div",null,"CodeMirror-cursors"),r.measure=_o("div",null,"CodeMirror-measure"),r.lineMeasure=_o("div",null,"CodeMirror-measure"),r.lineSpace=_o("div",[r.measure,r.lineMeasure,r.selectionDiv,r.cursorDiv,r.lineDiv],null,"position: relative; outline: none"),r.mover=_o("div",[_o("div",[r.lineSpace],"CodeMirror-lines")],null,"position: relative"),r.sizer=_o("div",[r.mover],"CodeMirror-sizer"),r.sizerWidth=null,r.heightForcer=_o("div",null,null,"position: absolute; height: "+ro+"px; width: 1px;"),r.gutters=_o("div",null,"CodeMirror-gutters"),r.lineGutter=null,r.scroller=_o("div",[r.sizer,r.heightForcer,r.gutters],"CodeMirror-scroll"),r.scroller.setAttribute("tabIndex","-1"),r.wrapper=_o("div",[r.scrollbarFiller,r.gutterFiller,r.scroller],"CodeMirror"),o&&a<8&&(r.gutters.style.zIndex=-1,r.scroller.style.paddingRight=0),s||n&&g||(r.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(r.wrapper):e(r.wrapper)),r.viewFrom=r.viewTo=t.first,r.reportedViewFrom=r.reportedViewTo=t.first,r.view=[],r.renderedView=null,r.externalMeasured=null,r.viewOffset=0,r.lastWrapHeight=r.lastWrapWidth=0,r.updateLineNumbers=null,r.nativeBarWidth=r.barHeight=r.barWidth=0,r.scrollbarsClipped=!1,r.lineNumWidth=r.lineNumInnerWidth=r.lineNumChars=null,r.alignWidgets=!1,r.cachedCharWidth=r.cachedTextHeight=r.cachedPaddingH=null,r.maxLine=null,r.maxLineLength=0,r.maxLineChanged=!1,r.wheelDX=r.wheelDY=r.wheelStartX=r.wheelStartY=null,r.shift=!1,r.selForContextMenu=null,r.activeTouch=null,i.init(r)}function z(e){e.doc.mode=x.getMode(e.options,e.doc.modeOption),T(e)}function T(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.frontier=e.doc.first,ot(e,100),e.state.modeGen++,e.curOp&&Zt(e)}function k(e){var t=Dt(e.display),n=e.options.lineWrapping,i=n&&Math.max(5,e.display.scroller.clientWidth/Pt(e.display)-3);return function(r){if(Bi(e.doc,r))return 0;var o=0;if(r.widgets)for(var a=0;a<r.widgets.length;a++)r.widgets[a].height&&(o+=r.widgets[a].height);return n?o+(Math.ceil(r.text.length/i)||1)*t:o+t}}function $(e){var t=e.doc,n=k(e);t.iter((function(e){var t=n(e);t!=e.height&&xr(e,t)}))}function _(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),xt(e)}function O(e){E(e),Zt(e),setTimeout((function(){X(e)}),20)}function E(e){var t=e.display.gutters,n=e.options.gutters;Oo(t);for(var i=0;i<n.length;++i){var r=n[i],o=t.appendChild(_o("div",null,"CodeMirror-gutter "+r));"CodeMirror-linenumbers"==r&&(e.display.lineGutter=o,o.style.width=(e.display.lineNumWidth||1)+"px")}t.style.display=i?"":"none",L(e)}function L(e){e.display.sizer.style.marginLeft=e.display.gutters.offsetWidth+"px"}function N(e){if(0==e.height)return 0;for(var t,n=e.text.length,i=e;t=Di(i);)i=(r=t.find(0,!0)).from.line,n+=r.from.ch-r.to.ch;for(i=e;t=Pi(i);){var r=t.find(0,!0);n-=i.text.length-r.from.ch,n+=(i=r.to.line).text.length-r.to.ch}return n}function D(e){var t=e.display,n=e.doc;t.maxLine=wr(n,n.first),t.maxLineLength=N(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=N(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}function P(e){var t=vo(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function q(e){var t=e.display,n=t.gutters.offsetWidth,i=Math.round(e.doc.height+ct(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+dt(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function W(e,t,n){this.cm=n;var i=this.vert=_o("div",[_o("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=_o("div",[_o("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(r),Vr(i,"scroll",(function(){i.clientHeight&&t(i.scrollTop,"vertical")})),Vr(r,"scroll",(function(){r.clientWidth&&t(r.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,o&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}function R(){}function I(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&Po(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new x.scrollbarModel[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Vr(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?mn(e,t):gn(e,t)}),e),e.display.scrollbars.addClass&&qo(e.display.wrapper,e.display.scrollbars.addClass)}function B(e,t){t||(t=q(e));var n=e.display.barWidth,i=e.display.barHeight;F(e,t);for(var r=0;r<4&&n!=e.display.barWidth||i!=e.display.barHeight;r++)n!=e.display.barWidth&&e.options.lineWrapping&&Z(e),F(e,q(e)),n=e.display.barWidth,i=e.display.barHeight}function F(e,t){var n=e.display,i=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function H(e,t,n){var i=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;i=Math.floor(i-lt(e));var r=n&&null!=n.bottom?n.bottom:i+e.wrapper.clientHeight,o=zr(t,i),a=zr(t,r);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=zr(t,Tr(wr(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=zr(t,Tr(wr(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function X(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=U(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,o=i+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&n[a].gutter&&(n[a].gutter.style.left=o);var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=i+r+"px")}}function j(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=V(e.options,t.first+t.size-1),i=e.display;if(n.length!=i.lineNumChars){var r=i.measure.appendChild(_o("div",[_o("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=r.firstChild.offsetWidth,a=r.offsetWidth-o;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(o,i.lineGutter.offsetWidth-a)+1,i.lineNumWidth=i.lineNumInnerWidth+a,i.lineNumChars=i.lineNumInnerWidth?n.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",L(e),!0}return!1}function V(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function U(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function G(e,t,n){var i=e.display;this.viewport=t,this.visible=H(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=pt(e),this.force=n,this.dims=te(e),this.events=[]}function Y(e,t){var n=e.display,i=e.doc;if(t.editorIsHidden)return tn(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==on(e))return!1;j(e)&&(tn(e),t.dims=te(e));var r=i.first+i.size,o=Math.max(t.visible.from-e.options.viewportMargin,i.first),a=Math.min(r,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(i.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(r,n.viewTo)),A&&(o=Ri(e.doc,o),a=Ii(e.doc,a));var l=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var i=e.display;0==i.view.length||t>=i.viewTo||n<=i.viewFrom?(i.view=Jt(e,t,n),i.viewFrom=t):(i.viewFrom>t?i.view=Jt(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(nn(e,t))),i.viewFrom=t,i.viewTo<n?i.view=i.view.concat(Jt(e,i.viewTo,n)):i.viewTo>n&&(i.view=i.view.slice(0,nn(e,n)))),i.viewTo=n}(e,o,a),n.viewOffset=Tr(wr(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=on(e);if(!l&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=No();return c>4&&(n.lineDiv.style.display="none"),function(e,t,n){var i=e.display,r=e.options.lineNumbers,o=i.lineDiv,a=o.firstChild;function l(t){var n=t.nextSibling;return s&&m&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=i.view,u=i.viewFrom,d=0;d<c.length;d++){var p=c[d];if(p.hidden);else if(p.node&&p.node.parentNode==o){for(;a!=p.node;)a=l(a);var h=r&&null!=t&&t<=u&&p.lineNumber;p.changes&&(vo(p.changes,"gutter")>-1&&(h=!1),ne(e,p,u,n)),h&&(Oo(p.lineNumber),p.lineNumber.appendChild(document.createTextNode(V(e.options,u)))),a=p.node.nextSibling}else{var f=ce(e,p,u,n);o.insertBefore(f,a)}u+=p.size}for(;a;)a=l(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,u&&No()!=u&&u.offsetHeight&&u.focus(),Oo(n.cursorDiv),Oo(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,ot(e,400)),n.updateLineNumbers=null,!0}function K(e,t){for(var n=t.viewport,i=!0;(i&&e.options.lineWrapping&&t.oldDisplayWidth!=pt(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+ct(e.display)-ht(e),n.top)}),t.visible=H(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&Y(e,t);i=!1){Z(e);var r=q(e);et(e),B(e,r),J(e,r)}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Q(e,t){var n=new G(e,t);if(Y(e,n)){Z(e),K(e,n);var i=q(e);et(e),B(e,i),J(e,i),n.finish()}}function J(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+dt(e)+"px"}function Z(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i<t.view.length;i++){var r,s=t.view[i];if(!s.hidden){if(o&&a<8){var l=s.node.offsetTop+s.node.offsetHeight;r=l-n,n=l}else{var c=s.node.getBoundingClientRect();r=c.bottom-c.top}var u=s.line.height-r;if(r<2&&(r=Dt(t)),(u>.001||u<-.001)&&(xr(s.line,r),ee(s.line),s.rest))for(var d=0;d<s.rest.length;d++)ee(s.rest[d])}}}function ee(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function te(e){for(var t=e.display,n={},i={},r=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+r,i[e.options.gutters[a]]=o.clientWidth;return{fixedPos:U(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function ne(e,t,n,i){for(var r=0;r<t.changes.length;r++){var o=t.changes[r];"text"==o?oe(e,t):"gutter"==o?se(e,t,n,i):"class"==o?ae(t):"widget"==o&&le(e,t,i)}t.changes=null}function ie(e){return e.node==e.text&&(e.node=_o("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),o&&a<8&&(e.node.style.zIndex=2)),e.node}function re(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):or(e,t)}function oe(e,t){var n=t.text.className,i=re(e,t);t.text==t.node&&(t.node=i.pre),t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,ae(t)):n&&(t.text.className=n)}function ae(e){!function(e){var t=e.bgClass?e.bgClass+" "+(e.line.bgClass||""):e.line.bgClass;if(t&&(t+=" CodeMirror-linebackground"),e.background)t?e.background.className=t:(e.background.parentNode.removeChild(e.background),e.background=null);else if(t){var n=ie(e);e.background=n.insertBefore(_o("div",null,t),n.firstChild)}}(e),e.line.wrapClass?ie(e).className=e.line.wrapClass:e.node!=e.text&&(e.node.className=""),e.text.className=(e.textClass?e.textClass+" "+(e.line.textClass||""):e.line.textClass)||""}function se(e,t,n,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var r=ie(t);t.gutterBackground=_o("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),r.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){r=ie(t);var a=t.gutter=_o("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(a),r.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(_o("div",V(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var s=0;s<e.options.gutters.length;++s){var l=e.options.gutters[s],c=o.hasOwnProperty(l)&&o[l];c&&a.appendChild(_o("div",[c],"CodeMirror-gutter-elt","left: "+i.gutterLeft[l]+"px; width: "+i.gutterWidth[l]+"px"))}}}function le(e,t,n){t.alignable&&(t.alignable=null);for(var i=t.node.firstChild;i;i=r){var r=i.nextSibling;"CodeMirror-linewidget"==i.className&&t.node.removeChild(i)}ue(e,t,n)}function ce(e,t,n,i){var r=re(e,t);return t.text=t.node=r.pre,r.bgClass&&(t.bgClass=r.bgClass),r.textClass&&(t.textClass=r.textClass),ae(t),se(e,t,n,i),ue(e,t,i),t.node}function ue(e,t,n){if(de(e,t.line,t,n,!0),t.rest)for(var i=0;i<t.rest.length;i++)de(e,t.rest[i],t,n,!1)}function de(e,t,n,i,r){if(t.widgets)for(var o=ie(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=_o("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),pe(l,c,n,i),e.display.input.setUneditable(c),r&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),Jr(l,"redraw")}}function pe(e,t,n,i){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var r=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(r-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=r+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}W.prototype=wo({update:function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;return n?(this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0",this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+(e.viewHeight-(t?i:0)))+"px"):(this.vert.style.display="",this.vert.firstChild.style.height="0"),t?(this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=e.barLeft+"px",this.horiz.firstChild.style.width=e.scrollWidth-e.clientWidth+(e.viewWidth-e.barLeft-(n?i:0))+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0"),!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:t?i:0}},setScrollLeft:function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz)},setScrollTop:function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert)},zeroWidthHack:function(){this.horiz.style.height=this.vert.style.width=m&&!p?"12px":"18px",this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new co,this.disableVert=new co},enableZeroWidthBar:function(e,t){e.style.pointerEvents="auto",t.set(1e3,(function n(){var i=e.getBoundingClientRect();document.elementFromPoint(i.left+1,i.bottom-1)!=e?e.style.pointerEvents="none":t.set(1e3,n)}))},clear:function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)}},W.prototype),R.prototype=wo({update:function(){return{bottom:0,right:0}},setScrollLeft:function(){},setScrollTop:function(){},clear:function(){}},R.prototype),x.scrollbarModel={native:W,null:R},G.prototype.signal=function(e,t){no(e,t)&&this.events.push(arguments)},G.prototype.finish=function(){for(var e=0;e<this.events.length;e++)Kr.apply(null,this.events[e])};var he=x.Pos=function(e,t){if(!(this instanceof he))return new he(e,t);this.line=e,this.ch=t},fe=x.cmpPos=function(e,t){return e.line-t.line||e.ch-t.ch};function ge(e){return he(e.line,e.ch)}function me(e,t){return fe(e,t)<0?t:e}function ve(e,t){return fe(e,t)<0?e:t}function be(e){e.state.focused||(e.display.input.focus(),$n(e))}var ye=null;function Me(e,t,n,i,r){var o=e.doc;e.display.shift=!1,i||(i=o.sel);var a=e.state.pasteIncoming||"paste"==r,s=o.splitLines(t),l=null;if(a&&i.ranges.length>1)if(ye&&ye.join("\n")==t){if(i.ranges.length%ye.length==0){l=[];for(var c=0;c<ye.length;c++)l.push(o.splitLines(ye[c]))}}else s.length==i.ranges.length&&(l=bo(s,(function(e){return[e]})));for(c=i.ranges.length-1;c>=0;c--){var u=i.ranges[c],d=u.from(),p=u.to();u.empty()&&(n&&n>0?d=he(d.line,d.ch-n):e.state.overwrite&&!a&&(p=he(p.line,Math.min(wr(o,p.line).text.length,p.ch+go(s).length))));var h=e.curOp.updateInput,f={from:d,to:p,text:l?l[c%l.length]:s,origin:r||(a?"paste":e.state.cutIncoming?"cut":"+input")};qn(e.doc,f),Jr(e,"inputRead",e,f)}t&&!a&&Ce(e,t),jn(e),e.curOp.updateInput=h,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function we(e,t){var n=e.clipboardData&&e.clipboardData.getData("text/plain");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ut(t,(function(){Me(t,n,0,null,"paste")})),!0}function Ce(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=e.getModeAt(r.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Un(e,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(wr(e.doc,r.head.line).text.slice(0,r.head.ch))&&(a=Un(e,r.head.line,"smart"));a&&Jr(e,"electricInput",e,r.head.line)}}}function Ae(e){for(var t=[],n=[],i=0;i<e.doc.sel.ranges.length;i++){var r=e.doc.sel.ranges[i].head.line,o={anchor:he(r,0),head:he(r+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function xe(e){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck","false")}function Se(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new co,this.inaccurateSelection=!1,this.hasSelection=!1,this.composing=null}function ze(){var e=_o("textarea",null,null,"position: absolute; padding: 0; width: 1px; height: 1em; outline: none"),t=_o("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return s?e.style.width="1000px":e.setAttribute("wrap","off"),f&&(e.style.border="1px solid black"),xe(e),t}function Te(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new co,this.gracePeriod=!1}function ke(e,t){var n=mt(e,t.line);if(!n||n.hidden)return null;var i=wr(e.doc,t.line),r=ft(n,i,t.line),o=kr(i),a="left";o&&(a=aa(o,t.ch)%2?"right":"left");var s=wt(r.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function $e(e,t){return t&&(e.bad=!0),e}function _e(e,t,n){var i;if(t==e.display.lineDiv){if(!(i=e.display.lineDiv.childNodes[n]))return $e(e.clipPos(he(e.display.viewTo-1)),!0);t=null,n=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var r=0;r<e.display.view.length;r++){var o=e.display.view[r];if(o.node==i)return Oe(o,t,n)}}function Oe(e,t,n){var i=e.text.firstChild,r=!1;if(!t||!Lo(i,t))return $e(he(Sr(e.line),0),!0);if(t==i&&(r=!0,t=i.childNodes[n],n=0,!t)){var o=e.rest?go(e.rest):e.line;return $e(he(Sr(o),o.text.length),r)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=i;)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,n,i){for(var r=-1;r<(c?c.length:0);r++)for(var o=r<0?l.map:c[r],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=Sr(r<0?e.line:e.rest[r]),d=o[a]+i;return(i<0||s!=t)&&(d=o[a+(i?1:0)]),he(u,d)}}}var d=u(a,s,n);if(d)return $e(d,r);for(var p=s.nextSibling,h=a?a.nodeValue.length-n:0;p;p=p.nextSibling){if(d=u(p,p.firstChild,0))return $e(he(d.line,d.ch-h),r);h+=p.textContent.length}var f=s.previousSibling;for(h=n;f;f=f.previousSibling){if(d=u(f,f.firstChild,-1))return $e(he(d.line,d.ch+h),r);h+=p.textContent.length}}function Ee(e,t){this.ranges=e,this.primIndex=t}function Le(e,t){this.anchor=e,this.head=t}function Ne(e,t){var n=e[t];e.sort((function(e,t){return fe(e.from(),t.from())})),t=vo(e,n);for(var i=1;i<e.length;i++){var r=e[i],o=e[i-1];if(fe(o.to(),r.from())>=0){var a=ve(o.from(),r.from()),s=me(o.to(),r.to()),l=o.empty()?r.from()==r.head:o.from()==o.head;i<=t&&--t,e.splice(--i,2,new Le(l?s:a,l?a:s))}}return new Ee(e,t)}function De(e,t){return new Ee([new Le(e,t||e)],0)}function Pe(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function qe(e,t){if(t.line<e.first)return he(e.first,0);var n=e.first+e.size-1;return t.line>n?he(n,wr(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?he(e.line,t):n<0?he(e.line,0):e}(t,wr(e,t.line).text.length)}function We(e,t){return t>=e.first&&t<e.first+e.size}function Re(e,t){for(var n=[],i=0;i<t.length;i++)n[i]=qe(e,t[i]);return n}function Ie(e,t,n,i){if(e.cm&&e.cm.display.shift||e.extend){var r=t.anchor;if(i){var o=fe(n,r)<0;o!=fe(i,r)<0?(r=n,n=i):o!=fe(n,i)<0&&(n=i)}return new Le(r,n)}return new Le(i||n,n)}function Be(e,t,n,i){Ve(e,new Ee([Ie(e,e.sel.primary(),t,n)],0),i)}function Fe(e,t,n){for(var i=[],r=0;r<e.sel.ranges.length;r++)i[r]=Ie(e,e.sel.ranges[r],t[r],null);Ve(e,Ne(i,e.sel.primIndex),n)}function He(e,t,n,i){var r=e.sel.ranges.slice(0);r[t]=n,Ve(e,Ne(r,e.sel.primIndex),i)}function Xe(e,t,n,i){Ve(e,De(t,n),i)}function je(e,t,n){var i=e.history.done,r=go(i);r&&r.ranges?(i[i.length-1]=t,Ue(e,t,n)):Ve(e,t,n)}function Ve(e,t,n){Ue(e,t,n),function(e,t,n,i){var r=e.history,o=i&&i.origin;n==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||function(e,t,n,i){var r=t.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,go(r.done),t))?r.done[r.done.length-1]=t:Lr(t,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=n,i&&!1!==i.clearRedo&&Or(r.undone)}(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Ue(e,t,n){(no(e,"beforeSelectionChange")||e.cm&&no(e.cm,"beforeSelectionChange"))&&(t=function(e,t,n){var i={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new Le(qe(e,t[n].anchor),qe(e,t[n].head))},origin:n&&n.origin};return Kr(e,"beforeSelectionChange",e,i),e.cm&&Kr(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?Ne(i.ranges,i.ranges.length-1):t}(e,t,n));var i=n&&n.bias||(fe(t.primary().head,e.sel.primary().head)<0?-1:1);Ge(e,Ke(e,t,i,!0)),n&&!1===n.scroll||!e.cm||jn(e.cm)}function Ge(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,to(e.cm)),Jr(e,"cursorActivity",e))}function Ye(e){Ge(e,Ke(e,e.sel,null,!1))}function Ke(e,t,n,i){for(var r,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Je(e,a.anchor,s&&s.anchor,n,i),c=Je(e,a.head,s&&s.head,n,i);(r||l!=a.anchor||c!=a.head)&&(r||(r=t.ranges.slice(0,o)),r[o]=new Le(l,c))}return r?Ne(r,t.primIndex):t}function Qe(e,t,n,i,r){var o=wr(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker;if((null==s.from||(l.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(r&&(Kr(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c,u=l.find(i<0?1:-1);if((i<0?l.inclusiveRight:l.inclusiveLeft)&&(u=Ze(e,u,-i,u&&u.line==t.line?o:null)),u&&u.line==t.line&&(c=fe(u,n))&&(i<0?c<0:c>0))return Qe(e,u,t,i,r)}var d=l.find(i<0?-1:1);return(i<0?l.inclusiveLeft:l.inclusiveRight)&&(d=Ze(e,d,i,d.line==t.line?o:null)),d?Qe(e,d,t,i,r):null}}return t}function Je(e,t,n,i,r){var o=i||1;return Qe(e,t,n,o,r)||!r&&Qe(e,t,n,o,!0)||Qe(e,t,n,-o,r)||!r&&Qe(e,t,n,-o,!0)||(e.cantEdit=!0,he(e.first,0))}function Ze(e,t,n,i){return n<0&&0==t.ch?t.line>e.first?qe(e,he(t.line-1)):null:n>0&&t.ch==(i||wr(e,t.line)).text.length?t.line<e.first+e.size-1?he(t.line+1,0):null:new he(t.line,t.ch+n)}function et(e){e.display.input.showSelection(e.display.input.prepareSelection())}function tt(e,t){for(var n=e.doc,i={},r=i.cursors=document.createDocumentFragment(),o=i.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(!1!==t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&nt(e,s.head,r),l||it(e,s,o)}}return i}function nt(e,t,n){var i=_t(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),r=n.appendChild(_o("div","\xa0","CodeMirror-cursor"));if(r.style.left=i.left+"px",r.style.top=i.top+"px",r.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var o=n.appendChild(_o("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=i.other.left+"px",o.style.top=i.other.top+"px",o.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function it(e,t,n){var i=e.display,r=e.doc,o=document.createDocumentFragment(),a=ut(e.display),s=a.left,l=Math.max(i.sizerWidth,pt(e)-i.sizer.offsetLeft)-a.right;function c(e,t,n,i){t<0&&(t=0),t=Math.round(t),i=Math.round(i),o.appendChild(_o("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px; top: "+t+"px; width: "+(null==n?l-e:n)+"px; height: "+(i-t)+"px"))}function u(t,n,i){var o,a,u=wr(r,t),d=u.text.length;function p(n,i){return $t(e,he(t,n),"div",u,i)}return function(e,t,n,i){if(!e)return i(t,n,"ltr");for(var r=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(i(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr"),r=!0)}r||i(t,n,"ltr")}(kr(u),n||0,null==i?d:i,(function(e,t,r){var u,h,f,g=p(e,"left");if(e==t)u=g,h=f=g.left;else{if(u=p(t-1,"right"),"rtl"==r){var m=g;g=u,u=m}h=g.left,f=u.right}null==n&&0==e&&(h=s),u.top-g.top>3&&(c(h,g.top,null,g.bottom),h=s,g.bottom<u.top&&c(h,g.bottom,null,u.top)),null==i&&t==d&&(f=l),(!o||g.top<o.top||g.top==o.top&&g.left<o.left)&&(o=g),(!a||u.bottom>a.bottom||u.bottom==a.bottom&&u.right>a.right)&&(a=u),h<s+1&&(h=s),c(h,u.top,f-h,u.bottom)})),{start:o,end:a}}var d=t.from(),p=t.to();if(d.line==p.line)u(d.line,d.ch,p.ch);else{var h=wr(r,d.line),f=wr(r,p.line),g=Wi(h)==Wi(f),m=u(d.line,d.ch,g?h.text.length+1:null).end,v=u(p.line,g?0:null,p.ch).start;g&&(m.top<v.top-2?(c(m.right,m.top,null,m.bottom),c(s,v.top,v.left,v.bottom)):c(m.right,m.top,v.left-m.right,m.bottom)),m.bottom<v.top&&c(s,m.bottom,null,v.top)}n.appendChild(o)}function rt(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ot(e,t){e.doc.mode.startState&&e.doc.frontier<e.display.viewTo&&e.state.highlight.set(t,Co(at,e))}function at(e){var t=e.doc;if(t.frontier<t.first&&(t.frontier=t.first),!(t.frontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,i=si(t.mode,st(e,t.frontier)),r=[];t.iter(t.frontier,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(t.frontier>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength,l=Zi(e,o,s?si(t.mode,i):i,!0);o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&p<a.length;++p)d=a[p]!=o.styles[p];d&&r.push(t.frontier),o.stateAfter=s?i:si(t.mode,i)}else o.text.length<=e.options.maxHighlightLength&&tr(e,o.text,i),o.stateAfter=t.frontier%5==0?si(t.mode,i):null;if(++t.frontier,+new Date>n)return ot(e,e.options.workDelay),!0})),r.length&&Ut(e,(function(){for(var t=0;t<r.length;t++)en(e,r[t],"text")}))}}function st(e,t,n){var i=e.doc,r=e.display;if(!i.mode.startState)return!0;var o=function(e,t,n){for(var i,r,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=wr(o,s-1);if(l.stateAfter&&(!n||s<=o.frontier))return s;var c=uo(l.text,null,e.options.tabSize);(null==r||i>c)&&(r=s-1,i=c)}return r}(e,t,n),a=o>i.first&&wr(i,o-1).stateAfter;return a=a?si(i.mode,a):li(i.mode),i.iter(o,t,(function(n){tr(e,n.text,a),n.stateAfter=o==t-1||o%5==0||o>=r.viewFrom&&o<r.viewTo?si(i.mode,a):null,++o})),n&&(i.frontier=o),a}function lt(e){return e.lineSpace.offsetTop}function ct(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function ut(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=Eo(e.measure,_o("pre","x")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(i.left)||isNaN(i.right)||(e.cachedPaddingH=i),i}function dt(e){return ro-e.display.nativeBarWidth}function pt(e){return e.display.scroller.clientWidth-dt(e)-e.display.barWidth}function ht(e){return e.display.scroller.clientHeight-dt(e)-e.display.barHeight}function ft(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(i=0;i<e.rest.length;i++)if(Sr(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function gt(e,t,n,i){return bt(e,vt(e,t),n,i)}function mt(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[nn(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function vt(e,t){var n=Sr(t),i=mt(e,n);i&&!i.text?i=null:i&&i.changes&&(ne(e,i,n,te(e)),e.curOp.forceUpdate=!0),i||(i=function(e,t){var n=Sr(t=Wi(t)),i=e.display.externalMeasured=new Qt(e.doc,t,n);i.lineN=n;var r=i.built=or(e,i);return i.text=r.pre,Eo(e.display.lineMeasure,r.pre),i}(e,t));var r=ft(i,t,n);return{line:t,view:i,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function bt(e,t,n,i,r){t.before&&(n=-1);var s,l=n+(i||"");return t.cache.hasOwnProperty(l)?s=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var i=e.options.lineWrapping,r=i&&pt(e);if(!t.measure.heights||i&&t.measure.width!=r){var o=t.measure.heights=[];if(i){t.measure.width=r;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(s=function(e,t,n,i){var r,s=wt(t.map,n,i),l=s.node,c=s.start,u=s.end,d=s.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&$o(t.line.text.charAt(s.coverStart+c));)--c;for(;s.coverStart+u<s.coverEnd&&$o(t.line.text.charAt(s.coverStart+u));)++u;if(o&&a<9&&0==c&&u==s.coverEnd-s.coverStart)r=l.parentNode.getBoundingClientRect();else if(o&&e.options.lineWrapping){var h=To(l,c,u).getClientRects();r=h.length?h["right"==i?h.length-1:0]:Mt}else r=To(l,c,u).getBoundingClientRect()||Mt;if(r.left||r.right||0==c)break;u=c,c-=1,d="right"}o&&a<11&&(r=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Qo)return Qo;var t=Eo(e,_o("span","x")),n=t.getBoundingClientRect(),i=To(t,0,1).getBoundingClientRect();return Qo=Math.abs(n.left-i.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*i,bottom:t.bottom*i}}(e.display.measure,r))}else c>0&&(d=i="right"),r=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==i?h.length-1:0]:l.getBoundingClientRect();if(o&&a<9&&!c&&(!r||!r.left&&!r.right)){var f=l.parentNode.getClientRects()[0];r=f?{left:f.left,right:f.left+Pt(e.display),top:f.top,bottom:f.bottom}:Mt}var g=r.top-t.rect.top,m=r.bottom-t.rect.top,v=(g+m)/2,b=t.view.measure.heights;for(p=0;p<b.length-1&&!(v<b[p]);p++);var y={left:("right"==d?r.right:r.left)-t.rect.left,right:("left"==d?r.left:r.right)-t.rect.left,top:p?b[p-1]:0,bottom:b[p]};return r.left||r.right||(y.bogus=!0),e.options.singleCursorHeightPerLine||(y.rtop=g,y.rbottom=m),y}(e,t,n,i)).bogus||(t.cache[l]=s)),{left:s.left,right:s.right,top:r?s.rtop:s.top,bottom:r?s.rbottom:s.bottom}}Se.prototype=wo({init:function(e){var t=this,n=this.cm,i=this.wrapper=ze(),r=this.textarea=i.firstChild;function s(e){if(!eo(n,e)){if(n.somethingSelected())ye=n.getSelections(),t.inaccurateSelection&&(t.prevInput="",t.inaccurateSelection=!1,r.value=ye.join("\n"),mo(r));else{if(!n.options.lineWiseCopyCut)return;var i=Ae(n);ye=i.text,"cut"==e.type?n.setSelections(i.ranges,null,ao):(t.prevInput="",r.value=i.text.join("\n"),mo(r))}"cut"==e.type&&(n.state.cutIncoming=!0)}}e.wrapper.insertBefore(i,e.wrapper.firstChild),f&&(r.style.width="0px"),Vr(r,"input",(function(){o&&a>=9&&t.hasSelection&&(t.hasSelection=null),t.poll()})),Vr(r,"paste",(function(e){eo(n,e)||we(e,n)||(n.state.pasteIncoming=!0,t.fastPoll())})),Vr(r,"cut",s),Vr(r,"copy",s),Vr(e.scroller,"paste",(function(i){sn(e,i)||eo(n,i)||(n.state.pasteIncoming=!0,t.focus())})),Vr(e.lineSpace,"selectstart",(function(t){sn(e,t)||Ir(t)})),Vr(r,"compositionstart",(function(){var e=n.getCursor("from");t.composing&&t.composing.range.clear(),t.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}})),Vr(r,"compositionend",(function(){t.composing&&(t.poll(),t.composing.range.clear(),t.composing=null)}))},prepareSelection:function(){var e=this.cm,t=e.display,n=e.doc,i=tt(e);if(e.options.moveInputWithCursor){var r=_t(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+a.top-o.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+a.left-o.left))}return i},showSelection:function(e){var t=this.cm.display;Eo(t.cursorDiv,e.cursors),Eo(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},reset:function(e){if(!this.contextMenuPending){var t,n,i=this.cm,r=i.doc;if(i.somethingSelected()){this.prevInput="";var s=r.sel.primary(),l=(t=Ko&&(s.to().line-s.from().line>100||(n=i.getSelection()).length>1e3))?"-":n||i.getSelection();this.textarea.value=l,i.state.focused&&mo(this.textarea),o&&a>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",o&&a>=9&&(this.hasSelection=null));this.inaccurateSelection=t}},getField:function(){return this.textarea},supportsTouch:function(){return!1},focus:function(){if("nocursor"!=this.cm.options.readOnly&&(!g||No()!=this.textarea))try{this.textarea.focus()}catch(Vo){}},blur:function(){this.textarea.blur()},resetPosition:function(){this.wrapper.style.top=this.wrapper.style.left=0},receivedFocus:function(){this.slowPoll()},slowPoll:function(){var e=this;e.pollingFast||e.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},fastPoll:function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,(function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}))},poll:function(){var e=this.cm,t=this.textarea,n=this.prevInput;if(this.contextMenuPending||!e.state.focused||Yo(t)&&!n&&!this.composing||e.isReadOnly()||e.options.disableInput||e.state.keySeq)return!1;var i=t.value;if(i==n&&!e.somethingSelected())return!1;if(o&&a>=9&&this.hasSelection===i||m&&/[\uf700-\uf7ff]/.test(i))return e.display.input.reset(),!1;if(e.doc.sel==e.display.selForContextMenu){var r=i.charCodeAt(0);if(8203!=r||n||(n="\u200b"),8666==r)return this.reset(),this.cm.execCommand("undo")}for(var s=0,l=Math.min(n.length,i.length);s<l&&n.charCodeAt(s)==i.charCodeAt(s);)++s;var c=this;return Ut(e,(function(){Me(e,i.slice(s),n.length-s,null,c.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?t.value=c.prevInput="":c.prevInput=i,c.composing&&(c.composing.range.clear(),c.composing.range=e.markText(c.composing.start,e.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},ensurePolled:function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},onKeyPress:function(){o&&a>=9&&(this.hasSelection=null),this.fastPoll()},onContextMenu:function(e){var t=this,n=t.cm,i=n.display,r=t.textarea,l=ln(n,e),c=i.scroller.scrollTop;if(l&&!u){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(l)&&Gt(n,Ve)(n.doc,De(l),ao);var d=r.style.cssText,p=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var h=t.wrapper.getBoundingClientRect();if(r.style.cssText="position: absolute; width: 30px; height: 30px; top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px; z-index: 1000; background: "+(o?"rgba(255, 255, 255, .05)":"transparent")+"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",s)var f=window.scrollY;if(i.input.focus(),s&&window.scrollTo(null,f),i.input.reset(),n.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=!0,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),o&&a>=9&&m(),w){Hr(e);var g=function(){Yr(window,"mouseup",g),setTimeout(v,20)};Vr(window,"mouseup",g)}else setTimeout(v,50)}function m(){if(null!=r.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?r.value:"");r.value="\u21da",r.value=o,t.prevInput=e?"":"\u200b",r.selectionStart=1,r.selectionEnd=o.length,i.selForContextMenu=n.doc.sel}}function v(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=p,r.style.cssText=d,o&&a<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=c),null!=r.selectionStart){(!o||o&&a<9)&&m();var e=0,s=function(){i.selForContextMenu==n.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&"\u200b"==t.prevInput?Gt(n,ci.selectAll)(n):e++<10?i.detectingSelectAll=setTimeout(s,500):i.input.reset()};i.detectingSelectAll=setTimeout(s,200)}}},readOnlyChanged:function(e){e||this.reset()},setUneditable:yo,needsContentAttribute:!1},Se.prototype),Te.prototype=wo({init:function(e){var t=this,n=t.cm,i=t.div=e.lineDiv;function r(e){if(!eo(n,e)){if(n.somethingSelected())ye=n.getSelections(),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=Ae(n);ye=t.text,"cut"==e.type&&n.operation((function(){n.setSelections(t.ranges,0,ao),n.replaceSelection("",null,"cut")}))}if(e.clipboardData&&!f)e.preventDefault(),e.clipboardData.clearData(),e.clipboardData.setData("text/plain",ye.join("\n"));else{var i=ze(),r=i.firstChild;n.display.lineSpace.insertBefore(i,n.display.lineSpace.firstChild),r.value=ye.join("\n");var o=document.activeElement;mo(r),setTimeout((function(){n.display.lineSpace.removeChild(i),o.focus()}),50)}}}xe(i),Vr(i,"paste",(function(e){eo(n,e)||we(e,n)})),Vr(i,"compositionstart",(function(e){var i=e.data;if(t.composing={sel:n.doc.sel,data:i,startData:i},i){var r=n.doc.sel.primary(),o=n.getLine(r.head.line).indexOf(i,Math.max(0,r.head.ch-i.length));o>-1&&o<=r.head.ch&&(t.composing.sel=De(he(r.head.line,o),he(r.head.line,o+i.length)))}})),Vr(i,"compositionupdate",(function(e){t.composing.data=e.data})),Vr(i,"compositionend",(function(e){var n=t.composing;n&&(e.data==n.startData||/\u200b/.test(e.data)||(n.data=e.data),setTimeout((function(){n.handled||t.applyComposition(n),t.composing==n&&(t.composing=null)}),50))})),Vr(i,"touchstart",(function(){t.forceCompositionEnd()})),Vr(i,"input",(function(){t.composing||!n.isReadOnly()&&t.pollContent()||Ut(t.cm,(function(){Zt(n)}))})),Vr(i,"copy",r),Vr(i,"cut",r)},prepareSelection:function(){var e=tt(this.cm,!1);return e.focus=this.cm.state.focused,e},showSelection:function(e){e&&this.cm.display.view.length&&(e.focus&&this.showPrimarySelection(),this.showMultipleSelections(e))},showPrimarySelection:function(){var e=window.getSelection(),t=this.cm.doc.sel.primary(),i=_e(this.cm,e.anchorNode,e.anchorOffset),r=_e(this.cm,e.focusNode,e.focusOffset);if(!i||i.bad||!r||r.bad||0!=fe(ve(i,r),t.from())||0!=fe(me(i,r),t.to())){var o=ke(this.cm,t.from()),a=ke(this.cm,t.to());if(o||a){var s=this.cm.display.view,l=e.rangeCount&&e.getRangeAt(0);if(o){if(!a){var c=s[s.length-1].measure,u=c.maps?c.maps[c.maps.length-1]:c.map;a={node:u[u.length-1],offset:u[u.length-2]-u[u.length-3]}}}else o={node:s[0].measure.map[2],offset:0};try{var d=To(o.node,o.offset,a.offset,a.node)}catch(Vo){}d&&(!n&&this.cm.state.focused?(e.collapse(o.node,o.offset),d.collapsed||e.addRange(d)):(e.removeAllRanges(),e.addRange(d)),l&&null==e.anchorNode?e.addRange(l):n&&this.startGracePeriod()),this.rememberSelection()}}},startGracePeriod:function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){e.cm.curOp.selectionChanged=!0}))}),20)},showMultipleSelections:function(e){Eo(this.cm.display.cursorDiv,e.cursors),Eo(this.cm.display.selectionDiv,e.selection)},rememberSelection:function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},selectionInEditor:function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return Lo(this.div,t)},focus:function(){"nocursor"!=this.cm.options.readOnly&&this.div.focus()},blur:function(){this.div.blur()},getField:function(){return this.div},supportsTouch:function(){return!0},receivedFocus:function(){var e=this;this.selectionInEditor()?this.pollSelection():Ut(this.cm,(function(){e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}))},selectionChanged:function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},pollSelection:function(){if(!this.composing&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;this.rememberSelection();var n=_e(t,e.anchorNode,e.anchorOffset),i=_e(t,e.focusNode,e.focusOffset);n&&i&&Ut(t,(function(){Ve(t.doc,De(n,i),ao),(n.bad||i.bad)&&(t.curOp.selectionChanged=!0)}))}},pollContent:function(){var e,t=this.cm,n=t.display,i=t.doc.sel.primary(),r=i.from(),o=i.to();if(r.line<n.viewFrom||o.line>n.viewTo-1)return!1;if(r.line==n.viewFrom||0==(e=nn(t,r.line)))var a=Sr(n.view[0].line),s=n.view[0].node;else a=Sr(n.view[e].line),s=n.view[e-1].node.nextSibling;var l=nn(t,o.line);if(l==n.view.length-1)var c=n.viewTo-1,u=n.lineDiv.lastChild;else c=Sr(n.view[l+1].line)-1,u=n.view[l+1].node.previousSibling;for(var d=t.doc.splitLines(function(e,t,n,i,r){var o="",a=!1,s=e.doc.lineSeparator();function l(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return""==n&&(n=t.textContent.replace(/\u200b/g,"")),void(o+=n);var c,u=t.getAttribute("cm-marker");if(u){var d=e.findMarks(he(i,0),he(r+1,0),(f=+u,function(e){return e.id==f}));return void(d.length&&(c=d[0].find())&&(o+=Cr(e.doc,c.from,c.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;for(var p=0;p<t.childNodes.length;p++)l(t.childNodes[p]);/^(pre|div|p)$/i.test(t.nodeName)&&(a=!0)}else if(3==t.nodeType){var h=t.nodeValue;if(!h)return;a&&(o+=s,a=!1),o+=h}var f}for(;l(t),t!=n;)t=t.nextSibling;return o}(t,s,u,a,c)),p=Cr(t.doc,he(a,0),he(c,wr(t.doc,c).text.length));d.length>1&&p.length>1;)if(go(d)==go(p))d.pop(),p.pop(),c--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),a++}for(var h=0,f=0,g=d[0],m=p[0],v=Math.min(g.length,m.length);h<v&&g.charCodeAt(h)==m.charCodeAt(h);)++h;for(var b=go(d),y=go(p),M=Math.min(b.length-(1==d.length?h:0),y.length-(1==p.length?h:0));f<M&&b.charCodeAt(b.length-f-1)==y.charCodeAt(y.length-f-1);)++f;d[d.length-1]=b.slice(0,b.length-f),d[0]=d[0].slice(h);var w=he(a,h),C=he(c,p.length?go(p).length-f:0);return d.length>1||d[0]||fe(w,C)?(Fn(t.doc,d,w,C,"+input"),!0):void 0},ensurePolled:function(){this.forceCompositionEnd()},reset:function(){this.forceCompositionEnd()},forceCompositionEnd:function(){this.composing&&!this.composing.handled&&(this.applyComposition(this.composing),this.composing.handled=!0,this.div.blur(),this.div.focus())},applyComposition:function(e){this.cm.isReadOnly()?Gt(this.cm,Zt)(this.cm):e.data&&e.data!=e.startData&&Gt(this.cm,Me)(this.cm,e.data,0,e.sel)},setUneditable:function(e){e.contentEditable="false"},onKeyPress:function(e){e.preventDefault(),this.cm.isReadOnly()||Gt(this.cm,Me)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0)},readOnlyChanged:function(e){this.div.contentEditable=String("nocursor"!=e)},onContextMenu:yo,resetPosition:yo,needsContentAttribute:!0},Te.prototype),x.inputStyles={textarea:Se,contenteditable:Te},Ee.prototype={primary:function(){return this.ranges[this.primIndex]},equals:function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],i=e.ranges[t];if(0!=fe(n.anchor,i.anchor)||0!=fe(n.head,i.head))return!1}return!0},deepCopy:function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Le(ge(this.ranges[t].anchor),ge(this.ranges[t].head));return new Ee(e,this.primIndex)},somethingSelected:function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},contains:function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var i=this.ranges[n];if(fe(t,i.from())>=0&&fe(e,i.to())<=0)return n}return-1}},Le.prototype={from:function(){return ve(this.anchor,this.head)},to:function(){return me(this.anchor,this.head)},empty:function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch}};var yt,Mt={left:0,right:0,top:0,bottom:0};function wt(e,t,n){for(var i,r,o,a,s=0;s<e.length;s+=3){var l=e[s],c=e[s+1];if(t<l?(r=0,o=1,a="left"):t<c?o=1+(r=t-l):(s==e.length-3||t==c&&e[s+3]>t)&&(r=(o=c-l)-1,t>=c&&(a="right")),null!=r){if(i=e[s+2],l==c&&n==(i.insertLeft?"left":"right")&&(a=n),"left"==n&&0==r)for(;s&&e[s-2]==e[s-3]&&e[s-1].insertLeft;)i=e[2+(s-=3)],a="left";if("right"==n&&r==c-l)for(;s<e.length-3&&e[s+3]==e[s+4]&&!e[s+5].insertLeft;)i=e[(s+=3)+2],a="right";break}}return{node:i,start:r,end:o,collapse:a,coverStart:l,coverEnd:c}}function Ct(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function At(e){e.display.externalMeasure=null,Oo(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Ct(e.display.view[t])}function xt(e){At(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function St(){return window.pageXOffset||(document.documentElement||document.body).scrollLeft}function zt(){return window.pageYOffset||(document.documentElement||document.body).scrollTop}function Tt(e,t,n,i){if(t.widgets)for(var r=0;r<t.widgets.length;++r)if(t.widgets[r].above){var o=ji(t.widgets[r]);n.top+=o,n.bottom+=o}if("line"==i)return n;i||(i="local");var a=Tr(t);if("local"==i?a+=lt(e.display):a-=e.display.viewOffset,"page"==i||"window"==i){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==i?0:zt());var l=s.left+("window"==i?0:St());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function kt(e,t,n){if("div"==n)return t;var i=t.left,r=t.top;if("page"==n)i-=St(),r-=zt();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();i+=o.left,r+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:i-a.left,top:r-a.top}}function $t(e,t,n,i,r){return i||(i=wr(e.doc,t.line)),Tt(e,i,gt(e,i,t.ch,r),n)}function _t(e,t,n,i,r,o){function a(t,a){var s=bt(e,r,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,Tt(e,i,s,n)}function s(e,t){var n=l[t],i=n.level%2;return e==Zo(n)&&t&&n.level<l[t-1].level?(e=ea(n=l[--t])-(n.level%2?0:1),i=!0):e==ea(n)&&t<l.length-1&&n.level<l[t+1].level&&(e=Zo(n=l[++t])-n.level%2,i=!1),i&&e==n.to&&e>n.from?a(e-1):a(e,i)}i=i||wr(e.doc,t.line),r||(r=vt(e,i));var l=kr(i),c=t.ch;if(!l)return a(c);var u=s(c,aa(l,c));return null!=Uo&&(u.other=s(c,Uo)),u}function Ot(e,t){var n=0;t=qe(e.doc,t),e.options.lineWrapping||(n=Pt(e.display)*t.ch);var i=wr(e.doc,t.line),r=Tr(i)+lt(e.display);return{left:n,right:n,top:r,bottom:r+i.height}}function Et(e,t,n,i){var r=he(e,t);return r.xRel=i,n&&(r.outside=!0),r}function Lt(e,t,n){var i=e.doc;if((n+=e.display.viewOffset)<0)return Et(i.first,0,!0,-1);var r=zr(i,n),o=i.first+i.size-1;if(r>o)return Et(i.first+i.size-1,wr(i,o).text.length,!0,1);t<0&&(t=0);for(var a=wr(i,r);;){var s=Nt(e,a,r,t,n),l=Pi(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;r=Sr(a=c.to.line)}}function Nt(e,t,n,i,r){var o=r-Tr(t),a=!1,s=2*e.display.wrapper.clientWidth,l=vt(e,t);function c(i){var r=_t(e,he(n,i),"line",t,l);return a=!0,o>r.bottom?r.left-s:o<r.top?r.left+s:(a=!1,r.left)}var u=kr(t),d=t.text.length,p=ta(t),h=na(t),f=c(p),g=a,m=c(h),v=a;if(i>m)return Et(n,h,v,1);for(;;){if(u?h==p||h==la(t,p,1):h-p<=1){for(var b=i<f||i-f<=m-i?p:h,y=i-(b==p?f:m);$o(t.text.charAt(b));)++b;return Et(n,b,b==p?g:v,y<-1?-1:y>1?1:0)}var M=Math.ceil(d/2),w=p+M;if(u){w=p;for(var C=0;C<M;++C)w=la(t,w,1)}var A=c(w);A>i?(h=w,m=A,(v=a)&&(m+=1e3),d=M):(p=w,f=A,g=a,d-=M)}}function Dt(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==yt){yt=_o("pre");for(var t=0;t<49;++t)yt.appendChild(document.createTextNode("x")),yt.appendChild(_o("br"));yt.appendChild(document.createTextNode("x"))}Eo(e.measure,yt);var n=yt.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),Oo(e.measure),n||1}function Pt(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=_o("span","xxxxxxxxxx"),n=_o("pre",[t]);Eo(e.measure,n);var i=t.getBoundingClientRect(),r=(i.right-i.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}var qt,Wt,Rt=null,It=0;function Bt(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++It},Rt?Rt.ops.push(e.curOp):e.curOp.ownsGroup=Rt={ops:[e.curOp],delayedCallbacks:[]}}function Ft(e){var t=e.curOp.ownsGroup;if(t)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var i=0;i<e.ops.length;i++){var r=e.ops[i];if(r.cursorActivityHandlers)for(;r.cursorActivityCalled<r.cursorActivityHandlers.length;)r.cursorActivityHandlers[r.cursorActivityCalled++].call(null,r.cm)}}while(n<t.length)}(t)}finally{Rt=null;for(var n=0;n<t.ops.length;n++)t.ops[n].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Ht(t[n]);for(n=0;n<t.length;n++)(i=t[n]).updatedDisplay=i.mustUpdate&&Y(i.cm,i.update);var i;for(n=0;n<t.length;n++)Xt(t[n]);for(n=0;n<t.length;n++)jt(t[n]);for(n=0;n<t.length;n++)Vt(t[n])}(t)}}function Ht(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=dt(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=dt(e)+"px",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&D(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new G(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Xt(e){var t=e.cm,n=t.display;e.updatedDisplay&&Z(t),e.barMeasure=q(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=gt(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+dt(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-pt(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function jt(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&mn(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1),e.preparedSelection&&t.display.input.showSelection(e.preparedSelection),(e.updatedDisplay||e.startHeight!=t.doc.height)&&B(t,e.barMeasure),e.updatedDisplay&&J(t,e.barMeasure),e.selectionChanged&&rt(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),!e.focus||e.focus!=No()||document.hasFocus&&!document.hasFocus()||be(e.cm)}function Vt(e){var t=e.cm,n=t.display,i=t.doc;if(e.updatedDisplay&&K(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null==e.scrollTop||n.scroller.scrollTop==e.scrollTop&&!e.forceScroll||(i.scrollTop=Math.max(0,Math.min(n.scroller.scrollHeight-n.scroller.clientHeight,e.scrollTop)),n.scrollbars.setScrollTop(i.scrollTop),n.scroller.scrollTop=i.scrollTop),null==e.scrollLeft||n.scroller.scrollLeft==e.scrollLeft&&!e.forceScroll||(i.scrollLeft=Math.max(0,Math.min(n.scroller.scrollWidth-n.scroller.clientWidth,e.scrollLeft)),n.scrollbars.setScrollLeft(i.scrollLeft),n.scroller.scrollLeft=i.scrollLeft,X(t)),e.scrollToPos){var r=function(e,t,n,i){null==i&&(i=0);for(var r=0;r<5;r++){var o=!1,a=_t(e,t),s=n&&n!=t?_t(e,n):a,l=Hn(e,Math.min(a.left,s.left),Math.min(a.top,s.top)-i,Math.max(a.left,s.left),Math.max(a.bottom,s.bottom)+i),c=e.doc.scrollTop,u=e.doc.scrollLeft;if(null!=l.scrollTop&&(gn(e,l.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(o=!0)),null!=l.scrollLeft&&(mn(e,l.scrollLeft),Math.abs(e.doc.scrollLeft-u)>1&&(o=!0)),!o)break}return a}(t,qe(i,e.scrollToPos.from),qe(i,e.scrollToPos.to),e.scrollToPos.margin);e.scrollToPos.isCursor&&t.state.focused&&function(e,t){if(!eo(e,"scrollCursorIntoView")){var n=e.display,i=n.sizer.getBoundingClientRect(),r=null;if(t.top+i.top<0?r=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!h){var o=_o("div","\u200b",null,"position: absolute; top: "+(t.top-n.viewOffset-lt(e.display))+"px; height: "+(t.bottom-t.top+dt(e)+n.barHeight)+"px; left: "+t.left+"px; width: 2px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(r),e.display.lineSpace.removeChild(o)}}}(t,r)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||Kr(o[s],"hide");if(a)for(s=0;s<a.length;++s)a[s].lines.length&&Kr(a[s],"unhide");n.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&Kr(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Ut(e,t){if(e.curOp)return t();Bt(e);try{return t()}finally{Ft(e)}}function Gt(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Bt(e);try{return t.apply(e,arguments)}finally{Ft(e)}}}function Yt(e){return function(){if(this.curOp)return e.apply(this,arguments);Bt(this);try{return e.apply(this,arguments)}finally{Ft(this)}}}function Kt(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);Bt(t);try{return e.apply(this,arguments)}finally{Ft(t)}}}function Qt(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Pi(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?Sr(go(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Bi(e,t)}function Jt(e,t,n){for(var i,r=[],o=t;o<n;o=i){var a=new Qt(e.doc,wr(e.doc,o),o);i=o+a.size,r.push(a)}return r}function Zt(e,t,n,i){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),i||(i=0);var r=e.display;if(i&&n<r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>t)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)A&&Ri(e.doc,t)<r.viewTo&&tn(e);else if(n<=r.viewFrom)A&&Ii(e.doc,n+i)>r.viewFrom?tn(e):(r.viewFrom+=i,r.viewTo+=i);else if(t<=r.viewFrom&&n>=r.viewTo)tn(e);else if(t<=r.viewFrom)(o=rn(e,n,n+i,1))?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):tn(e);else if(n>=r.viewTo){var o;(o=rn(e,t,t,-1))?(r.view=r.view.slice(0,o.index),r.viewTo=o.lineN):tn(e)}else{var a=rn(e,t,t,-1),s=rn(e,n,n+i,1);a&&s?(r.view=r.view.slice(0,a.index).concat(Jt(e,a.lineN,s.lineN)).concat(r.view.slice(s.index)),r.viewTo+=i):tn(e)}var l=r.externalMeasured;l&&(n<l.lineN?l.lineN+=i:t<l.lineN+l.size&&(r.externalMeasured=null))}function en(e,t,n){e.curOp.viewChanged=!0;var i=e.display,r=e.display.externalMeasured;if(r&&t>=r.lineN&&t<r.lineN+r.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var o=i.view[nn(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==vo(a,n)&&a.push(n)}}}function tn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function nn(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,i=0;i<n.length;i++)if((t-=n[i].size)<0)return i}function rn(e,t,n,i){var r,o=nn(e,t),a=e.display.view;if(!A||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=0,l=e.display.viewFrom;s<o;s++)l+=a[s].size;if(l!=t){if(i>0){if(o==a.length-1)return null;r=l+a[o].size-t,o++}else r=l-t;t+=r,n+=r}for(;Ri(e.doc,n)!=n;){if(o==(i<0?0:a.length-1))return null;n+=i*a[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function on(e){for(var t=e.display.view,n=0,i=0;i<t.length;i++){var r=t[i];r.hidden||r.node&&!r.changes||++n}return n}function an(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function sn(e,t){for(var n=Xr(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function ln(e,t,n,i){var r=e.display;if(!n&&"true"==Xr(t).getAttribute("cm-not-content"))return null;var o,a,s=r.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,c=Lt(e,o,a);if(i&&1==c.xRel&&(l=wr(e.doc,c.line).text).length==c.ch){var u=uo(l,l.length,e.options.tabSize)-l.length;c=he(c.line,Math.max(0,Math.round((o-ut(e.display).left)/Pt(e.display))-u))}return c}function cn(e){var t=this,n=t.display;if(!(eo(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.shift=e.shiftKey,sn(n,e))s||(n.scroller.draggable=!1,setTimeout((function(){n.scroller.draggable=!0}),100));else if(!dn(t,e)){var i=ln(t,e);switch(window.focus(),jr(e)){case 1:t.state.selectingText?t.state.selectingText(e):i?function(e,t,n){o?setTimeout(Co(be,e),0):e.curOp.focus=No();var i,r=+new Date;Wt&&Wt.time>r-400&&0==fe(Wt.pos,n)?i="triple":qt&&qt.time>r-400&&0==fe(qt.pos,n)?(i="double",Wt={time:r,pos:n}):(i="single",qt={time:r,pos:n});var l,c=e.doc.sel,u=m?t.metaKey:t.ctrlKey;e.options.dragDrop&&Ho&&!e.isReadOnly()&&"single"==i&&(l=c.contains(n))>-1&&(fe((l=c.ranges[l]).from(),n)<0||n.xRel>0)&&(fe(l.to(),n)>0||n.xRel<0)?function(e,t,n,i){var r=e.display,l=+new Date,c=Gt(e,(function(u){s&&(r.scroller.draggable=!1),e.state.draggingText=!1,Yr(document,"mouseup",c),Yr(r.scroller,"drop",c),Math.abs(t.clientX-u.clientX)+Math.abs(t.clientY-u.clientY)<10&&(Ir(u),!i&&+new Date-200<l&&Be(e.doc,n),s||o&&9==a?setTimeout((function(){document.body.focus(),r.input.focus()}),20):r.input.focus())}));s&&(r.scroller.draggable=!0),e.state.draggingText=c,r.scroller.dragDrop&&r.scroller.dragDrop(),Vr(document,"mouseup",c),Vr(r.scroller,"drop",c)}(e,t,n,u):function(e,t,n,i,r){var o=e.display,a=e.doc;Ir(t);var s,l,c=a.sel,u=c.ranges;if(r&&!t.shiftKey?(l=a.sel.contains(n),s=l>-1?u[l]:new Le(n,n)):(s=a.sel.primary(),l=a.sel.primIndex),v?t.shiftKey&&t.metaKey:t.altKey)i="rect",r||(s=new Le(n,n)),n=ln(e,t,!0,!0),l=-1;else if("double"==i){var d=e.findWordAt(n);s=e.display.shift||a.extend?Ie(a,s,d.anchor,d.head):d}else if("triple"==i){var p=new Le(he(n.line,0),qe(a,he(n.line+1,0)));s=e.display.shift||a.extend?Ie(a,s,p.anchor,p.head):p}else s=Ie(a,s,n);r?-1==l?(l=u.length,Ve(a,Ne(u.concat([s]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"single"==i&&!t.shiftKey?(Ve(a,Ne(u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=a.sel):He(a,l,s,so):(l=0,Ve(a,new Ee([s],0),so),c=a.sel);var h=n,f=o.wrapper.getBoundingClientRect(),g=0;function m(t){e.state.selectingText=!1,g=1/0,Ir(t),o.input.focus(),Yr(document,"mousemove",b),Yr(document,"mouseup",y),a.history.lastSelOrigin=null}var b=Gt(e,(function(t){jr(t)?function t(r){var u=++g,d=ln(e,r,!0,"rect"==i);if(d)if(0!=fe(d,h)){e.curOp.focus=No(),function(t){if(0!=fe(h,t))if(h=t,"rect"==i){for(var r=[],o=e.options.tabSize,u=uo(wr(a,n.line).text,n.ch,o),d=uo(wr(a,t.line).text,t.ch,o),p=Math.min(u,d),f=Math.max(u,d),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=wr(a,g).text,b=po(v,p,o);p==f?r.push(new Le(he(g,b),he(g,b))):v.length>b&&r.push(new Le(he(g,b),he(g,po(v,f,o))))}r.length||r.push(new Le(n,n)),Ve(a,Ne(c.ranges.slice(0,l).concat(r),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y=s,M=y.anchor,w=t;if("single"!=i){if("double"==i)var C=e.findWordAt(t);else C=new Le(he(t.line,0),qe(a,he(t.line+1,0)));fe(C.anchor,M)>0?(w=C.head,M=ve(y.from(),C.anchor)):(w=C.anchor,M=me(y.to(),C.head))}(r=c.ranges.slice(0))[l]=new Le(qe(a,M),w),Ve(a,Ne(r,l),so)}}(d);var p=H(o,a);(d.line>=p.to||d.line<p.from)&&setTimeout(Gt(e,(function(){g==u&&t(r)})),150)}else{var m=r.clientY<f.top?-20:r.clientY>f.bottom?20:0;m&&setTimeout(Gt(e,(function(){g==u&&(o.scroller.scrollTop+=m,t(r))})),50)}}(t):m(t)})),y=Gt(e,m);e.state.selectingText=y,Vr(document,"mousemove",b),Vr(document,"mouseup",y)}(e,t,n,i,u)}(t,e,i):Xr(e)==n.scroller&&Ir(e);break;case 2:s&&(t.state.lastMiddleDown=+new Date),i&&Be(t.doc,i),setTimeout((function(){n.input.focus()}),20),Ir(e);break;case 3:w?On(t,e):function(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,_n(e))}),100)}(t)}}}function un(e,t,n,i){try{var r=t.clientX,o=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&Ir(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!no(e,n))return Fr(t);o-=s.top-a.viewOffset;for(var l=0;l<e.options.gutters.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=r){var u=zr(e.doc,o);return Kr(e,n,e,u,e.options.gutters[l],t),Fr(t)}}}function dn(e,t){return un(e,t,"gutterClick",!0)}var pn=0;function hn(e){var t=this;if(fn(t),!eo(t,e)&&!sn(t.display,e)){Ir(e),o&&(pn=+new Date);var n=ln(t,e,!0),i=e.dataTransfer.files;if(n&&!t.isReadOnly())if(i&&i.length&&window.FileReader&&window.File)for(var r=i.length,a=Array(r),s=0,l=function(e,i){if(!t.options.allowDropFileTypes||-1!=vo(t.options.allowDropFileTypes,e.type)){var o=new FileReader;o.onload=Gt(t,(function(){var e=o.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),a[i]=e,++s==r){var l={from:n=qe(t.doc,n),to:n,text:t.doc.splitLines(a.join(t.doc.lineSeparator())),origin:"paste"};qn(t.doc,l),je(t.doc,De(n,En(l)))}})),o.readAsText(e)}},c=0;c<r;++c)l(i[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){t.display.input.focus()}),20);try{if(a=e.dataTransfer.getData("Text")){if(t.state.draggingText&&!(m?e.altKey:e.ctrlKey))var u=t.listSelections();if(Ue(t.doc,De(n,n)),u)for(c=0;c<u.length;++c)Fn(t.doc,"",u[c].anchor,u[c].head,"drag");t.replaceSelection(a,"around","paste"),t.display.input.focus()}}catch(e){}}}}function fn(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function gn(e,t){Math.abs(e.doc.scrollTop-t)<2||(e.doc.scrollTop=t,n||Q(e,{top:t}),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t),e.display.scrollbars.setScrollTop(t),n&&Q(e),ot(e,100))}function mn(e,t,n){(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)||(t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),e.doc.scrollLeft=t,X(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}var vn=0,bn=null;o?bn=-.53:n?bn=15:c?bn=-.7:d&&(bn=-1/3);var yn=function(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}};function Mn(e,t){var i=yn(t),r=i.x,o=i.y,a=e.display,l=a.scroller,c=l.scrollHeight>l.clientHeight;if(r&&l.scrollWidth>l.clientWidth||o&&c){if(o&&m&&s)e:for(var d=t.target,p=a.view;d!=l;d=d.parentNode)for(var h=0;h<p.length;h++)if(p[h].node==d){e.display.currentWheelTarget=d;break e}if(r&&!n&&!u&&null!=bn)return o&&c&&gn(e,Math.max(0,Math.min(l.scrollTop+o*bn,l.scrollHeight-l.clientHeight))),mn(e,Math.max(0,Math.min(l.scrollLeft+r*bn,l.scrollWidth-l.clientWidth))),(!o||o&&c)&&Ir(t),void(a.wheelStartX=null);if(o&&null!=bn){var f=o*bn,g=e.doc.scrollTop,v=g+a.wrapper.clientHeight;f<0?g=Math.max(0,g+f-50):v=Math.min(e.doc.height,v+f+50),Q(e,{top:g,bottom:v})}vn<20&&(null==a.wheelStartX?(a.wheelStartX=l.scrollLeft,a.wheelStartY=l.scrollTop,a.wheelDX=r,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=l.scrollLeft-a.wheelStartX,t=l.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(bn=(bn*vn+n)/(vn+1),++vn)}}),200)):(a.wheelDX+=r,a.wheelDY+=o))}}function wn(e,t,n){if("string"==typeof t&&!(t=ci[t]))return!1;e.display.input.ensurePolled();var i=e.display.shift,r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),r=t(e)!=oo}finally{e.display.shift=i,e.state.suppressEdits=!1}return r}x.wheelEventPixels=function(e){var t=yn(e);return t.x*=bn,t.y*=bn,t};var Cn=new co;function An(e,t,n,i){var r=e.state.keySeq;if(r){if(hi(t))return"handled";Cn.set(50,(function(){e.state.keySeq==r&&(e.state.keySeq=null,e.display.input.reset())})),t=r+" "+t}var o=function(e,t,n){for(var i=0;i<e.state.keyMaps.length;i++){var r=pi(t,e.state.keyMaps[i],n,e);if(r)return r}return e.options.extraKeys&&pi(t,e.options.extraKeys,n,e)||pi(t,e.options.keyMap,n,e)}(e,t,i);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&Jr(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(Ir(n),rt(e)),r&&!o&&/\'$/.test(t)?(Ir(n),!0):!!o}function xn(e,t){var n=fi(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?An(e,"Shift-"+n,t,(function(t){return wn(e,t,!0)}))||An(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return wn(e,t)})):An(e,n,t,(function(t){return wn(e,t)})))}var Sn=null;function zn(e){var t=this;if(t.curOp.focus=No(),!eo(t,e)){o&&a<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=xn(t,e);u&&(Sn=i?n:null,i||88!=n||Ko||!(m?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(Po(t,"CodeMirror-crosshair"),Yr(document,"keyup",n),Yr(document,"mouseover",n))}qo(t,"CodeMirror-crosshair"),Vr(document,"keyup",n),Vr(document,"mouseover",n)}(t)}}function Tn(e){16==e.keyCode&&(this.doc.sel.shift=!1),eo(this,e)}function kn(e){var t=this;if(!(sn(t.display,e)||eo(t,e)||e.ctrlKey&&!e.altKey||m&&e.metaKey)){var n=e.keyCode,i=e.charCode;if(u&&n==Sn)return Sn=null,void Ir(e);u&&(!e.which||e.which<10)&&xn(t,e)||function(e,t,n){return An(e,"'"+n+"'",t,(function(t){return wn(e,t,!0)}))}(t,e,String.fromCharCode(null==i?n:i))||t.display.input.onKeyPress(e)}}function $n(e){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(Kr(e,"focus",e),e.state.focused=!0,qo(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),s&&setTimeout((function(){e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),rt(e))}function _n(e){e.state.delayingBlurEvent||(e.state.focused&&(Kr(e,"blur",e),e.state.focused=!1,Po(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function On(e,t){sn(e.display,t)||function(e,t){return!!no(e,"gutterContextMenu")&&un(e,t,"gutterContextMenu",!1)}(e,t)||eo(e,t,"contextmenu")||e.display.input.onContextMenu(t)}var En=x.changeEnd=function(e){return e.text?he(e.from.line+e.text.length-1,go(e.text).length+(1==e.text.length?e.from.ch:0)):e.to};function Ln(e,t){if(fe(e,t.from)<0)return e;if(fe(e,t.to)<=0)return En(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=En(t).ch-t.to.ch),he(n,i)}function Nn(e,t){for(var n=[],i=0;i<e.sel.ranges.length;i++){var r=e.sel.ranges[i];n.push(new Le(Ln(r.anchor,t),Ln(r.head,t)))}return Ne(n,e.sel.primIndex)}function Dn(e,t,n){return e.line==t.line?he(n.line,e.ch-t.ch+n.ch):he(n.line+(e.line-t.line),e.ch)}function Pn(e,t,n){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){this.canceled=!0}};return n&&(i.update=function(t,n,i,r){t&&(this.from=qe(e,t)),n&&(this.to=qe(e,n)),i&&(this.text=i),void 0!==r&&(this.origin=r)}),Kr(e,"beforeChange",e,i),e.cm&&Kr(e.cm,"beforeChange",e.cm,i),i.canceled?null:{from:i.from,to:i.to,text:i.text,origin:i.origin}}function qn(e,t,n){if(e.cm){if(!e.cm.curOp)return Gt(e.cm,qn)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(no(e,"beforeChange")||e.cm&&no(e.cm,"beforeChange"))||(t=Pn(e,t,!0))){var i=C&&!n&&function(e,t,n){var i=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||i&&-1!=vo(i,n)||(i||(i=[])).push(n)}})),!i)return null;for(var r=[{from:t,to:n}],o=0;o<i.length;++o)for(var a=i[o],s=a.find(0),l=0;l<r.length;++l){var c=r[l];if(!(fe(c.to,s.from)<0||fe(c.from,s.to)>0)){var u=[l,1],d=fe(c.from,s.from),p=fe(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(p>0||!a.inclusiveRight&&!p)&&u.push({from:s.to,to:c.to}),r.splice.apply(r,u),l+=u.length-1}}return r}(e,t.from,t.to);if(i)for(var r=i.length-1;r>=0;--r)Wn(e,{from:i[r].from,to:i[r].to,text:r?[""]:t.text});else Wn(e,t)}}function Wn(e,t){if(1!=t.text.length||""!=t.text[0]||0!=fe(t.from,t.to)){var n=Nn(e,t);Er(e,t,n,e.cm?e.cm.curOp.id:NaN),Bn(e,t,n,zi(e,t));var i=[];yr(e,(function(e,n){n||-1!=vo(i,e.history)||(Rr(e.history,t),i.push(e.history)),Bn(e,t,null,zi(e,t))}))}}function Rn(e,t,n){if(!e.cm||!e.cm.state.suppressEdits){for(var i,r=e.history,o=e.sel,a="undo"==t?r.done:r.undone,s="undo"==t?r.undone:r.done,l=0;l<a.length&&(i=a[l],n?!i.ranges||i.equals(e.sel):i.ranges);l++);if(l!=a.length){for(r.lastOrigin=r.lastSelOrigin=null;(i=a.pop()).ranges;){if(Lr(i,s),n&&!i.equals(e.sel))return void Ve(e,i,{clearRedo:!1});o=i}var c=[];Lr(o,s),s.push({changes:c,generation:r.generation}),r.generation=i.generation||++r.maxGeneration;var u=no(e,"beforeChange")||e.cm&&no(e.cm,"beforeChange");for(l=i.changes.length-1;l>=0;--l){var d=i.changes[l];if(d.origin=t,u&&!Pn(e,d,!1))return void(a.length=0);c.push(_r(e,d));var p=l?Nn(e,d):go(a);Bn(e,d,p,ki(e,d)),!l&&e.cm&&e.cm.scrollIntoView({from:d.from,to:En(d)});var h=[];yr(e,(function(e,t){t||-1!=vo(h,e.history)||(Rr(e.history,d),h.push(e.history)),Bn(e,d,null,ki(e,d))}))}}}}function In(e,t){if(0!=t&&(e.first+=t,e.sel=new Ee(bo(e.sel.ranges,(function(e){return new Le(he(e.anchor.line+t,e.anchor.ch),he(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Zt(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,i=n.viewFrom;i<n.viewTo;i++)en(e.cm,i,"gutter")}}function Bn(e,t,n,i){if(e.cm&&!e.cm.curOp)return Gt(e.cm,Bn)(e,t,n,i);if(t.to.line<e.first)In(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var r=t.text.length-1-(e.first-t.from.line);In(e,r),t={from:he(e.first,0),to:he(t.to.line+r,t.to.ch),text:[go(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:he(o,wr(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Cr(e,t.from,t.to),n||(n=Nn(e,t)),e.cm?function(e,t,n){var i=e.doc,r=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Sr(Wi(wr(i,o.line))),i.iter(l,a.line+1,(function(e){if(e==r.maxLine)return s=!0,!0}))),i.sel.contains(t.from,t.to)>-1&&to(e),pr(i,t,n,k(e)),e.options.lineWrapping||(i.iter(l,o.line+t.text.length,(function(e){var t=N(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),i.frontier=Math.min(i.frontier,o.line),ot(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Zt(e):o.line!=a.line||1!=t.text.length||dr(e.doc,t)?Zt(e,o.line,a.line+1,c):en(e,o.line,"text");var u=no(e,"changes"),d=no(e,"change");if(d||u){var p={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&Jr(e,"change",e,p),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(p)}e.display.selForContextMenu=null}(e.cm,t,i):pr(e,t,i),Ue(e,n,ao)}}function Fn(e,t,n,i,r){if(i||(i=n),fe(i,n)<0){var o=i;i=n,n=o}"string"==typeof t&&(t=e.splitLines(t)),qn(e,{from:n,to:i,text:t,origin:r})}function Hn(e,t,n,i,r){var o=e.display,a=Dt(e.display);n<0&&(n=0);var s=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:o.scroller.scrollTop,l=ht(e),c={};r-n>l&&(r=n+l);var u=e.doc.height+ct(o),d=r>u-a;if(n<s)c.scrollTop=n<a?0:n;else if(r>s+l){var p=Math.min(n,(d?u:r)-l);p!=s&&(c.scrollTop=p)}var h=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:o.scroller.scrollLeft,f=pt(e)-(e.options.fixedGutter?o.gutters.offsetWidth:0),g=i-t>f;return g&&(i=t+f),t<10?c.scrollLeft=0:t<h?c.scrollLeft=Math.max(0,t-(g?0:10)):i>f+h-3&&(c.scrollLeft=i+(g?0:10)-f),c}function Xn(e,t,n){null==t&&null==n||Vn(e),null!=t&&(e.curOp.scrollLeft=(null==e.curOp.scrollLeft?e.doc.scrollLeft:e.curOp.scrollLeft)+t),null!=n&&(e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+n)}function jn(e){Vn(e);var t=e.getCursor(),n=t,i=t;e.options.lineWrapping||(n=t.ch?he(t.line,t.ch-1):t,i=he(t.line,t.ch+1)),e.curOp.scrollToPos={from:n,to:i,margin:e.options.cursorScrollMargin,isCursor:!0}}function Vn(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Ot(e,t.from),i=Ot(e,t.to),r=Hn(e,Math.min(n.left,i.left),Math.min(n.top,i.top)-t.margin,Math.max(n.right,i.right),Math.max(n.bottom,i.bottom)+t.margin);e.scrollTo(r.scrollLeft,r.scrollTop)}}function Un(e,t,n,i){var r,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?r=st(e,t):n="prev");var a=e.options.tabSize,s=wr(o,t),l=uo(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(i||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(r,s.text.slice(u.length),s.text))==oo||c>150)){if(!i)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?uo(wr(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)p+=a,d+="\t";if(p<c&&(d+=fo(c-p)),d!=u)return Fn(o,d,he(t,0),he(t,u.length),"+input"),s.stateAfter=null,!0;for(h=0;h<o.sel.ranges.length;h++){var f=o.sel.ranges[h];if(f.head.line==t&&f.head.ch<u.length){He(o,h,new Le(p=he(t,u.length),p));break}}}function Gn(e,t,n,i){var r=t,o=t;return"number"==typeof t?o=wr(e,Pe(e,t)):r=Sr(t),null==r?null:(i(o,r)&&e.cm&&en(e.cm,r,n),o)}function Yn(e,t){for(var n=e.doc.sel.ranges,i=[],r=0;r<n.length;r++){for(var o=t(n[r]);i.length&&fe(o.from,go(i).to)<=0;){var a=i.pop();if(fe(a.from,o.from)<0){o.from=a.from;break}}i.push(o)}Ut(e,(function(){for(var t=i.length-1;t>=0;t--)Fn(e.doc,"",i[t].from,i[t].to,"+delete");jn(e)}))}function Kn(e,t,n,i,r){var o=t.line,a=t.ch,s=n,l=wr(e,o);function c(t){var i,s=(r?la:ca)(l,a,n,!0);if(null==s){if(t||(i=o+n)<e.first||i>=e.first+e.size||(o=i,!(l=wr(e,i))))return!1;a=r?(n<0?na:ta)(l):n<0?l.text.length:0}else a=s;return!0}if("char"==i)c();else if("column"==i)c(!0);else if("word"==i||"group"==i)for(var u=null,d="group"==i,p=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(n<0)||c(!h);h=!1){var f=l.text.charAt(a)||"\n",g=So(f,p)?"w":d&&"\n"==f?"n":!d||/\s/.test(f)?null:"p";if(!d||h||g||(g="s"),u&&u!=g){n<0&&(n=1,c());break}if(g&&(u=g),n>0&&!c(!h))break}var m=Je(e,he(o,a),t,s,!0);return fe(t,m)||(m.hitSide=!0),m}function Qn(e,t,n,i){var r,o=e.doc,a=t.left;if("page"==i){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight);r=t.top+n*(s-(n<0?1.5:.5)*Dt(e.display))}else"line"==i&&(r=n>0?t.bottom+3:t.top-3);for(;;){var l=Lt(e,a,r);if(!l.outside)break;if(n<0?r<=0:r>=o.height){l.hitSide=!0;break}r+=5*n}return l}x.prototype={constructor:x,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,i=n[e];n[e]==t&&"mode"!=e||(n[e]=t,Zn.hasOwnProperty(e)&&Gt(this,Zn[e])(this,t,i))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](gi(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Yt((function(e,t){var n=e.token?e:x.getMode(this.options,e);if(n.startState)throw new Error("Overlays may not be stateful.");this.state.overlays.push({mode:n,modeSpec:e,opaque:t&&t.opaque}),this.state.modeGen++,Zt(this)})),removeOverlay:Yt((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var i=t[n].modeSpec;if(i==e||"string"==typeof e&&i.name==e)return t.splice(n,1),this.state.modeGen++,void Zt(this)}})),indentLine:Yt((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),We(this.doc,e)&&Un(this,e,t,n)})),indentSelection:Yt((function(e){for(var t=this.doc.sel.ranges,n=-1,i=0;i<t.length;i++){var r=t[i];if(r.empty())r.head.line>n&&(Un(this,r.head.line,e,!0),n=r.head.line,i==this.doc.sel.primIndex&&jn(this));else{var o=r.from(),a=r.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Un(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[i].from().ch>0&&He(this.doc,i,new Le(o,c[i].to()),ao)}}})),getTokenAt:function(e,t){return Qi(this,e,t)},getLineTokens:function(e,t){return Qi(this,he(e),t,!0)},getTokenTypeAt:function(e){e=qe(this.doc,e);var t,n=er(this,wr(this.doc,e.line)),i=0,r=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=i+r>>1;if((a?n[2*a-1]:0)>=o)r=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}i=a+1}}var s=t?t.indexOf("cm-overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(e){var t=this.doc.mode;return t.innerMode?x.innerMode(t,this.getTokenAt(e).state).mode:t},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!ai.hasOwnProperty(t))return n;var i=ai[t],r=this.getModeAt(e);if("string"==typeof r[t])i[r[t]]&&n.push(i[r[t]]);else if(r[t])for(var o=0;o<r[t].length;o++){var a=i[r[t][o]];a&&n.push(a)}else r.helperType&&i[r.helperType]?n.push(i[r.helperType]):i[r.name]&&n.push(i[r.name]);for(o=0;o<i._global.length;o++){var s=i._global[o];s.pred(r,this)&&-1==vo(n,s.val)&&n.push(s.val)}return n},getStateAfter:function(e,t){var n=this.doc;return st(this,(e=Pe(n,null==e?n.first+n.size-1:e))+1,t)},cursorCoords:function(e,t){var n=this.doc.sel.primary();return _t(this,null==e?n.head:"object"==typeof e?qe(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return $t(this,qe(this.doc,e),t||"page")},coordsChar:function(e,t){return Lt(this,(e=kt(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=kt(this,{top:e,left:0},t||"page").top,zr(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t){var n,i=!1;if("number"==typeof e){var r=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>r&&(e=r,i=!0),n=wr(this.doc,e)}else n=e;return Tt(this,n,{top:0,left:0},t||"page").top+(i?this.doc.height-Tr(n):0)},defaultTextHeight:function(){return Dt(this.display)},defaultCharWidth:function(){return Pt(this.display)},setGutterMarker:Yt((function(e,t,n){return Gn(this.doc,e,"gutter",(function(e){var i=e.gutterMarkers||(e.gutterMarkers={});return i[t]=n,!n&&zo(i)&&(e.gutterMarkers=null),!0}))})),clearGutter:Yt((function(e){var t=this,n=t.doc,i=n.first;n.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&(n.gutterMarkers[e]=null,en(t,i,"gutter"),zo(n.gutterMarkers)&&(n.gutterMarkers=null)),++i}))})),lineInfo:function(e){if("number"==typeof e){if(!We(this.doc,e))return null;var t=e;if(!(e=wr(this.doc,e)))return null}else if(null==(t=Sr(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,i,r){var o,a=this.display,s=(e=_t(this,qe(this.doc,e))).bottom,l=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==i)s=e.top;else if("above"==i||"near"==i){var c=Math.max(a.wrapper.clientHeight,this.doc.height),u=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>c)&&e.top>t.offsetHeight?s=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=c&&(s=e.bottom),l+t.offsetWidth>u&&(l=u-t.offsetWidth)}t.style.top=s+"px",t.style.left=t.style.right="","right"==r?(l=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?l=0:"middle"==r&&(l=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=l+"px"),n&&(null!=(o=Hn(this,l,s,l+t.offsetWidth,s+t.offsetHeight)).scrollTop&&gn(this,o.scrollTop),null!=o.scrollLeft&&mn(this,o.scrollLeft))},triggerOnKeyDown:Yt(zn),triggerOnKeyPress:Yt(kn),triggerOnKeyUp:Tn,execCommand:function(e){if(ci.hasOwnProperty(e))return ci[e].call(null,this)},triggerElectric:Yt((function(e){Ce(this,e)})),findPosH:function(e,t,n,i){var r=1;t<0&&(r=-1,t=-t);for(var o=0,a=qe(this.doc,e);o<t&&!(a=Kn(this.doc,a,r,n,i)).hitSide;++o);return a},moveH:Yt((function(e,t){var n=this;n.extendSelectionsBy((function(i){return n.display.shift||n.doc.extend||i.empty()?Kn(n.doc,i.head,e,t,n.options.rtlMoveVisually):e<0?i.from():i.to()}),lo)})),deleteH:Yt((function(e,t){var n=this.doc;this.doc.sel.somethingSelected()?n.replaceSelection("",null,"+delete"):Yn(this,(function(i){var r=Kn(n,i.head,e,t,!1);return e<0?{from:r,to:i.head}:{from:i.head,to:r}}))})),findPosV:function(e,t,n,i){var r=1,o=i;t<0&&(r=-1,t=-t);for(var a=0,s=qe(this.doc,e);a<t;++a){var l=_t(this,s,"div");if(null==o?o=l.left:l.left=o,(s=Qn(this,l,r,n)).hitSide)break}return s},moveV:Yt((function(e,t){var n=this,i=this.doc,r=[],o=!n.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=_t(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),r.push(s.left);var l=Qn(n,s,e,t);return"page"==t&&a==i.sel.primary()&&Xn(n,null,$t(n,l,"div").top-s.top),l}),lo),r.length)for(var a=0;a<i.sel.ranges.length;a++)i.sel.ranges[a].goalColumn=r[a]})),findWordAt:function(e){var t=wr(this.doc,e.line).text,n=e.ch,i=e.ch;if(t){var r=this.getHelper(e,"wordChars");(e.xRel<0||i==t.length)&&n?--n:++i;for(var o=t.charAt(n),a=So(o,r)?function(e){return So(e,r)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!So(e)};n>0&&a(t.charAt(n-1));)--n;for(;i<t.length&&a(t.charAt(i));)++i}return new Le(he(e.line,n),he(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?qo(this.display.cursorDiv,"CodeMirror-overwrite"):Po(this.display.cursorDiv,"CodeMirror-overwrite"),Kr(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==No()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Yt((function(e,t){null==e&&null==t||Vn(this),null!=e&&(this.curOp.scrollLeft=e),null!=t&&(this.curOp.scrollTop=t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-dt(this)-this.display.barHeight,width:e.scrollWidth-dt(this)-this.display.barWidth,clientHeight:ht(this),clientWidth:pt(this)}},scrollIntoView:Yt((function(e,t){if(null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:he(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line)Vn(this),this.curOp.scrollToPos=e;else{var n=Hn(this,Math.min(e.from.left,e.to.left),Math.min(e.from.top,e.to.top)-e.margin,Math.max(e.from.right,e.to.right),Math.max(e.from.bottom,e.to.bottom)+e.margin);this.scrollTo(n.scrollLeft,n.scrollTop)}})),setSize:Yt((function(e,t){var n=this;function i(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e}null!=e&&(n.display.wrapper.style.width=i(e)),null!=t&&(n.display.wrapper.style.height=i(t)),n.options.lineWrapping&&At(this);var r=n.display.viewFrom;n.doc.iter(r,n.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){en(n,r,"widget");break}++r})),n.curOp.forceUpdate=!0,Kr(n,"refresh",this)})),operation:function(e){return Ut(this,e)},refresh:Yt((function(){var e=this.display.cachedTextHeight;Zt(this),this.curOp.forceUpdate=!0,xt(this),this.scrollTo(this.doc.scrollLeft,this.doc.scrollTop),L(this),(null==e||Math.abs(e-Dt(this.display))>.5)&&$(this),Kr(this,"refresh",this)})),swapDoc:Yt((function(e){var t=this.doc;return t.cm=null,Mr(this,e),xt(this),this.display.input.reset(),this.scrollTo(e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Jr(this,"swapDoc",this,t),t})),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},io(x);var Jn=x.defaults={},Zn=x.optionHandlers={};function ei(e,t,n,i){x.defaults[e]=t,n&&(Zn[e]=i?function(e,t,i){i!=ti&&n(e,t,i)}:n)}var ti=x.Init={toString:function(){return"CodeMirror.Init"}};ei("value","",(function(e,t){e.setValue(t)}),!0),ei("mode",null,(function(e,t){e.doc.modeOption=t,z(e)}),!0),ei("indentUnit",2,z,!0),ei("indentWithTabs",!1),ei("smartIndent",!0),ei("tabSize",4,(function(e){T(e),xt(e),Zt(e)}),!0),ei("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],i=e.doc.first;e.doc.iter((function(e){for(var r=0;;){var o=e.text.indexOf(t,r);if(-1==o)break;r=o+t.length,n.push(he(i,o))}i++}));for(var r=n.length-1;r>=0;r--)Fn(e.doc,t,n[r],he(n[r].line,n[r].ch+t.length))}})),ei("specialChars",/[\t\u0000-\u0019\u00ad\u200b-\u200f\u2028\u2029\ufeff]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=x.Init&&e.refresh()})),ei("specialCharPlaceholder",(function(e){var t=_o("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}),(function(e){e.refresh()}),!0),ei("electricChars",!0),ei("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),ei("rtlMoveVisually",!b),ei("wholeLineUpdateBefore",!0),ei("theme","default",(function(e){_(e),O(e)}),!0),ei("keyMap","default",(function(e,t,n){var i=gi(t),r=n!=x.Init&&gi(n);r&&r.detach&&r.detach(e,i),i.attach&&i.attach(e,r||null)})),ei("extraKeys",null),ei("lineWrapping",!1,(function(e){e.options.lineWrapping?(qo(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(Po(e.display.wrapper,"CodeMirror-wrap"),D(e)),$(e),Zt(e),xt(e),setTimeout((function(){B(e)}),100)}),!0),ei("gutters",[],(function(e){P(e.options),O(e)}),!0),ei("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?U(e.display)+"px":"0",e.refresh()}),!0),ei("coverGutterNextToScrollbar",!1,(function(e){B(e)}),!0),ei("scrollbarStyle","native",(function(e){I(e),B(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),ei("lineNumbers",!1,(function(e){P(e.options),O(e)}),!0),ei("firstLineNumber",1,O,!0),ei("lineNumberFormatter",(function(e){return e}),O,!0),ei("showCursorWhenSelecting",!1,et,!0),ei("resetSelectionOnContextMenu",!0),ei("lineWiseCopyCut",!0),ei("readOnly",!1,(function(e,t){"nocursor"==t?(_n(e),e.display.input.blur(),e.display.disabled=!0):e.display.disabled=!1,e.display.input.readOnlyChanged(t)})),ei("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),ei("dragDrop",!0,(function(e,t,n){if(!t!=!(n&&n!=x.Init)){var i=e.display.dragFunctions,r=t?Vr:Yr;r(e.display.scroller,"dragstart",i.start),r(e.display.scroller,"dragenter",i.enter),r(e.display.scroller,"dragover",i.over),r(e.display.scroller,"dragleave",i.leave),r(e.display.scroller,"drop",i.drop)}})),ei("allowDropFileTypes",null),ei("cursorBlinkRate",530),ei("cursorScrollMargin",0),ei("cursorHeight",1,et,!0),ei("singleCursorHeightPerLine",!0,et,!0),ei("workTime",100),ei("workDelay",100),ei("flattenSpans",!0,T,!0),ei("addModeClass",!1,T,!0),ei("pollInterval",100),ei("undoDepth",200,(function(e,t){e.doc.history.undoDepth=t})),ei("historyEventDelay",1250),ei("viewportMargin",10,(function(e){e.refresh()}),!0),ei("maxHighlightLength",1e4,T,!0),ei("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),ei("tabindex",null,(function(e,t){e.display.input.getField().tabIndex=t||""})),ei("autofocus",null);var ni=x.modes={},ii=x.mimeModes={};x.defineMode=function(e,t){x.defaults.mode||"null"==e||(x.defaults.mode=e),arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),ni[e]=t},x.defineMIME=function(e,t){ii[e]=t},x.resolveMode=function(e){if("string"==typeof e&&ii.hasOwnProperty(e))e=ii[e];else if(e&&"string"==typeof e.name&&ii.hasOwnProperty(e.name)){var t=ii[e.name];"string"==typeof t&&(t={name:t}),(e=Mo(t,e)).name=t.name}else if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return x.resolveMode("application/xml");return"string"==typeof e?{name:e}:e||{name:"null"}},x.getMode=function(e,t){t=x.resolveMode(t);var n=ni[t.name];if(!n)return x.getMode(e,"text/plain");var i=n(e,t);if(ri.hasOwnProperty(t.name)){var r=ri[t.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)i[o]=t.modeProps[o];return i},x.defineMode("null",(function(){return{token:function(e){e.skipToEnd()}}})),x.defineMIME("text/plain","null");var ri=x.modeExtensions={};x.extendMode=function(e,t){wo(t,ri.hasOwnProperty(e)?ri[e]:ri[e]={})},x.defineExtension=function(e,t){x.prototype[e]=t},x.defineDocExtension=function(e,t){mr.prototype[e]=t},x.defineOption=ei;var oi=[];x.defineInitHook=function(e){oi.push(e)};var ai=x.helpers={};x.registerHelper=function(e,t,n){ai.hasOwnProperty(e)||(ai[e]=x[e]={_global:[]}),ai[e][t]=n},x.registerGlobalHelper=function(e,t,n,i){x.registerHelper(e,t,i),ai[e]._global.push({pred:n,val:i})};var si=x.copyState=function(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var i in t){var r=t[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n},li=x.startState=function(e,t,n){return!e.startState||e.startState(t,n)};x.innerMode=function(e,t){for(;e.innerMode;){var n=e.innerMode(t);if(!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}};var ci=x.commands={selectAll:function(e){e.setSelection(he(e.firstLine(),0),he(e.lastLine()),ao)},singleSelection:function(e){e.setSelection(e.getCursor("anchor"),e.getCursor("head"),ao)},killLine:function(e){Yn(e,(function(t){if(t.empty()){var n=wr(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:he(t.head.line+1,0)}:{from:t.head,to:he(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){Yn(e,(function(t){return{from:he(t.from().line,0),to:qe(e.doc,he(t.to().line+1,0))}}))},delLineLeft:function(e){Yn(e,(function(e){return{from:he(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){Yn(e,(function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}}))},delWrappedLineRight:function(e){Yn(e,(function(t){var n=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:i}}))},undo:function(e){e.undo()},redo:function(e){e.redo()},undoSelection:function(e){e.undoSelection()},redoSelection:function(e){e.redoSelection()},goDocStart:function(e){e.extendSelection(he(e.firstLine(),0))},goDocEnd:function(e){e.extendSelection(he(e.lastLine()))},goLineStart:function(e){e.extendSelectionsBy((function(t){return ia(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){e.extendSelectionsBy((function(t){return ra(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){e.extendSelectionsBy((function(t){return function(e,t){for(var n,i=wr(e.doc,t);n=Pi(i);)i=n.find(1,!0).line,t=null;var r=kr(i),o=r?r[0].level%2?ta(i):na(i):i.text.length;return he(null==t?Sr(i):t,o)}(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){e.extendSelectionsBy((function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),lo)},goLineLeft:function(e){e.extendSelectionsBy((function(t){var n=e.charCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),lo)},goLineLeftSmart:function(e){e.extendSelectionsBy((function(t){var n=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:n},"div");return i.ch<e.getLine(i.line).search(/\S/)?ra(e,t.head):i}),lo)},goLineUp:function(e){e.moveV(-1,"line")},goLineDown:function(e){e.moveV(1,"line")},goPageUp:function(e){e.moveV(-1,"page")},goPageDown:function(e){e.moveV(1,"page")},goCharLeft:function(e){e.moveH(-1,"char")},goCharRight:function(e){e.moveH(1,"char")},goColumnLeft:function(e){e.moveH(-1,"column")},goColumnRight:function(e){e.moveH(1,"column")},goWordLeft:function(e){e.moveH(-1,"word")},goGroupRight:function(e){e.moveH(1,"group")},goGroupLeft:function(e){e.moveH(-1,"group")},goWordRight:function(e){e.moveH(1,"word")},delCharBefore:function(e){e.deleteH(-1,"char")},delCharAfter:function(e){e.deleteH(1,"char")},delWordBefore:function(e){e.deleteH(-1,"word")},delWordAfter:function(e){e.deleteH(1,"word")},delGroupBefore:function(e){e.deleteH(-1,"group")},delGroupAfter:function(e){e.deleteH(1,"group")},indentAuto:function(e){e.indentSelection("smart")},indentMore:function(e){e.indentSelection("add")},indentLess:function(e){e.indentSelection("subtract")},insertTab:function(e){e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),i=e.options.tabSize,r=0;r<n.length;r++){var o=n[r].from(),a=uo(e.getLine(o.line),o.ch,i);t.push(new Array(i-a%i+1).join(" "))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){Ut(e,(function(){for(var t=e.listSelections(),n=[],i=0;i<t.length;i++){var r=t[i].head,o=wr(e.doc,r.line).text;if(o)if(r.ch==o.length&&(r=new he(r.line,r.ch-1)),r.ch>0)r=new he(r.line,r.ch+1),e.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),he(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var a=wr(e.doc,r.line-1).text;a&&e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),he(r.line-1,a.length-1),he(r.line,1),"+transpose")}n.push(new Le(r,r))}e.setSelections(n)}))},newlineAndIndent:function(e){Ut(e,(function(){for(var t=e.listSelections().length,n=0;n<t;n++){var i=e.listSelections()[n];e.replaceRange(e.doc.lineSeparator(),i.anchor,i.head,"+input"),e.indentLine(i.from().line+1,null,!0)}jn(e)}))},toggleOverwrite:function(e){e.toggleOverwrite()}},ui=x.keyMap={};function di(e){for(var t,n,i,r,o=e.split(/-(?!$)/),a=(e=o[o.length-1],0);a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))r=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)$/i.test(s))throw new Error("Unrecognized modifier name: "+s);i=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),r&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}ui.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ui.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ui.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars"},ui.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ui.default=m?ui.macDefault:ui.pcDefault,x.normalizeKeyMap=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==i){delete e[n];continue}for(var r=bo(n.split(" "),di),o=0;o<r.length;o++){var a,s;o==r.length-1?(s=r.join(" "),a=i):(s=r.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e};var pi=x.lookupKey=function(e,t,n,i){var r=(t=gi(t)).call?t.call(e,i):t[e];if(!1===r)return"nothing";if("..."===r)return"multi";if(null!=r&&n(r))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return pi(e,t.fallthrough,n,i);for(var o=0;o<t.fallthrough.length;o++){var a=pi(e,t.fallthrough[o],n,i);if(a)return a}}},hi=x.isModifierKey=function(e){var t="string"==typeof e?e:Jo[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t},fi=x.keyName=function(e,t){if(u&&34==e.keyCode&&e.char)return!1;var n=Jo[e.keyCode],i=n;return null!=i&&!e.altGraphKey&&(e.altKey&&"Alt"!=n&&(i="Alt-"+i),(M?e.metaKey:e.ctrlKey)&&"Ctrl"!=n&&(i="Ctrl-"+i),(M?e.ctrlKey:e.metaKey)&&"Cmd"!=n&&(i="Cmd-"+i),!t&&e.shiftKey&&"Shift"!=n&&(i="Shift-"+i),i)};function gi(e){return"string"==typeof e?ui[e]:e}x.fromTextArea=function(e,t){if((t=t?wo(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=No();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function i(){e.value=s.getValue()}if(e.form&&(Vr(e.form,"submit",i),!t.leaveSubmitMethodAlone)){var r=e.form,o=r.submit;try{var a=r.submit=function(){i(),r.submit=o,r.submit(),r.submit=a}}catch(Vo){}}t.finishInit=function(t){t.save=i,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,i(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(Yr(e.form,"submit",i),"function"==typeof e.form.submit&&(e.form.submit=o))}},e.style.display="none";var s=x((function(t){e.parentNode.insertBefore(t,e.nextSibling)}),t);return s};var mi=x.StringStream=function(e,t){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0};mi.prototype={eol:function(){return this.pos>=this.string.length},sol:function(){return this.pos==this.lineStart},peek:function(){return this.string.charAt(this.pos)||void 0},next:function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},eat:function(e){var t=this.string.charAt(this.pos);if("string"==typeof e)var n=t==e;else n=t&&(e.test?e.test(t):e(t));if(n)return++this.pos,t},eatWhile:function(e){for(var t=this.pos;this.eat(e););return this.pos>t},eatSpace:function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},skipToEnd:function(){this.pos=this.string.length},skipTo:function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},backUp:function(e){this.pos-=e},column:function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=uo(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?uo(this.string,this.lineStart,this.tabSize):0)},indentation:function(){return uo(this.string,null,this.tabSize)-(this.lineStart?uo(this.string,this.lineStart,this.tabSize):0)},match:function(e,t,n){if("string"!=typeof e){var i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var r=function(e){return n?e.toLowerCase():e};if(r(this.string.substr(this.pos,e.length))==r(e))return!1!==t&&(this.pos+=e.length),!0},current:function(){return this.string.slice(this.start,this.pos)},hideFirstChars:function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}}};var vi=0,bi=x.TextMarker=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++vi};function yi(e,t,n,i,r){if(i&&i.shared)return function(e,t,n,i,r){(i=wo(i)).shared=!1;var o=[yi(e,t,n,i,r)],a=o[0],s=i.widgetNode;return yr(e,(function(e){s&&(i.widgetNode=s.cloneNode(!0)),o.push(yi(e,qe(e,t),qe(e,n),i,r));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=go(o)})),new Mi(o,a)}(e,t,n,i,r);if(e.cm&&!e.cm.curOp)return Gt(e.cm,yi)(e,t,n,i,r);var o=new bi(e,r),a=fe(t,n);if(i&&wo(i,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=_o("span",[o.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(qi(e,t.line,t,n,o)||t.line!=n.line&&qi(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");A=!0}o.addToHistory&&Er(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Wi(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&xr(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Ai(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){Bi(e,t)&&xr(t,0)})),o.clearOnEnter&&Vr(o,"beforeCursorEnter",(function(){o.clear()})),o.readOnly&&(C=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++vi,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Zt(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)en(c,u,"text");o.atomic&&Ye(c.doc),Jr(c,"markerAdded",c,o)}return o}io(bi),bi.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&Bt(e),no(this,"clear")){var n=this.find();n&&Jr(this,"clear",n.from,n.to)}for(var i=null,r=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=xi(a.markedSpans,this);e&&!this.collapsed?en(e,Sr(a),"text"):e&&(null!=s.to&&(r=Sr(a)),null!=s.from&&(i=Sr(a))),a.markedSpans=Si(a.markedSpans,s),null==s.from&&this.collapsed&&!Bi(this.doc,a)&&e&&xr(a,Dt(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(o=0;o<this.lines.length;++o){var l=Wi(this.lines[o]),c=N(l);c>e.display.maxLineLength&&(e.display.maxLine=l,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&Zt(e,i,r+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ye(e.doc)),e&&Jr(e,"markerCleared",e,this),t&&Ft(e),this.parent&&this.parent.clear()}},bi.prototype.find=function(e,t){var n,i;null==e&&"bookmark"==this.type&&(e=1);for(var r=0;r<this.lines.length;++r){var o=this.lines[r],a=xi(o.markedSpans,this);if(null!=a.from&&(n=he(t?o:Sr(o),a.from),-1==e))return n;if(null!=a.to&&(i=he(t?o:Sr(o),a.to),1==e))return i}return n&&{from:n,to:i}},bi.prototype.changed=function(){var e=this.find(-1,!0),t=this,n=this.doc.cm;e&&n&&Ut(n,(function(){var i=e.line,r=Sr(e.line),o=mt(n,r);if(o&&(Ct(o),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Bi(t.doc,i)&&null!=t.height){var a=t.height;t.height=null;var s=ji(t)-a;s&&xr(i,i.height+s)}}))},bi.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=vo(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},bi.prototype.detachLine=function(e){if(this.lines.splice(vo(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},vi=0;var Mi=x.SharedTextMarker=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function wi(e){return e.findMarks(he(e.first,0),e.clipPos(he(e.lastLine())),(function(e){return e.parent}))}function Ci(e){for(var t=0;t<e.length;t++){var n=e[t],i=[n.primary.doc];yr(n.primary.doc,(function(e){i.push(e)}));for(var r=0;r<n.markers.length;r++){var o=n.markers[r];-1==vo(i,o.doc)&&(o.parent=null,n.markers.splice(r--,1))}}}function Ai(e,t,n){this.marker=e,this.from=t,this.to=n}function xi(e,t){if(e)for(var n=0;n<e.length;++n){var i=e[n];if(i.marker==t)return i}}function Si(e,t){for(var n,i=0;i<e.length;++i)e[i]!=t&&(n||(n=[])).push(e[i]);return n}function zi(e,t){if(t.full)return null;var n=We(e,t.from.line)&&wr(e,t.from.line).markedSpans,i=We(e,t.to.line)&&wr(e,t.to.line).markedSpans;if(!n&&!i)return null;var r=t.from.ch,o=t.to.ch,a=0==fe(t.from,t.to),s=function(e,t,n){if(e)for(var i,r=0;r<e.length;++r){var o=e[r],a=o.marker;null!=o.from&&!(a.inclusiveLeft?o.from<=t:o.from<t)&&(o.from!=t||"bookmark"!=a.type||n&&o.marker.insertLeft)||(i||(i=[])).push(new Ai(a,o.from,null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)?null:o.to))}return i}(n,r,a),l=function(e,t,n){if(e)for(var i,r=0;r<e.length;++r){var o=e[r],a=o.marker;(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft))&&(i||(i=[])).push(new Ai(a,null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)?null:o.from-t,null==o.to?null:o.to-t))}return i}(i,o,a),c=1==t.text.length,u=go(t.text).length+(c?r:0);if(s)for(var d=0;d<s.length;++d)null==(p=s[d]).to&&((h=xi(l,p.marker))?c&&(p.to=null==h.to?null:h.to+u):p.to=r);if(l)for(d=0;d<l.length;++d){var p,h;null!=(p=l[d]).to&&(p.to+=u),null==p.from?(h=xi(s,p.marker))||(p.from=u,c&&(s||(s=[])).push(p)):(p.from+=u,c&&(s||(s=[])).push(p))}s&&(s=Ti(s)),l&&l!=s&&(l=Ti(l));var f=[s];if(!c){var g,m=t.text.length-2;if(m>0&&s)for(d=0;d<s.length;++d)null==s[d].to&&(g||(g=[])).push(new Ai(s[d].marker,null,null));for(d=0;d<m;++d)f.push(g);f.push(l)}return f}function Ti(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function ki(e,t){var n=function(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var i=0,r=[];i<t.text.length;++i)r.push(Dr(n[i]));return r}(e,t),i=zi(e,t);if(!n)return i;if(!i)return n;for(var r=0;r<n.length;++r){var o=n[r],a=i[r];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[r]=a)}return n}function $i(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function _i(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Oi(e){return e.inclusiveLeft?-1:0}function Ei(e){return e.inclusiveRight?1:0}function Li(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var i=e.find(),r=t.find(),o=fe(i.from,r.from)||Oi(e)-Oi(t);return o?-o:fe(i.to,r.to)||Ei(e)-Ei(t)||t.id-e.id}function Ni(e,t){var n,i=A&&e.markedSpans;if(i)for(var r,o=0;o<i.length;++o)(r=i[o]).marker.collapsed&&null==(t?r.from:r.to)&&(!n||Li(n,r.marker)<0)&&(n=r.marker);return n}function Di(e){return Ni(e,!0)}function Pi(e){return Ni(e,!1)}function qi(e,t,n,i,r){var o=wr(e,t),a=A&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=fe(c.from,n)||Oi(l.marker)-Oi(r),d=fe(c.to,i)||Ei(l.marker)-Ei(r);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(fe(c.to,n)>0||l.marker.inclusiveRight&&r.inclusiveLeft)||u>=0&&(fe(c.from,i)<0||l.marker.inclusiveLeft&&r.inclusiveRight)))return!0}}}function Wi(e){for(var t;t=Di(e);)e=t.find(-1,!0).line;return e}function Ri(e,t){var n=wr(e,t),i=Wi(n);return n==i?t:Sr(i)}function Ii(e,t){if(t>e.lastLine())return t;var n,i=wr(e,t);if(!Bi(e,i))return t;for(;n=Pi(i);)i=n.find(1,!0).line;return Sr(i)+1}function Bi(e,t){var n=A&&t.markedSpans;if(n)for(var i,r=0;r<n.length;++r)if((i=n[r]).marker.collapsed){if(null==i.from)return!0;if(!i.marker.widgetNode&&0==i.from&&i.marker.inclusiveLeft&&Fi(e,t,i))return!0}}function Fi(e,t,n){if(null==n.to){var i=n.marker.find(1,!0);return Fi(e,i.line,xi(i.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var r,o=0;o<t.markedSpans.length;++o)if((r=t.markedSpans[o]).marker.collapsed&&!r.marker.widgetNode&&r.from==n.to&&(null==r.to||r.to!=n.from)&&(r.marker.inclusiveLeft||n.marker.inclusiveRight)&&Fi(e,t,r))return!0}io(Mi),Mi.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Jr(this,"clear")}},Mi.prototype.find=function(e,t){return this.primary.find(e,t)};var Hi=x.LineWidget=function(e,t,n){if(n)for(var i in n)n.hasOwnProperty(i)&&(this[i]=n[i]);this.doc=e,this.node=t};function Xi(e,t,n){Tr(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Xn(e,null,n)}function ji(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!Lo(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),Eo(t.display.measure,_o("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}io(Hi),Hi.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,i=Sr(n);if(null!=i&&t){for(var r=0;r<t.length;++r)t[r]==this&&t.splice(r--,1);t.length||(n.widgets=null);var o=ji(this);xr(n,Math.max(0,n.height-o)),e&&Ut(e,(function(){Xi(e,n,-o),en(e,i,"widget")}))}},Hi.prototype.changed=function(){var e=this.height,t=this.doc.cm,n=this.line;this.height=null;var i=ji(this)-e;i&&(xr(n,n.height+i),t&&Ut(t,(function(){t.curOp.forceUpdate=!0,Xi(t,n,i)})))};var Vi=x.Line=function(e,t,n){this.text=e,_i(this,t),this.height=n?n(this):1};function Ui(e){e.parent=null,$i(e)}function Gi(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var i=n[1]?"bgClass":"textClass";null==t[i]?t[i]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[i])||(t[i]+=" "+n[2])}return e}function Yi(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=x.innerMode(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function Ki(e,t,n,i){for(var r=0;r<10;r++){i&&(i[0]=x.innerMode(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function Qi(e,t,n,i){function r(e){return{start:d.start,end:d.pos,string:d.current(),type:o||null,state:e?si(a.mode,u):u}}var o,a=e.doc,s=a.mode;t=qe(a,t);var l,c=wr(a,t.line),u=st(e,t.line,n),d=new mi(c.text,e.options.tabSize);for(i&&(l=[]);(i||d.pos<t.ch)&&!d.eol();)d.start=d.pos,o=Ki(s,d,u),i&&l.push(r(!0));return i?l:r()}function Ji(e,t,n,i,r,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new mi(t,e.options.tabSize),p=e.options.addModeClass&&[null];for(""==t&&Gi(Yi(n,i),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&tr(e,t,i,d.pos),d.pos=t.length,l=null):l=Gi(Ki(n,d,i,p),o),p){var h=p[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||u!=l){for(;c<d.start;)r(c=Math.min(d.start,c+5e4),u);u=l}d.start=d.pos}for(;c<d.pos;){var f=Math.min(d.pos,c+5e4);r(f,u),c=f}}function Zi(e,t,n,i){var r=[e.state.modeGen],o={};Ji(e,t.text,e.doc.mode,n,(function(e,t){r.push(e,t)}),o,i);for(var a=0;a<e.state.overlays.length;++a){var s=e.state.overlays[a],l=1,c=0;Ji(e,t.text,s.mode,!0,(function(e,t){for(var n=l;c<e;){var i=r[l];i>e&&r.splice(l,1,e,r[l+1],i),l+=2,c=Math.min(e,i)}if(t)if(s.opaque)r.splice(n,l-n,e,"cm-overlay "+t),l=n+2;else for(;n<l;n+=2){var o=r[n+1];r[n+1]=(o?o+" ":"")+"cm-overlay "+t}}),o)}return{styles:r,classes:o.bgClass||o.textClass?o:null}}function er(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=st(e,Sr(t)),r=Zi(e,t,t.text.length>e.options.maxHighlightLength?si(e.doc.mode,i):i);t.stateAfter=i,t.styles=r.styles,r.classes?t.styleClasses=r.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.frontier&&e.doc.frontier++}return t.styles}function tr(e,t,n,i){var r=e.doc.mode,o=new mi(t,e.options.tabSize);for(o.start=o.pos=i||0,""==t&&Yi(r,n);!o.eol();)Ki(r,o,n),o.start=o.pos}io(Vi),Vi.prototype.lineNo=function(){return Sr(this)};var nr={},ir={};function rr(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?ir:nr;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function or(e,t){var n=_o("span",null,null,s?"padding-right: .1px":null),i={pre:_o("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,splitSpaces:(o||s)&&e.getOption("lineWrapping")};t.measure={};for(var r=0;r<=(t.rest?t.rest.length:0);r++){var a,l=r?t.rest[r-1]:t.line;i.pos=0,i.addToken=ar,jo(e.display.measure)&&(a=kr(l))&&(i.addToken=lr(i.addToken,a)),i.map=[],ur(l,i,er(e,l,t!=e.display.externalMeasured&&Sr(l))),l.styleClasses&&(l.styleClasses.bgClass&&(i.bgClass=Wo(l.styleClasses.bgClass,i.bgClass||"")),l.styleClasses.textClass&&(i.textClass=Wo(l.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(Xo(e.display.measure))),0==r?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}return s&&/\bcm-tab\b/.test(i.content.lastChild.className)&&(i.content.className="cm-tab-wrap-hack"),Kr(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=Wo(i.pre.className,i.textClass||"")),i}function ar(e,t,n,i,r,s,l){if(t){var c=e.splitSpaces?t.replace(/ {3,}/g,sr):t,u=e.cm.state.specialChars,d=!1;if(u.test(t)){b=document.createDocumentFragment();for(var p=0;;){u.lastIndex=p;var h=u.exec(t),f=h?h.index-p:t.length-p;if(f){var g=document.createTextNode(c.slice(p,p+f));b.appendChild(o&&a<9?_o("span",[g]):g),e.map.push(e.pos,e.pos+f,g),e.col+=f,e.pos+=f}if(!h)break;if(p+=f+1,"\t"==h[0]){var m=e.cm.options.tabSize,v=m-e.col%m;(g=b.appendChild(_o("span",fo(v),"cm-tab"))).setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),e.col+=v}else"\r"==h[0]||"\n"==h[0]?((g=b.appendChild(_o("span","\r"==h[0]?"\u240d":"\u2424","cm-invalidchar"))).setAttribute("cm-text",h[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(h[0])).setAttribute("cm-text",h[0]),b.appendChild(o&&a<9?_o("span",[g]):g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else{e.col+=t.length;var b=document.createTextNode(c);e.map.push(e.pos,e.pos+t.length,b),o&&a<9&&(d=!0),e.pos+=t.length}if(n||i||r||d||l){var y=n||"";i&&(y+=i),r&&(y+=r);var M=_o("span",[b],y,l);return s&&(M.title=s),e.content.appendChild(M)}e.content.appendChild(b)}}function sr(e){for(var t=" ",n=0;n<e.length-2;++n)t+=n%2?" ":"\xa0";return t+" "}function lr(e,t){return function(n,i,r,o,a,s,l){r=r?r+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+i.length;;){for(var d=0;d<t.length;d++){var p=t[d];if(p.to>c&&p.from<=c)break}if(p.to>=u)return e(n,i,r,o,a,s,l);e(n,i.slice(0,p.to-c),r,o,null,s,l),o=null,i=i.slice(p.to-c),c=p.to}}}function cr(e,t,n,i){var r=!i&&n.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!i&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t}function ur(e,t,n){var i=e.markedSpans,r=e.text,o=0;if(i)for(var a,s,l,c,u,d,p,h=r.length,f=0,g=(S=1,""),m=0;;){if(m==f){l=c=u=d=s="",p=null,m=1/0;for(var v,b=[],y=0;y<i.length;++y){var M=i[y],w=M.marker;"bookmark"==w.type&&M.from==f&&w.widgetNode?b.push(w):M.from<=f&&(null==M.to||M.to>f||w.collapsed&&M.to==f&&M.from==f)?(null!=M.to&&M.to!=f&&m>M.to&&(m=M.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&M.from==f&&(u+=" "+w.startStyle),w.endStyle&&M.to==m&&(v||(v=[])).push(w.endStyle,M.to),w.title&&!d&&(d=w.title),w.collapsed&&(!p||Li(p.marker,w)<0)&&(p=M)):M.from>f&&m>M.from&&(m=M.from)}if(v)for(y=0;y<v.length;y+=2)v[y+1]==m&&(c+=" "+v[y]);if(!p||p.from==f)for(y=0;y<b.length;++y)cr(t,0,b[y]);if(p&&(p.from||0)==f){if(cr(t,(null==p.to?h+1:p.to)-f,p.marker,null==p.from),null==p.to)return;p.to==f&&(p=!1)}}if(f>=h)break;for(var C=Math.min(h,m);;){if(g){var A=f+g.length;if(!p){var x=A>C?g.slice(0,C-f):g;t.addToken(t,x,a?a+l:l,u,f+x.length==m?c:"",d,s)}if(A>=C){g=g.slice(C-f),f=C;break}f=A,u=""}g=r.slice(o,o=n[S++]),a=rr(n[S++],t.cm.options)}}else for(var S=1;S<n.length;S+=2)t.addToken(t,r.slice(o,o=n[S]),rr(n[S+1],t.cm.options))}function dr(e,t){return 0==t.from.ch&&0==t.to.ch&&""==go(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function pr(e,t,n,i){function r(e){return n?n[e]:null}function o(e,n,r){!function(e,t,n,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),$i(e),_i(e,n);var r=i?i(e):1;r!=e.height&&xr(e,r)}(e,n,r,i),Jr(e,"change",e,t)}function a(e,t){for(var n=e,o=[];n<t;++n)o.push(new Vi(c[n],r(n),i));return o}var s=t.from,l=t.to,c=t.text,u=wr(e,s.line),d=wr(e,l.line),p=go(c),h=r(c.length-1),f=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(dr(e,t)){var g=a(0,c.length-1);o(d,d.text,h),f&&e.remove(s.line,f),g.length&&e.insert(s.line,g)}else u==d?1==c.length?o(u,u.text.slice(0,s.ch)+p+u.text.slice(l.ch),h):((g=a(1,c.length-1)).push(new Vi(p+u.text.slice(l.ch),h,i)),o(u,u.text.slice(0,s.ch)+c[0],r(0)),e.insert(s.line+1,g)):1==c.length?(o(u,u.text.slice(0,s.ch)+c[0]+d.text.slice(l.ch),r(0)),e.remove(s.line+1,f)):(o(u,u.text.slice(0,s.ch)+c[0],r(0)),o(d,p+d.text.slice(l.ch),h),g=a(1,c.length-1),f>1&&e.remove(s.line+1,f-1),e.insert(s.line+1,g));Jr(e,"change",e,t)}function hr(e){this.lines=e,this.parent=null;for(var t=0,n=0;t<e.length;++t)e[t].parent=this,n+=e[t].height;this.height=n}function fr(e){this.children=e;for(var t=0,n=0,i=0;i<e.length;++i){var r=e[i];t+=r.chunkSize(),n+=r.height,r.parent=this}this.size=t,this.height=n,this.parent=null}hr.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,i=e+t;n<i;++n){var r=this.lines[n];this.height-=r.height,Ui(r),Jr(r,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function(e,t,n){for(var i=e+t;e<i;++e)if(n(this.lines[e]))return!0}},fr.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var i=this.children[n],r=i.chunkSize();if(e<r){var o=Math.min(t,r-e),a=i.height;if(i.removeInner(e,o),this.height-=a-i.height,r==o&&(this.children.splice(n--,1),i.parent=null),0==(t-=o))break;e=0}else e-=r}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof hr))){var s=[];this.collapse(s),this.children=[new hr(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var i=0;i<this.children.length;++i){var r=this.children[i],o=r.chunkSize();if(e<=o){if(r.insertInner(e,t,n),r.lines&&r.lines.length>50){for(;r.lines.length>50;){var a=new hr(r.lines.splice(r.lines.length-25,25));r.height-=a.height,this.children.splice(i+1,0,a),a.parent=this}this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new fr(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=vo(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var i=new fr(e.children);i.parent=e,e.children=[i,t],e=i}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var i=0;i<this.children.length;++i){var r=this.children[i],o=r.chunkSize();if(e<o){var a=Math.min(t,o-e);if(r.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var gr=0,mr=x.Doc=function(e,t,n,i){if(!(this instanceof mr))return new mr(e,t,n,i);null==n&&(n=0),fr.call(this,[new hr([new Vi("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.frontier=n;var r=he(n,0);this.sel=De(r),this.history=new $r(null),this.id=++gr,this.modeOption=t,this.lineSep=i,this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),pr(this,{from:r,to:r,text:e}),Ve(this,De(r),ao)};mr.prototype=Mo(fr.prototype,{constructor:mr,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,i=0;i<t.length;++i)n+=t[i].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ar(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Kt((function(e){var t=he(this.first,0),n=this.first+this.size-1;qn(this,{from:t,to:he(n,wr(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),Ve(this,De(t))})),replaceRange:function(e,t,n,i){Fn(this,e,t=qe(this,t),n=n?qe(this,n):t,i)},getRange:function(e,t,n){var i=Cr(this,qe(this,e),qe(this,t));return!1===n?i:i.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(We(this,e))return wr(this,e)},getLineNumber:function(e){return Sr(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=wr(this,e)),Wi(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return qe(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Kt((function(e,t,n){Xe(this,qe(this,"number"==typeof e?he(e,t||0):e),null,n)})),setSelection:Kt((function(e,t,n){Xe(this,qe(this,e),qe(this,t||e),n)})),extendSelection:Kt((function(e,t,n){Be(this,qe(this,e),t&&qe(this,t),n)})),extendSelections:Kt((function(e,t){Fe(this,Re(this,e),t)})),extendSelectionsBy:Kt((function(e,t){Fe(this,Re(this,bo(this.sel.ranges,e)),t)})),setSelections:Kt((function(e,t,n){if(e.length){for(var i=0,r=[];i<e.length;i++)r[i]=new Le(qe(this,e[i].anchor),qe(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Ve(this,Ne(r,t),n)}})),addSelection:Kt((function(e,t,n){var i=this.sel.ranges.slice(0);i.push(new Le(qe(this,e),qe(this,t||e))),Ve(this,Ne(i,i.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,i=0;i<n.length;i++){var r=Cr(this,n[i].from(),n[i].to());t=t?t.concat(r):r}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,i=0;i<n.length;i++){var r=Cr(this,n[i].from(),n[i].to());!1!==e&&(r=r.join(e||this.lineSeparator())),t[i]=r}return t},replaceSelection:function(e,t,n){for(var i=[],r=0;r<this.sel.ranges.length;r++)i[r]=e;this.replaceSelections(i,t,n||"+input")},replaceSelections:Kt((function(e,t,n){for(var i=[],r=this.sel,o=0;o<r.ranges.length;o++){var a=r.ranges[o];i[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}var s=t&&"end"!=t&&function(e,t,n){for(var i=[],r=he(e.first,0),o=r,a=0;a<t.length;a++){var s=t[a],l=Dn(s.from,r,o),c=Dn(En(s),r,o);if(r=s.to,o=c,"around"==n){var u=e.sel.ranges[a],d=fe(u.head,u.anchor)<0;i[a]=new Le(d?c:l,d?l:c)}else i[a]=new Le(l,l)}return new Ee(i,e.sel.primIndex)}(this,i,t);for(o=i.length-1;o>=0;o--)qn(this,i[o]);s?je(this,s):this.cm&&jn(this.cm)})),undo:Kt((function(){Rn(this,"undo")})),redo:Kt((function(){Rn(this,"redo")})),undoSelection:Kt((function(){Rn(this,"undo",!0)})),redoSelection:Kt((function(){Rn(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new $r(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Pr(this.history.done),undone:Pr(this.history.undone)}},setHistory:function(e){var t=this.history=new $r(this.history.maxGeneration);t.done=Pr(e.done.slice(0),null,!0),t.undone=Pr(e.undone.slice(0),null,!0)},addLineClass:Kt((function(e,t,n){return Gn(this,e,"gutter"==t?"gutter":"class",(function(e){var i="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[i]){if(Do(n).test(e[i]))return!1;e[i]+=" "+n}else e[i]=n;return!0}))})),removeLineClass:Kt((function(e,t,n){return Gn(this,e,"gutter"==t?"gutter":"class",(function(e){var i="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",r=e[i];if(!r)return!1;if(null==n)e[i]=null;else{var o=r.match(Do(n));if(!o)return!1;var a=o.index+o[0].length;e[i]=r.slice(0,o.index)+(o.index&&a!=r.length?" ":"")+r.slice(a)||null}return!0}))})),addLineWidget:Kt((function(e,t,n){return function(e,t,n,i){var r=new Hi(e,n,i),o=e.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),Gn(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==r.insertAt?n.push(r):n.splice(Math.min(n.length-1,Math.max(0,r.insertAt)),0,r),r.line=t,o&&!Bi(e,t)){var i=Tr(t)<e.scrollTop;xr(t,t.height+ji(r)),i&&Xn(o,null,r.height),o.curOp.forceUpdate=!0}return!0})),r}(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return yi(this,qe(this,e),qe(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return yi(this,e=qe(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=wr(this,(e=qe(this,e)).line).markedSpans;if(n)for(var i=0;i<n.length;++i){var r=n[i];(null==r.from||r.from<=e.ch)&&(null==r.to||r.to>=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,n){e=qe(this,e),t=qe(this,t);var i=[],r=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&r==e.line&&e.ch>l.to||null==l.from&&r!=e.line||null!=l.from&&r==t.line&&l.from>t.ch||n&&!n(l.marker)||i.push(l.marker.parent||l.marker)}++r})),i},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var i=0;i<n.length;++i)null!=n[i].from&&e.push(n[i].marker)})),e},posFromIndex:function(e){var t,n=this.first,i=this.lineSeparator().length;return this.iter((function(r){var o=r.text.length+i;if(o>e)return t=e,!0;e-=o,++n})),qe(this,he(n,t))},indexFromPos:function(e){var t=(e=qe(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new mr(Ar(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var i=new mr(Ar(this,t,n),e.mode||this.modeOption,t,this.lineSep);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var i=t[n],r=i.find(),o=e.clipPos(r.from),a=e.clipPos(r.to);if(fe(o,a)){var s=yi(e,o,a,i.primary,i.primary.type);i.markers.push(s),s.parent=i}}}(i,wi(this)),i},unlinkDoc:function(e){if(e instanceof x&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Ci(wi(this));break}if(e.history==this.history){var n=[e.id];yr(e,(function(e){n.push(e.id)}),!0),e.history=new $r(null),e.history.done=Pr(this.history.done,n),e.history.undone=Pr(this.history.undone,n)}},iterLinkedDocs:function(e){yr(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Go(e)},lineSeparator:function(){return this.lineSep||"\n"}}),mr.prototype.eachLine=mr.prototype.iter;var vr="iter insert remove copy getEditor constructor".split(" ");for(var br in mr.prototype)mr.prototype.hasOwnProperty(br)&&vo(vr,br)<0&&(x.prototype[br]=function(e){return function(){return e.apply(this.doc,arguments)}}(mr.prototype[br]));function yr(e,t,n){!function e(i,r,o){if(i.linked)for(var a=0;a<i.linked.length;++a){var s=i.linked[a];if(s.doc!=r){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,i,l))}}}(e,null,!0)}function Mr(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,$(e),z(e),e.options.lineWrapping||D(e),e.options.mode=t.modeOption,Zt(e)}function wr(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(t<o){n=r;break}t-=o}return n.lines[t]}function Cr(e,t,n){var i=[],r=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;r==n.line&&(o=o.slice(0,n.ch)),r==t.line&&(o=o.slice(t.ch)),i.push(o),++r})),i}function Ar(e,t,n){var i=[];return e.iter(t,n,(function(e){i.push(e.text)})),i}function xr(e,t){var n=t-e.height;if(n)for(var i=e;i;i=i.parent)i.height+=n}function Sr(e){if(null==e.parent)return null;for(var t=e.parent,n=vo(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var r=0;i.children[r]!=t;++r)n+=i.children[r].chunkSize();return n+t.first}function zr(e,t){var n=e.first;e:do{for(var i=0;i<e.children.length;++i){var r=e.children[i],o=r.height;if(t<o){e=r;continue e}t-=o,n+=r.chunkSize()}return n}while(!e.lines);for(i=0;i<e.lines.length;++i){var a=e.lines[i].height;if(t<a)break;t-=a}return n+i}function Tr(e){for(var t=0,n=(e=Wi(e)).parent,i=0;i<n.lines.length;++i){var r=n.lines[i];if(r==e)break;t+=r.height}for(var o=n.parent;o;o=(n=o).parent)for(i=0;i<o.children.length;++i){var a=o.children[i];if(a==n)break;t+=a.height}return t}function kr(e){var t=e.order;return null==t&&(t=e.order=ua(e.text)),t}function $r(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function _r(e,t){var n={from:ge(t.from),to:En(t),text:Cr(e,t.from,t.to)};return Nr(e,n,t.from.line,t.to.line+1),yr(e,(function(e){Nr(e,n,t.from.line,t.to.line+1)}),!0),n}function Or(e){for(;e.length&&go(e).ranges;)e.pop()}function Er(e,t,n,i){var r=e.history;r.undone.length=0;var o,a=+new Date;if((r.lastOp==i||r.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&r.lastModTime>a-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function(e,t){return t?(Or(e.done),go(e.done)):e.done.length&&!go(e.done).ranges?go(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),go(e.done)):void 0}(r,r.lastOp==i))){var s=go(o.changes);0==fe(t.from,t.to)&&0==fe(t.from,s.to)?s.to=En(t):o.changes.push(_r(e,t))}else{var l=go(r.done);for(l&&l.ranges||Lr(e.sel,r.done),o={changes:[_r(e,t)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=a,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=t.origin,s||Kr(e,"historyAdded")}function Lr(e,t){var n=go(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Nr(e,t,n,i){var r=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,i),(function(n){n.markedSpans&&((r||(r=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function Dr(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Pr(e,t,n){for(var i=0,r=[];i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?Ee.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c,u=a[l];if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var d in u)(c=d.match(/^spans_(\d+)$/))&&vo(t,Number(c[1]))>-1&&(go(s)[d]=u[d],delete u[d])}}}return r}function qr(e,t,n,i){n<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function Wr(e,t,n,i){for(var r=0;r<e.length;++r){var o=e[r],a=!0;if(o.ranges){o.copied||((o=e[r]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)qr(o.ranges[s].anchor,t,n,i),qr(o.ranges[s].head,t,n,i)}else{for(s=0;s<o.changes.length;++s){var l=o.changes[s];if(n<l.from.line)l.from=he(l.from.line+i,l.from.ch),l.to=he(l.to.line+i,l.to.ch);else if(t<=l.to.line){a=!1;break}}a||(e.splice(0,r+1),r=0)}}}function Rr(e,t){var n=t.from.line,i=t.to.line,r=t.text.length-(i-n)-1;Wr(e.done,n,i,r),Wr(e.undone,n,i,r)}io(mr);var Ir=x.e_preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},Br=x.e_stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0};function Fr(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}var Hr=x.e_stop=function(e){Ir(e),Br(e)};function Xr(e){return e.target||e.srcElement}function jr(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),m&&e.ctrlKey&&1==t&&(t=3),t}var Vr=x.on=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var i=e._handlers||(e._handlers={});(i[t]||(i[t]=[])).push(n)}},Ur=[];function Gr(e,t,n){var i=e._handlers&&e._handlers[t];return n?i&&i.length>0?i.slice():Ur:i||Ur}var Yr=x.off=function(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else for(var i=Gr(e,t,!1),r=0;r<i.length;++r)if(i[r]==n){i.splice(r,1);break}},Kr=x.signal=function(e,t){var n=Gr(e,t,!0);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r<n.length;++r)n[r].apply(null,i)},Qr=null;function Jr(e,t){var n=Gr(e,t,!1);if(n.length){var i,r=Array.prototype.slice.call(arguments,2);Rt?i=Rt.delayedCallbacks:Qr?i=Qr:(i=Qr=[],setTimeout(Zr,0));for(var o=0;o<n.length;++o)i.push(a(n[o]))}function a(e){return function(){e.apply(null,r)}}}function Zr(){var e=Qr;Qr=null;for(var t=0;t<e.length;++t)e[t]()}function eo(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),Kr(e,n||t.type,e,t),Fr(t)||t.codemirrorIgnore}function to(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)-1==vo(n,t[i])&&n.push(t[i])}function no(e,t){return Gr(e,t).length>0}function io(e){e.prototype.on=function(e,t){Vr(this,e,t)},e.prototype.off=function(e,t){Yr(this,e,t)}}var ro=30,oo=x.Pass={toString:function(){return"CodeMirror.Pass"}},ao={scroll:!1},so={origin:"*mouse"},lo={origin:"+move"};function co(){this.id=null}co.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var uo=x.countColumn=function(e,t,n,i,r){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=i||0,a=r||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}},po=x.findColumn=function(e,t,n){for(var i=0,r=0;;){var o=e.indexOf("\t",i);-1==o&&(o=e.length);var a=o-i;if(o==e.length||r+a>=t)return i+Math.min(a,t-r);if(r+=o-i,i=o+1,(r+=n-r%n)>=t)return i}},ho=[""];function fo(e){for(;ho.length<=e;)ho.push(go(ho)+" ");return ho[e]}function go(e){return e[e.length-1]}var mo=function(e){e.select()};function vo(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}function bo(e,t){for(var n=[],i=0;i<e.length;i++)n[i]=t(e[i],i);return n}function yo(){}function Mo(e,t){var n;return Object.create?n=Object.create(e):(yo.prototype=e,n=new yo),t&&wo(t,n),n}function wo(e,t,n){for(var i in t||(t={}),e)!e.hasOwnProperty(i)||!1===n&&t.hasOwnProperty(i)||(t[i]=e[i]);return t}function Co(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}f?mo=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(mo=function(e){try{e.select()}catch(t){}});var Ao=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,xo=x.isWordChar=function(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Ao.test(e))};function So(e,t){return t?!!(t.source.indexOf("\\w")>-1&&xo(e))||t.test(e):xo(e)}function zo(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var To,ko=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function $o(e){return e.charCodeAt(0)>=768&&ko.test(e)}function _o(e,t,n,i){var r=document.createElement(e);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)r.appendChild(t[o]);return r}function Oo(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Eo(e,t){return Oo(e).appendChild(t)}To=document.createRange?function(e,t,n,i){var r=document.createRange();return r.setEnd(i||e,n),r.setStart(e,t),r}:function(e,t,n){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch(Vo){return i}return i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",t),i};var Lo=x.contains=function(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)};function No(){for(var e=document.activeElement;e&&e.root&&e.root.activeElement;)e=e.root.activeElement;return e}function Do(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}o&&a<11&&(No=function(){try{return document.activeElement}catch(Vo){return document.body}});var Po=x.rmClass=function(e,t){var n=e.className,i=Do(t).exec(n);if(i){var r=n.slice(i.index+i[0].length);e.className=n.slice(0,i.index)+(r?i[1]+r:"")}},qo=x.addClass=function(e,t){var n=e.className;Do(t).test(n)||(e.className+=(n?" ":"")+t)};function Wo(e,t){for(var n=e.split(" "),i=0;i<n.length;i++)n[i]&&!Do(n[i]).test(t)&&(t+=" "+n[i]);return t}function Ro(e){if(document.body.getElementsByClassName)for(var t=document.body.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&e(i)}}var Io,Bo,Fo=!1,Ho=function(){if(o&&a<9)return!1;var e=_o("div");return"draggable"in e||"dragDrop"in e}();function Xo(e){if(null==Io){var t=_o("span","\u200b");Eo(e,_o("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Io=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&a<8))}var n=Io?_o("span","\u200b"):_o("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function jo(e){if(null!=Bo)return Bo;var t=Eo(e,document.createTextNode("A\u062eA")),n=To(t,0,1).getBoundingClientRect();if(!n||n.left==n.right)return!1;var i=To(t,1,2).getBoundingClientRect();return Bo=i.right-n.right<3}var Vo,Uo,Go=x.splitLines=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],i=e.length;t<=i;){var r=e.indexOf("\n",t);-1==r&&(r=e.length);var o=e.slice(t,"\r"==e.charAt(r-1)?r-1:r),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=r+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Yo=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(Vo){return!1}}:function(e){try{var t=e.ownerDocument.selection.createRange()}catch(Vo){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ko="oncopy"in(Vo=_o("div"))||(Vo.setAttribute("oncopy","return;"),"function"==typeof Vo.oncopy),Qo=null,Jo=x.keyNames={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"};function Zo(e){return e.level%2?e.to:e.from}function ea(e){return e.level%2?e.from:e.to}function ta(e){var t=kr(e);return t?Zo(t[0]):0}function na(e){var t=kr(e);return t?ea(go(t)):e.text.length}function ia(e,t){var n=wr(e.doc,t),i=Wi(n);i!=n&&(t=Sr(i));var r=kr(i),o=r?r[0].level%2?na(i):ta(i):0;return he(t,o)}function ra(e,t){var n=ia(e,t.line),i=wr(e.doc,n.line),r=kr(i);if(!r||0==r[0].level){var o=Math.max(0,i.text.search(/\S/));return he(n.line,t.line==n.line&&t.ch<=o&&t.ch?0:o)}return n}function oa(e,t,n){var i=e[0].level;return t==i||n!=i&&t<n}function aa(e,t){Uo=null;for(var n,i=0;i<e.length;++i){var r=e[i];if(r.from<t&&r.to>t)return i;if(r.from==t||r.to==t){if(null!=n)return oa(e,r.level,e[n].level)?(r.from!=r.to&&(Uo=n),i):(r.from!=r.to&&(Uo=i),n);n=i}}return n}function sa(e,t,n,i){if(!i)return t+n;do{t+=n}while(t>0&&$o(e.text.charAt(t)));return t}function la(e,t,n,i){var r=kr(e);if(!r)return ca(e,t,n,i);for(var o=aa(r,t),a=r[o],s=sa(e,t,a.level%2?-n:n,i);;){if(s>a.from&&s<a.to)return s;if(s==a.from||s==a.to)return aa(r,s)==o?s:n>0==(a=r[o+=n]).level%2?a.to:a.from;if(!(a=r[o+=n]))return null;s=n>0==a.level%2?sa(e,a.to,-1,i):sa(e,a.from,1,i)}}function ca(e,t,n,i){var r=t+n;if(i)for(;r>0&&$o(e.text.charAt(r));)r+=n;return r<0||r>e.text.length?null:r}!function(){for(var e=0;e<10;e++)Jo[e+48]=Jo[e+96]=String(e);for(e=65;e<=90;e++)Jo[e]=String.fromCharCode(e);for(e=1;e<=12;e++)Jo[e+111]=Jo[e+63235]="F"+e}();var ua=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,n=/[LRr]/,i=/[Lb1n]/,r=/[1n]/;function o(e,t,n){this.level=e,this.from=t,this.to=n}return function(a){if(!e.test(a))return!1;for(var s,l=a.length,c=[],u=0;u<l;++u)c.push(m=(s=a.charCodeAt(u))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(s):1424<=s&&s<=1524?"R":1536<=s&&s<=1773?"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm".charAt(s-1536):1774<=s&&s<=2220?"r":8192<=s&&s<=8203?"w":8204==s?"b":"L");u=0;for(var d="L";u<l;++u)"m"==(m=c[u])?c[u]=d:d=m;u=0;for(var p="L";u<l;++u)"1"==(m=c[u])&&"r"==p?c[u]="n":n.test(m)&&(p=m,"r"==m&&(c[u]="R"));for(u=1,d=c[0];u<l-1;++u)"+"==(m=c[u])&&"1"==d&&"1"==c[u+1]?c[u]="1":","!=m||d!=c[u+1]||"1"!=d&&"n"!=d||(c[u]=d),d=m;for(u=0;u<l;++u)if(","==(m=c[u]))c[u]="N";else if("%"==m){for(var h=u+1;h<l&&"%"==c[h];++h);for(var f=u&&"!"==c[u-1]||h<l&&"1"==c[h]?"1":"N",g=u;g<h;++g)c[g]=f;u=h-1}for(u=0,p="L";u<l;++u){var m=c[u];"L"==p&&"1"==m?c[u]="L":n.test(m)&&(p=m)}for(u=0;u<l;++u)if(t.test(c[u])){for(h=u+1;h<l&&t.test(c[h]);++h);for(f="L"==(u?c[u-1]:"L")||"L"==(h<l?c[h]:"L")?"L":"R",g=u;g<h;++g)c[g]=f;u=h-1}var v,b=[];for(u=0;u<l;)if(i.test(c[u])){var y=u;for(++u;u<l&&i.test(c[u]);++u);b.push(new o(0,y,u))}else{var M=u,w=b.length;for(++u;u<l&&"L"!=c[u];++u);for(g=M;g<u;)if(r.test(c[g])){M<g&&b.splice(w,0,new o(1,M,g));var C=g;for(++g;g<u&&r.test(c[g]);++g);b.splice(w,0,new o(2,C,g)),M=g}else++g;M<u&&b.splice(w,0,new o(1,M,u))}return 1==b[0].level&&(v=a.match(/^\s+/))&&(b[0].from=v[0].length,b.unshift(new o(0,0,v[0].length))),1==go(b).level&&(v=a.match(/\s+$/))&&(go(b).to-=v[0].length,b.push(new o(0,l-v[0].length,l))),2==b[0].level&&b.unshift(new o(1,b[0].to,b[0].to)),b[0].level!=go(b).level&&b.push(new o(b[0].level,l,l)),b}}();return x.version="5.13.5",x})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",(function(i,r){var o,a,s=i.indentUnit,l={},c=r.htmlMode?t:n;for(var u in c)l[u]=c[u];for(var u in r)l[u]=r[u];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var i=e.next();return"<"==i?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,i){for(var r;null!=(r=n.next());){if("<"==r)return i.tokenize=e(t+1),i.tokenize(n,i);if(">"==r){if(1==t){i.tokenize=d;break}return i.tokenize=e(t-1),i.tokenize(n,i)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=p,"tag bracket"):"&"==i?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function p(e,t){var n,i,r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=d,o=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return o="equals",null;if("<"==r){t.tokenize=d,t.state=v,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=(n=r,(i=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=p;break}return"string"}).isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,i){for(;!n.eol();){if(n.match(t)){i.tokenize=d;break}n.next()}return e}}function f(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function g(e){e.context&&(e.context=e.context.prev)}function m(e,t){for(var n;;){if(!e.context)return;if(!l.contextGrabbers.hasOwnProperty(n=e.context.tagName)||!l.contextGrabbers[n].hasOwnProperty(t))return;g(e)}}function v(e,t,n){return"openTag"==e?(n.tagStart=t.column(),b):"closeTag"==e?y:v}function b(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",C):(a="error",b)}function y(e,t,n){if("word"==e){var i=t.current();return n.context&&n.context.tagName!=i&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&g(n),n.context&&n.context.tagName==i||!1===l.matchClosing?(a="tag",M):(a="tag error",w)}return a="error",w}function M(e,t,n){return"endTag"!=e?(a="error",M):(g(n),v)}function w(e,t,n){return a="error",M(e,0,n)}function C(e,t,n){if("word"==e)return a="attribute",A;if("endTag"==e||"selfcloseTag"==e){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(i)?m(n,i):(m(n,i),n.context=new f(n,i,r==n.indented)),v}return a="error",C}function A(e,t,n){return"equals"==e?x:(l.allowMissing||(a="error"),C(e,0,n))}function x(e,t,n){return"string"==e?S:"word"==e&&l.allowUnquoted?(a="string",C):(a="error",C(e,0,n))}function S(e,t,n){return"string"==e?S:C(e,0,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:v,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,i){var r=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(r&&r.noIndent)return e.Pass;if(t.tokenize!=p&&t.tokenize!=d)return i?i.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var o=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(o&&o[1])for(;r;){if(r.tagName==o[2]){r=r.prev;break}if(!l.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(o)for(;r;){var a=l.contextGrabbers[r.tagName];if(!a||!a.hasOwnProperty(o[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==x&&(e.state=C)}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";function t(e,t,n){return/^(?:operator|sof|keyword c|case|new|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}e.defineMode("javascript",(function(n,i){var r,o,a=n.indentUnit,s=i.statementIndent,l=i.jsonld,c=i.json||l,u=i.typescript,d=i.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),i=e("keyword c"),r=e("operator"),o={type:"atom",style:"atom"},a={if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:e("new"),delete:i,throw:i,debugger:i,var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:r,typeof:r,instanceof:r,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:i,export:e("export"),import:e("import"),extends:i};if(u){var s={type:"variable",style:"variable-3"},l={interface:e("class"),implements:i,namespace:i,module:e("module"),enum:e("module"),public:e("modifier"),private:e("modifier"),protected:e("modifier"),abstract:e("modifier"),as:r,string:s,number:s,boolean:s,any:s};for(var c in l)a[c]=l[c]}return a}(),h=/[+\-*&%=<>!?|~^]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(e,t,n){return r=e,o=n,t}function m(e,n){var i,r=e.next();if('"'==r||"'"==r)return n.tokenize=(i=r,function(e,t){var n,r=!1;if(l&&"@"==e.peek()&&e.match(f))return t.tokenize=m,g("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=i||r);)r=!r&&"\\"==n;return r||(t.tokenize=m),g("string","string")}),n.tokenize(e,n);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return g("number","number");if("."==r&&e.match(".."))return g("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return g(r);if("="==r&&e.eat(">"))return g("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),g("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),g("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),g("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),g("number","number");if("/"==r)return e.eat("*")?(n.tokenize=v,v(e,n)):e.eat("/")?(e.skipToEnd(),g("comment","comment")):t(e,n,1)?(function(e){for(var t,n=!1,i=!1;null!=(t=e.next());){if(!n){if("/"==t&&!i)return;"["==t?i=!0:i&&"]"==t&&(i=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),g("regexp","string-2")):(e.eatWhile(h),g("operator","operator",e.current()));if("`"==r)return n.tokenize=b,b(e,n);if("#"==r)return e.skipToEnd(),g("error","error");if(h.test(r))return e.eatWhile(h),g("operator","operator",e.current());if(d.test(r)){e.eatWhile(d);var o=e.current(),a=p.propertyIsEnumerable(o)&&p[o];return a&&"."!=n.lastType?g(a.type,a.style,o):g("variable","variable",o)}}function v(e,t){for(var n,i=!1;n=e.next();){if("/"==n&&i){t.tokenize=m;break}i="*"==n}return g("comment","comment")}function b(e,t){for(var n,i=!1;null!=(n=e.next());){if(!i&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=m;break}i=!i&&"\\"==n}return g("quasi","string-2",e.current())}function y(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){for(var i=0,r=!1,o=n-1;o>=0;--o){var a=e.string.charAt(o),s="([{}])".indexOf(a);if(s>=0&&s<3){if(!i){++o;break}if(0==--i)break}else if(s>=3&&s<6)++i;else if(d.test(a))r=!0;else{if(/["'\/]/.test(a))return;if(r&&!i){++o;break}}}r&&!i&&(t.fatArrowAt=o)}}var M={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,i,r,o){this.indented=e,this.column=t,this.type=n,this.prev=r,this.info=o,null!=i&&(this.align=i)}function C(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var i=e.context;i;i=i.prev)for(n=i.vars;n;n=n.next)if(n.name==t)return!0}var A={state:null,column:null,marked:null,cc:null};function x(){for(var e=arguments.length-1;e>=0;e--)A.cc.push(arguments[e])}function S(){return x.apply(null,arguments),!0}function z(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var n=A.state;if(A.marked="def",n.context){if(t(n.localVars))return;n.localVars={name:e,next:n.localVars}}else{if(t(n.globalVars))return;i.globalVars&&(n.globalVars={name:e,next:n.globalVars})}}var T={name:"this",next:{name:"arguments"}};function k(){A.state.context={prev:A.state.context,vars:A.state.localVars},A.state.localVars=T}function $(){A.state.localVars=A.state.context.vars,A.state.context=A.state.context.prev}function _(e,t){var n=function(){var n=A.state,i=n.indented;if("stat"==n.lexical.type)i=n.lexical.indented;else for(var r=n.lexical;r&&")"==r.type&&r.align;r=r.prev)i=r.indented;n.lexical=new w(i,A.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function O(){var e=A.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function E(e){return function t(n){return n==e?S():";"==e?x():S(t)}}function L(e,t){return"var"==e?S(_("vardef",t.length),re,E(";"),O):"keyword a"==e?S(_("form"),N,L,O):"keyword b"==e?S(_("form"),L,O):"{"==e?S(_("}"),ee,O):";"==e?S():"if"==e?("else"==A.state.lexical.info&&A.state.cc[A.state.cc.length-1]==O&&A.state.cc.pop()(),S(_("form"),N,L,O,ce)):"function"==e?S(ge):"for"==e?S(_("form"),ue,L,O):"variable"==e?S(_("stat"),U):"switch"==e?S(_("form"),N,_("}","switch"),E("{"),ee,O,O):"case"==e?S(N,E(":")):"default"==e?S(E(":")):"catch"==e?S(_("form"),k,E("("),me,E(")"),L,O,$):"class"==e?S(_("form"),ve,O):"export"==e?S(_("stat"),we,O):"import"==e?S(_("stat"),Ce,O):"module"==e?S(_("form"),oe,_("}"),E("{"),ee,O,O):x(_("stat"),N,E(";"),O)}function N(e){return P(e,!1)}function D(e){return P(e,!0)}function P(e,t){if(A.state.fatArrowAt==A.stream.start){var n=t?X:H;if("("==e)return S(k,_(")"),J(oe,")"),O,E("=>"),n,$);if("variable"==e)return x(k,oe,E("=>"),n,$)}var i=t?I:R;return M.hasOwnProperty(e)?S(i):"function"==e?S(ge,i):"keyword c"==e?S(t?W:q):"("==e?S(_(")"),q,ke,E(")"),O,i):"operator"==e||"spread"==e?S(t?D:N):"["==e?S(_("]"),ze,O,i):"{"==e?Z(Y,"}",null,i):"quasi"==e?x(B,i):"new"==e?S(function(e){return function(t){return"."==t?S(e?V:j):x(e?D:N)}}(t)):S()}function q(e){return e.match(/[;\}\)\],]/)?x():x(N)}function W(e){return e.match(/[;\}\)\],]/)?x():x(D)}function R(e,t){return","==e?S(N):I(e,t,!1)}function I(e,t,n){var i=0==n?R:I,r=0==n?N:D;return"=>"==e?S(k,n?X:H,$):"operator"==e?/\+\+|--/.test(t)?S(i):"?"==t?S(N,E(":"),r):S(r):"quasi"==e?x(B,i):";"!=e?"("==e?Z(D,")","call",i):"."==e?S(G,i):"["==e?S(_("]"),q,E("]"),O,i):void 0:void 0}function B(e,t){return"quasi"!=e?x():"${"!=t.slice(t.length-2)?S(B):S(N,F)}function F(e){if("}"==e)return A.marked="string-2",A.state.tokenize=b,S(B)}function H(e){return y(A.stream,A.state),x("{"==e?L:N)}function X(e){return y(A.stream,A.state),x("{"==e?L:D)}function j(e,t){if("target"==t)return A.marked="keyword",S(R)}function V(e,t){if("target"==t)return A.marked="keyword",S(I)}function U(e){return":"==e?S(O,L):x(R,E(";"),O)}function G(e){if("variable"==e)return A.marked="property",S()}function Y(e,t){return"variable"==e||"keyword"==A.style?(A.marked="property",S("get"==t||"set"==t?K:Q)):"number"==e||"string"==e?(A.marked=l?"property":A.style+" property",S(Q)):"jsonld-keyword"==e?S(Q):"modifier"==e?S(Y):"["==e?S(N,E("]"),Q):"spread"==e?S(N):void 0}function K(e){return"variable"!=e?x(Q):(A.marked="property",S(ge))}function Q(e){return":"==e?S(D):"("==e?x(ge):void 0}function J(e,t){function n(i){if(","==i){var r=A.state.lexical;return"call"==r.info&&(r.pos=(r.pos||0)+1),S(e,n)}return i==t?S():S(E(t))}return function(i){return i==t?S():x(e,n)}}function Z(e,t,n){for(var i=3;i<arguments.length;i++)A.cc.push(arguments[i]);return S(_(t,n),J(e,t),O)}function ee(e){return"}"==e?S():x(L,ee)}function te(e){if(u&&":"==e)return S(ie)}function ne(e,t){if("="==t)return S(D)}function ie(e){if("variable"==e)return A.marked="variable-3",S()}function re(){return x(oe,te,se,le)}function oe(e,t){return"modifier"==e?S(oe):"variable"==e?(z(t),S()):"spread"==e?S(oe):"["==e?Z(oe,"]"):"{"==e?Z(ae,"}"):void 0}function ae(e,t){return"variable"!=e||A.stream.match(/^\s*:/,!1)?("variable"==e&&(A.marked="property"),"spread"==e?S(oe):"}"==e?x():S(E(":"),oe,se)):(z(t),S(se))}function se(e,t){if("="==t)return S(D)}function le(e){if(","==e)return S(re)}function ce(e,t){if("keyword b"==e&&"else"==t)return S(_("form","else"),L,O)}function ue(e){if("("==e)return S(_(")"),de,E(")"),O)}function de(e){return"var"==e?S(re,E(";"),he):";"==e?S(he):"variable"==e?S(pe):x(N,E(";"),he)}function pe(e,t){return"in"==t||"of"==t?(A.marked="keyword",S(N)):S(R,he)}function he(e,t){return";"==e?S(fe):"in"==t||"of"==t?(A.marked="keyword",S(N)):x(N,E(";"),fe)}function fe(e){")"!=e&&S(N)}function ge(e,t){return"*"==t?(A.marked="keyword",S(ge)):"variable"==e?(z(t),S(ge)):"("==e?S(k,_(")"),J(me,")"),O,L,$):void 0}function me(e){return"spread"==e?S(me):x(oe,te,ne)}function ve(e,t){if("variable"==e)return z(t),S(be)}function be(e,t){return"extends"==t?S(N,be):"{"==e?S(_("}"),ye,O):void 0}function ye(e,t){return"variable"==e||"keyword"==A.style?"static"==t?(A.marked="keyword",S(ye)):(A.marked="property","get"==t||"set"==t?S(Me,ge,ye):S(ge,ye)):"*"==t?(A.marked="keyword",S(ye)):";"==e?S(ye):"}"==e?S():void 0}function Me(e){return"variable"!=e?x():(A.marked="property",S())}function we(e,t){return"*"==t?(A.marked="keyword",S(Se,E(";"))):"default"==t?(A.marked="keyword",S(N,E(";"))):x(L)}function Ce(e){return"string"==e?S():x(Ae,Se)}function Ae(e,t){return"{"==e?Z(Ae,"}"):("variable"==e&&z(t),"*"==t&&(A.marked="keyword"),S(xe))}function xe(e,t){if("as"==t)return A.marked="keyword",S(Ae)}function Se(e,t){if("from"==t)return A.marked="keyword",S(N)}function ze(e){return"]"==e?S():x(D,Te)}function Te(e){return"for"==e?x(ke,E("]")):","==e?S(J(W,"]")):x(J(D,"]"))}function ke(e){return"for"==e?S(ue,ke):"if"==e?S(N,ke):void 0}return O.lex=!0,{startState:function(e){var t={tokenize:m,lastType:"sof",cc:[],lexical:new w((e||0)-a,0,"block",!1),localVars:i.localVars,context:i.localVars&&{vars:i.localVars},indented:e||0};return i.globalVars&&"object"==typeof i.globalVars&&(t.globalVars=i.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),y(e,t)),t.tokenize!=v&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function(e,t,n,i,r){var o=e.cc;for(A.state=e,A.stream=r,A.marked=null,A.cc=o,A.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():c?N:L)(n,i)){for(;o.length&&o[o.length-1].lex;)o.pop()();return A.marked?A.marked:"variable"==n&&C(e,i)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,n){if(t.tokenize==v)return e.Pass;if(t.tokenize!=m)return 0;var r=n&&n.charAt(0),o=t.lexical;if(!/^\s*else\b/.test(n))for(var l=t.cc.length-1;l>=0;--l){var c=t.cc[l];if(c==O)o=o.prev;else if(c!=ce)break}"stat"==o.type&&"}"==r&&(o=o.prev),s&&")"==o.type&&"stat"==o.prev.type&&(o=o.prev);var u=o.type,d=r==u;return"vardef"==u?o.indented+("operator"==t.lastType||","==t.lastType?o.info+1:0):"form"==u&&"{"==r?o.indented:"form"==u?o.indented+a:"stat"==u?o.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||h.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?s||a:0):"switch"!=o.info||d||0==i.doubleIndentSwitch?o.align?o.column+(d?0:1):o.indented+(d?0:a):o.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:l,jsonMode:c,expressionAllowed:t,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=N&&t!=D||e.cc.pop()}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";function t(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}e.defineMode("css",(function(t,n){var i=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var r,o,a=t.indentUnit,s=n.tokenHooks,l=n.documentTypes||{},c=n.mediaTypes||{},u=n.mediaFeatures||{},d=n.mediaValueKeywords||{},p=n.propertyKeywords||{},h=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},g=n.counterDescriptors||{},m=n.colorKeywords||{},v=n.valueKeywords||{},b=n.allowNested,y=!0===n.supportsAtComponent;function M(e,t){return r=t,e}function w(e,t){var n=e.next();if(s[n]){var i=s[n](e,t);if(!1!==i)return i}return"@"==n?(e.eatWhile(/[\w\\\-]/),M("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?M(null,"compare"):'"'==n||"'"==n?(t.tokenize=C(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),M("atom","hash")):"!"==n?(e.match(/^\s*\w*/),M("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),M("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?M(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?M("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?M(null,n):"u"==n&&e.match(/rl(-prefix)?\(/)||"d"==n&&e.match("omain(")||"r"==n&&e.match("egexp(")?(e.backUp(1),t.tokenize=A,M("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),M("property","word")):M(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),M("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?M("variable-2","variable-definition"):M("variable-2","variable")):e.match(/^\w+-/)?M("meta","meta"):void 0}function C(e){return function(t,n){for(var i,r=!1;null!=(i=t.next());){if(i==e&&!r){")"==e&&t.backUp(1);break}r=!r&&"\\"==i}return(i==e||!r&&")"!=e)&&(n.tokenize=null),M("string","string")}}function A(e,t){return e.next(),t.tokenize=e.match(/\s*[\"\')]/,!1)?null:C(")"),M(null,"(")}function x(e,t,n){this.type=e,this.indent=t,this.prev=n}function S(e,t,n,i){return e.context=new x(n,t.indentation()+(!1===i?0:a),e.context),n}function z(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function T(e,t,n){return _[n.context.type](e,t,n)}function k(e,t,n,i){for(var r=i||1;r>0;r--)n.context=n.context.prev;return T(e,t,n)}function $(e){var t=e.current().toLowerCase();o=v.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var _={top:function(e,t,n){if("{"==e)return S(n,t,"block");if("}"==e&&n.context.prev)return z(n);if(y&&/@component/.test(e))return S(n,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return S(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return S(n,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return S(n,t,"at");if("hash"==e)o="builtin";else if("word"==e)o="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return S(n,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return S(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var i=t.current().toLowerCase();return p.hasOwnProperty(i)?(o="property","maybeprop"):h.hasOwnProperty(i)?(o="string-2","maybeprop"):b?(o=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(o+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?_.top(e,t,n):(o="error","block")},maybeprop:function(e,t,n){return":"==e?S(n,t,"prop"):T(e,t,n)},prop:function(e,t,n){if(";"==e)return z(n);if("{"==e&&b)return S(n,t,"propBlock");if("}"==e||"{"==e)return k(e,t,n);if("("==e)return S(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)$(t);else if("interpolation"==e)return S(n,t,"interpolation")}else o+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?z(n):"word"==e?(o="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?k(e,t,n):")"==e?z(n):"("==e?S(n,t,"parens"):"interpolation"==e?S(n,t,"interpolation"):("word"==e&&$(t),"parens")},pseudo:function(e,t,n){return"word"==e?(o="variable-3",n.context.type):T(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(o="tag",n.context.type):_.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return S(n,t,"atBlock_parens");if("}"==e||";"==e)return k(e,t,n);if("{"==e)return z(n)&&S(n,t,b?"block":"top");if("interpolation"==e)return S(n,t,"interpolation");if("word"==e){var i=t.current().toLowerCase();o="only"==i||"not"==i||"and"==i||"or"==i?"keyword":c.hasOwnProperty(i)?"attribute":u.hasOwnProperty(i)?"property":d.hasOwnProperty(i)?"keyword":p.hasOwnProperty(i)?"property":h.hasOwnProperty(i)?"string-2":v.hasOwnProperty(i)?"atom":m.hasOwnProperty(i)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?k(e,t,n):"{"==e?z(n)&&S(n,t,b?"block":"top",!1):("word"==e&&(o="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?z(n):"{"==e||"}"==e?k(e,t,n,2):_.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?S(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(o="variable","restricted_atBlock_before"):T(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,z(n)):"word"==e?(o="@font-face"==n.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(o="variable","keyframes"):"{"==e?S(n,t,"top"):T(e,t,n)},at:function(e,t,n){return";"==e?z(n):"{"==e||"}"==e?k(e,t,n):("word"==e?o="tag":"hash"==e&&(o="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?z(n):"{"==e||";"==e?k(e,t,n):("word"==e?o="variable":"variable"!=e&&"("!=e&&")"!=e&&(o="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:i?"block":"top",stateArg:null,context:new x(i?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||w)(e,t);return n&&"object"==typeof n&&(r=n[1],n=n[0]),o=n,t.state=_[t.state](r,e,t),o},indent:function(e,t){var n=e.context,i=t&&t.charAt(0),r=n.indent;return"prop"!=n.type||"}"!=i&&")"!=i||(n=n.prev),n.prev&&("}"!=i||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=i||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=i||"at"!=n.type&&"atBlock"!=n.type)||(r=Math.max(0,n.indent-a),n=n.prev):r=(n=n.prev).indent),r},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace"}}));var n=["domain","regexp","url","url-prefix"],i=t(n),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=t(r),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(a),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],c=t(l),u=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=t(u),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=t(p),f=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],v=t(m),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=t(b),M=n.concat(r).concat(a).concat(l).concat(u).concat(p).concat(m).concat(b);function w(e,t){for(var n,i=!1;null!=(n=e.next());){if(i&&"/"==n){t.tokenize=null;break}i="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",M),e.defineMIME("text/css",{documentTypes:i,mediaTypes:o,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:f,counterDescriptors:g,colorKeywords:v,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:v,valueKeywords:y,fontProperties:f,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/)&&[null,"{"]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:s,mediaValueKeywords:c,propertyKeywords:d,nonStandardPropertyKeywords:h,colorKeywords:v,valueKeywords:y,fontProperties:f,allowNested:!0,tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:i,mediaTypes:o,mediaFeatures:s,propertyKeywords:d,nonStandardPropertyKeywords:h,fontProperties:f,counterDescriptors:g,colorKeywords:v,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css",helperType:"gss"})})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],e):e(CodeMirror)}((function(e){"use strict";var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},n={};function i(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function r(e,t){for(var n in e)for(var i=t[n]||(t[n]=[]),r=e[n],o=r.length-1;o>=0;o--)i.unshift(r[o])}e.defineMode("htmlmixed",(function(o,a){var s=e.getMode(o,{name:"xml",htmlMode:!0,multilineTagIndentFactor:a.multilineTagIndentFactor,multilineTagIndentPastTag:a.multilineTagIndentPastTag}),l={},c=a&&a.tags,u=a&&a.scriptTypes;if(r(t,l),c&&r(c,l),u)for(var d=u.length-1;d>=0;d--)l.script.unshift(["type",u[d].matches,u[d].mode]);function p(t,r){var a,c=s.token(t,r.htmlState),u=/\btag\b/.test(c);if(u&&!/[<>\s\/]/.test(t.current())&&(a=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&l.hasOwnProperty(a))r.inTag=a+" ";else if(r.inTag&&u&&/>$/.test(t.current())){var d=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var h=">"==t.current()&&function(e,t){for(var i=0;i<e.length;i++){var r=e[i];if(!r[0]||r[1].test((void 0,(o=t.match(function(e){return n[e]||(n[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(r[0])))?o[2]:"")))return r[2]}var o}(l[d[1]],d[2]),f=e.getMode(o,h),g=i(d[1],!0),m=i(d[1],!1);r.token=function(e,t){return e.match(g,!1)?(t.token=p,t.localState=t.localMode=null,null):function(e,t,n){var i=e.current(),r=i.search(t);return r>-1?e.backUp(i.length-r):i.match(/<\/?$/)&&(e.backUp(i.length),e.match(t,!1)||e.match(i)),n}(e,m,t.localMode.token(e,t.localState))},r.localMode=f,r.localState=e.startState(f,s.indent(r.htmlState,""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return c}return{startState:function(){return{token:p,inTag:null,localMode:null,localState:null,htmlState:s.startState()}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(s,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n){return!t.localMode||/^\s*<\//.test(n)?s.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||s}}}}),"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})),function(e){"use strict";"object"==typeof exports&&"object"==typeof module?e(require("codemirror")):"function"==typeof define&&define.amd?define(["codemirror"],e):e(window.CodeMirror)}((function(e){"use strict";e.defineMode("powershell",(function(){function e(e,t){for(var n=void 0!==(t=t||{}).prefix?t.prefix:"^",i=void 0!==t.suffix?t.suffix:"\\b",r=0;r<e.length;r++)e[r]=e[r]instanceof RegExp?e[r].source:e[r].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp(n+"("+e.join("|")+")"+i,"i")}var t=/[\w\-:]/,n=e([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:"(?=[^A-Za-z\\d\\-_]|$)"}),i=e(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),r=e([i,/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),o=e([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),a=e([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),s={keyword:n,number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:r,builtin:e([/[A-Z]:|%|\?/i,o,a],{suffix:"(?=[^A-Za-z\\d\\-_]|$)"}),punctuation:/[\[\]{},;`\.]|@[({]/,identifier:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};function l(e,n){var i=n.returnStack[n.returnStack.length-1];if(i&&i.shouldReturnFrom(n))return n.tokenize=i.tokenize,n.returnStack.pop(),n.tokenize(e,n);if(e.eatSpace())return null;if(e.eat("("))return n.bracketNesting+=1,"punctuation";if(e.eat(")"))return n.bracketNesting-=1,"punctuation";for(var r in s)if(e.match(s[r]))return r;var o=e.next();if("'"===o)return function(e,t){for(var n;null!=(n=e.peek());)if(e.next(),"'"===n&&!e.eat("'"))return t.tokenize=l,"string";return"error"}(e,n);if("$"===o)return g(e,n);if('"'===o)return c(e,n);if("<"===o&&e.eat("#"))return n.tokenize=f,f(e,n);if("#"===o)return e.skipToEnd(),"comment";if("@"===o){var a=e.eat(/["']/);if(a&&e.eol())return n.tokenize=v,n.startQuote=a[0],v(e,n);if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(t))return g(e,n)}return"error"}function c(e,t){for(var n;null!=(n=e.peek());){if("$"===n)return t.tokenize=u,"string";if(e.next(),"`"!==n){if('"'===n&&!e.eat('"'))return t.tokenize=l,"string"}else e.next()}return"error"}function u(e,t){return h(e,t,c)}function d(e,t){return t.tokenize=v,t.startQuote='"',v(e,t)}function p(e,t){return h(e,t,d)}function h(e,t,n){if(e.match("$(")){var i=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===i},tokenize:n}),t.tokenize=l,t.bracketNesting+=1,"punctuation"}return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),t.tokenize=g,t.tokenize(e,t)}function f(e,t){for(var n,i=!1;null!=(n=e.next());){if(i&&">"==n){t.tokenize=l;break}i="#"===n}return"comment"}function g(e,n){var i=e.peek();return e.eat("{")?(n.tokenize=m,m(e,n)):null!=i&&i.match(t)?(e.eatWhile(t),n.tokenize=l,"variable-2"):(n.tokenize=l,"error")}function m(e,t){for(var n;null!=(n=e.next());)if("}"===n){t.tokenize=l;break}return"variable-2"}function v(e,t){var n=t.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))t.tokenize=l;else if('"'===n)for(;!e.eol();){var i=e.peek();if("$"===i)return t.tokenize=p,"string";e.next(),"`"===i&&e.next()}else e.skipToEnd();return"string"}return{startState:function(){return{returnStack:[],bracketNesting:0,tokenize:l}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"}})),e.defineMIME("application/x-powershell","powershell")})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";e.defineMode("shell",(function(){var e={};function t(t,n){for(var i=n.split(" "),r=0;r<i.length;r++)e[i[r]]=t}function n(t,n){if(t.eatSpace())return null;var a=t.sol(),s=t.next();if("\\"===s)return t.next(),null;if("'"===s||'"'===s||"`"===s)return n.tokens.unshift(i(s)),o(t,n);if("#"===s)return a&&t.eat("!")?(t.skipToEnd(),"meta"):(t.skipToEnd(),"comment");if("$"===s)return n.tokens.unshift(r),o(t,n);if("+"===s||"="===s)return"operator";if("-"===s)return t.eat("-"),t.eatWhile(/\w/),"attribute";if(/\d/.test(s)&&(t.eatWhile(/\d/),t.eol()||!/\w/.test(t.peek())))return"number";t.eatWhile(/[\w-]/);var l=t.current();return"="===t.peek()&&/\w+/.test(l)?"def":e.hasOwnProperty(l)?e[l]:null}function i(e){return function(t,n){for(var i,o=!1,a=!1;null!=(i=t.next());){if(i===e&&!a){o=!0;break}if("$"===i&&!a&&"'"!==e){a=!0,t.backUp(1),n.tokens.unshift(r);break}a=!a&&"\\"===i}return!o&&a||n.tokens.shift(),"`"===e||")"===e?"quote":"string"}}t("atom","true false"),t("keyword","if then do else elif while until for in esac fi fin fil done exit set unset export function"),t("builtin","ab awk bash beep cat cc cd chown chmod chroot clear cp curl cut diff echo find gawk gcc get git grep kill killall ln ls make mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh shopt shred source sort sleep ssh start stop su sudo tee telnet top touch vi vim wall wc wget who write yes zsh");var r=function(e,t){t.tokens.length>1&&e.eat("$");var n=e.next(),r=/\w/;return"{"===n&&(r=/[^}]/),"("===n?(t.tokens[0]=i(")"),o(e,t)):(/\d/.test(n)||(e.eatWhile(r),e.eat("}")),t.tokens.shift(),"def")};function o(e,t){return(t.tokens[0]||n)(e,t)}return{startState:function(){return{tokens:[]}},token:function(e,t){return o(e,t)},lineComment:"#",fold:"brace"}})),e.defineMIME("text/x-sh","shell")})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";e.defineMode("vbscript",(function(e,t){function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),r=new RegExp("^((<>)|(<=)|(>=))"),o=new RegExp("^[\\.,]"),a=new RegExp("^[\\(\\)]"),s=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),l=n(["and","or","not","xor","is","mod","eqv","imp"]),c=["WScript","err","debug","RegExp"],u=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]);c=c.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]),e.isASP&&(c=c.concat(["server","response","request","session","application"]),u=u.concat(["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"]));var d=n(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),p=n(["true","false","nothing","empty","null"]),h=n(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),f=n(c),g=n(u),m=n(["class","sub","select","while","if","function","property","with","for"]),v=n(["else","elseif","case"]),b=n(["next","loop","wend"]),y=n(["end"]),M=n(["do"]),w=n(["on error resume next","exit"]),C=n(["rem"]);function A(e,t){t.currentIndent++}function x(e,t){t.currentIndent--}function S(e,n){if(e.eatSpace())return"space";var c,u;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(C))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var z=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(z=!0),z)return e.eat(/J/i),"number";var T=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?T=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),T=!0):e.match(/^0(?![\dx])/i)&&(T=!0),T)return e.eat(/L/i),"number"}return e.match('"')?(n.tokenize=(c=e.current(),u=1==c.length,function(e,n){for(;!e.eol();){if(e.eatWhile(/[^'"]/),e.match(c))return n.tokenize=S,"string";e.eat(/['"]/)}if(u){if(t.singleLineStringErrors)return"error";n.tokenize=S}return"string"}),n.tokenize(e,n)):e.match(r)||e.match(i)||e.match(l)?"operator":e.match(o)?null:e.match(a)?"bracket":e.match(w)?(n.doInCurrentLine=!0,"keyword"):e.match(M)?(A(0,n),n.doInCurrentLine=!0,"keyword"):e.match(m)?(n.doInCurrentLine?n.doInCurrentLine=!1:A(0,n),"keyword"):e.match(v)?"keyword":e.match(y)?(x(0,n),x(0,n),"keyword"):e.match(b)?(n.doInCurrentLine?n.doInCurrentLine=!1:x(0,n),"keyword"):e.match(d)?"keyword":e.match(p)?"atom":e.match(g)?"variable-2":e.match(h)?"builtin":e.match(f)?"variable-2":e.match(s)?"variable":(e.next(),"error")}return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:S,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var n=function(e,t){var n=t.tokenize(e,t),i=e.current();return"."===i?(n=t.tokenize(e,t),i=e.current(),!n||"variable"!==n.substr(0,8)&&"builtin"!==n&&"keyword"!==n?"error":("builtin"!==n&&"keyword"!==n||(n="variable"),u.indexOf(i.substr(1))>-1&&(n="variable-2"),n)):n}(e,t);return t.lastToken={style:n,content:e.current()},"space"===n&&(n=null),n},indent:function(t,n){var i=n.replace(/^\s+|\s+$/g,"");return i.match(b)||i.match(y)||i.match(v)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit}}})),e.defineMIME("text/vbscript","vbscript")})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,i={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};function r(e,t,r,a){var s=e.getLineHandle(t.line),l=t.ch-1,c=l>=0&&i[s.text.charAt(l)]||i[s.text.charAt(++l)];if(!c)return null;var u=">"==c.charAt(1)?1:-1;if(r&&u>0!=(l==t.ch))return null;var d=e.getTokenTypeAt(n(t.line,l+1)),p=o(e,n(t.line,l+(u>0?1:0)),u,d||null,a);return null==p?null:{from:n(t.line,l),to:p&&p.pos,match:p&&p.ch==c.charAt(0),forward:u>0}}function o(e,t,r,o,a){for(var s=a&&a.maxScanLineLength||1e4,l=a&&a.maxScanLines||1e3,c=[],u=a&&a.bracketRegex?a.bracketRegex:/[(){}[\]]/,d=r>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),p=t.line;p!=d;p+=r){var h=e.getLine(p);if(h){var f=r>0?0:h.length-1,g=r>0?h.length:-1;if(!(h.length>s))for(p==t.line&&(f=t.ch-(r<0?1:0));f!=g;f+=r){var m=h.charAt(f);if(u.test(m)&&(void 0===o||e.getTokenTypeAt(n(p,f+1))==o))if(">"==i[m].charAt(1)==r>0)c.push(m);else{if(!c.length)return{pos:n(p,f),ch:m};c.pop()}}}}return p-r!=(r>0?e.lastLine():e.firstLine())&&null}function a(e,i,o){for(var a=e.state.matchBrackets.maxHighlightLineLength||1e3,s=[],l=e.listSelections(),c=0;c<l.length;c++){var u=l[c].empty()&&r(e,l[c].head,!1,o);if(u&&e.getLine(u.from.line).length<=a){var d=u.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";s.push(e.markText(u.from,n(u.from.line,u.from.ch+1),{className:d})),u.to&&e.getLine(u.to.line).length<=a&&s.push(e.markText(u.to,n(u.to.line,u.to.ch+1),{className:d}))}}if(s.length){t&&e.state.focused&&e.focus();var p=function(){e.operation((function(){for(var e=0;e<s.length;e++)s[e].clear()}))};if(!i)return p;setTimeout(p,800)}}var s=null;function l(e){e.operation((function(){s&&(s(),s=null),s=a(e,!1,e.state.matchBrackets)}))}e.defineOption("matchBrackets",!1,(function(t,n,i){i&&i!=e.Init&&t.off("cursorActivity",l),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",l))})),e.defineExtension("matchBrackets",(function(){a(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,n){return r(this,e,t,n)})),e.defineExtension("scanForBracket",(function(e,t,n,i){return o(this,e,t,n,i)}))})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";var t={},n=/[^\s\u00a0]/,i=e.Pos;function r(e){var t=e.search(n);return-1==t?0:t}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",(function(e){e||(e=t);for(var n=1/0,r=this.listSelections(),o=null,a=r.length-1;a>=0;a--){var s=r[a].from(),l=r[a].to();s.line>=n||(l.line>=n&&(l=i(n,0)),n=s.line,null==o?this.uncomment(s,l,e)?o="un":(this.lineComment(s,l,e),o="line"):"un"==o?this.uncomment(s,l,e):this.lineComment(s,l,e))}})),e.defineExtension("lineComment",(function(e,o,a){a||(a=t);var s=this,l=s.getModeAt(e),c=s.getLine(e.line);if(null!=c&&(u=c,!/\bstring\b/.test(s.getTokenTypeAt(i(e.line,0)))||/^[\'\"`]/.test(u))){var u,d=a.lineComment||l.lineComment;if(d){var p=Math.min(0!=o.ch||o.line==e.line?o.line+1:o.line,s.lastLine()+1),h=null==a.padding?" ":a.padding,f=a.commentBlankLines||e.line==o.line;s.operation((function(){if(a.indent){for(var t=null,o=e.line;o<p;++o){var l=(c=s.getLine(o)).slice(0,r(c));(null==t||t.length>l.length)&&(t=l)}for(o=e.line;o<p;++o){var c=s.getLine(o),u=t.length;(f||n.test(c))&&(c.slice(0,u)!=t&&(u=r(c)),s.replaceRange(t+d+h,i(o,0),i(o,u)))}}else for(o=e.line;o<p;++o)(f||n.test(s.getLine(o)))&&s.replaceRange(d+h,i(o,0))}))}else(a.blockCommentStart||l.blockCommentStart)&&(a.fullLines=!0,s.blockComment(e,o,a))}})),e.defineExtension("blockComment",(function(e,r,o){o||(o=t);var a=this,s=a.getModeAt(e),l=o.blockCommentStart||s.blockCommentStart,c=o.blockCommentEnd||s.blockCommentEnd;if(l&&c){var u=Math.min(r.line,a.lastLine());u!=e.line&&0==r.ch&&n.test(a.getLine(u))&&--u;var d=null==o.padding?" ":o.padding;e.line>u||a.operation((function(){if(0!=o.fullLines){var t=n.test(a.getLine(u));a.replaceRange(d+c,i(u)),a.replaceRange(l+d,i(e.line,0));var p=o.blockCommentLead||s.blockCommentLead;if(null!=p)for(var h=e.line+1;h<=u;++h)(h!=u||t)&&a.replaceRange(p+d,i(h,0))}else a.replaceRange(c,r),a.replaceRange(l,e)}))}else(o.lineComment||s.lineComment)&&0!=o.fullLines&&a.lineComment(e,r,o)})),e.defineExtension("uncomment",(function(e,r,o){o||(o=t);var a,s=this,l=s.getModeAt(e),c=Math.min(0!=r.ch||r.line==e.line?r.line:r.line-1,s.lastLine()),u=Math.min(e.line,c),d=o.lineComment||l.lineComment,p=[],h=null==o.padding?" ":o.padding;e:if(d){for(var f=u;f<=c;++f){var g=s.getLine(f),m=g.indexOf(d);if(m>-1&&!/comment/.test(s.getTokenTypeAt(i(f,m+1)))&&(m=-1),-1==m&&(f!=c||f==u)&&n.test(g))break e;if(m>-1&&n.test(g.slice(0,m)))break e;p.push(g)}if(s.operation((function(){for(var e=u;e<=c;++e){var t=p[e-u],n=t.indexOf(d),r=n+d.length;n<0||(t.slice(r,r+h.length)==h&&(r+=h.length),a=!0,s.replaceRange("",i(e,n),i(e,r)))}})),a)return!0}var v=o.blockCommentStart||l.blockCommentStart,b=o.blockCommentEnd||l.blockCommentEnd;if(!v||!b)return!1;var y=o.blockCommentLead||l.blockCommentLead,M=s.getLine(u),w=c==u?M:s.getLine(c),C=M.indexOf(v),A=w.lastIndexOf(b);if(-1==A&&u!=c&&(w=s.getLine(--c),A=w.lastIndexOf(b)),-1==C||-1==A||!/comment/.test(s.getTokenTypeAt(i(u,C+1)))||!/comment/.test(s.getTokenTypeAt(i(c,A+1))))return!1;var x=M.lastIndexOf(v,e.ch),S=-1==x?-1:M.slice(0,e.ch).indexOf(b,x+v.length);if(-1!=x&&-1!=S&&S+b.length!=e.ch)return!1;S=w.indexOf(b,r.ch);var z=w.slice(r.ch).lastIndexOf(v,S-r.ch);return x=-1==S||-1==z?-1:r.ch+z,(-1==S||-1==x||x==r.ch)&&(s.operation((function(){s.replaceRange("",i(c,A-(h&&w.slice(A-h.length,A)==h?h.length:0)),i(c,A+b.length));var e=C+v.length;if(h&&M.slice(e,e+h.length)==h&&(e+=h.length),s.replaceRange("",i(u,C),i(u,e)),y)for(var t=u+1;t<=c;++t){var r=s.getLine(t),o=r.indexOf(y);if(-1!=o&&!n.test(r.slice(0,o))){var a=o+y.length;h&&r.slice(a,a+h.length)==h&&(a+=h.length),s.replaceRange("",i(t,o),i(t,a))}}})),!0)}))})),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}((function(e){"use strict";e.defineOption("fullScreen",!1,(function(t,n,i){i==e.Init&&(i=!1),!i!=!n&&(n?function(e){var t=e.getWrapperElement();e.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:t.style.width,height:t.style.height},t.style.width="",t.style.height="auto",t.className+=" CodeMirror-fullscreen",document.documentElement.style.overflow="hidden",e.refresh()}(t):function(e){var t=e.getWrapperElement();t.className=t.className.replace(/\s*CodeMirror-fullscreen\b/,""),document.documentElement.style.overflow="";var n=e.state.fullScreenRestore;t.style.width=n.width,t.style.height=n.height,window.scrollTo(n.scrollLeft,n.scrollTop),e.refresh()}(t))}))})),(function(){var e,t,n,i,r,o,a,s,l=[].slice,c={}.hasOwnProperty;a=function(){},t=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,i,r;if(n=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},t=this._callbacks[n])for(i=0,r=t.length;r>i;i++)t[i].apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,i,r,o;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(!(n=this._callbacks[e]))return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=r=0,o=n.length;o>r;i=++r)if(n[i]===t){n.splice(i,1);break}return this},e}(),(e=function(e){function n(e,t){var r,o,a;if(this.element=e,this.version=n.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(n.instances.push(this),this.element.dropzone=this,r=null!=(a=n.optionsForElement(this.element))?a:{},this.options=i({},this.defaultOptions,r,null!=t?t:{}),this.options.forceFallback||!n.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==this.options.previewsContainer&&(this.previewsContainer=this.options.previewsContainer?n.getElement(this.options.previewsContainer,"previewsContainer"):this.element),this.options.clickable&&(this.clickableElements=!0===this.options.clickable?[this.element]:n.getElements(this.options.clickable,"clickable")),this.init()}var i,r;return function(e,t){function n(){this.constructor=e}for(var i in t)c.call(t,i)&&(e[i]=t[i]);n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(n,e),n.prototype.Emitter=t,n.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],n.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,filesizeBase:1e3,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,capture:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return a},forceFallback:!1,fallback:function(){var e,t,i,r,o,a;for(this.element.className=this.element.className+" dz-browser-not-supported",r=0,o=(a=this.element.getElementsByTagName("div")).length;o>r;r++)/(^| )dz-message($| )/.test((e=a[r]).className)&&(t=e,e.className="dz-message");return t||(t=n.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t)),(i=t.getElementsByTagName("span")[0])&&(i.textContent=this.options.dictFallbackMessage),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;return n=e.width/e.height,(t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height}).optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),i=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.optWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):n>i?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(){return this.element.classList.remove("dz-drag-hover")},dragstart:a,dragend:function(){return this.element.classList.remove("dz-drag-hover")},dragenter:function(){return this.element.classList.add("dz-drag-hover")},dragover:function(){return this.element.classList.add("dz-drag-hover")},dragleave:function(){return this.element.classList.remove("dz-drag-hover")},paste:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var t,i,r,o,a,s,l,c,u,d,p;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=n.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),i=0,a=(c=e.previewElement.querySelectorAll("[data-dz-name]")).length;a>i;i++)c[i].textContent=e.name;for(r=0,s=(u=e.previewElement.querySelectorAll("[data-dz-size]")).length;s>r;r++)u[r].innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=n.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),t=function(t){return function(i){return i.preventDefault(),i.stopPropagation(),e.status===n.UPLOADING?n.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)})):t.options.dictRemoveFileConfirmation?n.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)})):t.removeFile(e)}}(this),p=[],o=0,l=(d=e.previewElement.querySelectorAll("[data-dz-remove]")).length;l>o;o++)p.push(d[o].addEventListener("click",t));return p}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,i,r,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),i=0,r=(o=e.previewElement.querySelectorAll("[data-dz-thumbnail]")).length;r>i;i++)(n=o[i]).alt=e.name,n.src=t;return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function(e,t){var n,i,r,o;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=[],n=0,i=(r=e.previewElement.querySelectorAll("[data-dz-errormessage]")).length;i>n;n++)o.push(r[n].textContent=t);return o}},errormultiple:a,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:a,uploadprogress:function(e,t){var n,i,r,o,a;if(e.previewElement){for(a=[],i=0,r=(o=e.previewElement.querySelectorAll("[data-dz-uploadprogress]")).length;r>i;i++)a.push("PROGRESS"===(n=o[i]).nodeName?n.value=t:n.style.width=t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,previewTemplate:'<div class="dz-preview dz-file-preview">\n  <div class="dz-image"><img data-dz-thumbnail /></div>\n  <div class="dz-details">\n    <div class="dz-size"><span data-dz-size></span></div>\n    <div class="dz-filename"><span data-dz-name></span></div>\n  </div>\n  <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n  <div class="dz-error-message"><span data-dz-errormessage></span></div>\n  <div class="dz-success-mark">\n    <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n      <title>Check</title>\n      <defs></defs>\n      <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n        <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n      </g>\n    </svg>\n  </div>\n  <div class="dz-error-mark">\n    <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n      <title>Error</title>\n      <defs></defs>\n      <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n        <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n          <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n        </g>\n      </g>\n    </svg>\n  </div>\n</div>'},i=function(){var e,t,n,i,r,o;for(i=arguments[0],r=0,o=(n=2<=arguments.length?l.call(arguments,1):[]).length;o>r;r++)for(e in t=n[r])i[e]=t[e];return i},n.prototype.getAcceptedFiles=function(){var e,t,n,i,r;for(r=[],t=0,n=(i=this.files).length;n>t;t++)(e=i[t]).accepted&&r.push(e);return r},n.prototype.getRejectedFiles=function(){var e,t,n,i,r;for(r=[],t=0,n=(i=this.files).length;n>t;t++)(e=i[t]).accepted||r.push(e);return r},n.prototype.getFilesWithStatus=function(e){var t,n,i,r,o;for(o=[],n=0,i=(r=this.files).length;i>n;n++)(t=r[n]).status===e&&o.push(t);return o},n.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(n.QUEUED)},n.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(n.UPLOADING)},n.prototype.getActiveFiles=function(){var e,t,i,r,o;for(o=[],t=0,i=(r=this.files).length;i>t;t++)((e=r[t]).status===n.UPLOADING||e.status===n.QUEUED)&&o.push(e);return o},n.prototype.init=function(){var e,t,i,r,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(n.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(i=function(e){return function(){return e.hiddenFileInput&&document.body.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.body.appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",(function(){var t,n,r;if((t=e.hiddenFileInput.files).length)for(n=0,r=t.length;r>n;n++)e.addFile(t[n]);return i()}))}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,r=0,o=(s=this.events).length;o>r;r++)this.on(e=s[r],this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(){return 0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length?setTimeout((function(){return e.emit("queuecomplete")}),0):void 0}}(this)),t=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(n){return t(n),e.emit("dragenter",n)}}(this),dragover:function(e){return function(n){var i;try{i=n.dataTransfer.effectAllowed}catch(r){}return n.dataTransfer.dropEffect="move"===i||"linkMove"===i?"move":"copy",t(n),e.emit("dragover",n)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(n){return t(n),e.drop(n)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(t){return e.listeners.push({element:t,events:{click:function(i){return t!==e.element||i.target===e.element||n.elementInside(i.target,e.element.querySelector(".dz-message"))?e.hiddenFileInput.click():void 0}}})}}(this)),this.enable(),this.options.init.call(this)},n.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,n.instances.splice(n.instances.indexOf(this),1)},n.prototype.updateTotalUploadProgress=function(){var e,t,n,i,r,o,a;if(n=0,t=0,this.getActiveFiles().length){for(r=0,o=(a=this.getActiveFiles()).length;o>r;r++)n+=(e=a[r]).upload.bytesSent,t+=e.upload.total;i=100*n/t}else i=100;return this.emit("totaluploadprogress",i,t,n)},n.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},n.prototype.getFallbackForm=function(){var e,t,i,r;return(e=this.getExistingFallback())?e:(i='<div class="dz-fallback">',this.options.dictFallbackText&&(i+="<p>"+this.options.dictFallbackText+"</p>"),i+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',t=n.createElement(i),"FORM"!==this.element.tagName?(r=n.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(t):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:t)},n.prototype.getExistingFallback=function(){var e,t,n,i,r;for(t=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)if(/(^| )fallback($| )/.test((t=e[n]).className))return t},n=0,i=(r=["div","form"]).length;i>n;n++)if(e=t(this.element.getElementsByTagName(r[n])))return e},n.prototype.setupEventListeners=function(){var e,t,n,i,r,o;for(o=[],n=0,i=(r=this.listeners).length;i>n;n++)e=r[n],o.push(function(){var n,i;for(t in i=[],n=e.events)i.push(e.element.addEventListener(t,n[t],!1));return i}());return o},n.prototype.removeEventListeners=function(){var e,t,n,i,r,o;for(o=[],n=0,i=(r=this.listeners).length;i>n;n++)e=r[n],o.push(function(){var n,i;for(t in i=[],n=e.events)i.push(e.element.removeEventListener(t,n[t],!1));return i}());return o},n.prototype.disable=function(){var e,t,n,i;for(this.clickableElements.forEach((function(e){return e.classList.remove("dz-clickable")})),this.removeEventListeners(),i=[],e=0,t=(n=this.files).length;t>e;e++)i.push(this.cancelUpload(n[e]));return i},n.prototype.enable=function(){return this.clickableElements.forEach((function(e){return e.classList.add("dz-clickable")})),this.setupEventListeners()},n.prototype.filesize=function(e){var t,n,i,r,o,a,s;for(n=i=null,t=a=0,s=(o=["TB","GB","MB","KB","b"]).length;s>a;t=++a)if(r=o[t],e>=Math.pow(this.options.filesizeBase,4-t)/10){n=e/Math.pow(this.options.filesizeBase,4-t),i=r;break}return"<strong>"+(n=Math.round(10*n)/10)+"</strong> "+i},n.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},n.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),(t=e.dataTransfer.files).length&&((n=e.dataTransfer.items)&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},n.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),(t=e.clipboardData.items).length?this._addFilesFromItems(t):void 0},n.prototype.handleFiles=function(e){var t,n,i;for(i=[],t=0,n=e.length;n>t;t++)i.push(this.addFile(e[t]));return i},n.prototype._addFilesFromItems=function(e){var t,n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)o.push(null!=(n=e[i]).webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?this.addFile(n.getAsFile()):t.isDirectory?this._addFilesFromDirectory(t,t.name):void 0:null==n.getAsFile||null!=n.kind&&"file"!==n.kind?void 0:this.addFile(n.getAsFile()));return o},n.prototype._addFilesFromDirectory=function(e,t){var n,i;return n=e.createReader(),i=function(e){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)(i=n[r]).isFile?i.file((function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=t+"/"+n.name,e.addFile(n))})):i.isDirectory&&e._addFilesFromDirectory(i,t+"/"+i.name)}}(this),n.readEntries(i,(function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0}))},n.prototype.accept=function(e,t){return e.size>1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):n.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)},n.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=n.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},n.prototype.enqueueFiles=function(e){var t,n;for(t=0,n=e.length;n>t;t++)this.enqueueFile(e[t]);return null},n.prototype.enqueueFile=function(e){if(e.status!==n.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=n.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},n.prototype._thumbnailQueue=[],n.prototype._processingThumbnail=!1,n.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},n.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},n.prototype.removeFile=function(e){return e.status===n.UPLOADING&&this.cancelUpload(e),this.files=s(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},n.prototype.removeAllFiles=function(e){var t,i,r,o;for(null==e&&(e=!1),i=0,r=(o=this.files.slice()).length;r>i;i++)((t=o[i]).status!==n.UPLOADING||e)&&this.removeFile(t);return null},n.prototype.createThumbnail=function(e,t){var n;return(n=new FileReader).onload=function(i){return function(){var r;return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):((r=document.createElement("img")).onload=function(){var n,a,s,l,c,u,d,p;return e.width=r.width,e.height=r.height,null==(s=i.options.resize.call(i,e)).trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),a=(n=document.createElement("canvas")).getContext("2d"),n.width=s.trgWidth,n.height=s.trgHeight,o(a,r,null!=(c=s.srcX)?c:0,null!=(u=s.srcY)?u:0,s.srcWidth,s.srcHeight,null!=(d=s.trgX)?d:0,null!=(p=s.trgY)?p:0,s.trgWidth,s.trgHeight),l=n.toDataURL("image/png"),i.emit("thumbnail",e,l),null!=t?t():void 0},r.onerror=t,r.src=n.result)}}(this),n.readAsDataURL(e)},n.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,e=n=this.getUploadingFiles().length,!(n>=t)&&(i=this.getQueuedFiles()).length>0){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;t>e;){if(!i.length)return;this.processFile(i.shift()),e++}}},n.prototype.processFile=function(e){return this.processFiles([e])},n.prototype.processFiles=function(e){var t,i,r;for(i=0,r=e.length;r>i;i++)(t=e[i]).processing=!0,t.status=n.UPLOADING,this.emit("processing",t);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},n.prototype._getFilesWithXhr=function(e){var t;return(function(){var n,i,r,o;for(o=[],n=0,i=(r=this.files).length;i>n;n++)(t=r[n]).xhr===e&&o.push(t);return o}).call(this)},n.prototype.cancelUpload=function(e){var t,i,r,o,a,s;if(e.status===n.UPLOADING){for(i=0,o=(t=this._getFilesWithXhr(e.xhr)).length;o>i;i++)t[i].status=n.CANCELED;for(e.xhr.abort(),r=0,a=t.length;a>r;r++)this.emit("canceled",t[r]);this.options.uploadMultiple&&this.emit("canceledmultiple",t)}else((s=e.status)===n.ADDED||s===n.QUEUED)&&(e.status=n.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},n.prototype.uploadFile=function(e){return this.uploadFiles([e])},n.prototype.uploadFiles=function(e){var t,o,a,s,l,c,u,d,p,h,f,g,m,v,b,y,M,w,C,A,x,S,z,T,k,$,_,O,E,L,N;for(y=new XMLHttpRequest,M=0,x=e.length;x>M;M++)(t=e[M]).xhr=y;for(s in f=r(this.options.method,e),b=r(this.options.url,e),y.open(f,b,!0),y.withCredentials=!!this.options.withCredentials,m=null,a=function(n){return function(){var i,r,o;for(o=[],i=0,r=e.length;r>i;i++)t=e[i],o.push(n._errorProcessing(e,m||n.options.dictResponseError.replace("{{statusCode}}",y.status),y));return o}}(this),v=function(n){return function(i){var r,o,a,s,l,c,u,d,p;if(null!=i)for(o=100*i.loaded/i.total,a=0,c=e.length;c>a;a++)(t=e[a]).upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,s=0,u=e.length;u>s;s++)(100!==(t=e[s]).upload.progress||t.upload.bytesSent!==t.upload.total)&&(r=!1),t.upload.progress=o,t.upload.bytesSent=t.upload.total;if(r)return}for(p=[],l=0,d=e.length;d>l;l++)p.push(n.emit("uploadprogress",t=e[l],o,t.upload.bytesSent));return p}}(this),y.onload=function(t){return function(i){var r;if(e[0].status!==n.CANCELED&&4===y.readyState){if(m=y.responseText,y.getResponseHeader("content-type")&&~y.getResponseHeader("content-type").indexOf("application/json"))try{m=JSON.parse(m)}catch(o){i=o,m="Invalid JSON response from server."}return v(),200<=(r=y.status)&&300>r?t._finished(e,m,i):a()}}}(this),y.onerror=function(){return e[0].status!==n.CANCELED?a():void 0},(null!=($=y.upload)?$:y).onprogress=v,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(l,this.options.headers),l)y.setRequestHeader(s,l[s]);if(o=new FormData,this.options.params)for(h in _=this.options.params)o.append(h,_[h]);for(w=0,S=e.length;S>w;w++)this.emit("sending",t=e[w],y,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,y,o),"FORM"===this.element.tagName)for(C=0,z=(O=this.element.querySelectorAll("input, textarea, select, button")).length;z>C;C++)if(d=(u=O[C]).getAttribute("name"),p=u.getAttribute("type"),"SELECT"===u.tagName&&u.hasAttribute("multiple"))for(A=0,T=(E=u.options).length;T>A;A++)(g=E[A]).selected&&o.append(d,g.value);else(!p||"checkbox"!==(L=p.toLowerCase())&&"radio"!==L||u.checked)&&o.append(d,u.value);for(c=k=0,N=e.length-1;N>=0?N>=k:k>=N;c=N>=0?++k:--k)o.append(this._getParamName(c),e[c],e[c].name);return y.send(o)},n.prototype._finished=function(e,t,i){var r,o,a;for(o=0,a=e.length;a>o;o++)(r=e[o]).status=n.SUCCESS,this.emit("success",r,t,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("successmultiple",e,t,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},n.prototype._errorProcessing=function(e,t,i){var r,o,a;for(o=0,a=e.length;a>o;o++)(r=e[o]).status=n.ERROR,this.emit("error",r,t,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",e,t,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},n}(t)).version="4.0.1",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[n(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,i,r,o,a;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],(t=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;r>n;n++)o.push(/(^| )dropzone($| )/.test((t=e[n]).className)?i.push(t):void 0);return o})(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],r=0,o=i.length;o>r;r++)a.push(!1!==e.optionsForElement(n=i[r])?new e(n):void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,r;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(n=0,i=(r=e.blacklistedBrowsers).length;i>n;n++)r[n].test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},s=function(e,t){var n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)(n=e[i])!==t&&o.push(n);return o},n=function(e){return e.replace(/[\-_](\w)/g,(function(e){return e.charAt(1).toUpperCase()}))},e.createElement=function(e){var t;return(t=document.createElement("div")).innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,i,r,o,a,s;if(e instanceof Array){n=[];try{for(i=0,o=e.length;o>i;i++)n.push(this.getElement(e[i],t))}catch(l){n=null}}else if("string"==typeof e)for(n=[],r=0,a=(s=document.querySelectorAll(e)).length;a>r;r++)n.push(s[r]);else null!=e.nodeType&&(n=[e]);if(null==n||!n.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return n},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,i,r,o,a;if(!t)return!0;for(t=t.split(","),n=(i=e.type).replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if("."===(r=(r=t[o]).trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new e(this,t)}))}),"undefined"!=typeof module&&null!==module?module.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",r=function(e){var t,n,i,r,o,a,s,l;for(o=e.naturalHeight,(t=document.createElement("canvas")).width=1,t.height=o,(n=t.getContext("2d")).drawImage(e,0,0),i=n.getImageData(0,0,1,o).data,l=0,r=o,a=o;a>l;)0===i[4*(a-1)+3]?r=a:l=a,a=r+l>>1;return 0==(s=a/o)?1:s},o=function(e,t,n,i,o,a,s,l,c,u){var d;return d=r(t),e.drawImage(t,n,i,o,a,s,l,c,u/d)},i=function(e,t){var n,i,r,o,a,s,l,c,u;if(r=!1,u=!0,c=(i=e.document).documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",s=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?e:i)[l](s+n.type,o,!1),!r&&(r=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){try{c.doScroll("left")}catch(t){return void setTimeout(a,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(d){}u&&a()}return i[n](s+"DOMContentLoaded",o,!1),i[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this),function(e,t,n){"use strict";t.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,n,i){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,o,a,s){var l;function c(e,t){var n=t&&"function"==typeof t;return e&&"function"==typeof e&&n?function(){e.apply(this,arguments),t.apply(this,arguments)}:n?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function d(t,n){return b[t]?("stop"===t&&(n=c(n,(function(){r.$apply()})),n=c(n,f)),n=c(b[t],n)):y[t]&&(n=y[t](n)),n||("items"===t||"ui-model-items"===t)&&(n=e.items),n}function p(e,n,i){t.forEach(b,(function(e,t){t in m||(m[t]=null)}));var r,o=null;return n&&t.forEach(n,(function(n,i){if(!e||!(i in e)){if(i in v)return void(m[i]="ui-floating"===i?"auto":d(i,void 0));r||(r=t.element.ui.sortable().options);var a=r[i];a=d(i,a),o||(o={}),o[i]=a,m[i]=a}})),t.forEach(e,(function(e,t){if(t in v)return"ui-floating"!==t||!1!==e&&!0!==e||!i||(i.floating=e),void(m[t]=d(t,e));e=d(t,e),o||(o={}),o[t]=e,m[t]=e})),o}function h(e,t,n){var i=null;return function(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}(e,t)&&"parent"===e.sortable("option","appendTo")&&(i=n.last()),i}function f(e,t){t.item.sortable._destroy()}function g(e){return e.item.parent().find(m["ui-model-items"]).index(e.item)}var m={},v={"ui-floating":void 0,"ui-model-items":e.items},b={receive:null,remove:null,start:null,stop:null,update:null},y={helper:null};function M(){return!(r.uiSortable&&r.uiSortable.disabled||(s?(r.$watchCollection("ngModel",(function(){n((function(){u(o)&&o.sortable("refresh")}),0,!1)})),b.start=function(e,n){if("auto"===m["ui-floating"]){var i=n.item.siblings();u(t.element(e.target)).floating=/left|right/.test((r=i).css("float"))||/inline|table-cell/.test(r.css("display"))}var r,o=g(n);n.item.sortable={model:s.$modelValue[o],index:o,source:n.item.parent(),sourceModel:s.$modelValue,cancel:function(){n.item.sortable._isCanceled=!0},isCanceled:function(){return n.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!n.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:n.item.sortable._isCustomHelperUsed,_destroy:function(){t.forEach(n.item.sortable,(function(e,t){n.item.sortable[t]=void 0}))}}},b.activate=function(e,n){l=o.contents();var i=function(e){var n=e.sortable("option","placeholder");if(n&&n.element&&"function"==typeof n.element){var i=n.element();return t.element(i)}return null}(o);if(i&&i.length){var a=function(e,t){var n=m["ui-model-items"].replace(/[^,]*>/g,"");return e.find('[class="'+t.attr("class")+'"]:not('+n+")")}(o,i);l=l.not(a)}var s=n.item.sortable._connectedSortables||[];s.push({element:o,scope:r}),n.item.sortable._connectedSortables=s},b.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=g(t);var n=t.item.parent();t.item.sortable.droptarget=n;var i=function(e,t){for(var n=null,i=0;i<e.length;i++){var r=e[i];if(r.element[0]===t[0]){n=r.scope;break}}return n}(t.item.sortable._connectedSortables,n);t.item.sortable.droptargetModel=i.ngModel,o.sortable("cancel")}var a=!t.item.sortable.received&&h(o,t,l);a&&a.length&&(l=l.not(a)),l.appendTo(o),t.item.sortable.received&&(l=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&r.$apply((function(){s.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)}))},b.stop=function(e,n){if(n.item.sortable.received||!("dropindex"in n.item.sortable)||n.item.sortable.isCanceled()){if((!("dropindex"in n.item.sortable)||n.item.sortable.isCanceled())&&!t.equals(o.contents(),l)){var i=h(o,n,l);i&&i.length&&(l=l.not(i)),l.appendTo(o)}}else r.$apply((function(){s.$modelValue.splice(n.item.sortable.dropindex,0,s.$modelValue.splice(n.item.sortable.index,1)[0])}));l=null},b.receive=function(e,t){t.item.sortable.received=!0},b.remove=function(e,t){"dropindex"in t.item.sortable||(o.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||r.$apply((function(){t.item.sortable.moved=s.$modelValue.splice(t.item.sortable.index,1)[0]}))},y.helper=function(e){return e&&"function"==typeof e?function(t,n){var i=e.apply(this,arguments);return n.sortable._isCustomHelperUsed=n!==i,i}:e},r.$watchCollection("uiSortable",(function(e,t){var n=u(o);if(n){var i=p(e,t,n);i&&o.sortable("option",i)}}),!0),p(m)):i.info("ui.sortable: ngModel not provided!",o),o.sortable(m),M.cancelWatcher(),M.cancelWatcher=t.noop,0))}t.extend(m,v,e,r.uiSortable),t.element.fn&&t.element.fn.jquery?(M.cancelWatcher=t.noop,M()||(M.cancelWatcher=r.$watch("uiSortable.disabled",M))):i.error("ui.sortable: jQuery should be included before AngularJS!")}}}])}(window,window.angular),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}((function(e){function t(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.regional.en=e.extend(!0,{},this.regional[""]),this.regional["en-US"]=e.extend(!0,{},this.regional.en),this.dpDiv=n(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(t){var n="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",n,(function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",n,i)}function i(){e.datepicker._isDisabledDatepicker(h.inline?h.dpDiv.parent()[0]:h.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function r(t,n){for(var i in e.extend(t,n),n)null==n[i]&&(t[i]=n[i]);return t}function o(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}e.ui=e.ui||{},e.ui.version="1.12.1";var a,s=0,l=Array.prototype.slice;e.cleanData=(a=e.cleanData,function(t){var n,i,o;for(o=0;null!=(i=t[o]);o++)try{(n=e._data(i,"events"))&&n.remove&&e(i).triggerHandler("remove")}catch(r){}a(t)}),e.widget=function(t,n,i){var r,o,a,s={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return i||(i=n,n=e.Widget),e.isArray(i)&&(i=e.extend.apply(null,[{}].concat(i))),e.expr[":"][c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},r=e[l][t],o=e[l][t]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new o(e,t)},e.extend(o,r,{version:i.version,_proto:e.extend({},i),_childConstructors:[]}),(a=new n).options=e.widget.extend({},a.options),e.each(i,(function(t,i){return e.isFunction(i)?void(s[t]=function(){function e(){return n.prototype[t].apply(this,arguments)}function r(e){return n.prototype[t].apply(this,e)}return function(){var t,n=this._super,o=this._superApply;return this._super=e,this._superApply=r,t=i.apply(this,arguments),this._super=n,this._superApply=o,t}}()):void(s[t]=i)})),o.prototype=e.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||t},s,{constructor:o,namespace:l,widgetName:t,widgetFullName:c}),r?(e.each(r._childConstructors,(function(t,n){var i=n.prototype;e.widget(i.namespace+"."+i.widgetName,o,n._proto)})),delete r._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var n,i,r=l.call(arguments,1),o=0,a=r.length;a>o;o++)for(n in r[o])i=r[o][n],r[o].hasOwnProperty(n)&&void 0!==i&&(t[n]=e.isPlainObject(i)?e.isPlainObject(t[n])?e.widget.extend({},t[n],i):e.widget.extend({},i):i);return t},e.widget.bridge=function(t,n){var i=n.prototype.widgetFullName||t;e.fn[t]=function(r){var o="string"==typeof r,a=l.call(arguments,1),s=this;return o?this.length||"instance"!==r?this.each((function(){var n,o=e.data(this,i);return"instance"===r?(s=o,!1):o?e.isFunction(o[r])&&"_"!==r.charAt(0)?(n=o[r].apply(o,a))!==o&&void 0!==n?(s=n&&n.jquery?s.pushStack(n.get()):n,!1):void 0:e.error("no such method '"+r+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")})):s=void 0:(a.length&&(r=e.widget.extend.apply(null,[r].concat(a))),this.each((function(){var t=e.data(this,i);t?(t.option(r||{}),t._init&&t._init()):e.data(this,i,new n(r,this))}))),s}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=s++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,n){t._removeClass(n,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var i,r,o,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},i=t.split("."),t=i.shift(),i.length){for(r=a[t]=e.widget.extend({},this.options[t]),o=0;i.length-1>o;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(t=i.pop(),1===arguments.length)return void 0===r[t]?null:r[t];r[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];a[t]=n}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,i,r;for(n in t)r=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&r&&r.length&&(i=e(r.get()),this._removeClass(r,n),i.addClass(this._classes({element:i,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){function n(n,o){var a,s;for(s=0;n.length>s;s++)a=r.classesElementLookup[n[s]]||e(),a=e(t.add?e.unique(a.get().concat(t.element.get())):a.not(t.element).get()),r.classesElementLookup[n[s]]=a,i.push(n[s]),o&&t.classes[n[s]]&&i.push(t.classes[n[s]])}var i=[],r=this;return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&n(t.keys.match(/\S+/g)||[],!0),t.extra&&n(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,(function(i,r){-1!==e.inArray(t.target,r)&&(n.classesElementLookup[i]=e(r.not(t.target).get()))}))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,i){var r="string"==typeof e||null===e,o={extra:r?t:n,keys:r?e:t,element:r?this.element:e,add:i="boolean"==typeof i?i:n};return o.element.toggleClass(this._classes(o),i),this},_on:function(t,n,i){var r,o=this;"boolean"!=typeof t&&(i=n,n=t,t=!1),i?(n=r=e(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),e.each(i,(function(i,a){function s(){return t||!0!==o.options.disabled&&!e(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||e.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+o.eventNamespace,u=l[2];u?r.on(c,u,s):n.on(c,s)}))},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n).off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var n=this;return setTimeout((function(){return("string"==typeof e?n[e]:e).apply(n,arguments)}),t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,i){var r,o,a=this.options[t];if(i=i||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(r in o)r in n||(n[r]=o[r]);return this.element.trigger(n,i),!(e.isFunction(a)&&!1===a.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,n){e.Widget.prototype["_"+t]=function(i,r,o){"string"==typeof r&&(r={effect:r});var a,s=r?!0===r||"number"==typeof r?n:r.effect||n:t;"number"==typeof(r=r||{})&&(r={duration:r}),a=!e.isEmptyObject(r),r.complete=o,r.delay&&i.delay(r.delay),a&&e.effects&&e.effects.effect[s]?i[t](r):s!==t&&i[s]?i[s](r.duration,r.easing,o):i.queue((function(n){e(this)[t](),o&&o.call(i[0]),n()}))}})),function(){function t(e,t,n){return[parseFloat(e[0])*(d.test(e[0])?t/100:1),parseFloat(e[1])*(d.test(e[1])?n/100:1)]}function n(t,n){return parseInt(e.css(t,n),10)||0}function i(t){var n=t[0];return 9===n.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(n)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}var r,o=Math.max,a=Math.abs,s=/left|center|right/,l=/top|center|bottom/,c=/[\+\-]\d+(\.[\d]+)?%?/,u=/^\w+/,d=/%$/,p=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==r)return r;var t,n,i=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=i.children()[0];return e("body").append(i),t=o.offsetWidth,i.css("overflow","scroll"),t===(n=o.offsetWidth)&&(n=i[0].clientWidth),i.remove(),r=t-n},getScrollInfo:function(t){var n=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),r="scroll"===n||"auto"===n&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?e.position.scrollbarWidth():0,height:r?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var n=e(t||window),i=e.isWindow(n[0]),r=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:i,isDocument:r,offset:i||r?{left:0,top:0}:e(t).offset(),scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},e.fn.position=function(r){if(!r||!r.of)return p.apply(this,arguments);r=e.extend({},r);var d,h,f,g,m,v,b=e(r.of),y=e.position.getWithinInfo(r.within),M=e.position.getScrollInfo(y),w=(r.collision||"flip").split(" "),C={};return v=i(b),b[0].preventDefault&&(r.at="left top"),h=v.width,f=v.height,m=e.extend({},g=v.offset),e.each(["my","at"],(function(){var e,t,n=(r[this]||"").split(" ");1===n.length&&(n=s.test(n[0])?n.concat(["center"]):l.test(n[0])?["center"].concat(n):["center","center"]),n[0]=s.test(n[0])?n[0]:"center",n[1]=l.test(n[1])?n[1]:"center",e=c.exec(n[0]),t=c.exec(n[1]),C[this]=[e?e[0]:0,t?t[0]:0],r[this]=[u.exec(n[0])[0],u.exec(n[1])[0]]})),1===w.length&&(w[1]=w[0]),"right"===r.at[0]?m.left+=h:"center"===r.at[0]&&(m.left+=h/2),"bottom"===r.at[1]?m.top+=f:"center"===r.at[1]&&(m.top+=f/2),d=t(C.at,h,f),m.left+=d[0],m.top+=d[1],this.each((function(){var i,s,l=e(this),c=l.outerWidth(),u=l.outerHeight(),p=n(this,"marginLeft"),v=n(this,"marginTop"),A=c+p+n(this,"marginRight")+M.width,x=u+v+n(this,"marginBottom")+M.height,S=e.extend({},m),z=t(C.my,l.outerWidth(),l.outerHeight());"right"===r.my[0]?S.left-=c:"center"===r.my[0]&&(S.left-=c/2),"bottom"===r.my[1]?S.top-=u:"center"===r.my[1]&&(S.top-=u/2),S.left+=z[0],S.top+=z[1],i={marginLeft:p,marginTop:v},e.each(["left","top"],(function(t,n){e.ui.position[w[t]]&&e.ui.position[w[t]][n](S,{targetWidth:h,targetHeight:f,elemWidth:c,elemHeight:u,collisionPosition:i,collisionWidth:A,collisionHeight:x,offset:[d[0]+z[0],d[1]+z[1]],my:r.my,at:r.at,within:y,elem:l})})),r.using&&(s=function(e){var t=g.left-S.left,n=t+h-c,i=g.top-S.top,s=i+f-u,d={target:{element:b,left:g.left,top:g.top,width:h,height:f},element:{element:l,left:S.left,top:S.top,width:c,height:u},horizontal:0>n?"left":t>0?"right":"center",vertical:0>s?"top":i>0?"bottom":"middle"};c>h&&h>a(t+n)&&(d.horizontal="center"),u>f&&f>a(i+s)&&(d.vertical="middle"),d.important=o(a(t),a(n))>o(a(i),a(s))?"horizontal":"vertical",r.using.call(this,e,d)}),l.offset(e.extend(S,{using:s}))}))},e.ui.position={fit:{left:function(e,t){var n=t.within,i=n.isWindow?n.scrollLeft:n.offset.left,r=n.width,a=e.left-t.collisionPosition.marginLeft,s=i-a,l=a+t.collisionWidth-r-i;t.collisionWidth>r?s>0&&0>=l?e.left+=s-(e.left+s+t.collisionWidth-r-i):e.left=l>0&&0>=s?i:s>l?i+r-t.collisionWidth:i:s>0?e.left+=s:l>0?e.left-=l:e.left=o(e.left-a,e.left)},top:function(e,t){var n=t.within,i=n.isWindow?n.scrollTop:n.offset.top,r=t.within.height,a=e.top-t.collisionPosition.marginTop,s=i-a,l=a+t.collisionHeight-r-i;t.collisionHeight>r?s>0&&0>=l?e.top+=s-(e.top+s+t.collisionHeight-r-i):e.top=l>0&&0>=s?i:s>l?i+r-t.collisionHeight:i:s>0?e.top+=s:l>0?e.top-=l:e.top=o(e.top-a,e.top)}},flip:{left:function(e,t){var n,i,r=t.within,o=r.width,s=r.isWindow?r.scrollLeft:r.offset.left,l=e.left-t.collisionPosition.marginLeft,c=l-s,u=l+t.collisionWidth-o-s,d="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,p="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];0>c?(0>(n=e.left+d+p+h+t.collisionWidth-o-(r.offset.left+r.scrollLeft))||a(c)>n)&&(e.left+=d+p+h):u>0&&((i=e.left-t.collisionPosition.marginLeft+d+p+h-s)>0||u>a(i))&&(e.left+=d+p+h)},top:function(e,t){var n,i,r=t.within,o=r.height,s=r.isWindow?r.scrollTop:r.offset.top,l=e.top-t.collisionPosition.marginTop,c=l-s,u=l+t.collisionHeight-o-s,d="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,p="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];0>c?(0>(i=e.top+d+p+h+t.collisionHeight-o-(r.offset.top+r.scrollTop))||a(c)>i)&&(e.top+=d+p+h):u>0&&((n=e.top-t.collisionPosition.marginTop+d+p+h-s)>0||u>a(n))&&(e.top+=d+p+h)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}(),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo((function(t){return function(n){return!!e.data(n,t)}})):function(t,n,i){return!!e.data(t,i[3])}}),e.fn.extend({disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(e+".ui-disableSelection",(function(e){e.preventDefault()}))}}(),enableSelection:function(){return this.off(".ui-disableSelection")}});var c="ui-effects-",u="ui-effects-style",d="ui-effects-animated",p=e;e.effects={effect:{}},function(e,t){function n(e,t,n){var i=u[t.type]||{};return null==e?n||!t.def?null:t.def:(e=i.floor?~~e:parseFloat(e),isNaN(e)?t.def:i.mod?(e+i.mod)%i.mod:0>e?0:e>i.max?i.max:e)}function i(n){var i=l(),r=i._rgba=[];return n=n.toLowerCase(),h(s,(function(e,o){var a,s=o.re.exec(n),l=s&&o.parse(s),u=o.space||"rgba";return l?(a=i[u](l),i[c[u].cache]=a[c[u].cache],r=i._rgba=a._rgba,!1):t})),r.length?("0,0,0,0"===r.join()&&e.extend(r,o.transparent),i):o[n]}function r(e,t,n){return 1>6*(n=(n+1)%1)?e+6*(t-e)*n:1>2*n?t:2>3*n?e+6*(t-e)*(2/3-n):e}var o,a=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,n,i,r){return new e.Color.fn.parse(t,n,i,r)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=e("<p>")[0],h=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,h(c,(function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}})),l.fn=e.extend(l.prototype,{parse:function(r,a,s,u){if(r===t)return this._rgba=[null,null,null,null],this;(r.jquery||r.nodeType)&&(r=e(r).css(a),a=t);var d=this,p=e.type(r),f=this._rgba=[];return a!==t&&(r=[r,a,s,u],p="array"),"string"===p?this.parse(i(r)||o._default):"array"===p?(h(c.rgba.props,(function(e,t){f[t.idx]=n(r[t.idx],t)})),this):"object"===p?(h(c,r instanceof l?function(e,t){r[t.cache]&&(d[t.cache]=r[t.cache].slice())}:function(t,i){var o=i.cache;h(i.props,(function(e,t){if(!d[o]&&i.to){if("alpha"===e||null==r[e])return;d[o]=i.to(d._rgba)}d[o][t.idx]=n(r[e],t,!0)})),d[o]&&0>e.inArray(null,d[o].slice(0,3))&&(d[o][3]=1,i.from&&(d._rgba=i.from(d[o])))}),this):t},is:function(e){var n=l(e),i=!0,r=this;return h(c,(function(e,o){var a,s=n[o.cache];return s&&(a=r[o.cache]||o.to&&o.to(r._rgba)||[],h(o.props,(function(e,n){return null!=s[n.idx]?i=s[n.idx]===a[n.idx]:t}))),i})),i},_space:function(){var e=[],t=this;return h(c,(function(n,i){t[i.cache]&&e.push(n)})),e.pop()},transition:function(e,t){var i=l(e),r=i._space(),o=c[r],a=0===this.alpha()?l("transparent"):this,s=a[o.cache]||o.to(a._rgba),d=s.slice();return i=i[o.cache],h(o.props,(function(e,r){var o=r.idx,a=s[o],l=i[o],c=u[r.type]||{};null!==l&&(null===a?d[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),d[o]=n((l-a)*t+a,r)))})),this[r](d)},blend:function(t){if(1===this._rgba[3])return this;var n=this._rgba.slice(),i=n.pop(),r=l(t)._rgba;return l(e.map(n,(function(e,t){return(1-i)*r[t]+i*e})))},toRgbaString:function(){var t="rgba(",n=e.map(this._rgba,(function(e,t){return null==e?t>2?1:0:e}));return 1===n[3]&&(n.pop(),t="rgb("),t+n.join()+")"},toHslaString:function(){var t="hsla(",n=e.map(this.hsla(),(function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e}));return 1===n[3]&&(n.pop(),t="hsl("),t+n.join()+")"},toHexString:function(t){var n=this._rgba.slice(),i=n.pop();return t&&n.push(~~(255*i)),"#"+e.map(n,(function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e})).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,o=e[3],a=Math.max(n,i,r),s=Math.min(n,i,r),l=a-s,c=a+s,u=.5*c;return t=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(s===a?0:n===a?60*(i-r)/l+360:i===a?60*(r-n)/l+120:60*(n-i)/l+240)%360,t,u,null==o?1:o]},c.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],i=e[2],o=e[3],a=.5>=i?i*(1+n):i+n-i*n,s=2*i-a;return[Math.round(255*r(s,a,t+1/3)),Math.round(255*r(s,a,t)),Math.round(255*r(s,a,t-1/3)),o]},h(c,(function(i,r){var o=r.props,s=r.cache,c=r.to,u=r.from;l.fn[i]=function(i){if(c&&!this[s]&&(this[s]=c(this._rgba)),i===t)return this[s].slice();var r,a=e.type(i),d="array"===a||"object"===a?i:arguments,p=this[s].slice();return h(o,(function(e,t){var i=d["object"===a?e:t.idx];null==i&&(i=p[t.idx]),p[t.idx]=n(i,t)})),u?((r=l(u(p)))[s]=p,r):l(p)},h(o,(function(t,n){l.fn[t]||(l.fn[t]=function(r){var o,s=e.type(r),l="alpha"===t?this._hsla?"hsla":"rgba":i,c=this[l](),u=c[n.idx];return"undefined"===s?u:("function"===s&&(r=r.call(this,u),s=e.type(r)),null==r&&n.empty?this:("string"===s&&(o=a.exec(r))&&(r=u+parseFloat(o[2])*("+"===o[1]?1:-1)),c[n.idx]=r,this[l](c)))})}))})),l.hook=function(t){var n=t.split(" ");h(n,(function(t,n){e.cssHooks[n]={set:function(t,r){var o,a,c="";if("transparent"!==r&&("string"!==e.type(r)||(o=i(r)))){if(r=l(o||r),!d.rgba&&1!==r._rgba[3]){for(a="backgroundColor"===n?t.parentNode:t;(""===c||"transparent"===c)&&a&&a.style;)try{c=e.css(a,"backgroundColor"),a=a.parentNode}catch(s){}r=r.blend(c&&"transparent"!==c?c:"_default")}r=r.toRgbaString()}try{t.style[n]=r}catch(s){}}},e.fx.step[n]=function(t){t.colorInit||(t.start=l(t.elem,n),t.end=l(t.end),t.colorInit=!0),e.cssHooks[n].set(t.elem,t.start.transition(t.end,t.pos))}}))},l.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),e.cssHooks.borderColor={expand:function(e){var t={};return h(["Top","Right","Bottom","Left"],(function(n,i){t["border"+i+"Color"]=e})),t}},o=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(p),function(){function t(t){var n,i,r=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,o={};if(r&&r.length&&r[0]&&r[r[0]])for(i=r.length;i--;)"string"==typeof r[n=r[i]]&&(o[e.camelCase(n)]=r[n]);else for(n in r)"string"==typeof r[n]&&(o[n]=r[n]);return o}function n(t,n){var i,o,a={};for(i in n)t[i]!==(o=n[i])&&(r[i]||(e.fx.step[i]||!isNaN(parseFloat(o)))&&(a[i]=o));return a}var i=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],(function(t,n){e.fx.step[n]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(p.style(e.elem,n,e.end),e.setAttr=!0)}})),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(r,o,a,s){var l=e.speed(o,a,s);return this.queue((function(){var o,a=e(this),s=a.attr("class")||"",c=l.children?a.find("*").addBack():a;c=c.map((function(){return{el:e(this),start:t(this)}})),(o=function(){e.each(i,(function(e,t){r[t]&&a[t+"Class"](r[t])}))})(),c=c.map((function(){return this.end=t(this.el[0]),this.diff=n(this.start,this.end),this})),a.attr("class",s),c=c.map((function(){var t=this,n=e.Deferred(),i=e.extend({},l,{queue:!1,complete:function(){n.resolve(t)}});return this.el.animate(this.diff,i),n.promise()})),e.when.apply(e,c.get()).done((function(){o(),e.each(arguments,(function(){var t=this.el;e.each(this.diff,(function(e){t.css(e,"")}))})),l.complete.call(a[0])}))}))},e.fn.extend({addClass:function(t){return function(n,i,r,o){return i?e.effects.animateClass.call(this,{add:n},i,r,o):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(n,i,r,o){return arguments.length>1?e.effects.animateClass.call(this,{remove:n},i,r,o):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(n,i,r,o,a){return"boolean"==typeof i||void 0===i?r?e.effects.animateClass.call(this,i?{add:n}:{remove:n},r,o,a):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:n},i,r,o)}}(e.fn.toggleClass),switchClass:function(t,n,i,r,o){return e.effects.animateClass.call(this,{add:n,remove:t},i,r,o)}})}(),function(){function t(t,n,i,r){return e.isPlainObject(t)&&(n=t,t=t.effect),t={effect:t},null==n&&(n={}),e.isFunction(n)&&(r=n,i=null,n={}),("number"==typeof n||e.fx.speeds[n])&&(r=i,i=n,n={}),e.isFunction(i)&&(r=i,i=null),n&&e.extend(t,n),i=i||n.duration,t.duration=e.fx.off?0:"number"==typeof i?i:i in e.fx.speeds?e.fx.speeds[i]:e.fx.speeds._default,t.complete=r||n.complete,t}function n(t){return!(t&&"number"!=typeof t&&!e.fx.speeds[t])||"string"==typeof t&&!e.effects.effect[t]||!!e.isFunction(t)||"object"==typeof t&&!t.effect}function i(e,t){var n=t.outerWidth(),i=t.outerHeight(),r=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,n,i,0];return{top:parseFloat(r[1])||0,right:"auto"===r[2]?n:parseFloat(r[2]),bottom:"auto"===r[3]?i:parseFloat(r[3]),left:parseFloat(r[4])||0}}e.expr&&e.expr.filters&&e.expr.filters.animated&&(e.expr.filters.animated=function(t){return function(n){return!!e(n).data(d)||t(n)}}(e.expr.filters.animated)),!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(e,t){for(var n=0,i=t.length;i>n;n++)null!==t[n]&&e.data(c+t[n],e[0].style[t[n]])},restore:function(e,t){for(var n,i=0,r=t.length;r>i;i++)null!==t[i]&&(n=e.data(c+t[i]),e.css(t[i],n))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var n={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},i=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:t.width(),height:t.height()},o=document.activeElement;return t.wrap(i),(t[0]===o||e.contains(t[0],o))&&e(o).trigger("focus"),i=t.parent(),"static"===t.css("position")?(i.css({position:"relative"}),t.css({position:"relative"})):(e.extend(n,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],(function(e,i){n[i]=t.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")})),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(r),i.css(n).show()},removeWrapper:function(t){var n=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===n||e.contains(t[0],n))&&e(n).trigger("focus")),t}}),e.extend(e.effects,{version:"1.12.1",define:function(t,n,i){return i||(i=n,n="effect"),e.effects.effect[t]=i,e.effects.effect[t].mode=n,i},scaledDimensions:function(e,t,n){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var i="horizontal"!==n?(t||100)/100:1,r="vertical"!==n?(t||100)/100:1;return{height:e.height()*r,width:e.width()*i,outerHeight:e.outerHeight()*r,outerWidth:e.outerWidth()*i}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,n){var i=e.queue();t>1&&i.splice.apply(i,[1,0].concat(i.splice(t,n))),e.dequeue()},saveStyle:function(e){e.data(u,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(u)||"",e.removeData(u)},mode:function(e,t){var n=e.is(":hidden");return"toggle"===t&&(t=n?"show":"hide"),(n?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var n,i;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":i=0;break;case"center":i=.5;break;case"right":i=1;break;default:i=e[1]/t.width}return{x:i,y:n}},createPlaceholder:function(t){var n,i=t.css("position"),r=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",n=e("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(c+"placeholder",n)),t.css({position:i,left:r.left,top:r.top}),n},removePlaceholder:function(e){var t=c+"placeholder",n=e.data(t);n&&(n.remove(),e.removeData(t))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,n,i,r){return r=r||{},e.each(n,(function(e,n){var o=t.cssUnit(n);o[0]>0&&(r[n]=o[0]*i+o[1])})),r}}),e.fn.extend({effect:function(){function n(t){function n(){e.isFunction(l)&&l.call(a[0]),e.isFunction(t)&&t()}var a=e(this);i.mode=u.shift(),!1===e.uiBackCompat||o?"none"===i.mode?(a[c](),n()):r.call(a[0],i,(function(){a.removeData(d),e.effects.cleanUp(a),"hide"===i.mode&&a.hide(),n()})):(a.is(":hidden")?"hide"===c:"show"===c)?(a[c](),n()):r.call(a[0],i,n)}var i=t.apply(this,arguments),r=e.effects.effect[i.effect],o=r.mode,a=i.queue,s=a||"fx",l=i.complete,c=i.mode,u=[],p=function(t){var n=e(this),i=e.effects.mode(n,c)||o;n.data(d,!0),u.push(i),o&&("show"===i||i===o&&"hide"===i)&&n.show(),o&&"none"===i||e.effects.saveStyle(n),e.isFunction(t)&&t()};return e.fx.off||!r?c?this[c](i.duration,l):this.each((function(){l&&l.call(this)})):!1===a?this.each(p).each(n):this.queue(s,p).queue(s,n)},show:function(e){return function(i){if(n(i))return e.apply(this,arguments);var r=t.apply(this,arguments);return r.mode="show",this.effect.call(this,r)}}(e.fn.show),hide:function(e){return function(i){if(n(i))return e.apply(this,arguments);var r=t.apply(this,arguments);return r.mode="hide",this.effect.call(this,r)}}(e.fn.hide),toggle:function(e){return function(i){if(n(i)||"boolean"==typeof i)return e.apply(this,arguments);var r=t.apply(this,arguments);return r.mode="toggle",this.effect.call(this,r)}}(e.fn.toggle),cssUnit:function(t){var n=this.css(t),i=[];return e.each(["em","px","%","pt"],(function(e,t){n.indexOf(t)>0&&(i=[parseFloat(n),t])})),i},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):i(this.css("clip"),this)},transfer:function(t,n){var i=e(this),r=e(t.to),o="fixed"===r.css("position"),a=e("body"),s=o?a.scrollTop():0,l=o?a.scrollLeft():0,c=r.offset(),u={top:c.top-s,left:c.left-l,height:r.innerHeight(),width:r.innerWidth()},d=i.offset(),p=e("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(t.className).css({top:d.top-s,left:d.left-l,height:i.innerHeight(),width:i.innerWidth(),position:o?"fixed":"absolute"}).animate(u,t.duration,t.easing,(function(){p.remove(),e.isFunction(n)&&n()}))}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=i(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],(function(e,n){t[n]=function(t){return Math.pow(t,e+2)}})),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;((t=Math.pow(2,--n))-1)/11>e;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,(function(t,n){e.easing["easeIn"+t]=n,e.easing["easeOut"+t]=function(e){return 1-n(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?n(2*e)/2:1-n(-2*e+2)/2}}))}(),e.effects.define("blind","hide",(function(t,n){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=e(this),o=t.direction||"up",a=r.cssClip(),s={clip:e.extend({},a)},l=e.effects.createPlaceholder(r);s.clip[i[o][0]]=s.clip[i[o][1]],"show"===t.mode&&(r.cssClip(s.clip),l&&l.css(e.effects.clipToBox(s)),s.clip=a),l&&l.animate(e.effects.clipToBox(s),t.duration,t.easing),r.animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("bounce",(function(t,n){var i,r,o,a=e(this),s=t.mode,l="hide"===s,c="show"===s,u=t.direction||"up",d=t.distance,p=t.times||5,h=2*p+(c||l?1:0),f=t.duration/h,g=t.easing,m="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,b=0,y=a.queue().length;for(e.effects.createPlaceholder(a),o=a.css(m),d||(d=a["top"===m?"outerHeight":"outerWidth"]()/3),c&&((r={opacity:1})[m]=o,a.css("opacity",0).css(m,v?2*-d:2*d).animate(r,f,g)),l&&(d/=Math.pow(2,p-1)),(r={})[m]=o;p>b;b++)(i={})[m]=(v?"-=":"+=")+d,a.animate(i,f,g).animate(r,f,g),d=l?2*d:d/2;l&&((i={opacity:0})[m]=(v?"-=":"+=")+d,a.animate(i,f,g)),a.queue(n),e.effects.unshift(a,y,h+1)})),e.effects.define("clip","hide",(function(t,n){var i,r={},o=e(this),a=t.direction||"vertical",s="both"===a,l=s||"horizontal"===a,c=s||"vertical"===a;i=o.cssClip(),r.clip={top:c?(i.bottom-i.top)/2:i.top,right:l?(i.right-i.left)/2:i.right,bottom:c?(i.bottom-i.top)/2:i.bottom,left:l?(i.right-i.left)/2:i.left},e.effects.createPlaceholder(o),"show"===t.mode&&(o.cssClip(r.clip),r.clip=i),o.animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("drop","hide",(function(t,n){var i,r=e(this),o="show"===t.mode,a=t.direction||"left",s="up"===a||"down"===a?"top":"left",l="up"===a||"left"===a?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};e.effects.createPlaceholder(r),i=t.distance||r["top"===s?"outerHeight":"outerWidth"](!0)/2,u[s]=l+i,o&&(r.css(u),u[s]=c+i,u.opacity=1),r.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("explode","hide",(function(t,n){function i(){v.push(this),v.length===u*d&&(p.css({visibility:"visible"}),e(v).remove(),n())}var r,o,a,s,l,c,u=t.pieces?Math.round(Math.sqrt(t.pieces)):3,d=u,p=e(this),h="show"===t.mode,f=p.show().css("visibility","hidden").offset(),g=Math.ceil(p.outerWidth()/d),m=Math.ceil(p.outerHeight()/u),v=[];for(r=0;u>r;r++)for(s=f.top+r*m,c=r-(u-1)/2,o=0;d>o;o++)a=f.left+o*g,l=o-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*g,top:-r*m}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g,height:m,left:a+(h?l*g:0),top:s+(h?c*m:0),opacity:h?0:1}).animate({left:a+(h?0:l*g),top:s+(h?0:c*m),opacity:h?1:0},t.duration||500,t.easing,i)})),e.effects.define("fade","toggle",(function(t,n){var i="show"===t.mode;e(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("fold","hide",(function(t,n){var i=e(this),r=t.mode,o="show"===r,a="hide"===r,s=t.size||15,l=/([0-9]+)%/.exec(s),c=t.horizFirst?["right","bottom"]:["bottom","right"],u=t.duration/2,d=e.effects.createPlaceholder(i),p=i.cssClip(),h={clip:e.extend({},p)},f={clip:e.extend({},p)},g=[p[c[0]],p[c[1]]],m=i.queue().length;l&&(s=parseInt(l[1],10)/100*g[a?0:1]),h.clip[c[0]]=s,f.clip[c[0]]=s,f.clip[c[1]]=0,o&&(i.cssClip(f.clip),d&&d.css(e.effects.clipToBox(f)),f.clip=p),i.queue((function(n){d&&d.animate(e.effects.clipToBox(h),u,t.easing).animate(e.effects.clipToBox(f),u,t.easing),n()})).animate(h,u,t.easing).animate(f,u,t.easing).queue(n),e.effects.unshift(i,m,4)})),e.effects.define("highlight","show",(function(t,n){var i=e(this),r={backgroundColor:i.css("backgroundColor")};"hide"===t.mode&&(r.opacity=0),e.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),e.effects.define("size",(function(t,n){var i,r,o,a=e(this),s=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=t.mode,d="effect"!==u,p=t.scale||"both",h=t.origin||["middle","center"],f=a.css("position"),g=a.position(),m=e.effects.scaledDimensions(a),v=t.from||m,b=t.to||e.effects.scaledDimensions(a,0);e.effects.createPlaceholder(a),"show"===u&&(o=v,v=b,b=o),r={from:{y:v.height/m.height,x:v.width/m.width},to:{y:b.height/m.height,x:b.width/m.width}},("box"===p||"both"===p)&&(r.from.y!==r.to.y&&(v=e.effects.setTransition(a,l,r.from.y,v),b=e.effects.setTransition(a,l,r.to.y,b)),r.from.x!==r.to.x&&(v=e.effects.setTransition(a,c,r.from.x,v),b=e.effects.setTransition(a,c,r.to.x,b))),("content"===p||"both"===p)&&r.from.y!==r.to.y&&(v=e.effects.setTransition(a,s,r.from.y,v),b=e.effects.setTransition(a,s,r.to.y,b)),h&&(i=e.effects.getBaseline(h,m),v.top=(m.outerHeight-v.outerHeight)*i.y+g.top,v.left=(m.outerWidth-v.outerWidth)*i.x+g.left,b.top=(m.outerHeight-b.outerHeight)*i.y+g.top,b.left=(m.outerWidth-b.outerWidth)*i.x+g.left),a.css(v),("content"===p||"both"===p)&&(l=l.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),a.find("*[width]").each((function(){var n=e(this),i=e.effects.scaledDimensions(n),o={height:i.height*r.from.y,width:i.width*r.from.x,outerHeight:i.outerHeight*r.from.y,outerWidth:i.outerWidth*r.from.x},a={height:i.height*r.to.y,width:i.width*r.to.x,outerHeight:i.height*r.to.y,outerWidth:i.width*r.to.x};r.from.y!==r.to.y&&(o=e.effects.setTransition(n,l,r.from.y,o),a=e.effects.setTransition(n,l,r.to.y,a)),r.from.x!==r.to.x&&(o=e.effects.setTransition(n,c,r.from.x,o),a=e.effects.setTransition(n,c,r.to.x,a)),d&&e.effects.saveStyle(n),n.css(o),n.animate(a,t.duration,t.easing,(function(){d&&e.effects.restoreStyle(n)}))}))),a.animate(b,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){var t=a.offset();0===b.opacity&&a.css("opacity",v.opacity),d||(a.css("position","static"===f?"relative":f).offset(t),e.effects.saveStyle(a)),n()}})})),e.effects.define("scale",(function(t,n){var i=e(this),r=t.mode,o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||"effect"!==r?0:100),a=e.extend(!0,{from:e.effects.scaledDimensions(i),to:e.effects.scaledDimensions(i,o,t.direction||"both"),origin:t.origin||["middle","center"]},t);t.fade&&(a.from.opacity=1,a.to.opacity=0),e.effects.effect.size.call(this,a,n)})),e.effects.define("puff","hide",(function(t,n){var i=e.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});e.effects.effect.scale.call(this,i,n)})),e.effects.define("pulsate","show",(function(t,n){var i=e(this),r=t.mode,o="show"===r,a=2*(t.times||5)+(o||"hide"===r?1:0),s=t.duration/a,l=0,c=1,u=i.queue().length;for((o||!i.is(":visible"))&&(i.css("opacity",0).show(),l=1);a>c;c++)i.animate({opacity:l},s,t.easing),l=1-l;i.animate({opacity:l},s,t.easing),i.queue(n),e.effects.unshift(i,u,a+1)})),e.effects.define("shake",(function(t,n){var i=1,r=e(this),o=t.direction||"left",a=t.distance||20,s=t.times||3,l=2*s+1,c=Math.round(t.duration/l),u="up"===o||"down"===o?"top":"left",d="up"===o||"left"===o,p={},h={},f={},g=r.queue().length;for(e.effects.createPlaceholder(r),p[u]=(d?"-=":"+=")+a,h[u]=(d?"+=":"-=")+2*a,f[u]=(d?"-=":"+=")+2*a,r.animate(p,c,t.easing);s>i;i++)r.animate(h,c,t.easing).animate(f,c,t.easing);r.animate(h,c,t.easing).animate(p,c/2,t.easing).queue(n),e.effects.unshift(r,g,l+1)})),e.effects.define("slide","show",(function(t,n){var i,r,o=e(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},s=t.mode,l=t.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,d=t.distance||o["top"===c?"outerHeight":"outerWidth"](!0),p={};e.effects.createPlaceholder(o),i=o.cssClip(),r=o.position()[c],p[c]=(u?-1:1)*d+r,p.clip=o.cssClip(),p.clip[a[l][1]]=p.clip[a[l][0]],"show"===s&&(o.cssClip(p.clip),o.css(c,p[c]),p.clip=i,p[c]=r),o.animate(p,{queue:!1,duration:t.duration,easing:t.easing,complete:n})})),!1!==e.uiBackCompat&&e.effects.define("transfer",(function(t,n){e(this).transfer(t,n)})),e.ui.focusable=function(t,n){var i,r,o,a,s,l=t.nodeName.toLowerCase();return"area"===l?(r=(i=t.parentNode).name,!(!t.href||!r||"map"!==i.nodeName.toLowerCase())&&(o=e("img[usemap='#"+r+"']")).length>0&&o.is(":visible")):(/^(input|select|textarea|button|object)$/.test(l)?(a=!t.disabled)&&(s=e(t).closest("fieldset")[0])&&(a=!s.disabled):a="a"===l&&t.href||n,a&&e(t).is(":visible")&&function(e){for(var t=e.css("visibility");"inherit"===t;)t=(e=e.parent()).css("visibility");return"hidden"!==t}(e(t)))},e.extend(e.expr[":"],{focusable:function(t){return e.ui.focusable(t,null!=e.attr(t,"tabindex"))}}),e.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):e(this[0].form)},e.ui.formResetMixin={_formResetHandler:function(){var t=e(this);setTimeout((function(){var n=t.data("ui-form-reset-instances");e.each(n,(function(){this.refresh()}))}))},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var e=this.form.data("ui-form-reset-instances")||[];e.length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e)}},_unbindFormResetHandler:function(){if(this.form.length){var t=this.form.data("ui-form-reset-instances");t.splice(e.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===e.fn.jquery.substring(0,3)&&(e.each(["Width","Height"],(function(t,n){function i(t,n,i,o){return e.each(r,(function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),o&&(n-=parseFloat(e.css(t,"margin"+this))||0)})),n}var r="Width"===n?["Left","Right"]:["Top","Bottom"],o=n.toLowerCase(),a={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(t){return void 0===t?a["inner"+n].call(this):this.each((function(){e(this).css(o,i(this,t)+"px")}))},e.fn["outer"+n]=function(t,r){return"number"!=typeof t?a["outer"+n].call(this,t):this.each((function(){e(this).css(o,i(this,t,!0,r)+"px")}))}})),e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.ui.escapeSelector=function(){var e=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g;return function(t){return t.replace(e,"\\$1")}}(),e.fn.labels=function(){var t,n,i,r,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(r=this.eq(0).parents("label"),(i=this.attr("id"))&&(o=(t=this.eq(0).parents().last()).add(t.length?t.siblings():this.siblings()),n="label[for='"+e.ui.escapeSelector(i)+"']",r=r.add(o.find(n).addBack(n))),this.pushStack(r))},e.fn.scrollParent=function(t){var n=this.css("position"),i="absolute"===n,r=t?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter((function(){var t=e(this);return(!i||"static"!==t.css("position"))&&r.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))})).eq(0);return"fixed"!==n&&o.length?o:e(this[0].ownerDocument||document)},e.extend(e.expr[":"],{tabbable:function(t){var n=e.attr(t,"tabindex"),i=null!=n;return(!i||n>=0)&&e.ui.focusable(t,i)}}),e.fn.extend({uniqueId:function(){var e=0;return function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++e)}))}}(),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")}))}}),e.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var t=this.options;this.prevShow=this.prevHide=e(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),0>t.active&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():e()}},_createIcons:function(){var t,n,i=this.options.icons;i&&(t=e("<span>"),this._addClass(t,"ui-accordion-header-icon","ui-icon "+i.header),t.prependTo(this.headers),n=this.active.children(".ui-accordion-header-icon"),this._removeClass(n,i.header)._addClass(n,null,i.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?void this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),void("icons"===e&&(this._destroyIcons(),t&&this._createIcons())))},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var n=e.ui.keyCode,i=this.headers.length,r=this.headers.index(t.target),o=!1;switch(t.keyCode){case n.RIGHT:case n.DOWN:o=this.headers[(r+1)%i];break;case n.LEFT:case n.UP:o=this.headers[(r-1+i)%i];break;case n.SPACE:case n.ENTER:this._eventHandler(t);break;case n.HOME:o=this.headers[0];break;case n.END:o=this.headers[i-1]}o&&(e(t.target).attr("tabIndex",-1),e(o).attr("tabIndex",0),e(o).trigger("focus"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().trigger("focus")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=e()):!1===t.active?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var t,n=this.options,i=n.heightStyle,r=this.element.parent();this.active=this._findActive(n.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each((function(){var t=e(this),n=t.uniqueId().attr("id"),i=t.next(),r=i.uniqueId().attr("id");t.attr("aria-controls",r),i.attr("aria-labelledby",n)})).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(n.event),"fill"===i?(t=r.height(),this.element.siblings(":visible").each((function(){var n=e(this),i=n.css("position");"absolute"!==i&&"fixed"!==i&&(t-=n.outerHeight(!0))})),this.headers.each((function(){t-=e(this).outerHeight(!0)})),this.headers.next().each((function(){e(this).height(Math.max(0,t-e(this).innerHeight()+e(this).height()))})).css("overflow","auto")):"auto"===i&&(t=0,this.headers.next().each((function(){var n=e(this).is(":visible");n||e(this).show(),t=Math.max(t,e(this).css("height","").height()),n||e(this).hide()})).height(t))},_activate:function(t){var n=this._findActive(t)[0];n!==this.active[0]&&this._eventHandler({target:n=n||this.active[0],currentTarget:n,preventDefault:e.noop})},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):e()},_setupEvents:function(t){var n={keydown:"_keydown"};t&&e.each(t.split(" "),(function(e,t){n[t]="_eventHandler"})),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var n,i,r=this.options,o=this.active,a=e(t.currentTarget),s=a[0]===o[0],l=s&&r.collapsible,c=l?e():a.next(),u=o.next(),d={oldHeader:o,oldPanel:u,newHeader:l?e():a,newPanel:c};t.preventDefault(),s&&!r.collapsible||!1===this._trigger("beforeActivate",t,d)||(r.active=!l&&this.headers.index(a),this.active=s?e():a,this._toggle(d),this._removeClass(o,"ui-accordion-header-active","ui-state-active"),r.icons&&(n=o.children(".ui-accordion-header-icon"),this._removeClass(n,null,r.icons.activeHeader)._addClass(n,null,r.icons.header)),s||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),r.icons&&(i=a.children(".ui-accordion-header-icon"),this._removeClass(i,null,r.icons.header)._addClass(i,null,r.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(t){var n=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=i,this.options.animate?this._animate(n,i,t):(i.hide(),n.show(),this._toggleComplete(t)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):n.length&&this.headers.filter((function(){return 0===parseInt(e(this).attr("tabIndex"),10)})).attr("tabIndex",-1),n.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,t,n){var i,r,o,a=this,s=0,l=e.css("box-sizing"),c=e.length&&(!t.length||e.index()<t.index()),u=this.options.animate||{},d=c&&u.down||u,p=function(){a._toggleComplete(n)};return"number"==typeof d&&(o=d),"string"==typeof d&&(r=d),r=r||d.easing||u.easing,o=o||d.duration||u.duration,t.length?e.length?(i=e.show().outerHeight(),t.animate(this.hideProps,{duration:o,easing:r,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:o,easing:r,complete:p,step:function(e,n){n.now=Math.round(e),"height"!==n.prop?"content-box"===l&&(s+=n.now):"content"!==a.options.heightStyle&&(n.now=Math.round(i-t.outerHeight()-s),s=0)}})):t.animate(this.hideProps,o,r,p):e.animate(this.showProps,o,r,p)},_toggleComplete:function(e){var t=e.oldPanel,n=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(n){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t},e.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(t){var n=e(t.target),i=e(e.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){if(!this.previousFilter){var n=e(t.target).closest(".ui-menu-item"),i=e(t.currentTarget);n[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,n)},blur:function(t){this._delay((function(){!e.contains(this.element[0],e.ui.safeActiveElement(this.document[0]))&&this.collapseAll(t)}))},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each((function(){var t=e(this);t.data("ui-menu-submenu-caret")&&t.remove()}))},_keydown:function(t){var n,i,r,o,a=!0;switch(t.keyCode){case e.ui.keyCode.PAGE_UP:this.previousPage(t);break;case e.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case e.ui.keyCode.HOME:this._move("first","first",t);break;case e.ui.keyCode.END:this._move("last","last",t);break;case e.ui.keyCode.UP:this.previous(t);break;case e.ui.keyCode.DOWN:this.next(t);break;case e.ui.keyCode.LEFT:this.collapse(t);break;case e.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case e.ui.keyCode.ENTER:case e.ui.keyCode.SPACE:this._activate(t);break;case e.ui.keyCode.ESCAPE:this.collapse(t);break;default:a=!1,i=this.previousFilter||"",o=!1,r=t.keyCode>=96&&105>=t.keyCode?""+(t.keyCode-96):String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),r===i?o=!0:r=i+r,n=this._filterMenuItems(r),(n=o&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n).length||(r=String.fromCharCode(t.keyCode),n=this._filterMenuItems(r)),n.length?(this.focus(t,n),this.previousFilter=r,this.filterTimer=this._delay((function(){delete this.previousFilter}),1e3)):delete this.previousFilter}a&&t.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var t,n,i,r,o=this,a=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),n=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each((function(){var t=e(this),n=t.prev(),i=e("<span>").data("ui-menu-submenu-caret",!0);o._addClass(i,"ui-menu-icon","ui-icon "+a),n.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",n.attr("id"))})),this._addClass(n,"ui-menu","ui-widget ui-widget-content ui-front"),(t=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each((function(){var t=e(this);o._isDivider(t)&&o._addClass(t,"ui-menu-divider","ui-widget-content")})),r=(i=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!e.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e+""),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var n,i,r;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),r=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay((function(){this._close()}),this.delay),(n=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(t){var n,i,r,o,a,s;this._hasScroll()&&(n=parseFloat(e.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(e.css(this.activeMenu[0],"paddingTop"))||0,r=t.offset().top-this.activeMenu.offset().top-n-i,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),s=t.outerHeight(),0>r?this.activeMenu.scrollTop(o+r):r+s>a&&this.activeMenu.scrollTop(o+r-a+s))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay((function(){this._close(),this._open(e)}),this.delay))},_open:function(t){var n=e.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay((function(){var i=n?this.element:e(t&&t.target).closest(this.element.find(".ui-menu"));i.length||(i=this.element),this._close(i),this.blur(t),this._removeClass(i.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=i}),this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(t){return!e(t.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay((function(){this.focus(e,t)})))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var i;this.active&&(i="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),i&&i.length&&this.active||(i=this.activeMenu.find(this.options.items)[t]()),this.focus(n,i)},nextPage:function(t){var n,i,r;return this.active?void(this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each((function(){return 0>(n=e(this)).offset().top-i-r})),this.focus(t,n)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(t)},previousPage:function(t){var n,i,r;return this.active?void(this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each((function(){return(n=e(this)).offset().top-i+r>0})),this.focus(t,n)):this.focus(t,this.activeMenu.find(this.options.items).first()))):void this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||e(t.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,n)},_filterMenuItems:function(t){var n=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=RegExp("^"+n,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter((function(){return i.test(e.trim(e(this).children(".ui-menu-item-wrapper").text()))}))}}),e.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var t,n,i,r=this.element[0].nodeName.toLowerCase(),o="textarea"===r,a="input"===r;this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(r){if(this.element.prop("readOnly"))return t=!0,i=!0,void(n=!0);t=!1,i=!1,n=!1;var o=e.ui.keyCode;switch(r.keyCode){case o.PAGE_UP:t=!0,this._move("previousPage",r);break;case o.PAGE_DOWN:t=!0,this._move("nextPage",r);break;case o.UP:t=!0,this._keyEvent("previous",r);break;case o.DOWN:t=!0,this._keyEvent("next",r);break;case o.ENTER:this.menu.active&&(t=!0,r.preventDefault(),this.menu.select(r));break;case o.TAB:this.menu.active&&this.menu.select(r);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(r),r.preventDefault());break;default:n=!0,this._searchTimeout(r)}},keypress:function(i){if(t)return t=!1,void((!this.isMultiLine||this.menu.element.is(":visible"))&&i.preventDefault());if(!n){var r=e.ui.keyCode;switch(i.keyCode){case r.PAGE_UP:this._move("previousPage",i);break;case r.PAGE_DOWN:this._move("nextPage",i);break;case r.UP:this._keyEvent("previous",i);break;case r.DOWN:this._keyEvent("next",i)}}},input:function(e){return i?(i=!1,void e.preventDefault()):void this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),void this._change(e))}}),this._initSource(),this.menu=e("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay((function(){delete this.cancelBlur,this.element[0]!==e.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")}))},menufocus:function(t,n){var i,r;return this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type))?(this.menu.blur(),void this.document.one("mousemove",(function(){e(t.target).trigger(t.originalEvent)}))):(r=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:r})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value),void((i=n.item.attr("aria-label")||r.value)&&e.trim(i).length&&(this.liveRegion.children().hide(),e("<div>").text(i).appendTo(this.liveRegion))))},menuselect:function(t,n){var i=n.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==e.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=r,this._delay((function(){this.previous=r,this.selectedItem=i}))),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=e("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var n=this.menu.element[0];return t.target===this.element[0]||t.target===n||e.contains(n,t.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,n,i=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(n,i){i(e.ui.autocomplete.filter(t,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,r){i.xhr&&i.xhr.abort(),i.xhr=e.ajax({url:n,data:t,dataType:"json",success:function(e){r(e)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay((function(){var t=this.term===this._value(),n=this.menu.element.is(":visible");(!t||t&&!n&&!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey))&&(this.selectedItem=null,this.search(null,e))}),this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return e.proxy((function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}),this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,(function(t){return"string"==typeof t?{label:t,value:t}:e.extend({},t,{label:t.label||t.value,value:t.value||t.label})}))},_suggest:function(t){var n=this.menu.element.empty();this._renderMenu(n,t),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,n){var i=this;e.each(n,(function(e,n){i._renderItemData(t,n)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,n){return e("<li>").append(e("<div>").text(n.label)).appendTo(t)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t):void this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,n){var i=RegExp(e.ui.autocomplete.escapeRegex(n),"i");return e.grep(t,(function(e){return i.test(e.label||e.value||e)}))}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),e("<div>").text(n).appendTo(this.liveRegion))}});var h,f=/ui-corner-([a-z]){2,6}/g;e.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var t=this,n=[];e.each(this.options.items,(function(i,r){var o,a={};return r?"controlgroupLabel"===i?((o=t.element.find(r)).each((function(){var t=e(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")})),t._addClass(o,null,"ui-widget ui-widget-content ui-state-default"),void(n=n.concat(o.get()))):void(e.fn[i]&&(a=t["_"+i+"Options"]?t["_"+i+"Options"]("middle"):{classes:{}},t.element.find(r).each((function(){var r=e(this),o=r[i]("instance"),s=e.widget.extend({},a);if("button"!==i||!r.parent(".ui-spinner").length){o||(o=r[i]()[i]("instance")),o&&(s.classes=t._resolveClassesValues(s.classes,o)),r[i](s);var l=r[i]("widget");e.data(l[0],"ui-controlgroup-data",o||r[i]("instance")),n.push(l[0])}})))):void 0})),this.childWidgets=e(e.unique(n)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each((function(){var n=e(this).data("ui-controlgroup-data");n&&n[t]&&n[t]()}))},_updateCornerClass:function(e,t){var n=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,n)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,i={classes:{}};return i.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],i},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(t,n){var i={};return e.each(t,(function(r){var o=n.options.classes[r]||"";o=e.trim(o.replace(f,"")),i[r]=(o+" "+t[r]).replace(/\s+/g," ")})),i},_setOption:function(e,t){return"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"===e?void this._callChildMethod(t?"disable":"enable"):void this.refresh()},refresh:function(){var t,n=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),t=this.childWidgets,this.options.onlyVisible&&(t=t.filter(":visible")),t.length&&(e.each(["first","last"],(function(e,i){var r=t[i]().data("ui-controlgroup-data");if(r&&n["_"+r.widgetName+"Options"]){var o=n["_"+r.widgetName+"Options"](1===t.length?"only":i);o.classes=n._resolveClassesValues(o.classes,r),r.element[r.widgetName](o)}else n._updateCornerClass(t[i](),i)})),this._callChildMethod("refresh"))}}),e.widget("ui.checkboxradio",[e.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,n,i=this,r=this._super()||{};return this._readType(),n=this.element.labels(),this.label=e(n[n.length-1]),this.label.length||e.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each((function(){i.originalLabel+=3===this.nodeType?e(this).text():this.outerHTML})),this.originalLabel&&(r.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(r.disabled=t),r},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||e.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,n="input[name='"+e.ui.escapeSelector(t)+"']";return t?(this.form.length?e(this.form[0].elements).filter(n):e(n).filter((function(){return 0===e(this).form().length}))).not(this.element):e([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each((function(){var t=e(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")}))},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){return"label"!==e||t?(this._super(e,t),"disabled"===e?(this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t)):void this.refresh()):void 0},_updateIcon:function(t){var n="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=e("<span>"),this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(n+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):n+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",n),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]),e.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===e.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,n){var i="iconPosition"!==t,r=i?this.options.iconPosition:n,o="top"===r||"bottom"===r;this.icon?i&&this._removeClass(this.icon,null,this.options.icon):(this.icon=e("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),i&&this._addClass(this.icon,null,n),this._attachIcon(r),o?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){(void 0===e.showLabel?this.options.showLabel:e.showLabel)||(void 0===e.icon?this.options.icon:e.icon)||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t,t&&this.element.blur())},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==e.uiBackCompat&&(e.widget("ui.button",e.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){return"text"===e?void this._super("showLabel",t):("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),void this._superApply(arguments))}}),e.fn.button=function(t){return function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?t.apply(this,arguments):(e.ui.checkboxradio||e.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}}(e.fn.button),e.fn.buttonset=function(){return e.ui.controlgroup||e.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),e.extend(e.ui,{datepicker:{version:"1.12.1"}}),e.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return r(this._defaults,e||{}),this},_attachDatepicker:function(t,n){var i,r,o;r="div"===(i=t.nodeName.toLowerCase())||"span"===i,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(o=this._newInst(e(t),r)).settings=e.extend({},n||{}),"input"===i?this._connectDatepicker(t,o):r&&this._inlineDatepicker(t,o)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,n){var i=e(t);n.append=e([]),n.trigger=e([]),i.hasClass(this.markerClassName)||(this._attachments(i,n),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(n),e.data(t,"datepicker",n),n.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,n){var i,r,o,a=this._get(n,"appendText"),s=this._get(n,"isRTL");n.append&&n.append.remove(),a&&(n.append=e("<span class='"+this._appendClass+"'>"+a+"</span>"),t[s?"before":"after"](n.append)),t.off("focus",this._showDatepicker),n.trigger&&n.trigger.remove(),("focus"===(i=this._get(n,"showOn"))||"both"===i)&&t.on("focus",this._showDatepicker),("button"===i||"both"===i)&&(r=this._get(n,"buttonText"),o=this._get(n,"buttonImage"),n.trigger=e(this._get(n,"buttonImageOnly")?e("<img/>").addClass(this._triggerClass).attr({src:o,alt:r,title:r}):e("<button type='button'></button>").addClass(this._triggerClass).html(o?e("<img/>").attr({src:o,alt:r,title:r}):r)),t[s?"before":"after"](n.trigger),n.trigger.on("click",(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1})))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,n,i,r,o=new Date(2009,11,20),a=this._get(e,"dateFormat");a.match(/[DM]/)&&(o.setMonth((t=function(e){for(n=0,i=0,r=0;e.length>r;r++)e[r].length>n&&(n=e[r].length,i=r);return i})(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),e.input.attr("size",this._formatDate(e,o).length)}},_inlineDatepicker:function(t,n){var i=e(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(n.dpDiv),e.data(t,"datepicker",n),this._setDate(n,this._getDefaultDate(n),!0),this._updateDatepicker(n),this._updateAlternate(n),n.settings.disabled&&this._disableDatepicker(t),n.dpDiv.css("display","block"))},_dialogDatepicker:function(t,n,i,o,a){var s,l,c,u,d=this._dialogInst;return d||(this.uuid+=1,this._dialogInput=e("<input type='text' id='dp"+this.uuid+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(d=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",d)),r(d.settings,o||{}),n=n&&n.constructor===Date?this._formatDate(d,n):n,this._dialogInput.val(n),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(s=document.documentElement.clientWidth,l=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+c,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),d.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",d),this},_destroyDatepicker:function(t){var n,i=e(t),r=e.data(t,"datepicker");i.hasClass(this.markerClassName)&&(n=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===n?(r.append.remove(),r.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):("div"===n||"span"===n)&&i.removeClass(this.markerClassName).empty(),h===r&&(h=null))},_enableDatepicker:function(t){var n,i,r=e(t),o=e.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(n=t.nodeName.toLowerCase())?(t.disabled=!1,o.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===n||"span"===n)&&((i=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})))},_disableDatepicker:function(t){var n,i,r=e(t),o=e.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(n=t.nodeName.toLowerCase())?(t.disabled=!0,o.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===n||"span"===n)&&((i=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,(function(e){return e===t?null:e})),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,"datepicker")}catch(n){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,n,i){var o,a,s,l,c=this._getInst(t);return 2===arguments.length&&"string"==typeof n?"defaults"===n?e.extend({},e.datepicker._defaults):c?"all"===n?e.extend({},c.settings):this._get(c,n):null:(o=n||{},"string"==typeof n&&((o={})[n]=i),void(c&&(this._curInst===c&&this._hideDatepicker(),a=this._getDateDatepicker(t,!0),s=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),r(c.settings,o),null!==s&&void 0!==o.dateFormat&&void 0===o.minDate&&(c.settings.minDate=this._formatDate(c,s)),null!==l&&void 0!==o.dateFormat&&void 0===o.maxDate&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in o&&(o.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(e(t),c),this._autoSize(c),this._setDate(c,a),this._updateAlternate(c),this._updateDatepicker(c))))},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(t){var n,i,r,o=e.datepicker._getInst(t.target),a=!0,s=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),a=!1;break;case 13:return(r=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",o.dpDiv))[0]&&e.datepicker._selectDay(t.target,o.selectedMonth,o.selectedYear,r[0]),(n=e.datepicker._get(o,"onSelect"))?(i=e.datepicker._formatDate(o),n.apply(o.input?o.input[0]:null,[i,o])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(o,"stepBigMonths"):-e.datepicker._get(o,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(o,"stepBigMonths"):+e.datepicker._get(o,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),a=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),a=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,s?1:-1,"D"),a=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(o,"stepBigMonths"):-e.datepicker._get(o,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),a=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,s?-1:1,"D"),a=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(o,"stepBigMonths"):+e.datepicker._get(o,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),a=t.ctrlKey||t.metaKey;break;default:a=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):a=!1;a&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var n,i,r=e.datepicker._getInst(t.target);return e.datepicker._get(r,"constrainInput")?(n=e.datepicker._possibleChars(e.datepicker._get(r,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||" ">i||!n||n.indexOf(i)>-1):void 0},_doKeyUp:function(t){var i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{e.datepicker.parseDate(e.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i))&&(e.datepicker._setDateFromField(i),e.datepicker._updateAlternate(i),e.datepicker._updateDatepicker(i))}catch(n){}return!0},_showDatepicker:function(t){var n,i,o,a,s,l,c;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t||(n=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==n&&(e.datepicker._curInst.dpDiv.stop(!0,!0),n&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(o=(i=e.datepicker._get(n,"beforeShow"))?i.apply(t,[t,n]):{})&&(r(n.settings,o),n.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(n),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),a=!1,e(t).parents().each((function(){return!(a|="fixed"===e(this).css("position"))})),s={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,n.dpDiv.empty(),n.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(n),s=e.datepicker._checkOffset(n,s,a),n.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":a?"fixed":"absolute",display:"none",left:s.left+"px",top:s.top+"px"}),n.inline||(l=e.datepicker._get(n,"showAnim"),c=e.datepicker._get(n,"duration"),n.dpDiv.css("z-index",function(e){for(var t,n;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(n=parseInt(e.css("zIndex"),10),!isNaN(n)&&0!==n))return n;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[l]?n.dpDiv.show(l,e.datepicker._get(n,"showOptions"),c):n.dpDiv[l||"show"](l?c:null),e.datepicker._shouldFocusInput(n)&&n.input.trigger("focus"),e.datepicker._curInst=n)))},_updateDatepicker:function(t){this.maxRows=4,h=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var n,r=this._getNumberOfMonths(t),o=r[1],a=t.dpDiv.find("."+this._dayOverClass+" a");a.length>0&&i.apply(a.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&t.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),t.dpDiv[(1!==r[0]||1!==r[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(n=t.yearshtml,setTimeout((function(){n===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),n=t.yearshtml=null}),0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,n,i){var r=t.dpDiv.outerWidth(),o=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(i?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(i?0:e(document).scrollTop());return n.left-=this._get(t,"isRTL")?r-a:0,n.left-=i&&n.left===t.input.offset().left?e(document).scrollLeft():0,n.top-=i&&n.top===t.input.offset().top+s?e(document).scrollTop():0,n.left-=Math.min(n.left,n.left+r>l&&l>r?Math.abs(n.left+r-l):0),n.top-=Math.min(n.top,n.top+o>c&&c>o?Math.abs(o+s):0),n},_findPos:function(t){for(var n,i=this._getInst(t),r=this._get(i,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[r?"previousSibling":"nextSibling"];return[(n=e(t).offset()).left,n.top]},_hideDatepicker:function(t){var n,i,r,o,a=this._curInst;!a||t&&a!==e.data(t,"datepicker")||this._datepickerShowing&&(n=this._get(a,"showAnim"),i=this._get(a,"duration"),r=function(){e.datepicker._tidyDialog(a)},e.effects&&(e.effects.effect[n]||e.effects[n])?a.dpDiv.hide(n,e.datepicker._get(a,"showOptions"),i,r):a.dpDiv["slideDown"===n?"slideUp":"fadeIn"===n?"fadeOut":"hide"](n?i:null,r),n||r(),this._datepickerShowing=!1,(o=this._get(a,"onClose"))&&o.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var n=e(t.target),i=e.datepicker._getInst(n[0]);(n[0].id!==e.datepicker._mainDivId&&0===n.parents("#"+e.datepicker._mainDivId).length&&!n.hasClass(e.datepicker.markerClassName)&&!n.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||n.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==i)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,n,i){var r=e(t),o=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(o,n+("M"===i?this._get(o,"showCurrentAtPos"):0),i),this._updateDatepicker(o))},_gotoToday:function(t){var n,i=e(t),r=this._getInst(i[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(n=new Date,r.selectedDay=n.getDate(),r.drawMonth=r.selectedMonth=n.getMonth(),r.drawYear=r.selectedYear=n.getFullYear()),this._notifyChange(r),this._adjustDate(i)},_selectMonthYear:function(t,n,i){var r=e(t),o=this._getInst(r[0]);o["selected"+("M"===i?"Month":"Year")]=o["draw"+("M"===i?"Month":"Year")]=parseInt(n.options[n.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(r)},_selectDay:function(t,n,i,r){var o,a=e(t);e(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((o=this._getInst(a[0])).selectedDay=o.currentDay=e("a",r).html(),o.selectedMonth=o.currentMonth=n,o.selectedYear=o.currentYear=i,this._selectDate(t,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(t){var n=e(t);this._selectDate(n,"")},_selectDate:function(t,n){var i,r=e(t),o=this._getInst(r[0]);n=null!=n?n:this._formatDate(o),o.input&&o.input.val(n),this._updateAlternate(o),(i=this._get(o,"onSelect"))?i.apply(o.input?o.input[0]:null,[n,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var n,i,r,o=this._get(t,"altField");o&&(n=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),r=this.formatDate(n,i,this._getFormatConfig(t)),e(o).val(r))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,n=new Date(e.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),t=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((t-n)/864e5)/7)+1},parseDate:function(t,n,i){if(null==t||null==n)throw"Invalid arguments";if(""==(n="object"==typeof n?""+n:n+""))return null;var r,o,a,s,l=0,c=(i?i.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,p=(i?i.dayNames:null)||this._defaults.dayNames,h=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,f=(i?i.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,b=-1,y=!1,M=function(e){var n=t.length>r+1&&t.charAt(r+1)===e;return n&&r++,n},w=function(e){var t=M(e),i="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,r=RegExp("^\\d{"+("y"===e?i:1)+","+i+"}"),o=n.substring(l).match(r);if(!o)throw"Missing number at position "+l;return l+=o[0].length,parseInt(o[0],10)},C=function(t,i,r){var o=-1,a=e.map(M(t)?r:i,(function(e,t){return[[t,e]]})).sort((function(e,t){return-(e[1].length-t[1].length)}));if(e.each(a,(function(e,t){var i=t[1];return n.substr(l,i.length).toLowerCase()===i.toLowerCase()?(o=t[0],l+=i.length,!1):void 0})),-1!==o)return o+1;throw"Unknown name at position "+l},A=function(){if(n.charAt(l)!==t.charAt(r))throw"Unexpected literal at position "+l;l++};for(r=0;t.length>r;r++)if(y)"'"!==t.charAt(r)||M("'")?A():y=!1;else switch(t.charAt(r)){case"d":v=w("d");break;case"D":C("D",d,p);break;case"o":b=w("o");break;case"m":m=w("m");break;case"M":m=C("M",h,f);break;case"y":g=w("y");break;case"@":g=(s=new Date(w("@"))).getFullYear(),m=s.getMonth()+1,v=s.getDate();break;case"!":g=(s=new Date((w("!")-this._ticksTo1970)/1e4)).getFullYear(),m=s.getMonth()+1,v=s.getDate();break;case"'":M("'")?A():y=!0;break;default:A()}if(n.length>l&&(a=n.substr(l),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=g?0:-100)),b>-1)for(m=1,v=b;!((o=this._getDaysInMonth(g,m-1))>=v);)m++,v-=o;if((s=this._daylightSavingAdjust(new Date(g,m-1,v))).getFullYear()!==g||s.getMonth()+1!==m||s.getDate()!==v)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,n){if(!t)return"";var i,r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,o=(n?n.dayNames:null)||this._defaults.dayNames,a=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,s=(n?n.monthNames:null)||this._defaults.monthNames,l=function(t){var n=e.length>i+1&&e.charAt(i+1)===t;return n&&i++,n},c=function(e,t,n){var i=""+t;if(l(e))for(;n>i.length;)i="0"+i;return i},u=function(e,t,n,i){return l(e)?i[t]:n[t]},d="",p=!1;if(t)for(i=0;e.length>i;i++)if(p)"'"!==e.charAt(i)||l("'")?d+=e.charAt(i):p=!1;else switch(e.charAt(i)){case"d":d+=c("d",t.getDate(),2);break;case"D":d+=u("D",t.getDay(),r,o);break;case"o":d+=c("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=c("m",t.getMonth()+1,2);break;case"M":d+=u("M",t.getMonth(),a,s);break;case"y":d+=l("y")?t.getFullYear():(10>t.getFullYear()%100?"0":"")+t.getFullYear()%100;break;case"@":d+=t.getTime();break;case"!":d+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?d+="'":p=!0;break;default:d+=e.charAt(i)}return d},_possibleChars:function(e){var t,n="",i=!1,r=function(n){var i=e.length>t+1&&e.charAt(t+1)===n;return i&&t++,i};for(t=0;e.length>t;t++)if(i)"'"!==e.charAt(t)||r("'")?n+=e.charAt(t):i=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":n+="0123456789";break;case"D":case"M":return null;case"'":r("'")?n+="'":i=!0;break;default:n+=e.charAt(t)}return n},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var n=this._get(e,"dateFormat"),i=e.lastVal=e.input?e.input.val():null,r=this._getDefaultDate(e),a=r,s=this._getFormatConfig(e);try{a=this.parseDate(n,i,s)||r}catch(o){i=t?"":i}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=i?a.getDate():0,e.currentMonth=i?a.getMonth():0,e.currentYear=i?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,n,i){var r=null==n||""===n?i:"string"==typeof n?function(n){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),n,e.datepicker._getFormatConfig(t))}catch(i){}for(var r=(n.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,o=r.getFullYear(),a=r.getMonth(),s=r.getDate(),l=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,c=l.exec(n);c;){switch(c[2]||"d"){case"d":case"D":s+=parseInt(c[1],10);break;case"w":case"W":s+=7*parseInt(c[1],10);break;case"m":case"M":a+=parseInt(c[1],10),s=Math.min(s,e.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(c[1],10),s=Math.min(s,e.datepicker._getDaysInMonth(o,a))}c=l.exec(n)}return new Date(o,a,s)}(n):"number"==typeof n?isNaN(n)?i:function(e){var t=new Date;return t.setDate(t.getDate()+e),t}(n):new Date(n.getTime());return(r=r&&"Invalid Date"==""+r?i:r)&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var i=!t,r=e.selectedMonth,o=e.selectedYear,a=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=a.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=a.getMonth(),e.drawYear=e.selectedYear=e.currentYear=a.getFullYear(),r===e.selectedMonth&&o===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(i?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var n=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map((function(){var t={prev:function(){e.datepicker._adjustDate(i,-n,"M")},next:function(){e.datepicker._adjustDate(i,+n,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(i)},selectDay:function(){return e.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(i,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])}))},_generateHTML:function(e){var t,n,i,r,o,a,s,l,c,u,d,p,h,f,g,m,v,b,y,M,w,C,A,x,S,z,T,k,$,_,O,E,L,N,D,P,q,W,R,I=new Date,B=this._daylightSavingAdjust(new Date(I.getFullYear(),I.getMonth(),I.getDate())),F=this._get(e,"isRTL"),H=this._get(e,"showButtonPanel"),X=this._get(e,"hideIfNoPrevNext"),j=this._get(e,"navigationAsDateFormat"),V=this._getNumberOfMonths(e),U=this._get(e,"showCurrentAtPos"),G=this._get(e,"stepMonths"),Y=1!==V[0]||1!==V[1],K=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),Z=e.drawMonth-U,ee=e.drawYear;if(0>Z&&(Z+=12,ee--),J)for(t=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-V[0]*V[1]+1,J.getDate())),t=Q&&Q>t?Q:t;this._daylightSavingAdjust(new Date(ee,Z,1))>t;)0>--Z&&(Z=11,ee--);for(e.drawMonth=Z,e.drawYear=ee,n=this._get(e,"prevText"),n=j?this.formatDate(n,this._daylightSavingAdjust(new Date(ee,Z-G,1)),this._getFormatConfig(e)):n,i=this._canAdjustMonth(e,-1,ee,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(F?"e":"w")+"'>"+n+"</span></a>":X?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(F?"e":"w")+"'>"+n+"</span></a>",r=this._get(e,"nextText"),r=j?this.formatDate(r,this._daylightSavingAdjust(new Date(ee,Z+G,1)),this._getFormatConfig(e)):r,o=this._canAdjustMonth(e,1,ee,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(F?"w":"e")+"'>"+r+"</span></a>":X?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(F?"w":"e")+"'>"+r+"</span></a>",a=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?K:B,a=j?this.formatDate(a,s,this._getFormatConfig(e)):a,l=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",c=H?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(F?l:"")+(this._isInRange(e,s)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(F?"":l)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,d=this._get(e,"showWeek"),p=this._get(e,"dayNames"),h=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),g=this._get(e,"monthNamesShort"),m=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),y=this._getDefaultDate(e),M="",C=0;V[0]>C;C++){for(A="",this.maxRows=4,x=0;V[1]>x;x++){if(S=this._daylightSavingAdjust(new Date(ee,Z,e.selectedDay)),z=" ui-corner-all",T="",Y){if(T+="<div class='ui-datepicker-group",V[1]>1)switch(x){case 0:T+=" ui-datepicker-group-first",z=" ui-corner-"+(F?"right":"left");break;case V[1]-1:T+=" ui-datepicker-group-last",z=" ui-corner-"+(F?"left":"right");break;default:T+=" ui-datepicker-group-middle",z=""}T+="'>"}for(T+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+z+"'>"+(/all|left/.test(z)&&0===C?F?o:i:"")+(/all|right/.test(z)&&0===C?F?i:o:"")+this._generateMonthYearHeader(e,Z,ee,Q,J,C>0||x>0,f,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",k=d?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",w=0;7>w;w++)k+="<th scope='col'"+((w+u+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+p[$=(w+u)%7]+"'>"+h[$]+"</span></th>";for(T+=k+"</tr></thead><tbody>",_=this._getDaysInMonth(ee,Z),ee===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,_)),O=(this._getFirstDayOfMonth(ee,Z)-u+7)%7,E=Math.ceil((O+_)/7),this.maxRows=L=Y&&this.maxRows>E?this.maxRows:E,N=this._daylightSavingAdjust(new Date(ee,Z,1-O)),D=0;L>D;D++){for(T+="<tr>",P=d?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(N)+"</td>":"",w=0;7>w;w++)q=m?m.apply(e.input?e.input[0]:null,[N]):[!0,""],R=(W=N.getMonth()!==Z)&&!b||!q[0]||Q&&Q>N||J&&N>J,P+="<td class='"+((w+u+6)%7>=5?" ui-datepicker-week-end":"")+(W?" ui-datepicker-other-month":"")+(N.getTime()===S.getTime()&&Z===e.selectedMonth&&e._keyEvent||y.getTime()===N.getTime()&&y.getTime()===S.getTime()?" "+this._dayOverClass:"")+(R?" "+this._unselectableClass+" ui-state-disabled":"")+(W&&!v?"":" "+q[1]+(N.getTime()===K.getTime()?" "+this._currentClass:"")+(N.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(W&&!v||!q[2]?"":" title='"+q[2].replace(/'/g,"&#39;")+"'")+(R?"":" data-handler='selectDay' data-event='click' data-month='"+N.getMonth()+"' data-year='"+N.getFullYear()+"'")+">"+(W&&!v?"&#xa0;":R?"<span class='ui-state-default'>"+N.getDate()+"</span>":"<a class='ui-state-default"+(N.getTime()===B.getTime()?" ui-state-highlight":"")+(N.getTime()===K.getTime()?" ui-state-active":"")+(W?" ui-priority-secondary":"")+"' href='#'>"+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);T+=P+"</tr>"}++Z>11&&(Z=0,ee++),A+=T+="</tbody></table>"+(Y?"</div>"+(V[0]>0&&x===V[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}M+=A}return M+=c,e._keyEvent=!1,M},_generateMonthYearHeader:function(e,t,n,i,r,o,a,s){var l,c,u,d,p,h,f,g,m=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),b=this._get(e,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",M="";if(o||!m)M+="<span class='ui-datepicker-month'>"+a[t]+"</span>";else{for(l=i&&i.getFullYear()===n,c=r&&r.getFullYear()===n,M+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;12>u;u++)(!l||u>=i.getMonth())&&(!c||r.getMonth()>=u)&&(M+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+s[u]+"</option>");M+="</select>"}if(b||(y+=M+(!o&&m&&v?"":"&#xa0;")),!e.yearshtml)if(e.yearshtml="",o||!v)y+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(d=this._get(e,"yearRange").split(":"),p=(new Date).getFullYear(),f=(h=function(e){var t=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?p+parseInt(e,10):parseInt(e,10);return isNaN(t)?p:t})(d[0]),g=Math.max(f,h(d[1]||"")),f=i?Math.max(f,i.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";g>=f;f++)e.yearshtml+="<option value='"+f+"'"+(f===n?" selected='selected'":"")+">"+f+"</option>";e.yearshtml+="</select>",y+=e.yearshtml,e.yearshtml=null}return y+=this._get(e,"yearSuffix"),b&&(y+=(!o&&m&&v?"":"&#xa0;")+M),y+"</div>"},_adjustInstDate:function(e,t,n){var i=e.selectedYear+("Y"===n?t:0),r=e.selectedMonth+("M"===n?t:0),o=Math.min(e.selectedDay,this._getDaysInMonth(i,r))+("D"===n?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(i,r,o)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),("M"===n||"Y"===n)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),i=this._getMinMaxDate(e,"max"),r=n&&n>t?n:t;return i&&r>i?i:r},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,i){var r=this._getNumberOfMonths(e),o=this._daylightSavingAdjust(new Date(n,i+(0>t?t:r[0]*r[1]),1));return 0>t&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(e,o)},_isInRange:function(e,t){var n,i,r=this._getMinMaxDate(e,"min"),o=this._getMinMaxDate(e,"max"),a=null,s=null,l=this._get(e,"yearRange");return l&&(n=l.split(":"),i=(new Date).getFullYear(),a=parseInt(n[0],10),s=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(a+=i),n[1].match(/[+\-].*/)&&(s+=i)),(!r||t.getTime()>=r.getTime())&&(!o||t.getTime()<=o.getTime())&&(!a||t.getFullYear()>=a)&&(!s||s>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,i){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var r=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(i,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),r,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var n=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(n)):this.each((function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(n)):e.datepicker._attachDatepicker(this,t)})):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(n))},e.datepicker=new t,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.12.1",e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var g=!1;e(document).on("mouseup",(function(){g=!1})),e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(n){return!0===e.data(n.target,t.widgetName+".preventClickEvent")?(e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1):void 0})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!g){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var n=this,i=1===t.which,r=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&e(t.target).closest(this.options.cancel).length;return!(i&&!r&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),g=!0,0)))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,g=!1,t.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.ui.plugin={add:function(t,n,i){var r,o=e.ui[t].prototype;for(r in i)o.plugins[r]=o.plugins[r]||[],o.plugins[r].push([n,i[r]])},call:function(e,t,n,i){var r,o=e.plugins[t];if(o&&(i||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(r=0;o.length>r;r++)e.options[o[r][0]]&&o[r][1].apply(e.element,n)}},e.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&e(t).trigger("blur")},e.widget("ui.draggable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(t){var n=this.options;return!(this.helper||n.disabled||e(t.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(t),!this.handle||(this._blurActiveElement(t),this._blockFrames(!0===n.iframeFix?"iframe":n.iframeFix),0)))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map((function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var n=e.ui.safeActiveElement(this.document[0]);e(t.target).closest(n).length||e.ui.safeBlur(n)},_mouseStart:function(t){var n=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter((function(){return"fixed"===e(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!n.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,n){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!n){var i=this._uiHash();if(!1===this._trigger("drag",t,i))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=i.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var n=this,i=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(i=e.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==n._trigger("stop",t)&&n._clear()})):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var n=this.options,i=e.isFunction(n.helper),r=i?e(n.helper.apply(this.element[0],[t])):"clone"===n.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===n.appendTo?this.element[0].parentNode:n.appendTo),i&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,n,i,r=this.options,o=this.document[0];return this.relativeContainer=null,r.containment?"window"===r.containment?void(this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===r.containment?void(this.containment=[0,0,e(o).width()-this.helperProportions.width-this.margins.left,(e(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):r.containment.constructor===Array?void(this.containment=r.containment):("parent"===r.containment&&(r.containment=this.helper[0].parentNode),void((i=(n=e(r.containment))[0])&&(t=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n))):void(this.containment=null)},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*n}},_generatePosition:function(e,t){var n,i,r,o,a=this.options,s=this._isRootNode(this.scrollParent[0]),l=e.pageX,c=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(i=this.relativeContainer.offset(),n=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):n=this.containment,e.pageX-this.offset.click.left<n[0]&&(l=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(c=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(l=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3]&&(c=n[3]+this.offset.click.top)),a.grid&&(r=a.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,c=n?r-this.offset.click.top>=n[1]||r-this.offset.click.top>n[3]?r:r-this.offset.click.top>=n[1]?r-a.grid[1]:r+a.grid[1]:r,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=n?o-this.offset.click.left>=n[0]||o-this.offset.click.left>n[2]?o:o-this.offset.click.left>=n[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(c=this.originalPageY)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,n,i){return i=i||this._uiHash(),e.ui.plugin.call(this,t,[n,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,n,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,n,i){var r=e.extend({},n,{item:i.element});i.sortables=[],e(i.options.connectToSortable).each((function(){var n=e(this).sortable("instance");n&&!n.options.disabled&&(i.sortables.push(n),n.refreshPositions(),n._trigger("activate",t,r))}))},stop:function(t,n,i){var r=e.extend({},n,{item:i.element});i.cancelHelperRemoval=!1,e.each(i.sortables,(function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,r))}))},drag:function(t,n,i){e.each(i.sortables,(function(){var r=!1,o=this;o.positionAbs=i.positionAbs,o.helperProportions=i.helperProportions,o.offset.click=i.offset.click,o._intersectsWith(o.containerCache)&&(r=!0,e.each(i.sortables,(function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&e.contains(o.element[0],this.element[0])&&(r=!1),r}))),r?(o.isOver||(o.isOver=1,i._parent=n.helper.parent(),o.currentItem=n.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return n.helper[0]},t.target=o.currentItem[0],o._mouseCapture(t,!0),o._mouseStart(t,!0,!0),o.offset.click.top=i.offset.click.top,o.offset.click.left=i.offset.click.left,o.offset.parent.left-=i.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=i.offset.parent.top-o.offset.parent.top,i._trigger("toSortable",t),i.dropped=o.element,e.each(i.sortables,(function(){this.refreshPositions()})),i.currentItem=i.element,o.fromOutside=i),o.currentItem&&(o._mouseDrag(t),n.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",t,o._uiHash(o)),o._mouseStop(t,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),n.helper.appendTo(i._parent),i._refreshOffsets(t),n.position=i._generatePosition(t,!0),i._trigger("fromSortable",t),i.dropped=!1,e.each(i.sortables,(function(){this.refreshPositions()})))}))}}),e.ui.plugin.add("draggable","cursor",{start:function(t,n,i){var r=e("body"),o=i.options;r.css("cursor")&&(o._cursor=r.css("cursor")),r.css("cursor",o.cursor)},stop:function(t,n,i){var r=i.options;r._cursor&&e("body").css("cursor",r._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,n,i){var r=e(n.helper),o=i.options;r.css("opacity")&&(o._opacity=r.css("opacity")),r.css("opacity",o.opacity)},stop:function(t,n,i){var r=i.options;r._opacity&&e(n.helper).css("opacity",r._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(t,n,i){var r=i.options,o=!1,a=i.scrollParentNotHidden[0],s=i.document[0];a!==s&&"HTML"!==a.tagName?(r.axis&&"x"===r.axis||(i.overflowOffset.top+a.offsetHeight-t.pageY<r.scrollSensitivity?a.scrollTop=o=a.scrollTop+r.scrollSpeed:t.pageY-i.overflowOffset.top<r.scrollSensitivity&&(a.scrollTop=o=a.scrollTop-r.scrollSpeed)),r.axis&&"y"===r.axis||(i.overflowOffset.left+a.offsetWidth-t.pageX<r.scrollSensitivity?a.scrollLeft=o=a.scrollLeft+r.scrollSpeed:t.pageX-i.overflowOffset.left<r.scrollSensitivity&&(a.scrollLeft=o=a.scrollLeft-r.scrollSpeed))):(r.axis&&"x"===r.axis||(t.pageY-e(s).scrollTop()<r.scrollSensitivity?o=e(s).scrollTop(e(s).scrollTop()-r.scrollSpeed):e(window).height()-(t.pageY-e(s).scrollTop())<r.scrollSensitivity&&(o=e(s).scrollTop(e(s).scrollTop()+r.scrollSpeed))),r.axis&&"y"===r.axis||(t.pageX-e(s).scrollLeft()<r.scrollSensitivity?o=e(s).scrollLeft(e(s).scrollLeft()-r.scrollSpeed):e(window).width()-(t.pageX-e(s).scrollLeft())<r.scrollSensitivity&&(o=e(s).scrollLeft(e(s).scrollLeft()+r.scrollSpeed)))),!1!==o&&e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(i,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,n,i){var r=i.options;i.snapElements=[],e(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each((function(){var t=e(this),n=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:n.top,left:n.left})}))},drag:function(t,n,i){var r,o,a,s,l,c,u,d,p,h,f=i.options,g=f.snapTolerance,m=n.offset.left,v=m+i.helperProportions.width,b=n.offset.top,y=b+i.helperProportions.height;for(p=i.snapElements.length-1;p>=0;p--)c=(l=i.snapElements[p].left-i.margins.left)+i.snapElements[p].width,d=(u=i.snapElements[p].top-i.margins.top)+i.snapElements[p].height,l-g>v||m>c+g||u-g>y||b>d+g||!e.contains(i.snapElements[p].item.ownerDocument,i.snapElements[p].item)?(i.snapElements[p].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,t,e.extend(i._uiHash(),{snapItem:i.snapElements[p].item})),i.snapElements[p].snapping=!1):("inner"!==f.snapMode&&(r=g>=Math.abs(u-y),o=g>=Math.abs(d-b),a=g>=Math.abs(l-v),s=g>=Math.abs(c-m),r&&(n.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),o&&(n.position.top=i._convertPositionTo("relative",{top:d,left:0}).top),a&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:c}).left)),h=r||o||a||s,"outer"!==f.snapMode&&(r=g>=Math.abs(u-b),o=g>=Math.abs(d-y),a=g>=Math.abs(l-m),s=g>=Math.abs(c-v),r&&(n.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),o&&(n.position.top=i._convertPositionTo("relative",{top:d-i.helperProportions.height,left:0}).top),a&&(n.position.left=i._convertPositionTo("relative",{top:0,left:l}).left),s&&(n.position.left=i._convertPositionTo("relative",{top:0,left:c-i.helperProportions.width}).left)),!i.snapElements[p].snapping&&(r||o||a||s||h)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,t,e.extend(i._uiHash(),{snapItem:i.snapElements[p].item})),i.snapElements[p].snapping=r||o||a||s||h)}}),e.ui.plugin.add("draggable","stack",{start:function(t,n,i){var r,o=e.makeArray(e(i.options.stack)).sort((function(t,n){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(n).css("zIndex"),10)||0)}));o.length&&(r=parseInt(e(o[0]).css("zIndex"),10)||0,e(o).each((function(t){e(this).css("zIndex",r+t)})),this.css("zIndex",r+o.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,n,i){var r=e(n.helper),o=i.options;r.css("zIndex")&&(o._zIndex=r.css("zIndex")),r.css("zIndex",o.zIndex)},stop:function(t,n,i){var r=i.options;r._zIndex&&e(n.helper).css("zIndex",r._zIndex)}}),e.widget("ui.resizable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(t,n){if("hidden"===e(t).css("overflow"))return!1;var i=n&&"left"===n?"scrollLeft":"scrollTop",r=!1;return t[i]>0||(t[i]=1,r=t[i]>0,t[i]=0,r)},_create:function(){var t,n=this.options,i=this;this._addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(e("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),n.autoHide&&e(this.element).on("mouseenter",(function(){n.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())})).on("mouseleave",(function(){n.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,n=function(t){e(t).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(n(this.element),this.originalElement.css({position:(t=this.element).css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),n(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var t,n,i,r,o,a=this.options,s=this;if(this.handles=a.handles||(e(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=e(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},n=0;i.length>n;n++)r="ui-resizable-"+(t=e.trim(i[n])),o=e("<div>"),this._addClass(o,"ui-resizable-handle "+r),o.css({zIndex:a.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.append(o);this._renderAxis=function(t){var n,i,r,o;for(n in t=t||this.element,this.handles)this.handles[n].constructor===String?this.handles[n]=this.element.children(this.handles[n]).first().show():(this.handles[n].jquery||this.handles[n].nodeType)&&(this.handles[n]=e(this.handles[n]),this._on(this.handles[n],{mousedown:s._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=e(this.handles[n],this.element),o=/sw|ne|nw|se|n|s/.test(n)?i.outerHeight():i.outerWidth(),r=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join(""),t.css(r,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[n])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){s.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=o&&o[1]?o[1]:"se")})),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(t){var n,i,r=!1;for(n in this.handles)((i=e(this.handles[n])[0])===t.target||e.contains(i,t.target))&&(r=!0);return!this.options.disabled&&r},_mouseStart:function(t){var n,i,r,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),n=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),o.containment&&(n+=e(o.containment).scrollLeft()||0,i+=e(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:n,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor","auto"===r?this.axis+"-resize":r),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var n,i,r=this.originalMousePosition,o=t.pageX-r.left||0,a=t.pageY-r.top||0,s=this._change[this.axis];return this._updatePrevProperties(),!!s&&(n=s.apply(this,[t,o,a]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(n=this._updateRatio(n,t)),n=this._respectSize(n,t),this._updateCache(n),this._propagate("resize",t),i=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(i)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges()),!1)},_mouseStop:function(t){this.resizing=!1;var n,i,r,o,a,s,l,c=this.options,u=this;return this._helper&&(r=(i=(n=this._proportionallyResizeElements).length&&/textarea/i.test(n[0].nodeName))&&this._hasScroll(n[0],"left")?0:u.sizeDiff.height,o=i?0:u.sizeDiff.width,a={width:u.helper.width()-o,height:u.helper.height()-r},s=parseFloat(u.element.css("left"))+(u.position.left-u.originalPosition.left)||null,l=parseFloat(u.element.css("top"))+(u.position.top-u.originalPosition.top)||null,c.animate||this.element.css(e.extend(a,{top:l,left:s})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!c.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,n,i,r,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||e)&&(i=o.minWidth/this.aspectRatio,n=o.maxHeight*this.aspectRatio,r=o.maxWidth/this.aspectRatio,(t=o.minHeight*this.aspectRatio)>o.minWidth&&(o.minWidth=t),i>o.minHeight&&(o.minHeight=i),o.maxWidth>n&&(o.maxWidth=n),o.maxHeight>r&&(o.maxHeight=r)),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,n=this.size,i=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===i&&(e.left=t.left+(n.width-e.width),e.top=null),"nw"===i&&(e.top=t.top+(n.height-e.height),e.left=t.left+(n.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,n=this.axis,i=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,r=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,o=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,a=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,s=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return o&&(e.width=t.minWidth),a&&(e.height=t.minHeight),i&&(e.width=t.maxWidth),r&&(e.height=t.maxHeight),o&&c&&(e.left=s-t.minWidth),i&&c&&(e.left=s-t.maxWidth),a&&u&&(e.top=l-t.minHeight),r&&u&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,n=[],i=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],r=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];4>t;t++)n[t]=parseFloat(i[t])||0,n[t]+=parseFloat(r[t])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,n=this.helper||this.element;this._proportionallyResizeElements.length>t;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var t=this.options;this.elementOffset=this.element.offset(),this._helper?(this.helper=this.helper||e("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){return{left:this.originalPosition.left+t,width:this.originalSize.width-t}},n:function(e,t,n){return{top:this.originalPosition.top+n,height:this.originalSize.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(t,n,i){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,n,i]))},sw:function(t,n,i){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,n,i]))},ne:function(t,n,i){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,n,i]))},nw:function(t,n,i){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,n,i]))}},_propagate:function(t,n){e.ui.plugin.call(this,t,[n,this.ui()]),"resize"!==t&&this._trigger(t,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),e.ui.plugin.add("resizable","animate",{stop:function(t){var n=e(this).resizable("instance"),i=n.options,r=n._proportionallyResizeElements,o=r.length&&/textarea/i.test(r[0].nodeName),a=o&&n._hasScroll(r[0],"left")?0:n.sizeDiff.height,s={width:n.size.width-(o?0:n.sizeDiff.width),height:n.size.height-a},l=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,c=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(e.extend(s,c&&l?{top:c,left:l}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var i={width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};r&&r.length&&e(r[0]).css({width:i.width,height:i.height}),n._updateCache(i),n._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var t,n,i,r,o,a,s,l=e(this).resizable("instance"),c=l.element,u=l.options.containment,d=u instanceof e?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(l.containerElement=e(d),/document/.test(u)||u===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(t=e(d),n=[],e(["Top","Right","Left","Bottom"]).each((function(e,i){n[e]=l._num(t.css("padding"+i))})),l.containerOffset=t.offset(),l.containerPosition=t.position(),l.containerSize={height:t.innerHeight()-n[3],width:t.innerWidth()-n[1]},i=l.containerOffset,r=l.containerSize.height,o=l.containerSize.width,a=l._hasScroll(d,"left")?d.scrollWidth:o,s=l._hasScroll(d)?d.scrollHeight:r,l.parentData={element:d,left:i.left,top:i.top,width:a,height:s}))},resize:function(t){var n,i,r,o,a=e(this).resizable("instance"),s=a.options,l=a.containerOffset,c=a.position,u=a._aspectRatio||t.shiftKey,d={top:0,left:0},p=a.containerElement,h=!0;p[0]!==document&&/static/.test(p.css("position"))&&(d=l),c.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-d.left),u&&(a.size.height=a.size.width/a.aspectRatio,h=!1),a.position.left=s.helper?l.left:0),c.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),u&&(a.size.width=a.size.height*a.aspectRatio,h=!1),a.position.top=a._helper?l.top:0),r=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),r&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),n=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-d.left:a.offset.left-l.left)),i=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-d.top:a.offset.top-l.top)),n+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-n,u&&(a.size.height=a.size.width/a.aspectRatio,h=!1)),i+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-i,u&&(a.size.width=a.size.height*a.aspectRatio,h=!1)),h||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var t=e(this).resizable("instance"),n=t.options,i=t.containerOffset,r=t.containerPosition,o=t.containerElement,a=e(t.helper),s=a.offset(),l=a.outerWidth()-t.sizeDiff.width,c=a.outerHeight()-t.sizeDiff.height;t._helper&&!n.animate&&/relative/.test(o.css("position"))&&e(this).css({left:s.left-r.left-i.left,width:l,height:c}),t._helper&&!n.animate&&/static/.test(o.css("position"))&&e(this).css({left:s.left-r.left-i.left,width:l,height:c})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).resizable("instance");e(t.options.alsoResize).each((function(){var t=e(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})}))},resize:function(t,n){var i=e(this).resizable("instance"),r=i.originalSize,o=i.originalPosition,a={height:i.size.height-r.height||0,width:i.size.width-r.width||0,top:i.position.top-o.top||0,left:i.position.left-o.left||0};e(i.options.alsoResize).each((function(){var t=e(this),i=e(this).data("ui-resizable-alsoresize"),r={},o=t.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,(function(e,t){var n=(i[t]||0)+(a[t]||0);n&&n>=0&&(r[t]=n||null)})),t.css(r)}))},stop:function(){e(this).removeData("ui-resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).resizable("instance"),n=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==e.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t,n=e(this).resizable("instance"),i=n.options,r=n.size,o=n.originalSize,a=n.originalPosition,s=n.axis,l="number"==typeof i.grid?[i.grid,i.grid]:i.grid,c=l[0]||1,u=l[1]||1,d=Math.round((r.width-o.width)/c)*c,p=Math.round((r.height-o.height)/u)*u,h=o.width+d,f=o.height+p,g=i.maxWidth&&h>i.maxWidth,m=i.maxHeight&&f>i.maxHeight,v=i.minWidth&&i.minWidth>h,b=i.minHeight&&i.minHeight>f;i.grid=l,v&&(h+=c),b&&(f+=u),g&&(h-=c),m&&(f-=u),/^(se|s|e)$/.test(s)?(n.size.width=h,n.size.height=f):/^(ne)$/.test(s)?(n.size.width=h,n.size.height=f,n.position.top=a.top-p):/^(sw)$/.test(s)?(n.size.width=h,n.size.height=f,n.position.left=a.left-d):((0>=f-u||0>=h-c)&&(t=n._getPaddingPlusBorderDimensions(this)),f-u>0?(n.size.height=f,n.position.top=a.top-p):(n.size.height=f=u-t.height,n.position.top=a.top+o.height-f),h-c>0?(n.size.width=h,n.position.left=a.left-d):(n.size.width=h=c-t.width,n.position.left=a.left+o.width-h))}}),e.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var n=e(this).css(t).offset().top;0>n&&e(this).css("top",t.top-n)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&e.fn.draggable&&this._makeDraggable(),this.options.resizable&&e.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?e(t):this.document.find(t||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var n=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||e.ui.safeBlur(e.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,(function(){n._trigger("close",t)})))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,n){var i=!1,r=this.uiDialog.siblings(".ui-front:visible").map((function(){return+e(this).css("z-index")})).get(),o=Math.max.apply(null,r);return o>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",o+1),i=!0),i&&!n&&this._trigger("focus",t),i},open:function(){var t=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=e(e.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,(function(){t._focusTabbable(),t._trigger("focus")})),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).trigger("focus")},_keepFocus:function(t){function n(){var t=e.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||e.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),n.call(this),this._delay(n)},_createWrapper:function(){this.uiDialog=e("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===e.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);if(t.keyCode===e.ui.keyCode.TAB&&!t.isDefaultPrevented()){var n=this.uiDialog.find(":tabbable"),i=n.filter(":first"),r=n.filter(":last");t.target!==r[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay((function(){r.trigger("focus")})),t.preventDefault()):(this._delay((function(){i.trigger("focus")})),t.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=e("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(t){e(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=e("<button type='button'></button>").button({label:e("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),t=e("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,"ui-dialog-title"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=e("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=e("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var t=this,n=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObject(n)||e.isArray(n)&&!n.length?void this._removeClass(this.uiDialog,"ui-dialog-buttons"):(e.each(n,(function(n,i){var r,o;i=e.isFunction(i)?{click:i,text:n}:i,i=e.extend({type:"button"},i),r=i.click,o={icon:i.icon,iconPosition:i.iconPosition,showLabel:i.showLabel,icons:i.icons,text:i.text},delete i.click,delete i.icon,delete i.iconPosition,delete i.showLabel,delete i.icons,"boolean"==typeof i.text&&delete i.text,e("<button></button>",i).button(o).appendTo(t.uiButtonSet).on("click",(function(){r.apply(t.element[0],arguments)}))})),this._addClass(this.uiDialog,"ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function t(e){return{position:e.position,offset:e.offset}}var n=this,i=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,r){n._addClass(e(this),"ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",i,t(r))},drag:function(e,i){n._trigger("drag",e,t(i))},stop:function(r,o){var a=o.offset.left-n.document.scrollLeft(),s=o.offset.top-n.document.scrollTop();i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(s>=0?"+":"")+s,of:n.window},n._removeClass(e(this),"ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",r,t(o))}})},_makeResizable:function(){function t(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var n=this,i=this.options,r=i.resizable,o=this.uiDialog.css("position"),a="string"==typeof r?r:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:a,start:function(i,r){n._addClass(e(this),"ui-dialog-resizing"),n._blockFrames(),n._trigger("resizeStart",i,t(r))},resize:function(e,i){n._trigger("resize",e,t(i))},stop:function(r,o){var a=n.uiDialog.offset(),s=a.left-n.document.scrollLeft(),l=a.top-n.document.scrollTop();i.height=n.uiDialog.height(),i.width=n.uiDialog.width(),i.position={my:"left top",at:"left"+(s>=0?"+":"")+s+" top"+(l>=0?"+":"")+l,of:n.window},n._removeClass(e(this),"ui-dialog-resizing"),n._unblockFrames(),n._trigger("resizeStop",r,t(o))}}).css("position",o)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=e(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),n=e.inArray(this,t);-1!==n&&t.splice(n,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||this.document.data("ui-dialog-instances",e=[]),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(t){var n=this,i=!1,r={};e.each(t,(function(e,t){n._setOption(e,t),e in n.sizeRelatedOptions&&(i=!0),e in n.resizableRelatedOptions&&(r[e]=t)})),i&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",r)},_setOption:function(t,n){var i,r,o=this.uiDialog;"disabled"!==t&&(this._super(t,n),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:e("<a>").text(""+this.options.closeText).html()}),"draggable"===t&&((i=o.is(":data(ui-draggable)"))&&!n&&o.draggable("destroy"),!i&&n&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((r=o.is(":data(ui-resizable)"))&&!n&&o.resizable("destroy"),r&&"string"==typeof n&&o.resizable("option","handles",n),r||!1===n||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,n,i=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),i.minWidth>i.width&&(i.width=i.minWidth),e=this.uiDialog.css({height:"auto",width:i.width}).outerHeight(),t=Math.max(0,i.minHeight-e),n="number"==typeof i.maxHeight?Math.max(0,i.maxHeight-e):"none","auto"===i.height?this.element.css({minHeight:t,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,i.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map((function(){var t=e(this);return e("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!e(t.target).closest(".ui-dialog").length||!!e(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay((function(){t=!1})),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=e("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==e.uiBackCompat&&e.widget("ui.dialog",e.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),e.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t,n=this.options,i=n.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(i)?i:function(e){return e.is(i)},this.proportions=function(){return arguments.length?void(t=arguments[0]):t||(t={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(n.scope),n.addClasses&&this._addClass("ui-droppable")},_addToManager:function(t){e.ui.ddmanager.droppables[t]=e.ui.ddmanager.droppables[t]||[],e.ui.ddmanager.droppables[t].push(this)},_splice:function(e){for(var t=0;e.length>t;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){this._splice(e.ui.ddmanager.droppables[this.options.scope])},_setOption:function(t,n){"accept"===t?this.accept=e.isFunction(n)?n:function(e){return e.is(n)}:"scope"===t&&(this._splice(e.ui.ddmanager.droppables[this.options.scope]),this._addToManager(n)),this._super(t,n)},_activate:function(t){var n=e.ui.ddmanager.current;this._addActiveClass(),n&&this._trigger("activate",t,this.ui(n))},_deactivate:function(t){var n=e.ui.ddmanager.current;this._removeActiveClass(),n&&this._trigger("deactivate",t,this.ui(n))},_over:function(t){var n=e.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._addHoverClass(),this._trigger("over",t,this.ui(n)))},_out:function(t){var n=e.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeHoverClass(),this._trigger("out",t,this.ui(n)))},_drop:function(t,n){var i=n||e.ui.ddmanager.current,r=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each((function(){var n=e(this).droppable("instance");return n.options.greedy&&!n.options.disabled&&n.options.scope===i.options.scope&&n.accept.call(n.element[0],i.currentItem||i.element)&&m(i,e.extend(n,{offset:n.element.offset()}),n.options.tolerance,t)?(r=!0,!1):void 0})),!r&&!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(i)),this.element))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var m=e.ui.intersect=function(){function e(e,t,n){return e>=t&&t+n>e}return function(t,n,i,r){if(!n.offset)return!1;var o=(t.positionAbs||t.position.absolute).left+t.margins.left,a=(t.positionAbs||t.position.absolute).top+t.margins.top,s=o+t.helperProportions.width,l=a+t.helperProportions.height,c=n.offset.left,u=n.offset.top,d=c+n.proportions().width,p=u+n.proportions().height;switch(i){case"fit":return o>=c&&d>=s&&a>=u&&p>=l;case"intersect":return o+t.helperProportions.width/2>c&&d>s-t.helperProportions.width/2&&a+t.helperProportions.height/2>u&&p>l-t.helperProportions.height/2;case"pointer":return e(r.pageY,u,n.proportions().height)&&e(r.pageX,c,n.proportions().width);case"touch":return(a>=u&&p>=a||l>=u&&p>=l||u>a&&l>p)&&(o>=c&&d>=o||s>=c&&d>=s||c>o&&s>d);default:return!1}}}();e.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,n){var i,r,o=e.ui.ddmanager.droppables[t.options.scope]||[],a=n?n.type:null,s=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(i=0;o.length>i;i++)if(!(o[i].options.disabled||t&&!o[i].accept.call(o[i].element[0],t.currentItem||t.element))){for(r=0;s.length>r;r++)if(s[r]===o[i].element[0]){o[i].proportions().height=0;continue e}o[i].visible="none"!==o[i].element.css("display"),o[i].visible&&("mousedown"===a&&o[i]._activate.call(o[i],n),o[i].offset=o[i].element.offset(),o[i].proportions({width:o[i].element[0].offsetWidth,height:o[i].element[0].offsetHeight}))}},drop:function(t,n){var i=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),(function(){this.options&&(!this.options.disabled&&this.visible&&m(t,this,this.options.tolerance,n)&&(i=this._drop.call(this,n)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,n)))})),i},dragStart:function(t,n){t.element.parentsUntil("body").on("scroll.droppable",(function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}))},drag:function(t,n){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,n),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],(function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var i,r,o,a=m(t,this,this.options.tolerance,n),s=!a&&this.isover?"isout":a&&!this.isover?"isover":null;s&&(this.options.greedy&&(r=this.options.scope,(o=this.element.parents(":data(ui-droppable)").filter((function(){return e(this).droppable("instance").options.scope===r}))).length&&((i=e(o[0]).droppable("instance")).greedyChild="isover"===s)),i&&"isover"===s&&(i.isover=!1,i.isout=!0,i._out.call(i,n)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,n),i&&"isout"===s&&(i.isout=!1,i.isover=!0,i._over.call(i,n)))}}))},dragStop:function(t,n){t.element.parentsUntil("body").off("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,n)}},!1!==e.uiBackCompat&&e.widget("ui.droppable",e.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),e.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=e("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){return void 0===e?this.options.value:(this.options.value=this._constrainedValue(e),void this._refreshValue())},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(n.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,t===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}}),e.widget("ui.selectable",e.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t.elementPos=e(t.element[0]).offset(),t.selectees=e(t.options.filter,t.element[0]),t._addClass(t.selectees,"ui-selectee"),t.selectees.each((function(){var n=e(this),i=n.offset(),r={left:i.left-t.elementPos.left,top:i.top-t.elementPos.top};e.data(this,"selectable-item",{element:this,$element:n,left:r.left,top:r.top,right:r.left+n.outerWidth(),bottom:r.top+n.outerHeight(),startselected:!1,selected:n.hasClass("ui-selected"),selecting:n.hasClass("ui-selecting"),unselecting:n.hasClass("ui-unselecting")})}))},this.refresh(),this._mouseInit(),this.helper=e("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(t){var n=this,i=this.options;this.opos=[t.pageX,t.pageY],this.elementPos=e(this.element[0]).offset(),this.options.disabled||(this.selectees=e(i.filter,this.element[0]),this._trigger("start",t),e(i.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),i.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each((function(){var i=e.data(this,"selectable-item");i.startselected=!0,t.metaKey||t.ctrlKey||(n._removeClass(i.$element,"ui-selected"),i.selected=!1,n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",t,{unselecting:i.element}))})),e(t.target).parents().addBack().each((function(){var i,r=e.data(this,"selectable-item");return r?(i=!t.metaKey&&!t.ctrlKey||!r.$element.hasClass("ui-selected"),n._removeClass(r.$element,i?"ui-unselecting":"ui-selected")._addClass(r.$element,i?"ui-selecting":"ui-unselecting"),r.unselecting=!i,r.selecting=i,r.selected=i,i?n._trigger("selecting",t,{selecting:r.element}):n._trigger("unselecting",t,{unselecting:r.element}),!1):void 0})))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var n,i=this,r=this.options,o=this.opos[0],a=this.opos[1],s=t.pageX,l=t.pageY;return o>s&&(n=s,s=o,o=n),a>l&&(n=l,l=a,a=n),this.helper.css({left:o,top:a,width:s-o,height:l-a}),this.selectees.each((function(){var n=e.data(this,"selectable-item"),c=!1,u={};n&&n.element!==i.element[0]&&(u.left=n.left+i.elementPos.left,u.right=n.right+i.elementPos.left,u.top=n.top+i.elementPos.top,u.bottom=n.bottom+i.elementPos.top,"touch"===r.tolerance?c=!(u.left>s||o>u.right||u.top>l||a>u.bottom):"fit"===r.tolerance&&(c=u.left>o&&s>u.right&&u.top>a&&l>u.bottom),c?(n.selected&&(i._removeClass(n.$element,"ui-selected"),n.selected=!1),n.unselecting&&(i._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1),n.selecting||(i._addClass(n.$element,"ui-selecting"),n.selecting=!0,i._trigger("selecting",t,{selecting:n.element}))):(n.selecting&&((t.metaKey||t.ctrlKey)&&n.startselected?(i._removeClass(n.$element,"ui-selecting"),n.selecting=!1,i._addClass(n.$element,"ui-selected"),n.selected=!0):(i._removeClass(n.$element,"ui-selecting"),n.selecting=!1,n.startselected&&(i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0),i._trigger("unselecting",t,{unselecting:n.element}))),n.selected&&(t.metaKey||t.ctrlKey||n.startselected||(i._removeClass(n.$element,"ui-selected"),n.selected=!1,i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,i._trigger("unselecting",t,{unselecting:n.element})))))})),!1}},_mouseStop:function(t){var n=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each((function(){var i=e.data(this,"selectable-item");n._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1,i.startselected=!1,n._trigger("unselected",t,{unselected:i.element})})),e(".ui-selecting",this.element[0]).each((function(){var i=e.data(this,"selectable-item");n._removeClass(i.$element,"ui-selecting")._addClass(i.$element,"ui-selected"),i.selecting=!1,i.selected=!0,i.startselected=!0,n._trigger("selected",t,{selected:i.element})})),this._trigger("stop",t),this.helper.remove(),!1}}),e.widget("ui.selectmenu",[e.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var t=this.element.uniqueId().attr("id");this.ids={element:t,button:t+"-button",menu:t+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=e()},_drawButton:function(){var t,n=this,i=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=e("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),t=e("<span>").appendTo(this.button),this._addClass(t,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(i).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",(function(){n._rendered||n._refreshMenu()}))},_drawMenu:function(){var t=this;this.menu=e("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=e("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,n){e.preventDefault(),t._setSelection(),t._select(n.item.data("ui-selectmenu-item"),e)},focus:function(e,n){var i=n.item.data("ui-selectmenu-item");null!=t.focusIndex&&i.index!==t.focusIndex&&(t._trigger("focus",e,{item:i}),t.isOpen||t._select(i,e)),t.focusIndex=i.index,t.button.attr("aria-activedescendant",t.menuItems.eq(i.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e,t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(e.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(t){var n=e("<span>");return this._setText(n,t.label),this._addClass(n,"ui-selectmenu-text"),n},_renderMenu:function(t,n){var i=this,r="";e.each(n,(function(n,o){var a;o.optgroup!==r&&(a=e("<li>",{text:o.optgroup}),i._addClass(a,"ui-selectmenu-optgroup","ui-menu-divider"+(o.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),a.appendTo(t),r=o.optgroup),i._renderItemData(t,o)}))},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(t,n){var i=e("<li>"),r=e("<div>",{title:n.element.attr("title")});return n.disabled&&this._addClass(i,null,"ui-state-disabled"),this._setText(r,n.label),i.append(r).appendTo(t)},_setText:function(e,t){t?e.text(t):e.html("&#160;")},_move:function(e,t){var n,i,r=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),r+=":not(.ui-state-disabled)"),(i="first"===e||"last"===e?n["first"===e?"prevAll":"nextAll"](r).eq(-1):n[e+"All"](r).eq(0)).length&&this.menuInstance.focus(t,i)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(t){this.isOpen&&(e(t.target).closest(".ui-selectmenu-menu, #"+e.ui.escapeSelector(this.ids.button)).length||this.close(t))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(t){var n=!0;switch(t.keyCode){case e.ui.keyCode.TAB:case e.ui.keyCode.ESCAPE:this.close(t),n=!1;break;case e.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(t);break;case e.ui.keyCode.UP:t.altKey?this._toggle(t):this._move("prev",t);break;case e.ui.keyCode.DOWN:t.altKey?this._toggle(t):this._move("next",t);break;case e.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(t):this._toggle(t);break;case e.ui.keyCode.LEFT:this._move("prev",t);break;case e.ui.keyCode.RIGHT:this._move("next",t);break;case e.ui.keyCode.HOME:case e.ui.keyCode.PAGE_UP:this._move("first",t);break;case e.ui.keyCode.END:case e.ui.keyCode.PAGE_DOWN:this._move("last",t);break;default:this.menu.trigger(t),n=!1}n&&t.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==n&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){if("icons"===e){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,t.button)}this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;return!1===e?void this.button.css("width",""):(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),void this.button.outerWidth(e))},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(t){var n=this,i=[];t.each((function(t,r){i.push(n._parseOption(e(r),t))})),this.items=i},_parseOption:function(e,t){var n=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),e.widget("ui.slider",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,n,i=this.options,r=this.element.find(".ui-slider-handle"),o=[];for(r.length>(n=i.values&&i.values.length||1)&&(r.slice(n).remove(),r=r.slice(0,n)),t=r.length;n>t;t++)o.push("<span tabindex='0'></span>");this.handles=r.add(e(o.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:e.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),("min"===t.range||"max"===t.range)&&this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var n,i,r,o,a,s,l=this,c=this.options;return!c.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n=this._normValueFromMouse({x:t.pageX,y:t.pageY}),i=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var a=Math.abs(n-l.values(t));(i>a||i===a&&(t===l._lastChangedValue||l.values(t)===c.min))&&(i=a,r=e(this),o=t)})),!1!==this._start(t,o)&&(this._mouseSliding=!0,this._handleIndex=o,this._addClass(r,null,"ui-state-active"),r.trigger("focus"),a=r.offset(),s=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=s?{left:0,top:0}:{left:t.pageX-a.left-r.width()/2,top:t.pageY-a.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t=this._normValueFromMouse({x:e.pageX,y:e.pageY});return this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,i,r,o;return"horizontal"===this.orientation?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(i=n/t)>1&&(i=1),0>i&&(i=0),"vertical"===this.orientation&&(i=1-i),r=this._valueMax()-this._valueMin(),o=this._valueMin()+i*r,this._trimAlignValue(o)},_uiHash:function(e,t,n){var i={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(i.value=void 0!==t?t:this.values(e),i.values=n||this.values()),i},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var i,r=this.value(),o=this.values();this._hasMultipleValues()&&(i=this.values(t?0:1),r=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(i,n):Math.max(i,n)),o[t]=n),n!==r&&!1!==this._trigger("slide",e,this._uiHash(t,n,o))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(t,n){var i,r,o;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this._hasMultipleValues()?this._values(t):this.value();for(i=this.options.values,r=arguments[0],o=0;i.length>o;o+=1)i[o]=this._trimAlignValue(r[o]),this._change(null,o);this._refreshValue()},_setOption:function(t,n){var i,r=0;switch("range"===t&&!0===this.options.range&&("min"===n?(this.options.value=this._values(0),this.options.values=null):"max"===n&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),e.isArray(this.options.values)&&(r=this.options.values.length),this._super(t,n),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(n),this.handles.css("horizontal"===n?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=r-1;i>=0;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){return this._trimAlignValue(this.options.value)},_values:function(e){var t,n;if(arguments.length)return this._trimAlignValue(this.options.values[e]);if(this._hasMultipleValues()){for(t=this.options.values.slice(),n=0;t.length>n;n+=1)t[n]=this._trimAlignValue(t[n]);return t}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,i=e-n;return 2*Math.abs(n)>=t&&(i+=n>0?t:-t),parseFloat(i.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,n=t.indexOf(".");return-1===n?0:t.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,i,r,o,a=this.options.range,s=this.options,l=this,c=!this._animateOff&&s.animate,u={};this._hasMultipleValues()?this.handles.each((function(i){n=(l.values(i)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=n+"%",e(this).stop(1,1)[c?"animate":"css"](u,s.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===i&&l.range.stop(1,1)[c?"animate":"css"]({left:n+"%"},s.animate),1===i&&l.range[c?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:s.animate})):(0===i&&l.range.stop(1,1)[c?"animate":"css"]({bottom:n+"%"},s.animate),1===i&&l.range[c?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:s.animate}))),t=n})):(i=this.value(),r=this._valueMin(),o=this._valueMax(),u["horizontal"===this.orientation?"left":"bottom"]=(n=o!==r?(i-r)/(o-r)*100:0)+"%",this.handle.stop(1,1)[c?"animate":"css"](u,s.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:n+"%"},s.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-n+"%"},s.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:n+"%"},s.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-n+"%"},s.animate))},_handleEvents:{keydown:function(t){var n,i,r,o=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,o)))return}switch(r=this.options.step,n=i=this._hasMultipleValues()?this.values(o):this.value(),t.keyCode){case e.ui.keyCode.HOME:i=this._valueMin();break;case e.ui.keyCode.END:i=this._valueMax();break;case e.ui.keyCode.PAGE_UP:i=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(n===this._valueMax())return;i=this._trimAlignValue(n+r);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(n===this._valueMin())return;i=this._trimAlignValue(n-r)}this._slide(t,o,i)},keyup:function(t){var n=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,n),this._change(t,n),this._removeClass(e(t.target),null,"ui-state-active"))}}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return e>=t&&t+n>e},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var t=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),e.each(this.items,(function(){t._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;e>=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,n){var i=null,r=!1,o=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(t),e(t.target).parents().each((function(){return e.data(this,o.widgetName+"-item")===o?(i=e(this),!1):void 0})),e.data(t.target,o.widgetName+"-item")===o&&(i=e(t.target)),!i||this.options.handle&&!n&&(e(this.options.handle,i).find("*").addBack().each((function(){this===t.target&&(r=!0)})),!r)||(this.currentItem=i,this._removeCurrentsFromItems(),0)))},_mouseStart:function(t,n,i){var r,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=e("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(r=this.containers.length-1;r>=0;r--)this.containers[r]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var n,i,r,o,a=this.options,s=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=s=this.scrollParent[0].scrollTop+a.scrollSpeed:t.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=s=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=s=this.scrollParent[0].scrollLeft+a.scrollSpeed:t.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=s=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(t.pageY-this.document.scrollTop()<a.scrollSensitivity?s=this.document.scrollTop(this.document.scrollTop()-a.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<a.scrollSensitivity&&(s=this.document.scrollTop(this.document.scrollTop()+a.scrollSpeed)),t.pageX-this.document.scrollLeft()<a.scrollSensitivity?s=this.document.scrollLeft(this.document.scrollLeft()-a.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<a.scrollSensitivity&&(s=this.document.scrollLeft(this.document.scrollLeft()+a.scrollSpeed))),!1!==s&&e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n=this.items.length-1;n>=0;n--)if(r=(i=this.items[n]).item[0],(o=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&r!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==r&&!e.contains(this.placeholder[0],r)&&("semi-dynamic"!==this.options.type||!e.contains(this.element[0],r))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,n){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var i=this,r=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(a,parseInt(this.options.revert,10)||500,(function(){i._clear(t)}))}else this._clear(t,n);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var n=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e(n).each((function(){var n=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);n&&i.push((t.key||n[1]+"[]")+"="+(t.key&&t.expression?n[1]:n[2]))})),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(t){var n=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},n.each((function(){i.push(e(t.item||this).attr(t.attribute||"id")||"")})),i},_intersectsWith:function(e){var t=this.positionAbs.left,n=this.positionAbs.top,i=e.left,r=i+e.width,o=e.top,a=o+e.height,s=this.offset.click.top,l=this.offset.click.left;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?("x"===this.options.axis||n+s>o&&a>n+s)&&("y"===this.options.axis||t+l>i&&r>t+l):t+this.helperProportions.width/2>i&&r>t+this.helperProportions.width-this.helperProportions.width/2&&n+this.helperProportions.height/2>o&&a>n+this.helperProportions.height-this.helperProportions.height/2},_intersectsWithPointer:function(e){var t,n,i="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),r="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!i||!r)&&(t=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),this.floating?"right"===n||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),i=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return this.floating&&r?"right"===r&&n||"left"===r&&!n:i&&("down"===i&&t||"up"===i&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(e>0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){function n(){s.push(this)}var i,r,o,a,s=[],l=[],c=this._connectWith();if(c&&t)for(i=c.length-1;i>=0;i--)for(r=(o=e(c[i],this.document[0])).length-1;r>=0;r--)(a=e.data(o[r],this.widgetFullName))&&a!==this&&!a.options.disabled&&l.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);for(l.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=l.length-1;i>=0;i--)l[i][0].each(n);return e(s)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,(function(e){for(var n=0;t.length>n;n++)if(t[n]===e.item[0])return!1;return!0}))},_refreshItems:function(t){this.items=[],this.containers=[this];var n,i,r,o,a,s,l,c,u=this.items,d=[[e.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):e(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(n=p.length-1;n>=0;n--)for(i=(r=e(p[n],this.document[0])).length-1;i>=0;i--)(o=e.data(r[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&(d.push([e.isFunction(o.options.items)?o.options.items.call(o.element[0],t,{item:this.currentItem}):e(o.options.items,o.element),o]),this.containers.push(o));for(n=d.length-1;n>=0;n--)for(a=d[n][1],i=0,c=(s=d[n][0]).length;c>i;i++)(l=e(s[i])).data(this.widgetName+"-item",a),u.push({item:l,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(t){var n,i,r,o;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),n=this.items.length-1;n>=0;n--)(i=this.items[n]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(r=this.options.toleranceElement?e(this.options.toleranceElement,i.item):i.item,t||(i.width=r.outerWidth(),i.height=r.outerHeight()),o=r.offset(),i.left=o.left,i.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)o=this.containers[n].element.offset(),this.containers[n].containerCache.left=o.left,this.containers[n].containerCache.top=o.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(t){var n,i=(t=t||this).options;i.placeholder&&i.placeholder.constructor!==String||(n=i.placeholder,i.placeholder={element:function(){var i=t.currentItem[0].nodeName.toLowerCase(),r=e("<"+i+">",t.document[0]);return t._addClass(r,"ui-sortable-placeholder",n||t.currentItem[0].className)._removeClass(r,"ui-sortable-helper"),"tbody"===i?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("<tr>",t.document[0]).appendTo(r)):"tr"===i?t._createTrPlaceholder(t.currentItem,r):"img"===i&&r.attr("src",t.currentItem.attr("src")),n||r.css("visibility","hidden"),r},update:function(e,r){(!n||i.forcePlaceholderSize)&&(r.height()||r.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),r.width()||r.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(i.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),i.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,n){var i=this;t.children().each((function(){e("<td>&#160;</td>",i.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(n)}))},_contactContainers:function(t){var n,i,r,o,a,s,l,c,u,d,p=null,h=null;for(n=this.containers.length-1;n>=0;n--)if(!e.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(p&&e.contains(this.containers[n].element[0],p.element[0]))continue;p=this.containers[n],h=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",t,this._uiHash(this)),this.containers[n].containerCache.over=0);if(p)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(r=1e4,o=null,a=(u=p.floating||this._isFloating(this.currentItem))?"left":"top",s=u?"width":"height",d=u?"pageX":"pageY",i=this.items.length-1;i>=0;i--)e.contains(this.containers[h].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(l=this.items[i].item.offset()[a],c=!1,t[d]-l>this.items[i][s]/2&&(c=!0),r>Math.abs(t[d]-l)&&(r=Math.abs(t[d]-l),o=this.items[i],this.direction=c?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[h])return void(this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",t,this._uiHash()),this.currentContainer.containerCache.over=1));o?this._rearrange(t,o,null,!0):this._rearrange(t,null,this.containers[h].element,!0),this._trigger("change",t,this._uiHash()),this.containers[h]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1}},_createHelper:function(t){var n=this.options,i=e.isFunction(n.helper)?e(n.helper.apply(this.element[0],[t,this.currentItem])):"clone"===n.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||e("parent"!==n.appendTo?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!i[0].style.width||n.forceHelperSize)&&i.width(this.currentItem.width()),(!i[0].style.height||n.forceHelperSize)&&i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,n,i,r=this.options;"parent"===r.containment&&(r.containment=this.helper[0].parentNode),("document"===r.containment||"window"===r.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===r.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===r.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(t=e(r.containment)[0],n=e(r.containment).offset(),i="hidden"!==e(t).css("overflow"),this.containment=[n.left+(parseInt(e(t).css("borderLeftWidth"),10)||0)+(parseInt(e(t).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(e(t).css("borderTopWidth"),10)||0)+(parseInt(e(t).css("paddingTop"),10)||0)-this.margins.top,n.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(e(t).css("borderLeftWidth"),10)||0)-(parseInt(e(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(e(t).css("borderTopWidth"),10)||0)-(parseInt(e(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,n){n||(n=this.position);var i="absolute"===t?1:-1,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(r[0].tagName);return{top:n.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:r.scrollTop())*i,left:n.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:r.scrollLeft())*i}},_generatePosition:function(t){var n,i,r=this.options,o=t.pageX,a=t.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),r.grid&&(n=this.originalPageY+Math.round((a-this.originalPageY)/r.grid[1])*r.grid[1],a=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-r.grid[1]:n+r.grid[1]:n,i=this.originalPageX+Math.round((o-this.originalPageX)/r.grid[0])*r.grid[0],o=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-r.grid[0]:i+r.grid[0]:i)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:s.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:s.scrollLeft())}},_rearrange:function(e,t,n,i){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay((function(){r===this.counter&&this.refreshPositions(!i)}))},_clear:function(e,t){function n(e,t,n){return function(i){n._trigger(e,i,t._uiHash(t))}}this.reverting=!1;var i,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!t&&r.push((function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||r.push((function(e){this._trigger("update",e,this._uiHash())})),this!==this.currentContainer&&(t||(r.push((function(e){this._trigger("remove",e,this._uiHash())})),r.push((function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}).call(this,this.currentContainer)),r.push((function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}).call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)t||r.push(n("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(r.push(n("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;r.length>i;i++)r[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===e.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var n=t||this;return{helper:n.helper,placeholder:n.placeholder||e([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:t?t.element:null}}}),e.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var t=this._super(),n=this.element;return e.each(["min","max","step"],(function(e,i){var r=n.attr(i);null!=r&&r.length&&(t[i]=r)})),t},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger("change",e)))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((t>0?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay((function(){this.spinning&&this._stop(e)}),100),e.preventDefault()}},"mousedown .ui-spinner-button":function(t){function n(){this.element[0]===e.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay((function(){this.previous=i})))}var i;i=this.element[0]===e.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay((function(){delete this.cancelBlur,n.call(this)})),!1!==this._start(t)&&this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){return e(t.currentTarget).hasClass("ui-state-active")?!1!==this._start(t)&&void this._repeat(null,e(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t):void 0},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var n=this.options,i=e.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,n.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-n.page,t),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e)||(this.counter||(this.counter=1),this.spinning=!0,0))},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay((function(){this._repeat(40,t,n)}),e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:n})||(this._value(n),this.counter++)},_increment:function(t){var n=this.options.incremental;return n?e.isFunction(n)?n(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,n=t.indexOf(".");return-1===n?0:t.length-n-1},_adjustValue:function(e){var t,n,i=this.options;return n=e-(t=null!==i.min?i.min:0),e=t+(n=Math.round(n/i.step)*i.step),e=parseFloat(e.toFixed(this._precision())),null!==i.max&&e>i.max?i.max:null!==i.min&&i.min>e?i.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var n,i,r;return"culture"===e||"numberFormat"===e?(n=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(n))):(("max"===e||"min"===e||"step"===e)&&"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,t.up),r=this.buttons.last().find(".ui-icon"),this._removeClass(r,null,this.options.icons.down),this._addClass(r,null,t.down)),void this._super(e,t))},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:o((function(e){this._super(e)})),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var n;""!==e&&null!==(n=this._parse(e))&&(t||(n=this._adjustValue(n)),e=this._format(n)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:o((function(e){this._stepUp(e)})),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:o((function(e){this._stepDown(e)})),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:o((function(e){this._stepUp((e||1)*this.options.page)})),pageDown:o((function(e){this._stepDown((e||1)*this.options.page)})),value:function(e){return arguments.length?void o(this._value).call(this,e):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),!1!==e.uiBackCompat&&e.widget("ui.spinner",e.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),e.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var e=/#.*$/;return function(t){var i,r;i=t.href.replace(e,""),r=location.href.replace(e,"");try{i=decodeURIComponent(i)}catch(n){}try{r=decodeURIComponent(r)}catch(n){}return t.hash.length>1&&i===r}}(),_create:function(){var t=this,n=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,n.collapsible),this._processTabs(),n.active=this._initialActive(),e.isArray(n.disabled)&&(n.disabled=e.unique(n.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),(function(e){return t.tabs.index(e)})))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(n.active):e(),this._refresh(),this.active.length&&this.load(n.active)},_initialActive:function(){var t=this.options.active,n=this.options.collapsible,i=location.hash.substring(1);return null===t&&(i&&this.tabs.each((function(n,r){return e(r).attr("aria-controls")===i?(t=n,!1):void 0})),null===t&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===t||-1===t)&&(t=!!this.tabs.length&&0)),!1!==t&&-1===(t=this.tabs.index(this.tabs.eq(t)))&&(t=!n&&0),!n&&!1===t&&this.anchors.length&&(t=0),t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var n=e(e.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(n),r=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:i++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:r=!1,i--;break;case e.ui.keyCode.END:i=this.anchors.length-1;break;case e.ui.keyCode.HOME:i=0;break;case e.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case e.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,r),t.ctrlKey||t.metaKey||(n.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay((function(){this.option("active",i)}),this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,n){for(var i=this.tabs.length-1;-1!==e.inArray((t>i&&(t=0),0>t&&(t=i),t),this.options.disabled);)t=n?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){return"active"===e?void this._activate(t):(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),void("heightStyle"===e&&this._setupHeightStyle(t)))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,n=this.tablist.children(":has(a[href])");t.disabled=e.map(n.filter(".ui-state-disabled"),(function(e){return n.index(e)})),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,n=this.tabs,i=this.anchors,r=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",(function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()})).on("focus"+this.eventNamespace,".ui-tabs-anchor",(function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()})),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map((function(){return e("a",this)[0]})).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=e(),this.anchors.each((function(n,i){var r,o,a,s=e(i).uniqueId().attr("id"),l=e(i).closest("li"),c=l.attr("aria-controls");t._isLocal(i)?(a=(r=i.hash).substring(1),o=t.element.find(t._sanitizeSelector(r))):(a=l.attr("aria-controls")||e({}).uniqueId()[0].id,(o=t.element.find(r="#"+a)).length||(o=t._createPanel(a)).insertAfter(t.panels[n-1]||t.tablist),o.attr("aria-live","polite")),o.length&&(t.panels=t.panels.add(o)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":a,"aria-labelledby":s}),o.attr("aria-labelledby",s)})),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),n&&(this._off(n.not(this.tabs)),this._off(i.not(this.anchors)),this._off(r.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return e("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var n,i,r;for(e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),r=0;i=this.tabs[r];r++)n=e(i),!0===t||-1!==e.inArray(r,t)?(n.attr("aria-disabled","true"),this._addClass(n,null,"ui-state-disabled")):(n.removeAttr("aria-disabled"),this._removeClass(n,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var n={};t&&e.each(t.split(" "),(function(e,t){n[t]="_eventHandler"})),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var n,i=this.element.parent();"fill"===t?(n=i.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each((function(){var t=e(this),i=t.css("position");"absolute"!==i&&"fixed"!==i&&(n-=t.outerHeight(!0))})),this.element.children().not(this.panels).each((function(){n-=e(this).outerHeight(!0)})),this.panels.each((function(){e(this).height(Math.max(0,n-e(this).innerHeight()+e(this).height()))})).css("overflow","auto")):"auto"===t&&(n=0,this.panels.each((function(){n=Math.max(n,e(this).height("").height())})).height(n))},_eventHandler:function(t){var n=this.options,i=this.active,r=e(t.currentTarget).closest("li"),o=r[0]===i[0],a=o&&n.collapsible,s=a?e():this._getPanelForTab(r),l=i.length?this._getPanelForTab(i):e(),c={oldTab:i,oldPanel:l,newTab:a?e():r,newPanel:s};t.preventDefault(),r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading")||this.running||o&&!n.collapsible||!1===this._trigger("beforeActivate",t,c)||(n.active=!a&&this.tabs.index(r),this.active=o?e():r,this.xhr&&this.xhr.abort(),l.length||s.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),s.length&&this.load(this.tabs.index(r),t),this._toggle(t,c))},_toggle:function(t,n){function i(){o.running=!1,o._trigger("activate",t,n)}function r(){o._addClass(n.newTab.closest("li"),"ui-tabs-active","ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,i):(a.show(),i())}var o=this,a=n.newPanel,s=n.oldPanel;this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,(function(){o._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r()})):(this._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),r()),s.attr("aria-hidden","true"),n.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),a.length&&s.length?n.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter((function(){return 0===e(this).attr("tabIndex")})).attr("tabIndex",-1),a.attr("aria-hidden","false"),n.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var n,i=this._findActive(t);i[0]!==this.active[0]&&(i.length||(i=this.active),n=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:e.noop}))},_findActive:function(t){return!1===t?e():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+e.ui.escapeSelector(t)+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each((function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")})),this.tabs.each((function(){var t=e(this),n=t.data("ui-tabs-aria-controls");n?t.attr("aria-controls",n).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")})),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(t){var n=this.options.disabled;!1!==n&&(void 0===t?n=!1:(t=this._getIndex(t),n=e.isArray(n)?e.map(n,(function(e){return e!==t?e:null})):e.map(this.tabs,(function(e,n){return n!==t?n:null}))),this._setOptionDisabled(n))},disable:function(t){var n=this.options.disabled;if(!0!==n){if(void 0===t)n=!0;else{if(t=this._getIndex(t),-1!==e.inArray(t,n))return;n=e.isArray(n)?e.merge([t],n).sort():[t]}this._setOptionDisabled(n)}},load:function(t,n){t=this._getIndex(t);var i=this,r=this.tabs.eq(t),o=r.find(".ui-tabs-anchor"),a=this._getPanelForTab(r),s={tab:r,panel:a},l=function(e,t){"abort"===t&&i.panels.stop(!1,!0),i._removeClass(r,"ui-tabs-loading"),a.removeAttr("aria-busy"),e===i.xhr&&delete i.xhr};this._isLocal(o[0])||(this.xhr=e.ajax(this._ajaxSettings(o,n,s)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(r,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done((function(e,t,r){setTimeout((function(){a.html(e),i._trigger("load",n,s),l(r,t)}),1)})).fail((function(e,t){setTimeout((function(){l(e,t)}),1)}))))},_ajaxSettings:function(t,n,i){var r=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,o){return r._trigger("beforeLoad",n,e.extend({jqXHR:t,ajaxSettings:o},i))}}},_getPanelForTab:function(t){var n=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),!1!==e.uiBackCompat&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),e.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var t=e(this).attr("title")||"";return e("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(t,n){var i=(t.attr("aria-describedby")||"").split(/\s+/);i.push(n),t.data("ui-tooltip-id",n).attr("aria-describedby",e.trim(i.join(" ")))},_removeDescribedBy:function(t){var n=t.data("ui-tooltip-id"),i=(t.attr("aria-describedby")||"").split(/\s+/),r=e.inArray(n,i);-1!==r&&i.splice(r,1),t.removeData("ui-tooltip-id"),(i=e.trim(i.join(" ")))?t.attr("aria-describedby",i):t.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=e("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=e([])},_setOption:function(t,n){var i=this;this._super(t,n),"content"===t&&e.each(this.tooltips,(function(e,t){i._updateContent(t.element)}))},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var t=this;e.each(this.tooltips,(function(n,i){var r=e.Event("blur");r.target=r.currentTarget=i.element[0],t.close(r,!0)})),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter((function(){var t=e(this);return t.is("[title]")?t.data("ui-tooltip-title",t.attr("title")).removeAttr("title"):void 0})))},_enable:function(){this.disabledTitles.each((function(){var t=e(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})),this.disabledTitles=e([])},open:function(t){var n=this,i=e(t?t.target:this.element).closest(this.options.items);i.length&&!i.data("ui-tooltip-id")&&(i.attr("title")&&i.data("ui-tooltip-title",i.attr("title")),i.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&i.parents().each((function(){var t,i=e(this);i.data("ui-tooltip-open")&&((t=e.Event("blur")).target=t.currentTarget=this,n.close(t,!0)),i.attr("title")&&(i.uniqueId(),n.parents[this.id]={element:this,title:i.attr("title")},i.attr("title",""))})),this._registerCloseHandlers(t,i),this._updateContent(i,t))},_updateContent:function(e,t){var n,i=this.options.content,r=this,o=t?t.type:null;return"string"==typeof i||i.nodeType||i.jquery?this._open(t,e,i):void((n=i.call(e[0],(function(n){r._delay((function(){e.data("ui-tooltip-open")&&(t&&(t.type=o),this._open(t,e,n))}))})))&&this._open(t,e,n))},_open:function(t,n,i){function r(e){c.of=e,a.is(":hidden")||a.position(c)}var o,a,s,l,c=e.extend({},this.options.position);if(i){if(o=this._find(n))return void o.tooltip.find(".ui-tooltip-content").html(i);n.is("[title]")&&(t&&"mouseover"===t.type?n.attr("title",""):n.removeAttr("title")),o=this._tooltip(n),this._addDescribedBy(n,(a=o.tooltip).attr("id")),a.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(l=e("<div>").html(a.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),l.removeAttr("id").find("[id]").removeAttr("id"),l.appendTo(this.liveRegion),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:r}),r(t)):a.position(e.extend({of:n},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(s=this.delayedShow=setInterval((function(){a.is(":visible")&&(r(c.of),clearInterval(s))}),e.fx.interval)),this._trigger("open",t,{tooltip:a})}},_registerCloseHandlers:function(t,n){var i={keyup:function(t){if(t.keyCode===e.ui.keyCode.ESCAPE){var i=e.Event(t);i.currentTarget=n[0],this.close(i,!0)}}};n[0]!==this.element[0]&&(i.remove=function(){this._removeTooltip(this._find(n).tooltip)}),t&&"mouseover"!==t.type||(i.mouseleave="close"),t&&"focusin"!==t.type||(i.focusout="close"),this._on(!0,n,i)},close:function(t){var n,i=this,r=e(t?t.currentTarget:this.element),o=this._find(r);return o?(n=o.tooltip,void(o.closing||(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&!r.attr("title")&&r.attr("title",r.data("ui-tooltip-title")),this._removeDescribedBy(r),o.hiding=!0,n.stop(!0),this._hide(n,this.options.hide,(function(){i._removeTooltip(e(this))})),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&e.each(this.parents,(function(t,n){e(n.element).attr("title",n.title),delete i.parents[t]})),o.closing=!0,this._trigger("close",t,{tooltip:n}),o.hiding||(o.closing=!1)))):void r.removeData("ui-tooltip-open")},_tooltip:function(t){var n=e("<div>").attr("role","tooltip"),i=e("<div>").appendTo(n),r=n.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(n,"ui-tooltip","ui-widget ui-widget-content"),n.appendTo(this._appendTo(t)),this.tooltips[r]={element:t,tooltip:n}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){var t=e.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var t=this;e.each(this.tooltips,(function(n,i){var r=e.Event("blur"),o=i.element;r.target=r.currentTarget=o[0],t.close(r,!0),e("#"+n).remove(),o.data("ui-tooltip-title")&&(o.attr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip-title"))})),this.liveRegion.remove()}}),!1!==e.uiBackCompat&&e.widget("ui.tooltip",e.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}})})),angular.module("ui.codemirror",[]).constant("uiCodemirrorConfig",{}).directive("uiCodemirror",["$timeout","uiCodemirrorConfig",uiCodemirrorDirective]),function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};angular.module("ui.scroll",[]).directive("uiScrollViewport",(function(){return{controller:["$scope","$element",function(e,t){return this.viewport=t,this}]}})).directive("uiScroll",["$log","$injector","$rootScope","$timeout","$q","$parse",function(t,n,i,r,o,a){function s(e,t){return t.after(e),[]}function l(e){return e.element.remove(),e.scope.$destroy(),[]}function c(t,n){if(!g)return s(t,n);if(m){var i=function(){var e=o.defer();return g.enter(t,null,n,(function(){return e.resolve()})),{v:[e.promise]}}();if("object"===(void 0===i?"undefined":e(i)))return i.v}return[g.enter(t,null,n)]}function u(t){if(!g)return l(t);if(m){var n=function(){var e=o.defer();return g.leave(t.element,(function(){return t.scope.$destroy(),e.resolve()})),{v:[e.promise]}}();if("object"===(void 0===n?"undefined":e(n)))return n.v}return[g.leave(t.element).then((function(){return t.scope.$destroy()}))]}function d(e,t,n,i){function r(e){return o.eof=!1,o.bof=!1,o.first=e,o.next=e,o.minIndex=Number.MAX_VALUE,o.maxIndex=Number.MIN_VALUE}var o=Object.create(Array.prototype);return angular.extend(o,{size:i,append:function(e){e.forEach((function(e){++o.next,o.insert("append",e)}))},prepend:function(e){e.reverse().forEach((function(e){--o.first,o.insert("prepend",e)}))},insert:function(i,r){var a=t.$new(),s={item:r,scope:a};if(a[e]=r,n(a,(function(e){return s.element=e})),i%1==0)s.op="insert",o.splice(i,0,s);else switch(s.op=i,i){case"append":o.push(s);break;case"prepend":o.unshift(s)}},remove:function(e,t){if(angular.isNumber(e)){for(var n=e;t>n;n++)l(o[n]);return o.splice(e,t-e)}return o.splice(o.indexOf(e),1),u(e)},setUpper:function(){o.maxIndex=o.eof?o.next-1:Math.max(o.next-1,o.maxIndex)},setLower:function(){o.minIndex=o.bof?o.minIndex=o.first:Math.min(o.first,o.minIndex)},syncDatasource:function(e){var t=o.minIndex-Math.min(o.minIndex,e.minIndex||Number.MAX_VALUE);return e.minIndex=o.minIndex-=t,e.maxIndex=o.maxIndex=Math.max(o.maxIndex,e.maxIndex||Number.MIN_VALUE),t},clear:function(){o.remove(0,o.length),r(arguments.length?arguments[0]:1)}}),r(1),o}function p(e){var t=void 0,n=e.localName;switch(n){case"dl":throw new Error("ui-scroll directive does not support <"+n+"> as a repeating tag: "+e.outerHTML);case"tr":t=angular.element("<table><tr><td><div></div></td></tr></table>").find("tr");break;case"li":t=angular.element("<li></li>");break;default:t=angular.element("<div></div>")}return t}function h(e,t,n,i){function r(){return u.outerHeight()*Math.max(.1,+i.padding||.1)}var o=null,a=null,l=0,u=n[0]&&n[0].viewport?n[0].viewport:angular.element(window);u.css({"overflow-y":"auto",display:"block"});var d=u.offset()?function(){return u.offset()}:function(){return{top:0}};return angular.extend(u,{createPaddingElements:function(e){o=new p(e),a=new p(e),t.before(o),t.after(a)},bottomDataPos:function(){var e=u[0].scrollHeight;return(e=null!==e?e:u[0].document.documentElement.scrollHeight)-a.height()},topDataPos:function(){return o.height()},bottomVisiblePos:function(){return u.scrollTop()+u.outerHeight()},topVisiblePos:function(){return u.scrollTop()},insertElement:function(e,t){return s(e,t||o)},insertElementAnimated:function(e,t){return c(e,t||o)},shouldLoadBottom:function(){return!e.eof&&u.bottomDataPos()<u.bottomVisiblePos()+r()},clipBottom:function(){for(var t=0,n=e.length-1;n>=0&&!(e[n].element.offset().top-d().top<=u.outerHeight()+r());n--)t++;t>0&&(e.eof=!1,e.remove(e.length-t,e.length),e.next-=t,u.adjustPadding())},shouldLoadTop:function(){return!e.bof&&u.topDataPos()>u.topVisiblePos()-r()},clipTop:function(){for(var t=0,n=0,i=0;i<e.length&&!(e[i].element.offset().top-d().top+e[i].element.outerHeight(!0)>=-1*r());i++)n+=e[i].element.outerHeight(!0),t++;t>0&&(o.height(o.height()+n),e.bof=!1,e.remove(0,t),e.first+=t)},adjustPadding:function(){if(e.length){var t=e[0].element,n=e[e.length-1].element;return l=(n.offset().top+n.outerHeight(!0)-t.offset().top)/e.length,o.height((e.first-e.minIndex)*l),a.height((e.maxIndex-e.next+1)*l)}},syncDatasource:function(t){if(e.length){var n=e.syncDatasource(t)*l;o.height(o.height()+n),u.scrollTop(u.scrollTop()+n),u.adjustPadding()}},adjustScrollTop:function(e){var t=o.height()-e;t>=0?o.height(t):(o.height(0),u.scrollTop(u.scrollTop()-t))}}),u}function f(e,t,n,r){function o(e,t){if(angular.isArray(t)){var i=void 0,r=n.indexOf(e)+1;t.reverse().forEach((function(t){t===e.item?(i=!0,r--):n.insert(r,t)})),i||(e.op="remove")}}var s=t.scope()||i,l=e.topVisible?a(e.topVisible).assign:angular.noop,c=e.topVisibleElement?a(e.topVisibleElement).assign:angular.noop,u=e.topVisibleScope?a(e.topVisibleScope).assign:angular.noop,d=e.isLoading?a(e.isLoading).assign:angular.noop;this.isLoading=!1,this.applyUpdates=function(e,t){if(angular.isFunction(e))n.slice(0).forEach((function(t){o(t,e(t.item,t.scope,t.element))}));else{if(e%1!=0)throw new Error("applyUpdates - "+e+" is not a valid index");var i=e-n.first;i>=0&&i<n.length&&o(n[i],t)}r()},this.append=function(e){n.append(e),r()},this.prepend=function(e){n.prepend(e),r()},this.loading=function(e){this.isLoading=e,d(s,e)},this.calculateProperties=function(){var e=void 0,i=void 0,r=void 0,o=void 0,a=void 0,d=void 0,p=0;for(e=0;e<n.length;e++){if(a=d!==(o=(i=n[e]).element.offset().top),d=o,a&&(r=i.element.outerHeight(!0)),!(a&&t.topDataPos()+p+r<=t.topVisiblePos())){a&&(this.topVisible=i.item,this.topVisibleElement=i.element,this.topVisibleScope=i.scope,l(s,i.item),c(s,i.element),u(s,i.scope));break}p+=r}}}var g=n.has&&n.has("$animate")?n.get("$animate"):null,m=1===angular.version.major&&angular.version.minor<3;return{require:["?^uiScrollViewport"],transclude:"element",priority:1e3,terminal:!0,compile:function(e,t,s){var l=t.uiScroll.match(/^\s*(\w+)\s+in\s+([\w\.]+)\s*$/);if(!l)throw new Error("Expected uiScroll in form of '_item_ in _datasource_' but got '"+t.uiScroll+"'");var c=l[1],u=l[2],p=Math.max(3,+t.bufferSize||10);return function(e,t,l,g,m){function v(){$++,_=[]}function b(){return v(),arguments.length?O.clear(arguments[0]):O.clear(),A($)}function y(e,t){return L.isLoading||L.loading(!0),1===_.push(t)?S(e):void 0}function M(e){return e.element.height()&&e.element[0].offsetParent}function w(e,t){return E.insertElement(e.element,t),!!M(e)||(e.unregisterVisibilityWatcher=e.scope.$watch((function(){return function(e){return M(e)?(O.forEach((function(e){angular.isFunction(e.unregisterVisibilityWatcher)&&(e.unregisterVisibilityWatcher(),delete e.unregisterVisibilityWatcher)})),A()):void 0}(e)})),!1)}function C(e){function t(e){return e>0?O[e-1].element:void 0}var n=!1,i=[],r=[],a=[];if(O.forEach((function(e,o){switch(e.op){case"prepend":r.unshift(e);break;case"append":n=w(e,t(o))||n,e.op="none";break;case"insert":i=i.concat(E.insertElementAnimated(e.element,t(o))),e.op="none";break;case"remove":a.push(e)}})),a.forEach((function(e){return i=i.concat(O.remove(e))})),r.length){var s=0;r.forEach((function(e){n=w(e)||n,e.op="none",s+=e.element.outerHeight(!0)})),E.adjustScrollTop(s)}return O.forEach((function(e,t){return e.scope.$index=O.first+t})),i.length?o.all(i).then((function(){return E.adjustPadding(),A(e)})):(E.adjustPadding(),_.length||E.syncDatasource(k)),n}function A(e){return r((function(){return C(e),E.shouldLoadBottom()?y(e,!0):E.shouldLoadTop()&&y(e,!1),_.length?void 0:L.calculateProperties()}))}function x(e){return r((function(){var t=C(e);return E.shouldLoadBottom()&&t?y(e,!0):E.shouldLoadTop()&&(t||_[0])&&y(e,!1),_.shift(),_.length?S(e):(L.loading(!1),L.calculateProperties())}))}function S(t){return _[0]?O.length&&!E.shouldLoadBottom()?x(t):N((function(n){return t&&t!==$||e.$$destroyed?void 0:(n.length<p&&(O.eof=!0),n.length>0&&(E.clipTop(),O.append(n)),O.setUpper(),x(t))})):O.length&&!E.shouldLoadTop()?x(t):D((function(n){return t&&t!==$||e.$$destroyed?void 0:(n.length<p&&(O.bof=!0),n.length>0&&(O.length&&E.clipBottom(),O.prepend(n)),O.setLower(),x(t))}))}function z(){i.$$phase||L.isLoading||A()}function T(e){var t=E[0].scrollTop;(0===t&&!O.bof||t===E[0].scrollHeight-E[0].clientHeight&&!O.eof)&&e.preventDefault()}m=m||s;var k=function(){function t(){return angular.isObject(i)&&angular.isFunction(i.get)}var i=a(u)(e);if(!t()&&(i=n.get(u),!t()))throw new Error(u+" is not a valid datasource");return i}(),$=0,_=[],O=new d(c,e,m,p),E=new h(O,t,g,l),L=new f(l,E,O,(function(){return v(),A($)})),N=2!==k.get.length?function(e){return k.get(O.next,p,e)}:function(e){return k.get({index:O.next,append:O.length?O[O.length-1].item:void 0,count:p},e)},D=2!==k.get.length?function(e){return k.get(O.first-p,p,e)}:function(e){return k.get({index:O.first-p,prepend:O.length?O[0].item:void 0,count:p},e)};if(l.adapter){var P=a(l.adapter)(e);angular.isObject(P)||(a(l.adapter).assign(e,{}),P=a(l.adapter)(e)),L=angular.extend(P,L)}m(e.$new(),(function(t,n){E.createPaddingElements(t[0]),n.$destroy(),e.$on("$destroy",(function(){return t.remove()}))})),L.reload=b,E.bind("resize",z),E.bind("scroll",z),E.bind("mousewheel",T),e.$watch(k.revision,(function(){return b()})),e.$on("$destroy",(function(){O.clear(),E.unbind("resize",z),E.unbind("scroll",z),E.unbind("mousewheel",T)})),function(){function t(e){throw new Error(e+" event is no longer supported - use applyUpdates instead")}var n=k.scope?k.scope.$new():e.$new();n.$on("insert.item",(function(){return t("insert")})),n.$on("update.items",(function(){return t("update")})),n.$on("delete.items",(function(){return t("delete")}))}()}}}}])}(),function(){"use strict";angular.module("angular-loading-bar",["cfp.loadingBarInterceptor"]),angular.module("chieffancypants.loadingBar",["cfp.loadingBarInterceptor"]),angular.module("cfp.loadingBarInterceptor",["cfp.loadingBar"]).config(["$httpProvider",function(e){e.interceptors.push(["$q","$cacheFactory","$timeout","$rootScope","cfpLoadingBar",function(t,n,i,r,o){var a,s=0,l=0,c=o.latencyThreshold;function u(){i.cancel(a),o.complete(),l=0,s=0}function d(t){var i,r=n.get("$http"),o=e.defaults;!t.cache&&!o.cache||!1===t.cache||"GET"!==t.method&&"JSONP"!==t.method||(i=angular.isObject(t.cache)?t.cache:angular.isObject(o.cache)?o.cache:r);var a=void 0!==i&&void 0!==i.get(t.url);return void 0!==t.cached&&a!==t.cached?t.cached:(t.cached=a,a)}return{request:function(e){return e.ignoreLoadingBar||d(e)||(r.$broadcast("cfpLoadingBar:loading",{url:e.url}),0===s&&(a=i((function(){o.start()}),c)),s++,o.set(l/s)),e},response:function(e){return e.config.ignoreLoadingBar||d(e.config)||(l++,r.$broadcast("cfpLoadingBar:loaded",{url:e.config.url,result:e}),l>=s?u():o.set(l/s)),e},responseError:function(e){return e.config.ignoreLoadingBar||d(e.config)||(l++,r.$broadcast("cfpLoadingBar:loaded",{url:e.config.url,result:e}),l>=s?u():o.set(l/s)),t.reject(e)}}}])}]),angular.module("cfp.loadingBar",[]).provider("cfpLoadingBar",(function(){this.includeSpinner=!0,this.includeBar=!0,this.latencyThreshold=100,this.startSize=.02,this.parentSelector="body",this.spinnerTemplate='<div id="loading-bar-spinner"><div class="spinner-icon"></div></div>',this.loadingBarTemplate='<div id="loading-bar"><div class="bar"><div class="peg"></div></div></div>',this.$get=["$injector","$document","$timeout","$rootScope",function(e,t,n,i){var r,o,a,s=this.parentSelector,l=angular.element(this.loadingBarTemplate),c=l.find("div").eq(0),u=angular.element(this.spinnerTemplate),d=!1,p=0,h=this.includeSpinner,f=this.includeBar,g=this.startSize;function m(e){d&&(c.css("width",100*e+"%"),p=e,n.cancel(o),o=n((function(){v()}),250))}function v(){if(!(b()>=1)){var e,t=b();e=t>=0&&t<.25?(3*Math.random()+3)/100:t>=.25&&t<.65?3*Math.random()/100:t>=.65&&t<.9?2*Math.random()/100:t>=.9&&t<.99?.005:0,m(b()+e)}}function b(){return p}function y(){p=0,d=!1}return{start:function(){r||(r=e.get("$animate"));var o=t.find(s).eq(0);n.cancel(a),d||(i.$broadcast("cfpLoadingBar:started"),d=!0,f&&r.enter(l,o),h&&r.enter(u,o),m(g))},set:m,status:b,inc:v,complete:function(){r||(r=e.get("$animate")),i.$broadcast("cfpLoadingBar:completed"),m(1),n.cancel(a),a=n((function(){var e=r.leave(l,y);e&&e.then&&e.then(y),r.leave(u)}),500)},includeSpinner:this.includeSpinner,latencyThreshold:this.latencyThreshold,parentSelector:this.parentSelector,startSize:this.startSize}}]}))}(),function(e,t,n){"use strict";!function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return r(t[a][1][e]||e)}),u,u.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(i){var r,o,a,s,l=function(e){return e&&e.__esModule?e:{default:e}},c=i("./modules/handle-dom"),u=i("./modules/utils"),d=i("./modules/handle-swal-dom"),p=i("./modules/handle-click"),h=l(i("./modules/handle-key")),f=l(i("./modules/default-params")),g=l(i("./modules/set-params"));(a=s=function(){function i(e){return a[e]===n?f.default[e]:a[e]}var a=arguments[0];if(c.addClass(t.body,"stop-scrolling"),d.resetInput(),a===n)return u.logStr("SweetAlert expects at least 1 attribute!"),!1;var l=u.extend({},f.default);switch(typeof a){case"string":l.title=a,l.text=arguments[1]||"",l.type=arguments[2]||"";break;case"object":if(a.title===n)return u.logStr('Missing "title" argument!'),!1;for(var m in l.title=a.title,f.default)l[m]=i(m);l.confirmButtonText=l.showCancelButton?"Confirm":f.default.confirmButtonText,l.confirmButtonText=i("confirmButtonText"),l.doneFunction=arguments[1]||null;break;default:return u.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof a),!1}g.default(l),d.fixVerticalPosition(),d.openModal(arguments[1]);for(var v=d.getModal(),b=v.querySelectorAll("button"),y=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],M=function(e){return p.handleButton(e,l,v)},w=0;w<b.length;w++)for(var C=0;C<y.length;C++){var A=y[C];b[w][A]=M}d.getOverlay().onclick=M,r=e.onkeydown;var x=function(e){return h.default(e,l,v)};e.onkeydown=x,e.onfocus=function(){setTimeout((function(){o!==n&&(o.focus(),o=n)}),0)},s.enableButtons()}).setDefaults=s.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");u.extend(f.default,e)},a.close=s.close=function(){var i=d.getModal();c.fadeOut(d.getOverlay(),5),c.fadeOut(i,5),c.removeClass(i,"showSweetAlert"),c.addClass(i,"hideSweetAlert"),c.removeClass(i,"visible");var a=i.querySelector(".sa-icon.sa-success");c.removeClass(a,"animate"),c.removeClass(a.querySelector(".sa-tip"),"animateSuccessTip"),c.removeClass(a.querySelector(".sa-long"),"animateSuccessLong");var s=i.querySelector(".sa-icon.sa-error");c.removeClass(s,"animateErrorIcon"),c.removeClass(s.querySelector(".sa-x-mark"),"animateXMark");var l=i.querySelector(".sa-icon.sa-warning");return c.removeClass(l,"pulseWarning"),c.removeClass(l.querySelector(".sa-body"),"pulseWarningIns"),c.removeClass(l.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout((function(){var e=i.getAttribute("data-custom-class");c.removeClass(i,e)}),300),c.removeClass(t.body,"stop-scrolling"),e.onkeydown=r,e.previousActiveElement&&e.previousActiveElement.focus(),o=n,clearTimeout(i.timeout),!0},a.showInputError=s.showInputError=function(e){var t=d.getModal(),n=t.querySelector(".sa-input-error");c.addClass(n,"show");var i=t.querySelector(".sa-error-container");c.addClass(i,"show"),i.querySelector("p").innerHTML=e,setTimeout((function(){a.enableButtons()}),1),t.querySelector("input").focus()},a.resetInputError=s.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var t=d.getModal(),n=t.querySelector(".sa-input-error");c.removeClass(n,"show");var i=t.querySelector(".sa-error-container");c.removeClass(i,"show")},a.disableButtons=s.disableButtons=function(){var e=d.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!0,n.disabled=!0},a.enableButtons=s.enableButtons=function(){var e=d.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!1,n.disabled=!1},void 0!==e?e.sweetAlert=e.swal=a:u.logStr("SweetAlert is a frontend module!")},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1},t.exports=n.default},{}],3:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0});var r=t("./utils"),o=(t("./handle-swal-dom"),t("./handle-dom")),a=function(e,t){var n=!0;o.hasClass(e,"show-input")&&((n=e.querySelector("input").value)||(n="")),t.doneFunction(n),t.closeOnConfirm&&sweetAlert.close(),t.showLoaderOnConfirm&&sweetAlert.disableButtons()},s=function(e,t){var n=String(t.doneFunction).replace(/\s/g,"");"function("===n.substring(0,9)&&")"!==n.substring(9,10)&&t.doneFunction(!1),t.closeOnCancel&&sweetAlert.close()};i.default={handleButton:function(t,n,i){function l(e){f&&n.confirmButtonColor&&(h.style.backgroundColor=e)}var c,u,d,p=t||e.event,h=p.target||p.srcElement,f=-1!==h.className.indexOf("confirm"),g=-1!==h.className.indexOf("sweet-overlay"),m=o.hasClass(i,"visible"),v=n.doneFunction&&"true"===i.getAttribute("data-has-done-function");switch(f&&n.confirmButtonColor&&(u=r.colorLuminance(c=n.confirmButtonColor,-.04),d=r.colorLuminance(c,-.14)),p.type){case"mouseover":l(u);break;case"mouseout":l(c);break;case"mousedown":l(d);break;case"mouseup":l(u);break;case"focus":var b=i.querySelector("button.confirm"),y=i.querySelector("button.cancel");f?y.style.boxShadow="none":b.style.boxShadow="none";break;case"click":var M=i===h,w=o.isDescendant(i,h);if(!M&&!w&&m&&!n.allowOutsideClick)break;f&&v&&m?a(i,n):v&&m||g?s(0,n):o.isDescendant(i,h)&&"BUTTON"===h.tagName&&sweetAlert.close()}},handleConfirm:a,handleCancel:s},n.exports=i.default},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,i,r){Object.defineProperty(r,"__esModule",{value:!0});var o=function(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")},a=function(e){e.style.opacity="",e.style.display="block"},s=function(e){e.style.opacity="",e.style.display="none"};r.hasClass=o,r.addClass=function(e,t){o(e,t)||(e.className+=" "+t)},r.removeClass=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(o(e,t)){for(;n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},r.escapeHtml=function(e){var n=t.createElement("div");return n.appendChild(t.createTextNode(e)),n.innerHTML},r._show=a,r.show=function(e){if(e&&!e.length)return a(e);for(var t=0;t<e.length;++t)a(e[t])},r._hide=s,r.hide=function(e){if(e&&!e.length)return s(e);for(var t=0;t<e.length;++t)s(e[t])},r.isDescendant=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},r.getTopMargin=function(e){e.style.left="-9999px",e.style.display="block";var t,n=e.clientHeight;return t="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(e).getPropertyValue("padding-top"),10):parseInt(e.currentStyle.padding),e.style.left="",e.style.display="none","-"+parseInt((n+t)/2)+"px"},r.fadeIn=function(e,t){if(+e.style.opacity<1){t=t||16,e.style.opacity=0,e.style.display="block";var n=+new Date,i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(i,t)}));i()}e.style.display="block"},r.fadeOut=function(e,t){t=t||16,e.style.opacity=1;var n=+new Date,i=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){e.style.opacity=+e.style.opacity-(new Date-n)/100,n=+new Date,+e.style.opacity>0?setTimeout(i,t):e.style.display="none"}));i()},r.fireClick=function(n){if("function"==typeof MouseEvent){var i=new MouseEvent("click",{view:e,bubbles:!1,cancelable:!0});n.dispatchEvent(i)}else if(t.createEvent){var r=t.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r)}else t.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},r.stopEventPropagation=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):e.event&&e.event.hasOwnProperty("cancelBubble")&&(e.event.cancelBubble=!0)}},{}],5:[function(t,i,r){Object.defineProperty(r,"__esModule",{value:!0});var o=t("./handle-dom"),a=t("./handle-swal-dom");r.default=function(t,i,r){var s=t||e.event,l=s.keyCode||s.which,c=r.querySelector("button.confirm"),u=r.querySelector("button.cancel"),d=r.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(l)){for(var p=s.target||s.srcElement,h=-1,f=0;f<d.length;f++)if(p===d[f]){h=f;break}9===l?(p=-1===h?c:h===d.length-1?d[0]:d[h+1],o.stopEventPropagation(s),p.focus(),i.confirmButtonColor&&a.setFocusStyle(p,i.confirmButtonColor)):13===l?("INPUT"===p.tagName&&(p=c,c.focus()),p=-1===h?c:n):27===l&&!0===i.allowEscapeKey?o.fireClick(p=u,s):p=n}},i.exports=r.default},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,i,r){var o=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var a=n("./utils"),s=n("./handle-dom"),l=o(n("./default-params")),c=o(n("./injected-html")),u=function(){var e=t.createElement("div");for(e.innerHTML=c.default;e.firstChild;)t.body.appendChild(e.firstChild)},d=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=t.querySelector(".sweet-alert");return e||(u(),e=d()),e})),p=function(){var e=d();return e?e.querySelector("input"):void 0},h=function(){return t.querySelector(".sweet-overlay")},f=function(e){if(e&&13===e.keyCode)return!1;var t=d(),n=t.querySelector(".sa-input-error");s.removeClass(n,"show");var i=t.querySelector(".sa-error-container");s.removeClass(i,"show")};r.sweetAlertInitialize=u,r.getModal=d,r.getOverlay=h,r.getInput=p,r.setFocusStyle=function(e,t){var n=a.hexToRgb(t);e.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},r.openModal=function(n){var i=d();s.fadeIn(h(),10),s.show(i),s.addClass(i,"showSweetAlert"),s.removeClass(i,"hideSweetAlert"),e.previousActiveElement=t.activeElement,i.querySelector("button.confirm").focus(),setTimeout((function(){s.addClass(i,"visible")}),500);var r=i.getAttribute("data-timer");if("null"!==r&&""!==r){var o=n;i.timeout=setTimeout((function(){o&&"true"===i.getAttribute("data-has-done-function")?o(null):sweetAlert.close()}),r)}},r.resetInput=function(){var e=d(),t=p();s.removeClass(e,"show-input"),t.value=l.default.inputValue,t.setAttribute("type",l.default.inputType),t.setAttribute("placeholder",l.default.inputPlaceholder),f()},r.resetInputError=f,r.fixVerticalPosition=function(){d().style.marginTop=s.getTopMargin(d())}},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n      <span class="sa-x-mark">\n        <span class="sa-line sa-left"></span>\n        <span class="sa-line sa-right"></span>\n      </span>\n    </div><div class="sa-icon sa-warning">\n      <span class="sa-body"></span>\n      <span class="sa-dot"></span>\n    </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n      <span class="sa-line sa-tip"></span>\n      <span class="sa-line sa-long"></span>\n\n      <div class="sa-placeholder"></div>\n      <div class="sa-fix"></div>\n    </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n    <p>Text</p>\n    <fieldset>\n      <input type="text" tabIndex="3" />\n      <div class="sa-input-error"></div>\n    </fieldset><div class="sa-error-container">\n      <div class="icon">!</div>\n      <p>Not valid!</p>\n    </div><div class="sa-button-container">\n      <button class="cancel" tabIndex="2">Cancel</button>\n      <div class="sa-confirm-button-container">\n        <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n          <div></div>\n          <div></div>\n          <div></div>\n        </div>\n      </div>\n    </div></div>',t.exports=n.default},{}],8:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0});var r=e("./utils"),o=e("./handle-swal-dom"),a=e("./handle-dom"),s=["error","warning","info","success","input","prompt"];i.default=function(e){var t=o.getModal(),i=t.querySelector("h2"),l=t.querySelector("p"),c=t.querySelector("button.cancel"),u=t.querySelector("button.confirm");if(i.innerHTML=e.html?e.title:a.escapeHtml(e.title).split("\n").join("<br>"),l.innerHTML=e.html?e.text:a.escapeHtml(e.text||"").split("\n").join("<br>"),e.text&&a.show(l),e.customClass)a.addClass(t,e.customClass),t.setAttribute("data-custom-class",e.customClass);else{var d=t.getAttribute("data-custom-class");a.removeClass(t,d),t.setAttribute("data-custom-class","")}if(a.hide(t.querySelectorAll(".sa-icon")),e.type&&!r.isIE8()){var p=function(){for(var i=!1,r=0;r<s.length;r++)if(e.type===s[r]){i=!0;break}if(!i)return logStr("Unknown alert type: "+e.type),{v:!1};var l=n;-1!==["success","error","warning","info"].indexOf(e.type)&&(l=t.querySelector(".sa-icon.sa-"+e.type),a.show(l));var c=o.getInput();switch(e.type){case"success":a.addClass(l,"animate"),a.addClass(l.querySelector(".sa-tip"),"animateSuccessTip"),a.addClass(l.querySelector(".sa-long"),"animateSuccessLong");break;case"error":a.addClass(l,"animateErrorIcon"),a.addClass(l.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":a.addClass(l,"pulseWarning"),a.addClass(l.querySelector(".sa-body"),"pulseWarningIns"),a.addClass(l.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":c.setAttribute("type",e.inputType),c.value=e.inputValue,c.setAttribute("placeholder",e.inputPlaceholder),a.addClass(t,"show-input"),setTimeout((function(){c.focus(),c.addEventListener("keyup",swal.resetInputError)}),400)}}();if("object"==typeof p)return p.v}if(e.imageUrl){var h=t.querySelector(".sa-icon.sa-custom");h.style.backgroundImage="url("+e.imageUrl+")",a.show(h);var f=80,g=80;if(e.imageSize){var m=e.imageSize.toString().split("x"),v=m[0],b=m[1];v&&b?(f=v,g=b):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+e.imageSize)}h.setAttribute("style",h.getAttribute("style")+"width:"+f+"px; height:"+g+"px")}t.setAttribute("data-has-cancel-button",e.showCancelButton),e.showCancelButton?c.style.display="inline-block":a.hide(c),t.setAttribute("data-has-confirm-button",e.showConfirmButton),e.showConfirmButton?u.style.display="inline-block":a.hide(u),e.cancelButtonText&&(c.innerHTML=a.escapeHtml(e.cancelButtonText)),e.confirmButtonText&&(u.innerHTML=a.escapeHtml(e.confirmButtonText)),e.confirmButtonColor&&(u.style.backgroundColor=e.confirmButtonColor,u.style.borderLeftColor=e.confirmLoadingButtonColor,u.style.borderRightColor=e.confirmLoadingButtonColor,o.setFocusStyle(u,e.confirmButtonColor)),t.setAttribute("data-allow-outside-click",e.allowOutsideClick),t.setAttribute("data-has-done-function",!!e.doneFunction),t.setAttribute("data-animation",e.animation?"string"==typeof e.animation?e.animation:"pop":"none"),t.setAttribute("data-timer",e.timer)},t.exports=i.default},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(t,n,i){Object.defineProperty(i,"__esModule",{value:!0}),i.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},i.hexToRgb=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null},i.isIE8=function(){return e.attachEvent&&!e.addEventListener},i.logStr=function(t){e.console&&e.console.log("SweetAlert: "+t)},i.colorLuminance=function(e,t){(e=String(e).replace(/[^0-9a-f]/gi,"")).length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;var n,i,r="#";for(i=0;3>i;i++)n=parseInt(e.substr(2*i,2),16),r+=("00"+(n=Math.round(Math.min(Math.max(0,n+n*t),255)).toString(16))).substr(n.length);return r}},{}]},{},[1]),"function"==typeof define&&define.amd?define((function(){return sweetAlert})):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),angular.module("oitozero.ngSweetAlert",[]).factory("SweetAlert",["$rootScope",function(e){var t=window.swal;return{swal:function(n,i,r){e.$evalAsync((function(){t(n,"function"==typeof i?function(t){e.$evalAsync((function(){i(t)}))}:i,r)}))},success:function(n,i){e.$evalAsync((function(){t(n,i,"success")}))},error:function(n,i){e.$evalAsync((function(){t(n,i,"error")}))},warning:function(n,i){e.$evalAsync((function(){t(n,i,"warning")}))},info:function(n,i){e.$evalAsync((function(){t(n,i,"info")}))}}}]),function(){function e(t){var n=e.modules[t];if(!n)throw new Error('failed to require "'+t+'"');return"exports"in n||"function"!=typeof n.definition||(n.client=n.component=!0,n.definition.call(this,n.exports={},n),delete n.definition),n.exports}e.loader="component",(e.helper={}).semVerSort=function(e,t){for(var n=e.version.split("."),i=t.version.split("."),r=0;r<n.length;++r){var o=parseInt(n[r],10),a=parseInt(i[r],10);if(o!==a)return o>a?1:-1;var s=n[r].substr((""+o).length),l=i[r].substr((""+a).length);if(""===s&&""!==l)return 1;if(""!==s&&""===l)return-1;if(""!==s&&""!==l)return s>l?1:-1}return 0},e.latest=function(t,n){function i(e){throw new Error('failed to find latest module of "'+e+'"')}var r=/(.*)~(.*)@v?(\d+\.\d+\.\d+[^\/]*)$/;/(.*)~(.*)/.test(t)||i(t);for(var o=Object.keys(e.modules),a=[],s=[],l=0;l<o.length;l++){var c=o[l];if(new RegExp(t+"@").test(c)){var u=c.substr(t.length+1);null!=r.exec(c)?a.push({version:u,name:c}):s.push({version:u,name:c})}}if(0===a.concat(s).length&&i(t),a.length>0){var d=a.sort(e.helper.semVerSort).pop().name;return!0===n?d:e(d)}return d=s.sort((function(e,t){return e.name>t.name}))[0].name,!0===n?d:e(d)},e.modules={},e.register=function(t,n){e.modules[t]={definition:n}},e.define=function(t,n){e.modules[t]={exports:n}},e.register("abpetkov~transitionize@0.0.3",(function(e,t){function n(e,t){if(!(this instanceof n))return new n(e,t);this.element=e,this.props=t||{},this.init()}t.exports=n,n.prototype.isSafari=function(){return/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor)},n.prototype.init=function(){var e=[];for(var t in this.props)e.push(t+" "+this.props[t]);this.element.style.transition=e.join(", "),this.isSafari()&&(this.element.style.webkitTransition=e.join(", "))}})),e.register("ftlabs~fastclick@v0.6.11",(function(e,t){function n(e){"use strict";var t,i=this;if(this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=10,this.layer=e,!e||!e.nodeType)throw new TypeError("Layer must be a document node");this.onClick=function(){return n.prototype.onClick.apply(i,arguments)},this.onMouse=function(){return n.prototype.onMouse.apply(i,arguments)},this.onTouchStart=function(){return n.prototype.onTouchStart.apply(i,arguments)},this.onTouchMove=function(){return n.prototype.onTouchMove.apply(i,arguments)},this.onTouchEnd=function(){return n.prototype.onTouchEnd.apply(i,arguments)},this.onTouchCancel=function(){return n.prototype.onTouchCancel.apply(i,arguments)},n.notNeeded(e)||(this.deviceIsAndroid&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,i){Node.prototype.removeEventListener.call(e,t,"click"===t&&n.hijacked||n,i)},e.addEventListener=function(t,n,i){Node.prototype.addEventListener.call(e,t,"click"===t?n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}):n,i)}),"function"==typeof e.onclick&&(t=e.onclick,e.addEventListener("click",(function(e){t(e)}),!1),e.onclick=null))}n.prototype.deviceIsAndroid=navigator.userAgent.indexOf("Android")>0,n.prototype.deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent),n.prototype.deviceIsIOS4=n.prototype.deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),n.prototype.deviceIsIOSWithBadTarget=n.prototype.deviceIsIOS&&/OS ([6-9]|\d{2})_\d/.test(navigator.userAgent),n.prototype.needsClick=function(e){"use strict";switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(this.deviceIsIOS&&"file"===e.type||e.disabled)return!0;break;case"label":case"video":return!0}return/\bneedsclick\b/.test(e.className)},n.prototype.needsFocus=function(e){"use strict";switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!this.deviceIsAndroid;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},n.prototype.sendClick=function(e,t){"use strict";var n,i;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),i=t.changedTouches[0],(n=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(e),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},n.prototype.determineEventType=function(e){"use strict";return this.deviceIsAndroid&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},n.prototype.focus=function(e){"use strict";var t;this.deviceIsIOS&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type?e.setSelectionRange(t=e.value.length,t):e.focus()},n.prototype.updateScrollParent=function(e){"use strict";var t,n;if(!(t=e.fastClickScrollParent)||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},n.prototype.getTargetElementFromEventTarget=function(e){"use strict";return e.nodeType===Node.TEXT_NODE?e.parentNode:e},n.prototype.onTouchStart=function(e){"use strict";var t,n,i;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],this.deviceIsIOS){if((i=window.getSelection()).rangeCount&&!i.isCollapsed)return!0;if(!this.deviceIsIOS4){if(n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<200&&e.preventDefault(),!0},n.prototype.touchHasMoved=function(e){"use strict";var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n},n.prototype.onTouchMove=function(e){"use strict";return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0)},n.prototype.findControl=function(e){"use strict";return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},n.prototype.onTouchEnd=function(e){"use strict";var t,n,i,r,o,a=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<200)return this.cancelNextClick=!0,!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,n=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,this.deviceIsIOSWithBadTarget&&(o=e.changedTouches[0],(a=document.elementFromPoint(o.pageX-window.pageXOffset,o.pageY-window.pageYOffset)||a).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(i=a.tagName.toLowerCase())){if(t=this.findControl(a)){if(this.focus(a),this.deviceIsAndroid)return!1;a=t}}else if(this.needsFocus(a))return e.timeStamp-n>100||this.deviceIsIOS&&window.top!==window&&"input"===i?(this.targetElement=null,!1):(this.focus(a),this.deviceIsIOS4&&"select"===i||(this.targetElement=null,e.preventDefault()),!1);return!(!this.deviceIsIOS||this.deviceIsIOS4||!(r=a.fastClickScrollParent)||r.fastClickLastScrollTop===r.scrollTop)||(this.needsClick(a)||(e.preventDefault(),this.sendClick(a,e)),!1)},n.prototype.onTouchCancel=function(){"use strict";this.trackingClick=!1,this.targetElement=null},n.prototype.onMouse=function(e){"use strict";return!(this.targetElement&&!e.forwardedTouchEvent&&e.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)&&(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),1))},n.prototype.onClick=function(e){"use strict";var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail||((t=this.onMouse(e))||(this.targetElement=null),t)},n.prototype.destroy=function(){"use strict";var e=this.layer;this.deviceIsAndroid&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},n.notNeeded=function(e){"use strict";var t,i;if(void 0===window.ontouchstart)return!0;if(i=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!n.prototype.deviceIsAndroid)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(i>31&&window.innerWidth<=window.screen.width)return!0}}return"none"===e.style.msTouchAction},n.attach=function(e){"use strict";return new n(e)},"undefined"!=typeof define&&define.amd?define((function(){"use strict";return n})):void 0!==t&&t.exports?(t.exports=n.attach,t.exports.FastClick=n):window.FastClick=n})),e.register("component~indexof@0.0.3",(function(e,t){t.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}})),e.register("component~classes@1.2.1",(function(t,n){var i=e("component~indexof@0.0.3"),r=/\s+/,o=Object.prototype.toString;function a(e){if(!e)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}n.exports=function(e){return new a(e)},a.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~i(t,e)||t.push(e),this.el.className=t.join(" "),this},a.prototype.remove=function(e){if("[object RegExp]"==o.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=i(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},a.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},a.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},a.prototype.array=function(){var e=this.el.className.replace(/^\s+|\s+$/g,"").split(r);return""===e[0]&&e.shift(),e},a.prototype.has=a.prototype.contains=function(e){return this.list?this.list.contains(e):!!~i(this.array(),e)}})),e.register("component~event@0.1.4",(function(e,t){var n=window.addEventListener?"addEventListener":"attachEvent",i=window.removeEventListener?"removeEventListener":"detachEvent",r="addEventListener"!==n?"on":"";e.bind=function(e,t,i,o){return e[n](r+t,i,o||!1),i},e.unbind=function(e,t,n,o){return e[i](r+t,n,o||!1),n}})),e.register("component~query@0.0.3",(function(e,t){function n(e,t){return t.querySelector(e)}(e=t.exports=function(e,t){return n(e,t=t||document)}).all=function(e,t){return(t=t||document).querySelectorAll(e)},e.engine=function(t){if(!t.one)throw new Error(".one callback required");if(!t.all)throw new Error(".all callback required");return n=t.one,e.all=t.all,e}})),e.register("component~matches-selector@0.1.5",(function(t,n){var i=e("component~query@0.0.3"),r=Element.prototype,o=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector;n.exports=function(e,t){if(!e||1!==e.nodeType)return!1;if(o)return o.call(e,t);for(var n=i.all(t,e.parentNode),r=0;r<n.length;++r)if(n[r]==e)return!0;return!1}})),e.register("component~closest@0.1.4",(function(t,n){var i=e("component~matches-selector@0.1.5");n.exports=function(e,t,n,r){for(e=n?{parentNode:e}:e,r=r||document;(e=e.parentNode)&&e!==document;){if(i(e,t))return e;if(e===r)return}}})),e.register("component~delegate@0.2.3",(function(t,n){var i=e("component~closest@0.1.4"),r=e("component~event@0.1.4");t.bind=function(e,t,n,o,a){return r.bind(e,n,(function(n){n.delegateTarget=i(n.target||n.srcElement,t,!0,e),n.delegateTarget&&o.call(e,n)}),a)},t.unbind=function(e,t,n,i){r.unbind(e,t,n,i)}})),e.register("component~events@1.0.9",(function(t,n){var i=e("component~event@0.1.4"),r=e("component~delegate@0.2.3");function o(e,t){if(!(this instanceof o))return new o(e,t);if(!e)throw new Error("element required");if(!t)throw new Error("object required");this.el=e,this.obj=t,this._events={}}function a(e){var t=e.split(/ +/);return{name:t.shift(),selector:t.join(" ")}}n.exports=o,o.prototype.sub=function(e,t,n){this._events[e]=this._events[e]||{},this._events[e][t]=n},o.prototype.bind=function(e,t){var n=a(e),o=this.el,s=this.obj,l=n.name,c=(t=t||"on"+l,[].slice.call(arguments,2));function u(){var e=[].slice.call(arguments).concat(c);s[t].apply(s,e)}return n.selector?u=r.bind(o,n.selector,l,u):i.bind(o,l,u),this.sub(l,t,u),u},o.prototype.unbind=function(e,t){if(0==arguments.length)return this.unbindAll();if(1==arguments.length)return this.unbindAllOf(e);var n=this._events[e];if(n){var r=n[t];r&&i.unbind(this.el,e,r)}},o.prototype.unbindAll=function(){for(var e in this._events)this.unbindAllOf(e)},o.prototype.unbindAllOf=function(e){var t=this._events[e];if(t)for(var n in t)this.unbind(e,n)}})),e.register("switchery",(function(t,n){var i=e("abpetkov~transitionize@0.0.3"),r=e("ftlabs~fastclick@v0.6.11"),o=e("component~classes@1.2.1"),a=e("component~events@1.0.9");n.exports=l;var s={color:"#64bd63",secondaryColor:"#dfdfdf",jackColor:"#fff",jackSecondaryColor:null,className:"switchery",disabled:!1,disabledOpacity:.5,speed:"0.4s",size:"default"};function l(e,t){if(!(this instanceof l))return new l(e,t);for(var n in this.element=e,this.options=t||{},s)null==this.options[n]&&(this.options[n]=s[n]);null!=this.element&&"checkbox"==this.element.type&&this.init(),!0===this.isDisabled()&&this.disable()}l.prototype.hide=function(){this.element.style.display="none"},l.prototype.show=function(){var e=this.create();this.insertAfter(this.element,e)},l.prototype.create=function(){return this.switcher=document.createElement("span"),this.jack=document.createElement("small"),this.switcher.appendChild(this.jack),this.switcher.className=this.options.className,this.events=a(this.switcher,this),this.switcher},l.prototype.insertAfter=function(e,t){e.parentNode.insertBefore(t,e.nextSibling)},l.prototype.setPosition=function(e){var t=this.isChecked(),n=this.switcher,i=this.jack;e&&t?t=!1:e&&!t&&(t=!0),!0===t?(this.element.checked=!0,i.style.left=window.getComputedStyle?parseInt(window.getComputedStyle(n).width)-parseInt(window.getComputedStyle(i).width)+"px":parseInt(n.currentStyle.width)-parseInt(i.currentStyle.width)+"px",this.options.color&&this.colorize(),this.setSpeed()):(i.style.left=0,this.element.checked=!1,this.switcher.style.boxShadow="inset 0 0 0 0 "+this.options.secondaryColor,this.switcher.style.borderColor=this.options.secondaryColor,this.switcher.style.backgroundColor=this.options.secondaryColor!==s.secondaryColor?this.options.secondaryColor:"#fff",this.jack.style.backgroundColor=this.options.jackSecondaryColor!==this.options.jackColor?this.options.jackSecondaryColor:this.options.jackColor,this.setSpeed())},l.prototype.setSpeed=function(){var e,t={"background-color":this.options.speed,left:this.options.speed.replace(/[a-z]/,"")/2+"s"};e=this.isChecked()?{border:this.options.speed,"box-shadow":this.options.speed,"background-color":3*this.options.speed.replace(/[a-z]/,"")+"s"}:{border:this.options.speed,"box-shadow":this.options.speed},i(this.switcher,e),i(this.jack,t)},l.prototype.setSize=function(){switch(this.options.size){case"small":o(this.switcher).add("switchery-small");break;case"large":o(this.switcher).add("switchery-large");break;default:o(this.switcher).add("switchery-default")}},l.prototype.colorize=function(){var e=this.switcher.offsetHeight/2;this.switcher.style.backgroundColor=this.options.color,this.switcher.style.borderColor=this.options.color,this.switcher.style.boxShadow="inset 0 0 0 "+e+"px "+this.options.color,this.jack.style.backgroundColor=this.options.jackColor},l.prototype.handleOnchange=function(e){if(document.dispatchEvent){var t=document.createEvent("HTMLEvents");t.initEvent("change",!0,!0),this.element.dispatchEvent(t)}else this.element.fireEvent("onchange")},l.prototype.handleChange=function(){var e=this,t=this.element;t.addEventListener?t.addEventListener("change",(function(){e.setPosition()})):t.attachEvent("onchange",(function(){e.setPosition()}))},l.prototype.handleClick=function(){r(this.switcher),this.events.bind("click","bindClick")},l.prototype.bindClick=function(){var e=this.element.parentNode.tagName.toLowerCase();this.setPosition("label"!==e),this.handleOnchange(this.element.checked)},l.prototype.markAsSwitched=function(){this.element.setAttribute("data-switchery",!0)},l.prototype.markedAsSwitched=function(){return this.element.getAttribute("data-switchery")},l.prototype.init=function(){this.hide(),this.show(),this.setSize(),this.setPosition(),this.markAsSwitched(),this.handleChange(),this.handleClick()},l.prototype.isChecked=function(){return this.element.checked},l.prototype.isDisabled=function(){return this.options.disabled||this.element.disabled||this.element.readOnly},l.prototype.destroy=function(){this.events.unbind()},l.prototype.enable=function(){this.options.disabled&&(this.options.disabled=!1),this.element.disabled&&(this.element.disabled=!1),this.element.readOnly&&(this.element.readOnly=!1),this.switcher.style.opacity=1,this.events.bind("click","bindClick")},l.prototype.disable=function(){this.options.disabled||(this.options.disabled=!0),this.element.disabled||(this.element.disabled=!0),this.element.readOnly||(this.element.readOnly=!0),this.switcher.style.opacity=this.options.disabledOpacity,this.destroy()}})),"object"==typeof exports?module.exports=e("switchery"):"function"==typeof define&&define.amd?define("Switchery",[],(function(){return e("switchery")})):(this||window).Switchery=e("switchery")}(),angular.module("NgSwitchery",[]).directive("uiSwitch",["$window","$timeout","$log","$parse",function(e,t,n,i){return{require:"ngModel",restrict:"AE",scope:{initValue:"=ngModel"},link:function(n,r,o,a){if(!a)return!1;var s,l,c={};try{c=i(o.uiSwitch)(n)}catch(d){}function u(){t((function(){s&&angular.element(s.switcher).remove();var t=(s=new e.Switchery(r[0],c)).element;t.checked=n.initValue,s.setPosition(!1),t.addEventListener("change",(function(e){n.$apply((function(){a.$setViewValue(t.checked)})),n.$watch("initValue",(function(){s.setPosition(!1)}))}))}),0)}o.$observe("disabled",(function(e){null!=e&&e!=l&&(l=e,u())})),u()}}}]),angular.module("youtube-embed",[]).service("youtubeEmbedUtils",["$window","$rootScope",function(e,t){function n(e,t){return e.indexOf(t)>-1}function i(){t.$apply((function(){r.ready=!0}))}var r={},o=/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube(?:-nocookie)?\.com\S*[^\w\s-])([\w-]{11})(?=[^\w-]|$)(?![?=&+%\w.-]*(?:['"][^<>]*>|<\/a>))[?=&+%\w.-]*/gi,a=/t=(\d+)[ms]?(\d+)?s?/;return r.getIdFromURL=function(e){var t=e.replace(o,"$1");if(n(t,";")){var i=t.split(";");t=n(i[1],"%")?("http://youtube.com"+decodeURIComponent(i[1])).replace(o,"$1"):i[0]}else n(t,"#")&&(t=t.split("#")[0]);return t},r.getTimeFromURL=function(e){var t=(e=e||"").match(a);if(!t)return 0;var i=t[0],r=t[1],o=t[2];return void 0!==o?(o=parseInt(o,10),r=parseInt(r,10)):n(i,"m")?(r=parseInt(r,10),o=0):(o=parseInt(r,10),r=0),o+60*r},r.ready=!1,"undefined"==typeof YT?(e.onYouTubeIframeAPIReady=i,console.log("Unable to find YouTube iframe library on this page.")):YT.loaded?r.ready=!0:YT.ready(i),r}]).directive("youtubeVideo",["$window","youtubeEmbedUtils",function(e,t){var n=1,i={"-1":"unstarted",0:"ended",1:"playing",2:"paused",3:"buffering",5:"queued"},r="youtube.player.";return e.YTConfig={host:"https://www.youtube.com"},{restrict:"EA",scope:{videoId:"=?",videoUrl:"=?",player:"=?",playerVars:"=?",playerHeight:"=?",playerWidth:"=?"},link:function(e,o,a){function s(){var t=Array.prototype.slice.call(arguments);e.$apply((function(){e.$emit.apply(e,t)}))}function l(t){var n=i[t.data];void 0!==n&&s(r+n,e.player,t),e.$apply((function(){e.player.currentState=n}))}function c(t){s(r+"ready",e.player,t)}function u(t){s(r+"error",e.player,t)}function d(){(e.videoId||e.playerVars.list)&&(e.player&&"function"==typeof e.player.destroy&&e.player.destroy(),e.player=function(){var t=angular.copy(e.playerVars);t.start=t.start||e.urlStartTime;var n=new YT.Player(p,{height:e.playerHeight,width:e.playerWidth,videoId:e.videoId,playerVars:t,events:{onReady:c,onStateChange:l,onError:u}});return n.id=p,n}())}e.utils=t;var p=a.playerId||o[0].id||"unique-youtube-embed-id-"+n++;o[0].id=p,e.playerHeight=e.playerHeight||390,e.playerWidth=e.playerWidth||640,e.playerVars=e.playerVars||{};var h=e.$watch((function(){return e.utils.ready&&(void 0!==e.videoUrl||void 0!==e.videoId||void 0!==e.playerVars.list)}),(function(t){t&&(h(),void 0!==e.videoUrl?e.$watch("videoUrl",(function(t){e.videoId=e.utils.getIdFromURL(t),e.urlStartTime=e.utils.getTimeFromURL(t),d()})):e.$watch(void 0!==e.videoId?"videoId":"playerVars.list",(function(){e.urlStartTime=null,d()})))}));e.$watchCollection(["playerHeight","playerWidth"],(function(){e.player&&e.player.setSize(e.playerWidth,e.playerHeight)})),e.$on("$destroy",(function(){e.player&&e.player.destroy()}))}}}]),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function d(e,t,n,i){return wt(e,t,n,i,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function h(e){if(null==e._isValid){var n=p(e),i=t.call(n.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(e._strict&&(r=r&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function f(e){var t=d(NaN);return null!=e?u(p(t),e):p(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var g=n.momentProperties=[];function m(e,t){var n,i,r;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)o(r=t[i=g[n]])||(e[i]=r);return e}var v=!1;function b(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,n.updateOffset(this),v=!1)}function y(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function M(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=M(t)),n}function C(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&w(e[i])!==w(t[i]))&&a++;return a+o}function A(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var i=!0;return u((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),i){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}A(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var S,z={};function T(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),z[e]||(A(t),z[e]=!0)}function k(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function $(e,t){var n,i=u({},e);for(n in t)c(t,n)&&(r(e[n])&&r(t[n])?(i[n]={},u(i[n],e[n]),u(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)c(e,n)&&!c(t,n)&&r(e[n])&&(i[n]=u({},i[n]));return i}function _(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var O={};function E(e,t){var n=e.toLowerCase();O[n]=O[n+"s"]=O[t]=e}function L(e){return"string"==typeof e?O[e]||O[e.toLowerCase()]:void 0}function N(e){var t,n,i={};for(n in e)c(e,n)&&(t=L(n))&&(i[t]=e[n]);return i}var D={};function P(e,t){D[e]=t}function q(e,t,n){var i=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}var W=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},B={};function F(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(B[e]=r),t&&(B[t[0]]=function(){return q(r.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function H(e,t){return e.isValid()?(t=X(t,e.localeData()),I[t]=I[t]||function(e){var t,n,i,r=e.match(W);for(t=0,n=r.length;t<n;t++)r[t]=B[r[t]]?B[r[t]]:(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=k(r[i])?r[i].call(t,e):r[i];return o}}(t),I[t](e)):e.localeData().invalidDate()}function X(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,i),R.lastIndex=0,n-=1;return e}var j=/\d/,V=/\d\d/,U=/\d{3}/,G=/\d{4}/,Y=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Z=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,re=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,se={};function le(e,t,n){se[e]=k(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return c(se,e)?se[e](t._strict,t._locale):new RegExp(ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var de={};function pe(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),a(t)&&(i=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)de[e[n]]=i}function he(e,t){pe(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function fe(e,t,n){null!=t&&c(de,e)&&de[e](t,n._a,n,e)}function ge(e){return me(e)?366:365}function me(e){return e%4==0&&e%100!=0||e%400==0}F("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),E("year","y"),P("year",1),le("Y",ie),le("YY",K,V),le("YYYY",ee,G),le("YYYYY",te,Y),le("YYYYYY",te,Y),pe(["YYYYY","YYYYYY"],0),pe("YYYY",(function(e,t){t[0]=2===e.length?n.parseTwoDigitYear(e):w(e)})),pe("YY",(function(e,t){t[0]=n.parseTwoDigitYear(e)})),pe("Y",(function(e,t){t[0]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var ve,be=ye("FullYear",!0);function ye(e,t){return function(i){return null!=i?(we(this,e,i),n.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function we(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&me(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ce(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ce(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?me(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),F("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),E("month","M"),P("month",8),le("M",K),le("MM",K,V),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),pe(["M","MM"],(function(e,t){t[1]=w(e)-1})),pe(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[1]=r:p(n).invalidMonth=e}));var Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Se="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ze(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,a))?r:null:-1!==(r=ve.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,a))||-1!==(r=ve.call(this._longMonthsParse,a))?r:null:-1!==(r=ve.call(this._longMonthsParse,a))||-1!==(r=ve.call(this._shortMonthsParse,a))?r:null}function Te(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!a(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ce(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ke(e){return null!=e?(Te(this,e),n.updateOffset(this,!0),this):Me(this,"Month")}var $e=ae,_e=ae;function Oe(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=d([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=ue(i[t]),r[t]=ue(r[t]);for(t=0;t<24;t++)o[t]=ue(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ee(e,t,n,i,r,o,a){var s=new Date(e,t,n,i,r,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Le(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ne(e,t,n){var i=7+t-n;return-(7+Le(e,0,i).getUTCDay()-t)%7+i-1}function De(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+Ne(e,i,r);return s<=0?a=ge(o=e-1)+s:s>ge(e)?(o=e+1,a=s-ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Pe(e,t,n){var i,r,o=Ne(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+qe(r=e.year()-1,t,n):a>qe(e.year(),t,n)?(i=a-qe(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function qe(e,t,n){var i=Ne(e,t,n),r=Ne(e+1,t,n);return(ge(e)-i+r)/7}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),E("week","w"),E("isoWeek","W"),P("week",5),P("isoWeek",5),le("w",K),le("ww",K,V),le("W",K),le("WW",K,V),he(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=w(e)})),F("d",0,"do","day"),F("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),F("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),F("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),E("day","d"),E("weekday","e"),E("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),le("d",K),le("e",K),le("E",K),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),he(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e})),he(["d","e","E"],(function(e,t,n,i){t[i]=w(e)}));var We="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Re="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Be(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._shortWeekdaysParse,a))||-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,a))||-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,a))||-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._shortWeekdaysParse,a))?r:null}var Fe=ae,He=ae,Xe=ae;function je(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),l.push(o),c.push(i),c.push(r),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=ue(s[t]),l[t]=ue(l[t]),c[t]=ue(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ve(){return this.hours()%12||12}function Ue(e,t){F(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ge(e,t){return t._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Ve),F("k",["kk",2],0,(function(){return this.hours()||24})),F("hmm",0,0,(function(){return""+Ve.apply(this)+q(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+Ve.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+q(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)})),Ue("a",!0),Ue("A",!1),E("hour","h"),P("hour",13),le("a",Ge),le("A",Ge),le("H",K),le("h",K),le("k",K),le("HH",K,V),le("hh",K,V),le("kk",K,V),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),pe(["H","HH"],3),pe(["k","kk"],(function(e,t,n){var i=w(e);t[3]=24===i?0:i})),pe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),pe(["h","hh"],(function(e,t,n){t[3]=w(e),p(n).bigHour=!0})),pe("hmm",(function(e,t,n){var i=e.length-2;t[3]=w(e.substr(0,i)),t[4]=w(e.substr(i)),p(n).bigHour=!0})),pe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=w(e.substr(0,i)),t[4]=w(e.substr(i,2)),t[5]=w(e.substr(r)),p(n).bigHour=!0})),pe("Hmm",(function(e,t,n){var i=e.length-2;t[3]=w(e.substr(0,i)),t[4]=w(e.substr(i))})),pe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=w(e.substr(0,i)),t[4]=w(e.substr(i,2)),t[5]=w(e.substr(r))}));var Ye,Ke=ye("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xe,monthsShort:Se,week:{dow:0,doy:6},weekdays:We,weekdaysMin:Ie,weekdaysShort:Re,meridiemParse:/[ap]\.?m?\.?/i},Je={},Ze={};function et(e){return e?e.toLowerCase().replace("_","-"):e}function tt(e){var t=null;if(!Je[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Ye._abbr,require("./locale/"+e),nt(t)}catch(n){}return Je[e]}function nt(e,t){var n;return e&&(n=o(t)?rt(e):it(e,t))&&(Ye=n),Ye._abbr}function it(e,t){if(null!==t){var n=Qe;if(t.abbr=e,null!=Je[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Je[e]._config;else if(null!=t.parentLocale){if(null==Je[t.parentLocale])return Ze[t.parentLocale]||(Ze[t.parentLocale]=[]),Ze[t.parentLocale].push({name:e,config:t}),null;n=Je[t.parentLocale]._config}return Je[e]=new _($(n,t)),Ze[e]&&Ze[e].forEach((function(e){it(e.name,e.config)})),nt(e),Je[e]}return delete Je[e],null}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!i(e)){if(t=tt(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=et(e[o]).split("-")).length,n=(n=et(e[o+1]))?n.split("-"):null;t>0;){if(i=tt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&C(r,n,!0)>=t-1)break;t--}o++}return null}(e)}function ot(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ce(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var t,i,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,o,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=at(t.GG,e._a[0],Pe(Ct(),1,4).year),i=at(t.W,1),((r=at(t.E,1))<1||r>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Pe(Ct(),o,a);n=at(t.gg,e._a[0],c.year),i=at(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o}i<1||i>qe(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=De(n,i,r,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=at(e._a[0],r[0]),(e._dayOfYear>ge(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),i=Le(a,0,e._dayOfYear),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Le:Ee).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((\-?\d+)/i;function ft(e){var t,n,i,r,o,a,s=e._i,l=lt.exec(s)||ct.exec(s);if(l){for(p(e).iso=!0,t=0,n=dt.length;t<n;t++)if(dt[t][1].exec(l[1])){r=dt[t][0],i=!1!==dt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){o=(l[2]||" ")+pt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!ut.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),yt(e)}else e._isValid=!1}var gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function mt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,n,i,r,o,a,s=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(s){var l=(t=s[3],n=s[2],i=s[5],r=s[6],o=s[7],a=[mt(s[4]),Se.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)],o&&a.push(parseInt(o,10)),a);if(!function(e,t,n){return!e||Re.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(s[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(s[8],s[9],s[10]),e._d=Le.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function yt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],p(e).empty=!0;var t,i,r,o,a,s=""+e._i,l=s.length,c=0;for(r=X(e._f,e._locale).match(W)||[],t=0;t<r.length;t++)(i=(s.match(ce(o=r[t],e))||[])[0])&&((a=s.substr(0,s.indexOf(i))).length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),B[o]?(i?p(e).empty=!1:p(e).unusedTokens.push(o),fe(o,i,e)):e._strict&&!i&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),st(e),ot(e)}else bt(e);else ft(e)}function Mt(e){var t=e._i,c=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===c&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),y(t)?new b(ot(t)):(s(t)?e._d=t:i(c)?function(e){var t,n,i,r,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,t=m({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],yt(t),h(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==i||o<i)&&(i=o,n=t));u(e,n||t)}(e):c?yt(e):function(e){var t=e._i;o(t)?e._d=new Date(n.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ht.exec(e._i);null===t?(ft(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),st(e)):r(t)?function(e){if(!e._d){var t=N(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),st(e)}}(e):a(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),h(e)||(e._d=null),e))}function wt(e,t,n,o,a){var s,l={};return!0!==n&&!1!==n||(o=n,n=void 0),(r(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=o,(s=new b(ot(Mt(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ct(e,t,n,i){return wt(e,t,n,i,!1)}n.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var At=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()})),xt=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}));function St(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Ct();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var zt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Tt(e){var t=N(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ve.call(zt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<zt.length;++i)if(e[zt[i]]){if(n)return!1;parseFloat(e[zt[i]])!==w(e[zt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=rt(),this._bubble()}function kt(e){return e instanceof Tt}function $t(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function _t(e,t){F(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)}))}_t("Z",":"),_t("ZZ",""),le("Z",oe),le("ZZ",oe),pe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Et(oe,e)}));var Ot=/([\+\-]|\d\d)/gi;function Et(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Ot)||["-",0,0],r=60*i[1]+w(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Lt(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(y(e)||s(e)?e.valueOf():Ct(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),n.updateOffset(i,!1),i):Ct(e).local()}function Nt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Dt(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Pt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wt(e,t){var n,i,r,o,s,l,u=e,d=null;return kt(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(u={},t?u[t]=e:u.milliseconds=e):(d=Pt.exec(e))?(n="-"===d[1]?-1:1,u={y:0,d:w(d[2])*n,h:w(d[3])*n,m:w(d[4])*n,s:w(d[5])*n,ms:w($t(1e3*d[6]))*n}):(d=qt.exec(e))?u={y:Rt(d[2],n="-"===d[1]?-1:1),M:Rt(d[3],n),w:Rt(d[4],n),d:Rt(d[5],n),h:Rt(d[6],n),m:Rt(d[7],n),s:Rt(d[8],n)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=Ct(u.from),s=Ct(u.to),r=o.isValid()&&s.isValid()?(s=Lt(s,o),o.isBefore(s)?l=It(o,s):((l=It(s,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),i=new Tt(u),kt(e)&&c(e,"_locale")&&(i._locale=e._locale),i}function Rt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function It(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Ft(this,Wt(n="string"==typeof n?+n:n,i),e),this}}function Ft(e,t,i,r){var o=t._milliseconds,a=$t(t._days),s=$t(t._months);e.isValid()&&(r=null==r||r,s&&Te(e,Me(e,"Month")+s*i),a&&we(e,"Date",Me(e,"Date")+a*i),o&&e._d.setTime(e._d.valueOf()+o*i),r&&n.updateOffset(e,a||s))}Wt.fn=Tt.prototype,Wt.invalid=function(){return Wt(NaN)};var Ht=Bt(1,"add"),Xt=Bt(-1,"subtract");function jt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Vt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=rt(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ut=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Gt(){return this._locale}function Yt(e,t){F(0,[e,e.length],0,t)}function Kt(e,t,n,i,r){var o;return null==e?Pe(this,i,r).year:(t>(o=qe(e,i,r))&&(t=o),Qt.call(this,e,t,n,i,r))}function Qt(e,t,n,i,r){var o=De(e,t,n,i,r),a=Le(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Yt("gggg","weekYear"),Yt("ggggg","weekYear"),Yt("GGGG","isoWeekYear"),Yt("GGGGG","isoWeekYear"),E("weekYear","gg"),E("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",K,V),le("gg",K,V),le("GGGG",ee,G),le("gggg",ee,G),le("GGGGG",te,Y),le("ggggg",te,Y),he(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=w(e)})),he(["gg","GG"],(function(e,t,i,r){t[r]=n.parseTwoDigitYear(e)})),F("Q",0,"Qo","quarter"),E("quarter","Q"),P("quarter",7),le("Q",j),pe("Q",(function(e,t){t[1]=3*(w(e)-1)})),F("D",["DD",2],"Do","date"),E("date","D"),P("date",9),le("D",K),le("DD",K,V),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),pe(["D","DD"],2),pe("Do",(function(e,t){t[2]=w(e.match(K)[0])}));var Jt=ye("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),E("dayOfYear","DDD"),P("dayOfYear",4),le("DDD",Z),le("DDDD",U),pe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=w(e)})),F("m",["mm",2],0,"minute"),E("minute","m"),P("minute",14),le("m",K),le("mm",K,V),pe(["m","mm"],4);var Zt=ye("Minutes",!1);F("s",["ss",2],0,"second"),E("second","s"),P("second",15),le("s",K),le("ss",K,V),pe(["s","ss"],5);var en,tn=ye("Seconds",!1);for(F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),E("millisecond","ms"),P("millisecond",16),le("S",Z,j),le("SS",Z,V),le("SSS",Z,U),en="SSSS";en.length<=9;en+="S")le(en,ne);function nn(e,t){t[6]=w(1e3*("0."+e))}for(en="S";en.length<=9;en+="S")pe(en,nn);var rn=ye("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var on=b.prototype;function an(e){return e}on.add=Ht,on.calendar=function(e,t){var i=e||Ct(),r=Lt(i,this).startOf("day"),o=n.calendarFormat(this,r)||"sameElse",a=t&&(k(t[o])?t[o].call(this,i):t[o]);return this.format(a||this.localeData().calendar(o,this,Ct(i)))},on.clone=function(){return new b(this)},on.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Lt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=L(t)){case"year":o=jt(this,i)/12;break;case"month":o=jt(this,i);break;case"quarter":o=jt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:M(o)},on.endOf=function(e){return void 0===(e=L(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},on.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)},on.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||Ct(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},on.fromNow=function(e){return this.from(Ct(),e)},on.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||Ct(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},on.toNow=function(e){return this.to(Ct(),e)},on.get=function(e){return k(this[e=L(e)])?this[e]():this},on.invalidAt=function(){return p(this).overflow},on.isAfter=function(e,t){var n=y(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(o(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},on.isBefore=function(e,t){var n=y(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=L(o(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},on.isBetween=function(e,t,n,i){return("("===(i=i||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===i[1]?this.isBefore(t,n):!this.isAfter(t,n))},on.isSame=function(e,t){var n,i=y(e)?e:Ct(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=L(t||"millisecond"))?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},on.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},on.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},on.isValid=function(){return h(this)},on.lang=Ut,on.locale=Vt,on.localeData=Gt,on.max=xt,on.min=At,on.parsingFlags=function(){return u({},p(this))},on.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:D[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=N(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(k(this[e=L(e)]))return this[e](t);return this},on.startOf=function(e){switch(e=L(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},on.subtract=Xt,on.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},on.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},on.toDate=function(){return new Date(this.valueOf())},on.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},on.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+t+'[")]')},on.toJSON=function(){return this.isValid()?this.toISOString():null},on.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},on.unix=function(){return Math.floor(this.valueOf()/1e3)},on.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},on.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=be,on.isLeapYear=function(){return me(this.year())},on.weekYear=function(e){return Kt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},on.isoWeekYear=function(e){return Kt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},on.quarter=on.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},on.month=ke,on.daysInMonth=function(){return Ce(this.year(),this.month())},on.week=on.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},on.isoWeek=on.isoWeeks=function(e){var t=Pe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},on.weeksInYear=function(){var e=this.localeData()._week;return qe(this.year(),e.dow,e.doy)},on.isoWeeksInYear=function(){return qe(this.year(),1,4)},on.date=Jt,on.day=on.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},on.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},on.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},on.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},on.hour=on.hours=Ke,on.minute=on.minutes=Zt,on.second=on.seconds=tn,on.millisecond=on.milliseconds=rn,on.utcOffset=function(e,t,i){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Et(oe,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=Nt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Ft(this,Wt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Nt(this)},on.utc=function(e){return this.utcOffset(0,e)},on.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this},on.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Et(re,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},on.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},on.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},on.isLocal=function(){return!!this.isValid()&&!this._isUTC},on.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},on.isUtc=Dt,on.isUTC=Dt,on.zoneAbbr=function(){return this._isUTC?"UTC":""},on.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},on.dates=x("dates accessor is deprecated. Use date instead.",Jt),on.months=x("months accessor is deprecated. Use month instead",ke),on.years=x("years accessor is deprecated. Use year instead",be),on.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),on.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),(e=Mt(e))._a){var t=e._isUTC?d(e._a):Ct(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var sn=_.prototype;function ln(e,t,n,i){var r=rt(),o=d().set(i,t);return r[n](o,e)}function cn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return ln(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=ln(e,i,n,"month");return r}function un(e,t,n,i){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var r,o=rt(),s=e?o._week.dow:0;if(null!=n)return ln(t,(n+s)%7,i,"day");var l=[];for(r=0;r<7;r++)l[r]=ln(t,(r+s)%7,i,"day");return l}sn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return k(i)?i.call(t,n):i},sn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},sn.invalidDate=function(){return this._invalidDate},sn.ordinal=function(e){return this._ordinal.replace("%d",e)},sn.preparse=an,sn.postformat=an,sn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return k(r)?r(e,t,n,i):r.replace(/%d/i,e)},sn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(n)?n(t):n.replace(/%s/i,t)},sn.set=function(e){var t,n;for(n in e)k(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},sn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},sn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ae.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},sn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return ze.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},sn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Oe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=_e),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},sn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Oe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=$e),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},sn.week=function(e){return Pe(e,this._week.dow,this._week.doy).week},sn.firstDayOfYear=function(){return this._week.doy},sn.firstDayOfWeek=function(){return this._week.dow},sn.weekdays=function(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:i(this._weekdays)?this._weekdays:this._weekdays.standalone},sn.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},sn.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},sn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Be.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},sn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Fe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},sn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=He),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},sn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},sn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},sn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},nt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",nt),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",rt);var dn=Math.abs;function pn(e,t,n,i){var r=Wt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function hn(e){return e<0?Math.floor(e):Math.ceil(e)}function fn(e){return 4800*e/146097}function gn(e){return 146097*e/4800}function mn(e){return function(){return this.as(e)}}var vn=mn("ms"),bn=mn("s"),yn=mn("m"),Mn=mn("h"),wn=mn("d"),Cn=mn("w"),An=mn("M"),xn=mn("y");function Sn(e){return function(){return this.isValid()?this._data[e]:NaN}}var zn=Sn("milliseconds"),Tn=Sn("seconds"),kn=Sn("minutes"),$n=Sn("hours"),_n=Sn("days"),On=Sn("months"),En=Sn("years"),Ln=Math.round,Nn={ss:44,s:45,m:45,h:22,d:26,M:11};function Dn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Pn=Math.abs;function qn(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Pn(this._milliseconds)/1e3,i=Pn(this._days),r=Pn(this._months);e=M(n/60),t=M(e/60),n%=60,e%=60;var o=M(r/12),a=r%=12,s=i,l=t,c=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var p=d<0?"-":"",h=qn(this._months)!==qn(d)?"-":"",f=qn(this._days)!==qn(d)?"-":"",g=qn(this._milliseconds)!==qn(d)?"-":"";return p+"P"+(o?h+o+"Y":"")+(a?h+a+"M":"")+(s?f+s+"D":"")+(l||c||u?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(u?g+u+"S":"")}var Rn=Tt.prototype;return Rn.isValid=function(){return this._isValid},Rn.abs=function(){var e=this._data;return this._milliseconds=dn(this._milliseconds),this._days=dn(this._days),this._months=dn(this._months),e.milliseconds=dn(e.milliseconds),e.seconds=dn(e.seconds),e.minutes=dn(e.minutes),e.hours=dn(e.hours),e.months=dn(e.months),e.years=dn(e.years),this},Rn.add=function(e,t){return pn(this,e,t,1)},Rn.subtract=function(e,t){return pn(this,e,t,-1)},Rn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=L(e))||"year"===e)return n=this._months+fn(t=this._days+i/864e5),"month"===e?n:n/12;switch(t=this._days+Math.round(gn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Rn.asMilliseconds=vn,Rn.asSeconds=bn,Rn.asMinutes=yn,Rn.asHours=Mn,Rn.asDays=wn,Rn.asWeeks=Cn,Rn.asMonths=An,Rn.asYears=xn,Rn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Rn._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*hn(gn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=M(o/1e3),l.seconds=e%60,t=M(e/60),l.minutes=t%60,n=M(t/60),l.hours=n%24,a+=M(n/24),s+=r=M(fn(a)),a-=hn(gn(r)),i=M(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},Rn.clone=function(){return Wt(this)},Rn.get=function(e){return e=L(e),this.isValid()?this[e+"s"]():NaN},Rn.milliseconds=zn,Rn.seconds=Tn,Rn.minutes=kn,Rn.hours=$n,Rn.days=_n,Rn.weeks=function(){return M(this.days()/7)},Rn.months=On,Rn.years=En,Rn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Wt(e).abs(),r=Ln(i.as("s")),o=Ln(i.as("m")),a=Ln(i.as("h")),s=Ln(i.as("d")),l=Ln(i.as("M")),c=Ln(i.as("y")),u=r<=Nn.ss&&["s",r]||r<Nn.s&&["ss",r]||o<=1&&["m"]||o<Nn.m&&["mm",o]||a<=1&&["h"]||a<Nn.h&&["hh",a]||s<=1&&["d"]||s<Nn.d&&["dd",s]||l<=1&&["M"]||l<Nn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=t,u[3]=+e>0,u[4]=n,Dn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Rn.toISOString=Wn,Rn.toString=Wn,Rn.toJSON=Wn,Rn.locale=Vt,Rn.localeData=Gt,Rn.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Rn.lang=Ut,F("X",0,0,"unix"),F("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),pe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),pe("x",(function(e,t,n){n._d=new Date(w(e))})),n.version="2.20.1",e=Ct,n.fn=on,n.min=function(){var e=[].slice.call(arguments,0);return St("isBefore",e)},n.max=function(){var e=[].slice.call(arguments,0);return St("isAfter",e)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=d,n.unix=function(e){return Ct(1e3*e)},n.months=function(e,t){return cn(e,t,"months")},n.isDate=s,n.locale=nt,n.invalid=f,n.duration=Wt,n.isMoment=y,n.weekdays=function(e,t,n){return un(e,t,n,"weekdays")},n.parseZone=function(){return Ct.apply(null,arguments).parseZone()},n.localeData=rt,n.isDuration=kt,n.monthsShort=function(e,t){return cn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return un(e,t,n,"weekdaysMin")},n.defineLocale=it,n.updateLocale=function(e,t){if(null!=t){var n,i,r=Qe;null!=(i=tt(e))&&(r=i._config),(n=new _(t=$(r,t))).parentLocale=Je[e],Je[e]=n,nt(e)}else null!=Je[e]&&(null!=Je[e].parentLocale?Je[e]=Je[e].parentLocale:null!=Je[e]&&delete Je[e]);return Je[e]},n.locales=function(){return S(Je)},n.weekdaysShort=function(e,t,n){return un(e,t,n,"weekdaysShort")},n.normalizeUnits=L,n.relativeTimeRounding=function(e){return void 0===e?Ln:"function"==typeof e&&(Ln=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Nn[e]&&(void 0===t?Nn[e]:(Nn[e]=t,"s"===e&&(Nn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=on,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},n})),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["moment"],t):"object"==typeof module&&module.exports?module.exports=t(require("moment")):t(e.moment)}(this,(function(e){"use strict";var t,n={},i={},r={},o={},a=e.version.split("."),s=+a[0],l=+a[1];function c(e){return e>96?e-87:e>64?e-29:e-48}function u(e){var t=0,n=e.split("."),i=n[0],r=n[1]||"",o=1,a=0,s=1;for(45===e.charCodeAt(0)&&(t=1,s=-1);t<i.length;t++)a=60*a+c(i.charCodeAt(t));for(t=0;t<r.length;t++)o/=60,a+=c(r.charCodeAt(t))*o;return a*s}function d(e){for(var t=0;t<e.length;t++)e[t]=u(e[t])}function p(e,t){var n,i=[];for(n=0;n<t.length;n++)i[n]=e[t[n]];return i}function h(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),r=t[4].split(" ");return d(n),d(i),d(r),function(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}(r,i.length),{name:t[0],abbrs:p(t[1].split(" "),i),offsets:p(n,i),untils:r,population:0|t[5]}}function f(e){e&&this._set(h(e))}function g(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);"GMT"===(n=n&&n[0]?(n=n[0].match(/[A-Z]/g))?n.join(""):void 0:(n=t.match(/[A-Z]{3,5}/g))?n[0]:void 0)&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function m(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function v(e,t){for(var n,i;i=6e4*((t.at-e.at)/12e4|0);)(n=new g(new Date(e.at+i))).offset===e.offset?e=n:t=n;return e}function b(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:t.zone.population-e.zone.population}function y(e,t){var n,i;for(d(t),n=0;n<t.length;n++)o[i=t[n]]=o[i]||{},o[i][e]=!0}function M(e){var t,n,i,a=e.length,s={},l=[];for(t=0;t<a;t++)for(n in i=o[e[t].offset]||{})i.hasOwnProperty(n)&&(s[n]=!0);for(t in s)s.hasOwnProperty(t)&&l.push(r[t]);return l}function w(e){return(e||"").toLowerCase().replace(/\//g,"_")}function C(e){var t,i,o,a;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)a=w(i=(o=e[t].split("|"))[0]),n[a]=e[t],r[a]=i,o[5]&&y(a,o[2].split(" "))}function A(e,t){e=w(e);var o,a=n[e];return a instanceof f?a:"string"==typeof a?(a=new f(a),n[e]=a,a):i[e]&&t!==A&&(o=A(i[e],A))?((a=n[e]=new f)._set(o),a.name=r[e],a):null}function x(e){var t,n,o,a;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)o=w((n=e[t].split("|"))[0]),a=w(n[1]),i[o]=a,r[o]=n[0],i[a]=o,r[a]=n[1]}function S(e){C(e.zones),x(e.links),k.dataVersion=e.version}function z(e){return!(!e._a||void 0!==e._tzm)}function T(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function k(t){var n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],r=A(i),o=e.utc.apply(null,n);return r&&!e.isMoment(t)&&z(o)&&o.add(r.parse(o),"minutes"),o.tz(i),o}(s<2||2===s&&l<6)&&T("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),f.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,i=this.untils;for(t=0;t<i.length;t++)if(n<i[t])return t},parse:function(e){var t,n,i,r,o=+e,a=this.offsets,s=this.untils,l=s.length-1;for(r=0;r<l;r++)if(i=a[r?r-1:r],(t=a[r])<(n=a[r+1])&&k.moveAmbiguousForward?t=n:t>i&&k.moveInvalidForward&&(t=i),o<s[r]-6e4*t)return a[r];return a[l]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return this.offsets[this._index(e)]}},m.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.offset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},k.version="0.5.13",k.dataVersion="",k._zones=n,k._links=i,k._names=r,k.add=C,k.link=x,k.load=S,k.zone=A,k.zoneExists=function e(t){return e.didShowError||(e.didShowError=!0,T("moment.tz.zoneExists('"+t+"') has been deprecated in favor of !moment.tz.zone('"+t+"')")),!!A(t)},k.guess=function(e){return t&&!e||(t=function(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e){var t=r[w(e)];if(t)return t;T("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(u){}var n,i,o,a=function(){var e,t,n,i=(new Date).getFullYear()-2,r=new g(new Date(i,0,1)),o=[r];for(n=1;n<48;n++)(t=new g(new Date(i,n,1))).offset!==r.offset&&(e=v(r,t),o.push(e),o.push(new g(new Date(e.at+6e4)))),r=t;for(n=0;n<4;n++)o.push(new g(new Date(i+n,0,1))),o.push(new g(new Date(i+n,6,1)));return o}(),s=a.length,l=M(a),c=[];for(i=0;i<l.length;i++){for(n=new m(A(l[i]),s),o=0;o<s;o++)n.scoreOffsetAt(a[o]);c.push(n)}return c.sort(b),c.length>0?c[0].zone.name:void 0}()),t},k.names=function(){var e,t=[];for(e in r)r.hasOwnProperty(e)&&(n[e]||n[i[e]])&&r[e]&&t.push(r[e]);return t.sort()},k.Zone=f,k.unpack=h,k.unpackBase60=u,k.needsOffset=z,k.moveInvalidForward=!0,k.moveAmbiguousForward=!1;var $,_=e.fn;function O(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}e.tz=k,e.defaultZone=null,e.updateOffset=function(t,n){var i,r=e.defaultZone;void 0===t._z&&(r&&z(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(r.parse(t),"minutes")),t._z=r),t._z&&(i=t._z.offset(t),Math.abs(i)<16&&(i/=60),void 0!==t.utcOffset?t.utcOffset(-i,n):t.zone(i,n))},_.tz=function(t){return t?(this._z=A(t),this._z?e.updateOffset(this):T("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},_.zoneName=O(_.zoneName),_.zoneAbbr=O(_.zoneAbbr),_.utc=($=_.utc,function(){return this._z=null,$.apply(this,arguments)}),e.tz.setDefault=function(t){return(s<2||2===s&&l<9)&&T("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?A(t):null,e};var E=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(E)?(E.push("_z"),E.push("_a")):E&&(E._z=null),S({version:"2017b",zones:["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT +0020|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT +0230 +0245|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT -01 GMT|12.k 10 0|012|-2ldWV.E 2xonV.E|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT WET WEST CET|u.k 0 -10 -10|0121212121212121213121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1y7o0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT -01 WET WEST|Q.M 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|01212121212121212121212121212121213|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0|51e5","Africa/Monrovia|MMT MMT GMT|H.8 I.u 0|012|-23Lzg.Q 28G01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|+0130 SAST SAST CAT WAT WAST|-1u -20 -30 -20 -10 -20|012134545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2GJdu 1Ajdu 1cL0 1SqL0 9NA0 11D0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AST AWT APT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT -03 -02|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323132323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 A4p0 uL0","America/Argentina/La_Rioja|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232312121321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 ri10 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rlB0 7B0 8zb0 uL0","America/Argentina/Salta|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231323232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 A4p0 uL0","America/Argentina/San_Juan|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323231232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 rld0 m10 8lb0 uL0","America/Argentina/San_Luis|CMT -04 -03 -02|4g.M 40 30 20|012121212121212121212121212121212121212121232323121212321212|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 vDb0 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT -04 -03 -02|4g.M 40 30 20|0121212121212121212121212121212121212121212323232313232123232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 rlB0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT -04 -03 -02|4g.M 40 30 20|01212121212121212121212121212121212121212123232323232321232|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 rkN0 8p0 8zb0 uL0","America/Curacao|LMT -0430 AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT -04 -03|3O.E 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia|LMT -03 -02|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT -03 -02|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST -0530 CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT -04 -03|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT -05 -04|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT -04 -03|3C.s 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT -0430 -04|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT -04 -03|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT -04 -03|3I.k 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|54e4","America/Danmarkshavn|LMT -03 -02 GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|01234252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 Jy10 SL0 dnB0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT -05 -04|4D.s 50 40|0121212121212121212121212121212121|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT -03 -02|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT -03 -02|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.b 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212123|-2l1uQ.N 2HHBQ.N 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT -05 -04|5e 50 40|0121|-1yVSK 2uILK rz0|27e5","America/Guyana|LMT -0345 -03 -04|3Q.E 3J 30 40|0123|-2dvU7.k 2r6LQ.k Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.b 50 40|0121212121212121212121|-2l1uQ.N 2uM1Q.N 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BOST -04|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT -05 -04|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT -03 -02|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT -04 -03|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|0120303030303030303030303030303030454545454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST -03 -02|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|MMT -0330 -03 -02 -0230|3I.I 3u 30 20 2u|012121212121212121212121213232323232324242423243232323232323232323232323232323232323232|-20UIf.g 8jzJ.g 1cLu 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1qMu WLu 1qMu 11zu 1o0u 11zu NAu 11bu 2iMu zWu Dq10 19X0 pd0 jz0 cm10 19X0 1fB0 1on0 11d0 1oL0 1nB0 1fzu 1aou 1fzu 1aou 1fzu 3nAu Jb0 3MN0 1SLu 4jzu 2PB0 Lb0 3Dd0 1pb0 ixd0 An0 1MN0 An0 1wp0 On0 1wp0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT -02 -01|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT -0330 -03|3E.E 3E.Q 3E.A 3u 30|01234|-2nDUj.k Wqo0.c qanX.I 1yVXN.o|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT -05 -04|4v.c 50 40|01212121212121212121212121212121|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT -04 -03|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Punta_Arenas|SMT -05 -04 -03|4G.K 50 40 30|0102021212121212121232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 blz0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT -03 -02|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT -04 -03|3C.M 40 30|0121212121212121212121212121212|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT -05 -04 -03|4G.K 50 40 30|010202121212121212321232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|62e5","America/Santo_Domingo|SDMT EST EDT -0430 AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT -03 -02|36.s 30 20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|20e6","America/Scoresbysund|LMT -02 -01 +00|1r.Q 20 10 0|0121323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212|-2q00 1DjS0 T90 40P0 KL0 blz0|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 +11|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 -03 -04 -02|0 30 40 20|0121212121213121212121212121212121212121212121212121212121212121212121212121212121|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT +03|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +03 +05 +06 +04|-3r.I -30 -50 -60 -40|01232323232323232323242323232323232324242424242|-1Pc3r.I eUor.I 24PW0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Baghdad|BMT +03 +04|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT +04 +03|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT +07|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT +0730 +08|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|HMT +0630 IST|-5R.k -6u -5u|01212|-18LFR.k 1unn.k HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT +07 +08 +10 +09|-7C -70 -80 -a0 -90|0123434343434343434343434343434343434343434343424242|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010|-1c1I0 LX0 16p0 1jz0 1Myp0 Rb0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT +0630 +0530 +06 +07|-5R.k -6u -5u -60 -70|0121343|-18LFR.k 1unn.k HB0 m6n0 2kxbu 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT +08 +09|-8m.k -80 -90|01212|-2le8m.k 1dnXm.k 1nfA0 Xld0|19e4","Asia/Dubai|LMT +04|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212123|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|25e4","Asia/Ho_Chi_Minh|LMT PLMT +07 +08 +09|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST JST|-7A.G -80 -90 -90|0121312121212121212121212121212121212121212121212121212121212121212121|-2CFHA.G 1sEP6.G 1cL0 ylu 93X0 1qQu 1tX0 Rd0 1In0 NB0 1cL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1kL0 14N0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT +06 +07 +08|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +04 +03|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212124|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1de0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT +0720 +0730 +09 +08 WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT +09 +0930 WIT|-9m.M -90 -9u -90|0123|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212132121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+04 +0430|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT +0530 +0630 +05 PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT +06|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT +0530 +0545|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT +07 +0720 +0730 +09 +08|-6T.p -70 -7k -7u -90 -80|0123435|-2Bg6T.p 17anT.p l5XE 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT +0730 +08 +0820 +09|-7l.k -7u -80 -8k -90|0123232323232323242|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0|13e4","Asia/Macau|LMT CST CDT|-7y.k -80 -90|012121212121212121212121212121212121212121|-2le7y.k 1XO34.k 1wn0 Rd0 1wn0 R9u 1wqu U10 1tz0 TVu 1tz0 17gu 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cOu 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cL0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT +08 +09 WITA|-7V.A -7V.A -80 -90 -80|01234|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|+08 +09|-80 -90|010101010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +03 +05 +06 +04|-3p.o -30 -50 -60 -40|01232323232323232424242424242424242424242424242|-1Pc3p.o eUop.o 23CK0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT +0730 +09 +08 WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JST KST|-8n -8u -90 -90|01231|-2um8n 97XR 1lTzu 2Onc0|29e5","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|0123232323232323232323232323232323232323232323|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|73e4","Asia/Rangoon|RMT +0630 +09|-6o.E -6u -90|0121|-21Jio.E SmnS.E 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JST KST KDT KDT|-8r.Q -8u -90 -90 -9u -a0|0123141414141414135353|-2um8r.Q 97XV.Q 1m1zu kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|CST JST CDT|-80 -90 -90|01020202020202020202020202020202020202020|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT +0330 +04 +05 +0430|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT +0530 +06|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JST JDT|-90 -a0|010101010|-QJH0 QL0 1lB0 13X0 1zB0 NX0 1zB0 NX0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT +07 +08 +09|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT -02 -01 +00 WET|1S.w 20 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121232323232323232323232323232323234323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2ldW5.s aPX5.s Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT -01 WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT -02 -01|1y.4 20 10|01212|-2xomp.U 1qOMp.U 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT -01 +00 +01 WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldWQ.o aPWQ.o Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT -01 +00 GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|-02|20|0||30","Atlantic/Stanley|SMT -04 -03 -02|3P.o 40 30 20|012121212121212323212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 2mN0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|+0845 +0945|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST +1030 +1130 +11|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Easter|EMT -07 -06 -05|7h.s 70 60 50|012121212121212121212121212123232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 2pA0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|30e2","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g5X0 14p0 1wn0 17d0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT+0|GMT|0|0|","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+3|-03|30|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/GMT-1|+01|-10|0|","Pacific/Port_Moresby|+10|-a0|0||25e4","Pacific/Pohnpei|+11|-b0|0||34e3","Pacific/Tarawa|+12|-c0|0||29e3","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-3|+03|-30|0|","Etc/GMT-4|+04|-40|0|","Etc/GMT-5|+05|-50|0|","Etc/GMT-6|+06|-60|0|","Indian/Christmas|+07|-70|0||21e2","Etc/GMT-8|+08|-80|0|","Pacific/Palau|+09|-90|0||21e3","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST +0120 +0020 CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 16M0 1lc0 1tA0 17A0 11c0 1io0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET +03|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454546767676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ldXn.f aPWn.f Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|010101010101010101210343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-25Td0 19B0 1cL0 1dd0 b1z0 18p0 3HX0 17d0 1fz0 1a10 1io0 1a00 1in0 17d0 iIn0 Hd0 1cL0 bb0 1200 2s20 14n0 5aL0 Mp0 1vz0 17d0 1in0 17d0 1in0 17d0 1in0 17d0 6hX0 11B0 XHX0 1a10 1fz0 1a10 19X0 1cN0 1fz0 1a10 1fC0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|01232323232323232121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|+0220 EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT +05 +06|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Cocos|+0630|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT +04|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT +05|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT +04 +05|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT +04|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|+11 -12 +12|-b0 c0 -c0|012|-AX0 W9X0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|+1215 +1245 +1345|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Apia|LMT -1130 -11 -10 +14 +13|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|+10 +09 +11|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Efate|LMT +11 +12|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|-12 -11 +13|c0 b0 -d0|012|nIc0 B8n0|1","Pacific/Fakaofo|-11 +13|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT +12 +13|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0|88e4","Pacific/Galapagos|LMT -05 -06|5W.o 50 60|01212|-1yVS1.A 2dTz1.A gNd0 rz0|25e3","Pacific/Gambier|LMT -09|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT +11|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST ChST|-a0 -a0|01|1fpq0|17e4","Pacific/Honolulu|HST HDT HST|au 9u a0|010102|-1thLu 8x0 lef0 8Pz0 46p0|37e4","Pacific/Kiritimati|-1040 -10 +14|aE a0 -e0|012|nIaE B8nk|51e2","Pacific/Kosrae|+11 +12|-b0 -c0|010|-AX0 1bdz0|66e2","Pacific/Majuro|+11 +12|-b0 -c0|01|-AX0|28e3","Pacific/Marquesas|LMT -0930|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT SST|bm.M b0|01|-2nDMB.c|37e2","Pacific/Nauru|LMT +1130 +09 +12|-b7.E -bu -90 -c0|01213|-1Xdn7.E PvzB.E 5RCu 1ouJu|10e3","Pacific/Niue|-1120 -1130 -11|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|+1112 +1130 +1230 +11|-bc -bu -cu -b0|01213|-Kgbc W01G On0 1COp0|25e4","Pacific/Noumea|LMT +11 +12|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Pitcairn|-0830 -08|8u 80|01|18Vku|56","Pacific/Rarotonga|-1030 -0930 -10|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT -10|9W.g a0|01|-2joe1.I|18e4","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121212121212121212121212121212121212121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0|75e3","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],links:["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Juba","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/East-Saskatchewan","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Singapore","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Atlantic/South_Georgia|Etc/GMT+2","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT+0|Etc/GMT","Etc/GMT+0|Etc/GMT-0","Etc/GMT+0|Etc/GMT0","Etc/GMT+0|Etc/Greenwich","Etc/GMT+0|GMT","Etc/GMT+0|GMT+0","Etc/GMT+0|GMT-0","Etc/GMT+0|GMT0","Etc/GMT+0|Greenwich","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Indian/Christmas|Etc/GMT-7","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Palau|Etc/GMT-9","Pacific/Pohnpei|Etc/GMT-11","Pacific/Pohnpei|Pacific/Ponape","Pacific/Port_Moresby|Etc/GMT-10","Pacific/Port_Moresby|Pacific/Chuuk","Pacific/Port_Moresby|Pacific/Truk","Pacific/Port_Moresby|Pacific/Yap","Pacific/Tarawa|Etc/GMT-12","Pacific/Tarawa|Pacific/Funafuti","Pacific/Tarawa|Pacific/Wake","Pacific/Tarawa|Pacific/Wallis"]}),e})),function(e){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],e);else if("object"==typeof exports)e(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";e(jQuery,moment)}}((function(e,t){"use strict";if(!t)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var n=function(n,i){var r,o,a,s,l,c={},u=t().startOf("d"),d=u.clone(),p=!0,h=!1,f=!1,g=0,m=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],v=["days","months","years","decades"],b=["top","bottom","auto"],y=["left","right","auto"],M=["default","top","bottom"],w={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t",delete:46,46:"delete"},C={},A=function(e){if("string"!=typeof e||e.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(e){case"y":return-1!==a.indexOf("Y");case"M":return-1!==a.indexOf("M");case"d":return-1!==a.toLowerCase().indexOf("d");case"h":case"H":return-1!==a.toLowerCase().indexOf("h");case"m":return-1!==a.indexOf("m");case"s":return-1!==a.indexOf("s");default:return!1}},x=function(){return A("h")||A("m")||A("s")},S=function(){return A("y")||A("M")||A("d")},z=function(){var t=e("<tr>"),n=e("<tr>"),r=e("<tr>");return A("h")&&(t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:"Increment Hour"}).addClass("btn").attr("data-action","incrementHours").append(e("<span>").addClass(i.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:"Pick Hour"}).attr("data-action","showHours"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Hour"}).addClass("btn").attr("data-action","decrementHours").append(e("<span>").addClass(i.icons.down))))),A("m")&&(A("h")&&(t.append(e("<td>").addClass("separator")),n.append(e("<td>").addClass("separator").html(":")),r.append(e("<td>").addClass("separator"))),t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:"Increment Minute"}).addClass("btn").attr("data-action","incrementMinutes").append(e("<span>").addClass(i.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:"Pick Minute"}).attr("data-action","showMinutes"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Minute"}).addClass("btn").attr("data-action","decrementMinutes").append(e("<span>").addClass(i.icons.down))))),A("s")&&(A("m")&&(t.append(e("<td>").addClass("separator")),n.append(e("<td>").addClass("separator").html(":")),r.append(e("<td>").addClass("separator"))),t.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:"Increment Second"}).addClass("btn").attr("data-action","incrementSeconds").append(e("<span>").addClass(i.icons.up)))),n.append(e("<td>").append(e("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:"Pick Second"}).attr("data-action","showSeconds"))),r.append(e("<td>").append(e("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Second"}).addClass("btn").attr("data-action","decrementSeconds").append(e("<span>").addClass(i.icons.down))))),o||(t.append(e("<td>").addClass("separator")),n.append(e("<td>").append(e("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:"Toggle Period"}))),r.append(e("<td>").addClass("separator"))),e("<div>").addClass("timepicker-picker").append(e("<table>").addClass("table-condensed").append([t,n,r]))},T=function(){var t,r=(h||n).position(),o=(h||n).offset(),a=i.widgetPositioning.vertical,s=i.widgetPositioning.horizontal;if(i.widgetParent)t=i.widgetParent.append(f);else if(n.is("input"))t=n.after(f).parent();else{if(i.inline)return void(t=n.append(f));t=n,n.children().first().after(f)}if("auto"===a&&(a=o.top+1.5*f.height()>=e(window).height()+e(window).scrollTop()&&f.height()+n.outerHeight()<o.top?"top":"bottom"),"auto"===s&&(s=t.width()<o.left+f.outerWidth()/2&&o.left+f.outerWidth()>e(window).width()?"right":"left"),"top"===a?f.addClass("top").removeClass("bottom"):f.addClass("bottom").removeClass("top"),"right"===s?f.addClass("pull-right"):f.removeClass("pull-right"),"relative"!==t.css("position")&&(t=t.parents().filter((function(){return"relative"===e(this).css("position")})).first()),0===t.length)throw new Error("datetimepicker component should be placed within a relative positioned container");f.css({top:"top"===a?"auto":r.top+n.outerHeight(),bottom:"top"===a?r.top+n.outerHeight():"auto",left:"left"===s?t===n?0:r.left:"auto",right:"left"===s?"auto":t.outerWidth()-n.outerWidth()-(t===n?0:r.left)})},k=function(e){"dp.change"===e.type&&(e.date&&e.date.isSame(e.oldDate)||!e.date&&!e.oldDate)||n.trigger(e)},$=function(e){"y"===e&&(e="YYYY"),k({type:"dp.update",change:e,viewDate:d.clone()})},_=function(e){f&&(e&&(l=Math.max(g,Math.min(3,l+e))),f.find(".datepicker > div").hide().filter(".datepicker-"+m[l].clsName).show())},O=function(t,n){if(!t.isValid())return!1;if(i.disabledDates&&"d"===n&&function(e){return!0===i.disabledDates[e.format("YYYY-MM-DD")]}(t))return!1;if(i.enabledDates&&"d"===n&&!function(e){return!0===i.enabledDates[e.format("YYYY-MM-DD")]}(t))return!1;if(i.minDate&&t.isBefore(i.minDate,n))return!1;if(i.maxDate&&t.isAfter(i.maxDate,n))return!1;if(i.daysOfWeekDisabled&&"d"===n&&-1!==i.daysOfWeekDisabled.indexOf(t.day()))return!1;if(i.disabledHours&&("h"===n||"m"===n||"s"===n)&&function(e){return!0===i.disabledHours[e.format("H")]}(t))return!1;if(i.enabledHours&&("h"===n||"m"===n||"s"===n)&&!function(e){return!0===i.enabledHours[e.format("H")]}(t))return!1;if(i.disabledTimeIntervals&&("h"===n||"m"===n||"s"===n)){var r=!1;if(e.each(i.disabledTimeIntervals,(function(){return t.isBetween(this[0],this[1])?(r=!0,!1):void 0})),r)return!1}return!0},E=function(){var n,r,o,a,s=f.find(".datepicker-days"),l=s.find("th"),c=[];if(S()){for(l.eq(0).find("span").attr("title",i.tooltips.prevMonth),l.eq(1).attr("title",i.tooltips.selectMonth),l.eq(2).find("span").attr("title",i.tooltips.nextMonth),s.find(".disabled").removeClass("disabled"),l.eq(1).text(d.format(i.dayViewHeaderFormat)),O(d.clone().subtract(1,"M"),"M")||l.eq(0).addClass("disabled"),O(d.clone().add(1,"M"),"M")||l.eq(2).addClass("disabled"),n=d.clone().startOf("M").startOf("w").startOf("d"),a=0;42>a;a++)0===n.weekday()&&(r=e("<tr>"),i.calendarWeeks&&r.append('<td class="cw">'+n.week()+"</td>"),c.push(r)),o="",n.isBefore(d,"M")&&(o+=" old"),n.isAfter(d,"M")&&(o+=" new"),n.isSame(u,"d")&&!p&&(o+=" active"),O(n,"d")||(o+=" disabled"),n.isSame(t(),"d")&&(o+=" today"),(0===n.day()||6===n.day())&&(o+=" weekend"),r.append('<td data-action="selectDay" data-day="'+n.format("L")+'" class="day'+o+'">'+n.date()+"</td>"),n.add(1,"d");s.find("tbody").empty().append(c),function(){var t=f.find(".datepicker-months"),n=t.find("th"),r=t.find("tbody").find("span");n.eq(0).find("span").attr("title",i.tooltips.prevYear),n.eq(1).attr("title",i.tooltips.selectYear),n.eq(2).find("span").attr("title",i.tooltips.nextYear),t.find(".disabled").removeClass("disabled"),O(d.clone().subtract(1,"y"),"y")||n.eq(0).addClass("disabled"),n.eq(1).text(d.year()),O(d.clone().add(1,"y"),"y")||n.eq(2).addClass("disabled"),r.removeClass("active"),u.isSame(d,"y")&&!p&&r.eq(u.month()).addClass("active"),r.each((function(t){O(d.clone().month(t),"M")||e(this).addClass("disabled")}))}(),function(){var e=f.find(".datepicker-years"),t=e.find("th"),n=d.clone().subtract(5,"y"),r=d.clone().add(6,"y"),o="";for(t.eq(0).find("span").attr("title",i.tooltips.nextDecade),t.eq(1).attr("title",i.tooltips.selectDecade),t.eq(2).find("span").attr("title",i.tooltips.prevDecade),e.find(".disabled").removeClass("disabled"),i.minDate&&i.minDate.isAfter(n,"y")&&t.eq(0).addClass("disabled"),t.eq(1).text(n.year()+"-"+r.year()),i.maxDate&&i.maxDate.isBefore(r,"y")&&t.eq(2).addClass("disabled");!n.isAfter(r,"y");)o+='<span data-action="selectYear" class="year'+(n.isSame(u,"y")&&!p?" active":"")+(O(n,"y")?"":" disabled")+'">'+n.year()+"</span>",n.add(1,"y");e.find("td").html(o)}(),function(){var e=f.find(".datepicker-decades"),n=e.find("th"),r=t(d.isBefore(t({y:1999}))?{y:1899}:{y:1999}),o=r.clone().add(100,"y"),a="";for(n.eq(0).find("span").attr("title",i.tooltips.prevCentury),n.eq(2).find("span").attr("title",i.tooltips.nextCentury),e.find(".disabled").removeClass("disabled"),(r.isSame(t({y:1900}))||i.minDate&&i.minDate.isAfter(r,"y"))&&n.eq(0).addClass("disabled"),n.eq(1).text(r.year()+"-"+o.year()),(r.isSame(t({y:2e3}))||i.maxDate&&i.maxDate.isBefore(o,"y"))&&n.eq(2).addClass("disabled");!r.isAfter(o,"y");)a+='<span data-action="selectDecade" class="decade'+(r.isSame(u,"y")?" active":"")+(O(r,"y")?"":" disabled")+'" data-selection="'+(r.year()+6)+'">'+(r.year()+1)+" - "+(r.year()+12)+"</span>",r.add(12,"y");a+="<span></span><span></span><span></span>",e.find("td").html(a)}()}},L=function(){var t=f.find(".timepicker-hours table"),n=d.clone().startOf("d"),i=[],r=e("<tr>");for(d.hour()>11&&!o&&n.hour(12);n.isSame(d,"d")&&(o||d.hour()<12&&n.hour()<12||d.hour()>11);)n.hour()%4==0&&(r=e("<tr>"),i.push(r)),r.append('<td data-action="selectHour" class="hour'+(O(n,"h")?"":" disabled")+'">'+n.format(o?"HH":"hh")+"</td>"),n.add(1,"h");t.empty().append(i)},N=function(){for(var t=f.find(".timepicker-minutes table"),n=d.clone().startOf("h"),r=[],o=e("<tr>"),a=1===i.stepping?5:i.stepping;d.isSame(n,"h");)n.minute()%(4*a)==0&&(o=e("<tr>"),r.push(o)),o.append('<td data-action="selectMinute" class="minute'+(O(n,"m")?"":" disabled")+'">'+n.format("mm")+"</td>"),n.add(a,"m");t.empty().append(r)},D=function(){for(var t=f.find(".timepicker-seconds table"),n=d.clone().startOf("m"),i=[],r=e("<tr>");d.isSame(n,"m");)n.second()%20==0&&(r=e("<tr>"),i.push(r)),r.append('<td data-action="selectSecond" class="second'+(O(n,"s")?"":" disabled")+'">'+n.format("ss")+"</td>"),n.add(5,"s");t.empty().append(i)},P=function(){f&&(E(),function(){var e,t,n=f.find(".timepicker span[data-time-component]");o||(e=f.find(".timepicker [data-action=togglePeriod]"),t=u.clone().add(u.hours()>=12?-12:12,"h"),e.text(u.format("A")),O(t,"h")?e.removeClass("disabled"):e.addClass("disabled")),n.filter("[data-time-component=hours]").text(u.format(o?"HH":"hh")),n.filter("[data-time-component=minutes]").text(u.format("mm")),n.filter("[data-time-component=seconds]").text(u.format("ss")),L(),N(),D()}())},q=function(e){var t=p?null:u;return e?(e=e.clone().locale(i.locale),1!==i.stepping&&e.minutes(Math.round(e.minutes()/i.stepping)*i.stepping%60).seconds(0),void(O(e)?(u=e,d=u.clone(),r.val(u.format(a)),n.data("date",u.format(a)),p=!1,P(),k({type:"dp.change",date:u.clone(),oldDate:t})):(i.keepInvalid||r.val(p?"":u.format(a)),k({type:"dp.error",date:e})))):(p=!0,r.val(""),n.data("date",""),k({type:"dp.change",date:!1,oldDate:t}),void P())},W=function(){var t=!1;return f?(f.find(".collapse").each((function(){var n=e(this).data("collapse");return!n||!n.transitioning||(t=!0,!1)})),t||(h&&h.hasClass("btn")&&h.toggleClass("active"),f.hide(),e(window).off("resize",T),f.off("click","[data-action]"),f.off("mousedown",!1),f.remove(),f=!1,k({type:"dp.hide",date:u.clone()}),r.blur()),c):c},R=function(){q(null)},I={next:function(){var e=m[l].navFnc;d.add(m[l].navStep,e),E(),$(e)},previous:function(){var e=m[l].navFnc;d.subtract(m[l].navStep,e),E(),$(e)},pickerSwitch:function(){_(1)},selectMonth:function(t){var n=e(t.target).closest("tbody").find("span").index(e(t.target));d.month(n),l===g?(q(u.clone().year(d.year()).month(d.month())),i.inline||W()):(_(-1),E()),$("M")},selectYear:function(t){var n=parseInt(e(t.target).text(),10)||0;d.year(n),l===g?(q(u.clone().year(d.year())),i.inline||W()):(_(-1),E()),$("YYYY")},selectDecade:function(t){var n=parseInt(e(t.target).data("selection"),10)||0;d.year(n),l===g?(q(u.clone().year(d.year())),i.inline||W()):(_(-1),E()),$("YYYY")},selectDay:function(t){var n=d.clone();e(t.target).is(".old")&&n.subtract(1,"M"),e(t.target).is(".new")&&n.add(1,"M"),q(n.date(parseInt(e(t.target).text(),10))),x()||i.keepOpen||i.inline||W()},incrementHours:function(){var e=u.clone().add(1,"h");O(e,"h")&&q(e)},incrementMinutes:function(){var e=u.clone().add(i.stepping,"m");O(e,"m")&&q(e)},incrementSeconds:function(){var e=u.clone().add(1,"s");O(e,"s")&&q(e)},decrementHours:function(){var e=u.clone().subtract(1,"h");O(e,"h")&&q(e)},decrementMinutes:function(){var e=u.clone().subtract(i.stepping,"m");O(e,"m")&&q(e)},decrementSeconds:function(){var e=u.clone().subtract(1,"s");O(e,"s")&&q(e)},togglePeriod:function(){q(u.clone().add(u.hours()>=12?-12:12,"h"))},togglePicker:function(t){var n,r=e(t.target),o=r.closest("ul"),a=o.find(".in"),s=o.find(".collapse:not(.in)");if(a&&a.length){if((n=a.data("collapse"))&&n.transitioning)return;a.collapse?(a.collapse("hide"),s.collapse("show")):(a.removeClass("in"),s.addClass("in")),r.is("span")?r.toggleClass(i.icons.time+" "+i.icons.date):r.find("span").toggleClass(i.icons.time+" "+i.icons.date)}},showPicker:function(){f.find(".timepicker > div:not(.timepicker-picker)").hide(),f.find(".timepicker .timepicker-picker").show()},showHours:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-hours").show()},showMinutes:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){f.find(".timepicker .timepicker-picker").hide(),f.find(".timepicker .timepicker-seconds").show()},selectHour:function(t){var n=parseInt(e(t.target).text(),10);o||(u.hours()>=12?12!==n&&(n+=12):12===n&&(n=0)),q(u.clone().hours(n)),I.showPicker.call(c)},selectMinute:function(t){q(u.clone().minutes(parseInt(e(t.target).text(),10))),I.showPicker.call(c)},selectSecond:function(t){q(u.clone().seconds(parseInt(e(t.target).text(),10))),I.showPicker.call(c)},clear:R,today:function(){O(t(),"d")&&q(t())},close:W},B=function(t){return e(t.currentTarget).is(".disabled")||I[e(t.currentTarget).data("action")].apply(c,arguments),!1},F=function(){var n;return r.prop("disabled")||!i.ignoreReadonly&&r.prop("readonly")||f||(void 0!==r.val()&&0!==r.val().trim().length?q(X(r.val().trim())):i.useCurrent&&p&&(r.is("input")&&0===r.val().trim().length||i.inline)&&(n=t(),"string"==typeof i.useCurrent&&(n={year:function(e){return e.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(e){return e.date(1).hours(0).seconds(0).minutes(0)},day:function(e){return e.hours(0).seconds(0).minutes(0)},hour:function(e){return e.seconds(0).minutes(0)},minute:function(e){return e.seconds(0)}}[i.useCurrent](n)),q(n)),f=function(){var t=e("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),n=e("<div>").addClass("datepicker").append(function(){var t=e("<thead>").append(e("<tr>").append(e("<th>").addClass("prev").attr("data-action","previous").append(e("<span>").addClass(i.icons.previous))).append(e("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",i.calendarWeeks?"6":"5")).append(e("<th>").addClass("next").attr("data-action","next").append(e("<span>").addClass(i.icons.next)))),n=e("<tbody>").append(e("<tr>").append(e("<td>").attr("colspan",i.calendarWeeks?"8":"7")));return[e("<div>").addClass("datepicker-days").append(e("<table>").addClass("table-condensed").append(t).append(e("<tbody>"))),e("<div>").addClass("datepicker-months").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone())),e("<div>").addClass("datepicker-years").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone())),e("<div>").addClass("datepicker-decades").append(e("<table>").addClass("table-condensed").append(t.clone()).append(n.clone()))]}()),r=e("<div>").addClass("timepicker").append(function(){var t=e("<div>").addClass("timepicker-hours").append(e("<table>").addClass("table-condensed")),n=e("<div>").addClass("timepicker-minutes").append(e("<table>").addClass("table-condensed")),i=e("<div>").addClass("timepicker-seconds").append(e("<table>").addClass("table-condensed")),r=[z()];return A("h")&&r.push(t),A("m")&&r.push(n),A("s")&&r.push(i),r}()),a=e("<ul>").addClass("list-unstyled"),s=e("<li>").addClass("picker-switch"+(i.collapse?" accordion-toggle":"")).append(function(){var t=[];return i.showTodayButton&&t.push(e("<td>").append(e("<a>").attr({"data-action":"today",title:i.tooltips.today}).append(e("<span>").addClass(i.icons.today)))),!i.sideBySide&&S()&&x()&&t.push(e("<td>").append(e("<a>").attr({"data-action":"togglePicker",title:"Select Time"}).append(e("<span>").addClass(i.icons.time)))),i.showClear&&t.push(e("<td>").append(e("<a>").attr({"data-action":"clear",title:i.tooltips.clear}).append(e("<span>").addClass(i.icons.clear)))),i.showClose&&t.push(e("<td>").append(e("<a>").attr({"data-action":"close",title:i.tooltips.close}).append(e("<span>").addClass(i.icons.close)))),e("<table>").addClass("table-condensed").append(e("<tbody>").append(e("<tr>").append(t)))}());return i.inline&&t.removeClass("dropdown-menu"),o&&t.addClass("usetwentyfour"),A("s")&&!o&&t.addClass("wider"),i.sideBySide&&S()&&x()?(t.addClass("timepicker-sbs"),"top"===i.toolbarPlacement&&t.append(s),t.append(e("<div>").addClass("row").append(n.addClass("col-md-6")).append(r.addClass("col-md-6"))),"bottom"===i.toolbarPlacement&&t.append(s),t):("top"===i.toolbarPlacement&&a.append(s),S()&&a.append(e("<li>").addClass(i.collapse&&x()?"collapse in":"").append(n)),"default"===i.toolbarPlacement&&a.append(s),x()&&a.append(e("<li>").addClass(i.collapse&&S()?"collapse":"").append(r)),"bottom"===i.toolbarPlacement&&a.append(s),t.append(a))}(),function(){var t=e("<tr>"),n=d.clone().startOf("w").startOf("d");for(!0===i.calendarWeeks&&t.append(e("<th>").addClass("cw").text("#"));n.isBefore(d.clone().endOf("w"));)t.append(e("<th>").addClass("dow").text(n.format("dd"))),n.add(1,"d");f.find(".datepicker-days thead").append(t)}(),function(){for(var t=[],n=d.clone().startOf("y").startOf("d");n.isSame(d,"y");)t.push(e("<span>").attr("data-action","selectMonth").addClass("month").text(n.format("MMM"))),n.add(1,"M");f.find(".datepicker-months td").empty().append(t)}(),f.find(".timepicker-hours").hide(),f.find(".timepicker-minutes").hide(),f.find(".timepicker-seconds").hide(),P(),_(),e(window).on("resize",T),f.on("click","[data-action]",B),f.on("mousedown",!1),h&&h.hasClass("btn")&&h.toggleClass("active"),f.show(),T(),i.focusOnShow&&!r.is(":focus")&&r.focus(),k({type:"dp.show"})),c},H=function(){return f?W():F()},X=function(e){return(e=void 0===i.parseInputDate?t.isMoment(e)||e instanceof Date?t(e):t(e,s,i.useStrict):i.parseInputDate(e)).locale(i.locale),e},j=function(e){var t,n,r,o,a=null,s=[],l={},u=e.which;for(t in C[u]="p",C)C.hasOwnProperty(t)&&"p"===C[t]&&(s.push(t),parseInt(t,10)!==u&&(l[t]=!0));for(t in i.keyBinds)if(i.keyBinds.hasOwnProperty(t)&&"function"==typeof i.keyBinds[t]&&(r=t.split(" ")).length===s.length&&w[u]===r[r.length-1]){for(o=!0,n=r.length-2;n>=0;n--)if(!(w[r[n]]in l)){o=!1;break}if(o){a=i.keyBinds[t];break}}a&&(a.call(c,f),e.stopPropagation(),e.preventDefault())},V=function(e){C[e.which]="r",e.stopPropagation(),e.preventDefault()},U=function(t){var n=e(t.target).val().trim(),i=n?X(n):null;return q(i),t.stopImmediatePropagation(),!1},G=function(t){var n={};return e.each(t,(function(){var e=X(this);e.isValid()&&(n[e.format("YYYY-MM-DD")]=!0)})),!!Object.keys(n).length&&n},Y=function(t){var n={};return e.each(t,(function(){n[this]=!0})),!!Object.keys(n).length&&n},K=function(){var e=i.format||"L LT";a=e.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,(function(e){return(u.localeData().longDateFormat(e)||e).replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,(function(e){return u.localeData().longDateFormat(e)||e}))})),(s=i.extraFormats?i.extraFormats.slice():[]).indexOf(e)<0&&s.indexOf(a)<0&&s.push(a),o=a.toLowerCase().indexOf("a")<1&&a.replace(/\[.*?\]/g,"").indexOf("h")<1,A("y")&&(g=2),A("M")&&(g=1),A("d")&&(g=0),l=Math.max(g,l),p||q(u)};if(c.destroy=function(){W(),r.off({change:U,blur:blur,keydown:j,keyup:V,focus:i.allowInputToggle?W:""}),n.is("input")?r.off({focus:F}):h&&(h.off("click",H),h.off("mousedown",!1)),n.removeData("DateTimePicker"),n.removeData("date")},c.toggle=H,c.show=F,c.hide=W,c.disable=function(){return W(),h&&h.hasClass("btn")&&h.addClass("disabled"),r.prop("disabled",!0),c},c.enable=function(){return h&&h.hasClass("btn")&&h.removeClass("disabled"),r.prop("disabled",!1),c},c.ignoreReadonly=function(e){if(0===arguments.length)return i.ignoreReadonly;if("boolean"!=typeof e)throw new TypeError("ignoreReadonly () expects a boolean parameter");return i.ignoreReadonly=e,c},c.options=function(t){if(0===arguments.length)return e.extend(!0,{},i);if(!(t instanceof Object))throw new TypeError("options() options parameter should be an object");return e.extend(!0,i,t),e.each(i,(function(e,t){if(void 0===c[e])throw new TypeError("option "+e+" is not recognized!");c[e](t)})),c},c.date=function(e){if(0===arguments.length)return p?null:u.clone();if(!(null===e||"string"==typeof e||t.isMoment(e)||e instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return q(null===e?null:X(e)),c},c.format=function(e){if(0===arguments.length)return i.format;if("string"!=typeof e&&("boolean"!=typeof e||!1!==e))throw new TypeError("format() expects a sting or boolean:false parameter "+e);return i.format=e,a&&K(),c},c.dayViewHeaderFormat=function(e){if(0===arguments.length)return i.dayViewHeaderFormat;if("string"!=typeof e)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return i.dayViewHeaderFormat=e,c},c.extraFormats=function(e){if(0===arguments.length)return i.extraFormats;if(!1!==e&&!(e instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return i.extraFormats=e,s&&K(),c},c.disabledDates=function(t){if(0===arguments.length)return i.disabledDates?e.extend({},i.disabledDates):i.disabledDates;if(!t)return i.disabledDates=!1,P(),c;if(!(t instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return i.disabledDates=G(t),i.enabledDates=!1,P(),c},c.enabledDates=function(t){if(0===arguments.length)return i.enabledDates?e.extend({},i.enabledDates):i.enabledDates;if(!t)return i.enabledDates=!1,P(),c;if(!(t instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return i.enabledDates=G(t),i.disabledDates=!1,P(),c},c.daysOfWeekDisabled=function(e){if(0===arguments.length)return i.daysOfWeekDisabled.splice(0);if("boolean"==typeof e&&!e)return i.daysOfWeekDisabled=!1,P(),c;if(!(e instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(i.daysOfWeekDisabled=e.reduce((function(e,t){return(t=parseInt(t,10))>6||0>t||isNaN(t)||-1===e.indexOf(t)&&e.push(t),e}),[]).sort(),i.useCurrent&&!i.keepInvalid){for(var t=0;!O(u,"d");){if(u.add(1,"d"),7===t)throw"Tried 7 times to find a valid date";t++}q(u)}return P(),c},c.maxDate=function(e){if(0===arguments.length)return i.maxDate?i.maxDate.clone():i.maxDate;if("boolean"==typeof e&&!1===e)return i.maxDate=!1,P(),c;"string"==typeof e&&("now"===e||"moment"===e)&&(e=t());var n=X(e);if(!n.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+e);if(i.minDate&&n.isBefore(i.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+n.format(a));return i.maxDate=n,i.useCurrent&&!i.keepInvalid&&u.isAfter(e)&&q(i.maxDate),d.isAfter(n)&&(d=n.clone().subtract(i.stepping,"m")),P(),c},c.minDate=function(e){if(0===arguments.length)return i.minDate?i.minDate.clone():i.minDate;if("boolean"==typeof e&&!1===e)return i.minDate=!1,P(),c;"string"==typeof e&&("now"===e||"moment"===e)&&(e=t());var n=X(e);if(!n.isValid())throw new TypeError("minDate() Could not parse date parameter: "+e);if(i.maxDate&&n.isAfter(i.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+n.format(a));return i.minDate=n,i.useCurrent&&!i.keepInvalid&&u.isBefore(e)&&q(i.minDate),d.isBefore(n)&&(d=n.clone().add(i.stepping,"m")),P(),c},c.defaultDate=function(e){if(0===arguments.length)return i.defaultDate?i.defaultDate.clone():i.defaultDate;if(!e)return i.defaultDate=!1,c;"string"==typeof e&&("now"===e||"moment"===e)&&(e=t());var n=X(e);if(!n.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+e);if(!O(n))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return i.defaultDate=n,(i.defaultDate&&i.inline||""===r.val().trim()&&void 0===r.attr("placeholder"))&&q(i.defaultDate),c},c.locale=function(e){if(0===arguments.length)return i.locale;if(!t.localeData(e))throw new TypeError("locale() locale "+e+" is not loaded from moment locales!");return i.locale=e,u.locale(i.locale),d.locale(i.locale),a&&K(),f&&(W(),F()),c},c.stepping=function(e){return 0===arguments.length?i.stepping:(e=parseInt(e,10),(isNaN(e)||1>e)&&(e=1),i.stepping=e,c)},c.useCurrent=function(e){var t=["year","month","day","hour","minute"];if(0===arguments.length)return i.useCurrent;if("boolean"!=typeof e&&"string"!=typeof e)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof e&&-1===t.indexOf(e.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+t.join(", "));return i.useCurrent=e,c},c.collapse=function(e){if(0===arguments.length)return i.collapse;if("boolean"!=typeof e)throw new TypeError("collapse() expects a boolean parameter");return i.collapse===e||(i.collapse=e,f&&(W(),F())),c},c.icons=function(t){if(0===arguments.length)return e.extend({},i.icons);if(!(t instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return e.extend(i.icons,t),f&&(W(),F()),c},c.tooltips=function(t){if(0===arguments.length)return e.extend({},i.tooltips);if(!(t instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return e.extend(i.tooltips,t),f&&(W(),F()),c},c.useStrict=function(e){if(0===arguments.length)return i.useStrict;if("boolean"!=typeof e)throw new TypeError("useStrict() expects a boolean parameter");return i.useStrict=e,c},c.sideBySide=function(e){if(0===arguments.length)return i.sideBySide;if("boolean"!=typeof e)throw new TypeError("sideBySide() expects a boolean parameter");return i.sideBySide=e,f&&(W(),F()),c},c.viewMode=function(e){if(0===arguments.length)return i.viewMode;if("string"!=typeof e)throw new TypeError("viewMode() expects a string parameter");if(-1===v.indexOf(e))throw new TypeError("viewMode() parameter must be one of ("+v.join(", ")+") value");return i.viewMode=e,l=Math.max(v.indexOf(e),g),_(),c},c.toolbarPlacement=function(e){if(0===arguments.length)return i.toolbarPlacement;if("string"!=typeof e)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===M.indexOf(e))throw new TypeError("toolbarPlacement() parameter must be one of ("+M.join(", ")+") value");return i.toolbarPlacement=e,f&&(W(),F()),c},c.widgetPositioning=function(t){if(0===arguments.length)return e.extend({},i.widgetPositioning);if("[object Object]"!=={}.toString.call(t))throw new TypeError("widgetPositioning() expects an object variable");if(t.horizontal){if("string"!=typeof t.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(t.horizontal=t.horizontal.toLowerCase(),-1===y.indexOf(t.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+y.join(", ")+")");i.widgetPositioning.horizontal=t.horizontal}if(t.vertical){if("string"!=typeof t.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(t.vertical=t.vertical.toLowerCase(),-1===b.indexOf(t.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+b.join(", ")+")");i.widgetPositioning.vertical=t.vertical}return P(),c},c.calendarWeeks=function(e){if(0===arguments.length)return i.calendarWeeks;if("boolean"!=typeof e)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return i.calendarWeeks=e,P(),c},c.showTodayButton=function(e){if(0===arguments.length)return i.showTodayButton;if("boolean"!=typeof e)throw new TypeError("showTodayButton() expects a boolean parameter");return i.showTodayButton=e,f&&(W(),F()),c},c.showClear=function(e){if(0===arguments.length)return i.showClear;if("boolean"!=typeof e)throw new TypeError("showClear() expects a boolean parameter");return i.showClear=e,f&&(W(),F()),c},c.widgetParent=function(t){if(0===arguments.length)return i.widgetParent;if("string"==typeof t&&(t=e(t)),null!==t&&"string"!=typeof t&&!(t instanceof e))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return i.widgetParent=t,f&&(W(),F()),c},c.keepOpen=function(e){if(0===arguments.length)return i.keepOpen;if("boolean"!=typeof e)throw new TypeError("keepOpen() expects a boolean parameter");return i.keepOpen=e,c},c.focusOnShow=function(e){if(0===arguments.length)return i.focusOnShow;if("boolean"!=typeof e)throw new TypeError("focusOnShow() expects a boolean parameter");return i.focusOnShow=e,c},c.inline=function(e){if(0===arguments.length)return i.inline;if("boolean"!=typeof e)throw new TypeError("inline() expects a boolean parameter");return i.inline=e,c},c.clear=function(){return R(),c},c.keyBinds=function(e){return i.keyBinds=e,c},c.debug=function(e){if("boolean"!=typeof e)throw new TypeError("debug() expects a boolean parameter");return i.debug=e,c},c.allowInputToggle=function(e){if(0===arguments.length)return i.allowInputToggle;if("boolean"!=typeof e)throw new TypeError("allowInputToggle() expects a boolean parameter");return i.allowInputToggle=e,c},c.showClose=function(e){if(0===arguments.length)return i.showClose;if("boolean"!=typeof e)throw new TypeError("showClose() expects a boolean parameter");return i.showClose=e,c},c.keepInvalid=function(e){if(0===arguments.length)return i.keepInvalid;if("boolean"!=typeof e)throw new TypeError("keepInvalid() expects a boolean parameter");return i.keepInvalid=e,c},c.datepickerInput=function(e){if(0===arguments.length)return i.datepickerInput;if("string"!=typeof e)throw new TypeError("datepickerInput() expects a string parameter");return i.datepickerInput=e,c},c.parseInputDate=function(e){if(0===arguments.length)return i.parseInputDate;if("function"!=typeof e)throw new TypeError("parseInputDate() sholud be as function");return i.parseInputDate=e,c},c.disabledTimeIntervals=function(t){if(0===arguments.length)return i.disabledTimeIntervals?e.extend({},i.disabledTimeIntervals):i.disabledTimeIntervals;if(!t)return i.disabledTimeIntervals=!1,P(),c;if(!(t instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return i.disabledTimeIntervals=t,P(),c},c.disabledHours=function(t){if(0===arguments.length)return i.disabledHours?e.extend({},i.disabledHours):i.disabledHours;if(!t)return i.disabledHours=!1,P(),c;if(!(t instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(i.disabledHours=Y(t),i.enabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!O(u,"h");){if(u.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}q(u)}return P(),c},c.enabledHours=function(t){if(0===arguments.length)return i.enabledHours?e.extend({},i.enabledHours):i.enabledHours;if(!t)return i.enabledHours=!1,P(),c;if(!(t instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(i.enabledHours=Y(t),i.disabledHours=!1,i.useCurrent&&!i.keepInvalid){for(var n=0;!O(u,"h");){if(u.add(1,"h"),24===n)throw"Tried 24 times to find a valid date";n++}q(u)}return P(),c},c.viewDate=function(e){if(0===arguments.length)return d.clone();if(!e)return d=u.clone(),c;if(!("string"==typeof e||t.isMoment(e)||e instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return d=X(e),$(),c},n.is("input"))r=n;else if(0===(r=n.find(i.datepickerInput)).size())r=n.find("input");else if(!r.is("input"))throw new Error('CSS class "'+i.datepickerInput+'" cannot be applied to non input element');if(n.hasClass("input-group")&&(h=0===n.find(".datepickerbutton").size()?n.find(".input-group-addon"):n.find(".datepickerbutton")),!i.inline&&!r.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return e.extend(!0,i,function(){var t,r={};return(t=n.is("input")||i.inline?n.data():n.find("input").data()).dateOptions&&t.dateOptions instanceof Object&&(r=e.extend(!0,r,t.dateOptions)),e.each(i,(function(e){var n="date"+e.charAt(0).toUpperCase()+e.slice(1);void 0!==t[n]&&(r[e]=t[n])})),r}()),c.options(i),K(),r.on({change:U,blur:i.debug?"":W,keydown:j,keyup:V,focus:i.allowInputToggle?F:""}),n.is("input")?r.on({focus:F}):h&&(h.on("click",H),h.on("mousedown",!1)),r.prop("disabled")&&c.disable(),r.is("input")&&0!==r.val().trim().length?q(X(r.val().trim())):i.defaultDate&&void 0===r.attr("placeholder")&&q(i.defaultDate),i.inline&&F(),c};e.fn.datetimepicker=function(t){return this.each((function(){var i=e(this);i.data("DateTimePicker")||(t=e.extend(!0,{},e.fn.datetimepicker.defaults,t),i.data("DateTimePicker",n(i,t)))}))},e.fn.datetimepicker.defaults={format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:t.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")?this.date(n.clone().subtract(7,"d")):this.date(n.clone().add(this.stepping(),"m"))}},down:function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")?this.date(n.clone().add(7,"d")):this.date(n.clone().subtract(this.stepping(),"m"))}else this.show()},"control up":function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")?this.date(n.clone().subtract(1,"y")):this.date(n.clone().add(1,"h"))}},"control down":function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")?this.date(n.clone().add(1,"y")):this.date(n.clone().subtract(1,"h"))}},left:function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")&&this.date(n.clone().subtract(1,"d"))}},right:function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")&&this.date(n.clone().add(1,"d"))}},pageUp:function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")&&this.date(n.clone().subtract(1,"M"))}},pageDown:function(e){if(e){var n=this.date()||t();e.find(".datepicker").is(":visible")&&this.date(n.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(e){e.find(".timepicker").is(":visible")&&e.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(t())},delete:function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}})),angular.module("yaru22.angular-timeago",[]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.ca_ES={prefixAgo:"fa",prefixFromNow:"d'aqu\xed",suffixAgo:null,suffixFromNow:null,seconds:"menys d'un minut",minute:"prop d'un minut",minutes:"%d minuts",hour:"prop d'una hora",hours:"prop de %d hores",day:"un dia",days:"%d dies",month:"prop d'un mes",months:"%d mesos",year:"prop d'un any",years:"%d anys",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){function t(e,t,n){return function(i,r){return r<0?i<=4?t:n:e}}e.strings.cs_CZ={prefixAgo:"pr\u011bd",prefixFromNow:"za",suffixAgo:null,suffixFromNow:null,seconds:t("m\xe9n\u011b ne\u017e minutou","m\xe9ne ne\u017e minutu","m\xe9ne ne\u017e minutu"),minute:t("minutou","minutu","minutu"),minutes:t("%d minutami","%d minuty","%d min\xfat"),hour:t("hodinou","hodinu","hodinu"),hours:t("%d hodinama","%d hodiny","%d hodin"),day:t("dnem","den","den"),days:t("%d dny","%d dny","%d dn\u016f"),month:t("m\u011bs\xedcem","m\u011bs\xedc","m\u011bs\xedc"),months:t("%d m\u011bs\xedci","%d m\u011bs\xedce","%d m\u011bs\xedc\u016f"),year:t("rokem","rok","rok"),years:t("%d lety","%d roky","%d let"),numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.da_DK={prefixAgo:null,prefixFromNow:null,suffixAgo:"siden",suffixFromNow:null,seconds:"mindre end et minut",minute:"omkring et minut",minutes:"%d minuter",hour:"omkring en time",hours:"omkring %d timer",day:"en dag",days:"%d dage",month:"omkring en m\xe5ned",months:"%d m\xe5neder",year:"omkring et \xe5r",years:"%d \xe5r",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.de_DE={prefixAgo:"vor",prefixFromNow:"in",suffixAgo:null,suffixFromNow:null,seconds:"weniger als einer Minute",minute:"ca. einer Minute",minutes:"%d Minuten",hour:"ca. einer Stunde",hours:"ca. %d Stunden",day:"einem Tag",days:"%d Tagen",month:"ca. einem Monat",months:"%d Monaten",year:"ca. einem Jahr",years:"%d Jahren",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.en_US={prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.es_ES={prefixAgo:"hace",prefixFromNow:"dentro de",suffixAgo:null,suffixFromNow:null,seconds:"menos de un minuto",minute:"un minuto",minutes:"%d minutos",hour:"una hora",hours:"%d horas",day:"un d\xeda",days:"%d d\xedas",month:"un mes",months:"%d meses",year:"un a\xf1o",years:"%d a\xf1os",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.es_LA={prefixAgo:"hace",prefixFromNow:"en",suffixAgo:null,suffixFromNow:null,seconds:"menos de un minuto",minute:"un minuto",minutes:"%d minutos",hour:"una hora",hours:"%d horas",day:"un d\xeda",days:"%d d\xedas",month:"un mes",months:"%d meses",year:"un a\xf1o",years:"%d a\xf1os",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.fr_FR={prefixAgo:"il y a",prefixFromNow:"dans",suffixAgo:null,suffixFromNow:null,seconds:"moins d'une minute",minute:"environ une minute",minutes:"%d minutes",hour:"environ une heure",hours:"environ %d heures",day:"un jour",days:"%d jours",month:"environ un mois",months:"%d mois",year:"environ un an",years:"%d ans",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.he_IL={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u05dc\u05e4\u05e0\u05d9",suffixFromNow:"\u05de\u05e2\u05db\u05e9\u05d9\u05d5",seconds:"\u05e4\u05d7\u05d5\u05ea \u05de\u05d3\u05e7\u05d4",minute:"\u05db\u05d3\u05e7\u05d4",minutes:"%d \u05d3\u05e7\u05d5\u05ea",hour:"\u05db\u05e9\u05e2\u05d4",hours:"\u05db %d \u05e9\u05e2\u05d5\u05ea",day:"\u05d9\u05d5\u05dd",days:"%d \u05d9\u05de\u05d9\u05dd",month:"\u05db\u05d7\u05d5\u05d3\u05e9",months:"%d \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd",year:"\u05db\u05e9\u05e0\u05d4",years:"%d \u05e9\u05e0\u05d9\u05dd",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.hu_HU={prefixAgo:null,prefixFromNow:null,suffixAgo:null,suffixFromNow:null,seconds:"kevesebb mint egy perce",minute:"k\xf6r\xfclbel\xfcl egy perce",minutes:"%d perce",hour:"k\xf6r\xfclbel\xfcl egy \xf3r\xe1ja",hours:"k\xf6r\xfclbel\xfcl %d \xf3r\xe1ja",day:"egy napja",days:"%d napja",month:"k\xf6r\xfclbel\xfcl egy h\xf3napja",months:"%d h\xf3napja",year:"k\xf6r\xfclbel\xfcl egy \xe9ve",years:"%d \xe9ve",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.it_IT={prefixAgo:null,prefixFromNow:null,suffixAgo:"fa",suffixFromNow:"da ora",seconds:"meno di un minuto",minute:"circa un minuto",minutes:"%d minuti",hour:"circa un' ora",hours:"circa %d ore",day:"un giorno",days:"%d giorni",month:"circa un mese",months:"%d mesi",year:"circa un anno",years:"%d anni",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.nl_NL={prefixAgo:null,prefixFromNow:"over",suffixAgo:"geleden",suffixFromNow:"vanaf nu",seconds:"een paar seconden",minute:"ongeveer een minuut",minutes:"%d minuten",hour:"een uur",hours:"%d uur",day:"een dag",days:"%d dagen",month:"een maand",months:"%d maanden",year:"een jaar",years:"%d jaar",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.pl_PL={prefixAgo:null,prefixFromNow:null,suffixAgo:"temu",suffixFromNow:"od teraz",seconds:"mniej ni\u017c minuta",minute:"oko\u0142o minuty",minutes:"%d minut",hour:"oko\u0142o godziny",hours:"oko\u0142o %d godzin",day:"dzie\u0144",days:"%d dni",month:"oko\u0142o miesi\u0105ca",months:"%d miesi\u0119cy",year:"oko\u0142o roku",years:"%d lat",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.pt_BR={prefixAgo:null,prefixFromNow:"daqui a",suffixAgo:"atr\xe1s",suffixFromNow:null,seconds:"menos de um minuto",minute:"cerca de um minuto",minutes:"%d minutos",hour:"cerca de uma hora",hours:"cerca de %d horas",day:"um dia",days:"%d dias",month:"cerca de um m\xeas",months:"%d meses",year:"cerca de um ano",years:"%d anos",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.ru_RU={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u043d\u0430\u0437\u0430\u0434",suffixFromNow:"\u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430",seconds:"\u043c\u0435\u043d\u0435\u0435 \u043c\u0438\u043d\u0443\u0442\u044b",minute:"\u043e\u043a\u043e\u043b\u043e \u043c\u0438\u043d\u0443\u0442\u044b",minutes:"%d \u043c\u0438\u043d.",hour:"\u043e\u043a\u043e\u043b\u043e \u0447\u0430\u0441\u0430",hours:"\u043e\u043a\u043e\u043b\u043e %d \u0447.",day:"\u0434\u0435\u043d\u044c",days:"%d \u0434\u043d.",month:"\u043e\u043a\u043e\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430",months:"%d \u043c\u0435\u0441.",year:"\u043e\u043a\u043e\u043b\u043e \u0433\u043e\u0434\u0430",years:"%d \u0433\u043e\u0434\u0430",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.ru_RU={prefixAgo:null,prefixFromNow:null,suffixAgo:"\u043d\u0430\u0437\u0430\u0434",suffixFromNow:null,seconds:"\u043c\u0435\u043d\u044c\u0448\u0435 \u043c\u0438\u043d\u0443\u0442\u044b",minute:"\u043e\u043a\u043e\u043b\u043e \u043c\u0438\u043d\u0443\u0442\u044b",minutes:"%d \u043c\u0438\u043d.",hour:"\u043e\u043a\u043e\u043b\u043e \u0447\u0430\u0441\u0430",hours:"\u043e\u043a\u043e\u043b\u043e %d \u0447\u0430\u0441.",day:"\u0434\u0435\u043d\u044c",days:"%d \u0434\u043d.",month:"\u043e\u043a\u043e\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430",months:"%d \u043c\u0435\u0441.",year:"\u043e\u043a\u043e\u043b\u043e \u0433\u043e\u0434\u0430",years:"%d \u0433.",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.sv_SE={prefixAgo:null,prefixFromNow:"om",suffixAgo:"sen",suffixFromNow:null,seconds:"mindre \xe4n en minut",minute:"cirka en minut",minutes:"%d minuter",hour:"cirka en timme",hours:"cirka %d timmar",day:"en dag",days:"%d dagar",month:"cirka en m\xe5nad",months:"%d m\xe5nader",year:"cirka ett \xe5r",years:"%d \xe5r",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.tr_TR={prefixAgo:null,prefixFromNow:null,suffixAgo:"\xf6nce",suffixFromNow:"\u015fu andan itibaren",seconds:"bir dakikadan daha az",minute:"bir dakika gibi",minutes:"%d dakika",hour:"bir saat gibi",hours:"%d saat gibi",day:"bir g\xfcn",days:"%d g\xfcn",month:"bir ay gibi",months:"%d ay",year:"bir y\u0131l gibi",years:"%d y\u0131l",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.zh_CN={wordSeparator:"",prefixAgo:null,prefixFromNow:null,suffixAgo:"\u524d",suffixFromNow:"\u540e",seconds:"1\u5206\u949f",minute:"1\u5206\u949f",minutes:"%d\u5206\u949f",hour:"1\u5c0f\u65f6",hours:"%d\u5c0f\u65f6",day:"1\u5929",days:"%d\u5929",month:"1\u4e2a\u6708",months:"%d\u4e2a\u6708",year:"1\u5e74",years:"%d\u5e74",numbers:[]}}]),angular.module("yaru22.angular-timeago").config(["timeAgoSettings",function(e){e.strings.zh_TW={wordSeparator:"",prefixAgo:null,prefixFromNow:null,suffixAgo:"\u524d",suffixFromNow:"\u5f8c",seconds:"\u5c11\u65bc\u4e00\u5206\u9418",minute:"\u4e00\u5206\u9418",minutes:"%d\u5206\u9418",hour:"\u4e00\u5c0f\u6642",hours:"%d\u5c0f\u6642",day:"\u4e00\u65e5",days:"%d\u65e5",month:"\u4e00\u500b\u6708",months:"%d\u500b\u6708",year:"\u4e00\u5e74",years:"%d\u5e74",numbers:["\u96f6","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d","\u5341","\u5341\u4e00","\u5341\u4e8c","\u5341\u4e09","\u5341\u56db","\u5341\u4e94","\u5341\u516d","\u5341\u4e03","\u5341\u516b","\u5341\u4e5d","\u4e8c\u5341","\u5eff\u4e00","\u5eff\u4e8c","\u5eff\u4e09","\u5eff\u56db","\u5eff\u4e94","\u5eff\u516d","\u5eff\u4e03","\u5eff\u516b","\u5eff\u4e5d","\u4e09\u5341","\u5345\u4e00","\u5345\u4e8c","\u5345\u4e09","\u5345\u56db","\u5345\u4e94","\u5345\u516d","\u5345\u4e03","\u5345\u516b","\u5345\u4e5d","\u56db\u5341","\u534c\u4e00","\u534c\u4e8c","\u534c\u4e09","\u534c\u56db","\u534c\u4e94","\u534c\u516d","\u534c\u4e03","\u534c\u516b","\u534c\u4e5d","\u4e94\u5341","\u4e94\u5341\u4e00","\u4e94\u5341\u4e8c","\u4e94\u5341\u4e09","\u4e94\u5341\u56db","\u4e94\u5341\u4e94","\u4e94\u5341\u516d","\u4e94\u5341\u4e03","\u4e94\u5341\u516b","\u4e94\u5341\u4e5d","\u516d\u5341","\u516d\u5341\u4e00","\u516d\u5341\u4e8c","\u516d\u5341\u4e09","\u516d\u5341\u56db","\u516d\u5341\u4e94","\u516d\u5341\u516d","\u516d\u5341\u4e03","\u516d\u5341\u516b","\u516d\u5341\u4e5d","\u4e03\u5341","\u4e03\u5341\u4e00","\u4e03\u5341\u4e8c","\u4e03\u5341\u4e09","\u4e03\u5341\u56db","\u4e03\u5341\u4e94","\u4e03\u5341\u516d","\u4e03\u5341\u4e03","\u4e03\u5341\u516b","\u4e03\u5341\u4e5d","\u516b\u5341","\u516b\u5341\u4e00","\u516b\u5341\u4e8c","\u516b\u5341\u4e09","\u516b\u5341\u56db","\u516b\u5341\u4e94","\u516b\u5341\u516d","\u516b\u5341\u4e03","\u516b\u5341\u516b","\u516b\u5341\u4e5d","\u4e5d\u5341","\u4e5d\u5341\u4e00","\u4e5d\u5341\u4e8c","\u4e5d\u5341\u4e09","\u4e5d\u5341\u56db","\u4e5d\u5341\u4e94","\u4e5d\u5341\u516d","\u4e5d\u5341\u4e03","\u4e5d\u5341\u516b","\u4e5d\u5341\u4e5d","\u4e00\u767e"]}}]),angular.module("yaru22.angular-timeago").factory("nowTime",["$interval","timeAgo","timeAgoSettings",function(e,t,n){function i(){r=Date.now()}var r;return i(),e(i,n.refreshMillis),function(){return r}}]),angular.module("yaru22.angular-timeago").constant("timeAgoSettings",{refreshMillis:1e3,allowFuture:!1,overrideLang:null,fullDateAfterSeconds:null,strings:{},breakpoints:{secondsToMinute:45,secondsToMinutes:90,minutesToHour:45,minutesToHours:90,hoursToDay:24,hoursToDays:42,daysToMonth:30,daysToMonths:45,daysToYear:365,yearToYears:1.5}}),angular.module("yaru22.angular-timeago").directive("timeAgo",["timeAgo","nowTime",function(e,t){return{scope:{fromTime:"@",format:"@"},restrict:"EA",link:function(n,i){var r;n.$watch("fromTime",(function(){r=e.parse(n.fromTime)})),n.$watch((function(){return t()-r}),(function(t){angular.element(i).text(e.inWords(t,r,n.format))}))}}}]),angular.module("yaru22.angular-timeago").factory("timeAgo",["$filter","timeAgoSettings",function(e,t){return{inWords:function(n,i,r,o){function a(e,t){return t=Math.round(t),(angular.isFunction(e)?e(t,n):e).replace(/%d/i,u.numbers&&u.numbers[t]||t)}var s=parseInt(t.fullDateAfterSeconds,10);if(!isNaN(s)){var l=1e3*s;if(n>=0&&l<=n||n<0&&l>=n)return r?e("date")(i,r,o):i}var c,u,d=t.overrideLang,p=document.documentElement.lang,h=t.strings;void 0!==h[d]?(c=d,u=h[d]):void 0!==h[p]?(c=p,u=h[p]):u=h[c="en_US"];var f=u.prefixAgo,g=u.suffixAgo;t.allowFuture&&n<0&&(f=u.prefixFromNow,g=u.suffixFromNow);var m=Math.abs(n)/1e3,v=m/60,b=v/60,y=b/24,M=y/365,w=t.breakpoints,C=m<w.secondsToMinute&&a(u.seconds,m)||m<w.secondsToMinutes&&a(u.minute,1)||v<w.minutesToHour&&a(u.minutes,v)||v<w.minutesToHours&&a(u.hour,1)||b<w.hoursToDay&&a(u.hours,b)||b<w.hoursToDays&&a(u.day,1)||y<w.daysToMonth&&a(u.days,y)||y<w.daysToMonths&&a(u.month,1)||y<w.daysToYear&&a(u.months,y/30)||M<w.yearToYears&&a(u.year,1)||a(u.years,M),A=void 0===u.wordSeparator?" ":u.wordSeparator;return"he_IL"===c?[f,g,C].join(A).trim():[f,C,g].join(A).trim()},parse:function(e){if(e instanceof Date)return e;if("undefined"!=typeof moment&&moment.isMoment(e))return e.toDate();if(angular.isNumber(e))return new Date(e);if(/^\d+$/.test(e))return new Date(parseInt(e,10));var t=(e||"").trim();return t=(t=(t=(t=t.replace(/\.\d+/,"")).replace(/-/,"/").replace(/-/,"/")).replace(/T/," ").replace(/Z/," UTC")).replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),new Date(t)}}}]),angular.module("yaru22.angular-timeago").filter("timeAgo",["nowTime","timeAgo",function(e,t){function n(n,i,r){var o=t.parse(n),a=e()-o;return t.inWords(a,o,i,r)}return n.$stateful=!0,n}]),function(){"use strict";angular.module("ui.tree",[]).constant("treeConfig",{treeClass:"angular-ui-tree",emptyTreeClass:"angular-ui-tree-empty",dropzoneClass:"angular-ui-tree-dropzone",hiddenClass:"angular-ui-tree-hidden",nodesClass:"angular-ui-tree-nodes",nodeClass:"angular-ui-tree-node",handleClass:"angular-ui-tree-handle",placeholderClass:"angular-ui-tree-placeholder",dragClass:"angular-ui-tree-drag",dragThreshold:3,defaultCollapsed:!1,appendChildOnHover:!0})}(),function(){"use strict";angular.module("ui.tree").controller("TreeHandleController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$nodeScope=null,e.$type="uiTreeHandle"}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodeController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$modelValue=null,e.$parentNodeScope=null,e.$childNodesScope=null,e.$parentNodesScope=null,e.$treeScope=null,e.$handleScope=null,e.$type="uiTreeNode",e.$$allowNodeDrop=!1,e.collapsed=!1,e.expandOnHover=!1,e.init=function(n){var i=n[0];e.$treeScope=n[1]?n[1].scope:null,e.$parentNodeScope=i.scope.$nodeScope,e.$modelValue=i.scope.$modelValue[e.$index],e.$parentNodesScope=i.scope,i.scope.initSubNode(e),t.on("$destroy",(function(){i.scope.destroySubNode(e)}))},e.index=function(){return e.$parentNodesScope.$modelValue.indexOf(e.$modelValue)},e.dragEnabled=function(){return!(e.$treeScope&&!e.$treeScope.dragEnabled)},e.isSibling=function(t){return e.$parentNodesScope==t.$parentNodesScope},e.isChild=function(t){var n=e.childNodes();return n&&n.indexOf(t)>-1},e.prev=function(){var t=e.index();return t>0?e.siblings()[t-1]:null},e.siblings=function(){return e.$parentNodesScope.childNodes()},e.childNodesCount=function(){return e.childNodes()?e.childNodes().length:0},e.hasChild=function(){return e.childNodesCount()>0},e.childNodes=function(){return e.$childNodesScope&&e.$childNodesScope.$modelValue?e.$childNodesScope.childNodes():null},e.accept=function(t,n){return e.$childNodesScope&&e.$childNodesScope.$modelValue&&e.$childNodesScope.accept(t,n)},e.remove=function(){return e.$parentNodesScope.removeNode(e)},e.toggle=function(){e.collapsed=!e.collapsed,e.$treeScope.$callbacks.toggle(e.collapsed,e)},e.collapse=function(){e.collapsed=!0},e.expand=function(){e.collapsed=!1},e.depth=function(){var t=e.$parentNodeScope;return t?t.depth()+1:1},e.maxSubDepth=function(){return e.$childNodesScope?function e(t){if(!t)return 0;var n,i,r=0,o=t.childNodes();if(!o||0===o.length)return 0;for(i=o.length-1;i>=0;i--)n=1+e(o[i]),r=Math.max(r,n);return r}(e.$childNodesScope):0}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodesController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$modelValue=null,e.$nodeScope=null,e.$treeScope=null,e.$type="uiTreeNodes",e.$nodesMap={},e.nodropEnabled=!1,e.maxDepth=0,e.cloneEnabled=!1,e.initSubNode=function(t){if(!t.$modelValue)return null;e.$nodesMap[t.$modelValue.$$hashKey]=t},e.destroySubNode=function(t){if(!t.$modelValue)return null;e.$nodesMap[t.$modelValue.$$hashKey]=null},e.accept=function(t,n){return e.$treeScope.$callbacks.accept(t,e,n)},e.beforeDrag=function(t){return e.$treeScope.$callbacks.beforeDrag(t)},e.isParent=function(t){return t.$parentNodesScope==e},e.hasChild=function(){return e.$modelValue.length>0},e.safeApply=function(e){var t=this.$root.$$phase;"$apply"==t||"$digest"==t?e&&"function"==typeof e&&e():this.$apply(e)},e.removeNode=function(t){var n=e.$modelValue.indexOf(t.$modelValue);return n>-1?(e.safeApply((function(){e.$modelValue.splice(n,1)})),e.$treeScope.$callbacks.removed(t)):null},e.insertNode=function(t,n){e.safeApply((function(){e.$modelValue.splice(t,0,n)}))},e.childNodes=function(){var t,n=[];if(e.$modelValue)for(t=0;t<e.$modelValue.length;t++)n.push(e.$nodesMap[e.$modelValue[t].$$hashKey]);return n},e.depth=function(){return e.$nodeScope?e.$nodeScope.depth():0},e.outOfDepth=function(t){var n=e.maxDepth||e.$treeScope.maxDepth;return n>0&&e.depth()+t.maxSubDepth()+1>n}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeController",["$scope","$element",function(e,t){this.scope=e,e.$element=t,e.$nodesScope=null,e.$type="uiTree",e.$emptyElm=null,e.$dropzoneElm=null,e.$callbacks=null,e.dragEnabled=!0,e.emptyPlaceholderEnabled=!0,e.maxDepth=0,e.dragDelay=0,e.cloneEnabled=!1,e.nodropEnabled=!1,e.dropzoneEnabled=!1,e.isEmpty=function(){return e.$nodesScope&&e.$nodesScope.$modelValue&&0===e.$nodesScope.$modelValue.length},e.place=function(t){e.$nodesScope.$element.append(t),e.$emptyElm.remove()},this.resetEmptyElement=function(){e.$nodesScope.$modelValue&&0!==e.$nodesScope.$modelValue.length||!e.emptyPlaceholderEnabled?e.$emptyElm.remove():t.append(e.$emptyElm)},this.resetDropzoneElement=function(){e.$nodesScope.$modelValue&&0===e.$nodesScope.$modelValue.length||!e.dropzoneEnabled?e.$dropzoneElm.remove():t.append(e.$dropzoneElm)},e.resetEmptyElement=this.resetEmptyElement,e.resetDropzoneElement=this.resetDropzoneElement}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTree",["treeConfig","$window",function(e,t){return{restrict:"A",scope:!0,controller:"TreeController",link:function(n,i,r,o){var a,s,l,c={accept:null,beforeDrag:null},u={};angular.extend(u,e),u.treeClass&&i.addClass(u.treeClass),"table"===i.prop("tagName").toLowerCase()?(n.$emptyElm=angular.element(t.document.createElement("tr")),l=(s=i.find("tr")).length>0?angular.element(s).children().length:1e6,a=angular.element(t.document.createElement("td")).attr("colspan",l),n.$emptyElm.append(a)):(n.$emptyElm=angular.element(t.document.createElement("div")),n.$dropzoneElm=angular.element(t.document.createElement("div"))),u.emptyTreeClass&&n.$emptyElm.addClass(u.emptyTreeClass),u.dropzoneClass&&n.$dropzoneElm.addClass(u.dropzoneClass),n.$watch("$nodesScope.$modelValue.length",(function(e){angular.isNumber(e)&&(o.resetEmptyElement(),o.resetDropzoneElement())}),!0),n.$watch(r.dragEnabled,(function(e){"boolean"==typeof e&&(n.dragEnabled=e)})),n.$watch(r.emptyPlaceholderEnabled,(function(e){"boolean"==typeof e&&(n.emptyPlaceholderEnabled=e,o.resetEmptyElement())})),n.$watch(r.nodropEnabled,(function(e){"boolean"==typeof e&&(n.nodropEnabled=e)})),n.$watch(r.dropzoneEnabled,(function(e){"boolean"==typeof e&&(n.dropzoneEnabled=e,o.resetDropzoneElement())})),n.$watch(r.cloneEnabled,(function(e){"boolean"==typeof e&&(n.cloneEnabled=e)})),n.$watch(r.maxDepth,(function(e){"number"==typeof e&&(n.maxDepth=e)})),n.$watch(r.dragDelay,(function(e){"number"==typeof e&&(n.dragDelay=e)})),c.accept=function(e,t,n){return!(t.nodropEnabled||t.$treeScope.nodropEnabled||t.outOfDepth(e))},c.beforeDrag=function(e){return!0},c.expandTimeoutStart=function(){},c.expandTimeoutCancel=function(){},c.expandTimeoutEnd=function(){},c.removed=function(e){},c.dropped=function(e){},c.dragStart=function(e){},c.dragMove=function(e){},c.dragStop=function(e){},c.beforeDrop=function(e){},c.toggle=function(e,t){},n.$watch(r.uiTree,(function(e,t){angular.forEach(e,(function(e,t){c[t]&&"function"==typeof e&&(c[t]=e)})),n.$callbacks=c}),!0)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeHandle",["treeConfig",function(e){return{require:"^uiTreeNode",restrict:"A",scope:!0,controller:"TreeHandleController",link:function(t,n,i,r){var o={};angular.extend(o,e),o.handleClass&&n.addClass(o.handleClass),t!=r.scope&&(t.$nodeScope=r.scope,r.scope.$handleScope=t)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNode",["treeConfig","UiTreeHelper","$window","$document","$timeout","$q",function(e,t,n,i,r,o){return{require:["^uiTreeNodes","^uiTree"],restrict:"A",controller:"TreeNodeController",link:function(a,s,l,c){var u,d,p,h,f,g,m,v,b,y,M,w,C,A,x,S,z,T,k,$,_,O,E,L,N,D,P,q,W={},R="ontouchstart"in window,I=null,B=document.body,F=document.documentElement;angular.extend(W,e),W.nodeClass&&s.addClass(W.nodeClass),a.init(c),a.collapsed=!!t.getNodeAttribute(a,"collapsed")||e.defaultCollapsed,a.expandOnHover=!!t.getNodeAttribute(a,"expandOnHover"),a.scrollContainer=t.getNodeAttribute(a,"scrollContainer")||l.scrollContainer||null,a.sourceOnly=a.nodropEnabled||a.$treeScope.nodropEnabled,a.$watch(l.collapsed,(function(e){"boolean"==typeof e&&(a.collapsed=e)})),a.$watch("collapsed",(function(e){t.setNodeAttribute(a,"collapsed",e),l.$set("collapsed",e)})),a.$watch(l.expandOnHover,(function(e){"boolean"!=typeof e&&"number"!=typeof e||(a.expandOnHover=e)})),a.$watch("expandOnHover",(function(e){t.setNodeAttribute(a,"expandOnHover",e),l.$set("expandOnHover",e)})),l.$observe("scrollContainer",(function(e){"string"==typeof e&&(a.scrollContainer=e)})),a.$watch("scrollContainer",(function(e){t.setNodeAttribute(a,"scrollContainer",e),l.$set("scrollContainer",e),m=document.querySelector(e)})),a.$on("angular-ui-tree:collapse-all",(function(){a.collapsed=!0})),a.$on("angular-ui-tree:expand-all",(function(){a.collapsed=!1})),w=function(e){if((R||2!==e.button&&3!==e.which)&&!(e.uiTreeDragging||e.originalEvent&&e.originalEvent.uiTreeDragging)){var r,o,l,c,m,v,w,C,A,x=angular.element(e.target);if((r=t.treeNodeHandlerContainerOfElement(x))&&(x=angular.element(r)),o=s.clone(),C=t.elementIsTreeNode(x),A=t.elementIsTreeNodeHandle(x),(C||A)&&!(C&&t.elementContainsTreeNodeHandler(x)||"input"==(l=x.prop("tagName").toLowerCase())||"textarea"==l||"button"==l||"select"==l)){for(N=angular.element(e.target),D=N[0].attributes["ui-tree"];N&&N[0]&&N[0]!==s&&!D;){if(N[0].attributes&&(D=N[0].attributes["ui-tree"]),t.nodrag(N))return;N=N.parent()}a.beforeDrag(a)&&(e.uiTreeDragging=!0,e.originalEvent&&(e.originalEvent.uiTreeDragging=!0),e.preventDefault(),m=t.eventObj(e),u=!0,d=t.dragInfo(a),P=d.source.$treeScope.$id,"tr"===(c=s.prop("tagName")).toLowerCase()?(h=angular.element(n.document.createElement(c)),v=angular.element(n.document.createElement("td")).addClass(W.placeholderClass).attr("colspan",s[0].children.length),h.append(v)):h=angular.element(n.document.createElement(c)).addClass(W.placeholderClass),f=angular.element(n.document.createElement(c)),W.hiddenClass&&f.addClass(W.hiddenClass),p=t.positionStarted(m,s),h.css("height",s.prop("offsetHeight")+"px"),(g=angular.element(n.document.createElement(a.$parentNodesScope.$element.prop("tagName"))).addClass(a.$parentNodesScope.$element.attr("class")).addClass(W.dragClass)).css("width",t.width(s)+"px"),g.css("z-index",9999),(w=(s[0].querySelector(".angular-ui-tree-handle")||s[0]).currentStyle)&&(document.body.setAttribute("ui-tree-cursor",i.find("body").css("cursor")||""),i.find("body").css({cursor:w.cursor+"!important"})),a.sourceOnly&&h.css("display","none"),s.after(h),s.after(f),d.isClone()&&a.sourceOnly?g.append(o):g.append(s),i.find("body").append(g),g.css({left:m.pageX-p.offsetX+"px",top:m.pageY-p.offsetY+"px"}),b={placeholder:h,dragging:g},_(),a.$apply((function(){a.$treeScope.$callbacks.dragStart(d.eventArgs(b,p))})),y=Math.max(B.scrollHeight,B.offsetHeight,F.clientHeight,F.scrollHeight,F.offsetHeight),M=Math.max(B.scrollWidth,B.offsetWidth,F.clientWidth,F.scrollWidth,F.offsetWidth))}}},C=function(e){var i,o,s,l,c,f,w,C,A,x,S,z,T,k,$,_,O,E,N,D,q,R=t.eventObj(e);if(g){if(e.preventDefault(),n.getSelection?n.getSelection().removeAllRanges():n.document.selection&&n.document.selection.empty(),(o=R.pageX-p.offsetX)<0&&(o=0),(s=R.pageY-p.offsetY)<0&&(s=0),s+10>y&&(s=y-10),o+10>M&&(o=M-10),g.css({left:o+"px",top:s+"px"}),m?(f=m.getBoundingClientRect(),c=(l=m.scrollTop)+m.clientHeight,f.bottom<R.clientY&&c<m.scrollHeight&&(k=Math.min(m.scrollHeight-c,10),m.scrollTop+=k),f.top>R.clientY&&l>0&&($=Math.min(l,10),m.scrollTop-=$)):((c=(l=window.pageYOffset||n.document.documentElement.scrollTop)+(window.innerHeight||n.document.clientHeight||n.document.clientHeight))<R.pageY&&c<y&&(k=Math.min(y-c,10),window.scrollBy(0,k)),l>R.pageY&&($=Math.min(l,10),window.scrollBy(0,-$))),t.positionMoved(e,p,u),u)return void(u=!1);if(C=R.pageX-(n.pageXOffset||n.document.body.scrollLeft||n.document.documentElement.scrollLeft)-(n.document.documentElement.clientLeft||0),A=R.pageY-(n.pageYOffset||n.document.body.scrollTop||n.document.documentElement.scrollTop)-(n.document.documentElement.clientTop||0),angular.isFunction(g.hide)?g.hide():(x=g[0].style.display,g[0].style.display="none"),n.document.elementFromPoint(C,A),z=angular.element(n.document.elementFromPoint(C,A)),(L=t.treeNodeHandlerContainerOfElement(z))&&(z=angular.element(L)),angular.isFunction(g.show)?g.show():g[0].style.display=x,t.elementIsTree(z)?S=z.controller("uiTree").scope:t.elementIsTreeNodeHandle(z)?S=z.controller("uiTreeHandle").scope:t.elementIsTreeNode(z)?S=z.controller("uiTreeNode").scope:t.elementIsTreeNodes(z)||t.elementIsPlaceholder(z)?S=z.controller("uiTreeNodes").scope:t.elementIsDropzone(z)?(S=z.controller("uiTree").scope,q=!0):z.controller("uiTreeNode")&&(S=z.controller("uiTreeNode").scope),S&&S.$treeScope&&S.$treeScope.$id&&S.$treeScope.$id===P&&p.dirAx)p.distX>0&&(i=d.prev())&&!i.collapsed&&i.accept(a,i.childNodesCount())&&(i.$childNodesScope.$element.append(h),d.moveTo(i.$childNodesScope,i.childNodes(),i.childNodesCount())),p.distX<0&&(d.next()||(w=d.parentNode())&&w.$parentNodesScope.accept(a,w.index()+1)&&(w.$element.after(h),d.moveTo(w.$parentNodesScope,w.siblings(),w.index()+1)));else{if(T=!1,!S)return;if(!S.$treeScope||S.$parent.nodropEnabled||S.$treeScope.nodropEnabled||h.css("display",""),"uiTree"===S.$type&&S.dragEnabled&&(T=S.isEmpty()),"uiTreeHandle"===S.$type&&(S=S.$nodeScope),"uiTreeNode"!==S.$type&&!T&&!q)return void(W.appendChildOnHover&&!d.next()&&v&&((w=d.parentNode()).$element.after(h),d.moveTo(w.$parentNodesScope,w.siblings(),w.index()+1),v=!1));I&&h.parent()[0]!=I.$element[0]&&(I.resetEmptyElement(),I.resetDropzoneElement(),I=null),T?(I=S,S.$nodesScope.accept(a,0)&&d.moveTo(S.$nodesScope,S.$nodesScope.childNodes(),0)):q?(I=S,S.$nodesScope.accept(a,S.$nodesScope.childNodes().length)&&d.moveTo(S.$nodesScope,S.$nodesScope.childNodes(),S.$nodesScope.childNodes().length)):S.dragEnabled()&&(angular.isDefined(a.expandTimeoutOn)&&a.expandTimeoutOn!==S.id&&(r.cancel(a.expandTimeout),delete a.expandTimeout,delete a.expandTimeoutOn,a.$callbacks.expandTimeoutCancel()),S.collapsed&&(!0===a.expandOnHover||angular.isNumber(a.expandOnHover)&&0===a.expandOnHover?(S.collapsed=!1,S.$treeScope.$callbacks.toggle(!1,S)):!1!==a.expandOnHover&&angular.isNumber(a.expandOnHover)&&a.expandOnHover>0&&angular.isUndefined(a.expandTimeoutOn)&&(a.expandTimeoutOn=S.$id,a.$callbacks.expandTimeoutStart(),a.expandTimeout=r((function(){a.$callbacks.expandTimeoutEnd(),S.collapsed=!1,S.$treeScope.$callbacks.toggle(!1,S)}),a.expandOnHover))),_=t.offset(z=S.$element),N=t.height(z),N-=(D=S.$childNodesScope?S.$childNodesScope.$element:null)?t.height(D):0,E=W.appendChildOnHover?.25*N:t.height(z)/2,O=R.pageY<_.top+E,S.$parentNodesScope.accept(a,S.index())?O?(z[0].parentNode.insertBefore(h[0],z[0]),d.moveTo(S.$parentNodesScope,S.siblings(),S.index())):W.appendChildOnHover&&S.accept(a,S.childNodesCount())?(S.$childNodesScope.$element.prepend(h),d.moveTo(S.$childNodesScope,S.childNodes(),0),v=!0):(z.after(h),d.moveTo(S.$parentNodesScope,S.siblings(),S.index()+1)):!O&&S.accept(a,S.childNodesCount())&&(S.$childNodesScope.$element.append(h),d.moveTo(S.$childNodesScope,S.childNodes(),S.childNodesCount())))}a.$apply((function(){a.$treeScope.$callbacks.dragMove(d.eventArgs(b,p))}))}},A=function(e){var t=d.eventArgs(b,p);e.preventDefault(),O(),r.cancel(a.expandTimeout),a.$treeScope.$apply((function(){o.when(a.$treeScope.$callbacks.beforeDrop(t)).then((function(e){!1!==e&&a.$$allowNodeDrop?(d.apply(),a.$treeScope.$callbacks.dropped(t)):$()})).catch((function(){$()})).finally((function(){f.replaceWith(a.$element),h.remove(),g&&(g.remove(),g=null),a.$treeScope.$callbacks.dragStop(t),a.$$allowNodeDrop=!1,d=null;var e=document.body.getAttribute("ui-tree-cursor");null!==e&&(i.find("body").css({cursor:e}),document.body.removeAttribute("ui-tree-cursor"))}))}))},x=function(e){a.dragEnabled()&&w(e)},S=function(e){C(e)},z=function(e){a.$$allowNodeDrop=!0,A(e)},T=function(e){A(e)},k={exec:function(e,t){t||(t=0),this.cancel(),q=r(e,t)},cancel:function(){r.cancel(q)}},E=function(e){27===e.keyCode&&z(e)},($=function(){s.bind("touchstart mousedown",(function(e){a.dragDelay>0?k.exec((function(){x(e)}),a.dragDelay):x(e)})),s.bind("touchend touchcancel mouseup",(function(){a.dragDelay>0&&k.cancel()}))})(),_=function(){angular.element(i).bind("touchend",z),angular.element(i).bind("touchcancel",z),angular.element(i).bind("touchmove",S),angular.element(i).bind("mouseup",z),angular.element(i).bind("mousemove",S),angular.element(i).bind("mouseleave",T),angular.element(i).bind("keydown",E)},O=function(){angular.element(i).unbind("touchend",z),angular.element(i).unbind("touchcancel",z),angular.element(i).unbind("touchmove",S),angular.element(i).unbind("mouseup",z),angular.element(i).unbind("mousemove",S),angular.element(i).unbind("mouseleave",T),angular.element(i).unbind("keydown",E)}}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNodes",["treeConfig","$window",function(e){return{require:["ngModel","?^uiTreeNode","^uiTree"],restrict:"A",scope:!0,controller:"TreeNodesController",link:function(t,n,i,r){var o={},a=r[0],s=r[1],l=r[2];angular.extend(o,e),o.nodesClass&&n.addClass(o.nodesClass),s?(s.scope.$childNodesScope=t,t.$nodeScope=s.scope):l.scope.$nodesScope=t,t.$treeScope=l.scope,a&&(a.$render=function(){t.$modelValue=a.$modelValue}),t.$watch((function(){return i.maxDepth}),(function(e){"number"==typeof e&&(t.maxDepth=e)})),t.$watch((function(){return i.nodropEnabled}),(function(e){void 0!==e&&(t.nodropEnabled=!0)}),!0)}}}])}(),function(){"use strict";angular.module("ui.tree").factory("UiTreeHelper",["$document","$window","treeConfig",function(e,t,n){return{nodesData:{},setNodeAttribute:function(e,t,n){if(!e.$modelValue)return null;var i=this.nodesData[e.$modelValue.$$hashKey];i||(this.nodesData[e.$modelValue.$$hashKey]=i={}),i[t]=n},getNodeAttribute:function(e,t){if(!e.$modelValue)return null;var n=this.nodesData[e.$modelValue.$$hashKey];return n?n[t]:null},nodrag:function(e){return void 0!==e.attr("data-nodrag")&&"false"!==e.attr("data-nodrag")},eventObj:function(e){var t=e;return void 0!==e.targetTouches?t=e.targetTouches.item(0):void 0!==e.originalEvent&&void 0!==e.originalEvent.targetTouches&&(t=e.originalEvent.targetTouches.item(0)),t},dragInfo:function(e){return{source:e,sourceInfo:{cloneModel:!0===e.$treeScope.cloneEnabled?angular.copy(e.$modelValue):void 0,nodeScope:e,index:e.index(),nodesScope:e.$parentNodesScope},index:e.index(),siblings:e.siblings().slice(0),parent:e.$parentNodesScope,resetParent:function(){this.parent=e.$parentNodesScope},moveTo:function(e,t,n){this.parent=e,this.siblings=t.slice(0);var i=this.siblings.indexOf(this.source);i>-1&&(this.siblings.splice(i,1),this.source.index()<n&&n--),this.siblings.splice(n,0,this.source),this.index=n},parentNode:function(){return this.parent.$nodeScope},prev:function(){return this.index>0?this.siblings[this.index-1]:null},next:function(){return this.index<this.siblings.length-1?this.siblings[this.index+1]:null},isClone:function(){return!0===this.source.$treeScope.cloneEnabled},clonedNode:function(e){return angular.copy(e)},isDirty:function(){return this.source.$parentNodesScope!=this.parent||this.source.index()!=this.index},isForeign:function(){return this.source.$treeScope!==this.parent.$treeScope},eventArgs:function(e,t){return{source:this.sourceInfo,dest:{index:this.index,nodesScope:this.parent},elements:e,pos:t}},apply:function(){var e=this.source.$modelValue;this.parent.nodropEnabled||this.parent.$treeScope.nodropEnabled||this.isDirty()&&(this.isClone()&&this.isForeign()?this.parent.insertNode(this.index,this.sourceInfo.cloneModel):(this.source.remove(),this.parent.insertNode(this.index,e)))}}},height:function(e){return e.prop("scrollHeight")},width:function(e){return e.prop("scrollWidth")},offset:function(n){var i=n[0].getBoundingClientRect();return{width:n.prop("offsetWidth"),height:n.prop("offsetHeight"),top:i.top+(t.pageYOffset||e[0].body.scrollTop||e[0].documentElement.scrollTop),left:i.left+(t.pageXOffset||e[0].body.scrollLeft||e[0].documentElement.scrollLeft)}},positionStarted:function(e,t){var n={},i=e.pageX,r=e.pageY;return e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length>0&&(i=e.originalEvent.touches[0].pageX,r=e.originalEvent.touches[0].pageY),n.offsetX=i-this.offset(t).left,n.offsetY=r-this.offset(t).top,n.startX=n.lastX=i,n.startY=n.lastY=r,n.nowX=n.nowY=n.distX=n.distY=n.dirAx=0,n.dirX=n.dirY=n.lastDirX=n.lastDirY=n.distAxX=n.distAxY=0,n},positionMoved:function(e,t,n){var i,r=e.pageX,o=e.pageY;if(e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length>0&&(r=e.originalEvent.touches[0].pageX,o=e.originalEvent.touches[0].pageY),t.lastX=t.nowX,t.lastY=t.nowY,t.nowX=r,t.nowY=o,t.distX=t.nowX-t.lastX,t.distY=t.nowY-t.lastY,t.lastDirX=t.dirX,t.lastDirY=t.dirY,t.dirX=0===t.distX?0:t.distX>0?1:-1,t.dirY=0===t.distY?0:t.distY>0?1:-1,i=Math.abs(t.distX)>Math.abs(t.distY)?1:0,n)return t.dirAx=i,void(t.moving=!0);t.dirAx!==i?(t.distAxX=0,t.distAxY=0):(t.distAxX+=Math.abs(t.distX),0!==t.dirX&&t.dirX!==t.lastDirX&&(t.distAxX=0),t.distAxY+=Math.abs(t.distY),0!==t.dirY&&t.dirY!==t.lastDirY&&(t.distAxY=0)),t.dirAx=i},elementIsTreeNode:function(e){return void 0!==e.attr("ui-tree-node")},elementIsTreeNodeHandle:function(e){return void 0!==e.attr("ui-tree-handle")},elementIsTree:function(e){return void 0!==e.attr("ui-tree")},elementIsTreeNodes:function(e){return void 0!==e.attr("ui-tree-nodes")},elementIsPlaceholder:function(e){return e.hasClass(n.placeholderClass)},elementIsDropzone:function(e){return e.hasClass(n.dropzoneClass)},elementContainsTreeNodeHandler:function(e){return e[0].querySelectorAll("[ui-tree-handle]").length>=1},treeNodeHandlerContainerOfElement:function(e){return function(e,t){if(void 0===t)return null;for(var n=t.parentNode,i="function"==typeof n.setAttribute&&n.hasAttribute("ui-tree-handle")?n:null;n&&"function"==typeof n.setAttribute&&!n.hasAttribute("ui-tree-handle");)if(i=n=n.parentNode,n===document.documentElement){i=null;break}return i}(0,e[0])}}}])}(),function(e,t){"function"==typeof define&&define.amd?define([],(function(){return t()})):"object"==typeof exports?module.exports=t():t()}(0,(function(){function e(e){"use strict";var t=e.storageKey(),n=e.storage(),i=function(){var i=e.preferredLanguage();angular.isString(i)?e.use(i):n.put(t,e.use())};i.displayName="fallbackFromIncorrectStorageValue",n?n.get(t)?e.use(n.get(t)).catch(i):i():angular.isString(e.preferredLanguage())&&e.use(e.preferredLanguage())}function t(e,t,n,i){"use strict";var r,o,a,s,l,c,u,d,p,h,f,g,m,v,b,y={},M=[],w=e,C=[],A="translate-cloak",x=!1,S=!1,z=0,T=!0,k="default",$={default:function(e){return(e||"").split("-").join("_")},java:function(e){var t=(e||"").split("-").join("_"),n=t.split("_");return n.length>1?n[0].toLowerCase()+"_"+n[1].toUpperCase():t},bcp47:function(e){var t=(e||"").split("_").join("-"),n=t.split("-");return n.length>1?n[0].toLowerCase()+"-"+n[1].toUpperCase():t}},_=function(){if(angular.isFunction(i.getLocale))return i.getLocale();var e,n,r=t.$get().navigator,o=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(r.languages))for(e=0;e<r.languages.length;e++)if((n=r.languages[e])&&n.length)return n;for(e=0;e<o.length;e++)if((n=r[o[e]])&&n.length)return n;return null};_.displayName="angular-translate/service: getFirstBrowserLanguage";var O=function(){var e=_()||"";return $[k]&&(e=$[k](e)),e};O.displayName="angular-translate/service: getLocale";var E=function(e,t){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},L=function(){return this.toString().replace(/^\s+|\s+$/g,"")},N=function(e){for(var t=[],n=angular.lowercase(e),i=0,r=M.length;r>i;i++)t.push(angular.lowercase(M[i]));if(E(t,n)>-1)return e;var a;if(o)for(var s in o){var l=!1,c=Object.prototype.hasOwnProperty.call(o,s)&&angular.lowercase(s)===angular.lowercase(e);if("*"===s.slice(-1)&&(l=s.slice(0,-1)===e.slice(0,s.length-1)),(c||l)&&(a=o[s],E(t,angular.lowercase(a))>-1))return a}if(e){var u=e.split("_");if(u.length>1&&E(t,angular.lowercase(u[0]))>-1)return u[0]}return e},D=function(e,t){if(!e&&!t)return y;if(e&&!t){if(angular.isString(e))return y[e]}else angular.isObject(y[e])||(y[e]={}),angular.extend(y[e],P(t));return this};this.translations=D,this.cloakClassName=function(e){return e?(A=e,this):A};var P=function(e,t,n,i){var r,o,a;for(r in t||(t=[]),n||(n={}),e)Object.prototype.hasOwnProperty.call(e,r)&&(a=e[r],angular.isObject(a)?P(a,t.concat(r),n,r):(o=t.length?t.join(".")+"."+r:r,t.length&&r===i&&(n[""+t.join(".")]="@:"+o),n[o]=a));return n};P.displayName="flatObject",this.addInterpolation=function(e){return C.push(e),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(e){return h=e,this},this.useSanitizeValueStrategy=function(e){return n.useStrategy(e),this},this.preferredLanguage=function(e){return q(e),this};var q=function(e){return e&&(r=e),r};this.translationNotFoundIndicator=function(e){return this.translationNotFoundIndicatorLeft(e),this.translationNotFoundIndicatorRight(e),this},this.translationNotFoundIndicatorLeft=function(e){return e?(m=e,this):m},this.translationNotFoundIndicatorRight=function(e){return e?(v=e,this):v},this.fallbackLanguage=function(e){return W(e),this};var W=function(e){return e?(angular.isString(e)?(s=!0,a=[e]):angular.isArray(e)&&(s=!1,a=e),angular.isString(r)&&E(a,r)<0&&a.push(r),this):s?a[0]:a};this.use=function(e){if(e){if(!y[e]&&!f)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+e+"'");return l=e,this}return l};var R=function(e){return e?(w=e,this):d?d+w:w};this.storageKey=R,this.useUrlLoader=function(e,t){return this.useLoader("$translateUrlLoader",angular.extend({url:e},t))},this.useStaticFilesLoader=function(e){return this.useLoader("$translateStaticFilesLoader",e)},this.useLoader=function(e,t){return f=e,g=t||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(e){return u=e,this},this.storagePrefix=function(e){return e?(d=e,this):e},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(e){return p=e,this},this.usePostCompiling=function(e){return x=!!e,this},this.forceAsyncReload=function(e){return S=!!e,this},this.uniformLanguageTag=function(e){return e?angular.isString(e)&&(e={standard:e}):e={},k=e.standard,this},this.determinePreferredLanguage=function(e){var t=e&&angular.isFunction(e)?e():O();return r=M.length?N(t):t,this},this.registerAvailableLanguageKeys=function(e,t){return e?(M=e,t&&(o=t),this):M},this.useLoaderCache=function(e){return!1===e?b=void 0:!0===e?b=!0:void 0===e?b="$translationCache":e&&(b=e),this},this.directivePriority=function(e){return void 0===e?z:(z=e,this)},this.statefulFilter=function(e){return void 0===e?T:(T=e,this)},this.$get=["$log","$injector","$rootScope","$q",function(e,t,n,i){var o,d,M,k=t.get(h||"$translateDefaultInterpolation"),$=!1,_={},O={},I=function(e,t,n,s){if(angular.isArray(e))return function(e){for(var r={},o=[],a=function(e){var o=i.defer(),a=function(t){r[e]=t,o.resolve([e,t])};return I(e,t,n,s).then(a,a),o.promise},l=0,c=e.length;c>l;l++)o.push(a(e[l]));return i.all(o).then((function(){return r}))}(e);var c=i.defer();e&&(e=L.apply(e));var p=function(){var e=r?O[r]:O[l];if(d=0,u&&!e){var t=o.get(w);if(e=O[t],a&&a.length){var n=E(a,t);d=0===n?1:0,E(a,r)<0&&a.push(r)}}return e}();if(p){var h=function(){Q(e,t,n,s).then(c.resolve,c.reject)};h.displayName="promiseResolved",p.finally(h,c.reject)}else Q(e,t,n,s).then(c.resolve,c.reject);return c.promise},B=function(e){return m&&(e=[m,e].join(" ")),v&&(e=[e,v].join(" ")),e},F=function(e){l=e,n.$emit("$translateChangeSuccess",{language:e}),u&&o.put(I.storageKey(),l),k.setLocale(l);var t=function(e,t){_[t].setLocale(l)};t.displayName="eachInterpolatorLocaleSetter",angular.forEach(_,t),n.$emit("$translateChangeEnd",{language:e})},H=function(e){if(!e)throw"No language key specified for loading.";var r=i.defer();n.$emit("$translateLoadingStart",{language:e}),$=!0;var o=b;"string"==typeof o&&(o=t.get(o));var a=angular.extend({},g,{key:e,$http:angular.extend({},{cache:o},g.$http)}),s=function(t){var i={};n.$emit("$translateLoadingSuccess",{language:e}),angular.isArray(t)?angular.forEach(t,(function(e){angular.extend(i,P(e))})):angular.extend(i,P(t)),$=!1,r.resolve({key:e,table:i}),n.$emit("$translateLoadingEnd",{language:e})};s.displayName="onLoaderSuccess";var l=function(e){n.$emit("$translateLoadingError",{language:e}),r.reject(e),n.$emit("$translateLoadingEnd",{language:e})};return l.displayName="onLoaderError",t.get(f)(a).then(s,l),r.promise};if(u&&(!(o=t.get(u)).get||!o.put))throw new Error("Couldn't use storage '"+u+"', missing get() or put() method!");if(C.length){var X=function(e){var n=t.get(e);n.setLocale(r||l),_[n.getInterpolationIdentifier()]=n};X.displayName="interpolationFactoryAdder",angular.forEach(C,X)}var j=function(e,t,n,r){var o=i.defer(),a=function(i){if(Object.prototype.hasOwnProperty.call(i,t)){r.setLocale(e);var a=i[t];"@:"===a.substr(0,2)?j(e,a.substr(2),n,r).then(o.resolve,o.reject):o.resolve(r.interpolate(i[t],n)),r.setLocale(l)}else o.reject()};return a.displayName="fallbackTranslationResolver",function(e){var t=i.defer();if(Object.prototype.hasOwnProperty.call(y,e))t.resolve(y[e]);else if(O[e]){var n=function(e){D(e.key,e.table),t.resolve(e.table)};n.displayName="translationTableResolver",O[e].then(n,t.reject)}else t.reject();return t.promise}(e).then(a,o.reject),o.promise},V=function(e,t,n,i){var r,o=y[e];if(o&&Object.prototype.hasOwnProperty.call(o,t)){if(i.setLocale(e),"@:"===(r=i.interpolate(o[t],n)).substr(0,2))return V(e,r.substr(2),n,i);i.setLocale(l)}return r},U=function(e,n){if(p){var i=t.get(p)(e,l,n);return void 0!==i?i:e}return e},G=function(e,t,n,r,o){var s=i.defer();return e<a.length?j(a[e],t,n,r).then(s.resolve,(function(){G(e+1,t,n,r,o).then(s.resolve)})):s.resolve(o||U(t,n)),s.promise},Y=function(e,t,n,i){var r;return e<a.length&&((r=V(a[e],t,n,i))||(r=Y(e+1,t,n,i))),r},K=function(e,t,n,i){return G(M>0?M:d,e,t,n,i)},Q=function(e,t,n,r){var o=i.defer(),s=l?y[l]:y,c=n?_[n]:k;if(s&&Object.prototype.hasOwnProperty.call(s,e)){var u=s[e];"@:"===u.substr(0,2)?I(u.substr(2),t,n,r).then(o.resolve,o.reject):o.resolve(c.interpolate(u,t))}else{var d;p&&!$&&(d=U(e,t)),l&&a&&a.length?K(e,t,c,r).then((function(e){o.resolve(e)}),(function(e){o.reject(B(e))})):p&&!$&&d?o.resolve(r||d):r?o.resolve(r):o.reject(B(e))}return o.promise},J=function(e,t,n){var i,r=l?y[l]:y,o=k;if(_&&Object.prototype.hasOwnProperty.call(_,n)&&(o=_[n]),r&&Object.prototype.hasOwnProperty.call(r,e)){var s=r[e];i="@:"===s.substr(0,2)?J(s.substr(2),t,n):o.interpolate(s,t)}else{var c;p&&!$&&(c=U(e,t)),l&&a&&a.length?(d=0,i=function(e,t,n){return Y(M>0?M:d,e,t,n)}(e,t,o)):i=p&&!$&&c?c:B(e)}return i};if(I.preferredLanguage=function(e){return e&&q(e),r},I.cloakClassName=function(){return A},I.fallbackLanguage=function(e){if(null!=e){if(W(e),f&&a&&a.length)for(var t=0,n=a.length;n>t;t++)O[a[t]]||(O[a[t]]=H(a[t]));I.use(I.use())}return s?a[0]:a},I.useFallbackLanguage=function(e){if(null!=e)if(e){var t=E(a,e);t>-1&&(M=t)}else M=0},I.proposedLanguage=function(){return c},I.storage=function(){return o},I.use=function(e){if(!e)return l;var t=i.defer();n.$emit("$translateChangeStart",{language:e});var r=N(e);return r&&(e=r),!S&&y[e]||!f||O[e]?c===e&&O[e]?O[e].then((function(e){return t.resolve(e.key),e}),(function(e){return t.reject(e),i.reject(e)})):(t.resolve(e),F(e)):(c=e,O[e]=H(e).then((function(e){return D(e.key,e.table),t.resolve(e.key),F(e.key),e}),(function(e){return n.$emit("$translateChangeError",{language:e}),t.reject(e),n.$emit("$translateChangeEnd",{language:e}),i.reject(e)})),O[e].finally((function(){!function(e){c===e&&(c=void 0),O[e]=void 0}(e)}))),t.promise},I.storageKey=function(){return R()},I.isPostCompilingEnabled=function(){return x},I.isForceAsyncReloadEnabled=function(){return S},I.refresh=function(e){function t(){o.resolve(),n.$emit("$translateRefreshEnd",{language:e})}function r(){o.reject(),n.$emit("$translateRefreshEnd",{language:e})}if(!f)throw new Error("Couldn't refresh translation table, no loader registered!");var o=i.defer();if(n.$emit("$translateRefreshStart",{language:e}),e)if(y[e]){var s=function(n){D(n.key,n.table),e===l&&F(l),t()};s.displayName="refreshPostProcessor",H(e).then(s,r)}else r();else{var c=[],u={};if(a&&a.length)for(var d=0,p=a.length;p>d;d++)c.push(H(a[d])),u[a[d]]=!0;l&&!u[l]&&c.push(H(l));var h=function(e){y={},angular.forEach(e,(function(e){D(e.key,e.table)})),l&&F(l),t()};h.displayName="refreshPostProcessor",i.all(c).then(h,r)}return o.promise},I.instant=function(e,t,n){if(null===e||angular.isUndefined(e))return e;if(angular.isArray(e)){for(var i={},o=0,s=e.length;s>o;o++)i[e[o]]=I.instant(e[o],t,n);return i}if(angular.isString(e)&&e.length<1)return e;e&&(e=L.apply(e));var c,u=[];r&&u.push(r),l&&u.push(l),a&&a.length&&(u=u.concat(a));for(var d=0,h=u.length;h>d;d++){var f=u[d];if(y[f]&&(void 0!==y[f][e]?c=J(e,t,n):(m||v)&&(c=B(e))),void 0!==c)break}return c||""===c||(c=k.interpolate(e,t),p&&!$&&(c=U(e,t))),c},I.versionInfo=function(){return"2.7.2"},I.loaderCache=function(){return b},I.directivePriority=function(){return z},I.statefulFilter=function(){return T},f&&(angular.equals(y,{})&&I.use(I.use()),a&&a.length))for(var Z=function(e){return D(e.key,e.table),n.$emit("$translateChangeEnd",{language:e.key}),e},ee=0,te=a.length;te>ee;ee++){var ne=a[ee];(S||!y[ne])&&(O[ne]=H(ne).then(Z))}return I}]}function n(e,t){"use strict";return{setLocale:function(e){},getInterpolationIdentifier:function(){return"default"},useSanitizeValueStrategy:function(e){return t.useStrategy(e),this},interpolate:function(n,i){i=t.sanitize(i=i||{},"params");var r=e(n)(i);return t.sanitize(r,"text")}}}function i(e,t,n,i,r,o){"use strict";var a=function(){return this.toString().replace(/^\s+|\s+$/g,"")};return{restrict:"AE",scope:!0,priority:e.directivePriority(),compile:function(t,s){var l=s.translateValues?s.translateValues:void 0,c=s.translateInterpolation?s.translateInterpolation:void 0,u=t[0].outerHTML.match(/translate-value-+/i),d="^(.*)("+n.startSymbol()+".*"+n.endSymbol()+")(.*)",p="^(.*)"+n.startSymbol()+"(.*)"+n.endSymbol()+"(.*)";return function(t,h,f){t.interpolateParams={},t.preText="",t.postText="";var g={},m=function(e){if(angular.isFunction(m._unwatchOld)&&(m._unwatchOld(),m._unwatchOld=void 0),angular.equals(e,"")||!angular.isDefined(e)){var i=a.apply(h.text()).match(d);if(angular.isArray(i)){t.preText=i[1],t.postText=i[3],g.translate=n(i[2])(t.$parent);var r=h.text().match(p);angular.isArray(r)&&r[2]&&r[2].length&&(m._unwatchOld=t.$watch(r[2],(function(e){g.translate=e,C()})))}else g.translate=h.text().replace(/^\s+|\s+$/g,"")}else g.translate=e;C()},v=function(e){f.$observe(e,(function(t){g[e]=t,C()}))};!function(e,n,i){if(n.translateValues&&angular.extend(e,r(n.translateValues)(t.$parent)),u)for(var o in i)Object.prototype.hasOwnProperty.call(n,o)&&"translateValue"===o.substr(0,14)&&"translateValues"!==o&&(e[angular.lowercase(o.substr(14,1))+o.substr(15)]=i[o])}(t.interpolateParams,f,s);var b=!0;for(var y in f.$observe("translate",(function(e){void 0===e?m(""):""===e&&b||(g.translate=e,C()),b=!1})),f)f.hasOwnProperty(y)&&"translateAttr"===y.substr(0,13)&&v(y);if(f.$observe("translateDefault",(function(e){t.defaultText=e})),l&&f.$observe("translateValues",(function(e){e&&t.$parent.$watch((function(){angular.extend(t.interpolateParams,r(e)(t.$parent))}))})),u){var M=function(e){f.$observe(e,(function(n){var i=angular.lowercase(e.substr(14,1))+e.substr(15);t.interpolateParams[i]=n}))};for(var w in f)Object.prototype.hasOwnProperty.call(f,w)&&"translateValue"===w.substr(0,14)&&"translateValues"!==w&&M(w)}var C=function(){for(var e in g)g.hasOwnProperty(e)&&void 0!==g[e]&&A(e,g[e],t,t.interpolateParams,t.defaultText)},A=function(t,n,i,r,o){n?e(n,r,c,o).then((function(e){x(e,i,!0,t)}),(function(e){x(e,i,!1,t)})):x(n,i,!1,t)},x=function(t,n,r,o){if("translate"===o){r||void 0===n.defaultText||(t=n.defaultText),h.html(n.preText+t+n.postText);var a=e.isPostCompilingEnabled(),l=void 0!==s.translateCompile;(a&&!l||l&&"false"!==s.translateCompile)&&i(h.contents())(n)}else{r||void 0===n.defaultText||(t=n.defaultText);var c=f.$attr[o];"data-"===c.substr(0,5)&&(c=c.substr(5)),c=c.substr(15),h.attr(c,t)}};(l||u||f.translateDefault)&&t.$watch("interpolateParams",C,!0);var S=o.$on("$translateChangeSuccess",C);h.text().length?m(f.translate?f.translate:""):f.translate&&m(f.translate),C(),t.$on("$destroy",S)}}}}function r(e,t){"use strict";return{compile:function(n){var i=function(){n.addClass(t.cloakClassName())},r=function(){n.removeClass(t.cloakClassName())},o=e.$on("$translateChangeEnd",(function(){r(),o(),o=null}));return i(),function(e,n,o){o.translateCloak&&o.translateCloak.length&&o.$observe("translateCloak",(function(e){t(e).then(r,i)}))}}}}function o(e,t){"use strict";var n=function(n,i,r){return angular.isObject(i)||(i=e(i)(this)),t.instant(n,i,r)};return t.statefulFilter()&&(n.$stateful=!0),n}function a(e){"use strict";return e("translations")}return angular.module("pascalprecht.translate",["ng"]).run(e),e.$inject=["$translate"],e.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",(function(){"use strict";var e,t,n=null,i=!1,r=!1;(t={sanitize:function(e,t){return"text"===t&&(e=a(e)),e},escape:function(e,t){return"text"===t&&(e=o(e)),e},sanitizeParameters:function(e,t){return"params"===t&&(e=s(e,a)),e},escapeParameters:function(e,t){return"params"===t&&(e=s(e,o)),e}}).escaped=t.escapeParameters,this.addStrategy=function(e,n){return t[e]=n,this},this.removeStrategy=function(e){return delete t[e],this},this.useStrategy=function(e){return i=!0,n=e,this},this.$get=["$injector","$log",function(o,a){var s=function(e,n,i){return angular.forEach(i,(function(i){if(angular.isFunction(i))e=i(e,n);else{if(!angular.isFunction(t[i]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+i+"'");e=t[i](e,n)}})),e},l=function(){i||r||(a.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),r=!0)};return o.has("$sanitize")&&(e=o.get("$sanitize")),{useStrategy:function(e){return function(t){e.useStrategy(t)}}(this),sanitize:function(e,t,i){if(n||l(),arguments.length<3&&(i=n),!i)return e;var r=angular.isArray(i)?i:[i];return s(e,t,r)}}}];var o=function(e){var t=angular.element("<div></div>");return t.text(e),t.html()},a=function(t){if(!e)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");return e(t)},s=function(e,t){if(angular.isObject(e)){var n=angular.isArray(e)?[]:{};return angular.forEach(e,(function(e,i){n[i]=s(e,t)})),n}return angular.isNumber(e)?e:t(e)}})),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}).provider("$translate",t),t.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],t.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",n),n.$inject=["$interpolate","$translateSanitization"],n.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",i),i.$inject=["$translate","$q","$interpolate","$compile","$parse","$rootScope"],i.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateCloak",r),r.$inject=["$rootScope","$translate"],r.displayName="translateCloakDirective",angular.module("pascalprecht.translate").filter("translate",o),o.$inject=["$parse","$translate"],o.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",a),a.$inject=["$cacheFactory"],a.displayName="$translationCache","pascalprecht.translate"})),function(e,t){"function"==typeof define&&define.amd?define([],(function(){return t()})):"object"==typeof exports?module.exports=t():t()}(0,(function(){function e(e,t){"use strict";return function(n){if(!n||!n.url)throw new Error("Couldn't use urlLoader since no url is given!");var i=e.defer(),r={};return r[n.queryParameter||"lang"]=n.key,t(angular.extend({url:n.url,params:r,method:"GET"},n.$http)).success((function(e){i.resolve(e)})).error((function(){i.reject(n.key)})),i.promise}}return angular.module("pascalprecht.translate").factory("$translateUrlLoader",e),e.$inject=["$q","$http"],e.displayName="$translateUrlLoader","pascalprecht.translate"})),function(e,t,n){"use strict";function i(e,n,i){var r=i.baseHref(),o=e[0];return function(e,i,a){o.cookie=function(e,i,o){var a,s;s=(o=o||{}).expires,a=t.isDefined(o.path)?o.path:r,void 0===i&&(s="Thu, 01 Jan 1970 00:00:00 GMT",i=""),t.isString(s)&&(s=new Date(s));var l=encodeURIComponent(e)+"="+encodeURIComponent(i);l+=a?";path="+a:"",l+=o.domain?";domain="+o.domain:"",l+=s?";expires="+s.toUTCString():"";var c=(l+=o.secure?";secure":"").length+1;return c>4096&&n.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+c+" > 4096 bytes)!"),l}(e,i,a)}}t.module("ngCookies",["ng"]).provider("$cookies",[function(){var e=this.defaults={};function n(n){return n?t.extend({},e,n):e}this.$get=["$$cookieReader","$$cookieWriter",function(e,i){return{get:function(t){return e()[t]},getObject:function(e){var n=this.get(e);return n?t.fromJson(n):n},getAll:function(){return e()},put:function(e,t,r){i(e,t,n(r))},putObject:function(e,n,i){this.put(e,t.toJson(n),i)},remove:function(e,t){i(e,void 0,n(t))}}}]}]),t.module("ngCookies").factory("$cookieStore",["$cookies",function(e){return{get:function(t){return e.getObject(t)},put:function(t,n){e.putObject(t,n)},remove:function(t){e.remove(t)}}}]),i.$inject=["$document","$log","$browser"],t.module("ngCookies").provider("$$cookieWriter",(function(){this.$get=i}))}(window,window.angular),angular.module("pascalprecht.translate").factory("$translateCookieStorage",$translateCookieStorageFactory),$translateCookieStorageFactory.displayName="$translateCookieStorage",angular.module("pascalprecht.translate").factory("$translateLocalStorage",$translateLocalStorageFactory),$translateLocalStorageFactory.displayName="$translateLocalStorageFactory",function(e,t){"use strict";var n="model",i="name",r="type",o="vendor",a="version",s="mobile",l="tablet",c={extend:function(e,t){var n={};for(var i in e)n[i]=t[i]&&t[i].length%2==0?t[i].concat(e[i]):e[i];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},u={rgx:function(e,t){for(var n,i,r,o,a,s,l=0;l<t.length&&!a;){var c=t[l],u=t[l+1];for(n=i=0;n<c.length&&!a;)if(a=c[n++].exec(e))for(r=0;r<u.length;r++)s=a[++i],"object"==typeof(o=u[r])&&o.length>0?2==o.length?this[o[0]]="function"==typeof o[1]?o[1].call(this,s):o[1]:3==o.length?this[o[0]]="function"!=typeof o[1]||o[1].exec&&o[1].test?s?s.replace(o[1],o[2]):void 0:s?o[1].call(this,s,o[2]):void 0:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;l+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(c.has(t[n][i],e))return"?"===n?void 0:n}else if(c.has(t[n],e))return"?"===n?void 0:n;return e}},d={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},p={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[i,a],[/(opios)[\/\s]+([\w\.]+)/i],[[i,"Opera Mini"],a],[/\s(opr)\/([\w\.]+)/i],[[i,"Opera"],a],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[i,a],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[i,"IE"],a],[/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i],[[i,"Edge"],a],[/(yabrowser)\/([\w\.]+)/i],[[i,"Yandex"],a],[/(puffin)\/([\w\.]+)/i],[[i,"Puffin"],a],[/(focus)\/([\w\.]+)/i],[[i,"Firefox Focus"],a],[/(opt)\/([\w\.]+)/i],[[i,"Opera Touch"],a],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[i,"UCBrowser"],a],[/(comodo_dragon)\/([\w\.]+)/i],[[i,/_/g," "],a],[/(micromessenger)\/([\w\.]+)/i],[[i,"WeChat"],a],[/(brave)\/([\w\.]+)/i],[[i,"Brave"],a],[/(qqbrowserlite)\/([\w\.]+)/i],[i,a],[/(QQ)\/([\d\.]+)/i],[i,a],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[i,a],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[i,a],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[i,a],[/(MetaSr)[\/\s]?([\w\.]+)/i],[i],[/(LBBROWSER)/i],[i],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[a,[i,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[a,[i,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[i,a],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[a,[i,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[i,/(.+)/,"$1 WebView"],a],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[i,/(.+(?:g|us))(.+)/,"$1 $2"],a],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[a,[i,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[i,a],[/(dolfin)\/([\w\.]+)/i],[[i,"Dolphin"],a],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[i,"Chrome"],a],[/(coast)\/([\w\.]+)/i],[[i,"Opera Coast"],a],[/fxios\/([\w\.-]+)/i],[a,[i,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[a,[i,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[a,i],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[i,"GSA"],a],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[i,[a,u.str,d.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[i,a],[/(navigator|netscape)\/([\w\.-]+)/i],[[i,"Netscape"],a],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[i,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",c.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",c.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",c.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[n,o,[r,l]],[/applecoremedia\/[\w\.]+ \((ipad)/],[n,[o,"Apple"],[r,l]],[/(apple\s{0,1}tv)/i],[[n,"Apple TV"],[o,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[o,n,[r,l]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[n,[o,"Amazon"],[r,l]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[n,u.str,d.device.amazon.model],[o,"Amazon"],[r,s]],[/android.+aft([bms])\sbuild/i],[n,[o,"Amazon"],[r,"smarttv"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[n,o,[r,s]],[/\((ip[honed|\s\w*]+);/i],[n,[o,"Apple"],[r,s]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[o,n,[r,s]],[/\(bb10;\s(\w+)/i],[n,[o,"BlackBerry"],[r,s]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[n,[o,"Asus"],[r,l]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[o,"Sony"],[n,"Xperia Tablet"],[r,l]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[n,[o,"Sony"],[r,s]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[o,n,[r,"console"]],[/android.+;\s(shield)\sbuild/i],[n,[o,"Nvidia"],[r,"console"]],[/(playstation\s[34portablevi]+)/i],[n,[o,"Sony"],[r,"console"]],[/(sprint\s(\w+))/i],[[o,u.str,d.device.sprint.vendor],[n,u.str,d.device.sprint.model],[r,s]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[o,n,[r,l]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[o,[n,/_/g," "],[r,s]],[/(nexus\s9)/i],[n,[o,"HTC"],[r,l]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[n,[o,"Huawei"],[r,s]],[/(microsoft);\s(lumia[\s\w]+)/i],[o,n,[r,s]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[n,[o,"Microsoft"],[r,"console"]],[/(kin\.[onetw]{3})/i],[[n,/\./g," "],[o,"Microsoft"],[r,s]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[n,[o,"Motorola"],[r,s]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[n,[o,"Motorola"],[r,l]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[o,c.trim],[n,c.trim],[r,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[n,/^/,"SmartTV"],[o,"Samsung"],[r,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[n,[o,"Sharp"],[r,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[o,"Samsung"],n,[r,l]],[/smart-tv.+(samsung)/i],[o,[r,"smarttv"],n],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[o,"Samsung"],n,[r,s]],[/sie-(\w*)/i],[n,[o,"Siemens"],[r,s]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[o,"Nokia"],n,[r,s]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[n,[o,"Acer"],[r,l]],[/android.+([vl]k\-?\d{3})\s+build/i],[n,[o,"LG"],[r,l]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[o,"LG"],n,[r,l]],[/(lg) netcast\.tv/i],[o,n,[r,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[n,[o,"LG"],[r,s]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[n,[o,"Lenovo"],[r,l]],[/linux;.+((jolla));/i],[o,n,[r,s]],[/((pebble))app\/[\d\.]+\s/i],[o,n,[r,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[o,n,[r,s]],[/crkey/i],[[n,"Chromecast"],[o,"Google"]],[/android.+;\s(glass)\s\d/i],[n,[o,"Google"],[r,"wearable"]],[/android.+;\s(pixel c)[\s)]/i],[n,[o,"Google"],[r,l]],[/android.+;\s(pixel( [23])?( xl)?)\s/i],[n,[o,"Google"],[r,s]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[n,/_/g," "],[o,"Xiaomi"],[r,s]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[n,/_/g," "],[o,"Xiaomi"],[r,l]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[n,[o,"Meizu"],[r,l]],[/(mz)-([\w-]{2,})/i],[[o,"Meizu"],n,[r,s]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[n,[o,"OnePlus"],[r,s]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[n,[o,"RCA"],[r,l]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[n,[o,"Dell"],[r,l]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[n,[o,"Verizon"],[r,l]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[o,"Barnes & Noble"],n,[r,l]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[n,[o,"NuVision"],[r,l]],[/android.+;\s(k88)\sbuild/i],[n,[o,"ZTE"],[r,l]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[n,[o,"Swiss"],[r,s]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[n,[o,"Swiss"],[r,l]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[n,[o,"Zeki"],[r,l]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[o,"Dragon Touch"],n,[r,l]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[n,[o,"Insignia"],[r,l]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[n,[o,"NextBook"],[r,l]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[o,"Voice"],n,[r,s]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[o,"LvTel"],n,[r,s]],[/android.+;\s(PH-1)\s/i],[n,[o,"Essential"],[r,s]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[n,[o,"Envizen"],[r,l]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[o,n,[r,l]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[n,[o,"MachSpeed"],[r,l]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[o,n,[r,l]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[n,[o,"Rotor"],[r,l]],[/android.+(KS(.+))\s+build/i],[n,[o,"Amazon"],[r,l]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[o,n,[r,l]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[r,c.lowerize],o,n],[/(android[\w\.\s\-]{0,9});.+build/i],[n,[o,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[a,[i,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[i,a],[/rv\:([\w\.]{1,9}).+(gecko)/i],[a,i]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[i,a],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[i,[a,u.str,d.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[i,"Windows"],[a,u.str,d.os.windows.version]],[/\((bb)(10);/i],[[i,"BlackBerry"],a],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[i,a],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[i,"Symbian"],a],[/\((series40);/i],[i],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[i,"Firefox OS"],a],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[i,a],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[i,"Chromium OS"],a],[/(sunos)\s?([\w\.\d]*)/i],[[i,"Solaris"],a],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[i,a],[/(haiku)\s(\w+)/i],[i,a],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[a,/_/g,"."],[i,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[i,"Mac OS"],[a,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[i,a]]},h=function(t,n){if("object"==typeof t&&(n=t,t=void 0),!(this instanceof h))return new h(t,n).getResult();var i=t||(e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:""),r=n?c.extend(p,n):p;return this.getBrowser=function(){var e={name:void 0,version:void 0};return u.rgx.call(e,i,r.browser),e.major=c.major(e.version),e},this.getCPU=function(){var e={architecture:void 0};return u.rgx.call(e,i,r.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return u.rgx.call(e,i,r.device),e},this.getEngine=function(){var e={name:void 0,version:void 0};return u.rgx.call(e,i,r.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return u.rgx.call(e,i,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=e,this},this};h.VERSION="0.7.19",h.BROWSER={NAME:i,MAJOR:"major",VERSION:a},h.CPU={ARCHITECTURE:"architecture"},h.DEVICE={MODEL:n,VENDOR:o,TYPE:r,CONSOLE:"console",MOBILE:s,SMARTTV:"smarttv",TABLET:l,WEARABLE:"wearable",EMBEDDED:"embedded"},h.ENGINE={NAME:i,VERSION:a},h.OS={NAME:i,VERSION:a},"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=h),exports.UAParser=h):"function"==typeof define&&define.amd?define((function(){return h})):e&&(e.UAParser=h);var f=e&&(e.jQuery||e.Zepto);if(void 0!==f&&!f.ua){var g=new h;f.ua=g.getResult(),f.ua.get=function(){return g.getUA()},f.ua.set=function(e){g.setUA(e);var t=g.getResult();for(var n in t)f.ua[n]=t[n]}}}("object"==typeof window?window:this);;
